zetaconnectorzevm

package
v1.0.2-athens3....-5774038 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ZetaConnectorZEVMABI = ZetaConnectorZEVMMetaData.ABI

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

View Source
var ZetaConnectorZEVMBin = ZetaConnectorZEVMMetaData.Bin

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

View Source
var ZetaConnectorZEVMMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"wzeta_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"FailedZetaSent\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyFungibleModule\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyWZETAOrFungible\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WZETATransferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WrongValue\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"wzeta_\",\"type\":\"address\"}],\"name\":\"SetWZETA\",\"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\":[],\"name\":\"FUNGIBLE_MODULE_ADDRESS\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\":\"payable\",\"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\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"destinationChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"destinationAddress\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"destinationGasLimit\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"zetaValueAndGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"zetaParams\",\"type\":\"bytes\"}],\"internalType\":\"structZetaInterfaces.SendInput\",\"name\":\"input\",\"type\":\"tuple\"}],\"name\":\"send\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"wzeta_\",\"type\":\"address\"}],\"name\":\"setWzetaAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"wzeta\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
	Bin: "0x60806040523480156200001157600080fd5b506040516200177d3803806200177d833981810160405281019062000037919062000095565b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506200011a565b6000815190506200008f8162000100565b92915050565b600060208284031215620000ae57620000ad620000fb565b5b6000620000be848285016200007e565b91505092915050565b6000620000d482620000db565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b6200010b81620000c7565b81146200011757600080fd5b50565b611653806200012a6000396000f3fe6080604052600436106100585760003560e01c8062173d461461013757806329dd214d146101625780633ce4a5bc1461017e578063942a5e16146101a9578063eb3bacbd146101c5578063ec026901146101ee57610132565b366101325760008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141580156100f9575073735b14bb79463307aacbed86daf3322b1e6226ab73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b15610130576040517f229930b200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b005b600080fd5b34801561014357600080fd5b5061014c610217565b6040516101599190611276565b60405180910390f35b61017c60048036038101906101779190610f77565b61023b565b005b34801561018a57600080fd5b506101936105f1565b6040516101a09190611276565b60405180910390f35b6101c360048036038101906101be9190610e68565b610609565b005b3480156101d157600080fd5b506101ec60048036038101906101e79190610e3b565b6109b3565b005b3480156101fa57600080fd5b5061021560048036038101906102109190611046565b610aa6565b005b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b73735b14bb79463307aacbed86daf3322b1e6226ab73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146102b4576040517fea02b3f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8334146102ed576040517f98d4901c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0e30db0856040518263ffffffff1660e01b81526004016000604051808303818588803b15801561035557600080fd5b505af1158015610369573d6000803e3d6000fd5b505050505060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3087876040518463ffffffff1660e01b81526004016103cb93929190611291565b602060405180830381600087803b1580156103e557600080fd5b505af11580156103f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041d9190610f4a565b610453576040517fa8c6fd4a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600083839050111561058f578473ffffffffffffffffffffffffffffffffffffffff16633749c51a6040518060a001604052808b8b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505081526020018981526020018873ffffffffffffffffffffffffffffffffffffffff16815260200187815260200186868080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508152506040518263ffffffff1660e01b815260040161055c91906113f2565b600060405180830381600087803b15801561057657600080fd5b505af115801561058a573d6000803e3d6000fd5b505050505b808573ffffffffffffffffffffffffffffffffffffffff16877ff1302855733b40d8acb467ee990b6d56c05c80e28ebcabfa6e6f3f57cb50d6988b8b8989896040516105df9594939291906113a9565b60405180910390a45050505050505050565b73735b14bb79463307aacbed86daf3322b1e6226ab81565b73735b14bb79463307aacbed86daf3322b1e6226ab73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610682576040517fea02b3f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8334146106bb576040517f98d4901c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0e30db0856040518263ffffffff1660e01b81526004016000604051808303818588803b15801561072357600080fd5b505af1158015610737573d6000803e3d6000fd5b505050505060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd308b876040518463ffffffff1660e01b815260040161079993929190611291565b602060405180830381600087803b1580156107b357600080fd5b505af11580156107c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107eb9190610f4a565b610821576040517fa8c6fd4a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000838390501115610963578873ffffffffffffffffffffffffffffffffffffffff16633ff0693c6040518060c001604052808c73ffffffffffffffffffffffffffffffffffffffff1681526020018b81526020018a8a8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050815260200188815260200187815260200186868080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508152506040518263ffffffff1660e01b81526004016109309190611414565b600060405180830381600087803b15801561094a57600080fd5b505af115801561095e573d6000803e3d6000fd5b505050505b80857f521fb0b407c2eb9b1375530e9b9a569889992140a688bc076aa72c1712012c888b8b8b8b8a8a8a6040516109a09796959493929190611344565b60405180910390a3505050505050505050565b73735b14bb79463307aacbed86daf3322b1e6226ab73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a2c576040517fea02b3f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f7325870b05f8f3412c318a35fc6a74feca51ea15811ec7a257676ca4db9d417681604051610a9b9190611276565b60405180910390a150565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd333084608001356040518463ffffffff1660e01b8152600401610b0793929190611291565b602060405180830381600087803b158015610b2157600080fd5b505af1158015610b35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b599190610f4a565b610b8f576040517fa8c6fd4a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d82608001356040518263ffffffff1660e01b8152600401610bec9190611436565b600060405180830381600087803b158015610c0657600080fd5b505af1158015610c1a573d6000803e3d6000fd5b50505050600073735b14bb79463307aacbed86daf3322b1e6226ab73ffffffffffffffffffffffffffffffffffffffff168260800135604051610c5c90611261565b60006040518083038185875af1925050503d8060008114610c99576040519150601f19603f3d011682016040523d82523d6000602084013e610c9e565b606091505b5050905080610cd9576040517fc7ffc47b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600001353373ffffffffffffffffffffffffffffffffffffffff167f7ec1c94701e09b1652f3e1d307e60c4b9ebf99aff8c2079fd1d8c585e031c4e432858060200190610d279190611451565b87608001358860400135898060600190610d419190611451565b8b8060a00190610d519190611451565b604051610d66999897969594939291906112c8565b60405180910390a35050565b600081359050610d81816115c1565b92915050565b600081519050610d96816115d8565b92915050565b600081359050610dab816115ef565b92915050565b60008083601f840112610dc757610dc6611585565b5b8235905067ffffffffffffffff811115610de457610de3611580565b5b602083019150836001820283011115610e0057610dff611599565b5b9250929050565b600060c08284031215610e1d57610e1c61158f565b5b81905092915050565b600081359050610e3581611606565b92915050565b600060208284031215610e5157610e506115a8565b5b6000610e5f84828501610d72565b91505092915050565b600080600080600080600080600060e08a8c031215610e8a57610e896115a8565b5b6000610e988c828d01610d72565b9950506020610ea98c828d01610e26565b98505060408a013567ffffffffffffffff811115610eca57610ec96115a3565b5b610ed68c828d01610db1565b97509750506060610ee98c828d01610e26565b9550506080610efa8c828d01610e26565b94505060a08a013567ffffffffffffffff811115610f1b57610f1a6115a3565b5b610f278c828d01610db1565b935093505060c0610f3a8c828d01610d9c565b9150509295985092959850929598565b600060208284031215610f6057610f5f6115a8565b5b6000610f6e84828501610d87565b91505092915050565b60008060008060008060008060c0898b031215610f9757610f966115a8565b5b600089013567ffffffffffffffff811115610fb557610fb46115a3565b5b610fc18b828c01610db1565b98509850506020610fd48b828c01610e26565b9650506040610fe58b828c01610d72565b9550506060610ff68b828c01610e26565b945050608089013567ffffffffffffffff811115611017576110166115a3565b5b6110238b828c01610db1565b935093505060a06110368b828c01610d9c565b9150509295985092959890939650565b60006020828403121561105c5761105b6115a8565b5b600082013567ffffffffffffffff81111561107a576110796115a3565b5b61108684828501610e07565b91505092915050565b611098816114ec565b82525050565b6110a7816114ec565b82525050565b60006110b983856114d0565b93506110c683858461153e565b6110cf836115ad565b840190509392505050565b60006110e5826114b4565b6110ef81856114bf565b93506110ff81856020860161154d565b611108816115ad565b840191505092915050565b60006111206000836114e1565b915061112b826115be565b600082019050919050565b600060a083016000830151848203600086015261115382826110da565b91505060208301516111686020860182611243565b50604083015161117b604086018261108f565b50606083015161118e6060860182611243565b50608083015184820360808601526111a682826110da565b9150508091505092915050565b600060c0830160008301516111cb600086018261108f565b5060208301516111de6020860182611243565b50604083015184820360408601526111f682826110da565b915050606083015161120b6060860182611243565b50608083015161121e6080860182611243565b5060a083015184820360a086015261123682826110da565b9150508091505092915050565b61124c81611534565b82525050565b61125b81611534565b82525050565b600061126c82611113565b9150819050919050565b600060208201905061128b600083018461109e565b92915050565b60006060820190506112a6600083018661109e565b6112b3602083018561109e565b6112c06040830184611252565b949350505050565b600060c0820190506112dd600083018c61109e565b81810360208301526112f0818a8c6110ad565b90506112ff6040830189611252565b61130c6060830188611252565b818103608083015261131f8186886110ad565b905081810360a08301526113348184866110ad565b90509a9950505050505050505050565b600060a082019050611359600083018a61109e565b6113666020830189611252565b81810360408301526113798187896110ad565b90506113886060830186611252565b818103608083015261139b8184866110ad565b905098975050505050505050565b600060608201905081810360008301526113c48187896110ad565b90506113d36020830186611252565b81810360408301526113e68184866110ad565b90509695505050505050565b6000602082019050818103600083015261140c8184611136565b905092915050565b6000602082019050818103600083015261142e81846111b3565b905092915050565b600060208201905061144b6000830184611252565b92915050565b6000808335600160200384360303811261146e5761146d611594565b5b80840192508235915067ffffffffffffffff8211156114905761148f61158a565b5b6020830192506001820236038313156114ac576114ab61159e565b5b509250929050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006114f782611514565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561156b578082015181840152602081019050611550565b8381111561157a576000848401525b50505050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b50565b6115ca816114ec565b81146115d557600080fd5b50565b6115e1816114fe565b81146115ec57600080fd5b50565b6115f88161150a565b811461160357600080fd5b50565b61160f81611534565b811461161a57600080fd5b5056fea26469706673582212208fcfd4dd090449f8c32ab1dc30eb44ec918bcb60da6d7ed0572173ea3fdf6fd364736f6c63430008070033",
}

