connectorzevm

package
v1.0.2-athens3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WZETAABI = WZETAMetaData.ABI

WZETAABI is the input ABI used to generate the binding from. Deprecated: Use WZETAMetaData.ABI instead.

View Source
var WZETAMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"src\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"dst\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

WZETAMetaData contains all meta data concerning the WZETA contract.

View Source
var ZetaConnectorZEVMABI = ZetaConnectorZEVMMetaData.ABI

ZetaConnectorZEVMABI is the input ABI used to generate the binding from. Deprecated: Use ZetaConnectorZEVMMetaData.ABI instead.

View Source
var ZetaConnectorZEVMBin = ZetaConnectorZEVMMetaData.Bin

ZetaConnectorZEVMBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ZetaConnectorZEVMMetaData.Bin instead.

View Source
var ZetaConnectorZEVMMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_wzeta\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"FailedZetaSent\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyFungibleModule\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyWZETA\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WZETATransferFailed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"wzeta_\",\"type\":\"address\"}],\"name\":\"SetWZETA\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sourceTxOriginAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"zetaTxSenderAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"destinationChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"destinationAddress\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"zetaValueAndGas\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"destinationGasLimit\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"zetaParams\",\"type\":\"bytes\"}],\"name\":\"ZetaSent\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"FUNGIBLE_MODULE_ADDRESS\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"destinationChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"destinationAddress\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"destinationGasLimit\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"zetaValueAndGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"zetaParams\",\"type\":\"bytes\"}],\"internalType\":\"structZetaInterfaces.SendInput\",\"name\":\"input\",\"type\":\"tuple\"}],\"name\":\"send\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"wzeta_\",\"type\":\"address\"}],\"name\":\"setWzetaAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"wzeta\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
	Bin: "0x608060405234801561001057600080fd5b50604051610a51380380610a518339818101604052810190610032919061008d565b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050610108565b600081519050610087816100f1565b92915050565b6000602082840312156100a3576100a26100ec565b5b60006100b184828501610078565b91505092915050565b60006100c5826100cc565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b6100fa816100ba565b811461010557600080fd5b50565b61093a806101176000396000f3fe6080604052600436106100425760003560e01c8062173d46146100d35780633ce4a5bc146100fe578063eb3bacbd14610129578063ec02690114610152576100ce565b366100ce5760008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146100cc576040517f6e6b6de700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b005b600080fd5b3480156100df57600080fd5b506100e861017b565b6040516100f591906106e5565b60405180910390f35b34801561010a57600080fd5b5061011361019f565b60405161012091906106e5565b60405180910390f35b34801561013557600080fd5b50610150600480360381019061014b91906105bf565b6101b7565b005b34801561015e57600080fd5b5061017960048036038101906101749190610619565b6102aa565b005b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b73735b14bb79463307aacbed86daf3322b1e6226ab81565b73735b14bb79463307aacbed86daf3322b1e6226ab73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610230576040517fea02b3f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f7325870b05f8f3412c318a35fc6a74feca51ea15811ec7a257676ca4db9d41768160405161029f91906106e5565b60405180910390a150565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd333084608001356040518463ffffffff1660e01b815260040161030b93929190610700565b602060405180830381600087803b15801561032557600080fd5b505af1158015610339573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061035d91906105ec565b610393576040517fa8c6fd4a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d82608001356040518263ffffffff1660e01b81526004016103f091906107b3565b600060405180830381600087803b15801561040a57600080fd5b505af115801561041e573d6000803e3d6000fd5b50505050600073735b14bb79463307aacbed86daf3322b1e6226ab73ffffffffffffffffffffffffffffffffffffffff168260800135604051610460906106d0565b60006040518083038185875af1925050503d806000811461049d576040519150601f19603f3d011682016040523d82523d6000602084013e6104a2565b606091505b50509050806104dd576040517fc7ffc47b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600001353373ffffffffffffffffffffffffffffffffffffffff167f7ec1c94701e09b1652f3e1d307e60c4b9ebf99aff8c2079fd1d8c585e031c4e43285806020019061052b91906107ce565b8760800135886040013589806060019061054591906107ce565b8b8060a0019061055591906107ce565b60405161056a99989796959493929190610737565b60405180910390a35050565b600081359050610585816108d6565b92915050565b60008151905061059a816108ed565b92915050565b600060c082840312156105b6576105b56108a9565b5b81905092915050565b6000602082840312156105d5576105d46108bd565b5b60006105e384828501610576565b91505092915050565b600060208284031215610602576106016108bd565b5b60006106108482850161058b565b91505092915050565b60006020828403121561062f5761062e6108bd565b5b600082013567ffffffffffffffff81111561064d5761064c6108b8565b5b610659848285016105a0565b91505092915050565b61066b8161084d565b82525050565b600061067d8385610831565b935061068a838584610895565b610693836108c2565b840190509392505050565b60006106ab600083610842565b91506106b6826108d3565b600082019050919050565b6106ca8161088b565b82525050565b60006106db8261069e565b9150819050919050565b60006020820190506106fa6000830184610662565b92915050565b60006060820190506107156000830186610662565b6107226020830185610662565b61072f60408301846106c1565b949350505050565b600060c08201905061074c600083018c610662565b818103602083015261075f818a8c610671565b905061076e60408301896106c1565b61077b60608301886106c1565b818103608083015261078e818688610671565b905081810360a08301526107a3818486610671565b90509a9950505050505050505050565b60006020820190506107c860008301846106c1565b92915050565b600080833560016020038436030381126107eb576107ea6108ae565b5b80840192508235915067ffffffffffffffff82111561080d5761080c6108a4565b5b602083019250600182023603831315610829576108286108b3565b5b509250929050565b600082825260208201905092915050565b600081905092915050565b60006108588261086b565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b50565b6108df8161084d565b81146108ea57600080fd5b50565b6108f68161085f565b811461090157600080fd5b5056fea2646970667358221220de77795070b6e9d863f949e5ff84ae67c6e2c498e6ffb04996698d04fcebe44864736f6c63430008070033",
}

