Documentation ¶
Index ¶
- Variables
- type ZContract
- type ZContractCaller
- type ZContractCallerRaw
- type ZContractCallerSession
- type ZContractFilterer
- type ZContractRaw
- func (_ZContract *ZContractRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ZContract *ZContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ZContract *ZContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ZContractSession
- type ZContractTransactor
- type ZContractTransactorRaw
- type ZContractTransactorSession
Constants ¶
This section is empty.
Variables ¶
var ZContractABI = ZContractMetaData.ABI
ZContractABI is the input ABI used to generate the binding from. Deprecated: Use ZContractMetaData.ABI instead.
var ZContractMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"zrc20\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"}],\"name\":\"onCrossChainCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
ZContractMetaData contains all meta data concerning the ZContract contract.
Functions ¶
This section is empty.
Types ¶
type ZContract ¶
type ZContract struct { ZContractCaller // Read-only binding to the contract ZContractTransactor // Write-only binding to the contract ZContractFilterer // Log filterer for contract events }
ZContract is an auto generated Go binding around an Ethereum contract.
func NewZContract ¶
NewZContract creates a new instance of ZContract, bound to a specific deployed contract.
type ZContractCaller ¶
type ZContractCaller struct {
// contains filtered or unexported fields
}
ZContractCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewZContractCaller ¶
func NewZContractCaller(address common.Address, caller bind.ContractCaller) (*ZContractCaller, error)
NewZContractCaller creates a new read-only instance of ZContract, bound to a specific deployed contract.
type ZContractCallerRaw ¶
type ZContractCallerRaw struct {
Contract *ZContractCaller // Generic read-only contract binding to access the raw methods on
}
ZContractCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ZContractCallerRaw) Call ¶
func (_ZContract *ZContractCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type ZContractCallerSession ¶
type ZContractCallerSession struct { Contract *ZContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ZContractCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ZContractFilterer ¶
type ZContractFilterer struct {
// contains filtered or unexported fields
}
ZContractFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewZContractFilterer ¶
func NewZContractFilterer(address common.Address, filterer bind.ContractFilterer) (*ZContractFilterer, error)
NewZContractFilterer creates a new log filterer instance of ZContract, bound to a specific deployed contract.
type ZContractRaw ¶
type ZContractRaw struct {
Contract *ZContract // Generic contract binding to access the raw methods on
}
ZContractRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ZContractRaw) Call ¶
func (_ZContract *ZContractRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*ZContractRaw) Transact ¶
func (_ZContract *ZContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZContractRaw) Transfer ¶
func (_ZContract *ZContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ZContractSession ¶
type ZContractSession struct { Contract *ZContract // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ZContractSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ZContractSession) OnCrossChainCall ¶
func (_ZContract *ZContractSession) OnCrossChainCall(zrc20 common.Address, amount *big.Int, message []byte) (*types.Transaction, error)
OnCrossChainCall is a paid mutator transaction binding the contract method 0xc8522691.
Solidity: function onCrossChainCall(address zrc20, uint256 amount, bytes message) returns()
type ZContractTransactor ¶
type ZContractTransactor struct {
// contains filtered or unexported fields
}
ZContractTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewZContractTransactor ¶
func NewZContractTransactor(address common.Address, transactor bind.ContractTransactor) (*ZContractTransactor, error)
NewZContractTransactor creates a new write-only instance of ZContract, bound to a specific deployed contract.
func (*ZContractTransactor) OnCrossChainCall ¶
func (_ZContract *ZContractTransactor) OnCrossChainCall(opts *bind.TransactOpts, zrc20 common.Address, amount *big.Int, message []byte) (*types.Transaction, error)
OnCrossChainCall is a paid mutator transaction binding the contract method 0xc8522691.
Solidity: function onCrossChainCall(address zrc20, uint256 amount, bytes message) returns()
type ZContractTransactorRaw ¶
type ZContractTransactorRaw struct {
Contract *ZContractTransactor // Generic write-only contract binding to access the raw methods on
}
ZContractTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ZContractTransactorRaw) Transact ¶
func (_ZContract *ZContractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZContractTransactorRaw) Transfer ¶
func (_ZContract *ZContractTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ZContractTransactorSession ¶
type ZContractTransactorSession struct { Contract *ZContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ZContractTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ZContractTransactorSession) OnCrossChainCall ¶
func (_ZContract *ZContractTransactorSession) OnCrossChainCall(zrc20 common.Address, amount *big.Int, message []byte) (*types.Transaction, error)
OnCrossChainCall is a paid mutator transaction binding the contract method 0xc8522691.
Solidity: function onCrossChainCall(address zrc20, uint256 amount, bytes message) returns()