Search Apps Documentation Source Content File Folder Download Copy Actions Download

params.gno

1.03 Kb · 22 lines
 1package memba_nft_market_v3_1
 2
 3// Platform constants — single source of truth for all fee math and caps.
 4
 5const (
 6	FeeBPS             = int64(200)                   // v3 change #1: 2.0% platform fee (was 2.5% / 250 bps in v2)
 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
18	// v3 change #2: settlement payment denom. Carried on every settlement event for
19	// forward-compat with the GRC20 settlement desk (PHASE 3+). Today, the engine
20	// only settles in ugnot.
21	SettlementDenom = "ugnot"
22)