ZetaConnectorZEVMMetaData contains all meta data concerning the ZetaConnectorZEVM contract.

View Source
var ZetaInterfacesABI = ZetaInterfacesMetaData.ABI

ZetaInterfacesABI is the input ABI used to generate the binding from. Deprecated: Use ZetaInterfacesMetaData.ABI instead.

View Source
var ZetaInterfacesMetaData = &bind.MetaData{
	ABI: "[]",
}

ZetaInterfacesMetaData contains all meta data concerning the ZetaInterfaces contract.

Functions

This section is empty.

Types

type WZETA

type WZETA struct {
	WZETACaller     // Read-only binding to the contract
	WZETATransactor // Write-only binding to the contract
	WZETAFilterer   // Log filterer for contract events
}

WZETA is an auto generated Go binding around an Ethereum contract.

func NewWZETA

func NewWZETA(address common.Address, backend bind.ContractBackend) (*WZETA, error)

NewWZETA creates a new instance of WZETA, bound to a specific deployed contract.

type WZETACaller

type WZETACaller struct {
	// contains filtered or unexported fields
}

WZETACaller is an auto generated read-only Go binding around an Ethereum contract.

func NewWZETACaller

func NewWZETACaller(address common.Address, caller bind.ContractCaller) (*WZETACaller, error)

NewWZETACaller creates a new read-only instance of WZETA, bound to a specific deployed contract.

type WZETACallerRaw

type WZETACallerRaw struct {
	Contract *WZETACaller // Generic read-only contract binding to access the raw methods on
}

WZETACallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*WZETACallerRaw) Call

func (_WZETA *WZETACallerRaw) 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 WZETACallerSession

type WZETACallerSession struct {
	Contract *WZETACaller  // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

WZETACallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type WZETAFilterer

type WZETAFilterer struct {
	// contains filtered or unexported fields
}

WZETAFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewWZETAFilterer

func NewWZETAFilterer(address common.Address, filterer bind.ContractFilterer) (*WZETAFilterer, error)

NewWZETAFilterer creates a new log filterer instance of WZETA, bound to a specific deployed contract.

type WZETARaw

type WZETARaw struct {
	Contract *WZETA // Generic contract binding to access the raw methods on
}

WZETARaw is an auto generated low-level Go binding around an Ethereum contract.

func (*WZETARaw) Call

func (_WZETA *WZETARaw) 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 (*WZETARaw) Transact

func (_WZETA *WZETARaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*WZETARaw) Transfer

func (_WZETA *WZETARaw) 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 WZETASession

type WZETASession struct {
	Contract     *WZETA            // 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
}

WZETASession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*WZETASession) TransferFrom

