Versions in this module Expand all Collapse all v1 v1.0.0 May 10, 2019 Changes in this version + func DeployERC1820(tc *TestChain) error + func DeployERC20(tc *TestChain, decimals uint8, creator common.Address) (*common.Address, error) + func DeployERC777(tc *TestChain, granularity *big.Int, creator common.Address) (*common.Address, error) + type TestChain struct + Accounts []common.Address + Chain *backends.SimulatedBackend + PrivateKeys map[common.Address]*ecdsa.PrivateKey + TransactOpts map[common.Address]*bind.TransactOpts + func NewTestChain() *TestChain + func (tc *TestChain) CreateSignedTransaction(from common.Address, to *common.Address, value *big.Int, data []byte) (*types.Transaction, error) + func (tc *TestChain) DeployContract(from common.Address, value *big.Int, data []byte) (*common.Address, error)