params.gno
1.68 Kb · 47 lines
1package padv3
2
3// Protocol parameters (MVP). Tunable before deploy; post-deploy treated as constants
4// unless a future governance path is added with timelock.
5
6const (
7 // Token economics
8 TotalSupply int64 = 1_000_000_000
9 CurveSupply int64 = 800_000_000 // sold on bonding curve
10 PoolSeed int64 = 200_000_000 // locked into CPMM at graduation
11
12 // Virtual constant-product seed (Pump-style)
13 VirtualUgnot0 int64 = 30_000_000 // 30 GNOT virtual
14 VirtualToken0 int64 = 1_073_000_191 // virtual token side
15
16 // Graduation when net ugnot raised into the curve reaches this.
17 // 50 GNOT — testnet-friendly; raise for production.
18 // Keep below the ugnot needed to exhaust CurveSupply on the virtual CPMM.
19 GraduationThreshold int64 = 50_000_000
20
21 // Fees: 1.20% total. Of the fee: 40% creator, 40% protocol, 20% LP/k remainder.
22 FeeBPS int64 = 120
23 CreatorFeeShareBPS int64 = 4000
24 ProtocolFeeShareBPS int64 = 4000
25
26 // Anti-spam create bond (1 GNOT). Refunded if min unique buyers hit before expire.
27 CreateBondUgnot int64 = 1_000_000
28 BondRefundBuyers int = 5
29 BondRefundMaxHeights int64 = 100_000 // ~ loosely long window; chain-dependent
30
31 // Anti-snipe: first N heights after create, max buy as % of total supply (BPS of TotalSupply).
32 AntiSnipeHeights int64 = 20
33 AntiSnipeMaxBuyBPS int64 = 500 // 5% of total supply per tx in first windows
34
35 // Status
36 StatusCurve = 0
37 StatusGraduated = 1
38
39 // Trade history cap for per-token price charts (ring buffer).
40 MaxTradeHistory = 128
41 // Trade sides stored in history
42 TradeSideBuy = 0
43 TradeSideSell = 1
44 TradeSideOpen = 2 // initial listing mark
45
46 DenomUgnot = "ugnot"
47)