l1gateway

package
v1.26.1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package l1gateway contains the contract bindings for the L1GatewayRouter contract.

Code generated by synapse abigen DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var AddressUpgradeableABI = AddressUpgradeableMetaData.ABI

AddressUpgradeableABI is the input ABI used to generate the binding from. Deprecated: Use AddressUpgradeableMetaData.ABI instead.

View Source
var AddressUpgradeableBin = AddressUpgradeableMetaData.Bin

AddressUpgradeableBin is the compiled bytecode used for deploying new contracts. Deprecated: Use AddressUpgradeableMetaData.Bin instead.

View Source
var AddressUpgradeableMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202b51ec87149a5e8a71610f18f1374c5010ec1bdbc5b533ee73e4673403a00b4764736f6c63430008110033",
}

AddressUpgradeableMetaData contains all meta data concerning the AddressUpgradeable contract.

View Source
var ContextUpgradeableABI = ContextUpgradeableMetaData.ABI

ContextUpgradeableABI is the input ABI used to generate the binding from. Deprecated: Use ContextUpgradeableMetaData.ABI instead.

View Source
var ContextUpgradeableMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"}]",
}

ContextUpgradeableMetaData contains all meta data concerning the ContextUpgradeable contract.

View Source
var Contracts map[string]*compiler.Contract

Contracts are unmarshalled on start

View Source
var DepositERC20Topic common.Hash

DepositERC20Topic is the topic that gets emitted when the depositForBurn event is called.

View Source
var DepositETHTopic common.Hash

DepositETHTopic is the topic that gets emitted when the depositForBurn event is called.

View Source
var FinalizeWithdrawERC20Topic common.Hash

FinalizeWithdrawERC20Topic is the topic that gets emitted when the depositForBurn event is called.

View Source
var FinalizeWithdrawETHTopic common.Hash

FinalizeWithdrawETHTopic is the topic that gets emitted when the depositForBurn event is called.

View Source
var IERC20PermitUpgradeableABI = IERC20PermitUpgradeableMetaData.ABI

IERC20PermitUpgradeableABI is the input ABI used to generate the binding from. Deprecated: Use IERC20PermitUpgradeableMetaData.ABI instead.

View Source
var IERC20PermitUpgradeableFuncSigs = IERC20PermitUpgradeableMetaData.Sigs

Deprecated: Use IERC20PermitUpgradeableMetaData.Sigs instead. IERC20PermitUpgradeableFuncSigs maps the 4-byte function signature to its string representation.

View Source
var IERC20PermitUpgradeableMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"3644e515": "DOMAIN_SEPARATOR()",
		"7ecebe00": "nonces(address)",
		"d505accf": "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)",
	},
}

IERC20PermitUpgradeableMetaData contains all meta data concerning the IERC20PermitUpgradeable contract.

View Source
var IERC20UpgradeableABI = IERC20UpgradeableMetaData.ABI

IERC20UpgradeableABI is the input ABI used to generate the binding from. Deprecated: Use IERC20UpgradeableMetaData.ABI instead.

View Source
var IERC20UpgradeableFuncSigs = IERC20UpgradeableMetaData.Sigs

Deprecated: Use IERC20UpgradeableMetaData.Sigs instead. IERC20UpgradeableFuncSigs maps the 4-byte function signature to its string representation.

View Source
var IERC20UpgradeableMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"dd62ed3e": "allowance(address,address)",
		"095ea7b3": "approve(address,uint256)",
		"70a08231": "balanceOf(address)",
		"18160ddd": "totalSupply()",
		"a9059cbb": "transfer(address,uint256)",
		"23b872dd": "transferFrom(address,address,uint256)",
	},
}

IERC20UpgradeableMetaData contains all meta data concerning the IERC20Upgradeable contract.

View Source
var IL1ERC20GatewayABI = IL1ERC20GatewayMetaData.ABI

IL1ERC20GatewayABI is the input ABI used to generate the binding from. Deprecated: Use IL1ERC20GatewayMetaData.ABI instead.

View Source
var IL1ERC20GatewayFuncSigs = IL1ERC20GatewayMetaData.Sigs

Deprecated: Use IL1ERC20GatewayMetaData.Sigs instead. IL1ERC20GatewayFuncSigs maps the 4-byte function signature to its string representation.

View Source
var IL1ERC20GatewayMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l1Token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l2Token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"DepositERC20\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l1Token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l2Token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"FinalizeWithdrawERC20\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"RefundERC20\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_gasLimit\",\"type\":\"uint256\"}],\"name\":\"depositERC20\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_gasLimit\",\"type\":\"uint256\"}],\"name\":\"depositERC20\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_gasLimit\",\"type\":\"uint256\"}],\"name\":\"depositERC20AndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l1Token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_l2Token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"finalizeWithdrawERC20\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l1Token\",\"type\":\"address\"}],\"name\":\"getL2ERC20Address\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"f219fa66": "depositERC20(address,address,uint256,uint256)",
		"21425ee0": "depositERC20(address,uint256,uint256)",
		"0aea8c26": "depositERC20AndCall(address,address,uint256,bytes,uint256)",
		"84bd13b0": "finalizeWithdrawERC20(address,address,address,address,uint256,bytes)",
		"c676ad29": "getL2ERC20Address(address)",
	},
}

IL1ERC20GatewayMetaData contains all meta data concerning the IL1ERC20Gateway contract.

View Source
var IL1ETHGatewayABI = IL1ETHGatewayMetaData.ABI

IL1ETHGatewayABI is the input ABI used to generate the binding from. Deprecated: Use IL1ETHGatewayMetaData.ABI instead.

View Source
var IL1ETHGatewayFuncSigs = IL1ETHGatewayMetaData.Sigs

Deprecated: Use IL1ETHGatewayMetaData.Sigs instead. IL1ETHGatewayFuncSigs maps the 4-byte function signature to its string representation.

View Source
var IL1ETHGatewayMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"DepositETH\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"FinalizeWithdrawETH\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"RefundETH\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\"}],\"name\":\"depositETH\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\"}],\"name\":\"depositETH\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\"}],\"name\":\"depositETHAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"finalizeWithdrawETH\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"ce0b63ce": "depositETH(address,uint256,uint256)",
		"9f8420b3": "depositETH(uint256,uint256)",
		"aac476f8": "depositETHAndCall(address,uint256,bytes,uint256)",
		"8eaac8a3": "finalizeWithdrawETH(address,address,uint256,bytes)",
	},
}

IL1ETHGatewayMetaData contains all meta data concerning the IL1ETHGateway contract.

View Source
var IL1GatewayRouterABI = IL1GatewayRouterMetaData.ABI

IL1GatewayRouterABI is the input ABI used to generate the binding from. Deprecated: Use IL1GatewayRouterMetaData.ABI instead.

View Source
var IL1GatewayRouterFuncSigs = IL1GatewayRouterMetaData.Sigs

Deprecated: Use IL1GatewayRouterMetaData.Sigs instead. IL1GatewayRouterFuncSigs maps the 4-byte function signature to its string representation.

View Source
var IL1GatewayRouterMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l1Token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l2Token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"DepositERC20\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"DepositETH\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l1Token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l2Token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"FinalizeWithdrawERC20\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"FinalizeWithdrawETH\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"RefundERC20\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"RefundETH\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldDefaultERC20Gateway\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newDefaultERC20Gateway\",\"type\":\"address\"}],\"name\":\"SetDefaultERC20Gateway\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldGateway\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newGateway\",\"type\":\"address\"}],\"name\":\"SetERC20Gateway\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldETHGateway\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newEthGateway\",\"type\":\"address\"}],\"name\":\"SetETHGateway\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_gasLimit\",\"type\":\"uint256\"}],\"name\":\"depositERC20\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_gasLimit\",\"type\":\"uint256\"}],\"name\":\"depositERC20\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_gasLimit\",\"type\":\"uint256\"}],\"name\":\"depositERC20AndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\"}],\"name\":\"depositETH\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\"}],\"name\":\"depositETH\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\"}],\"name\":\"depositETHAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l1Token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_l2Token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"finalizeWithdrawERC20\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"finalizeWithdrawETH\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"getERC20Gateway\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l1Token\",\"type\":\"address\"}],\"name\":\"getL2ERC20Address\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"requestERC20\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_defaultERC20Gateway\",\"type\":\"address\"}],\"name\":\"setDefaultERC20Gateway\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"_gateways\",\"type\":\"address[]\"}],\"name\":\"setERC20Gateway\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_ethGateway\",\"type\":\"address\"}],\"name\":\"setETHGateway\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"f219fa66": "depositERC20(address,address,uint256,uint256)",
		"21425ee0": "depositERC20(address,uint256,uint256)",
		"0aea8c26": "depositERC20AndCall(address,address,uint256,bytes,uint256)",
		"ce0b63ce": "depositETH(address,uint256,uint256)",
		"9f8420b3": "depositETH(uint256,uint256)",
		"aac476f8": "depositETHAndCall(address,uint256,bytes,uint256)",
		"84bd13b0": "finalizeWithdrawERC20(address,address,address,address,uint256,bytes)",
		"8eaac8a3": "finalizeWithdrawETH(address,address,uint256,bytes)",
		"43c66741": "getERC20Gateway(address)",
		"c676ad29": "getL2ERC20Address(address)",
		"c52a3bbc": "requestERC20(address,address,uint256)",
		"5dfd5b9a": "setDefaultERC20Gateway(address)",
		"635c8637": "setERC20Gateway(address[],address[])",
		"3d1d31c7": "setETHGateway(address)",
	},
}

IL1GatewayRouterMetaData contains all meta data concerning the IL1GatewayRouter contract.

View Source
var InitializableABI = InitializableMetaData.ABI

InitializableABI is the input ABI used to generate the binding from. Deprecated: Use InitializableMetaData.ABI instead.

View Source
var InitializableMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"}]",
}

InitializableMetaData contains all meta data concerning the Initializable contract.

View Source
var L1GatewayRouterABI = L1GatewayRouterMetaData.ABI

L1GatewayRouterABI is the input ABI used to generate the binding from. Deprecated: Use L1GatewayRouterMetaData.ABI instead.

View Source
var L1GatewayRouterBin = L1GatewayRouterMetaData.Bin

L1GatewayRouterBin is the compiled bytecode used for deploying new contracts. Deprecated: Use L1GatewayRouterMetaData.Bin instead.

View Source
var L1GatewayRouterFuncSigs = L1GatewayRouterMetaData.Sigs

Deprecated: Use L1GatewayRouterMetaData.Sigs instead. L1GatewayRouterFuncSigs maps the 4-byte function signature to its string representation.

View Source
var L1GatewayRouterMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l1Token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l2Token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"DepositERC20\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"DepositETH\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l1Token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l2Token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"FinalizeWithdrawERC20\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"FinalizeWithdrawETH\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"RefundERC20\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"RefundETH\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldDefaultERC20Gateway\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newDefaultERC20Gateway\",\"type\":\"address\"}],\"name\":\"SetDefaultERC20Gateway\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldGateway\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newGateway\",\"type\":\"address\"}],\"name\":\"SetERC20Gateway\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldETHGateway\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newEthGateway\",\"type\":\"address\"}],\"name\":\"SetETHGateway\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"ERC20Gateway\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultERC20Gateway\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_gasLimit\",\"type\":\"uint256\"}],\"name\":\"depositERC20\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_gasLimit\",\"type\":\"uint256\"}],\"name\":\"depositERC20\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_gasLimit\",\"type\":\"uint256\"}],\"name\":\"depositERC20AndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_gasLimit\",\"type\":\"uint256\"}],\"name\":\"depositETH\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_gasLimit\",\"type\":\"uint256\"}],\"name\":\"depositETH\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_gasLimit\",\"type\":\"uint256\"}],\"name\":\"depositETHAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ethGateway\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"finalizeWithdrawERC20\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"finalizeWithdrawETH\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gatewayInContext\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"getERC20Gateway\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l1Address\",\"type\":\"address\"}],\"name\":\"getL2ERC20Address\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_ethGateway\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_defaultERC20Gateway\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"requestERC20\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newDefaultERC20Gateway\",\"type\":\"address\"}],\"name\":\"setDefaultERC20Gateway\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"_gateways\",\"type\":\"address[]\"}],\"name\":\"setERC20Gateway\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newEthGateway\",\"type\":\"address\"}],\"name\":\"setETHGateway\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"705b05b8": "ERC20Gateway(address)",
		"ce8c3e06": "defaultERC20Gateway()",
		"f219fa66": "depositERC20(address,address,uint256,uint256)",
		"21425ee0": "depositERC20(address,uint256,uint256)",
		"0aea8c26": "depositERC20AndCall(address,address,uint256,bytes,uint256)",
		"ce0b63ce": "depositETH(address,uint256,uint256)",
		"9f8420b3": "depositETH(uint256,uint256)",
		"aac476f8": "depositETHAndCall(address,uint256,bytes,uint256)",
		"8c00ce73": "ethGateway()",
		"84bd13b0": "finalizeWithdrawERC20(address,address,address,address,uint256,bytes)",
		"8eaac8a3": "finalizeWithdrawETH(address,address,uint256,bytes)",
		"3a9a7b20": "gatewayInContext()",
		"43c66741": "getERC20Gateway(address)",
		"c676ad29": "getL2ERC20Address(address)",
		"485cc955": "initialize(address,address)",
		"8da5cb5b": "owner()",
		"715018a6": "renounceOwnership()",
		"c52a3bbc": "requestERC20(address,address,uint256)",
		"5dfd5b9a": "setDefaultERC20Gateway(address)",
		"635c8637": "setERC20Gateway(address[],address[])",
		"3d1d31c7": "setETHGateway(address)",
		"f2fde38b": "transferOwnership(address)",
	},
	Bin: "0x608060405234801561001057600080fd5b5061001961001e565b6100dd565b600054610100900460ff161561008a5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff908116146100db576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b611d35806100ec6000396000f3fe6080604052600436106101755760003560e01c80638c00ce73116100cb578063c52a3bbc1161007f578063ce8c3e0611610059578063ce8c3e06146103b0578063f219fa66146103d0578063f2fde38b146103e357600080fd5b8063c52a3bbc1461034f578063c676ad291461037d578063ce0b63ce1461039d57600080fd5b80638eaac8a3116100b05780638eaac8a31461031b5780639f8420b314610329578063aac476f81461033c57600080fd5b80638c00ce73146102dd5780638da5cb5b146102fd57600080fd5b8063485cc9551161012d578063705b05b811610107578063705b05b81461027f578063715018a6146102b557806384bd13b0146102ca57600080fd5b8063485cc9551461021f5780635dfd5b9a1461023f578063635c86371461025f57600080fd5b80633a9a7b201161015e5780633a9a7b20146101a25780633d1d31c7146101df57806343c66741146101ff57600080fd5b80630aea8c261461017a57806321425ee01461018f575b600080fd5b61018d610188366004611683565b610403565b005b61018d61019d3660046116f7565b6105ec565b3480156101ae57600080fd5b506068546101c2906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156101eb57600080fd5b5061018d6101fa36600461172c565b61062b565b34801561020b57600080fd5b506101c261021a36600461172c565b61069d565b34801561022b57600080fd5b5061018d61023a366004611749565b6106d3565b34801561024b57600080fd5b5061018d61025a36600461172c565b61092e565b34801561026b57600080fd5b5061018d61027a366004611800565b6109a0565b34801561028b57600080fd5b506101c261029a36600461172c565b6067602052600090815260409020546001600160a01b031681565b3480156102c157600080fd5b5061018d610b66565b61018d6102d83660046118ad565b610b7a565b3480156102e957600080fd5b506065546101c2906001600160a01b031681565b34801561030957600080fd5b506033546001600160a01b03166101c2565b61018d6102d8366004611945565b61018d6103373660046119b8565b610bc2565b61018d61034a3660046119da565b610bff565b34801561035b57600080fd5b5061036f61036a366004611a3b565b610d7b565b6040519081526020016101d6565b34801561038957600080fd5b506101c261039836600461172c565b610f1e565b61018d6103ab3660046116f7565b610fcd565b3480156103bc57600080fd5b506066546101c2906001600160a01b031681565b61018d6103de366004611a7c565b610fd9565b3480156103ef57600080fd5b5061018d6103fe36600461172c565b610fec565b6068546001600160a01b0316156104615760405162461bcd60e51b815260206004820152601360248201527f4f6e6c79206e6f7420696e20636f6e746578740000000000000000000000000060448201526064015b60405180910390fd5b600061046c8661069d565b90506001600160a01b0381166104c45760405162461bcd60e51b815260206004820152601460248201527f6e6f206761746577617920617661696c61626c650000000000000000000000006044820152606401610458565b606880547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383161790556000338460405160200161050c929190611b30565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290527f0aea8c2600000000000000000000000000000000000000000000000000000000825291506001600160a01b03831690630aea8c26903490610589908b908b908b9088908b90600401611b52565b6000604051808303818588803b1580156105a257600080fd5b505af11580156105b6573d6000803e3d6000fd5b5050606880547fffffffffffffffffffffffff000000000000000000000000000000000000000016905550505050505050505050565b61062683338460005b6040519080825280601f01601f19166020018201604052801561061f576020820181803683370190505b5085610403565b505050565b61063361107c565b606580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907fa1bfcc6dd729ad197a1180f44d5c12bcc630943df0874b9ed53da23165621b6a90600090a35050565b6001600160a01b03808216600090815260676020526040812054909116806106cd57506066546001600160a01b03165b92915050565b600054610100900460ff16158080156106f35750600054600160ff909116105b8061070d5750303b15801561070d575060005460ff166001145b61077f5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610458565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905580156107dd57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b6107e56110d6565b6001600160a01b0382161561085657606680547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0384169081179091556040516000907f2904fcae71038f87b116fd2875871e153722cabddd71de1b77473de263cd74d1908290a35b6001600160a01b038316156108c757606580547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0385169081179091556040516000907fa1bfcc6dd729ad197a1180f44d5c12bcc630943df0874b9ed53da23165621b6a908290a35b801561062657600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b61093661107c565b606680546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f2904fcae71038f87b116fd2875871e153722cabddd71de1b77473de263cd74d190600090a35050565b6109a861107c565b80518251146109f95760405162461bcd60e51b815260206004820152600f60248201527f6c656e677468206d69736d6174636800000000000000000000000000000000006044820152606401610458565b60005b825181101561062657600060676000858481518110610a1d57610a1d611b96565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060009054906101000a90046001600160a01b03169050828281518110610a6d57610a6d611b96565b602002602001015160676000868581518110610a8b57610a8b611b96565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b03160217905550828281518110610ae957610ae9611b96565b60200260200101516001600160a01b0316816001600160a01b0316858481518110610b1657610b16611b96565b60200260200101516001600160a01b03167f0ead4808404683f66d413d788a768219ea9785c97889221193103841a5841eaf60405160405180910390a45080610b5e81611bf4565b9150506109fc565b610b6e61107c565b610b78600061115b565b565b60405162461bcd60e51b815260206004820152601660248201527f73686f756c64206e657665722062652063616c6c6564000000000000000000006044820152606401610458565b610bfb338360005b6040519080825280601f01601f191660200182016040528015610bf4576020820181803683370190505b5084610bff565b5050565b6068546001600160a01b031615610c585760405162461bcd60e51b815260206004820152601360248201527f4f6e6c79206e6f7420696e20636f6e74657874000000000000000000000000006044820152606401610458565b6065546001600160a01b031680610cb15760405162461bcd60e51b815260206004820152601560248201527f657468206761746577617920617661696c61626c6500000000000000000000006044820152606401610458565b60003384604051602001610cc6929190611b30565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290527faac476f800000000000000000000000000000000000000000000000000000000825291506001600160a01b0383169063aac476f8903490610d41908a908a9087908a90600401611c2c565b6000604051808303818588803b158015610d5a57600080fd5b505af1158015610d6e573d6000803e3d6000fd5b5050505050505050505050565b6068546000906001600160a01b0316336001600160a01b031614610de15760405162461bcd60e51b815260206004820152601760248201527f4f6e6c7920696e206465706f73697420636f6e746578740000000000000000006044820152606401610458565b6000336040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b0380831660048301529192506000918616906370a0823190602401602060405180830381865afa158015610e49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6d9190611c65565b9050610e846001600160a01b0386168784876111c5565b6040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b0383811660048301528291908716906370a0823190602401602060405180830381865afa158015610ee6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0a9190611c65565b610f149190611c7e565b9695505050505050565b600080610f2a8361069d565b90506001600160a01b038116610f435750600092915050565b6040517fc676ad290000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015282169063c676ad2990602401602060405180830381865afa158015610fa2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc69190611c91565b9392505050565b61062683836000610bca565b610fe684848460006105f5565b50505050565b610ff461107c565b6001600160a01b0381166110705760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610458565b6110798161115b565b50565b6033546001600160a01b03163314610b785760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610458565b600054610100900460ff166111535760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610458565b610b7861124d565b603380546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052610fe69085906112d3565b600054610100900460ff166112ca5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610458565b610b783361115b565b6000611328826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166113bb9092919063ffffffff16565b90508051600014806113495750808060200190518101906113499190611cae565b6106265760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610458565b60606113ca84846000856113d2565b949350505050565b60608247101561144a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610458565b600080866001600160a01b031685876040516114669190611cd0565b60006040518083038185875af1925050503d80600081146114a3576040519150601f19603f3d011682016040523d82523d6000602084013e6114a8565b606091505b50915091506114b9878383876114c4565b979650505050505050565b6060831561153357825160000361152c576001600160a01b0385163b61152c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610458565b50816113ca565b6113ca83838151156115485781518083602001fd5b8060405162461bcd60e51b81526004016104589190611cec565b6001600160a01b038116811461107957600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156115ed576115ed611577565b604052919050565b600082601f83011261160657600080fd5b813567ffffffffffffffff81111561162057611620611577565b61165160207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116016115a6565b81815284602083860101111561166657600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a0868803121561169b57600080fd5b85356116a681611562565b945060208601356116b681611562565b935060408601359250606086013567ffffffffffffffff8111156116d957600080fd5b6116e5888289016115f5565b95989497509295608001359392505050565b60008060006060848603121561170c57600080fd5b833561171781611562565b95602085013595506040909401359392505050565b60006020828403121561173e57600080fd5b8135610fc681611562565b6000806040838503121561175c57600080fd5b823561176781611562565b9150602083013561177781611562565b809150509250929050565b600082601f83011261179357600080fd5b8135602067ffffffffffffffff8211156117af576117af611577565b8160051b6117be8282016115a6565b92835284810182019282810190878511156117d857600080fd5b83870192505b848310156114b95782356117f181611562565b825291830191908301906117de565b6000806040838503121561181357600080fd5b823567ffffffffffffffff8082111561182b57600080fd5b61183786838701611782565b9350602085013591508082111561184d57600080fd5b5061185a85828601611782565b9150509250929050565b60008083601f84011261187657600080fd5b50813567ffffffffffffffff81111561188e57600080fd5b6020830191508360208285010111156118a657600080fd5b9250929050565b600080600080600080600060c0888a0312156118c857600080fd5b87356118d381611562565b965060208801356118e381611562565b955060408801356118f381611562565b9450606088013561190381611562565b93506080880135925060a088013567ffffffffffffffff81111561192657600080fd5b6119328a828b01611864565b989b979a50959850939692959293505050565b60008060008060006080868803121561195d57600080fd5b853561196881611562565b9450602086013561197881611562565b935060408601359250606086013567ffffffffffffffff81111561199b57600080fd5b6119a788828901611864565b969995985093965092949392505050565b600080604083850312156119cb57600080fd5b50508035926020909101359150565b600080600080608085870312156119f057600080fd5b84356119fb81611562565b935060208501359250604085013567ffffffffffffffff811115611a1e57600080fd5b611a2a878288016115f5565b949793965093946060013593505050565b600080600060608486031215611a5057600080fd5b8335611a5b81611562565b92506020840135611a6b81611562565b929592945050506040919091013590565b60008060008060808587031215611a9257600080fd5b8435611a9d81611562565b93506020850135611aad81611562565b93969395505050506040820135916060013590565b60005b83811015611add578181015183820152602001611ac5565b50506000910152565b60008151808452611afe816020860160208601611ac2565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6001600160a01b03831681526040602082015260006113ca6040830184611ae6565b60006001600160a01b03808816835280871660208401525084604083015260a06060830152611b8460a0830185611ae6565b90508260808301529695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611c2557611c25611bc5565b5060010190565b6001600160a01b0385168152836020820152608060408201526000611c546080830185611ae6565b905082606083015295945050505050565b600060208284031215611c7757600080fd5b5051919050565b818103818111156106cd576106cd611bc5565b600060208284031215611ca357600080fd5b8151610fc681611562565b600060208284031215611cc057600080fd5b81518015158114610fc657600080fd5b60008251611ce2818460208701611ac2565b9190910192915050565b602081526000610fc66020830184611ae656fea26469706673582212202cec4819d1be9525e2fff8e6e0b45cae981bb05643bafabf8c9910d2c41af38264736f6c63430008110033",
}

