zetaconnector

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 ZetaConnectorBaseABI = ZetaConnectorBaseMetaData.ABI

ZetaConnectorBaseABI is the input ABI used to generate the binding from. Deprecated: Use ZetaConnectorBaseMetaData.ABI instead.

View Source
var ZetaConnectorBaseBin = ZetaConnectorBaseMetaData.Bin

ZetaConnectorBaseBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ZetaConnectorBaseMetaData.Bin instead.

View Source
var ZetaConnectorBaseMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"zetaToken_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tssAddress_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tssAddressUpdater_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"pauserAddress_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"CallerIsNotPauser\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"CallerIsNotTss\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"CallerIsNotTssOrUpdater\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"CallerIsNotTssUpdater\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"maxSupply\",\"type\":\"uint256\"}],\"name\":\"ExceedsMaxSupply\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZetaTransferError\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"updaterAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newTssAddress\",\"type\":\"address\"}],\"name\":\"PauserAddressUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"zetaTxSenderAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newTssAddress\",\"type\":\"address\"}],\"name\":\"TSSAddressUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"zetaTxSenderAddress\",\"type\":\"bytes\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"sourceChainId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"destinationAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"zetaValue\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"internalSendHash\",\"type\":\"bytes32\"}],\"name\":\"ZetaReceived\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"zetaTxSenderAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"sourceChainId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"destinationChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"destinationAddress\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"remainingZetaValue\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"internalSendHash\",\"type\":\"bytes32\"}],\"name\":\"ZetaReverted\",\"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\":[{\"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\":\"bytes32\",\"name\":\"internalSendHash\",\"type\":\"bytes32\"}],\"name\":\"onReceive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"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\":\"bytes32\",\"name\":\"internalSendHash\",\"type\":\"bytes32\"}],\"name\":\"onRevert\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pauserAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceTssAddressUpdater\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":[],\"name\":\"tssAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tssAddressUpdater\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pauserAddress_\",\"type\":\"address\"}],\"name\":\"updatePauserAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tssAddress_\",\"type\":\"address\"}],\"name\":\"updateTssAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"zetaToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x60a06040523480156200001157600080fd5b50604051620012c3380380620012c383398181016040528101906200003791906200027c565b60008060006101000a81548160ff021916908315150217905550600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480620000b95750600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b80620000f15750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b80620001295750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b1562000161576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b8152505082600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505062000341565b600081519050620002768162000327565b92915050565b6000806000806080858703121562000299576200029862000322565b5b6000620002a98782880162000265565b9450506020620002bc8782880162000265565b9350506040620002cf8782880162000265565b9250506060620002e28782880162000265565b91505092959194509250565b6000620002fb8262000302565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b6200033281620002ee565b81146200033e57600080fd5b50565b60805160601c610f636200036060003960006102160152610f636000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c80636128480f1161008c5780639122c344116100665780639122c344146101a2578063942a5e16146101be578063ec026901146101da578063f7fb869b146101f6576100cf565b80636128480f14610172578063779e3b631461018e5780638456cb5914610198576100cf565b806321e093b1146100d457806329dd214d146100f2578063328a01d01461010e5780633f4ba83a1461012c5780635b112591146101365780635c975abb14610154575b600080fd5b6100dc610214565b6040516100e99190610d76565b60405180910390f35b61010c60048036038101906101079190610bfa565b610238565b005b610116610242565b6040516101239190610d76565b60405180910390f35b610134610268565b005b61013e610304565b60405161014b9190610d76565b60405180910390f35b61015c61032a565b6040516101699190610dba565b60405180910390f35b61018c60048036038101906101879190610aeb565b610340565b005b6101966104b6565b005b6101a0610636565b005b6101bc60048036038101906101b79190610aeb565b6106d2565b005b6101d860048036038101906101d39190610b18565b6108a4565b005b6101f460048036038101906101ef9190610cc9565b6108af565b005b6101fe6108b2565b60405161020b9190610d76565b60405180910390f35b7f000000000000000000000000000000000000000000000000000000000000000081565b5050505050505050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146102fa57336040517f4677a0d30000000000000000000000000000000000000000000000000000000081526004016102f19190610d76565b60405180910390fd5b6103026108d8565b565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900460ff16905090565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146103d257336040517f4677a0d30000000000000000000000000000000000000000000000000000000081526004016103c99190610d76565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610439576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fd41d83655d484bdf299598751c371b2d92088667266fe3774b25a97bdd5d039733826040516104ab929190610d91565b60405180910390a150565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461054857336040517fe700765e00000000000000000000000000000000000000000000000000000000815260040161053f9190610d76565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156105d1576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106c857336040517f4677a0d30000000000000000000000000000000000000000000000000000000081526004016106bf9190610d76565b60405180910390fd5b6106d061093a565b565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415801561077e5750600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b156107c057336040517fcdfcef970000000000000000000000000000000000000000000000000000000081526004016107b79190610d76565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610827576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fe79965b5c67dcfb2cf5fe152715e4a7256cee62a3d5dd8484fd8a8539eb8beff3382604051610899929190610d91565b60405180910390a150565b505050505050505050565b50565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6108e061099c565b60008060006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6109236109e5565b6040516109309190610d76565b60405180910390a1565b6109426109ed565b60016000806101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586109856109e5565b6040516109929190610d76565b60405180910390a1565b6109a461032a565b6109e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109da90610dd5565b60405180910390fd5b565b600033905090565b6109f561032a565b15610a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2c90610df5565b60405180910390fd5b565b600081359050610a4681610ee8565b92915050565b600081359050610a5b81610eff565b92915050565b60008083601f840112610a7757610a76610e7d565b5b8235905067ffffffffffffffff811115610a9457610a93610e78565b5b602083019150836001820283011115610ab057610aaf610e87565b5b9250929050565b600060c08284031215610acd57610acc610e82565b5b81905092915050565b600081359050610ae581610f16565b92915050565b600060208284031215610b0157610b00610e91565b5b6000610b0f84828501610a37565b91505092915050565b600080600080600080600080600060e08a8c031215610b3a57610b39610e91565b5b6000610b488c828d01610a37565b9950506020610b598c828d01610ad6565b98505060408a013567ffffffffffffffff811115610b7a57610b79610e8c565b5b610b868c828d01610a61565b97509750506060610b998c828d01610ad6565b9550506080610baa8c828d01610ad6565b94505060a08a013567ffffffffffffffff811115610bcb57610bca610e8c565b5b610bd78c828d01610a61565b935093505060c0610bea8c828d01610a4c565b9150509295985092959850929598565b60008060008060008060008060c0898b031215610c1a57610c19610e91565b5b600089013567ffffffffffffffff811115610c3857610c37610e8c565b5b610c448b828c01610a61565b98509850506020610c578b828c01610ad6565b9650506040610c688b828c01610a37565b9550506060610c798b828c01610ad6565b945050608089013567ffffffffffffffff811115610c9a57610c99610e8c565b5b610ca68b828c01610a61565b935093505060a0610cb98b828c01610a4c565b9150509295985092959890939650565b600060208284031215610cdf57610cde610e91565b5b600082013567ffffffffffffffff811115610cfd57610cfc610e8c565b5b610d0984828501610ab7565b91505092915050565b610d1b81610e26565b82525050565b610d2a81610e38565b82525050565b6000610d3d601483610e15565b9150610d4882610e96565b602082019050919050565b6000610d60601083610e15565b9150610d6b82610ebf565b602082019050919050565b6000602082019050610d8b6000830184610d12565b92915050565b6000604082019050610da66000830185610d12565b610db36020830184610d12565b9392505050565b6000602082019050610dcf6000830184610d21565b92915050565b60006020820190508181036000830152610dee81610d30565b9050919050565b60006020820190508181036000830152610e0e81610d53565b9050919050565b600082825260208201905092915050565b6000610e3182610e4e565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b610ef181610e26565b8114610efc57600080fd5b50565b610f0881610e44565b8114610f1357600080fd5b50565b610f1f81610e6e565b8114610f2a57600080fd5b5056fea2646970667358221220edc61135d1f12b7a435fc47ff359e2af4895e4c9526a3c1884344fcc790d316a64736f6c63430008070033",
}