func (_WZETA *WZETASession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)

func (*WZETASession) Withdraw

func (_WZETA *WZETASession) Withdraw(wad *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 wad) returns()

type WZETATransactor

type WZETATransactor struct {
	// contains filtered or unexported fields
}

WZETATransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewWZETATransactor

func NewWZETATransactor(address common.Address, transactor bind.ContractTransactor) (*WZETATransactor, error)

NewWZETATransactor creates a new write-only instance of WZETA, bound to a specific deployed contract.

func (*WZETATransactor) TransferFrom

func (_WZETA *WZETATransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)

func (*WZETATransactor) Withdraw

func (_WZETA *WZETATransactor) Withdraw(opts *bind.TransactOpts, wad *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 wad) returns()

type WZETATransactorRaw

type WZETATransactorRaw struct {
	Contract *WZETATransactor // Generic write-only contract binding to access the raw methods on
}

WZETATransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*WZETATransactorRaw) Transact

func (_WZETA *WZETATransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*WZETATransactorRaw) Transfer

func (_WZETA *WZETATransactorRaw) 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 WZETATransactorSession

type WZETATransactorSession struct {
	Contract     *WZETATransactor  // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

WZETATransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*WZETATransactorSession) TransferFrom

func (_WZETA *WZETATransactorSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)

func (*WZETATransactorSession) Withdraw

func (_WZETA *WZETATransactorSession) Withdraw(wad *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 wad) returns()

type ZetaConnectorZEVM

type ZetaConnectorZEVM struct {
	ZetaConnectorZEVMCaller     // Read-only binding to the contract
	ZetaConnectorZEVMTransactor // Write-only binding to the contract
	ZetaConnectorZEVMFilterer   // Log filterer for contract events
}

ZetaConnectorZEVM is an auto generated Go binding around an Ethereum contract.

func DeployZetaConnectorZEVM

func DeployZetaConnectorZEVM(auth *bind.TransactOpts, backend bind.ContractBackend, _wzeta common.Address) (common.Address, *types.Transaction, *ZetaConnectorZEVM, error)

DeployZetaConnectorZEVM deploys a new Ethereum contract, binding an instance of ZetaConnectorZEVM to it.

func NewZetaConnectorZEVM

func NewZetaConnectorZEVM(address common.Address, backend bind.ContractBackend) (*ZetaConnectorZEVM, error)

NewZetaConnectorZEVM creates a new instance of ZetaConnectorZEVM, bound to a specific deployed contract.

type ZetaConnectorZEVMCaller

type ZetaConnectorZEVMCaller struct {
	// contains filtered or unexported fields
}

ZetaConnectorZEVMCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewZetaConnectorZEVMCaller

func NewZetaConnectorZEVMCaller(address common.Address, caller bind.ContractCaller) (*ZetaConnectorZEVMCaller, error)

NewZetaConnectorZEVMCaller creates a new read-only instance of ZetaConnectorZEVM, bound to a specific deployed contract.

func (*ZetaConnectorZEVMCaller) FUNGIBLEMODULEADDRESS

func (_ZetaConnectorZEVM *ZetaConnectorZEVMCaller) FUNGIBLEMODULEADDRESS(opts *bind.CallOpts) (common.Address, error)

FUNGIBLEMODULEADDRESS is a free data retrieval call binding the contract method 0x3ce4a5bc.

Solidity: function FUNGIBLE_MODULE_ADDRESS() view returns(address)

func (*ZetaConnectorZEVMCaller) Wzeta

func (_ZetaConnectorZEVM *ZetaConnectorZEVMCaller) Wzeta(opts *bind.CallOpts) (common.Address, error)

Wzeta is a free data retrieval call binding the contract method 0x00173d46.

Solidity: function wzeta() view returns(address)

type ZetaConnectorZEVMCallerRaw

type ZetaConnectorZEVMCallerRaw struct {
	Contract *ZetaConnectorZEVMCaller // Generic read-only contract binding to access the raw methods on
}

ZetaConnectorZEVMCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*ZetaConnectorZEVMCallerRaw) Call