L1GatewayRouterMetaData contains all meta data concerning the L1GatewayRouter contract.

View Source
var OwnableUpgradeableABI = OwnableUpgradeableMetaData.ABI

OwnableUpgradeableABI is the input ABI used to generate the binding from. Deprecated: Use OwnableUpgradeableMetaData.ABI instead.

View Source
var OwnableUpgradeableFuncSigs = OwnableUpgradeableMetaData.Sigs

Deprecated: Use OwnableUpgradeableMetaData.Sigs instead. OwnableUpgradeableFuncSigs maps the 4-byte function signature to its string representation.

View Source
var OwnableUpgradeableMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"8da5cb5b": "owner()",
		"715018a6": "renounceOwnership()",
		"f2fde38b": "transferOwnership(address)",
	},
}

OwnableUpgradeableMetaData contains all meta data concerning the OwnableUpgradeable contract.

View Source
var SafeERC20UpgradeableABI = SafeERC20UpgradeableMetaData.ABI

SafeERC20UpgradeableABI is the input ABI used to generate the binding from. Deprecated: Use SafeERC20UpgradeableMetaData.ABI instead.

View Source
var SafeERC20UpgradeableBin = SafeERC20UpgradeableMetaData.Bin

SafeERC20UpgradeableBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SafeERC20UpgradeableMetaData.Bin instead.

View Source
var SafeERC20UpgradeableMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212204327007a55064cdf512bb263b46eeb802871b1294e5c54164b635525f2f957f164736f6c63430008110033",
}

SafeERC20UpgradeableMetaData contains all meta data concerning the SafeERC20Upgradeable contract.

Functions

This section is empty.

Types

type AddressUpgradeable

type AddressUpgradeable struct {
	AddressUpgradeableCaller     // Read-only binding to the contract
	AddressUpgradeableTransactor // Write-only binding to the contract
	AddressUpgradeableFilterer   // Log filterer for contract events
}

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

func DeployAddressUpgradeable

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

DeployAddressUpgradeable deploys a new Ethereum contract, binding an instance of AddressUpgradeable to it.

func NewAddressUpgradeable

func NewAddressUpgradeable(address common.Address, backend bind.ContractBackend) (*AddressUpgradeable, error)

NewAddressUpgradeable creates a new instance of AddressUpgradeable, bound to a specific deployed contract.

type AddressUpgradeableCaller

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

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

func NewAddressUpgradeableCaller

func NewAddressUpgradeableCaller(address common.Address, caller bind.ContractCaller) (*AddressUpgradeableCaller, error)

NewAddressUpgradeableCaller creates a new read-only instance of AddressUpgradeable, bound to a specific deployed contract.

type AddressUpgradeableCallerRaw

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

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

func (*AddressUpgradeableCallerRaw) Call

func (_AddressUpgradeable *AddressUpgradeableCallerRaw) 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 AddressUpgradeableCallerSession

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

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

type AddressUpgradeableFilterer

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

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

func NewAddressUpgradeableFilterer

func NewAddressUpgradeableFilterer(address common.Address, filterer bind.ContractFilterer) (*AddressUpgradeableFilterer, error)

NewAddressUpgradeableFilterer creates a new log filterer instance of AddressUpgradeable, bound to a specific deployed contract.

type AddressUpgradeableRaw

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

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

func (*AddressUpgradeableRaw) Call

func (_AddressUpgradeable *AddressUpgradeableRaw) 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 (*AddressUpgradeableRaw) Transact

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

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

func (*AddressUpgradeableRaw) Transfer

func (_AddressUpgradeable *AddressUpgradeableRaw) 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 AddressUpgradeableSession

type AddressUpgradeableSession struct {
	Contract     *AddressUpgradeable // 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
}

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

type AddressUpgradeableTransactor

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

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

func NewAddressUpgradeableTransactor

func NewAddressUpgradeableTransactor(address common.Address, transactor bind.ContractTransactor) (*AddressUpgradeableTransactor, error)

NewAddressUpgradeableTransactor creates a new write-only instance of AddressUpgradeable, bound to a specific deployed contract.

type AddressUpgradeableTransactorRaw

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

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

func (*AddressUpgradeableTransactorRaw) Transact

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

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

func (*AddressUpgradeableTransactorRaw) Transfer

func (_AddressUpgradeable *AddressUpgradeableTransactorRaw) 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 AddressUpgradeableTransactorSession

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

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

type ContextUpgradeable

type ContextUpgradeable struct {
	ContextUpgradeableCaller     // Read-only binding to the contract
	ContextUpgradeableTransactor // Write-only binding to the contract
	ContextUpgradeableFilterer   // Log filterer for contract events
}

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

func NewContextUpgradeable

func NewContextUpgradeable(address common.Address, backend bind.ContractBackend) (*ContextUpgradeable, error)

NewContextUpgradeable creates a new instance of ContextUpgradeable, bound to a specific deployed contract.

type ContextUpgradeableCaller

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

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

func NewContextUpgradeableCaller

func NewContextUpgradeableCaller(address common.Address, caller bind.ContractCaller) (*ContextUpgradeableCaller, error)

NewContextUpgradeableCaller creates a new read-only instance of ContextUpgradeable, bound to a specific deployed contract.

type ContextUpgradeableCallerRaw

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

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

func (*ContextUpgradeableCallerRaw) Call

func (_ContextUpgradeable *ContextUpgradeableCallerRaw) 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 ContextUpgradeableCallerSession

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

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

type ContextUpgradeableFilterer

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

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

func NewContextUpgradeableFilterer

func NewContextUpgradeableFilterer(address common.Address, filterer bind.ContractFilterer) (*ContextUpgradeableFilterer, error)

NewContextUpgradeableFilterer creates a new log filterer instance of ContextUpgradeable, bound to a specific deployed contract.

func (*ContextUpgradeableFilterer) FilterInitialized

func (_ContextUpgradeable *ContextUpgradeableFilterer) FilterInitialized(opts *bind.FilterOpts) (*ContextUpgradeableInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*ContextUpgradeableFilterer) ParseInitialized

func (_ContextUpgradeable *ContextUpgradeableFilterer) ParseInitialized(log types.Log) (*ContextUpgradeableInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*ContextUpgradeableFilterer) WatchInitialized

