zetainteractormock

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 ZetaInteractorMockABI = ZetaInteractorMockMetaData.ABI

ZetaInteractorMockABI is the input ABI used to generate the binding from. Deprecated: Use ZetaInteractorMockMetaData.ABI instead.

View Source
var ZetaInteractorMockBin = ZetaInteractorMockMetaData.Bin

ZetaInteractorMockBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ZetaInteractorMockMetaData.Bin instead.

View Source
var ZetaInteractorMockMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"zetaConnectorAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"zetaTxSenderAddress\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"sourceChainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"destinationAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"zetaValue\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"}],\"internalType\":\"structZetaInterfaces.ZetaMessage\",\"name\":\"zetaMessage\",\"type\":\"tuple\"}],\"name\":\"onZetaMessage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"zetaTxSenderAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sourceChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"destinationAddress\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"destinationChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"remainingZetaValue\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"}],\"internalType\":\"structZetaInterfaces.ZetaRevert\",\"name\":\"zetaRevert\",\"type\":\"tuple\"}],\"name\":\"onZetaRevert\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\"}]",
	Bin: "0x60c06040523480156200001157600080fd5b506040516200123c3803806200123c833981810160405281019062000037919062000228565b80620000586200004c6200010760201b60201c565b6200010f60201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415620000c0576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b46608081815250508073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250505050620002ad565b600033905090565b600160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556200014a816200014d60201b620005bd1760201c565b50565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050620002228162000293565b92915050565b6000602082840312156200024157620002406200028e565b5b6000620002518482850162000211565b91505092915050565b600062000267826200026e565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b6200029e816200025a565b8114620002aa57600080fd5b50565b60805160a05160601c610f5f620002dd6000396000818161049b0152610683015260006103690152610f5f6000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c806379ba50971161006657806379ba50971461013157806383f3084f1461013b5780638da5cb5b14610159578063e30c397814610177578063f2fde38b146101955761009e565b80632618143f146100a35780633749c51a146100d35780633ff0693c146100ef5780634fd3f7d71461010b578063715018a614610127575b600080fd5b6100bd60048036038101906100b891906109ea565b6101b1565b6040516100ca9190610c03565b60405180910390f35b6100ed60048036038101906100e89190610958565b610251565b005b610109600480360381019061010491906109a1565b6102e7565b005b61012560048036038101906101209190610a17565b6103c8565b005b61012f6103f8565b005b61013961040c565b005b610143610499565b6040516101509190610c25565b60405180910390f35b6101616104bd565b60405161016e9190610be8565b60405180910390f35b61017f6104e6565b60405161018c9190610be8565b60405180910390f35b6101af60048036038101906101aa919061092b565b610510565b005b600260205280600052604060002060009150905080546101d090610de4565b80601f01602080910402602001604051908101604052809291908181526020018280546101fc90610de4565b80156102495780601f1061021e57610100808354040283529160200191610249565b820191906000526020600020905b81548152906001019060200180831161022c57829003601f168201915b505050505081565b8061025a610681565b600260008260200135815260200190815260200160002060405161027e9190610bd1565b60405180910390208180600001906102969190610c80565b6040516102a4929190610bb8565b6040518091039020146102e3576040517fb473eb0a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050565b806102f0610681565b3073ffffffffffffffffffffffffffffffffffffffff1681600001602081019061031a919061092b565b73ffffffffffffffffffffffffffffffffffffffff1614610367576040517fc03e9c3f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000008160200135146103c4576040517fc03e9c3f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050565b6103d0610713565b81816002600086815260200190815260200160002091906103f29291906107ca565b50505050565b610400610713565b61040a6000610791565b565b60006104166107c2565b90508073ffffffffffffffffffffffffffffffffffffffff166104376104e6565b73ffffffffffffffffffffffffffffffffffffffff161461048d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048490610c40565b60405180910390fd5b61049681610791565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610518610713565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff166105786104bd565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461071157336040517fcbd9d2e00000000000000000000000000000000000000000000000000000000081526004016107089190610be8565b60405180910390fd5b565b61071b6107c2565b73ffffffffffffffffffffffffffffffffffffffff166107396104bd565b73ffffffffffffffffffffffffffffffffffffffff161461078f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078690610c60565b60405180910390fd5b565b600160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556107bf816105bd565b50565b600033905090565b8280546107d690610de4565b90600052602060002090601f0160209004810192826107f8576000855561083f565b82601f1061081157803560ff191683800117855561083f565b8280016001018555821561083f579182015b8281111561083e578235825591602001919060010190610823565b5b50905061084c9190610850565b5090565b5b80821115610869576000816000905550600101610851565b5090565b60008135905061087c81610efb565b92915050565b60008083601f84011261089857610897610e4a565b5b8235905067ffffffffffffffff8111156108b5576108b4610e45565b5b6020830191508360018202830111156108d1576108d0610e5e565b5b9250929050565b600060a082840312156108ee576108ed610e54565b5b81905092915050565b600060c0828403121561090d5761090c610e54565b5b81905092915050565b60008135905061092581610f12565b92915050565b60006020828403121561094157610940610e6d565b5b600061094f8482850161086d565b91505092915050565b60006020828403121561096e5761096d610e6d565b5b600082013567ffffffffffffffff81111561098c5761098b610e68565b5b610998848285016108d8565b91505092915050565b6000602082840312156109b7576109b6610e6d565b5b600082013567ffffffffffffffff8111156109d5576109d4610e68565b5b6109e1848285016108f7565b91505092915050565b600060208284031215610a00576109ff610e6d565b5b6000610a0e84828501610916565b91505092915050565b600080600060408486031215610a3057610a2f610e6d565b5b6000610a3e86828701610916565b935050602084013567ffffffffffffffff811115610a5f57610a5e610e68565b5b610a6b86828701610882565b92509250509250925092565b610a8081610d30565b82525050565b6000610a928385610d14565b9350610a9f838584610da2565b82840190509392505050565b6000610ab682610cf8565b610ac08185610d03565b9350610ad0818560208601610db1565b610ad981610e72565b840191505092915050565b60008154610af181610de4565b610afb8186610d14565b94506001821660008114610b165760018114610b2757610b5a565b60ff19831686528186019350610b5a565b610b3085610ce3565b60005b83811015610b5257815481890152600182019150602081019050610b33565b838801955050505b50505092915050565b610b6c81610d6c565b82525050565b6000610b7f602983610d1f565b9150610b8a82610e83565b604082019050919050565b6000610ba2602083610d1f565b9150610bad82610ed2565b602082019050919050565b6000610bc5828486610a86565b91508190509392505050565b6000610bdd8284610ae4565b915081905092915050565b6000602082019050610bfd6000830184610a77565b92915050565b60006020820190508181036000830152610c1d8184610aab565b905092915050565b6000602082019050610c3a6000830184610b63565b92915050565b60006020820190508181036000830152610c5981610b72565b9050919050565b60006020820190508181036000830152610c7981610b95565b9050919050565b60008083356001602003843603038112610c9d57610c9c610e59565b5b80840192508235915067ffffffffffffffff821115610cbf57610cbe610e4f565b5b602083019250600182023603831315610cdb57610cda610e63565b5b509250929050565b60008190508160005260206000209050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b6000610d3b82610d42565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000610d7782610d7e565b9050919050565b6000610d8982610d90565b9050919050565b6000610d9b82610d42565b9050919050565b82818337600083830152505050565b60005b83811015610dcf578082015181840152602081019050610db4565b83811115610dde576000848401525b50505050565b60006002820490506001821680610dfc57607f821691505b60208210811415610e1057610e0f610e16565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060008201527f6e6577206f776e65720000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b610f0481610d30565b8114610f0f57600080fd5b50565b610f1b81610d62565b8114610f2657600080fd5b5056fea26469706673582212206999e36457fead1d5e7b5a125ef2e0a49dcff212174326676d6fd53cff4e990364736f6c63430008070033",
}

ZetaInteractorMockMetaData contains all meta data concerning the ZetaInteractorMock contract.

Functions

This section is empty.

Types

type ZetaInteractorMock

type ZetaInteractorMock struct {
	ZetaInteractorMockCaller     // Read-only binding to the contract
	ZetaInteractorMockTransactor // Write-only binding to the contract
	ZetaInteractorMockFilterer   // Log filterer for contract events
}

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

func DeployZetaInteractorMock

func DeployZetaInteractorMock(auth *bind.TransactOpts, backend bind.ContractBackend, zetaConnectorAddress common.Address) (common.Address, *types.Transaction, *ZetaInteractorMock, error)

DeployZetaInteractorMock deploys a new Ethereum contract, binding an instance of ZetaInteractorMock to it.

func NewZetaInteractorMock

func NewZetaInteractorMock(address common.Address, backend bind.ContractBackend) (*ZetaInteractorMock, error)

NewZetaInteractorMock creates a new instance of ZetaInteractorMock, bound to a specific deployed contract.

type ZetaInteractorMockCaller

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

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

func NewZetaInteractorMockCaller

func NewZetaInteractorMockCaller(address common.Address, caller bind.ContractCaller) (*ZetaInteractorMockCaller, error)

NewZetaInteractorMockCaller creates a new read-only instance of ZetaInteractorMock, bound to a specific deployed contract.

func (*ZetaInteractorMockCaller) Connector

func (_ZetaInteractorMock *ZetaInteractorMockCaller) 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 (*ZetaInteractorMockCaller) InteractorsByChainId

func (_ZetaInteractorMock *ZetaInteractorMockCaller) 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 (*ZetaInteractorMockCaller) Owner

func (_ZetaInteractorMock *ZetaInteractorMockCaller) 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 (*ZetaInteractorMockCaller) PendingOwner

func (_ZetaInteractorMock *ZetaInteractorMockCaller) 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 ZetaInteractorMockCallerRaw

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

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

func (*ZetaInteractorMockCallerRaw) Call

func (_ZetaInteractorMock *ZetaInteractorMockCallerRaw) 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 ZetaInteractorMockCallerSession

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

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

func (*ZetaInteractorMockCallerSession) Connector

func (_ZetaInteractorMock *ZetaInteractorMockCallerSession) Connector() (common.Address, error)

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

Solidity: function connector() view returns(address)

func (*ZetaInteractorMockCallerSession) InteractorsByChainId

func (_ZetaInteractorMock *ZetaInteractorMockCallerSession) 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 (*ZetaInteractorMockCallerSession) Owner

func (_ZetaInteractorMock *ZetaInteractorMockCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ZetaInteractorMockCallerSession) PendingOwner

func (_ZetaInteractorMock *ZetaInteractorMockCallerSession) PendingOwner() (common.Address, error)

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

Solidity: function pendingOwner() view returns(address)

type ZetaInteractorMockFilterer

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

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

func NewZetaInteractorMockFilterer

func NewZetaInteractorMockFilterer(address common.Address, filterer bind.ContractFilterer) (*ZetaInteractorMockFilterer, error)

NewZetaInteractorMockFilterer creates a new log filterer instance of ZetaInteractorMock, bound to a specific deployed contract.

func (*ZetaInteractorMockFilterer) FilterOwnershipTransferStarted

func (_ZetaInteractorMock *ZetaInteractorMockFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ZetaInteractorMockOwnershipTransferStartedIterator, error)

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

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

func (*ZetaInteractorMockFilterer) FilterOwnershipTransferred

func (_ZetaInteractorMock *ZetaInteractorMockFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ZetaInteractorMockOwnershipTransferredIterator, error)

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

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

func (*ZetaInteractorMockFilterer) ParseOwnershipTransferStarted

func (_ZetaInteractorMock *ZetaInteractorMockFilterer) ParseOwnershipTransferStarted(log types.Log) (*ZetaInteractorMockOwnershipTransferStarted, error)

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

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

func (*ZetaInteractorMockFilterer) ParseOwnershipTransferred

func (_ZetaInteractorMock *ZetaInteractorMockFilterer) ParseOwnershipTransferred(log types.Log) (*ZetaInteractorMockOwnershipTransferred, error)

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

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

func (*ZetaInteractorMockFilterer) WatchOwnershipTransferStarted

