Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //go:embed Storage.abi StorageContractABI string StorageContractBytecode = common.FromHex(strings.TrimSpace(storageContractBytecodeHex)) )
View Source
var ( //go:embed ERC20Basic.abi ERC20ContractABI string ERC20ContractBytecode = common.FromHex(strings.TrimSpace(erc20ContractBytecodeHex)) //deployed bytecode and runtime bytecode are different, see: https://ethereum.stackexchange.com/questions/13086/whats-the-difference-between-solcs-bin-bytecode-versus-bin-runtime //go:embed ERC20Basic.bin-runtime ERC20ContractRuntimeBytecodeHex string ERC20ContractRuntimeBytecode = common.FromHex(strings.TrimSpace(ERC20ContractRuntimeBytecodeHex)) )
View Source
var ( //go:embed EndlessLoop.abi LoopContractABI string LoopContractBytecode = common.FromHex(strings.TrimSpace(loopContractBytecodeHex)) )
View Source
var (
FaucetKey, _ = crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291")
FaucetAddress = crypto.PubkeyToAddress(FaucetKey.PublicKey)
FaucetSupply = new(big.Int).Sub(new(big.Int).Lsh(big.NewInt(1), 256), big.NewInt(9))
)
View Source
var Accounts []*ecdsa.PrivateKey
10 random keys
Functions ¶
func AccountAddress ¶
func InitGoEthLogger ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.