zetainteractor

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 ZetaInteractorABI = ZetaInteractorMetaData.ABI

ZetaInteractorABI is the input ABI used to generate the binding from. Deprecated: Use ZetaInteractorMetaData.ABI instead.

View Source
var ZetaInteractorMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"InvalidAddress\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"InvalidCaller\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidDestinationChainId\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidZetaMessageCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidZetaRevertCall\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"connector\",\"outputs\":[{\"internalType\":\"contractZetaConnector\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"interactorsByChainId\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"destinationChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"contractAddress\",\"type\":\"bytes\"}],\"name\":\"setInteractorByChainId\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

ZetaInteractorMetaData contains all meta data concerning the ZetaInteractor contract.

Functions

This section is empty.

Types

type ZetaInteractor

type ZetaInteractor struct {
	ZetaInteractorCaller     // Read-only binding to the contract
	ZetaInteractorTransactor // Write-only binding to the contract
	ZetaInteractorFilterer   // Log filterer for contract events
}

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

func NewZetaInteractor

func NewZetaInteractor(address common.Address, backend bind.ContractBackend) (*ZetaInteractor, error)

NewZetaInteractor creates a new instance of ZetaInteractor, bound to a specific deployed contract.

type ZetaInteractorCaller

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

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

func NewZetaInteractorCaller

func NewZetaInteractorCaller(address common.Address, caller bind.ContractCaller) (*ZetaInteractorCaller, error)

NewZetaInteractorCaller creates a new read-only instance of ZetaInteractor, bound to a specific deployed contract.

func (*ZetaInteractorCaller) Connector

func (_ZetaInteractor *ZetaInteractorCaller) Connector(opts *bind.CallOpts) (common.Address, error)

Connector is a free data retrieval call binding the contract method 0x83f3084f.

Solidity: function connector() view returns(address)

func (*ZetaInteractorCaller) InteractorsByChainId

func (_ZetaInteractor *ZetaInteractorCaller) InteractorsByChainId(opts *bind.CallOpts, arg0 *big.Int) ([]byte, error)

InteractorsByChainId is a free data retrieval call binding the contract method 0x2618143f.

Solidity: function interactorsByChainId(uint256 ) view returns(bytes)

func (*ZetaInteractorCaller) Owner

func (_ZetaInteractor *ZetaInteractorCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ZetaInteractorCaller) PendingOwner

func (_ZetaInteractor *ZetaInteractorCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

type ZetaInteractorCallerRaw

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

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

func (*ZetaInteractorCallerRaw) Call

func (_ZetaInteractor *ZetaInteractorCallerRaw) 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 ZetaInteractorCallerSession

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

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

func (*ZetaInteractorCallerSession) Connector

func (_ZetaInteractor *ZetaInteractorCallerSession) Connector() (common.Address, error)

Connector is a free data retrieval call binding the contract method 0x83f3084f.

Solidity: function connector() view returns(address)

func (*ZetaInteractorCallerSession) InteractorsByChainId

func (_ZetaInteractor *ZetaInteractorCallerSession) InteractorsByChainId(arg0 *big.Int) ([]byte, error)

InteractorsByChainId is a free data retrieval call binding the contract method 0x2618143f.

Solidity: function interactorsByChainId(uint256 ) view returns(bytes)

func (*ZetaInteractorCallerSession) Owner

func (_ZetaInteractor *ZetaInteractorCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ZetaInteractorCallerSession) PendingOwner

func (_ZetaInteractor *ZetaInteractorCallerSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

type ZetaInteractorFilterer

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

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

func NewZetaInteractorFilterer

func NewZetaInteractorFilterer(address common.Address, filterer bind.ContractFilterer) (*ZetaInteractorFilterer, error)

NewZetaInteractorFilterer creates a new log filterer instance of ZetaInteractor, bound to a specific deployed contract.

func (*ZetaInteractorFilterer) FilterOwnershipTransferStarted

func (_ZetaInteractor *ZetaInteractorFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ZetaInteractorOwnershipTransferStartedIterator, error)

FilterOwnershipTransferStarted is a free log retrieval operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.

Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)

func (*ZetaInteractorFilterer) FilterOwnershipTransferred

func (_ZetaInteractor *ZetaInteractorFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ZetaInteractorOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ZetaInteractorFilterer) ParseOwnershipTransferStarted

func (_ZetaInteractor *ZetaInteractorFilterer) ParseOwnershipTransferStarted(log types.Log) (*ZetaInteractorOwnershipTransferStarted, error)

ParseOwnershipTransferStarted is a log parse operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.

Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)

func (*ZetaInteractorFilterer) ParseOwnershipTransferred

func (_ZetaInteractor *ZetaInteractorFilterer) ParseOwnershipTransferred(log types.Log) (*ZetaInteractorOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ZetaInteractorFilterer) WatchOwnershipTransferStarted

func (_ZetaInteractor *ZetaInteractorFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *ZetaInteractorOwnershipTransferStarted, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferStarted is a free log subscription operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.

Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)

func (*ZetaInteractorFilterer) WatchOwnershipTransferred

