Documentation ¶
Index ¶
- Variables
- type Contract
- func (c *Contract) CallContract(method string, args ...interface{}) ([]interface{}, error)
- func (c *Contract) Client() calls.ContractCallerDispatcher
- func (c *Contract) ContractAddress() *common.Address
- func (c *Contract) DeployContract(params ...interface{}) (common.Address, error)
- func (c *Contract) DomainId() uint8
- func (c *Contract) ExecuteTransaction(method string, opts transactor.TransactOptions, args ...interface{}) (*common.Hash, error)
- func (c *Contract) PackMethod(method string, args ...interface{}) ([]byte, error)
- func (c *Contract) SetDomainId(id uint8)
- func (c *Contract) UnpackResult(method string, output []byte) ([]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ZeroHash = common.Hash{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
Functions ¶
This section is empty.
Types ¶
type Contract ¶
type Contract struct { ABI abi.ABI transactor.Transactor // contains filtered or unexported fields }
func NewContract ¶
func NewContract( contractAddress common.Address, abi abi.ABI, bytecode []byte, client calls.ContractCallerDispatcher, transactor transactor.Transactor, ) Contract
func (*Contract) CallContract ¶
func (*Contract) Client ¶
func (c *Contract) Client() calls.ContractCallerDispatcher
func (*Contract) ContractAddress ¶
func (*Contract) DeployContract ¶
func (*Contract) ExecuteTransaction ¶
func (c *Contract) ExecuteTransaction(method string, opts transactor.TransactOptions, args ...interface{}) (*common.Hash, error)
func (*Contract) PackMethod ¶
func (*Contract) SetDomainId ¶
Click to show internal directories.
Click to hide internal directories.