const marketPath, StatusFilled, StatusCancelled, StatusReplaced, StatusExpired, maxSecondaryFeeBPS, maxLifetime, graceToClose, maxOrders
1const (
2 marketPath = "gno.land/r/samcrew/launchpad/market/v1"
3
4 // Why an order closed, as its closing event says.
5 StatusFilled = "filled"
6 StatusCancelled = "cancelled"
7 StatusReplaced = "replaced"
8 StatusExpired = "expired"
9
10 // Hard limits, fixed for the life of this realm.
11 maxSecondaryFeeBPS = 200 // 2% of a sale price
12 maxLifetime = 90 * 24 * 60 * 60
13 // How long after its expiry an order is still its owner's alone to close.
14 // The chain returns the storage deposit of the bytes a call frees to that
15 // call's sender (while ugnot is not a restricted denomination): the grace
16 // keeps a stranger from taking a closed order's deposit at the very second
17 // it expires, and leaves abandoned orders to whoever cleans them up.
18 graceToClose = 7 * 24 * 60 * 60
19 maxOrders = 9_999_999_999
20)