Versions in this module Expand all Collapse all v1 v1.0.1 Jul 19, 2023 Changes in this version + type Contract struct + func NewContract(addr web3.Address, abi *abi.ABI, provider *jsonrpc.Client) *Contract + func (c *Contract) Addr() web3.Address + func (c *Contract) Call(method string, block web3.BlockNumber, args ...interface{}) (map[string]interface{}, error) + func (c *Contract) EstimateGas(method string, args ...interface{}) (uint64, error) + func (c *Contract) Event(name string) (*Event, bool) + func (c *Contract) SetFrom(addr web3.Address) + func (c *Contract) Txn(method string, args ...interface{}) *Txn + type Event struct + func (e *Event) Encode() web3.Hash + func (e *Event) ParseLog(log *web3.Log) (map[string]interface{}, error) + type NodeProvider interface + type Txn struct + func DeployContract(provider *jsonrpc.Client, from web3.Address, abi *abi.ABI, bin []byte, ...) *Txn + func (t *Txn) AddArgs(args ...interface{}) *Txn + func (t *Txn) Do() error + func (t *Txn) DoAndWait() error + func (t *Txn) EstimateGas() (uint64, error) + func (t *Txn) Receipt() *web3.Receipt + func (t *Txn) SetGasLimit(gasLimit uint64) *Txn + func (t *Txn) SetGasPrice(gasPrice uint64) *Txn + func (t *Txn) SetValue(v *big.Int) *Txn + func (t *Txn) Validate() error + func (t *Txn) Wait() error