ZetaConnectorBaseMetaData contains all meta data concerning the ZetaConnectorBase contract.

Functions

This section is empty.

Types

type ZetaConnectorBase

type ZetaConnectorBase struct {
	ZetaConnectorBaseCaller     // Read-only binding to the contract
	ZetaConnectorBaseTransactor // Write-only binding to the contract
	ZetaConnectorBaseFilterer   // Log filterer for contract events
}

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

func DeployZetaConnectorBase

func DeployZetaConnectorBase(auth *bind.TransactOpts, backend bind.ContractBackend, zetaToken_ common.Address, tssAddress_ common.Address, tssAddressUpdater_ common.Address, pauserAddress_ common.Address) (common.Address, *types.Transaction, *ZetaConnectorBase, error)

DeployZetaConnectorBase deploys a new Ethereum contract, binding an instance of ZetaConnectorBase to it.

func NewZetaConnectorBase

func NewZetaConnectorBase(address common.Address, backend bind.ContractBackend) (*ZetaConnectorBase, error)

NewZetaConnectorBase creates a new instance of ZetaConnectorBase, bound to a specific deployed contract.

type ZetaConnectorBaseCaller

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

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

func NewZetaConnectorBaseCaller

func NewZetaConnectorBaseCaller(address common.Address, caller bind.ContractCaller) (*ZetaConnectorBaseCaller, error)

NewZetaConnectorBaseCaller creates a new read-only instance of ZetaConnectorBase, bound to a specific deployed contract.

func (*ZetaConnectorBaseCaller) Paused

