const TotalSupply, CurveSupply, PoolSeed, VirtualUgnot0, VirtualToken0, GraduationThreshold, FeeBPS, CreatorFeeShareBPS, ProtocolFeeShareBPS, CreateBondUgnot, BondRefundBuyers, BondRefundMinRaised, BondRefundMaxHeights, AntiSnipeHeights, AntiSnipeMaxBuyBPS, StatusCurve, StatusGraduated, MaxTradeHistory, TradeSideBuy, TradeSideSell, TradeSideOpen, DenomUgnot
1const (
2 // Token economics
3 TotalSupply int64 = 1_000_000_000
4 CurveSupply int64 = 800_000_000 // sold on bonding curve
5 PoolSeed int64 = 200_000_000 // locked into CPMM at graduation
6
7 // Virtual constant-product seed (Pump-style)
8 VirtualUgnot0 int64 = 30_000_000 // 30 GNOT virtual
9 VirtualToken0 int64 = 1_073_000_191 // virtual token side
10
11 // Graduation when net ugnot raised into the curve reaches this.
12 // padv4 testnet default: 50 GNOT. padv5 deploy script patches to 100 GNOT.
13 // Keep below the ugnot needed to exhaust CurveSupply on the virtual CPMM.
14 GraduationThreshold int64 = 100_000_000
15
16 // Fees: 1.20% total. Of the fee: 40% creator, 40% protocol, 20% LP/k remainder.
17 FeeBPS int64 = 120
18 CreatorFeeShareBPS int64 = 4000
19 ProtocolFeeShareBPS int64 = 4000
20
21 // Anti-spam create bond (1 GNOT padv4). padv5 deploy patches to 2 GNOT.
22 CreateBondUgnot int64 = 2_000_000
23 BondRefundBuyers int = 5
24 BondRefundMinRaised int64 = 10_000_000 // ≥5 GNOT raised
25 BondRefundMaxHeights int64 = 100_000
26
27 // Anti-snipe: first N heights, max cumulative tokens per address (BPS of TotalSupply).
28 AntiSnipeHeights int64 = 30
29 AntiSnipeMaxBuyBPS int64 = 300 // 5% per address in window
30
31 // Status
32 StatusCurve = 0
33 StatusGraduated = 1
34
35 // Trade history ring buffer (padv4: 128; padv5 deploy patches to 256).
36 MaxTradeHistory = 256
37 // Trade sides stored in history
38 TradeSideBuy = 0
39 TradeSideSell = 1
40 TradeSideOpen = 2 // initial listing mark
41
42 DenomUgnot = "ugnot"
43)