func (_ZetaConnectorZEVM *ZetaConnectorZEVMCallerRaw) 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 ZetaConnectorZEVMCallerSession

type ZetaConnectorZEVMCallerSession struct {
	Contract *ZetaConnectorZEVMCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts            // Call options to use throughout this session
}

ZetaConnectorZEVMCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*ZetaConnectorZEVMCallerSession) FUNGIBLEMODULEADDRESS

func (_ZetaConnectorZEVM *ZetaConnectorZEVMCallerSession) FUNGIBLEMODULEADDRESS() (common.Address, error)

FUNGIBLEMODULEADDRESS is a free data retrieval call binding the contract method 0x3ce4a5bc.

Solidity: function FUNGIBLE_MODULE_ADDRESS() view returns(address)

func (*ZetaConnectorZEVMCallerSession) Wzeta

func (_ZetaConnectorZEVM *ZetaConnectorZEVMCallerSession) Wzeta() (common.Address, error)

Wzeta is a free data retrieval call binding the contract method 0x00173d46.

Solidity: function wzeta() view returns(address)

type ZetaConnectorZEVMFilterer

type ZetaConnectorZEVMFilterer struct {
	// contains filtered or unexported fields
}

ZetaConnectorZEVMFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewZetaConnectorZEVMFilterer

func NewZetaConnectorZEVMFilterer(address common.Address, filterer bind.ContractFilterer) (*ZetaConnectorZEVMFilterer, error)

NewZetaConnectorZEVMFilterer creates a new log filterer instance of ZetaConnectorZEVM, bound to a specific deployed contract.

func (*ZetaConnectorZEVMFilterer) FilterSetWZETA

func (_ZetaConnectorZEVM *ZetaConnectorZEVMFilterer) FilterSetWZETA(opts *bind.FilterOpts) (*ZetaConnectorZEVMSetWZETAIterator, error)

FilterSetWZETA is a free log retrieval operation binding the contract event 0x7325870b05f8f3412c318a35fc6a74feca51ea15811ec7a257676ca4db9d4176.

Solidity: event SetWZETA(address wzeta_)

func (*ZetaConnectorZEVMFilterer) FilterZetaSent

func (_ZetaConnectorZEVM *ZetaConnectorZEVMFilterer) FilterZetaSent(opts *bind.FilterOpts, zetaTxSenderAddress []common.Address, destinationChainId []*big.Int) (*ZetaConnectorZEVMZetaSentIterator, error)

FilterZetaSent is a free log retrieval operation binding the contract event 0x7ec1c94701e09b1652f3e1d307e60c4b9ebf99aff8c2079fd1d8c585e031c4e4.

Solidity: event ZetaSent(address sourceTxOriginAddress, address indexed zetaTxSenderAddress, uint256 indexed destinationChainId, bytes destinationAddress, uint256 zetaValueAndGas, uint256 destinationGasLimit, bytes message, bytes zetaParams)

func (*ZetaConnectorZEVMFilterer) ParseSetWZETA

func (_ZetaConnectorZEVM *ZetaConnectorZEVMFilterer) ParseSetWZETA(log types.Log) (*ZetaConnectorZEVMSetWZETA, error)

ParseSetWZETA is a log parse operation binding the contract event 0x7325870b05f8f3412c318a35fc6a74feca51ea15811ec7a257676ca4db9d4176.

Solidity: event SetWZETA(address wzeta_)

func (*ZetaConnectorZEVMFilterer) ParseZetaSent

func (_ZetaConnectorZEVM *ZetaConnectorZEVMFilterer) ParseZetaSent(log types.Log) (*ZetaConnectorZEVMZetaSent, error)

ParseZetaSent is a log parse operation binding the contract event 0x7ec1c94701e09b1652f3e1d307e60c4b9ebf99aff8c2079fd1d8c585e031c4e4.

Solidity: event ZetaSent(address sourceTxOriginAddress, address indexed zetaTxSenderAddress, uint256 indexed destinationChainId, bytes destinationAddress, uint256 zetaValueAndGas, uint256 destinationGasLimit, bytes message, bytes zetaParams)

func (*ZetaConnectorZEVMFilterer) WatchSetWZETA

