const tokenDecimals, tokenUnit, wholeSupply, mintSupply, CommunityBps, IncentiveBps, LiquidityBps, BpsBasis, ClaimWindow, VoteWindow, quorumBps, BuyCapWindow, BuyCapBucket, BuyCapPerBucket, tokenVersion, maxProofAunts, hashLen
1const (
2 // tokenDecimals is the GRC20 display scale. One WIZ is tokenUnit base units.
3 tokenDecimals = 6
4 // tokenUnit is 10^tokenDecimals.
5 tokenUnit int64 = 1_000_000
6 // wholeSupply is the mint in whole WIZ. mintSupply is the same mint in base units.
7 // TotalSupply() is the circulating supply and shrinks when leftover airdrop is burned.
8 wholeSupply int64 = 10_000_000_000
9 mintSupply int64 = wholeSupply * tokenUnit
10 // CommunityBps is 3% of supply. The pro-rata remainder is added on top.
11 CommunityBps int64 = 300
12 // IncentiveBps is the liquidity-incentive sleeve, 7% of supply.
13 IncentiveBps int64 = 700
14 // LiquidityBps is the liquidity sleeve, 15% of supply.
15 LiquidityBps int64 = 1_500
16 // BpsBasis is 100%.
17 BpsBasis int64 = 10_000
18
19 // ClaimWindow is the claim period after the deployer-set start: 90 days.
20 ClaimWindow int64 = 90 * 24 * 60 * 60
21 // VoteWindow is the longest a GovDAO ballot may lock a balance.
22 // gno.land/r/nym-wizards001/gov uses the same duration.
23 VoteWindow int64 = 7 * 24 * 60 * 60
24 // quorumBps is the yes-vote floor, measured against the sealed airdrop budget.
25 quorumBps int64 = 1_000
26
27 // BuyCapWindow is how long buys that leave the pool stay capped.
28 BuyCapWindow int64 = 10 * 60
29 // BuyCapBucket is one slice of that window. The cap resets each slice.
30 BuyCapBucket int64 = 60
31 // BuyCapPerBucket is 1% of the liquidity sleeve. Divide before multiply so the product fits in int64.
32 BuyCapPerBucket int64 = mintSupply / BpsBasis * LiquidityBps / 100
33
34 tokenVersion = "4"
35
36 maxProofAunts = 100
37 hashLen = 32
38)