Search Apps Documentation Source Content File Folder Download Copy Actions Download

consts.gno

0.89 Kb ยท 26 lines
 1package gns
 2
 3const (
 4	DAY_PER_YEAR    = 365
 5	SECONDS_PER_DAY = 86400
 6	SECONDS_IN_YEAR = 31536000
 7
 8	HALVING_START_YEAR = int64(1)
 9	HALVING_END_YEAR   = int64(12)
10)
11
12// Annual halving amount - maximum issuance per year
13var halvingAmountsPerYear = [HALVING_END_YEAR]int64{
14	18_750_000_000_000 * 12, // Year 1:  225000000000000
15	18_750_000_000_000 * 12, // Year 2:  225000000000000
16	9_375_000_000_000 * 12,  // Year 3:  112500000000000
17	9_375_000_000_000 * 12,  // Year 4:  112500000000000
18	4_687_500_000_000 * 12,  // Year 5:  56250000000000
19	4_687_500_000_000 * 12,  // Year 6:  56250000000000
20	2_343_750_000_000 * 12,  // Year 7:  28125000000000
21	2_343_750_000_000 * 12,  // Year 8:  28125000000000
22	1_171_875_000_000 * 12,  // Year 9:  14062500000000
23	1_171_875_000_000 * 12,  // Year 10: 14062500000000
24	1_171_875_000_000 * 12,  // Year 11: 14062500000000
25	1_171_875_000_000 * 12,  // Year 12: 14062500000000
26}