func (_ZetaConnectorZEVM *ZetaConnectorZEVMFilterer) WatchSetWZETA(opts *bind.WatchOpts, sink chan<- *ZetaConnectorZEVMSetWZETA) (event.Subscription, error)

WatchSetWZETA is a free log subscription operation binding the contract event 0x7325870b05f8f3412c318a35fc6a74feca51ea15811ec7a257676ca4db9d4176.

Solidity: event SetWZETA(address wzeta_)

func (*ZetaConnectorZEVMFilterer) WatchZetaSent

func (_ZetaConnectorZEVM *ZetaConnectorZEVMFilterer) WatchZetaSent(opts *bind.WatchOpts, sink chan<- *ZetaConnectorZEVMZetaSent, zetaTxSenderAddress []common.Address, destinationChainId []*big.Int) (event.Subscription, error)

WatchZetaSent is a free log subscription operation binding the contract event 0x7ec1c94701e09b1652f3e1d307e60c4b9ebf99aff8c2079fd1d8c585e031c4e4.

Solidity: event ZetaSent(address sourceTxOriginAddress, address indexed zetaTxSenderAddress, uint256 indexed destinationChainId, bytes destinationAddress, uint256 zetaValueAndGas, uint256 destinationGasLimit, bytes message, bytes zetaParams)

type ZetaConnectorZEVMRaw

type ZetaConnectorZEVMRaw struct {
	Contract *ZetaConnectorZEVM // Generic contract binding to access the raw methods on
}

ZetaConnectorZEVMRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*ZetaConnectorZEVMRaw) Call

func (_ZetaConnectorZEVM *ZetaConnectorZEVMRaw) 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 (*ZetaConnectorZEVMRaw) Transact

func (_ZetaConnectorZEVM *ZetaConnectorZEVMRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ZetaConnectorZEVMRaw) Transfer

func (_ZetaConnectorZEVM *ZetaConnectorZEVMRaw) 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 ZetaConnectorZEVMSession

type ZetaConnectorZEVMSession struct {
	Contract     *ZetaConnectorZEVM // 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
}

ZetaConnectorZEVMSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*ZetaConnectorZEVMSession) FUNGIBLEMODULEADDRESS

func (_ZetaConnectorZEVM *ZetaConnectorZEVMSession) FUNGIBLEMODULEADDRESS() (common.Address, error)

FUNGIBLEMODULEADDRESS is a free data retrieval call binding the contract method 0x3ce4a5bc.

Solidity: function FUNGIBLE_MODULE_ADDRESS() view returns(address)

func (*ZetaConnectorZEVMSession) Receive

func (_ZetaConnectorZEVM *ZetaConnectorZEVMSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*ZetaConnectorZEVMSession) Send

func (_ZetaConnectorZEVM *ZetaConnectorZEVMSession) Send(input ZetaInterfacesSendInput) (*types.Transaction, error)

Send is a paid mutator transaction binding the contract method 0xec026901.

Solidity: function send((uint256,bytes,uint256,bytes,uint256,bytes) input) returns()

func (*ZetaConnectorZEVMSession) SetWzetaAddress

func (_ZetaConnectorZEVM *ZetaConnectorZEVMSession) SetWzetaAddress(wzeta_ common.Address) (*types.Transaction, error)

SetWzetaAddress is a paid mutator transaction binding the contract method 0xeb3bacbd.

Solidity: function setWzetaAddress(address wzeta_) returns()

func (*ZetaConnectorZEVMSession) Wzeta

func (_ZetaConnectorZEVM *ZetaConnectorZEVMSession) Wzeta() (common.Address, error)

Wzeta is a free data retrieval call binding the contract method 0x00173d46.

Solidity: function wzeta() view returns(address)

type ZetaConnectorZEVMSetWZETA