func (_ZetaConnectorBase *ZetaConnectorBaseCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*ZetaConnectorBaseCaller) PauserAddress

func (_ZetaConnectorBase *ZetaConnectorBaseCaller) PauserAddress(opts *bind.CallOpts) (common.Address, error)

PauserAddress is a free data retrieval call binding the contract method 0xf7fb869b.

Solidity: function pauserAddress() view returns(address)

func (*ZetaConnectorBaseCaller) TssAddress

func (_ZetaConnectorBase *ZetaConnectorBaseCaller) TssAddress(opts *bind.CallOpts) (common.Address, error)

TssAddress is a free data retrieval call binding the contract method 0x5b112591.

Solidity: function tssAddress() view returns(address)

func (*ZetaConnectorBaseCaller) TssAddressUpdater

func (_ZetaConnectorBase *ZetaConnectorBaseCaller) TssAddressUpdater(opts *bind.CallOpts) (common.Address, error)

TssAddressUpdater is a free data retrieval call binding the contract method 0x328a01d0.

Solidity: function tssAddressUpdater() view returns(address)

func (*ZetaConnectorBaseCaller) ZetaToken

func (_ZetaConnectorBase *ZetaConnectorBaseCaller) ZetaToken(opts *bind.CallOpts) (common.Address, error)

ZetaToken is a free data retrieval call binding the contract method 0x21e093b1.

Solidity: function zetaToken() view returns(address)

type ZetaConnectorBaseCallerRaw

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

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

func (*ZetaConnectorBaseCallerRaw) Call

func (_ZetaConnectorBase *ZetaConnectorBaseCallerRaw) 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 ZetaConnectorBaseCallerSession

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

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

func (*ZetaConnectorBaseCallerSession) Paused

func (_ZetaConnectorBase *ZetaConnectorBaseCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*ZetaConnectorBaseCallerSession) PauserAddress

func (_ZetaConnectorBase *ZetaConnectorBaseCallerSession) PauserAddress() (common.Address, error)

PauserAddress is a free data retrieval call binding the contract method 0xf7fb869b.

Solidity: function pauserAddress() view returns(address)

func (*ZetaConnectorBaseCallerSession) TssAddress

func (_ZetaConnectorBase *ZetaConnectorBaseCallerSession) TssAddress() (common.Address, error)

TssAddress is a free data retrieval call binding the contract method 0x5b112591.

Solidity: function tssAddress() view returns(address)

func (*ZetaConnectorBaseCallerSession) TssAddressUpdater

func (_ZetaConnectorBase *ZetaConnectorBaseCallerSession) TssAddressUpdater() (common.Address, error)

TssAddressUpdater is a free data retrieval call binding the contract method 0x328a01d0.

Solidity: function tssAddressUpdater() view returns(address)

func (*ZetaConnectorBaseCallerSession) ZetaToken

func (_ZetaConnectorBase *ZetaConnectorBaseCallerSession) ZetaToken() (common.Address, error)

ZetaToken is a free data retrieval call binding the contract method 0x21e093b1.

Solidity: function zetaToken() view returns(address)

type ZetaConnectorBaseFilterer

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

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

func NewZetaConnectorBaseFilterer

func NewZetaConnectorBaseFilterer(address common.Address, filterer bind.ContractFilterer) (*ZetaConnectorBaseFilterer, error)

NewZetaConnectorBaseFilterer creates a new log filterer instance of ZetaConnectorBase, bound to a specific deployed contract.

func (*ZetaConnectorBaseFilterer) FilterPaused

func (_ZetaConnectorBase *ZetaConnectorBaseFilterer) FilterPaused(opts *bind.FilterOpts) (*ZetaConnectorBasePausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*ZetaConnectorBaseFilterer) FilterPauserAddressUpdated

func (_ZetaConnectorBase *ZetaConnectorBaseFilterer) FilterPauserAddressUpdated(opts *bind.FilterOpts) (*ZetaConnectorBasePauserAddressUpdatedIterator, error)

FilterPauserAddressUpdated is a free log retrieval operation binding the contract event 0xd41d83655d484bdf299598751c371b2d92088667266fe3774b25a97bdd5d0397.

Solidity: event PauserAddressUpdated(address updaterAddress, address newTssAddress)

func (*ZetaConnectorBaseFilterer) FilterTSSAddressUpdated

func (_ZetaConnectorBase *ZetaConnectorBaseFilterer) FilterTSSAddressUpdated(opts *bind.FilterOpts) (*ZetaConnectorBaseTSSAddressUpdatedIterator, error)

FilterTSSAddressUpdated is a free log retrieval operation binding the contract event 0xe79965b5c67dcfb2cf5fe152715e4a7256cee62a3d5dd8484fd8a8539eb8beff.

Solidity: event TSSAddressUpdated(address zetaTxSenderAddress, address newTssAddress)

func (*ZetaConnectorBaseFilterer) FilterUnpaused

