setup.gno
0.67 Kb · 22 lines
1package gns
2
3// setupPreMint mints the initial GNS supply to fixed recipients at realm init.
4//
5// Generated by scripts/patch-gns-premint.sh from GNS_PRE_MINT. It replaces the
6// upstream role-based recipient (rbac ADMIN) with the addresses listed below.
7func setupPreMint(cur realm) {
8 err := privateLedger.Mint("g1y7h659patawdy99mlufj9lp3t9cwpt8fq852zq", 50_000_000_000_000)
9 if err != nil {
10 panic(err.Error())
11 }
12
13 err = privateLedger.Mint("g1plxd74hnxyjvh309nfcndp53ypvv93yp5rd7dk", 50_000_000_000_000)
14 if err != nil {
15 panic(err.Error())
16 }
17
18 err = privateLedger.Mint("g1semyl4hhfvkjmrg3e3ef8v0dkx0d6asffvakl4", 50_000_000_000_000)
19 if err != nil {
20 panic(err.Error())
21 }
22}