func (_ContextUpgradeable *ContextUpgradeableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ContextUpgradeableInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

type ContextUpgradeableInitialized

type ContextUpgradeableInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

ContextUpgradeableInitialized represents a Initialized event raised by the ContextUpgradeable contract.

type ContextUpgradeableInitializedIterator

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

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

func (*ContextUpgradeableInitializedIterator) Close

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

func (*ContextUpgradeableInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContextUpgradeableInitializedIterator) 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 ContextUpgradeableRaw

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

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

func (*ContextUpgradeableRaw) Call

func (_ContextUpgradeable *ContextUpgradeableRaw) 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 (*ContextUpgradeableRaw) Transact

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

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

func (*ContextUpgradeableRaw) Transfer

func (_ContextUpgradeable *ContextUpgradeableRaw) 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 ContextUpgradeableSession

type ContextUpgradeableSession struct {
	Contract     *ContextUpgradeable // 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
}

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

type ContextUpgradeableTransactor

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

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

func NewContextUpgradeableTransactor

func NewContextUpgradeableTransactor(address common.Address, transactor bind.ContractTransactor) (*ContextUpgradeableTransactor, error)

NewContextUpgradeableTransactor creates a new write-only instance of ContextUpgradeable, bound to a specific deployed contract.

type ContextUpgradeableTransactorRaw

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

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

func (*ContextUpgradeableTransactorRaw) Transact

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

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

func (*ContextUpgradeableTransactorRaw) Transfer

func (_ContextUpgradeable *ContextUpgradeableTransactorRaw) 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 ContextUpgradeableTransactorSession

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

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

type EventType

type EventType uint

EventType is the type of the bridge watcher

const (
	// DepositETHEvent is the event type for the DepositETH event.
	DepositETHEvent EventType = iota + 1
	// DepositERC20Event is the event type for the DepositERC20 event.
	DepositERC20Event
	// FinalizeWithdrawETHEvent is the event type for the FinalizeWithdrawETH event.
	FinalizeWithdrawETHEvent
	// FinalizeWithdrawERC20Event is the event type for the FinalizeWithdrawERC20 event.
	FinalizeWithdrawERC20Event
)

func (EventType) String

func (i EventType) String() string

type IERC20PermitUpgradeable

type IERC20PermitUpgradeable struct {
	IERC20PermitUpgradeableCaller     // Read-only binding to the contract
	IERC20PermitUpgradeableTransactor // Write-only binding to the contract
	IERC20PermitUpgradeableFilterer   // Log filterer for contract events
}

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

func NewIERC20PermitUpgradeable

func NewIERC20PermitUpgradeable(address common.Address, backend bind.ContractBackend) (*IERC20PermitUpgradeable, error)

NewIERC20PermitUpgradeable creates a new instance of IERC20PermitUpgradeable, bound to a specific deployed contract.

type IERC20PermitUpgradeableCaller

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

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

func NewIERC20PermitUpgradeableCaller

func NewIERC20PermitUpgradeableCaller(address common.Address, caller bind.ContractCaller) (*IERC20PermitUpgradeableCaller, error)

NewIERC20PermitUpgradeableCaller creates a new read-only instance of IERC20PermitUpgradeable, bound to a specific deployed contract.

func (*IERC20PermitUpgradeableCaller) DOMAINSEPARATOR

func (_IERC20PermitUpgradeable *IERC20PermitUpgradeableCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*IERC20PermitUpgradeableCaller) Nonces

func (_IERC20PermitUpgradeable *IERC20PermitUpgradeableCaller) Nonces(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

type IERC20PermitUpgradeableCallerRaw

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

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

func (*IERC20PermitUpgradeableCallerRaw) Call

func (_IERC20PermitUpgradeable *IERC20PermitUpgradeableCallerRaw) 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 IERC20PermitUpgradeableCallerSession

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

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

func (*IERC20PermitUpgradeableCallerSession) DOMAINSEPARATOR

func (_IERC20PermitUpgradeable *IERC20PermitUpgradeableCallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*IERC20PermitUpgradeableCallerSession) Nonces

func (_IERC20PermitUpgradeable *IERC20PermitUpgradeableCallerSession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

type IERC20PermitUpgradeableFilterer

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

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

func NewIERC20PermitUpgradeableFilterer

func NewIERC20PermitUpgradeableFilterer(address common.Address, filterer bind.ContractFilterer) (*IERC20PermitUpgradeableFilterer, error)

NewIERC20PermitUpgradeableFilterer creates a new log filterer instance of IERC20PermitUpgradeable, bound to a specific deployed contract.

type IERC20PermitUpgradeableRaw

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

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

func (*IERC20PermitUpgradeableRaw) Call

func (_IERC20PermitUpgradeable *IERC20PermitUpgradeableRaw) 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 (*IERC20PermitUpgradeableRaw) Transact

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

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

func (*IERC20PermitUpgradeableRaw) Transfer

func (_IERC20PermitUpgradeable *IERC20PermitUpgradeableRaw) 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 IERC20PermitUpgradeableSession

type IERC20PermitUpgradeableSession struct {
	Contract     *IERC20PermitUpgradeable // 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
}

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

func (*IERC20PermitUpgradeableSession) DOMAINSEPARATOR

func (_IERC20PermitUpgradeable *IERC20PermitUpgradeableSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*IERC20PermitUpgradeableSession) Nonces

func (_IERC20PermitUpgradeable *IERC20PermitUpgradeableSession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*IERC20PermitUpgradeableSession) Permit

func (_IERC20PermitUpgradeable *IERC20PermitUpgradeableSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

type IERC20PermitUpgradeableTransactor

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

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

func NewIERC20PermitUpgradeableTransactor

func NewIERC20PermitUpgradeableTransactor(address common.Address, transactor bind.ContractTransactor) (*IERC20PermitUpgradeableTransactor, error)

NewIERC20PermitUpgradeableTransactor creates a new write-only instance of IERC20PermitUpgradeable, bound to a specific deployed contract.

func (*IERC20PermitUpgradeableTransactor) Permit

func (_IERC20PermitUpgradeable *IERC20PermitUpgradeableTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

type IERC20PermitUpgradeableTransactorRaw

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

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

func (*IERC20PermitUpgradeableTransactorRaw) Transact

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

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

func (*IERC20PermitUpgradeableTransactorRaw) Transfer

func (_IERC20PermitUpgradeable *IERC20PermitUpgradeableTransactorRaw) 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 IERC20PermitUpgradeableTransactorSession

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

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

func (*IERC20PermitUpgradeableTransactorSession) Permit

func (_IERC20PermitUpgradeable *IERC20PermitUpgradeableTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

type IERC20Upgradeable

type IERC20Upgradeable struct {
	IERC20UpgradeableCaller     // Read-only binding to the contract
	IERC20UpgradeableTransactor // Write-only binding to the contract
	IERC20UpgradeableFilterer   // Log filterer for contract events
}

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

func NewIERC20Upgradeable

func NewIERC20Upgradeable(address common.Address, backend bind.ContractBackend) (*IERC20Upgradeable, error)

NewIERC20Upgradeable creates a new instance of IERC20Upgradeable, bound to a specific deployed contract.

type IERC20UpgradeableApproval

type IERC20UpgradeableApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

IERC20UpgradeableApproval represents a Approval event raised by the IERC20Upgradeable contract.

type IERC20UpgradeableApprovalIterator

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

IERC20UpgradeableApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the IERC20Upgradeable contract.

func (*IERC20UpgradeableApprovalIterator) Close

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

func (*IERC20UpgradeableApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC20UpgradeableApprovalIterator) 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 IERC20UpgradeableCaller

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

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

func NewIERC20UpgradeableCaller

func NewIERC20UpgradeableCaller(address common.Address, caller bind.ContractCaller) (*IERC20UpgradeableCaller, error)

NewIERC20UpgradeableCaller creates a new read-only instance of IERC20Upgradeable, bound to a specific deployed contract.

func (*IERC20UpgradeableCaller) Allowance

func (_IERC20Upgradeable *IERC20UpgradeableCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*IERC20UpgradeableCaller) BalanceOf

func (_IERC20Upgradeable *IERC20UpgradeableCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*IERC20UpgradeableCaller) TotalSupply

func (_IERC20Upgradeable *IERC20UpgradeableCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type IERC20UpgradeableCallerRaw

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

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

func (*IERC20UpgradeableCallerRaw) Call

func (_IERC20Upgradeable *IERC20UpgradeableCallerRaw) 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 IERC20UpgradeableCallerSession

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

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

func (*IERC20UpgradeableCallerSession) Allowance

func (_IERC20Upgradeable *IERC20UpgradeableCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*IERC20UpgradeableCallerSession) BalanceOf

func (_IERC20Upgradeable *IERC20UpgradeableCallerSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*IERC20UpgradeableCallerSession) TotalSupply

func (_IERC20Upgradeable *IERC20UpgradeableCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type IERC20UpgradeableFilterer

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

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

func NewIERC20UpgradeableFilterer

func NewIERC20UpgradeableFilterer(address common.Address, filterer bind.ContractFilterer) (*IERC20UpgradeableFilterer, error)

NewIERC20UpgradeableFilterer creates a new log filterer instance of IERC20Upgradeable, bound to a specific deployed contract.

func (*IERC20UpgradeableFilterer) FilterApproval

func (_IERC20Upgradeable *IERC20UpgradeableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20UpgradeableApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IERC20UpgradeableFilterer) FilterTransfer

func (_IERC20Upgradeable *IERC20UpgradeableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20UpgradeableTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IERC20UpgradeableFilterer) ParseApproval

func (_IERC20Upgradeable *IERC20UpgradeableFilterer) ParseApproval(log types.Log) (*IERC20UpgradeableApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IERC20UpgradeableFilterer) ParseTransfer

func (_IERC20Upgradeable *IERC20UpgradeableFilterer) ParseTransfer(log types.Log) (*IERC20UpgradeableTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IERC20UpgradeableFilterer) WatchApproval

func (_IERC20Upgradeable *IERC20UpgradeableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20UpgradeableApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IERC20UpgradeableFilterer) WatchTransfer

func (_IERC20Upgradeable *IERC20UpgradeableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20UpgradeableTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type IERC20UpgradeableRaw

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

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

func (*IERC20UpgradeableRaw) Call

func (_IERC20Upgradeable *IERC20UpgradeableRaw) 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 (*IERC20UpgradeableRaw) Transact

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

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

func (*IERC20UpgradeableRaw) Transfer

func (_IERC20Upgradeable *IERC20UpgradeableRaw) 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 IERC20UpgradeableSession

type IERC20UpgradeableSession struct {
	Contract     *IERC20Upgradeable // 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
}

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

func (*IERC20UpgradeableSession) Allowance

func (_IERC20Upgradeable *IERC20UpgradeableSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*IERC20UpgradeableSession) Approve

func (_IERC20Upgradeable *IERC20UpgradeableSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IERC20UpgradeableSession) BalanceOf

func (_IERC20Upgradeable *IERC20UpgradeableSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*IERC20UpgradeableSession) TotalSupply

func (_IERC20Upgradeable *IERC20UpgradeableSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*IERC20UpgradeableSession) Transfer

func (_IERC20Upgradeable *IERC20UpgradeableSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*IERC20UpgradeableSession) TransferFrom

func (_IERC20Upgradeable *IERC20UpgradeableSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type IERC20UpgradeableTransactor

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

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

func NewIERC20UpgradeableTransactor

func NewIERC20UpgradeableTransactor(address common.Address, transactor bind.ContractTransactor) (*IERC20UpgradeableTransactor, error)

NewIERC20UpgradeableTransactor creates a new write-only instance of IERC20Upgradeable, bound to a specific deployed contract.

func (*IERC20UpgradeableTransactor) Approve

func (_IERC20Upgradeable *IERC20UpgradeableTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IERC20UpgradeableTransactor) Transfer

func (_IERC20Upgradeable *IERC20UpgradeableTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*IERC20UpgradeableTransactor) TransferFrom

func (_IERC20Upgradeable *IERC20UpgradeableTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type IERC20UpgradeableTransactorRaw

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

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

func (*IERC20UpgradeableTransactorRaw) Transact

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

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

func (*IERC20UpgradeableTransactorRaw) Transfer

func (_IERC20Upgradeable *IERC20UpgradeableTransactorRaw) 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 IERC20UpgradeableTransactorSession

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

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

func (*IERC20UpgradeableTransactorSession) Approve

func (_IERC20Upgradeable *IERC20UpgradeableTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IERC20UpgradeableTransactorSession) Transfer

func (_IERC20Upgradeable *IERC20UpgradeableTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*IERC20UpgradeableTransactorSession) TransferFrom

func (_IERC20Upgradeable *IERC20UpgradeableTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type IERC20UpgradeableTransfer

type IERC20UpgradeableTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

IERC20UpgradeableTransfer represents a Transfer event raised by the IERC20Upgradeable contract.

type IERC20UpgradeableTransferIterator

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

IERC20UpgradeableTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the IERC20Upgradeable contract.

func (*IERC20UpgradeableTransferIterator) Close

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

func (*IERC20UpgradeableTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC20UpgradeableTransferIterator) 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 IL1ERC20Gateway

type IL1ERC20Gateway struct {
	IL1ERC20GatewayCaller     // Read-only binding to the contract
	IL1ERC20GatewayTransactor // Write-only binding to the contract
	IL1ERC20GatewayFilterer   // Log filterer for contract events
}

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

func NewIL1ERC20Gateway

func NewIL1ERC20Gateway(address common.Address, backend bind.ContractBackend) (*IL1ERC20Gateway, error)

NewIL1ERC20Gateway creates a new instance of IL1ERC20Gateway, bound to a specific deployed contract.

type IL1ERC20GatewayCaller

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

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

func NewIL1ERC20GatewayCaller

func NewIL1ERC20GatewayCaller(address common.Address, caller bind.ContractCaller) (*IL1ERC20GatewayCaller, error)

NewIL1ERC20GatewayCaller creates a new read-only instance of IL1ERC20Gateway, bound to a specific deployed contract.

func (*IL1ERC20GatewayCaller) GetL2ERC20Address

func (_IL1ERC20Gateway *IL1ERC20GatewayCaller) GetL2ERC20Address(opts *bind.CallOpts, _l1Token common.Address) (common.Address, error)

GetL2ERC20Address is a free data retrieval call binding the contract method 0xc676ad29.

Solidity: function getL2ERC20Address(address _l1Token) view returns(address)

type IL1ERC20GatewayCallerRaw

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

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

func (*IL1ERC20GatewayCallerRaw) Call

func (_IL1ERC20Gateway *IL1ERC20GatewayCallerRaw) 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 IL1ERC20GatewayCallerSession

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

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

func (*IL1ERC20GatewayCallerSession) GetL2ERC20Address

func (_IL1ERC20Gateway *IL1ERC20GatewayCallerSession) GetL2ERC20Address(_l1Token common.Address) (common.Address, error)

GetL2ERC20Address is a free data retrieval call binding the contract method 0xc676ad29.

Solidity: function getL2ERC20Address(address _l1Token) view returns(address)

type IL1ERC20GatewayDepositERC20

type IL1ERC20GatewayDepositERC20 struct {
	L1Token common.Address
	L2Token common.Address
	From    common.Address
	To      common.Address
	Amount  *big.Int
	Data    []byte
	Raw     types.Log // Blockchain specific contextual infos
}

IL1ERC20GatewayDepositERC20 represents a DepositERC20 event raised by the IL1ERC20Gateway contract.

type IL1ERC20GatewayDepositERC20Iterator

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

IL1ERC20GatewayDepositERC20Iterator is returned from FilterDepositERC20 and is used to iterate over the raw logs and unpacked data for DepositERC20 events raised by the IL1ERC20Gateway contract.

func (*IL1ERC20GatewayDepositERC20Iterator) Close

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

func (*IL1ERC20GatewayDepositERC20Iterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IL1ERC20GatewayDepositERC20Iterator) 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 IL1ERC20GatewayFilterer

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

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

func NewIL1ERC20GatewayFilterer

func NewIL1ERC20GatewayFilterer(address common.Address, filterer bind.ContractFilterer) (*IL1ERC20GatewayFilterer, error)

NewIL1ERC20GatewayFilterer creates a new log filterer instance of IL1ERC20Gateway, bound to a specific deployed contract.

func (*IL1ERC20GatewayFilterer) FilterDepositERC20

func (_IL1ERC20Gateway *IL1ERC20GatewayFilterer) FilterDepositERC20(opts *bind.FilterOpts, l1Token []common.Address, l2Token []common.Address, from []common.Address) (*IL1ERC20GatewayDepositERC20Iterator, error)

FilterDepositERC20 is a free log retrieval operation binding the contract event 0x31cd3b976e4d654022bf95c68a2ce53f1d5d94afabe0454d2832208eeb40af25.

Solidity: event DepositERC20(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes data)

func (*IL1ERC20GatewayFilterer) FilterFinalizeWithdrawERC20

func (_IL1ERC20Gateway *IL1ERC20GatewayFilterer) FilterFinalizeWithdrawERC20(opts *bind.FilterOpts, l1Token []common.Address, l2Token []common.Address, from []common.Address) (*IL1ERC20GatewayFinalizeWithdrawERC20Iterator, error)

FilterFinalizeWithdrawERC20 is a free log retrieval operation binding the contract event 0xc6f985873b37805705f6bce756dce3d1ff4b603e298d506288cce499926846a7.

Solidity: event FinalizeWithdrawERC20(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes data)

func (*IL1ERC20GatewayFilterer) FilterRefundERC20

func (_IL1ERC20Gateway *IL1ERC20GatewayFilterer) FilterRefundERC20(opts *bind.FilterOpts, token []common.Address, recipient []common.Address) (*IL1ERC20GatewayRefundERC20Iterator, error)

FilterRefundERC20 is a free log retrieval operation binding the contract event 0xdbdf8eb487847e4c0f22847f5dac07f2d3690f96f581a6ae4b102769917645a8.

Solidity: event RefundERC20(address indexed token, address indexed recipient, uint256 amount)

func (*IL1ERC20GatewayFilterer) ParseDepositERC20

func (_IL1ERC20Gateway *IL1ERC20GatewayFilterer) ParseDepositERC20(log types.Log) (*IL1ERC20GatewayDepositERC20, error)

ParseDepositERC20 is a log parse operation binding the contract event 0x31cd3b976e4d654022bf95c68a2ce53f1d5d94afabe0454d2832208eeb40af25.

Solidity: event DepositERC20(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes data)

func (*IL1ERC20GatewayFilterer) ParseFinalizeWithdrawERC20

func (_IL1ERC20Gateway *IL1ERC20GatewayFilterer) ParseFinalizeWithdrawERC20(log types.Log) (*IL1ERC20GatewayFinalizeWithdrawERC20, error)

ParseFinalizeWithdrawERC20 is a log parse operation binding the contract event 0xc6f985873b37805705f6bce756dce3d1ff4b603e298d506288cce499926846a7.

Solidity: event FinalizeWithdrawERC20(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes data)

func (*IL1ERC20GatewayFilterer) ParseRefundERC20

func (_IL1ERC20Gateway *IL1ERC20GatewayFilterer) ParseRefundERC20(log types.Log) (*IL1ERC20GatewayRefundERC20, error)

ParseRefundERC20 is a log parse operation binding the contract event 0xdbdf8eb487847e4c0f22847f5dac07f2d3690f96f581a6ae4b102769917645a8.

Solidity: event RefundERC20(address indexed token, address indexed recipient, uint256 amount)

func (*IL1ERC20GatewayFilterer) WatchDepositERC20

func (_IL1ERC20Gateway *IL1ERC20GatewayFilterer) WatchDepositERC20(opts *bind.WatchOpts, sink chan<- *IL1ERC20GatewayDepositERC20, l1Token []common.Address, l2Token []common.Address, from []common.Address) (event.Subscription, error)

WatchDepositERC20 is a free log subscription operation binding the contract event 0x31cd3b976e4d654022bf95c68a2ce53f1d5d94afabe0454d2832208eeb40af25.

Solidity: event DepositERC20(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes data)

func (*IL1ERC20GatewayFilterer) WatchFinalizeWithdrawERC20

func (_IL1ERC20Gateway *IL1ERC20GatewayFilterer) WatchFinalizeWithdrawERC20(opts *bind.WatchOpts, sink chan<- *IL1ERC20GatewayFinalizeWithdrawERC20, l1Token []common.Address, l2Token []common.Address, from []common.Address) (event.Subscription, error)

WatchFinalizeWithdrawERC20 is a free log subscription operation binding the contract event 0xc6f985873b37805705f6bce756dce3d1ff4b603e298d506288cce499926846a7.

Solidity: event FinalizeWithdrawERC20(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes data)

func (*IL1ERC20GatewayFilterer) WatchRefundERC20

func (_IL1ERC20Gateway *IL1ERC20GatewayFilterer) WatchRefundERC20(opts *bind.WatchOpts, sink chan<- *IL1ERC20GatewayRefundERC20, token []common.Address, recipient []common.Address) (event.Subscription, error)

WatchRefundERC20 is a free log subscription operation binding the contract event 0xdbdf8eb487847e4c0f22847f5dac07f2d3690f96f581a6ae4b102769917645a8.

Solidity: event RefundERC20(address indexed token, address indexed recipient, uint256 amount)

type IL1ERC20GatewayFinalizeWithdrawERC20

type IL1ERC20GatewayFinalizeWithdrawERC20 struct {
	L1Token common.Address
	L2Token common.Address
	From    common.Address
	To      common.Address
	Amount  *big.Int
	Data    []byte
	Raw     types.Log // Blockchain specific contextual infos
}

IL1ERC20GatewayFinalizeWithdrawERC20 represents a FinalizeWithdrawERC20 event raised by the IL1ERC20Gateway contract.

type IL1ERC20GatewayFinalizeWithdrawERC20Iterator

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

IL1ERC20GatewayFinalizeWithdrawERC20Iterator is returned from FilterFinalizeWithdrawERC20 and is used to iterate over the raw logs and unpacked data for FinalizeWithdrawERC20 events raised by the IL1ERC20Gateway contract.

func (*IL1ERC20GatewayFinalizeWithdrawERC20Iterator) Close

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

func (*IL1ERC20GatewayFinalizeWithdrawERC20Iterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IL1ERC20GatewayFinalizeWithdrawERC20Iterator) 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 IL1ERC20GatewayRaw

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

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

func (*IL1ERC20GatewayRaw) Call

func (_IL1ERC20Gateway *IL1ERC20GatewayRaw) 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 (*IL1ERC20GatewayRaw) Transact

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

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

func (*IL1ERC20GatewayRaw) Transfer

func (_IL1ERC20Gateway *IL1ERC20GatewayRaw) 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 IL1ERC20GatewayRefundERC20

type IL1ERC20GatewayRefundERC20 struct {
	Token     common.Address
	Recipient common.Address
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

IL1ERC20GatewayRefundERC20 represents a RefundERC20 event raised by the IL1ERC20Gateway contract.

type IL1ERC20GatewayRefundERC20Iterator

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

IL1ERC20GatewayRefundERC20Iterator is returned from FilterRefundERC20 and is used to iterate over the raw logs and unpacked data for RefundERC20 events raised by the IL1ERC20Gateway contract.

func (*IL1ERC20GatewayRefundERC20Iterator) Close

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

func (*IL1ERC20GatewayRefundERC20Iterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IL1ERC20GatewayRefundERC20Iterator) 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 IL1ERC20GatewaySession

type IL1ERC20GatewaySession struct {
	Contract     *IL1ERC20Gateway  // 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
}

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

func (*IL1ERC20GatewaySession) DepositERC20

func (_IL1ERC20Gateway *IL1ERC20GatewaySession) DepositERC20(_token common.Address, _amount *big.Int, _gasLimit *big.Int) (*types.Transaction, error)

DepositERC20 is a paid mutator transaction binding the contract method 0x21425ee0.

Solidity: function depositERC20(address _token, uint256 _amount, uint256 _gasLimit) payable returns()

func (*IL1ERC20GatewaySession) DepositERC200

func (_IL1ERC20Gateway *IL1ERC20GatewaySession) DepositERC200(_token common.Address, _to common.Address, _amount *big.Int, _gasLimit *big.Int) (*types.Transaction, error)

DepositERC200 is a paid mutator transaction binding the contract method 0xf219fa66.

Solidity: function depositERC20(address _token, address _to, uint256 _amount, uint256 _gasLimit) payable returns()

func (*IL1ERC20GatewaySession) DepositERC20AndCall

func (_IL1ERC20Gateway *IL1ERC20GatewaySession) DepositERC20AndCall(_token common.Address, _to common.Address, _amount *big.Int, _data []byte, _gasLimit *big.Int) (*types.Transaction, error)

DepositERC20AndCall is a paid mutator transaction binding the contract method 0x0aea8c26.

Solidity: function depositERC20AndCall(address _token, address _to, uint256 _amount, bytes _data, uint256 _gasLimit) payable returns()

func (*IL1ERC20GatewaySession) FinalizeWithdrawERC20

func (_IL1ERC20Gateway *IL1ERC20GatewaySession) FinalizeWithdrawERC20(_l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)

FinalizeWithdrawERC20 is a paid mutator transaction binding the contract method 0x84bd13b0.

Solidity: function finalizeWithdrawERC20(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _data) payable returns()

func (*IL1ERC20GatewaySession) GetL2ERC20Address

func (_IL1ERC20Gateway *IL1ERC20GatewaySession) GetL2ERC20Address(_l1Token common.Address) (common.Address, error)

GetL2ERC20Address is a free data retrieval call binding the contract method 0xc676ad29.

Solidity: function getL2ERC20Address(address _l1Token) view returns(address)

type IL1ERC20GatewayTransactor

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

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

func NewIL1ERC20GatewayTransactor

func NewIL1ERC20GatewayTransactor(address common.Address, transactor bind.ContractTransactor) (*IL1ERC20GatewayTransactor, error)

NewIL1ERC20GatewayTransactor creates a new write-only instance of IL1ERC20Gateway, bound to a specific deployed contract.

func (*IL1ERC20GatewayTransactor) DepositERC20

func (_IL1ERC20Gateway *IL1ERC20GatewayTransactor) DepositERC20(opts *bind.TransactOpts, _token common.Address, _amount *big.Int, _gasLimit *big.Int) (*types.Transaction, error)

DepositERC20 is a paid mutator transaction binding the contract method 0x21425ee0.

Solidity: function depositERC20(address _token, uint256 _amount, uint256 _gasLimit) payable returns()

func (*IL1ERC20GatewayTransactor) DepositERC200

func (_IL1ERC20Gateway *IL1ERC20GatewayTransactor) DepositERC200(opts *bind.TransactOpts, _token common.Address, _to common.Address, _amount *big.Int, _gasLimit *big.Int) (*types.Transaction, error)

DepositERC200 is a paid mutator transaction binding the contract method 0xf219fa66.

Solidity: function depositERC20(address _token, address _to, uint256 _amount, uint256 _gasLimit) payable returns()

func (*IL1ERC20GatewayTransactor) DepositERC20AndCall

func (_IL1ERC20Gateway *IL1ERC20GatewayTransactor) DepositERC20AndCall(opts *bind.TransactOpts, _token common.Address, _to common.Address, _amount *big.Int, _data []byte, _gasLimit *big.Int) (*types.Transaction, error)

DepositERC20AndCall is a paid mutator transaction binding the contract method 0x0aea8c26.

Solidity: function depositERC20AndCall(address _token, address _to, uint256 _amount, bytes _data, uint256 _gasLimit) payable returns()

func (*IL1ERC20GatewayTransactor) FinalizeWithdrawERC20

func (_IL1ERC20Gateway *IL1ERC20GatewayTransactor) FinalizeWithdrawERC20(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)

FinalizeWithdrawERC20 is a paid mutator transaction binding the contract method 0x84bd13b0.

Solidity: function finalizeWithdrawERC20(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _data) payable returns()

type IL1ERC20GatewayTransactorRaw

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

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

func (*IL1ERC20GatewayTransactorRaw) Transact

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

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

func (*IL1ERC20GatewayTransactorRaw) Transfer

func (_IL1ERC20Gateway *IL1ERC20GatewayTransactorRaw) 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 IL1ERC20GatewayTransactorSession

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

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

func (*IL1ERC20GatewayTransactorSession) DepositERC20

func (_IL1ERC20Gateway *IL1ERC20GatewayTransactorSession) DepositERC20(_token common.Address, _amount *big.Int, _gasLimit *big.Int) (*types.Transaction, error)

DepositERC20 is a paid mutator transaction binding the contract method 0x21425ee0.

Solidity: function depositERC20(address _token, uint256 _amount, uint256 _gasLimit) payable returns()

func (*IL1ERC20GatewayTransactorSession) DepositERC200

func (_IL1ERC20Gateway *IL1ERC20GatewayTransactorSession) DepositERC200(_token common.Address, _to common.Address, _amount *big.Int, _gasLimit *big.Int) (*types.Transaction, error)

DepositERC200 is a paid mutator transaction binding the contract method 0xf219fa66.

Solidity: function depositERC20(address _token, address _to, uint256 _amount, uint256 _gasLimit) payable returns()

func (*IL1ERC20GatewayTransactorSession) DepositERC20AndCall

func (_IL1ERC20Gateway *IL1ERC20GatewayTransactorSession) DepositERC20AndCall(_token common.Address, _to common.Address, _amount *big.Int, _data []byte, _gasLimit *big.Int) (*types.Transaction, error)

DepositERC20AndCall is a paid mutator transaction binding the contract method 0x0aea8c26.

Solidity: function depositERC20AndCall(address _token, address _to, uint256 _amount, bytes _data, uint256 _gasLimit) payable returns()

func (*IL1ERC20GatewayTransactorSession) FinalizeWithdrawERC20

func (_IL1ERC20Gateway *IL1ERC20GatewayTransactorSession) FinalizeWithdrawERC20(_l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)

FinalizeWithdrawERC20 is a paid mutator transaction binding the contract method 0x84bd13b0.

Solidity: function finalizeWithdrawERC20(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _data) payable returns()

type IL1ETHGateway

type IL1ETHGateway struct {
	IL1ETHGatewayCaller     // Read-only binding to the contract
	IL1ETHGatewayTransactor // Write-only binding to the contract
	IL1ETHGatewayFilterer   // Log filterer for contract events
}

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

func NewIL1ETHGateway

func NewIL1ETHGateway(address common.Address, backend bind.ContractBackend) (*IL1ETHGateway, error)

NewIL1ETHGateway creates a new instance of IL1ETHGateway, bound to a specific deployed contract.

type IL1ETHGatewayCaller

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

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

func NewIL1ETHGatewayCaller

func NewIL1ETHGatewayCaller(address common.Address, caller bind.ContractCaller) (*IL1ETHGatewayCaller, error)

NewIL1ETHGatewayCaller creates a new read-only instance of IL1ETHGateway, bound to a specific deployed contract.

type IL1ETHGatewayCallerRaw

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

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

func (*IL1ETHGatewayCallerRaw) Call

func (_IL1ETHGateway *IL1ETHGatewayCallerRaw) 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 IL1ETHGatewayCallerSession

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

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

type IL1ETHGatewayDepositETH

type IL1ETHGatewayDepositETH struct {
	From   common.Address
	To     common.Address
	Amount *big.Int
	Data   []byte
	Raw    types.Log // Blockchain specific contextual infos
}

IL1ETHGatewayDepositETH represents a DepositETH event raised by the IL1ETHGateway contract.

type IL1ETHGatewayDepositETHIterator

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

IL1ETHGatewayDepositETHIterator is returned from FilterDepositETH and is used to iterate over the raw logs and unpacked data for DepositETH events raised by the IL1ETHGateway contract.

func (*IL1ETHGatewayDepositETHIterator) Close

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

func (*IL1ETHGatewayDepositETHIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IL1ETHGatewayDepositETHIterator) 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 IL1ETHGatewayFilterer

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

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

func NewIL1ETHGatewayFilterer

func NewIL1ETHGatewayFilterer(address common.Address, filterer bind.ContractFilterer) (*IL1ETHGatewayFilterer, error)

NewIL1ETHGatewayFilterer creates a new log filterer instance of IL1ETHGateway, bound to a specific deployed contract.

func (*IL1ETHGatewayFilterer) FilterDepositETH

func (_IL1ETHGateway *IL1ETHGatewayFilterer) FilterDepositETH(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IL1ETHGatewayDepositETHIterator, error)

FilterDepositETH is a free log retrieval operation binding the contract event 0x6670de856ec8bf5cb2b7e957c5dc24759716056f79d97ea5e7c939ca0ba5a675.

Solidity: event DepositETH(address indexed from, address indexed to, uint256 amount, bytes data)

func (*IL1ETHGatewayFilterer) FilterFinalizeWithdrawETH

func (_IL1ETHGateway *IL1ETHGatewayFilterer) FilterFinalizeWithdrawETH(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IL1ETHGatewayFinalizeWithdrawETHIterator, error)

FilterFinalizeWithdrawETH is a free log retrieval operation binding the contract event 0x96db5d1cee1dd2760826bb56fabd9c9f6e978083e0a8b88559c741a29e9746e7.

Solidity: event FinalizeWithdrawETH(address indexed from, address indexed to, uint256 amount, bytes data)

func (*IL1ETHGatewayFilterer) FilterRefundETH

func (_IL1ETHGateway *IL1ETHGatewayFilterer) FilterRefundETH(opts *bind.FilterOpts, recipient []common.Address) (*IL1ETHGatewayRefundETHIterator, error)

FilterRefundETH is a free log retrieval operation binding the contract event 0x289360176646a5f99cb4b6300628426dca46b723f40db3c04449d6ed1745a0e7.

Solidity: event RefundETH(address indexed recipient, uint256 amount)

func (*IL1ETHGatewayFilterer) ParseDepositETH

func (_IL1ETHGateway *IL1ETHGatewayFilterer) ParseDepositETH(log types.Log) (*IL1ETHGatewayDepositETH, error)

ParseDepositETH is a log parse operation binding the contract event 0x6670de856ec8bf5cb2b7e957c5dc24759716056f79d97ea5e7c939ca0ba5a675.

Solidity: event DepositETH(address indexed from, address indexed to, uint256 amount, bytes data)

func (*IL1ETHGatewayFilterer) ParseFinalizeWithdrawETH

func (_IL1ETHGateway *IL1ETHGatewayFilterer) ParseFinalizeWithdrawETH(log types.Log) (*IL1ETHGatewayFinalizeWithdrawETH, error)

ParseFinalizeWithdrawETH is a log parse operation binding the contract event 0x96db5d1cee1dd2760826bb56fabd9c9f6e978083e0a8b88559c741a29e9746e7.

Solidity: event FinalizeWithdrawETH(address indexed from, address indexed to, uint256 amount, bytes data)

func (*IL1ETHGatewayFilterer) ParseRefundETH

func (_IL1ETHGateway *IL1ETHGatewayFilterer) ParseRefundETH(log types.Log) (*IL1ETHGatewayRefundETH, error)

ParseRefundETH is a log parse operation binding the contract event 0x289360176646a5f99cb4b6300628426dca46b723f40db3c04449d6ed1745a0e7.

Solidity: event RefundETH(address indexed recipient, uint256 amount)

func (*IL1ETHGatewayFilterer) WatchDepositETH

func (_IL1ETHGateway *IL1ETHGatewayFilterer) WatchDepositETH(opts *bind.WatchOpts, sink chan<- *IL1ETHGatewayDepositETH, from []common.Address, to []common.Address) (event.Subscription, error)

WatchDepositETH is a free log subscription operation binding the contract event 0x6670de856ec8bf5cb2b7e957c5dc24759716056f79d97ea5e7c939ca0ba5a675.

Solidity: event DepositETH(address indexed from, address indexed to, uint256 amount, bytes data)

func (*IL1ETHGatewayFilterer) WatchFinalizeWithdrawETH

func (_IL1ETHGateway *IL1ETHGatewayFilterer) WatchFinalizeWithdrawETH(opts *bind.WatchOpts, sink chan<- *IL1ETHGatewayFinalizeWithdrawETH, from []common.Address, to []common.Address) (event.Subscription, error)

WatchFinalizeWithdrawETH is a free log subscription operation binding the contract event 0x96db5d1cee1dd2760826bb56fabd9c9f6e978083e0a8b88559c741a29e9746e7.

Solidity: event FinalizeWithdrawETH(address indexed from, address indexed to, uint256 amount, bytes data)

func (*IL1ETHGatewayFilterer) WatchRefundETH

func (_IL1ETHGateway *IL1ETHGatewayFilterer) WatchRefundETH(opts *bind.WatchOpts, sink chan<- *IL1ETHGatewayRefundETH, recipient []common.Address) (event.Subscription, error)

WatchRefundETH is a free log subscription operation binding the contract event 0x289360176646a5f99cb4b6300628426dca46b723f40db3c04449d6ed1745a0e7.

Solidity: event RefundETH(address indexed recipient, uint256 amount)

type IL1ETHGatewayFinalizeWithdrawETH

type IL1ETHGatewayFinalizeWithdrawETH struct {
	From   common.Address
	To     common.Address
	Amount *big.Int
	Data   []byte
	Raw    types.Log // Blockchain specific contextual infos
}

IL1ETHGatewayFinalizeWithdrawETH represents a FinalizeWithdrawETH event raised by the IL1ETHGateway contract.

type IL1ETHGatewayFinalizeWithdrawETHIterator

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

IL1ETHGatewayFinalizeWithdrawETHIterator is returned from FilterFinalizeWithdrawETH and is used to iterate over the raw logs and unpacked data for FinalizeWithdrawETH events raised by the IL1ETHGateway contract.

func (*IL1ETHGatewayFinalizeWithdrawETHIterator) Close

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

func (*IL1ETHGatewayFinalizeWithdrawETHIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IL1ETHGatewayFinalizeWithdrawETHIterator) 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 IL1ETHGatewayRaw

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

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

func (*IL1ETHGatewayRaw) Call

func (_IL1ETHGateway *IL1ETHGatewayRaw) 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 (*IL1ETHGatewayRaw) Transact

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

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

func (*IL1ETHGatewayRaw) Transfer

func (_IL1ETHGateway *IL1ETHGatewayRaw) 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 IL1ETHGatewayRefundETH

type IL1ETHGatewayRefundETH struct {
	Recipient common.Address
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

IL1ETHGatewayRefundETH represents a RefundETH event raised by the IL1ETHGateway contract.

type IL1ETHGatewayRefundETHIterator

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

IL1ETHGatewayRefundETHIterator is returned from FilterRefundETH and is used to iterate over the raw logs and unpacked data for RefundETH events raised by the IL1ETHGateway contract.

func (*IL1ETHGatewayRefundETHIterator) Close

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

func (*IL1ETHGatewayRefundETHIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IL1ETHGatewayRefundETHIterator) 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 IL1ETHGatewaySession

type IL1ETHGatewaySession struct {
	Contract     *IL1ETHGateway    // 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
}

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

func (*IL1ETHGatewaySession) DepositETH

func (_IL1ETHGateway *IL1ETHGatewaySession) DepositETH(amount *big.Int, gasLimit *big.Int) (*types.Transaction, error)

DepositETH is a paid mutator transaction binding the contract method 0x9f8420b3.

Solidity: function depositETH(uint256 amount, uint256 gasLimit) payable returns()

func (*IL1ETHGatewaySession) DepositETH0

func (_IL1ETHGateway *IL1ETHGatewaySession) DepositETH0(to common.Address, amount *big.Int, gasLimit *big.Int) (*types.Transaction, error)

DepositETH0 is a paid mutator transaction binding the contract method 0xce0b63ce.

Solidity: function depositETH(address to, uint256 amount, uint256 gasLimit) payable returns()

func (*IL1ETHGatewaySession) DepositETHAndCall

func (_IL1ETHGateway *IL1ETHGatewaySession) DepositETHAndCall(to common.Address, amount *big.Int, data []byte, gasLimit *big.Int) (*types.Transaction, error)

DepositETHAndCall is a paid mutator transaction binding the contract method 0xaac476f8.

Solidity: function depositETHAndCall(address to, uint256 amount, bytes data, uint256 gasLimit) payable returns()

func (*IL1ETHGatewaySession) FinalizeWithdrawETH

func (_IL1ETHGateway *IL1ETHGatewaySession) FinalizeWithdrawETH(from common.Address, to common.Address, amount *big.Int, data []byte) (*types.Transaction, error)

FinalizeWithdrawETH is a paid mutator transaction binding the contract method 0x8eaac8a3.

Solidity: function finalizeWithdrawETH(address from, address to, uint256 amount, bytes data) payable returns()

type IL1ETHGatewayTransactor

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

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

func NewIL1ETHGatewayTransactor

func NewIL1ETHGatewayTransactor(address common.Address, transactor bind.ContractTransactor) (*IL1ETHGatewayTransactor, error)

NewIL1ETHGatewayTransactor creates a new write-only instance of IL1ETHGateway, bound to a specific deployed contract.

func (*IL1ETHGatewayTransactor) DepositETH

func (_IL1ETHGateway *IL1ETHGatewayTransactor) DepositETH(opts *bind.TransactOpts, amount *big.Int, gasLimit *big.Int) (*types.Transaction, error)

DepositETH is a paid mutator transaction binding the contract method 0x9f8420b3.

Solidity: function depositETH(uint256 amount, uint256 gasLimit) payable returns()

func (*IL1ETHGatewayTransactor) DepositETH0

func (_IL1ETHGateway *IL1ETHGatewayTransactor) DepositETH0(opts *bind.TransactOpts, to common.Address, amount *big.Int, gasLimit *big.Int) (*types.Transaction, error)

DepositETH0 is a paid mutator transaction binding the contract method 0xce0b63ce.

Solidity: function depositETH(address to, uint256 amount, uint256 gasLimit) payable returns()

func (*IL1ETHGatewayTransactor) DepositETHAndCall

func (_IL1ETHGateway *IL1ETHGatewayTransactor) DepositETHAndCall(opts *bind.TransactOpts, to common.Address, amount *big.Int, data []byte, gasLimit *big.Int) (*types.Transaction, error)

DepositETHAndCall is a paid mutator transaction binding the contract method 0xaac476f8.

Solidity: function depositETHAndCall(address to, uint256 amount, bytes data, uint256 gasLimit) payable returns()

func (*IL1ETHGatewayTransactor) FinalizeWithdrawETH

func (_IL1ETHGateway *IL1ETHGatewayTransactor) FinalizeWithdrawETH(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int, data []byte) (*types.Transaction, error)

FinalizeWithdrawETH is a paid mutator transaction binding the contract method 0x8eaac8a3.

Solidity: function finalizeWithdrawETH(address from, address to, uint256 amount, bytes data) payable returns()

type IL1ETHGatewayTransactorRaw

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

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

func (*IL1ETHGatewayTransactorRaw) Transact

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

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

func (*IL1ETHGatewayTransactorRaw) Transfer

func (_IL1ETHGateway *IL1ETHGatewayTransactorRaw) 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 IL1ETHGatewayTransactorSession

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

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

func (*IL1ETHGatewayTransactorSession) DepositETH

func (_IL1ETHGateway *IL1ETHGatewayTransactorSession) DepositETH(amount *big.Int, gasLimit *big.Int) (*types.Transaction, error)

DepositETH is a paid mutator transaction binding the contract method 0x9f8420b3.

Solidity: function depositETH(uint256 amount, uint256 gasLimit) payable returns()

func (*IL1ETHGatewayTransactorSession) DepositETH0

func (_IL1ETHGateway *IL1ETHGatewayTransactorSession) DepositETH0(to common.Address, amount *big.Int, gasLimit *big.Int) (*types.Transaction, error)

DepositETH0 is a paid mutator transaction binding the contract method 0xce0b63ce.

Solidity: function depositETH(address to, uint256 amount, uint256 gasLimit) payable returns()

func (*IL1ETHGatewayTransactorSession) DepositETHAndCall

func (_IL1ETHGateway *IL1ETHGatewayTransactorSession) DepositETHAndCall(to common.Address, amount *big.Int, data []byte, gasLimit *big.Int) (*types.Transaction, error)

DepositETHAndCall is a paid mutator transaction binding the contract method 0xaac476f8.

Solidity: function depositETHAndCall(address to, uint256 amount, bytes data, uint256 gasLimit) payable returns()

func (*IL1ETHGatewayTransactorSession) FinalizeWithdrawETH

func (_IL1ETHGateway *IL1ETHGatewayTransactorSession) FinalizeWithdrawETH(from common.Address, to common.Address, amount *big.Int, data []byte) (*types.Transaction, error)

FinalizeWithdrawETH is a paid mutator transaction binding the contract method 0x8eaac8a3.

Solidity: function finalizeWithdrawETH(address from, address to, uint256 amount, bytes data) payable returns()

type IL1GatewayRouter

type IL1GatewayRouter struct {
	IL1GatewayRouterCaller     // Read-only binding to the contract
	IL1GatewayRouterTransactor // Write-only binding to the contract
	IL1GatewayRouterFilterer   // Log filterer for contract events
}

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

func NewIL1GatewayRouter

func NewIL1GatewayRouter(address common.Address, backend bind.ContractBackend) (*IL1GatewayRouter, error)

NewIL1GatewayRouter creates a new instance of IL1GatewayRouter, bound to a specific deployed contract.

type IL1GatewayRouterCaller

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

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

func NewIL1GatewayRouterCaller

func NewIL1GatewayRouterCaller(address common.Address, caller bind.ContractCaller) (*IL1GatewayRouterCaller, error)

NewIL1GatewayRouterCaller creates a new read-only instance of IL1GatewayRouter, bound to a specific deployed contract.

func (*IL1GatewayRouterCaller) GetERC20Gateway

func (_IL1GatewayRouter *IL1GatewayRouterCaller) GetERC20Gateway(opts *bind.CallOpts, _token common.Address) (common.Address, error)

GetERC20Gateway is a free data retrieval call binding the contract method 0x43c66741.

Solidity: function getERC20Gateway(address _token) view returns(address)

func (*IL1GatewayRouterCaller) GetL2ERC20Address

func (_IL1GatewayRouter *IL1GatewayRouterCaller) GetL2ERC20Address(opts *bind.CallOpts, _l1Token common.Address) (common.Address, error)

GetL2ERC20Address is a free data retrieval call binding the contract method 0xc676ad29.

Solidity: function getL2ERC20Address(address _l1Token) view returns(address)

type IL1GatewayRouterCallerRaw

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

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

func (*IL1GatewayRouterCallerRaw) Call

func (_IL1GatewayRouter *IL1GatewayRouterCallerRaw) 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 IL1GatewayRouterCallerSession

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

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

func (*IL1GatewayRouterCallerSession) GetERC20Gateway

func (_IL1GatewayRouter *IL1GatewayRouterCallerSession) GetERC20Gateway(_token common.Address) (common.Address, error)

GetERC20Gateway is a free data retrieval call binding the contract method 0x43c66741.

Solidity: function getERC20Gateway(address _token) view returns(address)

func (*IL1GatewayRouterCallerSession) GetL2ERC20Address

func (_IL1GatewayRouter *IL1GatewayRouterCallerSession) GetL2ERC20Address(_l1Token common.Address) (common.Address, error)

GetL2ERC20Address is a free data retrieval call binding the contract method 0xc676ad29.

Solidity: function getL2ERC20Address(address _l1Token) view returns(address)

type IL1GatewayRouterDepositERC20

type IL1GatewayRouterDepositERC20 struct {
	L1Token common.Address
	L2Token common.Address
	From    common.Address
	To      common.Address
	Amount  *big.Int
	Data    []byte
	Raw     types.Log // Blockchain specific contextual infos
}

IL1GatewayRouterDepositERC20 represents a DepositERC20 event raised by the IL1GatewayRouter contract.

type IL1GatewayRouterDepositERC20Iterator

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

IL1GatewayRouterDepositERC20Iterator is returned from FilterDepositERC20 and is used to iterate over the raw logs and unpacked data for DepositERC20 events raised by the IL1GatewayRouter contract.

func (*IL1GatewayRouterDepositERC20Iterator) Close

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

func (*IL1GatewayRouterDepositERC20Iterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IL1GatewayRouterDepositERC20Iterator) 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 IL1GatewayRouterDepositETH

type IL1GatewayRouterDepositETH struct {
	From   common.Address
	To     common.Address
	Amount *big.Int
	Data   []byte
	Raw    types.Log // Blockchain specific contextual infos
}

IL1GatewayRouterDepositETH represents a DepositETH event raised by the IL1GatewayRouter contract.

type IL1GatewayRouterDepositETHIterator

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

IL1GatewayRouterDepositETHIterator is returned from FilterDepositETH and is used to iterate over the raw logs and unpacked data for DepositETH events raised by the IL1GatewayRouter contract.

func (*IL1GatewayRouterDepositETHIterator) Close

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

func (*IL1GatewayRouterDepositETHIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IL1GatewayRouterDepositETHIterator) 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 IL1GatewayRouterFilterer

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

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

func NewIL1GatewayRouterFilterer

func NewIL1GatewayRouterFilterer(address common.Address, filterer bind.ContractFilterer) (*IL1GatewayRouterFilterer, error)

NewIL1GatewayRouterFilterer creates a new log filterer instance of IL1GatewayRouter, bound to a specific deployed contract.

func (*IL1GatewayRouterFilterer) FilterDepositERC20

func (_IL1GatewayRouter *IL1GatewayRouterFilterer) FilterDepositERC20(opts *bind.FilterOpts, l1Token []common.Address, l2Token []common.Address, from []common.Address) (*IL1GatewayRouterDepositERC20Iterator, error)

FilterDepositERC20 is a free log retrieval operation binding the contract event 0x31cd3b976e4d654022bf95c68a2ce53f1d5d94afabe0454d2832208eeb40af25.

Solidity: event DepositERC20(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes data)

func (*IL1GatewayRouterFilterer) FilterDepositETH

func (_IL1GatewayRouter *IL1GatewayRouterFilterer) FilterDepositETH(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IL1GatewayRouterDepositETHIterator, error)

FilterDepositETH is a free log retrieval operation binding the contract event 0x6670de856ec8bf5cb2b7e957c5dc24759716056f79d97ea5e7c939ca0ba5a675.

Solidity: event DepositETH(address indexed from, address indexed to, uint256 amount, bytes data)

func (*IL1GatewayRouterFilterer) FilterFinalizeWithdrawERC20

func (_IL1GatewayRouter *IL1GatewayRouterFilterer) FilterFinalizeWithdrawERC20(opts *bind.FilterOpts, l1Token []common.Address, l2Token []common.Address, from []common.Address) (*IL1GatewayRouterFinalizeWithdrawERC20Iterator, error)

FilterFinalizeWithdrawERC20 is a free log retrieval operation binding the contract event 0xc6f985873b37805705f6bce756dce3d1ff4b603e298d506288cce499926846a7.

Solidity: event FinalizeWithdrawERC20(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes data)

func (*IL1GatewayRouterFilterer) FilterFinalizeWithdrawETH

func (_IL1GatewayRouter *IL1GatewayRouterFilterer) FilterFinalizeWithdrawETH(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IL1GatewayRouterFinalizeWithdrawETHIterator, error)

FilterFinalizeWithdrawETH is a free log retrieval operation binding the contract event 0x96db5d1cee1dd2760826bb56fabd9c9f6e978083e0a8b88559c741a29e9746e7.

Solidity: event FinalizeWithdrawETH(address indexed from, address indexed to, uint256 amount, bytes data)

func (*IL1GatewayRouterFilterer) FilterRefundERC20

func (_IL1GatewayRouter *IL1GatewayRouterFilterer) FilterRefundERC20(opts *bind.FilterOpts, token []common.Address, recipient []common.Address) (*IL1GatewayRouterRefundERC20Iterator, error)

FilterRefundERC20 is a free log retrieval operation binding the contract event 0xdbdf8eb487847e4c0f22847f5dac07f2d3690f96f581a6ae4b102769917645a8.

Solidity: event RefundERC20(address indexed token, address indexed recipient, uint256 amount)

func (*IL1GatewayRouterFilterer) FilterRefundETH

func (_IL1GatewayRouter *IL1GatewayRouterFilterer) FilterRefundETH(opts *bind.FilterOpts, recipient []common.Address) (*IL1GatewayRouterRefundETHIterator, error)

FilterRefundETH is a free log retrieval operation binding the contract event 0x289360176646a5f99cb4b6300628426dca46b723f40db3c04449d6ed1745a0e7.

Solidity: event RefundETH(address indexed recipient, uint256 amount)

func (*IL1GatewayRouterFilterer) FilterSetDefaultERC20Gateway

func (_IL1GatewayRouter *IL1GatewayRouterFilterer) FilterSetDefaultERC20Gateway(opts *bind.FilterOpts, oldDefaultERC20Gateway []common.Address, newDefaultERC20Gateway []common.Address) (*IL1GatewayRouterSetDefaultERC20GatewayIterator, error)

FilterSetDefaultERC20Gateway is a free log retrieval operation binding the contract event 0x2904fcae71038f87b116fd2875871e153722cabddd71de1b77473de263cd74d1.

Solidity: event SetDefaultERC20Gateway(address indexed oldDefaultERC20Gateway, address indexed newDefaultERC20Gateway)

func (*IL1GatewayRouterFilterer) FilterSetERC20Gateway

func (_IL1GatewayRouter *IL1GatewayRouterFilterer) FilterSetERC20Gateway(opts *bind.FilterOpts, token []common.Address, oldGateway []common.Address, newGateway []common.Address) (*IL1GatewayRouterSetERC20GatewayIterator, error)

FilterSetERC20Gateway is a free log retrieval operation binding the contract event 0x0ead4808404683f66d413d788a768219ea9785c97889221193103841a5841eaf.

Solidity: event SetERC20Gateway(address indexed token, address indexed oldGateway, address indexed newGateway)

func (*IL1GatewayRouterFilterer) FilterSetETHGateway

func (_IL1GatewayRouter *IL1GatewayRouterFilterer) FilterSetETHGateway(opts *bind.FilterOpts, oldETHGateway []common.Address, newEthGateway []common.Address) (*IL1GatewayRouterSetETHGatewayIterator, error)

FilterSetETHGateway is a free log retrieval operation binding the contract event 0xa1bfcc6dd729ad197a1180f44d5c12bcc630943df0874b9ed53da23165621b6a.

Solidity: event SetETHGateway(address indexed oldETHGateway, address indexed newEthGateway)

func (*IL1GatewayRouterFilterer) ParseDepositERC20

func (_IL1GatewayRouter *IL1GatewayRouterFilterer) ParseDepositERC20(log types.Log) (*IL1GatewayRouterDepositERC20, error)

ParseDepositERC20 is a log parse operation binding the contract event 0x31cd3b976e4d654022bf95c68a2ce53f1d5d94afabe0454d2832208eeb40af25.

Solidity: event DepositERC20(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes data)

func (*IL1GatewayRouterFilterer) ParseDepositETH

func (_IL1GatewayRouter *IL1GatewayRouterFilterer) ParseDepositETH(log types.Log) (*IL1GatewayRouterDepositETH, error)

ParseDepositETH is a log parse operation binding the contract event 0x6670de856ec8bf5cb2b7e957c5dc24759716056f79d97ea5e7c939ca0ba5a675.

Solidity: event DepositETH(address indexed from, address indexed to, uint256 amount, bytes data)

func (*IL1GatewayRouterFilterer) ParseFinalizeWithdrawERC20

func (_IL1GatewayRouter *IL1GatewayRouterFilterer) ParseFinalizeWithdrawERC20(log types.Log) (*IL1GatewayRouterFinalizeWithdrawERC20, error)

ParseFinalizeWithdrawERC20 is a log parse operation binding the contract event 0xc6f985873b37805705f6bce756dce3d1ff4b603e298d506288cce499926846a7.

Solidity: event FinalizeWithdrawERC20(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes data)

func (*IL1GatewayRouterFilterer) ParseFinalizeWithdrawETH

func (_IL1GatewayRouter *IL1GatewayRouterFilterer) ParseFinalizeWithdrawETH(log types.Log) (*IL1GatewayRouterFinalizeWithdrawETH, error)

ParseFinalizeWithdrawETH is a log parse operation binding the contract event 0x96db5d1cee1dd2760826bb56fabd9c9f6e978083e0a8b88559c741a29e9746e7.

Solidity: event FinalizeWithdrawETH(address indexed from, address indexed to, uint256 amount, bytes data)

func (*IL1GatewayRouterFilterer) ParseRefundERC20

func (_IL1GatewayRouter *IL1GatewayRouterFilterer) ParseRefundERC20(log types.Log) (*IL1GatewayRouterRefundERC20, error)

ParseRefundERC20 is a log parse operation binding the contract event 0xdbdf8eb487847e4c0f22847f5dac07f2d3690f96f581a6ae4b102769917645a8.

Solidity: event RefundERC20(address indexed token, address indexed recipient, uint256 amount)

func (*IL1GatewayRouterFilterer) ParseRefundETH

func (_IL1GatewayRouter *IL1GatewayRouterFilterer) ParseRefundETH(log types.Log) (*IL1GatewayRouterRefundETH, error)

ParseRefundETH is a log parse operation binding the contract event 0x289360176646a5f99cb4b6300628426dca46b723f40db3c04449d6ed1745a0e7.

Solidity: event RefundETH(address indexed recipient, uint256 amount)

func (*IL1GatewayRouterFilterer) ParseSetDefaultERC20Gateway

func (_IL1GatewayRouter *IL1GatewayRouterFilterer) ParseSetDefaultERC20Gateway(log types.Log) (*IL1GatewayRouterSetDefaultERC20Gateway, error)

ParseSetDefaultERC20Gateway is a log parse operation binding the contract event 0x2904fcae71038f87b116fd2875871e153722cabddd71de1b77473de263cd74d1.

Solidity: event SetDefaultERC20Gateway(address indexed oldDefaultERC20Gateway, address indexed newDefaultERC20Gateway)

func (*IL1GatewayRouterFilterer) ParseSetERC20Gateway

func (_IL1GatewayRouter *IL1GatewayRouterFilterer) ParseSetERC20Gateway(log types.Log) (*IL1GatewayRouterSetERC20Gateway, error)

ParseSetERC20Gateway is a log parse operation binding the contract event 0x0ead4808404683f66d413d788a768219ea9785c97889221193103841a5841eaf.

Solidity: event SetERC20Gateway(address indexed token, address indexed oldGateway, address indexed newGateway)

func (*IL1GatewayRouterFilterer) ParseSetETHGateway

func (_IL1GatewayRouter *IL1GatewayRouterFilterer) ParseSetETHGateway(log types.Log) (*IL1GatewayRouterSetETHGateway, error)

ParseSetETHGateway is a log parse operation binding the contract event 0xa1bfcc6dd729ad197a1180f44d5c12bcc630943df0874b9ed53da23165621b6a.

Solidity: event SetETHGateway(address indexed oldETHGateway, address indexed newEthGateway)

func (*IL1GatewayRouterFilterer) WatchDepositERC20

func (_IL1GatewayRouter *IL1GatewayRouterFilterer) WatchDepositERC20(opts *bind.WatchOpts, sink chan<- *IL1GatewayRouterDepositERC20, l1Token []common.Address, l2Token []common.Address, from []common.Address) (event.Subscription, error)

WatchDepositERC20 is a free log subscription operation binding the contract event 0x31cd3b976e4d654022bf95c68a2ce53f1d5d94afabe0454d2832208eeb40af25.

Solidity: event DepositERC20(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes data)

func (*IL1GatewayRouterFilterer) WatchDepositETH

func (_IL1GatewayRouter *IL1GatewayRouterFilterer) WatchDepositETH(opts *bind.WatchOpts, sink chan<- *IL1GatewayRouterDepositETH, from []common.Address, to []common.Address) (event.Subscription, error)

WatchDepositETH is a free log subscription operation binding the contract event 0x6670de856ec8bf5cb2b7e957c5dc24759716056f79d97ea5e7c939ca0ba5a675.

Solidity: event DepositETH(address indexed from, address indexed to, uint256 amount, bytes data)

func (*IL1GatewayRouterFilterer) WatchFinalizeWithdrawERC20

func (_IL1GatewayRouter *IL1GatewayRouterFilterer) WatchFinalizeWithdrawERC20(opts *bind.WatchOpts, sink chan<- *IL1GatewayRouterFinalizeWithdrawERC20, l1Token []common.Address, l2Token []common.Address, from []common.Address) (event.Subscription, error)

WatchFinalizeWithdrawERC20 is a free log subscription operation binding the contract event 0xc6f985873b37805705f6bce756dce3d1ff4b603e298d506288cce499926846a7.

Solidity: event FinalizeWithdrawERC20(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes data)

func (*IL1GatewayRouterFilterer) WatchFinalizeWithdrawETH

func (_IL1GatewayRouter *IL1GatewayRouterFilterer) WatchFinalizeWithdrawETH(opts *bind.WatchOpts, sink chan<- *IL1GatewayRouterFinalizeWithdrawETH, from []common.Address, to []common.Address) (event.Subscription, error)

WatchFinalizeWithdrawETH is a free log subscription operation binding the contract event 0x96db5d1cee1dd2760826bb56fabd9c9f6e978083e0a8b88559c741a29e9746e7.

Solidity: event FinalizeWithdrawETH(address indexed from, address indexed to, uint256 amount, bytes data)

func (*IL1GatewayRouterFilterer) WatchRefundERC20

func (_IL1GatewayRouter *IL1GatewayRouterFilterer) WatchRefundERC20(opts *bind.WatchOpts, sink chan<- *IL1GatewayRouterRefundERC20, token []common.Address, recipient []common.Address) (event.Subscription, error)

WatchRefundERC20 is a free log subscription operation binding the contract event 0xdbdf8eb487847e4c0f22847f5dac07f2d3690f96f581a6ae4b102769917645a8.

Solidity: event RefundERC20(address indexed token, address indexed recipient, uint256 amount)

func (*IL1GatewayRouterFilterer) WatchRefundETH

func (_IL1GatewayRouter *IL1GatewayRouterFilterer) WatchRefundETH(opts *bind.WatchOpts, sink chan<- *IL1GatewayRouterRefundETH, recipient []common.Address) (event.Subscription, error)

WatchRefundETH is a free log subscription operation binding the contract event 0x289360176646a5f99cb4b6300628426dca46b723f40db3c04449d6ed1745a0e7.

Solidity: event RefundETH(address indexed recipient, uint256 amount)

func (*IL1GatewayRouterFilterer) WatchSetDefaultERC20Gateway

func (_IL1GatewayRouter *IL1GatewayRouterFilterer) WatchSetDefaultERC20Gateway(opts *bind.WatchOpts, sink chan<- *IL1GatewayRouterSetDefaultERC20Gateway, oldDefaultERC20Gateway []common.Address, newDefaultERC20Gateway []common.Address) (event.Subscription, error)

WatchSetDefaultERC20Gateway is a free log subscription operation binding the contract event 0x2904fcae71038f87b116fd2875871e153722cabddd71de1b77473de263cd74d1.

Solidity: event SetDefaultERC20Gateway(address indexed oldDefaultERC20Gateway, address indexed newDefaultERC20Gateway)

func (*IL1GatewayRouterFilterer) WatchSetERC20Gateway

func (_IL1GatewayRouter *IL1GatewayRouterFilterer) WatchSetERC20Gateway(opts *bind.WatchOpts, sink chan<- *IL1GatewayRouterSetERC20Gateway, token []common.Address, oldGateway []common.Address, newGateway []common.Address) (event.Subscription, error)

WatchSetERC20Gateway is a free log subscription operation binding the contract event 0x0ead4808404683f66d413d788a768219ea9785c97889221193103841a5841eaf.

Solidity: event SetERC20Gateway(address indexed token, address indexed oldGateway, address indexed newGateway)

func (*IL1GatewayRouterFilterer) WatchSetETHGateway

func (_IL1GatewayRouter *IL1GatewayRouterFilterer) WatchSetETHGateway(opts *bind.WatchOpts, sink chan<- *IL1GatewayRouterSetETHGateway, oldETHGateway []common.Address, newEthGateway []common.Address) (event.Subscription, error)

WatchSetETHGateway is a free log subscription operation binding the contract event 0xa1bfcc6dd729ad197a1180f44d5c12bcc630943df0874b9ed53da23165621b6a.

Solidity: event SetETHGateway(address indexed oldETHGateway, address indexed newEthGateway)

type IL1GatewayRouterFinalizeWithdrawERC20

type IL1GatewayRouterFinalizeWithdrawERC20 struct {
	L1Token common.Address
	L2Token common.Address
	From    common.Address
	To      common.Address
	Amount  *big.Int
	Data    []byte
	Raw     types.Log // Blockchain specific contextual infos
}

IL1GatewayRouterFinalizeWithdrawERC20 represents a FinalizeWithdrawERC20 event raised by the IL1GatewayRouter contract.

type IL1GatewayRouterFinalizeWithdrawERC20Iterator

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

IL1GatewayRouterFinalizeWithdrawERC20Iterator is returned from FilterFinalizeWithdrawERC20 and is used to iterate over the raw logs and unpacked data for FinalizeWithdrawERC20 events raised by the IL1GatewayRouter contract.

func (*IL1GatewayRouterFinalizeWithdrawERC20Iterator) Close

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

func (*IL1GatewayRouterFinalizeWithdrawERC20Iterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IL1GatewayRouterFinalizeWithdrawERC20Iterator) 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 IL1GatewayRouterFinalizeWithdrawETH

type IL1GatewayRouterFinalizeWithdrawETH struct {
	From   common.Address
	To     common.Address
	Amount *big.Int
	Data   []byte
	Raw    types.Log // Blockchain specific contextual infos
}

IL1GatewayRouterFinalizeWithdrawETH represents a FinalizeWithdrawETH event raised by the IL1GatewayRouter contract.

type IL1GatewayRouterFinalizeWithdrawETHIterator

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

IL1GatewayRouterFinalizeWithdrawETHIterator is returned from FilterFinalizeWithdrawETH and is used to iterate over the raw logs and unpacked data for FinalizeWithdrawETH events raised by the IL1GatewayRouter contract.

func (*IL1GatewayRouterFinalizeWithdrawETHIterator) Close

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

func (*IL1GatewayRouterFinalizeWithdrawETHIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IL1GatewayRouterFinalizeWithdrawETHIterator) 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 IL1GatewayRouterRaw

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

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

func (*IL1GatewayRouterRaw) Call

func (_IL1GatewayRouter *IL1GatewayRouterRaw) 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 (*IL1GatewayRouterRaw) Transact

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

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

func (*IL1GatewayRouterRaw) Transfer

func (_IL1GatewayRouter *IL1GatewayRouterRaw) 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 IL1GatewayRouterRefundERC20

type IL1GatewayRouterRefundERC20 struct {
	Token     common.Address
	Recipient common.Address
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

IL1GatewayRouterRefundERC20 represents a RefundERC20 event raised by the IL1GatewayRouter contract.

type IL1GatewayRouterRefundERC20Iterator

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

IL1GatewayRouterRefundERC20Iterator is returned from FilterRefundERC20 and is used to iterate over the raw logs and unpacked data for RefundERC20 events raised by the IL1GatewayRouter contract.

func (*IL1GatewayRouterRefundERC20Iterator) Close

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

func (*IL1GatewayRouterRefundERC20Iterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IL1GatewayRouterRefundERC20Iterator) 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 IL1GatewayRouterRefundETH

type IL1GatewayRouterRefundETH struct {
	Recipient common.Address
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

IL1GatewayRouterRefundETH represents a RefundETH event raised by the IL1GatewayRouter contract.

type IL1GatewayRouterRefundETHIterator

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

IL1GatewayRouterRefundETHIterator is returned from FilterRefundETH and is used to iterate over the raw logs and unpacked data for RefundETH events raised by the IL1GatewayRouter contract.

func (*IL1GatewayRouterRefundETHIterator) Close

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

func (*IL1GatewayRouterRefundETHIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IL1GatewayRouterRefundETHIterator) 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 IL1GatewayRouterSession

type IL1GatewayRouterSession struct {
	Contract     *IL1GatewayRouter // 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
}

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

func (*IL1GatewayRouterSession) DepositERC20

func (_IL1GatewayRouter *IL1GatewayRouterSession) DepositERC20(_token common.Address, _amount *big.Int, _gasLimit *big.Int) (*types.Transaction, error)

DepositERC20 is a paid mutator transaction binding the contract method 0x21425ee0.

Solidity: function depositERC20(address _token, uint256 _amount, uint256 _gasLimit) payable returns()

func (*IL1GatewayRouterSession) DepositERC200

func (_IL1GatewayRouter *IL1GatewayRouterSession) DepositERC200(_token common.Address, _to common.Address, _amount *big.Int, _gasLimit *big.Int) (*types.Transaction, error)

DepositERC200 is a paid mutator transaction binding the contract method 0xf219fa66.

Solidity: function depositERC20(address _token, address _to, uint256 _amount, uint256 _gasLimit) payable returns()

func (*IL1GatewayRouterSession) DepositERC20AndCall

func (_IL1GatewayRouter *IL1GatewayRouterSession) DepositERC20AndCall(_token common.Address, _to common.Address, _amount *big.Int, _data []byte, _gasLimit *big.Int) (*types.Transaction, error)

DepositERC20AndCall is a paid mutator transaction binding the contract method 0x0aea8c26.

Solidity: function depositERC20AndCall(address _token, address _to, uint256 _amount, bytes _data, uint256 _gasLimit) payable returns()

func (*IL1GatewayRouterSession) DepositETH

func (_IL1GatewayRouter *IL1GatewayRouterSession) DepositETH(amount *big.Int, gasLimit *big.Int) (*types.Transaction, error)

DepositETH is a paid mutator transaction binding the contract method 0x9f8420b3.

Solidity: function depositETH(uint256 amount, uint256 gasLimit) payable returns()

func (*IL1GatewayRouterSession) DepositETH0

func (_IL1GatewayRouter *IL1GatewayRouterSession) DepositETH0(to common.Address, amount *big.Int, gasLimit *big.Int) (*types.Transaction, error)

DepositETH0 is a paid mutator transaction binding the contract method 0xce0b63ce.

Solidity: function depositETH(address to, uint256 amount, uint256 gasLimit) payable returns()

func (*IL1GatewayRouterSession) DepositETHAndCall

func (_IL1GatewayRouter *IL1GatewayRouterSession) DepositETHAndCall(to common.Address, amount *big.Int, data []byte, gasLimit *big.Int) (*types.Transaction, error)

DepositETHAndCall is a paid mutator transaction binding the contract method 0xaac476f8.

Solidity: function depositETHAndCall(address to, uint256 amount, bytes data, uint256 gasLimit) payable returns()

func (*IL1GatewayRouterSession) FinalizeWithdrawERC20

func (_IL1GatewayRouter *IL1GatewayRouterSession) FinalizeWithdrawERC20(_l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)

FinalizeWithdrawERC20 is a paid mutator transaction binding the contract method 0x84bd13b0.

Solidity: function finalizeWithdrawERC20(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _data) payable returns()

func (*IL1GatewayRouterSession) FinalizeWithdrawETH

func (_IL1GatewayRouter *IL1GatewayRouterSession) FinalizeWithdrawETH(from common.Address, to common.Address, amount *big.Int, data []byte) (*types.Transaction, error)

FinalizeWithdrawETH is a paid mutator transaction binding the contract method 0x8eaac8a3.

Solidity: function finalizeWithdrawETH(address from, address to, uint256 amount, bytes data) payable returns()

func (*IL1GatewayRouterSession) GetERC20Gateway

func (_IL1GatewayRouter *IL1GatewayRouterSession) GetERC20Gateway(_token common.Address) (common.Address, error)

GetERC20Gateway is a free data retrieval call binding the contract method 0x43c66741.

Solidity: function getERC20Gateway(address _token) view returns(address)

func (*IL1GatewayRouterSession) GetL2ERC20Address

func (_IL1GatewayRouter *IL1GatewayRouterSession) GetL2ERC20Address(_l1Token common.Address) (common.Address, error)

GetL2ERC20Address is a free data retrieval call binding the contract method 0xc676ad29.

Solidity: function getL2ERC20Address(address _l1Token) view returns(address)

func (*IL1GatewayRouterSession) RequestERC20

func (_IL1GatewayRouter *IL1GatewayRouterSession) RequestERC20(sender common.Address, token common.Address, amount *big.Int) (*types.Transaction, error)

RequestERC20 is a paid mutator transaction binding the contract method 0xc52a3bbc.

Solidity: function requestERC20(address sender, address token, uint256 amount) returns(uint256)

func (*IL1GatewayRouterSession) SetDefaultERC20Gateway

func (_IL1GatewayRouter *IL1GatewayRouterSession) SetDefaultERC20Gateway(_defaultERC20Gateway common.Address) (*types.Transaction, error)

SetDefaultERC20Gateway is a paid mutator transaction binding the contract method 0x5dfd5b9a.

Solidity: function setDefaultERC20Gateway(address _defaultERC20Gateway) returns()

func (*IL1GatewayRouterSession) SetERC20Gateway

func (_IL1GatewayRouter *IL1GatewayRouterSession) SetERC20Gateway(_tokens []common.Address, _gateways []common.Address) (*types.Transaction, error)

SetERC20Gateway is a paid mutator transaction binding the contract method 0x635c8637.

Solidity: function setERC20Gateway(address[] _tokens, address[] _gateways) returns()

func (*IL1GatewayRouterSession) SetETHGateway

func (_IL1GatewayRouter *IL1GatewayRouterSession) SetETHGateway(_ethGateway common.Address) (*types.Transaction, error)

SetETHGateway is a paid mutator transaction binding the contract method 0x3d1d31c7.

Solidity: function setETHGateway(address _ethGateway) returns()

type IL1GatewayRouterSetDefaultERC20Gateway

type IL1GatewayRouterSetDefaultERC20Gateway struct {
	OldDefaultERC20Gateway common.Address
	NewDefaultERC20Gateway common.Address
	Raw                    types.Log // Blockchain specific contextual infos
}

IL1GatewayRouterSetDefaultERC20Gateway represents a SetDefaultERC20Gateway event raised by the IL1GatewayRouter contract.

type IL1GatewayRouterSetDefaultERC20GatewayIterator

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

IL1GatewayRouterSetDefaultERC20GatewayIterator is returned from FilterSetDefaultERC20Gateway and is used to iterate over the raw logs and unpacked data for SetDefaultERC20Gateway events raised by the IL1GatewayRouter contract.

func (*IL1GatewayRouterSetDefaultERC20GatewayIterator) Close

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

func (*IL1GatewayRouterSetDefaultERC20GatewayIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IL1GatewayRouterSetDefaultERC20GatewayIterator) 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 IL1GatewayRouterSetERC20Gateway

type IL1GatewayRouterSetERC20Gateway struct {
	Token      common.Address
	OldGateway common.Address
	NewGateway common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

IL1GatewayRouterSetERC20Gateway represents a SetERC20Gateway event raised by the IL1GatewayRouter contract.

type IL1GatewayRouterSetERC20GatewayIterator

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

IL1GatewayRouterSetERC20GatewayIterator is returned from FilterSetERC20Gateway and is used to iterate over the raw logs and unpacked data for SetERC20Gateway events raised by the IL1GatewayRouter contract.

func (*IL1GatewayRouterSetERC20GatewayIterator) Close

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

func (*IL1GatewayRouterSetERC20GatewayIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IL1GatewayRouterSetERC20GatewayIterator) 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 IL1GatewayRouterSetETHGateway

type IL1GatewayRouterSetETHGateway struct {
	OldETHGateway common.Address
	NewEthGateway common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

IL1GatewayRouterSetETHGateway represents a SetETHGateway event raised by the IL1GatewayRouter contract.

type IL1GatewayRouterSetETHGatewayIterator

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

IL1GatewayRouterSetETHGatewayIterator is returned from FilterSetETHGateway and is used to iterate over the raw logs and unpacked data for SetETHGateway events raised by the IL1GatewayRouter contract.

func (*IL1GatewayRouterSetETHGatewayIterator) Close

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

func (*IL1GatewayRouterSetETHGatewayIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IL1GatewayRouterSetETHGatewayIterator) 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 IL1GatewayRouterTransactor

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

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

func NewIL1GatewayRouterTransactor

func NewIL1GatewayRouterTransactor(address common.Address, transactor bind.ContractTransactor) (*IL1GatewayRouterTransactor, error)

NewIL1GatewayRouterTransactor creates a new write-only instance of IL1GatewayRouter, bound to a specific deployed contract.

func (*IL1GatewayRouterTransactor) DepositERC20

func (_IL1GatewayRouter *IL1GatewayRouterTransactor) DepositERC20(opts *bind.TransactOpts, _token common.Address, _amount *big.Int, _gasLimit *big.Int) (*types.Transaction, error)

DepositERC20 is a paid mutator transaction binding the contract method 0x21425ee0.

Solidity: function depositERC20(address _token, uint256 _amount, uint256 _gasLimit) payable returns()

func (*IL1GatewayRouterTransactor) DepositERC200

func (_IL1GatewayRouter *IL1GatewayRouterTransactor) DepositERC200(opts *bind.TransactOpts, _token common.Address, _to common.Address, _amount *big.Int, _gasLimit *big.Int) (*types.Transaction, error)

DepositERC200 is a paid mutator transaction binding the contract method 0xf219fa66.

Solidity: function depositERC20(address _token, address _to, uint256 _amount, uint256 _gasLimit) payable returns()

func (*IL1GatewayRouterTransactor) DepositERC20AndCall

func (_IL1GatewayRouter *IL1GatewayRouterTransactor) DepositERC20AndCall(opts *bind.TransactOpts, _token common.Address, _to common.Address, _amount *big.Int, _data []byte, _gasLimit *big.Int) (*types.Transaction, error)

DepositERC20AndCall is a paid mutator transaction binding the contract method 0x0aea8c26.

Solidity: function depositERC20AndCall(address _token, address _to, uint256 _amount, bytes _data, uint256 _gasLimit) payable returns()

func (*IL1GatewayRouterTransactor) DepositETH

func (_IL1GatewayRouter *IL1GatewayRouterTransactor) DepositETH(opts *bind.TransactOpts, amount *big.Int, gasLimit *big.Int) (*types.Transaction, error)

DepositETH is a paid mutator transaction binding the contract method 0x9f8420b3.

Solidity: function depositETH(uint256 amount, uint256 gasLimit) payable returns()

func (*IL1GatewayRouterTransactor) DepositETH0

func (_IL1GatewayRouter *IL1GatewayRouterTransactor) DepositETH0(opts *bind.TransactOpts, to common.Address, amount *big.Int, gasLimit *big.Int) (*types.Transaction, error)

DepositETH0 is a paid mutator transaction binding the contract method 0xce0b63ce.

Solidity: function depositETH(address to, uint256 amount, uint256 gasLimit) payable returns()

func (*IL1GatewayRouterTransactor) DepositETHAndCall

func (_IL1GatewayRouter *IL1GatewayRouterTransactor) DepositETHAndCall(opts *bind.TransactOpts, to common.Address, amount *big.Int, data []byte, gasLimit *big.Int) (*types.Transaction, error)

DepositETHAndCall is a paid mutator transaction binding the contract method 0xaac476f8.

Solidity: function depositETHAndCall(address to, uint256 amount, bytes data, uint256 gasLimit) payable returns()

func (*IL1GatewayRouterTransactor) FinalizeWithdrawERC20

func (_IL1GatewayRouter *IL1GatewayRouterTransactor) FinalizeWithdrawERC20(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)

FinalizeWithdrawERC20 is a paid mutator transaction binding the contract method 0x84bd13b0.

Solidity: function finalizeWithdrawERC20(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _data) payable returns()

func (*IL1GatewayRouterTransactor) FinalizeWithdrawETH

func (_IL1GatewayRouter *IL1GatewayRouterTransactor) FinalizeWithdrawETH(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int, data []byte) (*types.Transaction, error)

FinalizeWithdrawETH is a paid mutator transaction binding the contract method 0x8eaac8a3.

Solidity: function finalizeWithdrawETH(address from, address to, uint256 amount, bytes data) payable returns()

func (*IL1GatewayRouterTransactor) RequestERC20

func (_IL1GatewayRouter *IL1GatewayRouterTransactor) RequestERC20(opts *bind.TransactOpts, sender common.Address, token common.Address, amount *big.Int) (*types.Transaction, error)

RequestERC20 is a paid mutator transaction binding the contract method 0xc52a3bbc.

Solidity: function requestERC20(address sender, address token, uint256 amount) returns(uint256)

func (*IL1GatewayRouterTransactor) SetDefaultERC20Gateway

func (_IL1GatewayRouter *IL1GatewayRouterTransactor) SetDefaultERC20Gateway(opts *bind.TransactOpts, _defaultERC20Gateway common.Address) (*types.Transaction, error)

SetDefaultERC20Gateway is a paid mutator transaction binding the contract method 0x5dfd5b9a.

Solidity: function setDefaultERC20Gateway(address _defaultERC20Gateway) returns()

func (*IL1GatewayRouterTransactor) SetERC20Gateway

func (_IL1GatewayRouter *IL1GatewayRouterTransactor) SetERC20Gateway(opts *bind.TransactOpts, _tokens []common.Address, _gateways []common.Address) (*types.Transaction, error)

SetERC20Gateway is a paid mutator transaction binding the contract method 0x635c8637.

Solidity: function setERC20Gateway(address[] _tokens, address[] _gateways) returns()

func (*IL1GatewayRouterTransactor) SetETHGateway

func (_IL1GatewayRouter *IL1GatewayRouterTransactor) SetETHGateway(opts *bind.TransactOpts, _ethGateway common.Address) (*types.Transaction, error)

SetETHGateway is a paid mutator transaction binding the contract method 0x3d1d31c7.

Solidity: function setETHGateway(address _ethGateway) returns()

type IL1GatewayRouterTransactorRaw

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

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

func (*IL1GatewayRouterTransactorRaw) Transact

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

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

func (*IL1GatewayRouterTransactorRaw) Transfer

func (_IL1GatewayRouter *IL1GatewayRouterTransactorRaw) 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 IL1GatewayRouterTransactorSession

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

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

func (*IL1GatewayRouterTransactorSession) DepositERC20

func (_IL1GatewayRouter *IL1GatewayRouterTransactorSession) DepositERC20(_token common.Address, _amount *big.Int, _gasLimit *big.Int) (*types.Transaction, error)

DepositERC20 is a paid mutator transaction binding the contract method 0x21425ee0.

Solidity: function depositERC20(address _token, uint256 _amount, uint256 _gasLimit) payable returns()

func (*IL1GatewayRouterTransactorSession) DepositERC200

func (_IL1GatewayRouter *IL1GatewayRouterTransactorSession) DepositERC200(_token common.Address, _to common.Address, _amount *big.Int, _gasLimit *big.Int) (*types.Transaction, error)

DepositERC200 is a paid mutator transaction binding the contract method 0xf219fa66.

Solidity: function depositERC20(address _token, address _to, uint256 _amount, uint256 _gasLimit) payable returns()

func (*IL1GatewayRouterTransactorSession) DepositERC20AndCall

func (_IL1GatewayRouter *IL1GatewayRouterTransactorSession) DepositERC20AndCall(_token common.Address, _to common.Address, _amount *big.Int, _data []byte, _gasLimit *big.Int) (*types.Transaction, error)

DepositERC20AndCall is a paid mutator transaction binding the contract method 0x0aea8c26.

Solidity: function depositERC20AndCall(address _token, address _to, uint256 _amount, bytes _data, uint256 _gasLimit) payable returns()

func (*IL1GatewayRouterTransactorSession) DepositETH

func (_IL1GatewayRouter *IL1GatewayRouterTransactorSession) DepositETH(amount *big.Int, gasLimit *big.Int) (*types.Transaction, error)

DepositETH is a paid mutator transaction binding the contract method 0x9f8420b3.

Solidity: function depositETH(uint256 amount, uint256 gasLimit) payable returns()

func (*IL1GatewayRouterTransactorSession) DepositETH0

func (_IL1GatewayRouter *IL1GatewayRouterTransactorSession) DepositETH0(to common.Address, amount *big.Int, gasLimit *big.Int) (*types.Transaction, error)

DepositETH0 is a paid mutator transaction binding the contract method 0xce0b63ce.

Solidity: function depositETH(address to, uint256 amount, uint256 gasLimit) payable returns()

func (*IL1GatewayRouterTransactorSession) DepositETHAndCall

func (_IL1GatewayRouter *IL1GatewayRouterTransactorSession) DepositETHAndCall(to common.Address, amount *big.Int, data []byte, gasLimit *big.Int) (*types.Transaction, error)

DepositETHAndCall is a paid mutator transaction binding the contract method 0xaac476f8.

Solidity: function depositETHAndCall(address to, uint256 amount, bytes data, uint256 gasLimit) payable returns()

func (*IL1GatewayRouterTransactorSession) FinalizeWithdrawERC20

func (_IL1GatewayRouter *IL1GatewayRouterTransactorSession) FinalizeWithdrawERC20(_l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)

FinalizeWithdrawERC20 is a paid mutator transaction binding the contract method 0x84bd13b0.

Solidity: function finalizeWithdrawERC20(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _data) payable returns()

func (*IL1GatewayRouterTransactorSession) FinalizeWithdrawETH

func (_IL1GatewayRouter *IL1GatewayRouterTransactorSession) FinalizeWithdrawETH(from common.Address, to common.Address, amount *big.Int, data []byte) (*types.Transaction, error)

FinalizeWithdrawETH is a paid mutator transaction binding the contract method 0x8eaac8a3.

Solidity: function finalizeWithdrawETH(address from, address to, uint256 amount, bytes data) payable returns()

func (*IL1GatewayRouterTransactorSession) RequestERC20

func (_IL1GatewayRouter *IL1GatewayRouterTransactorSession) RequestERC20(sender common.Address, token common.Address, amount *big.Int) (*types.Transaction, error)

RequestERC20 is a paid mutator transaction binding the contract method 0xc52a3bbc.

Solidity: function requestERC20(address sender, address token, uint256 amount) returns(uint256)

func (*IL1GatewayRouterTransactorSession) SetDefaultERC20Gateway

func (_IL1GatewayRouter *IL1GatewayRouterTransactorSession) SetDefaultERC20Gateway(_defaultERC20Gateway common.Address) (*types.Transaction, error)

SetDefaultERC20Gateway is a paid mutator transaction binding the contract method 0x5dfd5b9a.

Solidity: function setDefaultERC20Gateway(address _defaultERC20Gateway) returns()

func (*IL1GatewayRouterTransactorSession) SetERC20Gateway

func (_IL1GatewayRouter *IL1GatewayRouterTransactorSession) SetERC20Gateway(_tokens []common.Address, _gateways []common.Address) (*types.Transaction, error)

SetERC20Gateway is a paid mutator transaction binding the contract method 0x635c8637.

Solidity: function setERC20Gateway(address[] _tokens, address[] _gateways) returns()

func (*IL1GatewayRouterTransactorSession) SetETHGateway

func (_IL1GatewayRouter *IL1GatewayRouterTransactorSession) SetETHGateway(_ethGateway common.Address) (*types.Transaction, error)

SetETHGateway is a paid mutator transaction binding the contract method 0x3d1d31c7.

Solidity: function setETHGateway(address _ethGateway) returns()

type Initializable

type Initializable struct {
	InitializableCaller     // Read-only binding to the contract
	InitializableTransactor // Write-only binding to the contract
	InitializableFilterer   // Log filterer for contract events
}

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

func NewInitializable

func NewInitializable(address common.Address, backend bind.ContractBackend) (*Initializable, error)

NewInitializable creates a new instance of Initializable, bound to a specific deployed contract.

type InitializableCaller

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

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

func NewInitializableCaller

func NewInitializableCaller(address common.Address, caller bind.ContractCaller) (*InitializableCaller, error)

NewInitializableCaller creates a new read-only instance of Initializable, bound to a specific deployed contract.

type InitializableCallerRaw

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

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

func (*InitializableCallerRaw) Call

func (_Initializable *InitializableCallerRaw) 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 InitializableCallerSession

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

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

type InitializableFilterer

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

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

func NewInitializableFilterer

func NewInitializableFilterer(address common.Address, filterer bind.ContractFilterer) (*InitializableFilterer, error)

NewInitializableFilterer creates a new log filterer instance of Initializable, bound to a specific deployed contract.

func (*InitializableFilterer) FilterInitialized

func (_Initializable *InitializableFilterer) FilterInitialized(opts *bind.FilterOpts) (*InitializableInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*InitializableFilterer) ParseInitialized

func (_Initializable *InitializableFilterer) ParseInitialized(log types.Log) (*InitializableInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*InitializableFilterer) WatchInitialized

func (_Initializable *InitializableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *InitializableInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

type InitializableInitialized

type InitializableInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

InitializableInitialized represents a Initialized event raised by the Initializable contract.

type InitializableInitializedIterator

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

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

func (*InitializableInitializedIterator) Close

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

func (*InitializableInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InitializableInitializedIterator) 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 InitializableRaw

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

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

func (*InitializableRaw) Call

func (_Initializable *InitializableRaw) 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 (*InitializableRaw) Transact

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

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

func (*InitializableRaw) Transfer

func (_Initializable *InitializableRaw) 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 InitializableSession

type InitializableSession struct {
	Contract     *Initializable    // 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
}

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

type InitializableTransactor

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

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

func NewInitializableTransactor

func NewInitializableTransactor(address common.Address, transactor bind.ContractTransactor) (*InitializableTransactor, error)

NewInitializableTransactor creates a new write-only instance of Initializable, bound to a specific deployed contract.

type InitializableTransactorRaw

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

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

func (*InitializableTransactorRaw) Transact

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

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

func (*InitializableTransactorRaw) Transfer

func (_Initializable *InitializableTransactorRaw) 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 InitializableTransactorSession

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

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

type L1GatewayRouter

type L1GatewayRouter struct {
	L1GatewayRouterCaller     // Read-only binding to the contract
	L1GatewayRouterTransactor // Write-only binding to the contract
	L1GatewayRouterFilterer   // Log filterer for contract events
}

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

func DeployL1GatewayRouter

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

DeployL1GatewayRouter deploys a new Ethereum contract, binding an instance of L1GatewayRouter to it.

func NewL1GatewayRouter

func NewL1GatewayRouter(address common.Address, backend bind.ContractBackend) (*L1GatewayRouter, error)

NewL1GatewayRouter creates a new instance of L1GatewayRouter, bound to a specific deployed contract.

type L1GatewayRouterCaller

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

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

func NewL1GatewayRouterCaller

func NewL1GatewayRouterCaller(address common.Address, caller bind.ContractCaller) (*L1GatewayRouterCaller, error)

NewL1GatewayRouterCaller creates a new read-only instance of L1GatewayRouter, bound to a specific deployed contract.

func (*L1GatewayRouterCaller) DefaultERC20Gateway

func (_L1GatewayRouter *L1GatewayRouterCaller) DefaultERC20Gateway(opts *bind.CallOpts) (common.Address, error)

DefaultERC20Gateway is a free data retrieval call binding the contract method 0xce8c3e06.

Solidity: function defaultERC20Gateway() view returns(address)

func (*L1GatewayRouterCaller) ERC20Gateway

func (_L1GatewayRouter *L1GatewayRouterCaller) ERC20Gateway(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

ERC20Gateway is a free data retrieval call binding the contract method 0x705b05b8.

Solidity: function ERC20Gateway(address ) view returns(address)

func (*L1GatewayRouterCaller) EthGateway

func (_L1GatewayRouter *L1GatewayRouterCaller) EthGateway(opts *bind.CallOpts) (common.Address, error)

EthGateway is a free data retrieval call binding the contract method 0x8c00ce73.

Solidity: function ethGateway() view returns(address)

func (*L1GatewayRouterCaller) GatewayInContext

func (_L1GatewayRouter *L1GatewayRouterCaller) GatewayInContext(opts *bind.CallOpts) (common.Address, error)

GatewayInContext is a free data retrieval call binding the contract method 0x3a9a7b20.

Solidity: function gatewayInContext() view returns(address)

func (*L1GatewayRouterCaller) GetERC20Gateway

func (_L1GatewayRouter *L1GatewayRouterCaller) GetERC20Gateway(opts *bind.CallOpts, _token common.Address) (common.Address, error)

GetERC20Gateway is a free data retrieval call binding the contract method 0x43c66741.

Solidity: function getERC20Gateway(address _token) view returns(address)

func (*L1GatewayRouterCaller) GetL2ERC20Address

func (_L1GatewayRouter *L1GatewayRouterCaller) GetL2ERC20Address(opts *bind.CallOpts, _l1Address common.Address) (common.Address, error)

GetL2ERC20Address is a free data retrieval call binding the contract method 0xc676ad29.

Solidity: function getL2ERC20Address(address _l1Address) view returns(address)

func (*L1GatewayRouterCaller) Owner

func (_L1GatewayRouter *L1GatewayRouterCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

type L1GatewayRouterCallerRaw

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

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

func (*L1GatewayRouterCallerRaw) Call

func (_L1GatewayRouter *L1GatewayRouterCallerRaw) 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 L1GatewayRouterCallerSession

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

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

func (*L1GatewayRouterCallerSession) DefaultERC20Gateway

func (_L1GatewayRouter *L1GatewayRouterCallerSession) DefaultERC20Gateway() (common.Address, error)

DefaultERC20Gateway is a free data retrieval call binding the contract method 0xce8c3e06.

Solidity: function defaultERC20Gateway() view returns(address)

func (*L1GatewayRouterCallerSession) ERC20Gateway

func (_L1GatewayRouter *L1GatewayRouterCallerSession) ERC20Gateway(arg0 common.Address) (common.Address, error)

ERC20Gateway is a free data retrieval call binding the contract method 0x705b05b8.

Solidity: function ERC20Gateway(address ) view returns(address)

func (*L1GatewayRouterCallerSession) EthGateway

func (_L1GatewayRouter *L1GatewayRouterCallerSession) EthGateway() (common.Address, error)

EthGateway is a free data retrieval call binding the contract method 0x8c00ce73.

Solidity: function ethGateway() view returns(address)

func (*L1GatewayRouterCallerSession) GatewayInContext

func (_L1GatewayRouter *L1GatewayRouterCallerSession) GatewayInContext() (common.Address, error)

GatewayInContext is a free data retrieval call binding the contract method 0x3a9a7b20.

Solidity: function gatewayInContext() view returns(address)

func (*L1GatewayRouterCallerSession) GetERC20Gateway

func (_L1GatewayRouter *L1GatewayRouterCallerSession) GetERC20Gateway(_token common.Address) (common.Address, error)

GetERC20Gateway is a free data retrieval call binding the contract method 0x43c66741.

Solidity: function getERC20Gateway(address _token) view returns(address)

func (*L1GatewayRouterCallerSession) GetL2ERC20Address

func (_L1GatewayRouter *L1GatewayRouterCallerSession) GetL2ERC20Address(_l1Address common.Address) (common.Address, error)

GetL2ERC20Address is a free data retrieval call binding the contract method 0xc676ad29.

Solidity: function getL2ERC20Address(address _l1Address) view returns(address)

func (*L1GatewayRouterCallerSession) Owner

func (_L1GatewayRouter *L1GatewayRouterCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

type L1GatewayRouterDepositERC20

type L1GatewayRouterDepositERC20 struct {
	L1Token common.Address
	L2Token common.Address
	From    common.Address
	To      common.Address
	Amount  *big.Int
	Data    []byte
	Raw     types.Log // Blockchain specific contextual infos
}

L1GatewayRouterDepositERC20 represents a DepositERC20 event raised by the L1GatewayRouter contract.

type L1GatewayRouterDepositERC20Iterator

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

L1GatewayRouterDepositERC20Iterator is returned from FilterDepositERC20 and is used to iterate over the raw logs and unpacked data for DepositERC20 events raised by the L1GatewayRouter contract.

func (*L1GatewayRouterDepositERC20Iterator) Close

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

func (*L1GatewayRouterDepositERC20Iterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1GatewayRouterDepositERC20Iterator) 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 L1GatewayRouterDepositETH

type L1GatewayRouterDepositETH struct {
	From   common.Address
	To     common.Address
	Amount *big.Int
	Data   []byte
	Raw    types.Log // Blockchain specific contextual infos
}

L1GatewayRouterDepositETH represents a DepositETH event raised by the L1GatewayRouter contract.

type L1GatewayRouterDepositETHIterator

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

L1GatewayRouterDepositETHIterator is returned from FilterDepositETH and is used to iterate over the raw logs and unpacked data for DepositETH events raised by the L1GatewayRouter contract.

func (*L1GatewayRouterDepositETHIterator) Close

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

func (*L1GatewayRouterDepositETHIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1GatewayRouterDepositETHIterator) 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 L1GatewayRouterFilterer

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

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

func NewL1GatewayRouterFilterer

func NewL1GatewayRouterFilterer(address common.Address, filterer bind.ContractFilterer) (*L1GatewayRouterFilterer, error)

NewL1GatewayRouterFilterer creates a new log filterer instance of L1GatewayRouter, bound to a specific deployed contract.

func (*L1GatewayRouterFilterer) FilterDepositERC20

func (_L1GatewayRouter *L1GatewayRouterFilterer) FilterDepositERC20(opts *bind.FilterOpts, l1Token []common.Address, l2Token []common.Address, from []common.Address) (*L1GatewayRouterDepositERC20Iterator, error)

FilterDepositERC20 is a free log retrieval operation binding the contract event 0x31cd3b976e4d654022bf95c68a2ce53f1d5d94afabe0454d2832208eeb40af25.

Solidity: event DepositERC20(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes data)

func (*L1GatewayRouterFilterer) FilterDepositETH

func (_L1GatewayRouter *L1GatewayRouterFilterer) FilterDepositETH(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1GatewayRouterDepositETHIterator, error)

FilterDepositETH is a free log retrieval operation binding the contract event 0x6670de856ec8bf5cb2b7e957c5dc24759716056f79d97ea5e7c939ca0ba5a675.

Solidity: event DepositETH(address indexed from, address indexed to, uint256 amount, bytes data)

func (*L1GatewayRouterFilterer) FilterFinalizeWithdrawERC20

func (_L1GatewayRouter *L1GatewayRouterFilterer) FilterFinalizeWithdrawERC20(opts *bind.FilterOpts, l1Token []common.Address, l2Token []common.Address, from []common.Address) (*L1GatewayRouterFinalizeWithdrawERC20Iterator, error)

FilterFinalizeWithdrawERC20 is a free log retrieval operation binding the contract event 0xc6f985873b37805705f6bce756dce3d1ff4b603e298d506288cce499926846a7.

Solidity: event FinalizeWithdrawERC20(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes data)

func (*L1GatewayRouterFilterer) FilterFinalizeWithdrawETH

func (_L1GatewayRouter *L1GatewayRouterFilterer) FilterFinalizeWithdrawETH(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1GatewayRouterFinalizeWithdrawETHIterator, error)

FilterFinalizeWithdrawETH is a free log retrieval operation binding the contract event 0x96db5d1cee1dd2760826bb56fabd9c9f6e978083e0a8b88559c741a29e9746e7.

Solidity: event FinalizeWithdrawETH(address indexed from, address indexed to, uint256 amount, bytes data)

func (*L1GatewayRouterFilterer) FilterInitialized

func (_L1GatewayRouter *L1GatewayRouterFilterer) FilterInitialized(opts *bind.FilterOpts) (*L1GatewayRouterInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*L1GatewayRouterFilterer) FilterOwnershipTransferred

func (_L1GatewayRouter *L1GatewayRouterFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*L1GatewayRouterOwnershipTransferredIterator, error)

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

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

func (*L1GatewayRouterFilterer) FilterRefundERC20

func (_L1GatewayRouter *L1GatewayRouterFilterer) FilterRefundERC20(opts *bind.FilterOpts, token []common.Address, recipient []common.Address) (*L1GatewayRouterRefundERC20Iterator, error)

FilterRefundERC20 is a free log retrieval operation binding the contract event 0xdbdf8eb487847e4c0f22847f5dac07f2d3690f96f581a6ae4b102769917645a8.

Solidity: event RefundERC20(address indexed token, address indexed recipient, uint256 amount)

func (*L1GatewayRouterFilterer) FilterRefundETH

func (_L1GatewayRouter *L1GatewayRouterFilterer) FilterRefundETH(opts *bind.FilterOpts, recipient []common.Address) (*L1GatewayRouterRefundETHIterator, error)

FilterRefundETH is a free log retrieval operation binding the contract event 0x289360176646a5f99cb4b6300628426dca46b723f40db3c04449d6ed1745a0e7.

Solidity: event RefundETH(address indexed recipient, uint256 amount)

func (*L1GatewayRouterFilterer) FilterSetDefaultERC20Gateway

func (_L1GatewayRouter *L1GatewayRouterFilterer) FilterSetDefaultERC20Gateway(opts *bind.FilterOpts, oldDefaultERC20Gateway []common.Address, newDefaultERC20Gateway []common.Address) (*L1GatewayRouterSetDefaultERC20GatewayIterator, error)

FilterSetDefaultERC20Gateway is a free log retrieval operation binding the contract event 0x2904fcae71038f87b116fd2875871e153722cabddd71de1b77473de263cd74d1.

Solidity: event SetDefaultERC20Gateway(address indexed oldDefaultERC20Gateway, address indexed newDefaultERC20Gateway)

func (*L1GatewayRouterFilterer) FilterSetERC20Gateway

func (_L1GatewayRouter *L1GatewayRouterFilterer) FilterSetERC20Gateway(opts *bind.FilterOpts, token []common.Address, oldGateway []common.Address, newGateway []common.Address) (*L1GatewayRouterSetERC20GatewayIterator, error)

FilterSetERC20Gateway is a free log retrieval operation binding the contract event 0x0ead4808404683f66d413d788a768219ea9785c97889221193103841a5841eaf.

Solidity: event SetERC20Gateway(address indexed token, address indexed oldGateway, address indexed newGateway)

func (*L1GatewayRouterFilterer) FilterSetETHGateway

func (_L1GatewayRouter *L1GatewayRouterFilterer) FilterSetETHGateway(opts *bind.FilterOpts, oldETHGateway []common.Address, newEthGateway []common.Address) (*L1GatewayRouterSetETHGatewayIterator, error)

FilterSetETHGateway is a free log retrieval operation binding the contract event 0xa1bfcc6dd729ad197a1180f44d5c12bcc630943df0874b9ed53da23165621b6a.

Solidity: event SetETHGateway(address indexed oldETHGateway, address indexed newEthGateway)

func (*L1GatewayRouterFilterer) ParseDepositERC20

func (_L1GatewayRouter *L1GatewayRouterFilterer) ParseDepositERC20(log types.Log) (*L1GatewayRouterDepositERC20, error)

ParseDepositERC20 is a log parse operation binding the contract event 0x31cd3b976e4d654022bf95c68a2ce53f1d5d94afabe0454d2832208eeb40af25.

Solidity: event DepositERC20(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes data)

func (*L1GatewayRouterFilterer) ParseDepositETH

func (_L1GatewayRouter *L1GatewayRouterFilterer) ParseDepositETH(log types.Log) (*L1GatewayRouterDepositETH, error)

ParseDepositETH is a log parse operation binding the contract event 0x6670de856ec8bf5cb2b7e957c5dc24759716056f79d97ea5e7c939ca0ba5a675.

Solidity: event DepositETH(address indexed from, address indexed to, uint256 amount, bytes data)

func (*L1GatewayRouterFilterer) ParseFinalizeWithdrawERC20

func (_L1GatewayRouter *L1GatewayRouterFilterer) ParseFinalizeWithdrawERC20(log types.Log) (*L1GatewayRouterFinalizeWithdrawERC20, error)

ParseFinalizeWithdrawERC20 is a log parse operation binding the contract event 0xc6f985873b37805705f6bce756dce3d1ff4b603e298d506288cce499926846a7.

Solidity: event FinalizeWithdrawERC20(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes data)

func (*L1GatewayRouterFilterer) ParseFinalizeWithdrawETH

func (_L1GatewayRouter *L1GatewayRouterFilterer) ParseFinalizeWithdrawETH(log types.Log) (*L1GatewayRouterFinalizeWithdrawETH, error)

ParseFinalizeWithdrawETH is a log parse operation binding the contract event 0x96db5d1cee1dd2760826bb56fabd9c9f6e978083e0a8b88559c741a29e9746e7.

Solidity: event FinalizeWithdrawETH(address indexed from, address indexed to, uint256 amount, bytes data)

func (*L1GatewayRouterFilterer) ParseInitialized

func (_L1GatewayRouter *L1GatewayRouterFilterer) ParseInitialized(log types.Log) (*L1GatewayRouterInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*L1GatewayRouterFilterer) ParseOwnershipTransferred

func (_L1GatewayRouter *L1GatewayRouterFilterer) ParseOwnershipTransferred(log types.Log) (*L1GatewayRouterOwnershipTransferred, error)

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

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

func (*L1GatewayRouterFilterer) ParseRefundERC20

func (_L1GatewayRouter *L1GatewayRouterFilterer) ParseRefundERC20(log types.Log) (*L1GatewayRouterRefundERC20, error)

ParseRefundERC20 is a log parse operation binding the contract event 0xdbdf8eb487847e4c0f22847f5dac07f2d3690f96f581a6ae4b102769917645a8.

Solidity: event RefundERC20(address indexed token, address indexed recipient, uint256 amount)

func (*L1GatewayRouterFilterer) ParseRefundETH

func (_L1GatewayRouter *L1GatewayRouterFilterer) ParseRefundETH(log types.Log) (*L1GatewayRouterRefundETH, error)

ParseRefundETH is a log parse operation binding the contract event 0x289360176646a5f99cb4b6300628426dca46b723f40db3c04449d6ed1745a0e7.

Solidity: event RefundETH(address indexed recipient, uint256 amount)

func (*L1GatewayRouterFilterer) ParseSetDefaultERC20Gateway

func (_L1GatewayRouter *L1GatewayRouterFilterer) ParseSetDefaultERC20Gateway(log types.Log) (*L1GatewayRouterSetDefaultERC20Gateway, error)

ParseSetDefaultERC20Gateway is a log parse operation binding the contract event 0x2904fcae71038f87b116fd2875871e153722cabddd71de1b77473de263cd74d1.

Solidity: event SetDefaultERC20Gateway(address indexed oldDefaultERC20Gateway, address indexed newDefaultERC20Gateway)

func (*L1GatewayRouterFilterer) ParseSetERC20Gateway

func (_L1GatewayRouter *L1GatewayRouterFilterer) ParseSetERC20Gateway(log types.Log) (*L1GatewayRouterSetERC20Gateway, error)

ParseSetERC20Gateway is a log parse operation binding the contract event 0x0ead4808404683f66d413d788a768219ea9785c97889221193103841a5841eaf.

Solidity: event SetERC20Gateway(address indexed token, address indexed oldGateway, address indexed newGateway)

func (*L1GatewayRouterFilterer) ParseSetETHGateway

func (_L1GatewayRouter *L1GatewayRouterFilterer) ParseSetETHGateway(log types.Log) (*L1GatewayRouterSetETHGateway, error)

ParseSetETHGateway is a log parse operation binding the contract event 0xa1bfcc6dd729ad197a1180f44d5c12bcc630943df0874b9ed53da23165621b6a.

Solidity: event SetETHGateway(address indexed oldETHGateway, address indexed newEthGateway)

func (*L1GatewayRouterFilterer) WatchDepositERC20

func (_L1GatewayRouter *L1GatewayRouterFilterer) WatchDepositERC20(opts *bind.WatchOpts, sink chan<- *L1GatewayRouterDepositERC20, l1Token []common.Address, l2Token []common.Address, from []common.Address) (event.Subscription, error)

WatchDepositERC20 is a free log subscription operation binding the contract event 0x31cd3b976e4d654022bf95c68a2ce53f1d5d94afabe0454d2832208eeb40af25.

Solidity: event DepositERC20(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes data)

func (*L1GatewayRouterFilterer) WatchDepositETH

func (_L1GatewayRouter *L1GatewayRouterFilterer) WatchDepositETH(opts *bind.WatchOpts, sink chan<- *L1GatewayRouterDepositETH, from []common.Address, to []common.Address) (event.Subscription, error)

WatchDepositETH is a free log subscription operation binding the contract event 0x6670de856ec8bf5cb2b7e957c5dc24759716056f79d97ea5e7c939ca0ba5a675.

Solidity: event DepositETH(address indexed from, address indexed to, uint256 amount, bytes data)

func (*L1GatewayRouterFilterer) WatchFinalizeWithdrawERC20

func (_L1GatewayRouter *L1GatewayRouterFilterer) WatchFinalizeWithdrawERC20(opts *bind.WatchOpts, sink chan<- *L1GatewayRouterFinalizeWithdrawERC20, l1Token []common.Address, l2Token []common.Address, from []common.Address) (event.Subscription, error)

WatchFinalizeWithdrawERC20 is a free log subscription operation binding the contract event 0xc6f985873b37805705f6bce756dce3d1ff4b603e298d506288cce499926846a7.

Solidity: event FinalizeWithdrawERC20(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes data)

func (*L1GatewayRouterFilterer) WatchFinalizeWithdrawETH

func (_L1GatewayRouter *L1GatewayRouterFilterer) WatchFinalizeWithdrawETH(opts *bind.WatchOpts, sink chan<- *L1GatewayRouterFinalizeWithdrawETH, from []common.Address, to []common.Address) (event.Subscription, error)

WatchFinalizeWithdrawETH is a free log subscription operation binding the contract event 0x96db5d1cee1dd2760826bb56fabd9c9f6e978083e0a8b88559c741a29e9746e7.

Solidity: event FinalizeWithdrawETH(address indexed from, address indexed to, uint256 amount, bytes data)

func (*L1GatewayRouterFilterer) WatchInitialized

func (_L1GatewayRouter *L1GatewayRouterFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *L1GatewayRouterInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*L1GatewayRouterFilterer) WatchOwnershipTransferred

func (_L1GatewayRouter *L1GatewayRouterFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *L1GatewayRouterOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

func (*L1GatewayRouterFilterer) WatchRefundERC20

func (_L1GatewayRouter *L1GatewayRouterFilterer) WatchRefundERC20(opts *bind.WatchOpts, sink chan<- *L1GatewayRouterRefundERC20, token []common.Address, recipient []common.Address) (event.Subscription, error)

WatchRefundERC20 is a free log subscription operation binding the contract event 0xdbdf8eb487847e4c0f22847f5dac07f2d3690f96f581a6ae4b102769917645a8.

Solidity: event RefundERC20(address indexed token, address indexed recipient, uint256 amount)

func (*L1GatewayRouterFilterer) WatchRefundETH

func (_L1GatewayRouter *L1GatewayRouterFilterer) WatchRefundETH(opts *bind.WatchOpts, sink chan<- *L1GatewayRouterRefundETH, recipient []common.Address) (event.Subscription, error)

WatchRefundETH is a free log subscription operation binding the contract event 0x289360176646a5f99cb4b6300628426dca46b723f40db3c04449d6ed1745a0e7.

Solidity: event RefundETH(address indexed recipient, uint256 amount)

func (*L1GatewayRouterFilterer) WatchSetDefaultERC20Gateway

func (_L1GatewayRouter *L1GatewayRouterFilterer) WatchSetDefaultERC20Gateway(opts *bind.WatchOpts, sink chan<- *L1GatewayRouterSetDefaultERC20Gateway, oldDefaultERC20Gateway []common.Address, newDefaultERC20Gateway []common.Address) (event.Subscription, error)

WatchSetDefaultERC20Gateway is a free log subscription operation binding the contract event 0x2904fcae71038f87b116fd2875871e153722cabddd71de1b77473de263cd74d1.

Solidity: event SetDefaultERC20Gateway(address indexed oldDefaultERC20Gateway, address indexed newDefaultERC20Gateway)

func (*L1GatewayRouterFilterer) WatchSetERC20Gateway

func (_L1GatewayRouter *L1GatewayRouterFilterer) WatchSetERC20Gateway(opts *bind.WatchOpts, sink chan<- *L1GatewayRouterSetERC20Gateway, token []common.Address, oldGateway []common.Address, newGateway []common.Address) (event.Subscription, error)

WatchSetERC20Gateway is a free log subscription operation binding the contract event 0x0ead4808404683f66d413d788a768219ea9785c97889221193103841a5841eaf.

Solidity: event SetERC20Gateway(address indexed token, address indexed oldGateway, address indexed newGateway)

func (*L1GatewayRouterFilterer) WatchSetETHGateway

func (_L1GatewayRouter *L1GatewayRouterFilterer) WatchSetETHGateway(opts *bind.WatchOpts, sink chan<- *L1GatewayRouterSetETHGateway, oldETHGateway []common.Address, newEthGateway []common.Address) (event.Subscription, error)

WatchSetETHGateway is a free log subscription operation binding the contract event 0xa1bfcc6dd729ad197a1180f44d5c12bcc630943df0874b9ed53da23165621b6a.

Solidity: event SetETHGateway(address indexed oldETHGateway, address indexed newEthGateway)

type L1GatewayRouterFinalizeWithdrawERC20

type L1GatewayRouterFinalizeWithdrawERC20 struct {
	L1Token common.Address
	L2Token common.Address
	From    common.Address
	To      common.Address
	Amount  *big.Int
	Data    []byte
	Raw     types.Log // Blockchain specific contextual infos
}

L1GatewayRouterFinalizeWithdrawERC20 represents a FinalizeWithdrawERC20 event raised by the L1GatewayRouter contract.

type L1GatewayRouterFinalizeWithdrawERC20Iterator

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

L1GatewayRouterFinalizeWithdrawERC20Iterator is returned from FilterFinalizeWithdrawERC20 and is used to iterate over the raw logs and unpacked data for FinalizeWithdrawERC20 events raised by the L1GatewayRouter contract.

func (*L1GatewayRouterFinalizeWithdrawERC20Iterator) Close

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

func (*L1GatewayRouterFinalizeWithdrawERC20Iterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1GatewayRouterFinalizeWithdrawERC20Iterator) 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 L1GatewayRouterFinalizeWithdrawETH

type L1GatewayRouterFinalizeWithdrawETH struct {
	From   common.Address
	To     common.Address
	Amount *big.Int
	Data   []byte
	Raw    types.Log // Blockchain specific contextual infos
}

L1GatewayRouterFinalizeWithdrawETH represents a FinalizeWithdrawETH event raised by the L1GatewayRouter contract.

type L1GatewayRouterFinalizeWithdrawETHIterator

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

L1GatewayRouterFinalizeWithdrawETHIterator is returned from FilterFinalizeWithdrawETH and is used to iterate over the raw logs and unpacked data for FinalizeWithdrawETH events raised by the L1GatewayRouter contract.

func (*L1GatewayRouterFinalizeWithdrawETHIterator) Close

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

func (*L1GatewayRouterFinalizeWithdrawETHIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1GatewayRouterFinalizeWithdrawETHIterator) 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 L1GatewayRouterInitialized

type L1GatewayRouterInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

L1GatewayRouterInitialized represents a Initialized event raised by the L1GatewayRouter contract.

type L1GatewayRouterInitializedIterator

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

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

func (*L1GatewayRouterInitializedIterator) Close

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

func (*L1GatewayRouterInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1GatewayRouterInitializedIterator) 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 L1GatewayRouterOwnershipTransferred

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

L1GatewayRouterOwnershipTransferred represents a OwnershipTransferred event raised by the L1GatewayRouter contract.

type L1GatewayRouterOwnershipTransferredIterator

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

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

func (*L1GatewayRouterOwnershipTransferredIterator) Close

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

func (*L1GatewayRouterOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1GatewayRouterOwnershipTransferredIterator) 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 L1GatewayRouterRaw

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

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

func (*L1GatewayRouterRaw) Call

func (_L1GatewayRouter *L1GatewayRouterRaw) 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 (*L1GatewayRouterRaw) Transact

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

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

func (*L1GatewayRouterRaw) Transfer

func (_L1GatewayRouter *L1GatewayRouterRaw) 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 L1GatewayRouterRefundERC20

type L1GatewayRouterRefundERC20 struct {
	Token     common.Address
	Recipient common.Address
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

L1GatewayRouterRefundERC20 represents a RefundERC20 event raised by the L1GatewayRouter contract.

type L1GatewayRouterRefundERC20Iterator

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

L1GatewayRouterRefundERC20Iterator is returned from FilterRefundERC20 and is used to iterate over the raw logs and unpacked data for RefundERC20 events raised by the L1GatewayRouter contract.

func (*L1GatewayRouterRefundERC20Iterator) Close

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

func (*L1GatewayRouterRefundERC20Iterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1GatewayRouterRefundERC20Iterator) 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 L1GatewayRouterRefundETH

type L1GatewayRouterRefundETH struct {
	Recipient common.Address
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

L1GatewayRouterRefundETH represents a RefundETH event raised by the L1GatewayRouter contract.

type L1GatewayRouterRefundETHIterator

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

L1GatewayRouterRefundETHIterator is returned from FilterRefundETH and is used to iterate over the raw logs and unpacked data for RefundETH events raised by the L1GatewayRouter contract.

func (*L1GatewayRouterRefundETHIterator) Close

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

func (*L1GatewayRouterRefundETHIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1GatewayRouterRefundETHIterator) 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 L1GatewayRouterSession

type L1GatewayRouterSession struct {
	Contract     *L1GatewayRouter  // 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
}

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

func (*L1GatewayRouterSession) DefaultERC20Gateway

func (_L1GatewayRouter *L1GatewayRouterSession) DefaultERC20Gateway() (common.Address, error)

DefaultERC20Gateway is a free data retrieval call binding the contract method 0xce8c3e06.

Solidity: function defaultERC20Gateway() view returns(address)

func (*L1GatewayRouterSession) DepositERC20

func (_L1GatewayRouter *L1GatewayRouterSession) DepositERC20(_token common.Address, _amount *big.Int, _gasLimit *big.Int) (*types.Transaction, error)

DepositERC20 is a paid mutator transaction binding the contract method 0x21425ee0.

Solidity: function depositERC20(address _token, uint256 _amount, uint256 _gasLimit) payable returns()

func (*L1GatewayRouterSession) DepositERC200

func (_L1GatewayRouter *L1GatewayRouterSession) DepositERC200(_token common.Address, _to common.Address, _amount *big.Int, _gasLimit *big.Int) (*types.Transaction, error)

DepositERC200 is a paid mutator transaction binding the contract method 0xf219fa66.

Solidity: function depositERC20(address _token, address _to, uint256 _amount, uint256 _gasLimit) payable returns()

func (*L1GatewayRouterSession) DepositERC20AndCall

func (_L1GatewayRouter *L1GatewayRouterSession) DepositERC20AndCall(_token common.Address, _to common.Address, _amount *big.Int, _data []byte, _gasLimit *big.Int) (*types.Transaction, error)

DepositERC20AndCall is a paid mutator transaction binding the contract method 0x0aea8c26.

Solidity: function depositERC20AndCall(address _token, address _to, uint256 _amount, bytes _data, uint256 _gasLimit) payable returns()

func (*L1GatewayRouterSession) DepositETH

func (_L1GatewayRouter *L1GatewayRouterSession) DepositETH(_amount *big.Int, _gasLimit *big.Int) (*types.Transaction, error)

DepositETH is a paid mutator transaction binding the contract method 0x9f8420b3.

Solidity: function depositETH(uint256 _amount, uint256 _gasLimit) payable returns()

func (*L1GatewayRouterSession) DepositETH0

func (_L1GatewayRouter *L1GatewayRouterSession) DepositETH0(_to common.Address, _amount *big.Int, _gasLimit *big.Int) (*types.Transaction, error)

DepositETH0 is a paid mutator transaction binding the contract method 0xce0b63ce.

Solidity: function depositETH(address _to, uint256 _amount, uint256 _gasLimit) payable returns()

func (*L1GatewayRouterSession) DepositETHAndCall

func (_L1GatewayRouter *L1GatewayRouterSession) DepositETHAndCall(_to common.Address, _amount *big.Int, _data []byte, _gasLimit *big.Int) (*types.Transaction, error)

DepositETHAndCall is a paid mutator transaction binding the contract method 0xaac476f8.

Solidity: function depositETHAndCall(address _to, uint256 _amount, bytes _data, uint256 _gasLimit) payable returns()

func (*L1GatewayRouterSession) ERC20Gateway

func (_L1GatewayRouter *L1GatewayRouterSession) ERC20Gateway(arg0 common.Address) (common.Address, error)

ERC20Gateway is a free data retrieval call binding the contract method 0x705b05b8.

Solidity: function ERC20Gateway(address ) view returns(address)

func (*L1GatewayRouterSession) EthGateway

func (_L1GatewayRouter *L1GatewayRouterSession) EthGateway() (common.Address, error)

EthGateway is a free data retrieval call binding the contract method 0x8c00ce73.

Solidity: function ethGateway() view returns(address)

func (*L1GatewayRouterSession) FinalizeWithdrawERC20

func (_L1GatewayRouter *L1GatewayRouterSession) FinalizeWithdrawERC20(arg0 common.Address, arg1 common.Address, arg2 common.Address, arg3 common.Address, arg4 *big.Int, arg5 []byte) (*types.Transaction, error)

FinalizeWithdrawERC20 is a paid mutator transaction binding the contract method 0x84bd13b0.

Solidity: function finalizeWithdrawERC20(address , address , address , address , uint256 , bytes ) payable returns()

func (*L1GatewayRouterSession) FinalizeWithdrawETH

func (_L1GatewayRouter *L1GatewayRouterSession) FinalizeWithdrawETH(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

FinalizeWithdrawETH is a paid mutator transaction binding the contract method 0x8eaac8a3.

Solidity: function finalizeWithdrawETH(address , address , uint256 , bytes ) payable returns()

func (*L1GatewayRouterSession) GatewayInContext

func (_L1GatewayRouter *L1GatewayRouterSession) GatewayInContext() (common.Address, error)

GatewayInContext is a free data retrieval call binding the contract method 0x3a9a7b20.

Solidity: function gatewayInContext() view returns(address)

func (*L1GatewayRouterSession) GetERC20Gateway

func (_L1GatewayRouter *L1GatewayRouterSession) GetERC20Gateway(_token common.Address) (common.Address, error)

GetERC20Gateway is a free data retrieval call binding the contract method 0x43c66741.

Solidity: function getERC20Gateway(address _token) view returns(address)

func (*L1GatewayRouterSession) GetL2ERC20Address

func (_L1GatewayRouter *L1GatewayRouterSession) GetL2ERC20Address(_l1Address common.Address) (common.Address, error)

GetL2ERC20Address is a free data retrieval call binding the contract method 0xc676ad29.

Solidity: function getL2ERC20Address(address _l1Address) view returns(address)

func (*L1GatewayRouterSession) Initialize

func (_L1GatewayRouter *L1GatewayRouterSession) Initialize(_ethGateway common.Address, _defaultERC20Gateway common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _ethGateway, address _defaultERC20Gateway) returns()

func (*L1GatewayRouterSession) Owner

func (_L1GatewayRouter *L1GatewayRouterSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*L1GatewayRouterSession) RenounceOwnership

func (_L1GatewayRouter *L1GatewayRouterSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*L1GatewayRouterSession) RequestERC20

func (_L1GatewayRouter *L1GatewayRouterSession) RequestERC20(_sender common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)

RequestERC20 is a paid mutator transaction binding the contract method 0xc52a3bbc.

Solidity: function requestERC20(address _sender, address _token, uint256 _amount) returns(uint256)

func (*L1GatewayRouterSession) SetDefaultERC20Gateway

func (_L1GatewayRouter *L1GatewayRouterSession) SetDefaultERC20Gateway(_newDefaultERC20Gateway common.Address) (*types.Transaction, error)

SetDefaultERC20Gateway is a paid mutator transaction binding the contract method 0x5dfd5b9a.

Solidity: function setDefaultERC20Gateway(address _newDefaultERC20Gateway) returns()

func (*L1GatewayRouterSession) SetERC20Gateway

func (_L1GatewayRouter *L1GatewayRouterSession) SetERC20Gateway(_tokens []common.Address, _gateways []common.Address) (*types.Transaction, error)

SetERC20Gateway is a paid mutator transaction binding the contract method 0x635c8637.

Solidity: function setERC20Gateway(address[] _tokens, address[] _gateways) returns()

func (*L1GatewayRouterSession) SetETHGateway

func (_L1GatewayRouter *L1GatewayRouterSession) SetETHGateway(_newEthGateway common.Address) (*types.Transaction, error)

SetETHGateway is a paid mutator transaction binding the contract method 0x3d1d31c7.

Solidity: function setETHGateway(address _newEthGateway) returns()

func (*L1GatewayRouterSession) TransferOwnership

func (_L1GatewayRouter *L1GatewayRouterSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type L1GatewayRouterSetDefaultERC20Gateway

type L1GatewayRouterSetDefaultERC20Gateway struct {
	OldDefaultERC20Gateway common.Address
	NewDefaultERC20Gateway common.Address
	Raw                    types.Log // Blockchain specific contextual infos
}

L1GatewayRouterSetDefaultERC20Gateway represents a SetDefaultERC20Gateway event raised by the L1GatewayRouter contract.

type L1GatewayRouterSetDefaultERC20GatewayIterator

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

L1GatewayRouterSetDefaultERC20GatewayIterator is returned from FilterSetDefaultERC20Gateway and is used to iterate over the raw logs and unpacked data for SetDefaultERC20Gateway events raised by the L1GatewayRouter contract.

func (*L1GatewayRouterSetDefaultERC20GatewayIterator) Close

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

func (*L1GatewayRouterSetDefaultERC20GatewayIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1GatewayRouterSetDefaultERC20GatewayIterator) 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 L1GatewayRouterSetERC20Gateway

type L1GatewayRouterSetERC20Gateway struct {
	Token      common.Address
	OldGateway common.Address
	NewGateway common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

L1GatewayRouterSetERC20Gateway represents a SetERC20Gateway event raised by the L1GatewayRouter contract.

type L1GatewayRouterSetERC20GatewayIterator

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

L1GatewayRouterSetERC20GatewayIterator is returned from FilterSetERC20Gateway and is used to iterate over the raw logs and unpacked data for SetERC20Gateway events raised by the L1GatewayRouter contract.

func (*L1GatewayRouterSetERC20GatewayIterator) Close

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

func (*L1GatewayRouterSetERC20GatewayIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1GatewayRouterSetERC20GatewayIterator) 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 L1GatewayRouterSetETHGateway

type L1GatewayRouterSetETHGateway struct {
	OldETHGateway common.Address
	NewEthGateway common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

L1GatewayRouterSetETHGateway represents a SetETHGateway event raised by the L1GatewayRouter contract.

type L1GatewayRouterSetETHGatewayIterator

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

L1GatewayRouterSetETHGatewayIterator is returned from FilterSetETHGateway and is used to iterate over the raw logs and unpacked data for SetETHGateway events raised by the L1GatewayRouter contract.

func (*L1GatewayRouterSetETHGatewayIterator) Close

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

func (*L1GatewayRouterSetETHGatewayIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1GatewayRouterSetETHGatewayIterator) 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 L1GatewayRouterTransactor

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

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

func NewL1GatewayRouterTransactor

func NewL1GatewayRouterTransactor(address common.Address, transactor bind.ContractTransactor) (*L1GatewayRouterTransactor, error)

NewL1GatewayRouterTransactor creates a new write-only instance of L1GatewayRouter, bound to a specific deployed contract.

func (*L1GatewayRouterTransactor) DepositERC20

func (_L1GatewayRouter *L1GatewayRouterTransactor) DepositERC20(opts *bind.TransactOpts, _token common.Address, _amount *big.Int, _gasLimit *big.Int) (*types.Transaction, error)

DepositERC20 is a paid mutator transaction binding the contract method 0x21425ee0.

Solidity: function depositERC20(address _token, uint256 _amount, uint256 _gasLimit) payable returns()

func (*L1GatewayRouterTransactor) DepositERC200

func (_L1GatewayRouter *L1GatewayRouterTransactor) DepositERC200(opts *bind.TransactOpts, _token common.Address, _to common.Address, _amount *big.Int, _gasLimit *big.Int) (*types.Transaction, error)

DepositERC200 is a paid mutator transaction binding the contract method 0xf219fa66.

Solidity: function depositERC20(address _token, address _to, uint256 _amount, uint256 _gasLimit) payable returns()

func (*L1GatewayRouterTransactor) DepositERC20AndCall

func (_L1GatewayRouter *L1GatewayRouterTransactor) DepositERC20AndCall(opts *bind.TransactOpts, _token common.Address, _to common.Address, _amount *big.Int, _data []byte, _gasLimit *big.Int) (*types.Transaction, error)

DepositERC20AndCall is a paid mutator transaction binding the contract method 0x0aea8c26.

Solidity: function depositERC20AndCall(address _token, address _to, uint256 _amount, bytes _data, uint256 _gasLimit) payable returns()

func (*L1GatewayRouterTransactor) DepositETH

func (_L1GatewayRouter *L1GatewayRouterTransactor) DepositETH(opts *bind.TransactOpts, _amount *big.Int, _gasLimit *big.Int) (*types.Transaction, error)

DepositETH is a paid mutator transaction binding the contract method 0x9f8420b3.

Solidity: function depositETH(uint256 _amount, uint256 _gasLimit) payable returns()

func (*L1GatewayRouterTransactor) DepositETH0

func (_L1GatewayRouter *L1GatewayRouterTransactor) DepositETH0(opts *bind.TransactOpts, _to common.Address, _amount *big.Int, _gasLimit *big.Int) (*types.Transaction, error)

DepositETH0 is a paid mutator transaction binding the contract method 0xce0b63ce.

Solidity: function depositETH(address _to, uint256 _amount, uint256 _gasLimit) payable returns()

func (*L1GatewayRouterTransactor) DepositETHAndCall

func (_L1GatewayRouter *L1GatewayRouterTransactor) DepositETHAndCall(opts *bind.TransactOpts, _to common.Address, _amount *big.Int, _data []byte, _gasLimit *big.Int) (*types.Transaction, error)

DepositETHAndCall is a paid mutator transaction binding the contract method 0xaac476f8.

Solidity: function depositETHAndCall(address _to, uint256 _amount, bytes _data, uint256 _gasLimit) payable returns()

func (*L1GatewayRouterTransactor) FinalizeWithdrawERC20

func (_L1GatewayRouter *L1GatewayRouterTransactor) FinalizeWithdrawERC20(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 common.Address, arg3 common.Address, arg4 *big.Int, arg5 []byte) (*types.Transaction, error)

FinalizeWithdrawERC20 is a paid mutator transaction binding the contract method 0x84bd13b0.

Solidity: function finalizeWithdrawERC20(address , address , address , address , uint256 , bytes ) payable returns()

func (*L1GatewayRouterTransactor) FinalizeWithdrawETH

func (_L1GatewayRouter *L1GatewayRouterTransactor) FinalizeWithdrawETH(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

FinalizeWithdrawETH is a paid mutator transaction binding the contract method 0x8eaac8a3.

Solidity: function finalizeWithdrawETH(address , address , uint256 , bytes ) payable returns()

func (*L1GatewayRouterTransactor) Initialize

func (_L1GatewayRouter *L1GatewayRouterTransactor) Initialize(opts *bind.TransactOpts, _ethGateway common.Address, _defaultERC20Gateway common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _ethGateway, address _defaultERC20Gateway) returns()

func (*L1GatewayRouterTransactor) RenounceOwnership

func (_L1GatewayRouter *L1GatewayRouterTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*L1GatewayRouterTransactor) RequestERC20

func (_L1GatewayRouter *L1GatewayRouterTransactor) RequestERC20(opts *bind.TransactOpts, _sender common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)

RequestERC20 is a paid mutator transaction binding the contract method 0xc52a3bbc.

Solidity: function requestERC20(address _sender, address _token, uint256 _amount) returns(uint256)

func (*L1GatewayRouterTransactor) SetDefaultERC20Gateway

func (_L1GatewayRouter *L1GatewayRouterTransactor) SetDefaultERC20Gateway(opts *bind.TransactOpts, _newDefaultERC20Gateway common.Address) (*types.Transaction, error)

SetDefaultERC20Gateway is a paid mutator transaction binding the contract method 0x5dfd5b9a.

Solidity: function setDefaultERC20Gateway(address _newDefaultERC20Gateway) returns()

func (*L1GatewayRouterTransactor) SetERC20Gateway

func (_L1GatewayRouter *L1GatewayRouterTransactor) SetERC20Gateway(opts *bind.TransactOpts, _tokens []common.Address, _gateways []common.Address) (*types.Transaction, error)

SetERC20Gateway is a paid mutator transaction binding the contract method 0x635c8637.

Solidity: function setERC20Gateway(address[] _tokens, address[] _gateways) returns()

func (*L1GatewayRouterTransactor) SetETHGateway

func (_L1GatewayRouter *L1GatewayRouterTransactor) SetETHGateway(opts *bind.TransactOpts, _newEthGateway common.Address) (*types.Transaction, error)

SetETHGateway is a paid mutator transaction binding the contract method 0x3d1d31c7.

Solidity: function setETHGateway(address _newEthGateway) returns()

func (*L1GatewayRouterTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

type L1GatewayRouterTransactorRaw

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

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

func (*L1GatewayRouterTransactorRaw) Transact

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

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

func (*L1GatewayRouterTransactorRaw) Transfer

func (_L1GatewayRouter *L1GatewayRouterTransactorRaw) 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 L1GatewayRouterTransactorSession

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

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

func (*L1GatewayRouterTransactorSession) DepositERC20

func (_L1GatewayRouter *L1GatewayRouterTransactorSession) DepositERC20(_token common.Address, _amount *big.Int, _gasLimit *big.Int) (*types.Transaction, error)

DepositERC20 is a paid mutator transaction binding the contract method 0x21425ee0.

Solidity: function depositERC20(address _token, uint256 _amount, uint256 _gasLimit) payable returns()

func (*L1GatewayRouterTransactorSession) DepositERC200

func (_L1GatewayRouter *L1GatewayRouterTransactorSession) DepositERC200(_token common.Address, _to common.Address, _amount *big.Int, _gasLimit *big.Int) (*types.Transaction, error)

DepositERC200 is a paid mutator transaction binding the contract method 0xf219fa66.

Solidity: function depositERC20(address _token, address _to, uint256 _amount, uint256 _gasLimit) payable returns()

func (*L1GatewayRouterTransactorSession) DepositERC20AndCall

func (_L1GatewayRouter *L1GatewayRouterTransactorSession) DepositERC20AndCall(_token common.Address, _to common.Address, _amount *big.Int, _data []byte, _gasLimit *big.Int) (*types.Transaction, error)

DepositERC20AndCall is a paid mutator transaction binding the contract method 0x0aea8c26.

Solidity: function depositERC20AndCall(address _token, address _to, uint256 _amount, bytes _data, uint256 _gasLimit) payable returns()

func (*L1GatewayRouterTransactorSession) DepositETH

func (_L1GatewayRouter *L1GatewayRouterTransactorSession) DepositETH(_amount *big.Int, _gasLimit *big.Int) (*types.Transaction, error)

DepositETH is a paid mutator transaction binding the contract method 0x9f8420b3.

Solidity: function depositETH(uint256 _amount, uint256 _gasLimit) payable returns()

func (*L1GatewayRouterTransactorSession) DepositETH0

func (_L1GatewayRouter *L1GatewayRouterTransactorSession) DepositETH0(_to common.Address, _amount *big.Int, _gasLimit *big.Int) (*types.Transaction, error)

DepositETH0 is a paid mutator transaction binding the contract method 0xce0b63ce.

Solidity: function depositETH(address _to, uint256 _amount, uint256 _gasLimit) payable returns()

func (*L1GatewayRouterTransactorSession) DepositETHAndCall

func (_L1GatewayRouter *L1GatewayRouterTransactorSession) DepositETHAndCall(_to common.Address, _amount *big.Int, _data []byte, _gasLimit *big.Int) (*types.Transaction, error)

DepositETHAndCall is a paid mutator transaction binding the contract method 0xaac476f8.

Solidity: function depositETHAndCall(address _to, uint256 _amount, bytes _data, uint256 _gasLimit) payable returns()

func (*L1GatewayRouterTransactorSession) FinalizeWithdrawERC20

func (_L1GatewayRouter *L1GatewayRouterTransactorSession) FinalizeWithdrawERC20(arg0 common.Address, arg1 common.Address, arg2 common.Address, arg3 common.Address, arg4 *big.Int, arg5 []byte) (*types.Transaction, error)

FinalizeWithdrawERC20 is a paid mutator transaction binding the contract method 0x84bd13b0.

Solidity: function finalizeWithdrawERC20(address , address , address , address , uint256 , bytes ) payable returns()

func (*L1GatewayRouterTransactorSession) FinalizeWithdrawETH

func (_L1GatewayRouter *L1GatewayRouterTransactorSession) FinalizeWithdrawETH(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

FinalizeWithdrawETH is a paid mutator transaction binding the contract method 0x8eaac8a3.

Solidity: function finalizeWithdrawETH(address , address , uint256 , bytes ) payable returns()

func (*L1GatewayRouterTransactorSession) Initialize

func (_L1GatewayRouter *L1GatewayRouterTransactorSession) Initialize(_ethGateway common.Address, _defaultERC20Gateway common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _ethGateway, address _defaultERC20Gateway) returns()

func (*L1GatewayRouterTransactorSession) RenounceOwnership

func (_L1GatewayRouter *L1GatewayRouterTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*L1GatewayRouterTransactorSession) RequestERC20

func (_L1GatewayRouter *L1GatewayRouterTransactorSession) RequestERC20(_sender common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)

RequestERC20 is a paid mutator transaction binding the contract method 0xc52a3bbc.

Solidity: function requestERC20(address _sender, address _token, uint256 _amount) returns(uint256)

func (*L1GatewayRouterTransactorSession) SetDefaultERC20Gateway

func (_L1GatewayRouter *L1GatewayRouterTransactorSession) SetDefaultERC20Gateway(_newDefaultERC20Gateway common.Address) (*types.Transaction, error)

SetDefaultERC20Gateway is a paid mutator transaction binding the contract method 0x5dfd5b9a.

Solidity: function setDefaultERC20Gateway(address _newDefaultERC20Gateway) returns()

func (*L1GatewayRouterTransactorSession) SetERC20Gateway

func (_L1GatewayRouter *L1GatewayRouterTransactorSession) SetERC20Gateway(_tokens []common.Address, _gateways []common.Address) (*types.Transaction, error)

SetERC20Gateway is a paid mutator transaction binding the contract method 0x635c8637.

Solidity: function setERC20Gateway(address[] _tokens, address[] _gateways) returns()

func (*L1GatewayRouterTransactorSession) SetETHGateway

func (_L1GatewayRouter *L1GatewayRouterTransactorSession) SetETHGateway(_newEthGateway common.Address) (*types.Transaction, error)

SetETHGateway is a paid mutator transaction binding the contract method 0x3d1d31c7.

Solidity: function setETHGateway(address _newEthGateway) returns()

func (*L1GatewayRouterTransactorSession) TransferOwnership

func (_L1GatewayRouter *L1GatewayRouterTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type OwnableUpgradeable

type OwnableUpgradeable struct {
	OwnableUpgradeableCaller     // Read-only binding to the contract
	OwnableUpgradeableTransactor // Write-only binding to the contract
	OwnableUpgradeableFilterer   // Log filterer for contract events
}

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

func NewOwnableUpgradeable

func NewOwnableUpgradeable(address common.Address, backend bind.ContractBackend) (*OwnableUpgradeable, error)

NewOwnableUpgradeable creates a new instance of OwnableUpgradeable, bound to a specific deployed contract.

type OwnableUpgradeableCaller

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

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

func NewOwnableUpgradeableCaller

func NewOwnableUpgradeableCaller(address common.Address, caller bind.ContractCaller) (*OwnableUpgradeableCaller, error)

NewOwnableUpgradeableCaller creates a new read-only instance of OwnableUpgradeable, bound to a specific deployed contract.

func (*OwnableUpgradeableCaller) Owner

func (_OwnableUpgradeable *OwnableUpgradeableCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

type OwnableUpgradeableCallerRaw

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

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

func (*OwnableUpgradeableCallerRaw) Call

func (_OwnableUpgradeable *OwnableUpgradeableCallerRaw) 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 OwnableUpgradeableCallerSession

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

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

func (*OwnableUpgradeableCallerSession) Owner

func (_OwnableUpgradeable *OwnableUpgradeableCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

type OwnableUpgradeableFilterer

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

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

func NewOwnableUpgradeableFilterer

func NewOwnableUpgradeableFilterer(address common.Address, filterer bind.ContractFilterer) (*OwnableUpgradeableFilterer, error)

NewOwnableUpgradeableFilterer creates a new log filterer instance of OwnableUpgradeable, bound to a specific deployed contract.

func (*OwnableUpgradeableFilterer) FilterInitialized

func (_OwnableUpgradeable *OwnableUpgradeableFilterer) FilterInitialized(opts *bind.FilterOpts) (*OwnableUpgradeableInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*OwnableUpgradeableFilterer) FilterOwnershipTransferred

func (_OwnableUpgradeable *OwnableUpgradeableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableUpgradeableOwnershipTransferredIterator, error)

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

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

func (*OwnableUpgradeableFilterer) ParseInitialized

func (_OwnableUpgradeable *OwnableUpgradeableFilterer) ParseInitialized(log types.Log) (*OwnableUpgradeableInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*OwnableUpgradeableFilterer) ParseOwnershipTransferred

func (_OwnableUpgradeable *OwnableUpgradeableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableUpgradeableOwnershipTransferred, error)

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

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

func (*OwnableUpgradeableFilterer) WatchInitialized

func (_OwnableUpgradeable *OwnableUpgradeableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *OwnableUpgradeableInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*OwnableUpgradeableFilterer) WatchOwnershipTransferred

func (_OwnableUpgradeable *OwnableUpgradeableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableUpgradeableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

type OwnableUpgradeableInitialized

type OwnableUpgradeableInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

OwnableUpgradeableInitialized represents a Initialized event raised by the OwnableUpgradeable contract.

type OwnableUpgradeableInitializedIterator

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

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

func (*OwnableUpgradeableInitializedIterator) Close

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

func (*OwnableUpgradeableInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OwnableUpgradeableInitializedIterator) 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 OwnableUpgradeableOwnershipTransferred

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

OwnableUpgradeableOwnershipTransferred represents a OwnershipTransferred event raised by the OwnableUpgradeable contract.

type OwnableUpgradeableOwnershipTransferredIterator

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

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

func (*OwnableUpgradeableOwnershipTransferredIterator) Close

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

func (*OwnableUpgradeableOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OwnableUpgradeableOwnershipTransferredIterator) 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 OwnableUpgradeableRaw

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

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

func (*OwnableUpgradeableRaw) Call

func (_OwnableUpgradeable *OwnableUpgradeableRaw) 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 (*OwnableUpgradeableRaw) Transact

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

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

func (*OwnableUpgradeableRaw) Transfer

func (_OwnableUpgradeable *OwnableUpgradeableRaw) 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 OwnableUpgradeableSession

type OwnableUpgradeableSession struct {
	Contract     *OwnableUpgradeable // 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
}

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

func (*OwnableUpgradeableSession) Owner

func (_OwnableUpgradeable *OwnableUpgradeableSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*OwnableUpgradeableSession) RenounceOwnership

func (_OwnableUpgradeable *OwnableUpgradeableSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OwnableUpgradeableSession) TransferOwnership

func (_OwnableUpgradeable *OwnableUpgradeableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type OwnableUpgradeableTransactor

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

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

func NewOwnableUpgradeableTransactor

func NewOwnableUpgradeableTransactor(address common.Address, transactor bind.ContractTransactor) (*OwnableUpgradeableTransactor, error)

NewOwnableUpgradeableTransactor creates a new write-only instance of OwnableUpgradeable, bound to a specific deployed contract.

func (*OwnableUpgradeableTransactor) RenounceOwnership

func (_OwnableUpgradeable *OwnableUpgradeableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OwnableUpgradeableTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

type OwnableUpgradeableTransactorRaw

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

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

func (*OwnableUpgradeableTransactorRaw) Transact

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

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

func (*OwnableUpgradeableTransactorRaw) Transfer

func (_OwnableUpgradeable *OwnableUpgradeableTransactorRaw) 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 OwnableUpgradeableTransactorSession

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

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

func (*OwnableUpgradeableTransactorSession) RenounceOwnership

func (_OwnableUpgradeable *OwnableUpgradeableTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OwnableUpgradeableTransactorSession) TransferOwnership

func (_OwnableUpgradeable *OwnableUpgradeableTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type Parser

type Parser interface {
	// ParseEvent parses the event from the log.
	ParseEvent(log ethTypes.Log) (_ EventType, event interface{}, ok bool)
}

Parser parses events from the l1gateway contracat.

func NewParser

func NewParser(l1GatewayAddress common.Address) (Parser, error)

NewParser creates a new parser for the l1gateway contract.

type SafeERC20Upgradeable

type SafeERC20Upgradeable struct {
	SafeERC20UpgradeableCaller     // Read-only binding to the contract
	SafeERC20UpgradeableTransactor // Write-only binding to the contract
	SafeERC20UpgradeableFilterer   // Log filterer for contract events
}

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

func DeploySafeERC20Upgradeable

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

DeploySafeERC20Upgradeable deploys a new Ethereum contract, binding an instance of SafeERC20Upgradeable to it.

func NewSafeERC20Upgradeable

func NewSafeERC20Upgradeable(address common.Address, backend bind.ContractBackend) (*SafeERC20Upgradeable, error)

NewSafeERC20Upgradeable creates a new instance of SafeERC20Upgradeable, bound to a specific deployed contract.

type SafeERC20UpgradeableCaller

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

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

func NewSafeERC20UpgradeableCaller

func NewSafeERC20UpgradeableCaller(address common.Address, caller bind.ContractCaller) (*SafeERC20UpgradeableCaller, error)

NewSafeERC20UpgradeableCaller creates a new read-only instance of SafeERC20Upgradeable, bound to a specific deployed contract.

type SafeERC20UpgradeableCallerRaw

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

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

func (*SafeERC20UpgradeableCallerRaw) Call

func (_SafeERC20Upgradeable *SafeERC20UpgradeableCallerRaw) 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 SafeERC20UpgradeableCallerSession

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

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

type SafeERC20UpgradeableFilterer

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

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

func NewSafeERC20UpgradeableFilterer

func NewSafeERC20UpgradeableFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeERC20UpgradeableFilterer, error)

NewSafeERC20UpgradeableFilterer creates a new log filterer instance of SafeERC20Upgradeable, bound to a specific deployed contract.

type SafeERC20UpgradeableRaw

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

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

func (*SafeERC20UpgradeableRaw) Call

func (_SafeERC20Upgradeable *SafeERC20UpgradeableRaw) 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 (*SafeERC20UpgradeableRaw) Transact

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

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

func (*SafeERC20UpgradeableRaw) Transfer

func (_SafeERC20Upgradeable *SafeERC20UpgradeableRaw) 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 SafeERC20UpgradeableSession

type SafeERC20UpgradeableSession struct {
	Contract     *SafeERC20Upgradeable // 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
}

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

type SafeERC20UpgradeableTransactor

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

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

func NewSafeERC20UpgradeableTransactor

func NewSafeERC20UpgradeableTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeERC20UpgradeableTransactor, error)

NewSafeERC20UpgradeableTransactor creates a new write-only instance of SafeERC20Upgradeable, bound to a specific deployed contract.

type SafeERC20UpgradeableTransactorRaw

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

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

func (*SafeERC20UpgradeableTransactorRaw) Transact

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

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

func (*SafeERC20UpgradeableTransactorRaw) Transfer

func (_SafeERC20Upgradeable *SafeERC20UpgradeableTransactorRaw) 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 SafeERC20UpgradeableTransactorSession

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

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

Jump to

Keyboard shortcuts

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