func (_ZetaConnectorBase *ZetaConnectorBaseFilterer) FilterUnpaused(opts *bind.FilterOpts) (*ZetaConnectorBaseUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*ZetaConnectorBaseFilterer) FilterZetaReceived

func (_ZetaConnectorBase *ZetaConnectorBaseFilterer) FilterZetaReceived(opts *bind.FilterOpts, sourceChainId []*big.Int, destinationAddress []common.Address, internalSendHash [][32]byte) (*ZetaConnectorBaseZetaReceivedIterator, error)

FilterZetaReceived is a free log retrieval operation binding the contract event 0xf1302855733b40d8acb467ee990b6d56c05c80e28ebcabfa6e6f3f57cb50d698.

Solidity: event ZetaReceived(bytes zetaTxSenderAddress, uint256 indexed sourceChainId, address indexed destinationAddress, uint256 zetaValue, bytes message, bytes32 indexed internalSendHash)

func (*ZetaConnectorBaseFilterer) FilterZetaReverted

func (_ZetaConnectorBase *ZetaConnectorBaseFilterer) FilterZetaReverted(opts *bind.FilterOpts, destinationChainId []*big.Int, internalSendHash [][32]byte) (*ZetaConnectorBaseZetaRevertedIterator, error)

FilterZetaReverted is a free log retrieval operation binding the contract event 0x521fb0b407c2eb9b1375530e9b9a569889992140a688bc076aa72c1712012c88.

Solidity: event ZetaReverted(address zetaTxSenderAddress, uint256 sourceChainId, uint256 indexed destinationChainId, bytes destinationAddress, uint256 remainingZetaValue, bytes message, bytes32 indexed internalSendHash)

func (*ZetaConnectorBaseFilterer) FilterZetaSent

