Versions in this module Expand all Collapse all v1 v1.2.2 Apr 7, 2024 Changes in this version + func AbiFor(name string) *abi.ABI + type CallOpts struct + Origin common.Address + Value *big.Int + type EVMBackend struct + Address common.Address + func CoreContract(cfg *runtime.Config, contractName string, address common.Address) *EVMBackend + func DeployCoreContract(cfg *runtime.Config, contractName string, code []byte, params ...interface{}) (*EVMBackend, error) + func DeployEVMBackend(abi *abi.ABI, runtimeConfig *runtime.Config, code []byte, ...) (*EVMBackend, error) + func NewEVMBackend(abi *abi.ABI, runtimeConfig *runtime.Config, receiver common.Address) *EVMBackend + func ProxyContract(cfg *runtime.Config, contractName string, address common.Address) *EVMBackend + func (ecb *EVMBackend) Call(opts CallOpts, method string, args ...interface{}) (uint64, error) + func (ecb *EVMBackend) Query(returnValue interface{}, method string, args ...interface{}) (uint64, error) + func (ecb *EVMBackend) SimpleCall(method string, args ...interface{}) error + func (ecb *EVMBackend) SimpleCallFrom(origin common.Address, method string, args ...interface{}) error + type TruffleReader interface + MustReadBytecodeFor func(name string) []byte + MustReadDeployedBytecodeFor func(name string) []byte + ReadBytecodeFor func(name string) ([]byte, error) + ReadDeployedBytecodeFor func(name string) ([]byte, error) + func NewTruffleReader(buildPath string) TruffleReader