ZetaConnectorZEVMMetaData contains all meta data concerning the ZetaConnectorZEVM contract.

View Source
var ZetaInterfacesABI = ZetaInterfacesMetaData.ABI

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

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

ZetaInterfacesMetaData contains all meta data concerning the ZetaInterfaces contract.

View Source
var ZetaReceiverABI = ZetaReceiverMetaData.ABI

ZetaReceiverABI is the input ABI used to generate the binding from. Deprecated: Use ZetaReceiverMetaData.ABI instead.

View Source
var ZetaReceiverMetaData = &bind.MetaData{
	ABI: "[{\"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\"}]",
}

ZetaReceiverMetaData contains all meta data concerning the ZetaReceiver contract.

Functions

This section is empty.

Types

type ZetaConnectorZEVM

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

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

func DeployZetaConnectorZEVM

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

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

func NewZetaConnectorZEVM

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

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

type ZetaConnectorZEVMCaller

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

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

func NewZetaConnectorZEVMCaller

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

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

func (*ZetaConnectorZEVMCaller) FUNGIBLEMODULEADDRESS

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

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

Solidity: function FUNGIBLE_MODULE_ADDRESS() view returns(address)

func (*ZetaConnectorZEVMCaller) Wzeta

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

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

Solidity: function wzeta() view returns(address)