func (_ZetaConnectorBase *ZetaConnectorBaseFilterer) FilterZetaSent(opts *bind.FilterOpts, zetaTxSenderAddress []common.Address, destinationChainId []*big.Int) (*ZetaConnectorBaseZetaSentIterator, 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 (*ZetaConnectorBaseFilterer) ParsePaused

func (_ZetaConnectorBase *ZetaConnectorBaseFilterer) ParsePaused(log types.Log) (*ZetaConnectorBasePaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*ZetaConnectorBaseFilterer) ParsePauserAddressUpdated

func (_ZetaConnectorBase *ZetaConnectorBaseFilterer) ParsePauserAddressUpdated(log types.Log) (*ZetaConnectorBasePauserAddressUpdated, error)

ParsePauserAddressUpdated is a log parse operation binding the contract event 0xd41d83655d484bdf299598751c371b2d92088667266fe3774b25a97bdd5d0397.

Solidity: event PauserAddressUpdated(address updaterAddress, address newTssAddress)

func (*ZetaConnectorBaseFilterer) ParseTSSAddressUpdated

func (_ZetaConnectorBase *ZetaConnectorBaseFilterer) ParseTSSAddressUpdated(log types.Log) (*ZetaConnectorBaseTSSAddressUpdated, error)

ParseTSSAddressUpdated is a log parse operation binding the contract event 0xe79965b5c67dcfb2cf5fe152715e4a7256cee62a3d5dd8484fd8a8539eb8beff.

Solidity: event TSSAddressUpdated(address zetaTxSenderAddress, address newTssAddress)

func (*ZetaConnectorBaseFilterer) ParseUnpaused

func (_ZetaConnectorBase *ZetaConnectorBaseFilterer) ParseUnpaused(log types.Log) (*ZetaConnectorBaseUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*ZetaConnectorBaseFilterer) ParseZetaReceived

func (_ZetaConnectorBase *ZetaConnectorBaseFilterer) ParseZetaReceived(log types.Log) (*ZetaConnectorBaseZetaReceived, error)

ParseZetaReceived is a log parse operation binding the contract event 0xf1302855733b40d8acb467ee990b6d56c05c80e28ebcabfa6e6f3f57cb50d698.

Solidity: event ZetaReceived(bytes zetaTxSenderAddress, uint256 indexed sourceChainId, address indexed destinationAddress, uint256 zetaValue, bytes message, bytes32 indexed internalSendHash)

func (*ZetaConnectorBaseFilterer) ParseZetaReverted

func (_ZetaConnectorBase *ZetaConnectorBaseFilterer) ParseZetaReverted(log types.Log) (*ZetaConnectorBaseZetaReverted, error)

ParseZetaReverted is a log parse operation binding the contract event 0x521fb0b407c2eb9b1375530e9b9a569889992140a688bc076aa72c1712012c88.

Solidity: event ZetaReverted(address zetaTxSenderAddress, uint256 sourceChainId, uint256 indexed destinationChainId, bytes destinationAddress, uint256 remainingZetaValue, bytes message, bytes32 indexed internalSendHash)

func (*ZetaConnectorBaseFilterer) ParseZetaSent

func (_ZetaConnectorBase *ZetaConnectorBaseFilterer) ParseZetaSent(log types.Log) (*ZetaConnectorBaseZetaSent, 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 (*ZetaConnectorBaseFilterer) WatchPaused

func (_ZetaConnectorBase *ZetaConnectorBaseFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *ZetaConnectorBasePaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*ZetaConnectorBaseFilterer) WatchPauserAddressUpdated

func (_ZetaConnectorBase *ZetaConnectorBaseFilterer) WatchPauserAddressUpdated(opts *bind.WatchOpts, sink chan<- *ZetaConnectorBasePauserAddressUpdated) (event.Subscription, error)

WatchPauserAddressUpdated is a free log subscription operation binding the contract event 0xd41d83655d484bdf299598751c371b2d92088667266fe3774b25a97bdd5d0397.

Solidity: event PauserAddressUpdated(address updaterAddress, address newTssAddress)

func (*ZetaConnectorBaseFilterer) WatchTSSAddressUpdated

func (_ZetaConnectorBase *ZetaConnectorBaseFilterer) WatchTSSAddressUpdated(opts *bind.WatchOpts, sink chan<- *ZetaConnectorBaseTSSAddressUpdated) (event.Subscription, error)

WatchTSSAddressUpdated is a free log subscription operation binding the contract event 0xe79965b5c67dcfb2cf5fe152715e4a7256cee62a3d5dd8484fd8a8539eb8beff.

Solidity: event TSSAddressUpdated(address zetaTxSenderAddress, address newTssAddress)

func (*ZetaConnectorBaseFilterer) WatchUnpaused

func (_ZetaConnectorBase *ZetaConnectorBaseFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *ZetaConnectorBaseUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*ZetaConnectorBaseFilterer) WatchZetaReceived

func (_ZetaConnectorBase *ZetaConnectorBaseFilterer) WatchZetaReceived(opts *bind.WatchOpts, sink chan<- *ZetaConnectorBaseZetaReceived, sourceChainId []*big.Int, destinationAddress []common.Address, internalSendHash [][32]byte) (event.Subscription, error)

WatchZetaReceived is a free log subscription operation binding the contract event 0xf1302855733b40d8acb467ee990b6d56c05c80e28ebcabfa6e6f3f57cb50d698.

Solidity: event ZetaReceived(bytes zetaTxSenderAddress, uint256 indexed sourceChainId, address indexed destinationAddress, uint256 zetaValue, bytes message, bytes32 indexed internalSendHash)

func (*ZetaConnectorBaseFilterer) WatchZetaReverted

func (_ZetaConnectorBase *ZetaConnectorBaseFilterer) WatchZetaReverted(opts *bind.WatchOpts, sink chan<- *ZetaConnectorBaseZetaReverted, destinationChainId []*big.Int, internalSendHash [][32]byte) (event.Subscription, error)

WatchZetaReverted is a free log subscription operation binding the contract event 0x521fb0b407c2eb9b1375530e9b9a569889992140a688bc076aa72c1712012c88.

Solidity: event ZetaReverted(address zetaTxSenderAddress, uint256 sourceChainId, uint256 indexed destinationChainId, bytes destinationAddress, uint256 remainingZetaValue, bytes message, bytes32 indexed internalSendHash)

func (*ZetaConnectorBaseFilterer) WatchZetaSent

func (_ZetaConnectorBase *ZetaConnectorBaseFilterer) WatchZetaSent(opts *bind.WatchOpts, sink chan<- *ZetaConnectorBaseZetaSent, 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 ZetaConnectorBasePaused

type ZetaConnectorBasePaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

ZetaConnectorBasePaused represents a Paused event raised by the ZetaConnectorBase contract.

type ZetaConnectorBasePausedIterator

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

ZetaConnectorBasePausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the ZetaConnectorBase contract.

func (*ZetaConnectorBasePausedIterator) Close

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

func (*ZetaConnectorBasePausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZetaConnectorBasePausedIterator) 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 ZetaConnectorBasePauserAddressUpdated

type ZetaConnectorBasePauserAddressUpdated struct {
	UpdaterAddress common.Address
	NewTssAddress  common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

ZetaConnectorBasePauserAddressUpdated represents a PauserAddressUpdated event raised by the ZetaConnectorBase contract.

type ZetaConnectorBasePauserAddressUpdatedIterator

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

ZetaConnectorBasePauserAddressUpdatedIterator is returned from FilterPauserAddressUpdated and is used to iterate over the raw logs and unpacked data for PauserAddressUpdated events raised by the ZetaConnectorBase contract.

func (*ZetaConnectorBasePauserAddressUpdatedIterator) Close

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

func (*ZetaConnectorBasePauserAddressUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZetaConnectorBasePauserAddressUpdatedIterator) 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 ZetaConnectorBaseRaw

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

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

func (*ZetaConnectorBaseRaw) Call

func (_ZetaConnectorBase *ZetaConnectorBaseRaw) 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 (*ZetaConnectorBaseRaw) Transact

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

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

func (*ZetaConnectorBaseRaw) Transfer

func (_ZetaConnectorBase *ZetaConnectorBaseRaw) 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 ZetaConnectorBaseSession

type ZetaConnectorBaseSession struct {
	Contract     *ZetaConnectorBase // 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
}

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

func (*ZetaConnectorBaseSession) OnReceive

func (_ZetaConnectorBase *ZetaConnectorBaseSession) OnReceive(zetaTxSenderAddress []byte, sourceChainId *big.Int, destinationAddress common.Address, zetaValue *big.Int, message []byte, internalSendHash [32]byte) (*types.Transaction, error)

OnReceive is a paid mutator transaction binding the contract method 0x29dd214d.

Solidity: function onReceive(bytes zetaTxSenderAddress, uint256 sourceChainId, address destinationAddress, uint256 zetaValue, bytes message, bytes32 internalSendHash) returns()

func (*ZetaConnectorBaseSession) OnRevert

func (_ZetaConnectorBase *ZetaConnectorBaseSession) OnRevert(zetaTxSenderAddress common.Address, sourceChainId *big.Int, destinationAddress []byte, destinationChainId *big.Int, remainingZetaValue *big.Int, message []byte, internalSendHash [32]byte) (*types.Transaction, error)

OnRevert is a paid mutator transaction binding the contract method 0x942a5e16.

Solidity: function onRevert(address zetaTxSenderAddress, uint256 sourceChainId, bytes destinationAddress, uint256 destinationChainId, uint256 remainingZetaValue, bytes message, bytes32 internalSendHash) returns()

func (*ZetaConnectorBaseSession) Pause

func (_ZetaConnectorBase *ZetaConnectorBaseSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*ZetaConnectorBaseSession) Paused

func (_ZetaConnectorBase *ZetaConnectorBaseSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*ZetaConnectorBaseSession) PauserAddress

func (_ZetaConnectorBase *ZetaConnectorBaseSession) PauserAddress() (common.Address, error)

PauserAddress is a free data retrieval call binding the contract method 0xf7fb869b.

Solidity: function pauserAddress() view returns(address)

func (*ZetaConnectorBaseSession) RenounceTssAddressUpdater

func (_ZetaConnectorBase *ZetaConnectorBaseSession) RenounceTssAddressUpdater() (*types.Transaction, error)

RenounceTssAddressUpdater is a paid mutator transaction binding the contract method 0x779e3b63.

Solidity: function renounceTssAddressUpdater() returns()

func (*ZetaConnectorBaseSession) Send

func (_ZetaConnectorBase *ZetaConnectorBaseSession) 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 (*ZetaConnectorBaseSession) TssAddress

func (_ZetaConnectorBase *ZetaConnectorBaseSession) TssAddress() (common.Address, error)

TssAddress is a free data retrieval call binding the contract method 0x5b112591.

Solidity: function tssAddress() view returns(address)

func (*ZetaConnectorBaseSession) TssAddressUpdater

func (_ZetaConnectorBase *ZetaConnectorBaseSession) TssAddressUpdater() (common.Address, error)

TssAddressUpdater is a free data retrieval call binding the contract method 0x328a01d0.

Solidity: function tssAddressUpdater() view returns(address)

func (*ZetaConnectorBaseSession) Unpause

func (_ZetaConnectorBase *ZetaConnectorBaseSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*ZetaConnectorBaseSession) UpdatePauserAddress

func (_ZetaConnectorBase *ZetaConnectorBaseSession) UpdatePauserAddress(pauserAddress_ common.Address) (*types.Transaction, error)

UpdatePauserAddress is a paid mutator transaction binding the contract method 0x6128480f.

Solidity: function updatePauserAddress(address pauserAddress_) returns()

func (*ZetaConnectorBaseSession) UpdateTssAddress

func (_ZetaConnectorBase *ZetaConnectorBaseSession) UpdateTssAddress(tssAddress_ common.Address) (*types.Transaction, error)

UpdateTssAddress is a paid mutator transaction binding the contract method 0x9122c344.

Solidity: function updateTssAddress(address tssAddress_) returns()

func (*ZetaConnectorBaseSession) ZetaToken

func (_ZetaConnectorBase *ZetaConnectorBaseSession) ZetaToken() (common.Address, error)

ZetaToken is a free data retrieval call binding the contract method 0x21e093b1.

Solidity: function zetaToken() view returns(address)

type ZetaConnectorBaseTSSAddressUpdated

type ZetaConnectorBaseTSSAddressUpdated struct {
	ZetaTxSenderAddress common.Address
	NewTssAddress       common.Address
	Raw                 types.Log // Blockchain specific contextual infos
}

ZetaConnectorBaseTSSAddressUpdated represents a TSSAddressUpdated event raised by the ZetaConnectorBase contract.

type ZetaConnectorBaseTSSAddressUpdatedIterator

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

ZetaConnectorBaseTSSAddressUpdatedIterator is returned from FilterTSSAddressUpdated and is used to iterate over the raw logs and unpacked data for TSSAddressUpdated events raised by the ZetaConnectorBase contract.

func (*ZetaConnectorBaseTSSAddressUpdatedIterator) Close

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

func (*ZetaConnectorBaseTSSAddressUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZetaConnectorBaseTSSAddressUpdatedIterator) 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 ZetaConnectorBaseTransactor

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

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

func NewZetaConnectorBaseTransactor

func NewZetaConnectorBaseTransactor(address common.Address, transactor bind.ContractTransactor) (*ZetaConnectorBaseTransactor, error)

NewZetaConnectorBaseTransactor creates a new write-only instance of ZetaConnectorBase, bound to a specific deployed contract.

func (*ZetaConnectorBaseTransactor) OnReceive

func (_ZetaConnectorBase *ZetaConnectorBaseTransactor) OnReceive(opts *bind.TransactOpts, zetaTxSenderAddress []byte, sourceChainId *big.Int, destinationAddress common.Address, zetaValue *big.Int, message []byte, internalSendHash [32]byte) (*types.Transaction, error)

OnReceive is a paid mutator transaction binding the contract method 0x29dd214d.

Solidity: function onReceive(bytes zetaTxSenderAddress, uint256 sourceChainId, address destinationAddress, uint256 zetaValue, bytes message, bytes32 internalSendHash) returns()

func (*ZetaConnectorBaseTransactor) OnRevert

func (_ZetaConnectorBase *ZetaConnectorBaseTransactor) OnRevert(opts *bind.TransactOpts, zetaTxSenderAddress common.Address, sourceChainId *big.Int, destinationAddress []byte, destinationChainId *big.Int, remainingZetaValue *big.Int, message []byte, internalSendHash [32]byte) (*types.Transaction, error)

OnRevert is a paid mutator transaction binding the contract method 0x942a5e16.

Solidity: function onRevert(address zetaTxSenderAddress, uint256 sourceChainId, bytes destinationAddress, uint256 destinationChainId, uint256 remainingZetaValue, bytes message, bytes32 internalSendHash) returns()

func (*ZetaConnectorBaseTransactor) Pause

func (_ZetaConnectorBase *ZetaConnectorBaseTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*ZetaConnectorBaseTransactor) RenounceTssAddressUpdater

func (_ZetaConnectorBase *ZetaConnectorBaseTransactor) RenounceTssAddressUpdater(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceTssAddressUpdater is a paid mutator transaction binding the contract method 0x779e3b63.

Solidity: function renounceTssAddressUpdater() returns()

func (*ZetaConnectorBaseTransactor) Send

func (_ZetaConnectorBase *ZetaConnectorBaseTransactor) 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 (*ZetaConnectorBaseTransactor) Unpause

func (_ZetaConnectorBase *ZetaConnectorBaseTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*ZetaConnectorBaseTransactor) UpdatePauserAddress

func (_ZetaConnectorBase *ZetaConnectorBaseTransactor) UpdatePauserAddress(opts *bind.TransactOpts, pauserAddress_ common.Address) (*types.Transaction, error)

UpdatePauserAddress is a paid mutator transaction binding the contract method 0x6128480f.

Solidity: function updatePauserAddress(address pauserAddress_) returns()

func (*ZetaConnectorBaseTransactor) UpdateTssAddress

func (_ZetaConnectorBase *ZetaConnectorBaseTransactor) UpdateTssAddress(opts *bind.TransactOpts, tssAddress_ common.Address) (*types.Transaction, error)

UpdateTssAddress is a paid mutator transaction binding the contract method 0x9122c344.

Solidity: function updateTssAddress(address tssAddress_) returns()

type ZetaConnectorBaseTransactorRaw

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

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

func (*ZetaConnectorBaseTransactorRaw) Transact

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

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

func (*ZetaConnectorBaseTransactorRaw) Transfer

func (_ZetaConnectorBase *ZetaConnectorBaseTransactorRaw) 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 ZetaConnectorBaseTransactorSession

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

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

func (*ZetaConnectorBaseTransactorSession) OnReceive

func (_ZetaConnectorBase *ZetaConnectorBaseTransactorSession) OnReceive(zetaTxSenderAddress []byte, sourceChainId *big.Int, destinationAddress common.Address, zetaValue *big.Int, message []byte, internalSendHash [32]byte) (*types.Transaction, error)

OnReceive is a paid mutator transaction binding the contract method 0x29dd214d.

Solidity: function onReceive(bytes zetaTxSenderAddress, uint256 sourceChainId, address destinationAddress, uint256 zetaValue, bytes message, bytes32 internalSendHash) returns()

func (*ZetaConnectorBaseTransactorSession) OnRevert

func (_ZetaConnectorBase *ZetaConnectorBaseTransactorSession) OnRevert(zetaTxSenderAddress common.Address, sourceChainId *big.Int, destinationAddress []byte, destinationChainId *big.Int, remainingZetaValue *big.Int, message []byte, internalSendHash [32]byte) (*types.Transaction, error)

OnRevert is a paid mutator transaction binding the contract method 0x942a5e16.

Solidity: function onRevert(address zetaTxSenderAddress, uint256 sourceChainId, bytes destinationAddress, uint256 destinationChainId, uint256 remainingZetaValue, bytes message, bytes32 internalSendHash) returns()

func (*ZetaConnectorBaseTransactorSession) Pause

func (_ZetaConnectorBase *ZetaConnectorBaseTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*ZetaConnectorBaseTransactorSession) RenounceTssAddressUpdater

func (_ZetaConnectorBase *ZetaConnectorBaseTransactorSession) RenounceTssAddressUpdater() (*types.Transaction, error)

RenounceTssAddressUpdater is a paid mutator transaction binding the contract method 0x779e3b63.

Solidity: function renounceTssAddressUpdater() returns()

func (*ZetaConnectorBaseTransactorSession) Send

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

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

func (*ZetaConnectorBaseTransactorSession) Unpause

func (_ZetaConnectorBase *ZetaConnectorBaseTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*ZetaConnectorBaseTransactorSession) UpdatePauserAddress

func (_ZetaConnectorBase *ZetaConnectorBaseTransactorSession) UpdatePauserAddress(pauserAddress_ common.Address) (*types.Transaction, error)

UpdatePauserAddress is a paid mutator transaction binding the contract method 0x6128480f.

Solidity: function updatePauserAddress(address pauserAddress_) returns()

func (*ZetaConnectorBaseTransactorSession) UpdateTssAddress

func (_ZetaConnectorBase *ZetaConnectorBaseTransactorSession) UpdateTssAddress(tssAddress_ common.Address) (*types.Transaction, error)

UpdateTssAddress is a paid mutator transaction binding the contract method 0x9122c344.

Solidity: function updateTssAddress(address tssAddress_) returns()

type ZetaConnectorBaseUnpaused

type ZetaConnectorBaseUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

ZetaConnectorBaseUnpaused represents a Unpaused event raised by the ZetaConnectorBase contract.

type ZetaConnectorBaseUnpausedIterator

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

ZetaConnectorBaseUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the ZetaConnectorBase contract.

func (*ZetaConnectorBaseUnpausedIterator) Close

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

func (*ZetaConnectorBaseUnpausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZetaConnectorBaseUnpausedIterator) 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 ZetaConnectorBaseZetaReceived

type ZetaConnectorBaseZetaReceived struct {
	ZetaTxSenderAddress []byte
	SourceChainId       *big.Int
	DestinationAddress  common.Address
	ZetaValue           *big.Int
	Message             []byte
	InternalSendHash    [32]byte
	Raw                 types.Log // Blockchain specific contextual infos
}

ZetaConnectorBaseZetaReceived represents a ZetaReceived event raised by the ZetaConnectorBase contract.

type ZetaConnectorBaseZetaReceivedIterator

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

ZetaConnectorBaseZetaReceivedIterator is returned from FilterZetaReceived and is used to iterate over the raw logs and unpacked data for ZetaReceived events raised by the ZetaConnectorBase contract.

func (*ZetaConnectorBaseZetaReceivedIterator) Close

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

func (*ZetaConnectorBaseZetaReceivedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZetaConnectorBaseZetaReceivedIterator) 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 ZetaConnectorBaseZetaReverted

type ZetaConnectorBaseZetaReverted struct {
	ZetaTxSenderAddress common.Address
	SourceChainId       *big.Int
	DestinationChainId  *big.Int
	DestinationAddress  []byte
	RemainingZetaValue  *big.Int
	Message             []byte
	InternalSendHash    [32]byte
	Raw                 types.Log // Blockchain specific contextual infos
}

ZetaConnectorBaseZetaReverted represents a ZetaReverted event raised by the ZetaConnectorBase contract.

type ZetaConnectorBaseZetaRevertedIterator

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

ZetaConnectorBaseZetaRevertedIterator is returned from FilterZetaReverted and is used to iterate over the raw logs and unpacked data for ZetaReverted events raised by the ZetaConnectorBase contract.

func (*ZetaConnectorBaseZetaRevertedIterator) Close

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

func (*ZetaConnectorBaseZetaRevertedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZetaConnectorBaseZetaRevertedIterator) 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 ZetaConnectorBaseZetaSent

type ZetaConnectorBaseZetaSent 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
}

ZetaConnectorBaseZetaSent represents a ZetaSent event raised by the ZetaConnectorBase contract.

type ZetaConnectorBaseZetaSentIterator

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

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

func (*ZetaConnectorBaseZetaSentIterator) Close

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

func (*ZetaConnectorBaseZetaSentIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZetaConnectorBaseZetaSentIterator) 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 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.

Jump to

Keyboard shortcuts

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