type ZetaConnectorZEVMSetWZETA struct {
	Wzeta common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

ZetaConnectorZEVMSetWZETA represents a SetWZETA event raised by the ZetaConnectorZEVM contract.

type ZetaConnectorZEVMSetWZETAIterator

type ZetaConnectorZEVMSetWZETAIterator struct {
	Event *ZetaConnectorZEVMSetWZETA // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ZetaConnectorZEVMSetWZETAIterator is returned from FilterSetWZETA and is used to iterate over the raw logs and unpacked data for SetWZETA events raised by the ZetaConnectorZEVM contract.

func (*ZetaConnectorZEVMSetWZETAIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ZetaConnectorZEVMSetWZETAIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZetaConnectorZEVMSetWZETAIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ZetaConnectorZEVMTransactor

type ZetaConnectorZEVMTransactor struct {
	// contains filtered or unexported fields
}

ZetaConnectorZEVMTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewZetaConnectorZEVMTransactor

func NewZetaConnectorZEVMTransactor(address common.Address, transactor bind.ContractTransactor) (*ZetaConnectorZEVMTransactor, error)

NewZetaConnectorZEVMTransactor creates a new write-only instance of ZetaConnectorZEVM, bound to a specific deployed contract.

func (*ZetaConnectorZEVMTransactor) Receive

func (_ZetaConnectorZEVM *ZetaConnectorZEVMTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*ZetaConnectorZEVMTransactor) Send

func (_ZetaConnectorZEVM *ZetaConnectorZEVMTransactor) Send(opts *bind.TransactOpts, input ZetaInterfacesSendInput) (*types.Transaction, error)

Send is a paid mutator transaction binding the contract method 0xec026901.

Solidity: function send((uint256,bytes,uint256,bytes,uint256,bytes) input) returns()

func (*ZetaConnectorZEVMTransactor) SetWzetaAddress

func (_ZetaConnectorZEVM *ZetaConnectorZEVMTransactor) SetWzetaAddress(opts *bind.TransactOpts, wzeta_ common.Address) (*types.Transaction, error)

SetWzetaAddress is a paid mutator transaction binding the contract method 0xeb3bacbd.

Solidity: function setWzetaAddress(address wzeta_) returns()

type ZetaConnectorZEVMTransactorRaw

type ZetaConnectorZEVMTransactorRaw struct {
	Contract *ZetaConnectorZEVMTransactor // Generic write-only contract binding to access the raw methods on
}

ZetaConnectorZEVMTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*ZetaConnectorZEVMTransactorRaw) Transact

func (_ZetaConnectorZEVM *ZetaConnectorZEVMTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ZetaConnectorZEVMTransactorRaw) Transfer

func (_ZetaConnectorZEVM *ZetaConnectorZEVMTransactorRaw) 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 ZetaConnectorZEVMTransactorSession

type ZetaConnectorZEVMTransactorSession struct {
	Contract     *ZetaConnectorZEVMTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts            // Transaction auth options to use throughout this session
}

ZetaConnectorZEVMTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*ZetaConnectorZEVMTransactorSession) Receive

func (_ZetaConnectorZEVM *ZetaConnectorZEVMTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*ZetaConnectorZEVMTransactorSession) Send

Send is a paid mutator transaction binding the contract method 0xec026901.

Solidity: function send((uint256,bytes,uint256,bytes,uint256,bytes) input) returns()

func (*ZetaConnectorZEVMTransactorSession) SetWzetaAddress

func (_ZetaConnectorZEVM *ZetaConnectorZEVMTransactorSession) SetWzetaAddress(wzeta_ common.Address) (*types.Transaction, error)

SetWzetaAddress is a paid mutator transaction binding the contract method 0xeb3bacbd.

Solidity: function setWzetaAddress(address wzeta_) returns()

type ZetaConnectorZEVMZetaSent

type ZetaConnectorZEVMZetaSent struct {
	SourceTxOriginAddress common.Address
	ZetaTxSenderAddress   common.Address
	DestinationChainId    *big.Int
	DestinationAddress    []byte
	ZetaValueAndGas       *big.Int
	DestinationGasLimit   *big.Int
	Message               []byte
	ZetaParams            []byte
	Raw                   types.Log // Blockchain specific contextual infos
}

ZetaConnectorZEVMZetaSent represents a ZetaSent event raised by the ZetaConnectorZEVM contract.

type ZetaConnectorZEVMZetaSentIterator

type ZetaConnectorZEVMZetaSentIterator struct {
	Event *ZetaConnectorZEVMZetaSent // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ZetaConnectorZEVMZetaSentIterator is returned from FilterZetaSent and is used to iterate over the raw logs and unpacked data for ZetaSent events raised by the ZetaConnectorZEVM contract.

func (*ZetaConnectorZEVMZetaSentIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ZetaConnectorZEVMZetaSentIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZetaConnectorZEVMZetaSentIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ZetaInterfaces

type ZetaInterfaces struct {
	ZetaInterfacesCaller     // Read-only binding to the contract
	ZetaInterfacesTransactor // Write-only binding to the contract
	ZetaInterfacesFilterer   // Log filterer for contract events
}

ZetaInterfaces is an auto generated Go binding around an Ethereum contract.

func NewZetaInterfaces

func NewZetaInterfaces(address common.Address, backend bind.ContractBackend) (*ZetaInterfaces, error)

NewZetaInterfaces creates a new instance of ZetaInterfaces, bound to a specific deployed contract.

type ZetaInterfacesCaller

type ZetaInterfacesCaller struct {
	// contains filtered or unexported fields
}

ZetaInterfacesCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewZetaInterfacesCaller

func NewZetaInterfacesCaller(address common.Address, caller bind.ContractCaller) (*ZetaInterfacesCaller, error)

NewZetaInterfacesCaller creates a new read-only instance of ZetaInterfaces, bound to a specific deployed contract.

type ZetaInterfacesCallerRaw

type ZetaInterfacesCallerRaw struct {
	Contract *ZetaInterfacesCaller // Generic read-only contract binding to access the raw methods on
}

ZetaInterfacesCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*ZetaInterfacesCallerRaw) Call

func (_ZetaInterfaces *ZetaInterfacesCallerRaw) 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 ZetaInterfacesCallerSession

type ZetaInterfacesCallerSession struct {
	Contract *ZetaInterfacesCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts         // Call options to use throughout this session
}

ZetaInterfacesCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type ZetaInterfacesFilterer

type ZetaInterfacesFilterer struct {
	// contains filtered or unexported fields
}

ZetaInterfacesFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewZetaInterfacesFilterer

func NewZetaInterfacesFilterer(address common.Address, filterer bind.ContractFilterer) (*ZetaInterfacesFilterer, error)

NewZetaInterfacesFilterer creates a new log filterer instance of ZetaInterfaces, bound to a specific deployed contract.

type ZetaInterfacesRaw

type ZetaInterfacesRaw struct {
	Contract *ZetaInterfaces // Generic contract binding to access the raw methods on
}

ZetaInterfacesRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*ZetaInterfacesRaw) Call

func (_ZetaInterfaces *ZetaInterfacesRaw) 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 (*ZetaInterfacesRaw) Transact

func (_ZetaInterfaces *ZetaInterfacesRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ZetaInterfacesRaw) Transfer

func (_ZetaInterfaces *ZetaInterfacesRaw) 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 ZetaInterfacesSendInput

type ZetaInterfacesSendInput struct {
	DestinationChainId  *big.Int
	DestinationAddress  []byte
	DestinationGasLimit *big.Int
	Message             []byte
	ZetaValueAndGas     *big.Int
	ZetaParams          []byte
}

ZetaInterfacesSendInput is an auto generated low-level Go binding around an user-defined struct.

type ZetaInterfacesSession

type ZetaInterfacesSession struct {
	Contract     *ZetaInterfaces   // 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
}

ZetaInterfacesSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

type ZetaInterfacesTransactor

type ZetaInterfacesTransactor struct {
	// contains filtered or unexported fields
}

ZetaInterfacesTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewZetaInterfacesTransactor

func NewZetaInterfacesTransactor(address common.Address, transactor bind.ContractTransactor) (*ZetaInterfacesTransactor, error)

NewZetaInterfacesTransactor creates a new write-only instance of ZetaInterfaces, bound to a specific deployed contract.

type ZetaInterfacesTransactorRaw

type ZetaInterfacesTransactorRaw struct {
	Contract *ZetaInterfacesTransactor // Generic write-only contract binding to access the raw methods on
}

ZetaInterfacesTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*ZetaInterfacesTransactorRaw) Transact

func (_ZetaInterfaces *ZetaInterfacesTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ZetaInterfacesTransactorRaw) Transfer

func (_ZetaInterfaces *ZetaInterfacesTransactorRaw) 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 ZetaInterfacesTransactorSession

type ZetaInterfacesTransactorSession struct {
	Contract     *ZetaInterfacesTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts         // Transaction auth options to use throughout this session
}

ZetaInterfacesTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL