github.com/neatlab/neatio@v1.7.3-0.20220425043230-d903e92fcc75/chain/contracts/chequebook/gencode.go (about)

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