type ZetaConnectorZEVMCallerRaw

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

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

func (*ZetaConnectorZEVMCallerRaw) Call

func (_ZetaConnectorZEVM *ZetaConnectorZEVMCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type ZetaConnectorZEVMCallerSession

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

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

func (*ZetaConnectorZEVMCallerSession) FUNGIBLEMODULEADDRESS

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

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

Solidity: function FUNGIBLE_MODULE_ADDRESS() view returns(address)

func (*ZetaConnectorZEVMCallerSession) Wzeta

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

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

Solidity: function wzeta() view returns(address)

type ZetaConnectorZEVMFilterer

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

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

func NewZetaConnectorZEVMFilterer

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

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

func (*ZetaConnectorZEVMFilterer) FilterSetWZETA

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

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

Solidity: event SetWZETA(address wzeta_)

func (*ZetaConnectorZEVMFilterer) FilterZetaReceived

func (_ZetaConnectorZEVM *ZetaConnectorZEVMFilterer) FilterZetaReceived(opts *bind.FilterOpts, sourceChainId []*big.Int, destinationAddress []common.Address, internalSendHash [][32]byte) (*ZetaConnectorZEVMZetaReceivedIterator, 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 (*ZetaConnectorZEVMFilterer) FilterZetaReverted

func (_ZetaConnectorZEVM *ZetaConnectorZEVMFilterer) FilterZetaReverted(opts *bind.FilterOpts, destinationChainId []*big.Int, internalSendHash [][32]byte) (*ZetaConnectorZEVMZetaRevertedIterator, 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 (*ZetaConnectorZEVMFilterer) FilterZetaSent

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

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

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

func (*ZetaConnectorZEVMFilterer) ParseSetWZETA

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

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

Solidity: event SetWZETA(address wzeta_)

func (*ZetaConnectorZEVMFilterer) ParseZetaReceived

func (_ZetaConnectorZEVM *ZetaConnectorZEVMFilterer) ParseZetaReceived(log types.Log) (*ZetaConnectorZEVMZetaReceived, 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 (*ZetaConnectorZEVMFilterer) ParseZetaReverted

func (_ZetaConnectorZEVM *ZetaConnectorZEVMFilterer) ParseZetaReverted(log types.Log) (*ZetaConnectorZEVMZetaReverted, 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 (*ZetaConnectorZEVMFilterer) ParseZetaSent

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

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

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

func (*ZetaConnectorZEVMFilterer) WatchSetWZETA

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

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

Solidity: event SetWZETA(address wzeta_)

func (*ZetaConnectorZEVMFilterer) WatchZetaReceived

func (_ZetaConnectorZEVM *ZetaConnectorZEVMFilterer) WatchZetaReceived(opts *bind.WatchOpts, sink chan<- *ZetaConnectorZEVMZetaReceived, 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 (*ZetaConnectorZEVMFilterer) WatchZetaReverted

func (_ZetaConnectorZEVM *ZetaConnectorZEVMFilterer) WatchZetaReverted(opts *bind.WatchOpts, sink chan<- *ZetaConnectorZEVMZetaReverted, 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 (*ZetaConnectorZEVMFilterer) WatchZetaSent

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

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

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

type ZetaConnectorZEVMRaw

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

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

func (*ZetaConnectorZEVMRaw) Call

func (_ZetaConnectorZEVM *ZetaConnectorZEVMRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*ZetaConnectorZEVMRaw) Transact

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

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

func (*ZetaConnectorZEVMRaw) Transfer

func (_ZetaConnectorZEVM *ZetaConnectorZEVMRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ZetaConnectorZEVMSession

type ZetaConnectorZEVMSession struct {
	Contract     *ZetaConnectorZEVM // Generic contract binding to set the session for
	CallOpts     bind.CallOpts      // Call options to use throughout this session
	TransactOpts bind.TransactOpts  // Transaction auth options to use throughout this session
}

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

func (*ZetaConnectorZEVMSession) FUNGIBLEMODULEADDRESS

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

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

Solidity: function FUNGIBLE_MODULE_ADDRESS() view returns(address)

func (*ZetaConnectorZEVMSession) OnReceive

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

func (*ZetaConnectorZEVMSession) OnRevert

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

func (*ZetaConnectorZEVMSession) Receive

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

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

Solidity: receive() payable returns()

func (*ZetaConnectorZEVMSession) Send

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

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

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

func (*ZetaConnectorZEVMSession) SetWzetaAddress

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

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

Solidity: function setWzetaAddress(address wzeta_) returns()

func (*ZetaConnectorZEVMSession) Wzeta

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

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

Solidity: function wzeta() view returns(address)

type ZetaConnectorZEVMSetWZETA

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

ZetaConnectorZEVMSetWZETA represents a SetWZETA event raised by the ZetaConnectorZEVM contract.

type ZetaConnectorZEVMSetWZETAIterator

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

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

func (*ZetaConnectorZEVMSetWZETAIterator) Close

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

func (*ZetaConnectorZEVMSetWZETAIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZetaConnectorZEVMSetWZETAIterator) Next

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

type ZetaConnectorZEVMTransactor

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

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

func NewZetaConnectorZEVMTransactor

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

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

func (*ZetaConnectorZEVMTransactor) OnReceive

func (_ZetaConnectorZEVM *ZetaConnectorZEVMTransactor) 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) payable returns()

func (*ZetaConnectorZEVMTransactor) OnRevert

func (_ZetaConnectorZEVM *ZetaConnectorZEVMTransactor) 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) payable returns()

func (*ZetaConnectorZEVMTransactor) Receive

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

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

Solidity: receive() payable returns()

func (*ZetaConnectorZEVMTransactor) Send

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

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

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

func (*ZetaConnectorZEVMTransactor) SetWzetaAddress

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

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

Solidity: function setWzetaAddress(address wzeta_) returns()

type ZetaConnectorZEVMTransactorRaw

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

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

func (*ZetaConnectorZEVMTransactorRaw) Transact

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

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

func (*ZetaConnectorZEVMTransactorRaw) Transfer

func (_ZetaConnectorZEVM *ZetaConnectorZEVMTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ZetaConnectorZEVMTransactorSession

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

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

func (*ZetaConnectorZEVMTransactorSession) OnReceive

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

func (*ZetaConnectorZEVMTransactorSession) OnRevert

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

func (*ZetaConnectorZEVMTransactorSession) Receive

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

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

Solidity: receive() payable returns()

func (*ZetaConnectorZEVMTransactorSession) Send

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

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

func (*ZetaConnectorZEVMTransactorSession) SetWzetaAddress

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

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

Solidity: function setWzetaAddress(address wzeta_) returns()

type ZetaConnectorZEVMZetaReceived

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

ZetaConnectorZEVMZetaReceived represents a ZetaReceived event raised by the ZetaConnectorZEVM contract.

type ZetaConnectorZEVMZetaReceivedIterator

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

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

func (*ZetaConnectorZEVMZetaReceivedIterator) Close

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

func (*ZetaConnectorZEVMZetaReceivedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZetaConnectorZEVMZetaReceivedIterator) 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 ZetaConnectorZEVMZetaReverted

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

ZetaConnectorZEVMZetaReverted represents a ZetaReverted event raised by the ZetaConnectorZEVM contract.

type ZetaConnectorZEVMZetaRevertedIterator

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

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

func (*ZetaConnectorZEVMZetaRevertedIterator) Close

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

func (*ZetaConnectorZEVMZetaRevertedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZetaConnectorZEVMZetaRevertedIterator) 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 ZetaConnectorZEVMZetaSent

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

ZetaConnectorZEVMZetaSent represents a ZetaSent event raised by the ZetaConnectorZEVM contract.

type ZetaConnectorZEVMZetaSentIterator

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

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

func (*ZetaConnectorZEVMZetaSentIterator) Close

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

func (*ZetaConnectorZEVMZetaSentIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZetaConnectorZEVMZetaSentIterator) Next

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

type ZetaInterfaces

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

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

func NewZetaInterfaces

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

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

type ZetaInterfacesCaller

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

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

func NewZetaInterfacesCaller

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

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

type ZetaInterfacesCallerRaw

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

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

func (*ZetaInterfacesCallerRaw) Call

func (_ZetaInterfaces *ZetaInterfacesCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type ZetaInterfacesCallerSession

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

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

type ZetaInterfacesFilterer

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

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

func NewZetaInterfacesFilterer

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

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

type ZetaInterfacesRaw

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

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

func (*ZetaInterfacesRaw) Call

func (_ZetaInterfaces *ZetaInterfacesRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*ZetaInterfacesRaw) Transact

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

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

func (*ZetaInterfacesRaw) Transfer

func (_ZetaInterfaces *ZetaInterfacesRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ZetaInterfacesSendInput

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

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

type ZetaInterfacesSession

type ZetaInterfacesSession struct {
	Contract     *ZetaInterfaces   // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

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

type ZetaInterfacesTransactor

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

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

func NewZetaInterfacesTransactor

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

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

type ZetaInterfacesTransactorRaw

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

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

func (*ZetaInterfacesTransactorRaw) Transact

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

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

func (*ZetaInterfacesTransactorRaw) Transfer

func (_ZetaInterfaces *ZetaInterfacesTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ZetaInterfacesTransactorSession

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

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

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.

type ZetaReceiver

type ZetaReceiver struct {
	ZetaReceiverCaller     // Read-only binding to the contract
	ZetaReceiverTransactor // Write-only binding to the contract
	ZetaReceiverFilterer   // Log filterer for contract events
}

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

func NewZetaReceiver

func NewZetaReceiver(address common.Address, backend bind.ContractBackend) (*ZetaReceiver, error)

NewZetaReceiver creates a new instance of ZetaReceiver, bound to a specific deployed contract.

type ZetaReceiverCaller

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

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

func NewZetaReceiverCaller

func NewZetaReceiverCaller(address common.Address, caller bind.ContractCaller) (*ZetaReceiverCaller, error)

NewZetaReceiverCaller creates a new read-only instance of ZetaReceiver, bound to a specific deployed contract.

type ZetaReceiverCallerRaw

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

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

func (*ZetaReceiverCallerRaw) Call

func (_ZetaReceiver *ZetaReceiverCallerRaw) 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 ZetaReceiverCallerSession

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

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

type ZetaReceiverFilterer

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

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

func NewZetaReceiverFilterer

func NewZetaReceiverFilterer(address common.Address, filterer bind.ContractFilterer) (*ZetaReceiverFilterer, error)

NewZetaReceiverFilterer creates a new log filterer instance of ZetaReceiver, bound to a specific deployed contract.

type ZetaReceiverRaw

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

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

func (*ZetaReceiverRaw) Call

func (_ZetaReceiver *ZetaReceiverRaw) 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 (*ZetaReceiverRaw) Transact

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

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

func (*ZetaReceiverRaw) Transfer

func (_ZetaReceiver *ZetaReceiverRaw) 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 ZetaReceiverSession

type ZetaReceiverSession struct {
	Contract     *ZetaReceiver     // 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
}

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

func (*ZetaReceiverSession) OnZetaMessage

func (_ZetaReceiver *ZetaReceiverSession) 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 (*ZetaReceiverSession) OnZetaRevert

func (_ZetaReceiver *ZetaReceiverSession) 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()

type ZetaReceiverTransactor

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

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

func NewZetaReceiverTransactor

func NewZetaReceiverTransactor(address common.Address, transactor bind.ContractTransactor) (*ZetaReceiverTransactor, error)

NewZetaReceiverTransactor creates a new write-only instance of ZetaReceiver, bound to a specific deployed contract.

func (*ZetaReceiverTransactor) OnZetaMessage

func (_ZetaReceiver *ZetaReceiverTransactor) 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 (*ZetaReceiverTransactor) OnZetaRevert

func (_ZetaReceiver *ZetaReceiverTransactor) 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()

type ZetaReceiverTransactorRaw

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

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

func (*ZetaReceiverTransactorRaw) Transact

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

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

func (*ZetaReceiverTransactorRaw) Transfer

func (_ZetaReceiver *ZetaReceiverTransactorRaw) 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 ZetaReceiverTransactorSession

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

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

func (*ZetaReceiverTransactorSession) OnZetaMessage

func (_ZetaReceiver *ZetaReceiverTransactorSession) 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 (*ZetaReceiverTransactorSession) OnZetaRevert

func (_ZetaReceiver *ZetaReceiverTransactorSession) 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()

Jump to

Keyboard shortcuts

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