func (_ZetaInteractorMock *ZetaInteractorMockFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *ZetaInteractorMockOwnershipTransferStarted, 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 (*ZetaInteractorMockFilterer) WatchOwnershipTransferred

func (_ZetaInteractorMock *ZetaInteractorMockFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ZetaInteractorMockOwnershipTransferred, 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 ZetaInteractorMockOwnershipTransferStarted

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

ZetaInteractorMockOwnershipTransferStarted represents a OwnershipTransferStarted event raised by the ZetaInteractorMock contract.

type ZetaInteractorMockOwnershipTransferStartedIterator

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

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

func (*ZetaInteractorMockOwnershipTransferStartedIterator) Close

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

func (*ZetaInteractorMockOwnershipTransferStartedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZetaInteractorMockOwnershipTransferStartedIterator) 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 ZetaInteractorMockOwnershipTransferred

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

ZetaInteractorMockOwnershipTransferred represents a OwnershipTransferred event raised by the ZetaInteractorMock contract.

type ZetaInteractorMockOwnershipTransferredIterator

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

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

func (*ZetaInteractorMockOwnershipTransferredIterator) Close

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

func (*ZetaInteractorMockOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZetaInteractorMockOwnershipTransferredIterator) 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 ZetaInteractorMockRaw

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

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

func (*ZetaInteractorMockRaw) Call

func (_ZetaInteractorMock *ZetaInteractorMockRaw) 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 (*ZetaInteractorMockRaw) Transact

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

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

func (*ZetaInteractorMockRaw) Transfer

func (_ZetaInteractorMock *ZetaInteractorMockRaw) 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 ZetaInteractorMockSession

type ZetaInteractorMockSession struct {
	Contract     *ZetaInteractorMock // 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
}

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

func (*ZetaInteractorMockSession) AcceptOwnership

func (_ZetaInteractorMock *ZetaInteractorMockSession) AcceptOwnership() (*types.Transaction, error)

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

Solidity: function acceptOwnership() returns()

func (*ZetaInteractorMockSession) Connector

func (_ZetaInteractorMock *ZetaInteractorMockSession) Connector() (common.Address, error)

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

Solidity: function connector() view returns(address)

func (*ZetaInteractorMockSession) InteractorsByChainId

func (_ZetaInteractorMock *ZetaInteractorMockSession) 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 (*ZetaInteractorMockSession) OnZetaMessage

func (_ZetaInteractorMock *ZetaInteractorMockSession) OnZetaMessage(zetaMessage ZetaInterfacesZetaMessage) (*types.Transaction, error)

OnZetaMessage is a paid mutator transaction binding the contract method 0x3749c51a.

Solidity: function onZetaMessage((bytes,uint256,address,uint256,bytes) zetaMessage) returns()

func (*ZetaInteractorMockSession) OnZetaRevert

func (_ZetaInteractorMock *ZetaInteractorMockSession) OnZetaRevert(zetaRevert ZetaInterfacesZetaRevert) (*types.Transaction, error)

OnZetaRevert is a paid mutator transaction binding the contract method 0x3ff0693c.

Solidity: function onZetaRevert((address,uint256,bytes,uint256,uint256,bytes) zetaRevert) returns()

func (*ZetaInteractorMockSession) Owner

func (_ZetaInteractorMock *ZetaInteractorMockSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ZetaInteractorMockSession) PendingOwner

func (_ZetaInteractorMock *ZetaInteractorMockSession) PendingOwner() (common.Address, error)

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

Solidity: function pendingOwner() view returns(address)

func (*ZetaInteractorMockSession) RenounceOwnership

func (_ZetaInteractorMock *ZetaInteractorMockSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ZetaInteractorMockSession) SetInteractorByChainId

func (_ZetaInteractorMock *ZetaInteractorMockSession) 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 (*ZetaInteractorMockSession) TransferOwnership

func (_ZetaInteractorMock *ZetaInteractorMockSession) 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 ZetaInteractorMockTransactor

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

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

func NewZetaInteractorMockTransactor

func NewZetaInteractorMockTransactor(address common.Address, transactor bind.ContractTransactor) (*ZetaInteractorMockTransactor, error)

NewZetaInteractorMockTransactor creates a new write-only instance of ZetaInteractorMock, bound to a specific deployed contract.

func (*ZetaInteractorMockTransactor) AcceptOwnership

func (_ZetaInteractorMock *ZetaInteractorMockTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function acceptOwnership() returns()

func (*ZetaInteractorMockTransactor) OnZetaMessage

func (_ZetaInteractorMock *ZetaInteractorMockTransactor) OnZetaMessage(opts *bind.TransactOpts, zetaMessage ZetaInterfacesZetaMessage) (*types.Transaction, error)

OnZetaMessage is a paid mutator transaction binding the contract method 0x3749c51a.

Solidity: function onZetaMessage((bytes,uint256,address,uint256,bytes) zetaMessage) returns()

func (*ZetaInteractorMockTransactor) OnZetaRevert

func (_ZetaInteractorMock *ZetaInteractorMockTransactor) OnZetaRevert(opts *bind.TransactOpts, zetaRevert ZetaInterfacesZetaRevert) (*types.Transaction, error)

OnZetaRevert is a paid mutator transaction binding the contract method 0x3ff0693c.

Solidity: function onZetaRevert((address,uint256,bytes,uint256,uint256,bytes) zetaRevert) returns()

func (*ZetaInteractorMockTransactor) RenounceOwnership

func (_ZetaInteractorMock *ZetaInteractorMockTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ZetaInteractorMockTransactor) SetInteractorByChainId

func (_ZetaInteractorMock *ZetaInteractorMockTransactor) 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 (*ZetaInteractorMockTransactor) TransferOwnership

func (_ZetaInteractorMock *ZetaInteractorMockTransactor) 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 ZetaInteractorMockTransactorRaw

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

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

func (*ZetaInteractorMockTransactorRaw) Transact

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

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

func (*ZetaInteractorMockTransactorRaw) Transfer

func (_ZetaInteractorMock *ZetaInteractorMockTransactorRaw) 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 ZetaInteractorMockTransactorSession

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

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

func (*ZetaInteractorMockTransactorSession) AcceptOwnership

func (_ZetaInteractorMock *ZetaInteractorMockTransactorSession) AcceptOwnership() (*types.Transaction, error)

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

Solidity: function acceptOwnership() returns()

func (*ZetaInteractorMockTransactorSession) OnZetaMessage

func (_ZetaInteractorMock *ZetaInteractorMockTransactorSession) OnZetaMessage(zetaMessage ZetaInterfacesZetaMessage) (*types.Transaction, error)

OnZetaMessage is a paid mutator transaction binding the contract method 0x3749c51a.

Solidity: function onZetaMessage((bytes,uint256,address,uint256,bytes) zetaMessage) returns()

func (*ZetaInteractorMockTransactorSession) OnZetaRevert

func (_ZetaInteractorMock *ZetaInteractorMockTransactorSession) OnZetaRevert(zetaRevert ZetaInterfacesZetaRevert) (*types.Transaction, error)

OnZetaRevert is a paid mutator transaction binding the contract method 0x3ff0693c.

Solidity: function onZetaRevert((address,uint256,bytes,uint256,uint256,bytes) zetaRevert) returns()

func (*ZetaInteractorMockTransactorSession) RenounceOwnership

func (_ZetaInteractorMock *ZetaInteractorMockTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ZetaInteractorMockTransactorSession) SetInteractorByChainId

func (_ZetaInteractorMock *ZetaInteractorMockTransactorSession) 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 (*ZetaInteractorMockTransactorSession) TransferOwnership

func (_ZetaInteractorMock *ZetaInteractorMockTransactorSession) 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 ZetaInterfacesZetaMessage

type ZetaInterfacesZetaMessage struct {
	ZetaTxSenderAddress []byte
	SourceChainId       *big.Int
	DestinationAddress  common.Address
	ZetaValue           *big.Int
	Message             []byte
}

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

type ZetaInterfacesZetaRevert

type ZetaInterfacesZetaRevert struct {
	ZetaTxSenderAddress common.Address
	SourceChainId       *big.Int
	DestinationAddress  []byte
	DestinationChainId  *big.Int
	RemainingZetaValue  *big.Int
	Message             []byte
}

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

Jump to

Keyboard shortcuts

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