github.com/neatio-net/neatio@v1.7.3-0.20231114194659-f4d7a2226baa/chain/contracts/chequebook/gencode.go (about) 1 //go:build none 2 // +build none 3 4 // This program generates contract/code.go, which contains the chequebook code 5 // after deployment. 6 package main 7 8 import ( 9 "math/big" 10 11 "github.com/neatio-net/neatio/chain/core" 12 "github.com/neatio-net/neatio/utilities/crypto" 13 ) 14 15 var ( 16 testKey, _ = crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291") 17 testAlloc = core.GenesisAlloc{ 18 crypto.PubkeyToAddress(testKey.PublicKey): {Balance: big.NewInt(500000000000)}, 19 } 20 )