Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

setup.gno

0.54 Kb · 17 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}