func (_ZetaInteractor *ZetaInteractorFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ZetaInteractorOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

type ZetaInteractorOwnershipTransferStarted

type ZetaInteractorOwnershipTransferStarted struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

ZetaInteractorOwnershipTransferStarted represents a OwnershipTransferStarted event raised by the ZetaInteractor contract.

type ZetaInteractorOwnershipTransferStartedIterator

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

ZetaInteractorOwnershipTransferStartedIterator is returned from FilterOwnershipTransferStarted and is used to iterate over the raw logs and unpacked data for OwnershipTransferStarted events raised by the ZetaInteractor contract.

func (*ZetaInteractorOwnershipTransferStartedIterator) Close

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

func (*ZetaInteractorOwnershipTransferStartedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZetaInteractorOwnershipTransferStartedIterator) 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 ZetaInteractorOwnershipTransferred

type ZetaInteractorOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

ZetaInteractorOwnershipTransferred represents a OwnershipTransferred event raised by the ZetaInteractor contract.

type ZetaInteractorOwnershipTransferredIterator

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

ZetaInteractorOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the ZetaInteractor contract.

func (*ZetaInteractorOwnershipTransferredIterator) Close

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

func (*ZetaInteractorOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZetaInteractorOwnershipTransferredIterator) 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 ZetaInteractorRaw

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

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

func (*ZetaInteractorRaw) Call

func (_ZetaInteractor *ZetaInteractorRaw) 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 (*ZetaInteractorRaw) Transact

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

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

func (*ZetaInteractorRaw) Transfer

func (_ZetaInteractor *ZetaInteractorRaw) 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 ZetaInteractorSession

type ZetaInteractorSession struct {
	Contract     *ZetaInteractor   // 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
}

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

func (*ZetaInteractorSession) AcceptOwnership

func (_ZetaInteractor *ZetaInteractorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*ZetaInteractorSession) Connector

func (_ZetaInteractor *ZetaInteractorSession) Connector() (common.Address, error)

Connector is a free data retrieval call binding the contract method 0x83f3084f.

Solidity: function connector() view returns(address)

func (*ZetaInteractorSession) InteractorsByChainId

func (_ZetaInteractor *ZetaInteractorSession) InteractorsByChainId(arg0 *big.Int) ([]byte, error)

InteractorsByChainId is a free data retrieval call binding the contract method 0x2618143f.

Solidity: function interactorsByChainId(uint256 ) view returns(bytes)

func (*ZetaInteractorSession) Owner

func (_ZetaInteractor *ZetaInteractorSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ZetaInteractorSession) PendingOwner

func (_ZetaInteractor *ZetaInteractorSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*ZetaInteractorSession) RenounceOwnership

func (_ZetaInteractor *ZetaInteractorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*ZetaInteractorSession) SetInteractorByChainId

func (_ZetaInteractor *ZetaInteractorSession) SetInteractorByChainId(destinationChainId *big.Int, contractAddress []byte) (*types.Transaction, error)

SetInteractorByChainId is a paid mutator transaction binding the contract method 0x4fd3f7d7.

Solidity: function setInteractorByChainId(uint256 destinationChainId, bytes contractAddress) returns()

func (*ZetaInteractorSession) TransferOwnership

func (_ZetaInteractor *ZetaInteractorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type ZetaInteractorTransactor

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

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

func NewZetaInteractorTransactor

func NewZetaInteractorTransactor(address common.Address, transactor bind.ContractTransactor) (*ZetaInteractorTransactor, error)

NewZetaInteractorTransactor creates a new write-only instance of ZetaInteractor, bound to a specific deployed contract.

func (*ZetaInteractorTransactor) AcceptOwnership

func (_ZetaInteractor *ZetaInteractorTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*ZetaInteractorTransactor) RenounceOwnership

func (_ZetaInteractor *ZetaInteractorTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*ZetaInteractorTransactor) SetInteractorByChainId

func (_ZetaInteractor *ZetaInteractorTransactor) SetInteractorByChainId(opts *bind.TransactOpts, destinationChainId *big.Int, contractAddress []byte) (*types.Transaction, error)

SetInteractorByChainId is a paid mutator transaction binding the contract method 0x4fd3f7d7.

Solidity: function setInteractorByChainId(uint256 destinationChainId, bytes contractAddress) returns()

func (*ZetaInteractorTransactor) TransferOwnership

func (_ZetaInteractor *ZetaInteractorTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type ZetaInteractorTransactorRaw

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

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

func (*ZetaInteractorTransactorRaw) Transact

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

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

func (*ZetaInteractorTransactorRaw) Transfer

func (_ZetaInteractor *ZetaInteractorTransactorRaw) 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 ZetaInteractorTransactorSession

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

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

func (*ZetaInteractorTransactorSession) AcceptOwnership

func (_ZetaInteractor *ZetaInteractorTransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*ZetaInteractorTransactorSession) RenounceOwnership

func (_ZetaInteractor *ZetaInteractorTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*ZetaInteractorTransactorSession) SetInteractorByChainId

func (_ZetaInteractor *ZetaInteractorTransactorSession) SetInteractorByChainId(destinationChainId *big.Int, contractAddress []byte) (*types.Transaction, error)

SetInteractorByChainId is a paid mutator transaction binding the contract method 0x4fd3f7d7.

Solidity: function setInteractorByChainId(uint256 destinationChainId, bytes contractAddress) returns()

func (*ZetaInteractorTransactorSession) TransferOwnership

func (_ZetaInteractor *ZetaInteractorTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

Jump to

Keyboard shortcuts

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