params.gno
0.78 Kb · 17 lines
1package memba_nft_market_v2
2
3// Platform constants — single source of truth for all fee math and caps.
4
5const (
6 FeeBPS = int64(250) // 2.5% platform fee
7 MaxRoyaltyBPS = int64(1000) // 10% maximum royalty (defense-in-depth clamp)
8 MinPrice = int64(1000) // 0.001 GNOT — prevents fee truncation to zero
9 MaxPrice = int64(1_000_000_000_000_000) // 1 billion GNOT
10 OfferTimeoutBlk = int64(302400) // ~7 days at 2 s/block
11 MinOfferLifetimeBlk = int64(10) // offer must live ≥ 10 blocks before cancel
12 MaxListings = 1000
13 MaxOffers = 1000
14 MaxListingsPerAddr = 50
15 MaxOffersPerAddr = 50
16 AdminAddress = "g1x7k4628w93a7wzdhqc06atzx0v50rnshweuxu0"
17)