gatewayzevm

package
v1.0.2-athens3....-429d839 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GatewayZEVMABI = GatewayZEVMMetaData.ABI

GatewayZEVMABI is the input ABI used to generate the binding from. Deprecated: Use GatewayZEVMMetaData.ABI instead.

View Source
var GatewayZEVMBin = GatewayZEVMMetaData.Bin

GatewayZEVMBin is the compiled bytecode used for deploying new contracts. Deprecated: Use GatewayZEVMMetaData.Bin instead.

View Source
var GatewayZEVMMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"receive\",\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"DEFAULT_ADMIN_ROLE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"MAX_MESSAGE_SIZE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"PAUSER_ROLE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"PROTOCOL_ADDRESS\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"UPGRADE_INTERFACE_VERSION\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"call\",\"inputs\":[{\"name\":\"receiver\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"zrc20\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"message\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"callOptions\",\"type\":\"tuple\",\"internalType\":\"structCallOptions\",\"components\":[{\"name\":\"gasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"isArbitraryCall\",\"type\":\"bool\",\"internalType\":\"bool\"}]},{\"name\":\"revertOptions\",\"type\":\"tuple\",\"internalType\":\"structRevertOptions\",\"components\":[{\"name\":\"revertAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"callOnRevert\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"abortAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"revertMessage\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"onRevertGasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"deposit\",\"inputs\":[{\"name\":\"zrc20\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"target\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"depositAndCall\",\"inputs\":[{\"name\":\"context\",\"type\":\"tuple\",\"internalType\":\"structMessageContext\",\"components\":[{\"name\":\"sender\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"senderEVM\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainID\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"message\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"depositAndCall\",\"inputs\":[{\"name\":\"context\",\"type\":\"tuple\",\"internalType\":\"structMessageContext\",\"components\":[{\"name\":\"sender\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"senderEVM\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainID\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"zrc20\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"message\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"depositAndRevert\",\"inputs\":[{\"name\":\"zrc20\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"revertContext\",\"type\":\"tuple\",\"internalType\":\"structRevertContext\",\"components\":[{\"name\":\"sender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"asset\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"revertMessage\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"execute\",\"inputs\":[{\"name\":\"context\",\"type\":\"tuple\",\"internalType\":\"structMessageContext\",\"components\":[{\"name\":\"sender\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"senderEVM\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainID\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"zrc20\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"message\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"executeAbort\",\"inputs\":[{\"name\":\"target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"abortContext\",\"type\":\"tuple\",\"internalType\":\"structAbortContext\",\"components\":[{\"name\":\"sender\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"asset\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"outgoing\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"chainID\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"revertMessage\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"executeRevert\",\"inputs\":[{\"name\":\"target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"revertContext\",\"type\":\"tuple\",\"internalType\":\"structRevertContext\",\"components\":[{\"name\":\"sender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"asset\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"revertMessage\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"getRoleAdmin\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"grantRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"hasRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[{\"name\":\"zetaToken_\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"admin_\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"pause\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"paused\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proxiableUUID\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"renounceRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"callerConfirmation\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"revokeRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"supportsInterface\",\"inputs\":[{\"name\":\"interfaceId\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"unpause\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"upgradeToAndCall\",\"inputs\":[{\"name\":\"newImplementation\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"withdraw\",\"inputs\":[{\"name\":\"receiver\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"zrc20\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"revertOptions\",\"type\":\"tuple\",\"internalType\":\"structRevertOptions\",\"components\":[{\"name\":\"revertAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"callOnRevert\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"abortAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"revertMessage\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"onRevertGasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"withdraw\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structRevertOptions\",\"components\":[{\"name\":\"revertAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"callOnRevert\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"abortAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"revertMessage\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"onRevertGasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}],\"outputs\":[],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"withdrawAndCall\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structCallOptions\",\"components\":[{\"name\":\"gasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"isArbitraryCall\",\"type\":\"bool\",\"internalType\":\"bool\"}]},{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structRevertOptions\",\"components\":[{\"name\":\"revertAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"callOnRevert\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"abortAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"revertMessage\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"onRevertGasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}],\"outputs\":[],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"withdrawAndCall\",\"inputs\":[{\"name\":\"receiver\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"zrc20\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"message\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"callOptions\",\"type\":\"tuple\",\"internalType\":\"structCallOptions\",\"components\":[{\"name\":\"gasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"isArbitraryCall\",\"type\":\"bool\",\"internalType\":\"bool\"}]},{\"name\":\"revertOptions\",\"type\":\"tuple\",\"internalType\":\"structRevertOptions\",\"components\":[{\"name\":\"revertAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"callOnRevert\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"abortAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"revertMessage\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"onRevertGasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"zetaToken\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"Called\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"zrc20\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"receiver\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"},{\"name\":\"message\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"},{\"name\":\"callOptions\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"structCallOptions\",\"components\":[{\"name\":\"gasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"isArbitraryCall\",\"type\":\"bool\",\"internalType\":\"bool\"}]},{\"name\":\"revertOptions\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"structRevertOptions\",\"components\":[{\"name\":\"revertAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"callOnRevert\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"abortAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"revertMessage\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"onRevertGasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Paused\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleAdminChanged\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"previousAdminRole\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"newAdminRole\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleGranted\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleRevoked\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Unpaused\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Upgraded\",\"inputs\":[{\"name\":\"implementation\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Withdrawn\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"receiver\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"},{\"name\":\"zrc20\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"gasfee\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"protocolFlatFee\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"message\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"},{\"name\":\"callOptions\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"structCallOptions\",\"components\":[{\"name\":\"gasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"isArbitraryCall\",\"type\":\"bool\",\"internalType\":\"bool\"}]},{\"name\":\"revertOptions\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"structRevertOptions\",\"components\":[{\"name\":\"revertAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"callOnRevert\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"abortAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"revertMessage\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"onRevertGasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"WithdrawnAndCalled\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"receiver\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"},{\"name\":\"zrc20\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"gasfee\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"protocolFlatFee\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"message\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"},{\"name\":\"callOptions\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"structCallOptions\",\"components\":[{\"name\":\"gasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"isArbitraryCall\",\"type\":\"bool\",\"internalType\":\"bool\"}]},{\"name\":\"revertOptions\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"structRevertOptions\",\"components\":[{\"name\":\"revertAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"callOnRevert\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"abortAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"revertMessage\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"onRevertGasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"AccessControlBadConfirmation\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"AccessControlUnauthorizedAccount\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"neededRole\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"type\":\"error\",\"name\":\"AddressEmptyCode\",\"inputs\":[{\"name\":\"target\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"CallOnRevertNotSupported\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"CallerIsNotProtocol\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ERC1967InvalidImplementation\",\"inputs\":[{\"name\":\"implementation\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ERC1967NonPayable\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"EnforcedPause\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ExpectedPause\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"FailedInnerCall\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"FailedZetaSent\",\"inputs\":[{\"name\":\"recipient\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"GasFeeTransferFailed\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InsufficientGasLimit\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InsufficientZRC20Amount\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InsufficientZetaAmount\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidInitialization\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidTarget\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"MessageSizeExceeded\",\"inputs\":[{\"name\":\"provided\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"maximum\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"NotInitializing\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"OnlyWZETAOrProtocol\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ReentrancyGuardReentrantCall\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"UUPSUnauthorizedCallContext\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"UUPSUnsupportedProxiableUUID\",\"inputs\":[{\"name\":\"slot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"type\":\"error\",\"name\":\"WithdrawalFailed\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"recipient\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"ZETANotSupported\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ZRC20BurnFailed\",\"inputs\":[{\"name\":\"zrc20\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"ZRC20DepositFailed\",\"inputs\":[{\"name\":\"zrc20\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"ZRC20TransferFailed\",\"inputs\":[{\"name\":\"zrc20\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"ZeroAddress\",\"inputs\":[]}]",
	Bin: "0x60a06040523060805234801561001457600080fd5b5061001d610022565b6100d4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff16156100725760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100d15780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b608051613baa6100fd600039600081816122380152818161226101526124140152613baa6000f3fe6080604052600436106101d15760003560e01c80635c975abb116100f75780639d4ba46511610095578063c39aca3711610064578063c39aca3714610647578063d547741f14610667578063e63ab1e914610687578063f45346dc146106bb57600080fd5b80639d4ba4651461059c578063a217fddf146105bc578063ad3cb1cc146105d1578063bcf7f32b1461062757600080fd5b80638456cb59116100d15780638456cb59146104f157806391d148541461050657806397a1cef11461056b57806397d340f51461058657600080fd5b80635c975abb1461047a5780637b15118b146104b15780637c0dcb5f146104d157600080fd5b80632722feee1161016f5780633f4ba83a1161013e5780633f4ba83a1461041d578063485cc955146104325780634f1ef2861461045257806352d1902d1461046557600080fd5b80632722feee146103955780632810ae63146103bd5780632f2ff15d146103dd57806336568abe146103fd57600080fd5b80632095dedb116101ab5780632095dedb146102c057806321501a95146102e057806321e093b114610300578063248a9ca31461033857600080fd5b806301ffc9a71461024b57806306cb898314610280578063184b0793146102a057600080fd5b36610246576101de6106db565b6000546001600160a01b0316331480159061020d57503373735b14bb79463307aacbed86daf3322b1e6226ab14155b15610244576040517fb3af013700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b005b600080fd5b34801561025757600080fd5b5061026b610266366004612ce7565b610739565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b5061024461029b366004612e6f565b6107d2565b3480156102ac57600080fd5b506102446102bb366004612f3f565b6108bd565b3480156102cc57600080fd5b506102446102db366004612f8f565b6109fe565b3480156102ec57600080fd5b506102446102fb366004612ff8565b610ae0565b34801561030c57600080fd5b50600054610320906001600160a01b031681565b6040516001600160a01b039091168152602001610277565b34801561034457600080fd5b50610387610353366004613084565b60009081527f02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b626800602052604090206001015490565b604051908152602001610277565b3480156103a157600080fd5b5061032073735b14bb79463307aacbed86daf3322b1e6226ab81565b3480156103c957600080fd5b506102446103d836600461309d565b610cde565b3480156103e957600080fd5b506102446103f836600461315d565b610d18565b34801561040957600080fd5b5061024461041836600461315d565b610d62565b34801561042957600080fd5b50610244610db3565b34801561043e57600080fd5b5061024461044d366004613182565b610de8565b6102446104603660046131b0565b61103e565b34801561047157600080fd5b50610387611059565b34801561048657600080fd5b507fcd5ed15c6e187e77e9aee88184c21f4f2182ab5827cb3b7e07fbedcd63f033005460ff1661026b565b3480156104bd57600080fd5b506102446104cc3660046131f6565b611088565b3480156104dd57600080fd5b506102446104ec366004613268565b61123c565b3480156104fd57600080fd5b50610244611459565b34801561051257600080fd5b5061026b61052136600461315d565b60009182527f02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b626800602090815260408084206001600160a01b0393909316845291905290205460ff1690565b34801561057757600080fd5b506102446103d83660046132ed565b34801561059257600080fd5b5061038761040081565b3480156105a857600080fd5b506102446105b7366004613351565b61148b565b3480156105c857600080fd5b50610387600081565b3480156105dd57600080fd5b5061061a6040518060400160405280600581526020017f352e302e3000000000000000000000000000000000000000000000000000000081525081565b6040516102779190613401565b34801561063357600080fd5b50610244610642366004613414565b6116db565b34801561065357600080fd5b50610244610662366004613414565b611834565b34801561067357600080fd5b5061024461068236600461315d565b6119e4565b34801561069357600080fd5b506103877f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b3480156106c757600080fd5b506102446106d63660046134b2565b611a28565b7fcd5ed15c6e187e77e9aee88184c21f4f2182ab5827cb3b7e07fbedcd63f033005460ff1615610737576040517fd93c066500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b0000000000000000000000000000000000000000000000000000000014806107cc57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6107da6106db565b8135600003610815576040517f60ee124700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61040061082560608301836134f4565b610830915085613559565b11156108915761084360608201826134f4565b61084e915084613559565b6040517fcd6f4e6d000000000000000000000000000000000000000000000000000000008152600481019190915261040060248201526044015b60405180910390fd5b6108b5868686866108a7368890038801886135a1565b6108b0876135f9565b611bd0565b505050505050565b6108c5611d65565b3373735b14bb79463307aacbed86daf3322b1e6226ab14610912576040517f42c0407e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61091a6106db565b6001600160a01b03821661095a576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517fc9028a360000000000000000000000000000000000000000000000000000000081526001600160a01b0383169063c9028a369061099f908490600401613730565b600060405180830381600087803b1580156109b957600080fd5b505af11580156109cd573d6000803e3d6000fd5b505050506109fa60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b5050565b610a06611d65565b3373735b14bb79463307aacbed86daf3322b1e6226ab14610a53576040517f42c0407e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a5b6106db565b6001600160a01b038216610a9b576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f2d4cfb7e0000000000000000000000000000000000000000000000000000000081526001600160a01b03831690632d4cfb7e9061099f9084906004016137a0565b610ae8611d65565b3373735b14bb79463307aacbed86daf3322b1e6226ab14610b35576040517f42c0407e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b3d6106db565b6001600160a01b038316610b7d576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83600003610bb7576040517f19c08f4900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03831673735b14bb79463307aacbed86daf3322b1e6226ab1480610bea57506001600160a01b03831630145b15610c21576040517f82d5d76a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c2b8484611e0c565b6000546040517f5bcfd6160000000000000000000000000000000000000000000000000000000081526001600160a01b0380861692635bcfd61692610c7c928a921690899088908890600401613847565b600060405180830381600087803b158015610c9657600080fd5b505af1158015610caa573d6000803e3d6000fd5b50505050610cd760017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b5050505050565b610ce66106db565b6040517fe4dd681d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281527f02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b6268006020526040902060010154610d5281611fba565b610d5c8383611fc4565b50505050565b6001600160a01b0381163314610da4576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610dae82826120b1565b505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610ddd81611fba565b610de5612175565b50565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff16159067ffffffffffffffff16600081158015610e335750825b905060008267ffffffffffffffff166001148015610e505750303b155b905081158015610e5e575080155b15610e95576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84547fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000001660011785558315610ef65784547fffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffff16680100000000000000001785555b6001600160a01b0387161580610f1357506001600160a01b038616155b15610f4a576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f52612205565b610f5a612205565b610f6261220d565b610f6a61221d565b610f75600087611fc4565b50610fa07f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a87611fc4565b50600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03891617905583156110355784547fffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffff168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b61104661222d565b61104f826122fd565b6109fa8282612308565b6000611063612409565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc90565b6110906106db565b86516000036110cb576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b85600003611105576040517f5d67094f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8135600003611140576040517f60ee124700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61040061115060608301836134f4565b61115b915085613559565b111561116e5761084360608201826134f4565b600061117c8787853561246b565b90506000336001600160a01b03167fd90f94752d2b12f364f4a2237ebe1aff24ba6127585376bf4935f6a7be17dd2a8a898b868c6001600160a01b0316634d8943bb6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121191906138c4565b8c8c8c8c60405161122a9998979695949392919061395e565b60405180910390a35050505050505050565b6112446106db565b835160000361127f576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826000036112b9576040517f5d67094f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6104006112c960608301836134f4565b9050111561131e576112de60608201826134f4565b6040517fcd6f4e6d000000000000000000000000000000000000000000000000000000008152610888925061040090600401918252602082015260400190565b600061132a8484612621565b90506000336001600160a01b03167f07bf64173efd8f3dfb9e4eb3834bab9d5b85a3d89a1c6425797329de0668502c87868886896001600160a01b0316634d8943bb6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561139b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113bf91906138c4565b60405180604001604052808c6001600160a01b031663091d27886040518163ffffffff1660e01b8152600401602060405180830381865afa158015611408573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142c91906138c4565b8152600160209091015260405161144a969594939291908c906139e8565b60405180910390a35050505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61148381611fba565b610de561268f565b611493611d65565b3373735b14bb79463307aacbed86daf3322b1e6226ab146114e0576040517f42c0407e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6114e86106db565b6001600160a01b038416158061150557506001600160a01b038216155b1561153c576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600003611576576040517f5d67094f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03821673735b14bb79463307aacbed86daf3322b1e6226ab14806115a957506001600160a01b03821630145b156115e0576040517f82d5d76a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6115eb848385612708565b61163b576040517f40a143ba0000000000000000000000000000000000000000000000000000000081526001600160a01b0380861660048301528316602482015260448101849052606401610888565b6040517fc9028a360000000000000000000000000000000000000000000000000000000081526001600160a01b0383169063c9028a3690611680908490600401613730565b600060405180830381600087803b15801561169a57600080fd5b505af11580156116ae573d6000803e3d6000fd5b50505050610d5c60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6116e3611d65565b3373735b14bb79463307aacbed86daf3322b1e6226ab14611730576040517f42c0407e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6117386106db565b6001600160a01b038516158061175557506001600160a01b038316155b1561178c576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f5bcfd6160000000000000000000000000000000000000000000000000000000081526001600160a01b03841690635bcfd616906117d99089908990899088908890600401613847565b600060405180830381600087803b1580156117f357600080fd5b505af1158015611807573d6000803e3d6000fd5b505050506108b560017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b61183c611d65565b3373735b14bb79463307aacbed86daf3322b1e6226ab14611889576040517f42c0407e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6118916106db565b6001600160a01b03851615806118ae57506001600160a01b038316155b156118e5576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8360000361191f576040517f5d67094f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03831673735b14bb79463307aacbed86daf3322b1e6226ab148061195257506001600160a01b03831630145b15611989576040517f82d5d76a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611994858486612708565b61178c576040517f40a143ba0000000000000000000000000000000000000000000000000000000081526001600160a01b0380871660048301528416602482015260448101859052606401610888565b60008281527f02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b6268006020526040902060010154611a1e81611fba565b610d5c83836120b1565b3373735b14bb79463307aacbed86daf3322b1e6226ab14611a75576040517f42c0407e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611a7d6106db565b6001600160a01b0383161580611a9a57506001600160a01b038116155b15611ad1576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600003611b0b576040517f5d67094f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03811673735b14bb79463307aacbed86daf3322b1e6226ab1480611b3e57506001600160a01b03811630145b15611b75576040517f82d5d76a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611b80838284612708565b610dae576040517f40a143ba0000000000000000000000000000000000000000000000000000000081526001600160a01b0380851660048301528216602482015260448101839052606401610888565b8551600003611c0b576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81516040517ffc5fecd5000000000000000000000000000000000000000000000000000000008152600481019190915260009081906001600160a01b0388169063fc5fecd5906024016040805180830381865afa158015611c70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c949190613a6a565b91509150611cb8823373735b14bb79463307aacbed86daf3322b1e6226ab846127a3565b611d1a576040517f667011120000000000000000000000000000000000000000000000000000000081526001600160a01b038316600482015273735b14bb79463307aacbed86daf3322b1e6226ab602482015260448101829052606401610888565b866001600160a01b0316336001600160a01b03167f306ee13f48319a123b222c69908e44dcf91abffc20cacc502e3cf5a4ff23e0e48a8989898960405161122a959493929190613a98565b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0080547ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01611de0576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60029055565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b600054611e24906001600160a01b03163330856127a3565b611e63576040517ff279af7e00000000000000000000000000000000000000000000000000000000815230600482015260248101839052604401610888565b6000546040517f2e1a7d4d000000000000000000000000000000000000000000000000000000008152600481018490526001600160a01b0390911690632e1a7d4d90602401600060405180830381600087803b158015611ec257600080fd5b505af1925050508015611ed3575060015b611f1b576040517ff279af7e0000000000000000000000000000000000000000000000000000000081526001600160a01b038216600482015260248101839052604401610888565b6000816001600160a01b03168360405160006040518083038185875af1925050503d8060008114611f68576040519150601f19603f3d011682016040523d82523d6000602084013e611f6d565b606091505b5050905080610dae576040517ff279af7e0000000000000000000000000000000000000000000000000000000081526001600160a01b038316600482015260248101849052604401610888565b610de5813361284a565b60008281527f02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b626800602081815260408084206001600160a01b038616855290915282205460ff166120a7576000848152602082815260408083206001600160a01b0387168452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905561205d3390565b6001600160a01b0316836001600160a01b0316857f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a460019150506107cc565b60009150506107cc565b60008281527f02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b626800602081815260408084206001600160a01b038616855290915282205460ff16156120a7576000848152602082815260408083206001600160a01b038716808552925280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905551339287917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a460019150506107cc565b61217d6128d7565b7fcd5ed15c6e187e77e9aee88184c21f4f2182ab5827cb3b7e07fbedcd63f0330080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001681557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a150565b610737612932565b612215612932565b610737612999565b612225612932565b6107376129ea565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614806122c657507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166122ba7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6001600160a01b031614155b15610737576040517fe07c8dba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006109fa81611fba565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015612362575060408051601f3d908101601f1916820190925261235f918101906138c4565b60015b6123a3576040517f4c9c8ce30000000000000000000000000000000000000000000000000000000081526001600160a01b0383166004820152602401610888565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc81146123ff576040517faa1d49a400000000000000000000000000000000000000000000000000000000815260048101829052602401610888565b610dae83836129f2565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610737576040517fe07c8dba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806000846001600160a01b031663fc5fecd5856040518263ffffffff1660e01b815260040161249e91815260200190565b6040805180830381865afa1580156124ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124de9190613a6a565b91509150612502823373735b14bb79463307aacbed86daf3322b1e6226ab846127a3565b612564576040517f667011120000000000000000000000000000000000000000000000000000000081526001600160a01b038316600482015273735b14bb79463307aacbed86daf3322b1e6226ab602482015260448101829052606401610888565b612570853330896127a3565b6125c4576040517f489ca9b70000000000000000000000000000000000000000000000000000000081526001600160a01b038616600482015233602482015230604482015260648101879052608401610888565b6125ce8587612a48565b612616576040517f7112ae770000000000000000000000000000000000000000000000000000000081526001600160a01b038616600482015260248101879052604401610888565b9150505b9392505050565b600061261a8383846001600160a01b031663091d27886040518163ffffffff1660e01b8152600401602060405180830381865afa158015612666573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061268a91906138c4565b61246b565b6126976106db565b7fcd5ed15c6e187e77e9aee88184c21f4f2182ab5827cb3b7e07fbedcd63f0330080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011781557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258336121e7565b6040517f47e7ef240000000000000000000000000000000000000000000000000000000081526001600160a01b03838116600483015260248201839052600091908516906347e7ef24906044016020604051808303816000875af1925050508015612790575060408051601f3d908101601f1916820190925261278d91810190613b3b565b60015b61279c5750600061261a565b905061261a565b6040517f23b872dd0000000000000000000000000000000000000000000000000000000081526001600160a01b038481166004830152838116602483015260448201839052600091908616906323b872dd906064016020604051808303816000875af1925050508015612833575060408051601f3d908101601f1916820190925261283091810190613b3b565b60015b61283f57506000612842565b90505b949350505050565b60008281527f02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b626800602090815260408083206001600160a01b038516845290915290205460ff166109fa576040517fe2517d3f0000000000000000000000000000000000000000000000000000000081526001600160a01b038216600482015260248101839052604401610888565b7fcd5ed15c6e187e77e9aee88184c21f4f2182ab5827cb3b7e07fbedcd63f033005460ff16610737576040517f8dfc202b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16610737576040517fd7e6bcf800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6129a1612932565b7fcd5ed15c6e187e77e9aee88184c21f4f2182ab5827cb3b7e07fbedcd63f0330080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b611de6612932565b6129fb82612ada565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115612a4057610dae8282612b82565b6109fa612bf8565b6040517f42966c68000000000000000000000000000000000000000000000000000000008152600481018290526000906001600160a01b038416906342966c68906024016020604051808303816000875af1925050508015612ac7575060408051601f3d908101601f19168201909252612ac491810190613b3b565b60015b612ad3575060006107cc565b90506107cc565b806001600160a01b03163b600003612b29576040517f4c9c8ce30000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401610888565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6060600080846001600160a01b031684604051612b9f9190613b58565b600060405180830381855af49150503d8060008114612bda576040519150601f19603f3d011682016040523d82523d6000602084013e612bdf565b606091505b5091509150612bef858383612c30565b95945050505050565b3415610737576040517fb398979f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606082612c4557612c4082612ca5565b61261a565b8151158015612c5c57506001600160a01b0384163b155b15612c9e576040517f9996b3150000000000000000000000000000000000000000000000000000000081526001600160a01b0385166004820152602401610888565b508061261a565b805115612cb55780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060208284031215612cf957600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461261a57600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f830112612d6957600080fd5b813567ffffffffffffffff811115612d8357612d83612d29565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715612db257612db2612d29565b604052818152838201602001851015612dca57600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160a01b0381168114610de557600080fd5b60008083601f840112612e0e57600080fd5b50813567ffffffffffffffff811115612e2657600080fd5b602083019150836020828501011115612e3e57600080fd5b9250929050565b600060408284031215612e5757600080fd5b50919050565b600060a08284031215612e5757600080fd5b60008060008060008060c08789031215612e8857600080fd5b863567ffffffffffffffff811115612e9f57600080fd5b612eab89828a01612d58565b9650506020870135612ebc81612de7565b9450604087013567ffffffffffffffff811115612ed857600080fd5b612ee489828a01612dfc565b9095509350612ef890508860608901612e45565b915060a087013567ffffffffffffffff811115612f1457600080fd5b612f2089828a01612e5d565b9150509295509295509295565b600060808284031215612e5757600080fd5b60008060408385031215612f5257600080fd5b8235612f5d81612de7565b9150602083013567ffffffffffffffff811115612f7957600080fd5b612f8585828601612f2d565b9150509250929050565b60008060408385031215612fa257600080fd5b8235612fad81612de7565b9150602083013567ffffffffffffffff811115612fc957600080fd5b830160c08186031215612fdb57600080fd5b809150509250929050565b600060608284031215612e5757600080fd5b60008060008060006080868803121561301057600080fd5b853567ffffffffffffffff81111561302757600080fd5b61303388828901612fe6565b95505060208601359350604086013561304b81612de7565b9250606086013567ffffffffffffffff81111561306757600080fd5b61307388828901612dfc565b969995985093965092949392505050565b60006020828403121561309657600080fd5b5035919050565b600080600080600080600060e0888a0312156130b857600080fd5b873567ffffffffffffffff8111156130cf57600080fd5b6130db8a828b01612d58565b9750506020880135955060408801359450606088013567ffffffffffffffff81111561310657600080fd5b6131128a828b01612dfc565b909550935061312690508960808a01612e45565b915060c088013567ffffffffffffffff81111561314257600080fd5b61314e8a828b01612e5d565b91505092959891949750929550565b6000806040838503121561317057600080fd5b823591506020830135612fdb81612de7565b6000806040838503121561319557600080fd5b82356131a081612de7565b91506020830135612fdb81612de7565b600080604083850312156131c357600080fd5b82356131ce81612de7565b9150602083013567ffffffffffffffff8111156131ea57600080fd5b612f8585828601612d58565b600080600080600080600060e0888a03121561321157600080fd5b873567ffffffffffffffff81111561322857600080fd5b6132348a828b01612d58565b97505060208801359550604088013561324c81612de7565b9450606088013567ffffffffffffffff81111561310657600080fd5b6000806000806080858703121561327e57600080fd5b843567ffffffffffffffff81111561329557600080fd5b6132a187828801612d58565b9450506020850135925060408501356132b981612de7565b9150606085013567ffffffffffffffff8111156132d557600080fd5b6132e187828801612e5d565b91505092959194509250565b6000806000806080858703121561330357600080fd5b843567ffffffffffffffff81111561331a57600080fd5b61332687828801612d58565b9450506020850135925060408501359150606085013567ffffffffffffffff8111156132d557600080fd5b6000806000806080858703121561336757600080fd5b843561337281612de7565b935060208501359250604085013561338981612de7565b9150606085013567ffffffffffffffff8111156133a557600080fd5b6132e187828801612f2d565b60005b838110156133cc5781810151838201526020016133b4565b50506000910152565b600081518084526133ed8160208601602086016133b1565b601f01601f19169290920160200192915050565b60208152600061261a60208301846133d5565b60008060008060008060a0878903121561342d57600080fd5b863567ffffffffffffffff81111561344457600080fd5b61345089828a01612fe6565b965050602087013561346181612de7565b945060408701359350606087013561347881612de7565b9250608087013567ffffffffffffffff81111561349457600080fd5b6134a089828a01612dfc565b979a9699509497509295939492505050565b6000806000606084860312156134c757600080fd5b83356134d281612de7565b92506020840135915060408401356134e981612de7565b809150509250925092565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261352957600080fd5b83018035915067ffffffffffffffff82111561354457600080fd5b602001915036819003821315612e3e57600080fd5b808201808211156107cc577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8015158114610de557600080fd5b600060408284031280156135b457600080fd5b506040805190810167ffffffffffffffff811182821017156135d8576135d8612d29565b6040528235815260208301356135ed81613593565b60208201529392505050565b600060a0823603121561360b57600080fd5b60405160a0810167ffffffffffffffff8111828210171561362e5761362e612d29565b604052823561363c81612de7565b8152602083013561364c81613593565b6020820152604083013561365f81612de7565b6040820152606083013567ffffffffffffffff81111561367e57600080fd5b61368a36828601612d58565b606083015250608092830135928101929092525090565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18436030181126136d657600080fd5b830160208101925035905067ffffffffffffffff8111156136f657600080fd5b803603821315612e3e57600080fd5b818352818160208501375060006020828401015260006020601f19601f840116840101905092915050565b602081526000823561374181612de7565b6001600160a01b038116602084015250602083013561375f81612de7565b6001600160a01b0381166040840152506000604084013590508060608401525061378c60608401846136a1565b608080850152612bef60a085018284613705565b6020815260006137b083846136a1565b60c060208501526137c560e085018284613705565b91505060208401356137d681612de7565b6001600160a01b031660408481019190915284013560608085019190915284013561380081613593565b8015156080850152506000608085013590508060a08501525061382660a08501856136a1565b601f198584030160c086015261383d838284613705565b9695505050505050565b60808152600061385787886136a1565b6060608085015261386c60e085018284613705565b915050602088013561387d81612de7565b6001600160a01b0390811660a085015260408981013560c08601529088166020850152830186905282810360608401526138b8818587613705565b98975050505050505050565b6000602082840312156138d657600080fd5b5051919050565b600081356138ea81612de7565b6001600160a01b03168352602082013561390381613593565b15156020840152604082013561391881612de7565b6001600160a01b0316604084015261393360608301836136a1565b60a0606086015261394860a086018284613705565b6080948501359590940194909452509092915050565b6101208152600061397361012083018c6133d5565b6001600160a01b038b16602084015289604084015288606084015287608084015282810360a08401526139a7818789613705565b853560c0850152905060208501356139be81613593565b151560e08401528281036101008401526139d881856138dd565b9c9b505050505050505050505050565b610120815260006139fd61012083018a6133d5565b6001600160a01b03891660208401528760408401528660608401528560808401528281038060a085015260008252613a4460c0850187805182526020908101511515910152565b6020810161010085015250613a5c60208201856138dd565b9a9950505050505050505050565b60008060408385031215613a7d57600080fd5b8251613a8881612de7565b6020939093015192949293505050565b60a081526000613aab60a08301886133d5565b8281036020840152613abe818789613705565b85516040850152602086015115156060850152905082810360808401526001600160a01b0384511681526020840151151560208201526001600160a01b036040850151166040820152606084015160a06060830152613b2060a08301826133d5565b90506080850151608083015280925050509695505050505050565b600060208284031215613b4d57600080fd5b815161261a81613593565b60008251613b6a8184602087016133b1565b919091019291505056fea26469706673582212204539e0f9c4889b3ff1ff9e86df88b3abe845751f48f1c219323d92603b300e6864736f6c634300081a0033",
}

GatewayZEVMMetaData contains all meta data concerning the GatewayZEVM contract.

Functions

This section is empty.

Types

type AbortContext

type AbortContext struct {
	Sender        []byte
	Asset         common.Address
	Amount        *big.Int
	Outgoing      bool
	ChainID       *big.Int
	RevertMessage []byte
}

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

type CallOptions

type CallOptions struct {
	GasLimit        *big.Int
	IsArbitraryCall bool
}

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

type GatewayZEVM

type GatewayZEVM struct {
	GatewayZEVMCaller     // Read-only binding to the contract
	GatewayZEVMTransactor // Write-only binding to the contract
	GatewayZEVMFilterer   // Log filterer for contract events
}

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

func DeployGatewayZEVM

func DeployGatewayZEVM(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *GatewayZEVM, error)

DeployGatewayZEVM deploys a new Ethereum contract, binding an instance of GatewayZEVM to it.

func NewGatewayZEVM

func NewGatewayZEVM(address common.Address, backend bind.ContractBackend) (*GatewayZEVM, error)

NewGatewayZEVM creates a new instance of GatewayZEVM, bound to a specific deployed contract.

type GatewayZEVMCalled

type GatewayZEVMCalled struct {
	Sender        common.Address
	Zrc20         common.Address
	Receiver      []byte
	Message       []byte
	CallOptions   CallOptions
	RevertOptions RevertOptions
	Raw           types.Log // Blockchain specific contextual infos
}

GatewayZEVMCalled represents a Called event raised by the GatewayZEVM contract.

type GatewayZEVMCalledIterator

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

GatewayZEVMCalledIterator is returned from FilterCalled and is used to iterate over the raw logs and unpacked data for Called events raised by the GatewayZEVM contract.

func (*GatewayZEVMCalledIterator) Close

func (it *GatewayZEVMCalledIterator) Close() error

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

func (*GatewayZEVMCalledIterator) Error

func (it *GatewayZEVMCalledIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*GatewayZEVMCalledIterator) Next

func (it *GatewayZEVMCalledIterator) Next() bool

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 GatewayZEVMCaller

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

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

func NewGatewayZEVMCaller

func NewGatewayZEVMCaller(address common.Address, caller bind.ContractCaller) (*GatewayZEVMCaller, error)

NewGatewayZEVMCaller creates a new read-only instance of GatewayZEVM, bound to a specific deployed contract.

func (*GatewayZEVMCaller) DEFAULTADMINROLE

func (_GatewayZEVM *GatewayZEVMCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*GatewayZEVMCaller) GetRoleAdmin

func (_GatewayZEVM *GatewayZEVMCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*GatewayZEVMCaller) HasRole

func (_GatewayZEVM *GatewayZEVMCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*GatewayZEVMCaller) MAXMESSAGESIZE

func (_GatewayZEVM *GatewayZEVMCaller) MAXMESSAGESIZE(opts *bind.CallOpts) (*big.Int, error)

MAXMESSAGESIZE is a free data retrieval call binding the contract method 0x97d340f5.

Solidity: function MAX_MESSAGE_SIZE() view returns(uint256)

func (*GatewayZEVMCaller) PAUSERROLE

func (_GatewayZEVM *GatewayZEVMCaller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error)

PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.

Solidity: function PAUSER_ROLE() view returns(bytes32)

func (*GatewayZEVMCaller) PROTOCOLADDRESS

func (_GatewayZEVM *GatewayZEVMCaller) PROTOCOLADDRESS(opts *bind.CallOpts) (common.Address, error)

PROTOCOLADDRESS is a free data retrieval call binding the contract method 0x2722feee.

Solidity: function PROTOCOL_ADDRESS() view returns(address)

func (*GatewayZEVMCaller) Paused

func (_GatewayZEVM *GatewayZEVMCaller) 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 (*GatewayZEVMCaller) ProxiableUUID

func (_GatewayZEVM *GatewayZEVMCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*GatewayZEVMCaller) SupportsInterface

func (_GatewayZEVM *GatewayZEVMCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*GatewayZEVMCaller) UPGRADEINTERFACEVERSION

func (_GatewayZEVM *GatewayZEVMCaller) UPGRADEINTERFACEVERSION(opts *bind.CallOpts) (string, error)

UPGRADEINTERFACEVERSION is a free data retrieval call binding the contract method 0xad3cb1cc.

Solidity: function UPGRADE_INTERFACE_VERSION() view returns(string)

func (*GatewayZEVMCaller) Withdraw0

func (_GatewayZEVM *GatewayZEVMCaller) Withdraw0(opts *bind.CallOpts, arg0 []byte, arg1 *big.Int, arg2 *big.Int, arg3 RevertOptions) error

Withdraw0 is a free data retrieval call binding the contract method 0x97a1cef1.

Solidity: function withdraw(bytes , uint256 , uint256 , (address,bool,address,bytes,uint256) ) view returns()

func (*GatewayZEVMCaller) WithdrawAndCall

func (_GatewayZEVM *GatewayZEVMCaller) WithdrawAndCall(opts *bind.CallOpts, arg0 []byte, arg1 *big.Int, arg2 *big.Int, arg3 []byte, arg4 CallOptions, arg5 RevertOptions) error

WithdrawAndCall is a free data retrieval call binding the contract method 0x2810ae63.

Solidity: function withdrawAndCall(bytes , uint256 , uint256 , bytes , (uint256,bool) , (address,bool,address,bytes,uint256) ) view returns()

func (*GatewayZEVMCaller) ZetaToken

func (_GatewayZEVM *GatewayZEVMCaller) 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 GatewayZEVMCallerRaw

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

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

func (*GatewayZEVMCallerRaw) Call

func (_GatewayZEVM *GatewayZEVMCallerRaw) 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 GatewayZEVMCallerSession

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

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

func (*GatewayZEVMCallerSession) DEFAULTADMINROLE

func (_GatewayZEVM *GatewayZEVMCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*GatewayZEVMCallerSession) GetRoleAdmin

func (_GatewayZEVM *GatewayZEVMCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*GatewayZEVMCallerSession) HasRole

func (_GatewayZEVM *GatewayZEVMCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*GatewayZEVMCallerSession) MAXMESSAGESIZE

func (_GatewayZEVM *GatewayZEVMCallerSession) MAXMESSAGESIZE() (*big.Int, error)

MAXMESSAGESIZE is a free data retrieval call binding the contract method 0x97d340f5.

Solidity: function MAX_MESSAGE_SIZE() view returns(uint256)

func (*GatewayZEVMCallerSession) PAUSERROLE

func (_GatewayZEVM *GatewayZEVMCallerSession) PAUSERROLE() ([32]byte, error)

PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.

Solidity: function PAUSER_ROLE() view returns(bytes32)

func (*GatewayZEVMCallerSession) PROTOCOLADDRESS

func (_GatewayZEVM *GatewayZEVMCallerSession) PROTOCOLADDRESS() (common.Address, error)

PROTOCOLADDRESS is a free data retrieval call binding the contract method 0x2722feee.

Solidity: function PROTOCOL_ADDRESS() view returns(address)

func (*GatewayZEVMCallerSession) Paused

func (_GatewayZEVM *GatewayZEVMCallerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*GatewayZEVMCallerSession) ProxiableUUID

func (_GatewayZEVM *GatewayZEVMCallerSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*GatewayZEVMCallerSession) SupportsInterface

func (_GatewayZEVM *GatewayZEVMCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*GatewayZEVMCallerSession) UPGRADEINTERFACEVERSION

func (_GatewayZEVM *GatewayZEVMCallerSession) UPGRADEINTERFACEVERSION() (string, error)

UPGRADEINTERFACEVERSION is a free data retrieval call binding the contract method 0xad3cb1cc.

Solidity: function UPGRADE_INTERFACE_VERSION() view returns(string)

func (*GatewayZEVMCallerSession) Withdraw0

func (_GatewayZEVM *GatewayZEVMCallerSession) Withdraw0(arg0 []byte, arg1 *big.Int, arg2 *big.Int, arg3 RevertOptions) error

Withdraw0 is a free data retrieval call binding the contract method 0x97a1cef1.

Solidity: function withdraw(bytes , uint256 , uint256 , (address,bool,address,bytes,uint256) ) view returns()

func (*GatewayZEVMCallerSession) WithdrawAndCall

func (_GatewayZEVM *GatewayZEVMCallerSession) WithdrawAndCall(arg0 []byte, arg1 *big.Int, arg2 *big.Int, arg3 []byte, arg4 CallOptions, arg5 RevertOptions) error

WithdrawAndCall is a free data retrieval call binding the contract method 0x2810ae63.

Solidity: function withdrawAndCall(bytes , uint256 , uint256 , bytes , (uint256,bool) , (address,bool,address,bytes,uint256) ) view returns()

func (*GatewayZEVMCallerSession) ZetaToken

func (_GatewayZEVM *GatewayZEVMCallerSession) ZetaToken() (common.Address, error)

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

Solidity: function zetaToken() view returns(address)

type GatewayZEVMFilterer

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

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

func NewGatewayZEVMFilterer

func NewGatewayZEVMFilterer(address common.Address, filterer bind.ContractFilterer) (*GatewayZEVMFilterer, error)

NewGatewayZEVMFilterer creates a new log filterer instance of GatewayZEVM, bound to a specific deployed contract.

func (*GatewayZEVMFilterer) FilterCalled

func (_GatewayZEVM *GatewayZEVMFilterer) FilterCalled(opts *bind.FilterOpts, sender []common.Address, zrc20 []common.Address) (*GatewayZEVMCalledIterator, error)

FilterCalled is a free log retrieval operation binding the contract event 0x306ee13f48319a123b222c69908e44dcf91abffc20cacc502e3cf5a4ff23e0e4.

Solidity: event Called(address indexed sender, address indexed zrc20, bytes receiver, bytes message, (uint256,bool) callOptions, (address,bool,address,bytes,uint256) revertOptions)

func (*GatewayZEVMFilterer) FilterInitialized

func (_GatewayZEVM *GatewayZEVMFilterer) FilterInitialized(opts *bind.FilterOpts) (*GatewayZEVMInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.

Solidity: event Initialized(uint64 version)

func (*GatewayZEVMFilterer) FilterPaused

func (_GatewayZEVM *GatewayZEVMFilterer) FilterPaused(opts *bind.FilterOpts) (*GatewayZEVMPausedIterator, error)

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

Solidity: event Paused(address account)

func (*GatewayZEVMFilterer) FilterRoleAdminChanged

func (_GatewayZEVM *GatewayZEVMFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*GatewayZEVMRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*GatewayZEVMFilterer) FilterRoleGranted

func (_GatewayZEVM *GatewayZEVMFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*GatewayZEVMRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*GatewayZEVMFilterer) FilterRoleRevoked

func (_GatewayZEVM *GatewayZEVMFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*GatewayZEVMRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*GatewayZEVMFilterer) FilterUnpaused

func (_GatewayZEVM *GatewayZEVMFilterer) FilterUnpaused(opts *bind.FilterOpts) (*GatewayZEVMUnpausedIterator, error)

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

Solidity: event Unpaused(address account)

func (*GatewayZEVMFilterer) FilterUpgraded

func (_GatewayZEVM *GatewayZEVMFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*GatewayZEVMUpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*GatewayZEVMFilterer) FilterWithdrawn

func (_GatewayZEVM *GatewayZEVMFilterer) FilterWithdrawn(opts *bind.FilterOpts, sender []common.Address, chainId []*big.Int) (*GatewayZEVMWithdrawnIterator, error)

FilterWithdrawn is a free log retrieval operation binding the contract event 0x07bf64173efd8f3dfb9e4eb3834bab9d5b85a3d89a1c6425797329de0668502c.

Solidity: event Withdrawn(address indexed sender, uint256 indexed chainId, bytes receiver, address zrc20, uint256 value, uint256 gasfee, uint256 protocolFlatFee, bytes message, (uint256,bool) callOptions, (address,bool,address,bytes,uint256) revertOptions)

func (*GatewayZEVMFilterer) FilterWithdrawnAndCalled

func (_GatewayZEVM *GatewayZEVMFilterer) FilterWithdrawnAndCalled(opts *bind.FilterOpts, sender []common.Address, chainId []*big.Int) (*GatewayZEVMWithdrawnAndCalledIterator, error)

FilterWithdrawnAndCalled is a free log retrieval operation binding the contract event 0xd90f94752d2b12f364f4a2237ebe1aff24ba6127585376bf4935f6a7be17dd2a.

Solidity: event WithdrawnAndCalled(address indexed sender, uint256 indexed chainId, bytes receiver, address zrc20, uint256 value, uint256 gasfee, uint256 protocolFlatFee, bytes message, (uint256,bool) callOptions, (address,bool,address,bytes,uint256) revertOptions)

func (*GatewayZEVMFilterer) ParseCalled

func (_GatewayZEVM *GatewayZEVMFilterer) ParseCalled(log types.Log) (*GatewayZEVMCalled, error)

ParseCalled is a log parse operation binding the contract event 0x306ee13f48319a123b222c69908e44dcf91abffc20cacc502e3cf5a4ff23e0e4.

Solidity: event Called(address indexed sender, address indexed zrc20, bytes receiver, bytes message, (uint256,bool) callOptions, (address,bool,address,bytes,uint256) revertOptions)

func (*GatewayZEVMFilterer) ParseInitialized

func (_GatewayZEVM *GatewayZEVMFilterer) ParseInitialized(log types.Log) (*GatewayZEVMInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.

Solidity: event Initialized(uint64 version)

func (*GatewayZEVMFilterer) ParsePaused

func (_GatewayZEVM *GatewayZEVMFilterer) ParsePaused(log types.Log) (*GatewayZEVMPaused, error)

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

Solidity: event Paused(address account)

func (*GatewayZEVMFilterer) ParseRoleAdminChanged

func (_GatewayZEVM *GatewayZEVMFilterer) ParseRoleAdminChanged(log types.Log) (*GatewayZEVMRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*GatewayZEVMFilterer) ParseRoleGranted

func (_GatewayZEVM *GatewayZEVMFilterer) ParseRoleGranted(log types.Log) (*GatewayZEVMRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*GatewayZEVMFilterer) ParseRoleRevoked

func (_GatewayZEVM *GatewayZEVMFilterer) ParseRoleRevoked(log types.Log) (*GatewayZEVMRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*GatewayZEVMFilterer) ParseUnpaused

func (_GatewayZEVM *GatewayZEVMFilterer) ParseUnpaused(log types.Log) (*GatewayZEVMUnpaused, error)

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

Solidity: event Unpaused(address account)

func (*GatewayZEVMFilterer) ParseUpgraded

func (_GatewayZEVM *GatewayZEVMFilterer) ParseUpgraded(log types.Log) (*GatewayZEVMUpgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*GatewayZEVMFilterer) ParseWithdrawn

func (_GatewayZEVM *GatewayZEVMFilterer) ParseWithdrawn(log types.Log) (*GatewayZEVMWithdrawn, error)

ParseWithdrawn is a log parse operation binding the contract event 0x07bf64173efd8f3dfb9e4eb3834bab9d5b85a3d89a1c6425797329de0668502c.

Solidity: event Withdrawn(address indexed sender, uint256 indexed chainId, bytes receiver, address zrc20, uint256 value, uint256 gasfee, uint256 protocolFlatFee, bytes message, (uint256,bool) callOptions, (address,bool,address,bytes,uint256) revertOptions)

func (*GatewayZEVMFilterer) ParseWithdrawnAndCalled

func (_GatewayZEVM *GatewayZEVMFilterer) ParseWithdrawnAndCalled(log types.Log) (*GatewayZEVMWithdrawnAndCalled, error)

ParseWithdrawnAndCalled is a log parse operation binding the contract event 0xd90f94752d2b12f364f4a2237ebe1aff24ba6127585376bf4935f6a7be17dd2a.

Solidity: event WithdrawnAndCalled(address indexed sender, uint256 indexed chainId, bytes receiver, address zrc20, uint256 value, uint256 gasfee, uint256 protocolFlatFee, bytes message, (uint256,bool) callOptions, (address,bool,address,bytes,uint256) revertOptions)

func (*GatewayZEVMFilterer) WatchCalled

func (_GatewayZEVM *GatewayZEVMFilterer) WatchCalled(opts *bind.WatchOpts, sink chan<- *GatewayZEVMCalled, sender []common.Address, zrc20 []common.Address) (event.Subscription, error)

WatchCalled is a free log subscription operation binding the contract event 0x306ee13f48319a123b222c69908e44dcf91abffc20cacc502e3cf5a4ff23e0e4.

Solidity: event Called(address indexed sender, address indexed zrc20, bytes receiver, bytes message, (uint256,bool) callOptions, (address,bool,address,bytes,uint256) revertOptions)

func (*GatewayZEVMFilterer) WatchInitialized

func (_GatewayZEVM *GatewayZEVMFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *GatewayZEVMInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.

Solidity: event Initialized(uint64 version)

func (*GatewayZEVMFilterer) WatchPaused

func (_GatewayZEVM *GatewayZEVMFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *GatewayZEVMPaused) (event.Subscription, error)

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

Solidity: event Paused(address account)

func (*GatewayZEVMFilterer) WatchRoleAdminChanged

func (_GatewayZEVM *GatewayZEVMFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *GatewayZEVMRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*GatewayZEVMFilterer) WatchRoleGranted

func (_GatewayZEVM *GatewayZEVMFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *GatewayZEVMRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*GatewayZEVMFilterer) WatchRoleRevoked

func (_GatewayZEVM *GatewayZEVMFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *GatewayZEVMRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*GatewayZEVMFilterer) WatchUnpaused

func (_GatewayZEVM *GatewayZEVMFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *GatewayZEVMUnpaused) (event.Subscription, error)

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

Solidity: event Unpaused(address account)

func (*GatewayZEVMFilterer) WatchUpgraded

func (_GatewayZEVM *GatewayZEVMFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *GatewayZEVMUpgraded, implementation []common.Address) (event.Subscription, error)

WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*GatewayZEVMFilterer) WatchWithdrawn

func (_GatewayZEVM *GatewayZEVMFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *GatewayZEVMWithdrawn, sender []common.Address, chainId []*big.Int) (event.Subscription, error)

WatchWithdrawn is a free log subscription operation binding the contract event 0x07bf64173efd8f3dfb9e4eb3834bab9d5b85a3d89a1c6425797329de0668502c.

Solidity: event Withdrawn(address indexed sender, uint256 indexed chainId, bytes receiver, address zrc20, uint256 value, uint256 gasfee, uint256 protocolFlatFee, bytes message, (uint256,bool) callOptions, (address,bool,address,bytes,uint256) revertOptions)

func (*GatewayZEVMFilterer) WatchWithdrawnAndCalled

func (_GatewayZEVM *GatewayZEVMFilterer) WatchWithdrawnAndCalled(opts *bind.WatchOpts, sink chan<- *GatewayZEVMWithdrawnAndCalled, sender []common.Address, chainId []*big.Int) (event.Subscription, error)

WatchWithdrawnAndCalled is a free log subscription operation binding the contract event 0xd90f94752d2b12f364f4a2237ebe1aff24ba6127585376bf4935f6a7be17dd2a.

Solidity: event WithdrawnAndCalled(address indexed sender, uint256 indexed chainId, bytes receiver, address zrc20, uint256 value, uint256 gasfee, uint256 protocolFlatFee, bytes message, (uint256,bool) callOptions, (address,bool,address,bytes,uint256) revertOptions)

type GatewayZEVMInitialized

type GatewayZEVMInitialized struct {
	Version uint64
	Raw     types.Log // Blockchain specific contextual infos
}

GatewayZEVMInitialized represents a Initialized event raised by the GatewayZEVM contract.

type GatewayZEVMInitializedIterator

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

GatewayZEVMInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the GatewayZEVM contract.

func (*GatewayZEVMInitializedIterator) Close

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

func (*GatewayZEVMInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GatewayZEVMInitializedIterator) 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 GatewayZEVMPaused

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

GatewayZEVMPaused represents a Paused event raised by the GatewayZEVM contract.

type GatewayZEVMPausedIterator

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

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

func (*GatewayZEVMPausedIterator) Close

func (it *GatewayZEVMPausedIterator) Close() error

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

func (*GatewayZEVMPausedIterator) Error

func (it *GatewayZEVMPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*GatewayZEVMPausedIterator) Next

func (it *GatewayZEVMPausedIterator) Next() bool

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 GatewayZEVMRaw

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

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

func (*GatewayZEVMRaw) Call

func (_GatewayZEVM *GatewayZEVMRaw) 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 (*GatewayZEVMRaw) Transact

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

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

func (*GatewayZEVMRaw) Transfer

func (_GatewayZEVM *GatewayZEVMRaw) 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 GatewayZEVMRoleAdminChanged

type GatewayZEVMRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

GatewayZEVMRoleAdminChanged represents a RoleAdminChanged event raised by the GatewayZEVM contract.

type GatewayZEVMRoleAdminChangedIterator

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

GatewayZEVMRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the GatewayZEVM contract.

func (*GatewayZEVMRoleAdminChangedIterator) Close

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

func (*GatewayZEVMRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GatewayZEVMRoleAdminChangedIterator) 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 GatewayZEVMRoleGranted

type GatewayZEVMRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

GatewayZEVMRoleGranted represents a RoleGranted event raised by the GatewayZEVM contract.

type GatewayZEVMRoleGrantedIterator

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

GatewayZEVMRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the GatewayZEVM contract.

func (*GatewayZEVMRoleGrantedIterator) Close

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

func (*GatewayZEVMRoleGrantedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GatewayZEVMRoleGrantedIterator) 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 GatewayZEVMRoleRevoked

type GatewayZEVMRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

GatewayZEVMRoleRevoked represents a RoleRevoked event raised by the GatewayZEVM contract.

type GatewayZEVMRoleRevokedIterator

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

GatewayZEVMRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the GatewayZEVM contract.

func (*GatewayZEVMRoleRevokedIterator) Close

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

func (*GatewayZEVMRoleRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GatewayZEVMRoleRevokedIterator) 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 GatewayZEVMSession

type GatewayZEVMSession struct {
	Contract     *GatewayZEVM      // 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
}

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

func (*GatewayZEVMSession) Call

func (_GatewayZEVM *GatewayZEVMSession) Call(receiver []byte, zrc20 common.Address, message []byte, callOptions CallOptions, revertOptions RevertOptions) (*types.Transaction, error)

Call is a paid mutator transaction binding the contract method 0x06cb8983.

Solidity: function call(bytes receiver, address zrc20, bytes message, (uint256,bool) callOptions, (address,bool,address,bytes,uint256) revertOptions) returns()

func (*GatewayZEVMSession) DEFAULTADMINROLE

func (_GatewayZEVM *GatewayZEVMSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*GatewayZEVMSession) Deposit

func (_GatewayZEVM *GatewayZEVMSession) Deposit(zrc20 common.Address, amount *big.Int, target common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xf45346dc.

Solidity: function deposit(address zrc20, uint256 amount, address target) returns()

func (*GatewayZEVMSession) DepositAndCall

func (_GatewayZEVM *GatewayZEVMSession) DepositAndCall(context MessageContext, amount *big.Int, target common.Address, message []byte) (*types.Transaction, error)

DepositAndCall is a paid mutator transaction binding the contract method 0x21501a95.

Solidity: function depositAndCall((bytes,address,uint256) context, uint256 amount, address target, bytes message) returns()

func (*GatewayZEVMSession) DepositAndCall0

func (_GatewayZEVM *GatewayZEVMSession) DepositAndCall0(context MessageContext, zrc20 common.Address, amount *big.Int, target common.Address, message []byte) (*types.Transaction, error)

DepositAndCall0 is a paid mutator transaction binding the contract method 0xc39aca37.

Solidity: function depositAndCall((bytes,address,uint256) context, address zrc20, uint256 amount, address target, bytes message) returns()

func (*GatewayZEVMSession) DepositAndRevert

func (_GatewayZEVM *GatewayZEVMSession) DepositAndRevert(zrc20 common.Address, amount *big.Int, target common.Address, revertContext RevertContext) (*types.Transaction, error)

DepositAndRevert is a paid mutator transaction binding the contract method 0x9d4ba465.

Solidity: function depositAndRevert(address zrc20, uint256 amount, address target, (address,address,uint256,bytes) revertContext) returns()

func (*GatewayZEVMSession) Execute

func (_GatewayZEVM *GatewayZEVMSession) Execute(context MessageContext, zrc20 common.Address, amount *big.Int, target common.Address, message []byte) (*types.Transaction, error)

Execute is a paid mutator transaction binding the contract method 0xbcf7f32b.

Solidity: function execute((bytes,address,uint256) context, address zrc20, uint256 amount, address target, bytes message) returns()

func (*GatewayZEVMSession) ExecuteAbort

func (_GatewayZEVM *GatewayZEVMSession) ExecuteAbort(target common.Address, abortContext AbortContext) (*types.Transaction, error)

ExecuteAbort is a paid mutator transaction binding the contract method 0x2095dedb.

Solidity: function executeAbort(address target, (bytes,address,uint256,bool,uint256,bytes) abortContext) returns()

func (*GatewayZEVMSession) ExecuteRevert

func (_GatewayZEVM *GatewayZEVMSession) ExecuteRevert(target common.Address, revertContext RevertContext) (*types.Transaction, error)

ExecuteRevert is a paid mutator transaction binding the contract method 0x184b0793.

Solidity: function executeRevert(address target, (address,address,uint256,bytes) revertContext) returns()

func (*GatewayZEVMSession) GetRoleAdmin

func (_GatewayZEVM *GatewayZEVMSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*GatewayZEVMSession) GrantRole

func (_GatewayZEVM *GatewayZEVMSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*GatewayZEVMSession) HasRole

func (_GatewayZEVM *GatewayZEVMSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*GatewayZEVMSession) Initialize

func (_GatewayZEVM *GatewayZEVMSession) Initialize(zetaToken_ common.Address, admin_ common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address zetaToken_, address admin_) returns()

func (*GatewayZEVMSession) MAXMESSAGESIZE

func (_GatewayZEVM *GatewayZEVMSession) MAXMESSAGESIZE() (*big.Int, error)

MAXMESSAGESIZE is a free data retrieval call binding the contract method 0x97d340f5.

Solidity: function MAX_MESSAGE_SIZE() view returns(uint256)

func (*GatewayZEVMSession) PAUSERROLE

func (_GatewayZEVM *GatewayZEVMSession) PAUSERROLE() ([32]byte, error)

PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.

Solidity: function PAUSER_ROLE() view returns(bytes32)

func (*GatewayZEVMSession) PROTOCOLADDRESS

func (_GatewayZEVM *GatewayZEVMSession) PROTOCOLADDRESS() (common.Address, error)

PROTOCOLADDRESS is a free data retrieval call binding the contract method 0x2722feee.

Solidity: function PROTOCOL_ADDRESS() view returns(address)

func (*GatewayZEVMSession) Pause

func (_GatewayZEVM *GatewayZEVMSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*GatewayZEVMSession) Paused

func (_GatewayZEVM *GatewayZEVMSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*GatewayZEVMSession) ProxiableUUID

func (_GatewayZEVM *GatewayZEVMSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*GatewayZEVMSession) Receive

func (_GatewayZEVM *GatewayZEVMSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*GatewayZEVMSession) RenounceRole

func (_GatewayZEVM *GatewayZEVMSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()

func (*GatewayZEVMSession) RevokeRole

func (_GatewayZEVM *GatewayZEVMSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*GatewayZEVMSession) SupportsInterface

func (_GatewayZEVM *GatewayZEVMSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*GatewayZEVMSession) UPGRADEINTERFACEVERSION

func (_GatewayZEVM *GatewayZEVMSession) UPGRADEINTERFACEVERSION() (string, error)

UPGRADEINTERFACEVERSION is a free data retrieval call binding the contract method 0xad3cb1cc.

Solidity: function UPGRADE_INTERFACE_VERSION() view returns(string)

func (*GatewayZEVMSession) Unpause

func (_GatewayZEVM *GatewayZEVMSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*GatewayZEVMSession) UpgradeToAndCall

func (_GatewayZEVM *GatewayZEVMSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*GatewayZEVMSession) Withdraw

func (_GatewayZEVM *GatewayZEVMSession) Withdraw(receiver []byte, amount *big.Int, zrc20 common.Address, revertOptions RevertOptions) (*types.Transaction, error)

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

Solidity: function withdraw(bytes receiver, uint256 amount, address zrc20, (address,bool,address,bytes,uint256) revertOptions) returns()

func (*GatewayZEVMSession) Withdraw0

func (_GatewayZEVM *GatewayZEVMSession) Withdraw0(arg0 []byte, arg1 *big.Int, arg2 *big.Int, arg3 RevertOptions) error

Withdraw0 is a free data retrieval call binding the contract method 0x97a1cef1.

Solidity: function withdraw(bytes , uint256 , uint256 , (address,bool,address,bytes,uint256) ) view returns()

func (*GatewayZEVMSession) WithdrawAndCall

func (_GatewayZEVM *GatewayZEVMSession) WithdrawAndCall(arg0 []byte, arg1 *big.Int, arg2 *big.Int, arg3 []byte, arg4 CallOptions, arg5 RevertOptions) error

WithdrawAndCall is a free data retrieval call binding the contract method 0x2810ae63.

Solidity: function withdrawAndCall(bytes , uint256 , uint256 , bytes , (uint256,bool) , (address,bool,address,bytes,uint256) ) view returns()

func (*GatewayZEVMSession) WithdrawAndCall0

func (_GatewayZEVM *GatewayZEVMSession) WithdrawAndCall0(receiver []byte, amount *big.Int, zrc20 common.Address, message []byte, callOptions CallOptions, revertOptions RevertOptions) (*types.Transaction, error)

WithdrawAndCall0 is a paid mutator transaction binding the contract method 0x7b15118b.

Solidity: function withdrawAndCall(bytes receiver, uint256 amount, address zrc20, bytes message, (uint256,bool) callOptions, (address,bool,address,bytes,uint256) revertOptions) returns()

func (*GatewayZEVMSession) ZetaToken

func (_GatewayZEVM *GatewayZEVMSession) ZetaToken() (common.Address, error)

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

Solidity: function zetaToken() view returns(address)

type GatewayZEVMTransactor

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

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

func NewGatewayZEVMTransactor

func NewGatewayZEVMTransactor(address common.Address, transactor bind.ContractTransactor) (*GatewayZEVMTransactor, error)

NewGatewayZEVMTransactor creates a new write-only instance of GatewayZEVM, bound to a specific deployed contract.

func (*GatewayZEVMTransactor) Call

func (_GatewayZEVM *GatewayZEVMTransactor) Call(opts *bind.TransactOpts, receiver []byte, zrc20 common.Address, message []byte, callOptions CallOptions, revertOptions RevertOptions) (*types.Transaction, error)

Call is a paid mutator transaction binding the contract method 0x06cb8983.

Solidity: function call(bytes receiver, address zrc20, bytes message, (uint256,bool) callOptions, (address,bool,address,bytes,uint256) revertOptions) returns()

func (*GatewayZEVMTransactor) Deposit

func (_GatewayZEVM *GatewayZEVMTransactor) Deposit(opts *bind.TransactOpts, zrc20 common.Address, amount *big.Int, target common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xf45346dc.

Solidity: function deposit(address zrc20, uint256 amount, address target) returns()

func (*GatewayZEVMTransactor) DepositAndCall

func (_GatewayZEVM *GatewayZEVMTransactor) DepositAndCall(opts *bind.TransactOpts, context MessageContext, amount *big.Int, target common.Address, message []byte) (*types.Transaction, error)

DepositAndCall is a paid mutator transaction binding the contract method 0x21501a95.

Solidity: function depositAndCall((bytes,address,uint256) context, uint256 amount, address target, bytes message) returns()

func (*GatewayZEVMTransactor) DepositAndCall0

func (_GatewayZEVM *GatewayZEVMTransactor) DepositAndCall0(opts *bind.TransactOpts, context MessageContext, zrc20 common.Address, amount *big.Int, target common.Address, message []byte) (*types.Transaction, error)

DepositAndCall0 is a paid mutator transaction binding the contract method 0xc39aca37.

Solidity: function depositAndCall((bytes,address,uint256) context, address zrc20, uint256 amount, address target, bytes message) returns()

func (*GatewayZEVMTransactor) DepositAndRevert

func (_GatewayZEVM *GatewayZEVMTransactor) DepositAndRevert(opts *bind.TransactOpts, zrc20 common.Address, amount *big.Int, target common.Address, revertContext RevertContext) (*types.Transaction, error)

DepositAndRevert is a paid mutator transaction binding the contract method 0x9d4ba465.

Solidity: function depositAndRevert(address zrc20, uint256 amount, address target, (address,address,uint256,bytes) revertContext) returns()

func (*GatewayZEVMTransactor) Execute

func (_GatewayZEVM *GatewayZEVMTransactor) Execute(opts *bind.TransactOpts, context MessageContext, zrc20 common.Address, amount *big.Int, target common.Address, message []byte) (*types.Transaction, error)

Execute is a paid mutator transaction binding the contract method 0xbcf7f32b.

Solidity: function execute((bytes,address,uint256) context, address zrc20, uint256 amount, address target, bytes message) returns()

func (*GatewayZEVMTransactor) ExecuteAbort

func (_GatewayZEVM *GatewayZEVMTransactor) ExecuteAbort(opts *bind.TransactOpts, target common.Address, abortContext AbortContext) (*types.Transaction, error)

ExecuteAbort is a paid mutator transaction binding the contract method 0x2095dedb.

Solidity: function executeAbort(address target, (bytes,address,uint256,bool,uint256,bytes) abortContext) returns()

func (*GatewayZEVMTransactor) ExecuteRevert

func (_GatewayZEVM *GatewayZEVMTransactor) ExecuteRevert(opts *bind.TransactOpts, target common.Address, revertContext RevertContext) (*types.Transaction, error)

ExecuteRevert is a paid mutator transaction binding the contract method 0x184b0793.

Solidity: function executeRevert(address target, (address,address,uint256,bytes) revertContext) returns()

func (*GatewayZEVMTransactor) GrantRole

func (_GatewayZEVM *GatewayZEVMTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*GatewayZEVMTransactor) Initialize

func (_GatewayZEVM *GatewayZEVMTransactor) Initialize(opts *bind.TransactOpts, zetaToken_ common.Address, admin_ common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address zetaToken_, address admin_) returns()

func (*GatewayZEVMTransactor) Pause

func (_GatewayZEVM *GatewayZEVMTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*GatewayZEVMTransactor) Receive

func (_GatewayZEVM *GatewayZEVMTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*GatewayZEVMTransactor) RenounceRole

func (_GatewayZEVM *GatewayZEVMTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()

func (*GatewayZEVMTransactor) RevokeRole

func (_GatewayZEVM *GatewayZEVMTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*GatewayZEVMTransactor) Unpause

func (_GatewayZEVM *GatewayZEVMTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*GatewayZEVMTransactor) UpgradeToAndCall

func (_GatewayZEVM *GatewayZEVMTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*GatewayZEVMTransactor) Withdraw

func (_GatewayZEVM *GatewayZEVMTransactor) Withdraw(opts *bind.TransactOpts, receiver []byte, amount *big.Int, zrc20 common.Address, revertOptions RevertOptions) (*types.Transaction, error)

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

Solidity: function withdraw(bytes receiver, uint256 amount, address zrc20, (address,bool,address,bytes,uint256) revertOptions) returns()

func (*GatewayZEVMTransactor) WithdrawAndCall0

func (_GatewayZEVM *GatewayZEVMTransactor) WithdrawAndCall0(opts *bind.TransactOpts, receiver []byte, amount *big.Int, zrc20 common.Address, message []byte, callOptions CallOptions, revertOptions RevertOptions) (*types.Transaction, error)

WithdrawAndCall0 is a paid mutator transaction binding the contract method 0x7b15118b.

Solidity: function withdrawAndCall(bytes receiver, uint256 amount, address zrc20, bytes message, (uint256,bool) callOptions, (address,bool,address,bytes,uint256) revertOptions) returns()

type GatewayZEVMTransactorRaw

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

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

func (*GatewayZEVMTransactorRaw) Transact

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

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

func (*GatewayZEVMTransactorRaw) Transfer

func (_GatewayZEVM *GatewayZEVMTransactorRaw) 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 GatewayZEVMTransactorSession

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

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

func (*GatewayZEVMTransactorSession) Call

func (_GatewayZEVM *GatewayZEVMTransactorSession) Call(receiver []byte, zrc20 common.Address, message []byte, callOptions CallOptions, revertOptions RevertOptions) (*types.Transaction, error)

Call is a paid mutator transaction binding the contract method 0x06cb8983.

Solidity: function call(bytes receiver, address zrc20, bytes message, (uint256,bool) callOptions, (address,bool,address,bytes,uint256) revertOptions) returns()

func (*GatewayZEVMTransactorSession) Deposit

func (_GatewayZEVM *GatewayZEVMTransactorSession) Deposit(zrc20 common.Address, amount *big.Int, target common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xf45346dc.

Solidity: function deposit(address zrc20, uint256 amount, address target) returns()

func (*GatewayZEVMTransactorSession) DepositAndCall

func (_GatewayZEVM *GatewayZEVMTransactorSession) DepositAndCall(context MessageContext, amount *big.Int, target common.Address, message []byte) (*types.Transaction, error)

DepositAndCall is a paid mutator transaction binding the contract method 0x21501a95.

Solidity: function depositAndCall((bytes,address,uint256) context, uint256 amount, address target, bytes message) returns()

func (*GatewayZEVMTransactorSession) DepositAndCall0

func (_GatewayZEVM *GatewayZEVMTransactorSession) DepositAndCall0(context MessageContext, zrc20 common.Address, amount *big.Int, target common.Address, message []byte) (*types.Transaction, error)

DepositAndCall0 is a paid mutator transaction binding the contract method 0xc39aca37.

Solidity: function depositAndCall((bytes,address,uint256) context, address zrc20, uint256 amount, address target, bytes message) returns()

func (*GatewayZEVMTransactorSession) DepositAndRevert

func (_GatewayZEVM *GatewayZEVMTransactorSession) DepositAndRevert(zrc20 common.Address, amount *big.Int, target common.Address, revertContext RevertContext) (*types.Transaction, error)

DepositAndRevert is a paid mutator transaction binding the contract method 0x9d4ba465.

Solidity: function depositAndRevert(address zrc20, uint256 amount, address target, (address,address,uint256,bytes) revertContext) returns()

func (*GatewayZEVMTransactorSession) Execute

func (_GatewayZEVM *GatewayZEVMTransactorSession) Execute(context MessageContext, zrc20 common.Address, amount *big.Int, target common.Address, message []byte) (*types.Transaction, error)

Execute is a paid mutator transaction binding the contract method 0xbcf7f32b.

Solidity: function execute((bytes,address,uint256) context, address zrc20, uint256 amount, address target, bytes message) returns()

func (*GatewayZEVMTransactorSession) ExecuteAbort

func (_GatewayZEVM *GatewayZEVMTransactorSession) ExecuteAbort(target common.Address, abortContext AbortContext) (*types.Transaction, error)

ExecuteAbort is a paid mutator transaction binding the contract method 0x2095dedb.

Solidity: function executeAbort(address target, (bytes,address,uint256,bool,uint256,bytes) abortContext) returns()

func (*GatewayZEVMTransactorSession) ExecuteRevert

func (_GatewayZEVM *GatewayZEVMTransactorSession) ExecuteRevert(target common.Address, revertContext RevertContext) (*types.Transaction, error)

ExecuteRevert is a paid mutator transaction binding the contract method 0x184b0793.

Solidity: function executeRevert(address target, (address,address,uint256,bytes) revertContext) returns()

func (*GatewayZEVMTransactorSession) GrantRole

func (_GatewayZEVM *GatewayZEVMTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*GatewayZEVMTransactorSession) Initialize

func (_GatewayZEVM *GatewayZEVMTransactorSession) Initialize(zetaToken_ common.Address, admin_ common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address zetaToken_, address admin_) returns()

func (*GatewayZEVMTransactorSession) Pause

func (_GatewayZEVM *GatewayZEVMTransactorSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*GatewayZEVMTransactorSession) Receive

func (_GatewayZEVM *GatewayZEVMTransactorSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*GatewayZEVMTransactorSession) RenounceRole

func (_GatewayZEVM *GatewayZEVMTransactorSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()

func (*GatewayZEVMTransactorSession) RevokeRole

func (_GatewayZEVM *GatewayZEVMTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*GatewayZEVMTransactorSession) Unpause

func (_GatewayZEVM *GatewayZEVMTransactorSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*GatewayZEVMTransactorSession) UpgradeToAndCall

func (_GatewayZEVM *GatewayZEVMTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*GatewayZEVMTransactorSession) Withdraw

func (_GatewayZEVM *GatewayZEVMTransactorSession) Withdraw(receiver []byte, amount *big.Int, zrc20 common.Address, revertOptions RevertOptions) (*types.Transaction, error)

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

Solidity: function withdraw(bytes receiver, uint256 amount, address zrc20, (address,bool,address,bytes,uint256) revertOptions) returns()

func (*GatewayZEVMTransactorSession) WithdrawAndCall0

func (_GatewayZEVM *GatewayZEVMTransactorSession) WithdrawAndCall0(receiver []byte, amount *big.Int, zrc20 common.Address, message []byte, callOptions CallOptions, revertOptions RevertOptions) (*types.Transaction, error)

WithdrawAndCall0 is a paid mutator transaction binding the contract method 0x7b15118b.

Solidity: function withdrawAndCall(bytes receiver, uint256 amount, address zrc20, bytes message, (uint256,bool) callOptions, (address,bool,address,bytes,uint256) revertOptions) returns()

type GatewayZEVMUnpaused

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

GatewayZEVMUnpaused represents a Unpaused event raised by the GatewayZEVM contract.

type GatewayZEVMUnpausedIterator

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

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

func (*GatewayZEVMUnpausedIterator) Close

func (it *GatewayZEVMUnpausedIterator) Close() error

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

func (*GatewayZEVMUnpausedIterator) Error

func (it *GatewayZEVMUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*GatewayZEVMUnpausedIterator) Next

func (it *GatewayZEVMUnpausedIterator) Next() bool

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 GatewayZEVMUpgraded

type GatewayZEVMUpgraded struct {
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

GatewayZEVMUpgraded represents a Upgraded event raised by the GatewayZEVM contract.

type GatewayZEVMUpgradedIterator

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

GatewayZEVMUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the GatewayZEVM contract.

func (*GatewayZEVMUpgradedIterator) Close

func (it *GatewayZEVMUpgradedIterator) Close() error

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

func (*GatewayZEVMUpgradedIterator) Error

func (it *GatewayZEVMUpgradedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*GatewayZEVMUpgradedIterator) Next

func (it *GatewayZEVMUpgradedIterator) Next() bool

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 GatewayZEVMWithdrawn

type GatewayZEVMWithdrawn struct {
	Sender          common.Address
	ChainId         *big.Int
	Receiver        []byte
	Zrc20           common.Address
	Value           *big.Int
	Gasfee          *big.Int
	ProtocolFlatFee *big.Int
	Message         []byte
	CallOptions     CallOptions
	RevertOptions   RevertOptions
	Raw             types.Log // Blockchain specific contextual infos
}

GatewayZEVMWithdrawn represents a Withdrawn event raised by the GatewayZEVM contract.

type GatewayZEVMWithdrawnAndCalled

type GatewayZEVMWithdrawnAndCalled struct {
	Sender          common.Address
	ChainId         *big.Int
	Receiver        []byte
	Zrc20           common.Address
	Value           *big.Int
	Gasfee          *big.Int
	ProtocolFlatFee *big.Int
	Message         []byte
	CallOptions     CallOptions
	RevertOptions   RevertOptions
	Raw             types.Log // Blockchain specific contextual infos
}

GatewayZEVMWithdrawnAndCalled represents a WithdrawnAndCalled event raised by the GatewayZEVM contract.

type GatewayZEVMWithdrawnAndCalledIterator

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

GatewayZEVMWithdrawnAndCalledIterator is returned from FilterWithdrawnAndCalled and is used to iterate over the raw logs and unpacked data for WithdrawnAndCalled events raised by the GatewayZEVM contract.

func (*GatewayZEVMWithdrawnAndCalledIterator) Close

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

func (*GatewayZEVMWithdrawnAndCalledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GatewayZEVMWithdrawnAndCalledIterator) 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 GatewayZEVMWithdrawnIterator

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

GatewayZEVMWithdrawnIterator is returned from FilterWithdrawn and is used to iterate over the raw logs and unpacked data for Withdrawn events raised by the GatewayZEVM contract.

func (*GatewayZEVMWithdrawnIterator) Close

func (it *GatewayZEVMWithdrawnIterator) Close() error

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

func (*GatewayZEVMWithdrawnIterator) Error

func (it *GatewayZEVMWithdrawnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*GatewayZEVMWithdrawnIterator) 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 MessageContext

type MessageContext struct {
	Sender    []byte
	SenderEVM common.Address
	ChainID   *big.Int
}

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

type RevertContext

type RevertContext struct {
	Sender        common.Address
	Asset         common.Address
	Amount        *big.Int
	RevertMessage []byte
}

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

type RevertOptions

type RevertOptions struct {
	RevertAddress    common.Address
	CallOnRevert     bool
	AbortAddress     common.Address
	RevertMessage    []byte
	OnRevertGasLimit *big.Int
}

RevertOptions 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