base

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AddressOptimismPortal         = common.HexToAddress("0x49048044D57e1C92A77f79988d21Fa8fAF74E97e")
	AddressL1StandardBridge       = common.HexToAddress("0x3154Cf16ccdb4C6d922629664174b904d80F2C35")
	AddressL2CrossDomainMessenger = common.HexToAddress("0x4200000000000000000000000000000000000007")

	EventHashOptimismPortalTransactionDeposited           = contract.EventHash("TransactionDeposited(address,address,uint256,bytes)")
	EventHashOptimismPortalTransactionWithdrawalFinalized = contract.EventHash("WithdrawalFinalized(bytes32,bool)")

	EventHashL1StandardBridgeETHDepositInitiated      = contract.EventHash("ETHDepositInitiated(address,address,uint256,bytes)")
	EventHashL1StandardBridgeERC20DepositInitiated    = contract.EventHash("ERC20DepositInitiated(address,address,address,address,uint256,bytes)")
	EventHashL1StandardBridgeETHWithdrawalFinalized   = contract.EventHash("ETHWithdrawalFinalized(address,address,uint256,bytes)")
	EventHashL1StandardBridgeERC20WithdrawalFinalized = contract.EventHash("ERC20WithdrawalFinalized(address,address,address,address,uint256,bytes)")
)
View Source
var L1StandardBridgeABI = L1StandardBridgeMetaData.ABI

L1StandardBridgeABI is the input ABI used to generate the binding from. Deprecated: Use L1StandardBridgeMetaData.ABI instead.

View Source
var L1StandardBridgeMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"_messenger\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"localToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"remoteToken\",\"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\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"ERC20BridgeFinalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"localToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"remoteToken\",\"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\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"ERC20BridgeInitiated\",\"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\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"ERC20DepositInitiated\",\"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\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"ERC20WithdrawalFinalized\",\"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\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"ETHBridgeFinalized\",\"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\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"ETHBridgeInitiated\",\"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\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"ETHDepositInitiated\",\"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\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"ETHWithdrawalFinalized\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"MESSENGER\",\"outputs\":[{\"internalType\":\"contractCrossDomainMessenger\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"OTHER_BRIDGE\",\"outputs\":[{\"internalType\":\"contractStandardBridge\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_localToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_remoteToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"bridgeERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_localToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_remoteToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"bridgeERC20To\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"bridgeETH\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"bridgeETHTo\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l1Token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_l2Token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"depositERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l1Token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_l2Token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"depositERC20To\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"depositETH\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"depositETHTo\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"deposits\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_localToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_remoteToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"finalizeBridgeERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"finalizeBridgeETH\",\"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\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"finalizeERC20Withdrawal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"finalizeETHWithdrawal\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"l2TokenBridge\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"messenger\",\"outputs\":[{\"internalType\":\"contractCrossDomainMessenger\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

L1StandardBridgeMetaData contains all meta data concerning the L1StandardBridge contract.

View Source
var OptimismPortalABI = OptimismPortalMetaData.ABI

OptimismPortalABI is the input ABI used to generate the binding from. Deprecated: Use OptimismPortalMetaData.ABI instead.

View Source
var OptimismPortalMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractL2OutputOracle\",\"name\":\"_l2Oracle\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_guardian\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_paused\",\"type\":\"bool\"},{\"internalType\":\"contractSystemConfig\",\"name\":\"_config\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"version\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"opaqueData\",\"type\":\"bytes\"}],\"name\":\"TransactionDeposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"withdrawalHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"name\":\"WithdrawalFinalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"withdrawalHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"WithdrawalProven\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"GUARDIAN\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"L2_ORACLE\",\"outputs\":[{\"internalType\":\"contractL2OutputOracle\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SYSTEM_CONFIG\",\"outputs\":[{\"internalType\":\"contractSystemConfig\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"_gasLimit\",\"type\":\"uint64\"},{\"internalType\":\"bool\",\"name\":\"_isCreation\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"depositTransaction\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"donateETH\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"internalType\":\"structTypes.WithdrawalTransaction\",\"name\":\"_tx\",\"type\":\"tuple\"}],\"name\":\"finalizeWithdrawalTransaction\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"finalizedWithdrawals\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_paused\",\"type\":\"bool\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_l2OutputIndex\",\"type\":\"uint256\"}],\"name\":\"isOutputFinalized\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"l2Sender\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"_byteCount\",\"type\":\"uint64\"}],\"name\":\"minimumGasLimit\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"params\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"prevBaseFee\",\"type\":\"uint128\"},{\"internalType\":\"uint64\",\"name\":\"prevBoughtGas\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"prevBlockNum\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"internalType\":\"structTypes.WithdrawalTransaction\",\"name\":\"_tx\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"_l2OutputIndex\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"version\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"stateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"messagePasserStorageRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"latestBlockhash\",\"type\":\"bytes32\"}],\"internalType\":\"structTypes.OutputRootProof\",\"name\":\"_outputRootProof\",\"type\":\"tuple\"},{\"internalType\":\"bytes[]\",\"name\":\"_withdrawalProof\",\"type\":\"bytes[]\"}],\"name\":\"proveWithdrawalTransaction\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"provenWithdrawals\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"outputRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint128\",\"name\":\"timestamp\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"l2OutputIndex\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

OptimismPortalMetaData contains all meta data concerning the OptimismPortal contract.

Functions

This section is empty.

Types

type L1StandardBridge

type L1StandardBridge struct {
	L1StandardBridgeCaller     // Read-only binding to the contract
	L1StandardBridgeTransactor // Write-only binding to the contract
	L1StandardBridgeFilterer   // Log filterer for contract events
}

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

func NewL1StandardBridge

func NewL1StandardBridge(address common.Address, backend bind.ContractBackend) (*L1StandardBridge, error)

NewL1StandardBridge creates a new instance of L1StandardBridge, bound to a specific deployed contract.

type L1StandardBridgeCaller

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

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

func NewL1StandardBridgeCaller

func NewL1StandardBridgeCaller(address common.Address, caller bind.ContractCaller) (*L1StandardBridgeCaller, error)

NewL1StandardBridgeCaller creates a new read-only instance of L1StandardBridge, bound to a specific deployed contract.

func (*L1StandardBridgeCaller) Deposits

func (_L1StandardBridge *L1StandardBridgeCaller) Deposits(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

Deposits is a free data retrieval call binding the contract method 0x8f601f66.

Solidity: function deposits(address , address ) view returns(uint256)

func (*L1StandardBridgeCaller) L2TokenBridge

func (_L1StandardBridge *L1StandardBridgeCaller) L2TokenBridge(opts *bind.CallOpts) (common.Address, error)

L2TokenBridge is a free data retrieval call binding the contract method 0x91c49bf8.

Solidity: function l2TokenBridge() view returns(address)

func (*L1StandardBridgeCaller) MESSENGER

func (_L1StandardBridge *L1StandardBridgeCaller) MESSENGER(opts *bind.CallOpts) (common.Address, error)

MESSENGER is a free data retrieval call binding the contract method 0x927ede2d.

Solidity: function MESSENGER() view returns(address)

func (*L1StandardBridgeCaller) Messenger

func (_L1StandardBridge *L1StandardBridgeCaller) Messenger(opts *bind.CallOpts) (common.Address, error)

Messenger is a free data retrieval call binding the contract method 0x3cb747bf.

Solidity: function messenger() view returns(address)

func (*L1StandardBridgeCaller) OTHERBRIDGE

func (_L1StandardBridge *L1StandardBridgeCaller) OTHERBRIDGE(opts *bind.CallOpts) (common.Address, error)

OTHERBRIDGE is a free data retrieval call binding the contract method 0x7f46ddb2.

Solidity: function OTHER_BRIDGE() view returns(address)

func (*L1StandardBridgeCaller) Version

func (_L1StandardBridge *L1StandardBridgeCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type L1StandardBridgeCallerRaw

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

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

func (*L1StandardBridgeCallerRaw) Call

func (_L1StandardBridge *L1StandardBridgeCallerRaw) 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 L1StandardBridgeCallerSession

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

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

func (*L1StandardBridgeCallerSession) Deposits

func (_L1StandardBridge *L1StandardBridgeCallerSession) Deposits(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Deposits is a free data retrieval call binding the contract method 0x8f601f66.

Solidity: function deposits(address , address ) view returns(uint256)

func (*L1StandardBridgeCallerSession) L2TokenBridge

func (_L1StandardBridge *L1StandardBridgeCallerSession) L2TokenBridge() (common.Address, error)

L2TokenBridge is a free data retrieval call binding the contract method 0x91c49bf8.

Solidity: function l2TokenBridge() view returns(address)

func (*L1StandardBridgeCallerSession) MESSENGER

func (_L1StandardBridge *L1StandardBridgeCallerSession) MESSENGER() (common.Address, error)

MESSENGER is a free data retrieval call binding the contract method 0x927ede2d.

Solidity: function MESSENGER() view returns(address)

func (*L1StandardBridgeCallerSession) Messenger

func (_L1StandardBridge *L1StandardBridgeCallerSession) Messenger() (common.Address, error)

Messenger is a free data retrieval call binding the contract method 0x3cb747bf.

Solidity: function messenger() view returns(address)

func (*L1StandardBridgeCallerSession) OTHERBRIDGE

func (_L1StandardBridge *L1StandardBridgeCallerSession) OTHERBRIDGE() (common.Address, error)

OTHERBRIDGE is a free data retrieval call binding the contract method 0x7f46ddb2.

Solidity: function OTHER_BRIDGE() view returns(address)

func (*L1StandardBridgeCallerSession) Version

func (_L1StandardBridge *L1StandardBridgeCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type L1StandardBridgeERC20BridgeFinalized

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

L1StandardBridgeERC20BridgeFinalized represents a ERC20BridgeFinalized event raised by the L1StandardBridge contract.

type L1StandardBridgeERC20BridgeFinalizedIterator

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

L1StandardBridgeERC20BridgeFinalizedIterator is returned from FilterERC20BridgeFinalized and is used to iterate over the raw logs and unpacked data for ERC20BridgeFinalized events raised by the L1StandardBridge contract.

func (*L1StandardBridgeERC20BridgeFinalizedIterator) Close

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

func (*L1StandardBridgeERC20BridgeFinalizedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1StandardBridgeERC20BridgeFinalizedIterator) 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 L1StandardBridgeERC20BridgeInitiated

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

L1StandardBridgeERC20BridgeInitiated represents a ERC20BridgeInitiated event raised by the L1StandardBridge contract.

type L1StandardBridgeERC20BridgeInitiatedIterator

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

L1StandardBridgeERC20BridgeInitiatedIterator is returned from FilterERC20BridgeInitiated and is used to iterate over the raw logs and unpacked data for ERC20BridgeInitiated events raised by the L1StandardBridge contract.

func (*L1StandardBridgeERC20BridgeInitiatedIterator) Close

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

func (*L1StandardBridgeERC20BridgeInitiatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1StandardBridgeERC20BridgeInitiatedIterator) 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 L1StandardBridgeERC20DepositInitiated

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

L1StandardBridgeERC20DepositInitiated represents a ERC20DepositInitiated event raised by the L1StandardBridge contract.

type L1StandardBridgeERC20DepositInitiatedIterator

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

L1StandardBridgeERC20DepositInitiatedIterator is returned from FilterERC20DepositInitiated and is used to iterate over the raw logs and unpacked data for ERC20DepositInitiated events raised by the L1StandardBridge contract.

func (*L1StandardBridgeERC20DepositInitiatedIterator) Close

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

func (*L1StandardBridgeERC20DepositInitiatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1StandardBridgeERC20DepositInitiatedIterator) 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 L1StandardBridgeERC20WithdrawalFinalized

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

L1StandardBridgeERC20WithdrawalFinalized represents a ERC20WithdrawalFinalized event raised by the L1StandardBridge contract.

type L1StandardBridgeERC20WithdrawalFinalizedIterator

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

L1StandardBridgeERC20WithdrawalFinalizedIterator is returned from FilterERC20WithdrawalFinalized and is used to iterate over the raw logs and unpacked data for ERC20WithdrawalFinalized events raised by the L1StandardBridge contract.

func (*L1StandardBridgeERC20WithdrawalFinalizedIterator) Close

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

func (*L1StandardBridgeERC20WithdrawalFinalizedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1StandardBridgeERC20WithdrawalFinalizedIterator) 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 L1StandardBridgeETHBridgeFinalized

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

L1StandardBridgeETHBridgeFinalized represents a ETHBridgeFinalized event raised by the L1StandardBridge contract.

type L1StandardBridgeETHBridgeFinalizedIterator

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

L1StandardBridgeETHBridgeFinalizedIterator is returned from FilterETHBridgeFinalized and is used to iterate over the raw logs and unpacked data for ETHBridgeFinalized events raised by the L1StandardBridge contract.

func (*L1StandardBridgeETHBridgeFinalizedIterator) Close

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

func (*L1StandardBridgeETHBridgeFinalizedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1StandardBridgeETHBridgeFinalizedIterator) 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 L1StandardBridgeETHBridgeInitiated

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

L1StandardBridgeETHBridgeInitiated represents a ETHBridgeInitiated event raised by the L1StandardBridge contract.

type L1StandardBridgeETHBridgeInitiatedIterator

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

L1StandardBridgeETHBridgeInitiatedIterator is returned from FilterETHBridgeInitiated and is used to iterate over the raw logs and unpacked data for ETHBridgeInitiated events raised by the L1StandardBridge contract.

func (*L1StandardBridgeETHBridgeInitiatedIterator) Close

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

func (*L1StandardBridgeETHBridgeInitiatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1StandardBridgeETHBridgeInitiatedIterator) 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 L1StandardBridgeETHDepositInitiated

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

L1StandardBridgeETHDepositInitiated represents a ETHDepositInitiated event raised by the L1StandardBridge contract.

type L1StandardBridgeETHDepositInitiatedIterator

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

L1StandardBridgeETHDepositInitiatedIterator is returned from FilterETHDepositInitiated and is used to iterate over the raw logs and unpacked data for ETHDepositInitiated events raised by the L1StandardBridge contract.

func (*L1StandardBridgeETHDepositInitiatedIterator) Close

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

func (*L1StandardBridgeETHDepositInitiatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1StandardBridgeETHDepositInitiatedIterator) 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 L1StandardBridgeETHWithdrawalFinalized

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

L1StandardBridgeETHWithdrawalFinalized represents a ETHWithdrawalFinalized event raised by the L1StandardBridge contract.

type L1StandardBridgeETHWithdrawalFinalizedIterator

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

L1StandardBridgeETHWithdrawalFinalizedIterator is returned from FilterETHWithdrawalFinalized and is used to iterate over the raw logs and unpacked data for ETHWithdrawalFinalized events raised by the L1StandardBridge contract.

func (*L1StandardBridgeETHWithdrawalFinalizedIterator) Close

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

func (*L1StandardBridgeETHWithdrawalFinalizedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1StandardBridgeETHWithdrawalFinalizedIterator) 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 L1StandardBridgeFilterer

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

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

func NewL1StandardBridgeFilterer

func NewL1StandardBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*L1StandardBridgeFilterer, error)

NewL1StandardBridgeFilterer creates a new log filterer instance of L1StandardBridge, bound to a specific deployed contract.

func (*L1StandardBridgeFilterer) FilterERC20BridgeFinalized

func (_L1StandardBridge *L1StandardBridgeFilterer) FilterERC20BridgeFinalized(opts *bind.FilterOpts, localToken []common.Address, remoteToken []common.Address, from []common.Address) (*L1StandardBridgeERC20BridgeFinalizedIterator, error)

FilterERC20BridgeFinalized is a free log retrieval operation binding the contract event 0xd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd.

Solidity: event ERC20BridgeFinalized(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) FilterERC20BridgeInitiated

func (_L1StandardBridge *L1StandardBridgeFilterer) FilterERC20BridgeInitiated(opts *bind.FilterOpts, localToken []common.Address, remoteToken []common.Address, from []common.Address) (*L1StandardBridgeERC20BridgeInitiatedIterator, error)

FilterERC20BridgeInitiated is a free log retrieval operation binding the contract event 0x7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf.

Solidity: event ERC20BridgeInitiated(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) FilterERC20DepositInitiated

func (_L1StandardBridge *L1StandardBridgeFilterer) FilterERC20DepositInitiated(opts *bind.FilterOpts, l1Token []common.Address, l2Token []common.Address, from []common.Address) (*L1StandardBridgeERC20DepositInitiatedIterator, error)

FilterERC20DepositInitiated is a free log retrieval operation binding the contract event 0x718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d0396.

Solidity: event ERC20DepositInitiated(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) FilterERC20WithdrawalFinalized

func (_L1StandardBridge *L1StandardBridgeFilterer) FilterERC20WithdrawalFinalized(opts *bind.FilterOpts, l1Token []common.Address, l2Token []common.Address, from []common.Address) (*L1StandardBridgeERC20WithdrawalFinalizedIterator, error)

FilterERC20WithdrawalFinalized is a free log retrieval operation binding the contract event 0x3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b3.

Solidity: event ERC20WithdrawalFinalized(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) FilterETHBridgeFinalized

func (_L1StandardBridge *L1StandardBridgeFilterer) FilterETHBridgeFinalized(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1StandardBridgeETHBridgeFinalizedIterator, error)

FilterETHBridgeFinalized is a free log retrieval operation binding the contract event 0x31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d.

Solidity: event ETHBridgeFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) FilterETHBridgeInitiated

func (_L1StandardBridge *L1StandardBridgeFilterer) FilterETHBridgeInitiated(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1StandardBridgeETHBridgeInitiatedIterator, error)

FilterETHBridgeInitiated is a free log retrieval operation binding the contract event 0x2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5.

Solidity: event ETHBridgeInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) FilterETHDepositInitiated

func (_L1StandardBridge *L1StandardBridgeFilterer) FilterETHDepositInitiated(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1StandardBridgeETHDepositInitiatedIterator, error)

FilterETHDepositInitiated is a free log retrieval operation binding the contract event 0x35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f23.

Solidity: event ETHDepositInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) FilterETHWithdrawalFinalized

func (_L1StandardBridge *L1StandardBridgeFilterer) FilterETHWithdrawalFinalized(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1StandardBridgeETHWithdrawalFinalizedIterator, error)

FilterETHWithdrawalFinalized is a free log retrieval operation binding the contract event 0x2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e631.

Solidity: event ETHWithdrawalFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) ParseERC20BridgeFinalized

func (_L1StandardBridge *L1StandardBridgeFilterer) ParseERC20BridgeFinalized(log types.Log) (*L1StandardBridgeERC20BridgeFinalized, error)

ParseERC20BridgeFinalized is a log parse operation binding the contract event 0xd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd.

Solidity: event ERC20BridgeFinalized(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) ParseERC20BridgeInitiated

func (_L1StandardBridge *L1StandardBridgeFilterer) ParseERC20BridgeInitiated(log types.Log) (*L1StandardBridgeERC20BridgeInitiated, error)

ParseERC20BridgeInitiated is a log parse operation binding the contract event 0x7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf.

Solidity: event ERC20BridgeInitiated(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) ParseERC20DepositInitiated

func (_L1StandardBridge *L1StandardBridgeFilterer) ParseERC20DepositInitiated(log types.Log) (*L1StandardBridgeERC20DepositInitiated, error)

ParseERC20DepositInitiated is a log parse operation binding the contract event 0x718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d0396.

Solidity: event ERC20DepositInitiated(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) ParseERC20WithdrawalFinalized

func (_L1StandardBridge *L1StandardBridgeFilterer) ParseERC20WithdrawalFinalized(log types.Log) (*L1StandardBridgeERC20WithdrawalFinalized, error)

ParseERC20WithdrawalFinalized is a log parse operation binding the contract event 0x3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b3.

Solidity: event ERC20WithdrawalFinalized(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) ParseETHBridgeFinalized

func (_L1StandardBridge *L1StandardBridgeFilterer) ParseETHBridgeFinalized(log types.Log) (*L1StandardBridgeETHBridgeFinalized, error)

ParseETHBridgeFinalized is a log parse operation binding the contract event 0x31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d.

Solidity: event ETHBridgeFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) ParseETHBridgeInitiated

func (_L1StandardBridge *L1StandardBridgeFilterer) ParseETHBridgeInitiated(log types.Log) (*L1StandardBridgeETHBridgeInitiated, error)

ParseETHBridgeInitiated is a log parse operation binding the contract event 0x2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5.

Solidity: event ETHBridgeInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) ParseETHDepositInitiated

func (_L1StandardBridge *L1StandardBridgeFilterer) ParseETHDepositInitiated(log types.Log) (*L1StandardBridgeETHDepositInitiated, error)

ParseETHDepositInitiated is a log parse operation binding the contract event 0x35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f23.

Solidity: event ETHDepositInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) ParseETHWithdrawalFinalized

func (_L1StandardBridge *L1StandardBridgeFilterer) ParseETHWithdrawalFinalized(log types.Log) (*L1StandardBridgeETHWithdrawalFinalized, error)

ParseETHWithdrawalFinalized is a log parse operation binding the contract event 0x2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e631.

Solidity: event ETHWithdrawalFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) WatchERC20BridgeFinalized

func (_L1StandardBridge *L1StandardBridgeFilterer) WatchERC20BridgeFinalized(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeERC20BridgeFinalized, localToken []common.Address, remoteToken []common.Address, from []common.Address) (event.Subscription, error)

WatchERC20BridgeFinalized is a free log subscription operation binding the contract event 0xd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd.

Solidity: event ERC20BridgeFinalized(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) WatchERC20BridgeInitiated

func (_L1StandardBridge *L1StandardBridgeFilterer) WatchERC20BridgeInitiated(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeERC20BridgeInitiated, localToken []common.Address, remoteToken []common.Address, from []common.Address) (event.Subscription, error)

WatchERC20BridgeInitiated is a free log subscription operation binding the contract event 0x7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf.

Solidity: event ERC20BridgeInitiated(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) WatchERC20DepositInitiated

func (_L1StandardBridge *L1StandardBridgeFilterer) WatchERC20DepositInitiated(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeERC20DepositInitiated, l1Token []common.Address, l2Token []common.Address, from []common.Address) (event.Subscription, error)

WatchERC20DepositInitiated is a free log subscription operation binding the contract event 0x718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d0396.

Solidity: event ERC20DepositInitiated(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) WatchERC20WithdrawalFinalized

func (_L1StandardBridge *L1StandardBridgeFilterer) WatchERC20WithdrawalFinalized(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeERC20WithdrawalFinalized, l1Token []common.Address, l2Token []common.Address, from []common.Address) (event.Subscription, error)

WatchERC20WithdrawalFinalized is a free log subscription operation binding the contract event 0x3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b3.

Solidity: event ERC20WithdrawalFinalized(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) WatchETHBridgeFinalized

func (_L1StandardBridge *L1StandardBridgeFilterer) WatchETHBridgeFinalized(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeETHBridgeFinalized, from []common.Address, to []common.Address) (event.Subscription, error)

WatchETHBridgeFinalized is a free log subscription operation binding the contract event 0x31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d.

Solidity: event ETHBridgeFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) WatchETHBridgeInitiated

func (_L1StandardBridge *L1StandardBridgeFilterer) WatchETHBridgeInitiated(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeETHBridgeInitiated, from []common.Address, to []common.Address) (event.Subscription, error)

WatchETHBridgeInitiated is a free log subscription operation binding the contract event 0x2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5.

Solidity: event ETHBridgeInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) WatchETHDepositInitiated

func (_L1StandardBridge *L1StandardBridgeFilterer) WatchETHDepositInitiated(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeETHDepositInitiated, from []common.Address, to []common.Address) (event.Subscription, error)

WatchETHDepositInitiated is a free log subscription operation binding the contract event 0x35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f23.

Solidity: event ETHDepositInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)

func (*L1StandardBridgeFilterer) WatchETHWithdrawalFinalized

func (_L1StandardBridge *L1StandardBridgeFilterer) WatchETHWithdrawalFinalized(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeETHWithdrawalFinalized, from []common.Address, to []common.Address) (event.Subscription, error)

WatchETHWithdrawalFinalized is a free log subscription operation binding the contract event 0x2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e631.

Solidity: event ETHWithdrawalFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)

type L1StandardBridgeRaw

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

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

func (*L1StandardBridgeRaw) Call

func (_L1StandardBridge *L1StandardBridgeRaw) 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 (*L1StandardBridgeRaw) Transact

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

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

func (*L1StandardBridgeRaw) Transfer

func (_L1StandardBridge *L1StandardBridgeRaw) 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 L1StandardBridgeSession

type L1StandardBridgeSession struct {
	Contract     *L1StandardBridge // 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
}

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

func (*L1StandardBridgeSession) BridgeERC20

func (_L1StandardBridge *L1StandardBridgeSession) BridgeERC20(_localToken common.Address, _remoteToken common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeERC20 is a paid mutator transaction binding the contract method 0x87087623.

Solidity: function bridgeERC20(address _localToken, address _remoteToken, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeSession) BridgeERC20To

func (_L1StandardBridge *L1StandardBridgeSession) BridgeERC20To(_localToken common.Address, _remoteToken common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeERC20To is a paid mutator transaction binding the contract method 0x540abf73.

Solidity: function bridgeERC20To(address _localToken, address _remoteToken, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeSession) BridgeETH

func (_L1StandardBridge *L1StandardBridgeSession) BridgeETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeETH is a paid mutator transaction binding the contract method 0x09fc8843.

Solidity: function bridgeETH(uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L1StandardBridgeSession) BridgeETHTo

func (_L1StandardBridge *L1StandardBridgeSession) BridgeETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeETHTo is a paid mutator transaction binding the contract method 0xe11013dd.

Solidity: function bridgeETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L1StandardBridgeSession) DepositERC20

func (_L1StandardBridge *L1StandardBridgeSession) DepositERC20(_l1Token common.Address, _l2Token common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

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

Solidity: function depositERC20(address _l1Token, address _l2Token, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeSession) DepositERC20To

func (_L1StandardBridge *L1StandardBridgeSession) DepositERC20To(_l1Token common.Address, _l2Token common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

DepositERC20To is a paid mutator transaction binding the contract method 0x838b2520.

Solidity: function depositERC20To(address _l1Token, address _l2Token, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeSession) DepositETH

func (_L1StandardBridge *L1StandardBridgeSession) DepositETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

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

Solidity: function depositETH(uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L1StandardBridgeSession) DepositETHTo

func (_L1StandardBridge *L1StandardBridgeSession) DepositETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

DepositETHTo is a paid mutator transaction binding the contract method 0x9a2ac6d5.

Solidity: function depositETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L1StandardBridgeSession) Deposits

func (_L1StandardBridge *L1StandardBridgeSession) Deposits(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Deposits is a free data retrieval call binding the contract method 0x8f601f66.

Solidity: function deposits(address , address ) view returns(uint256)

func (*L1StandardBridgeSession) FinalizeBridgeERC20

func (_L1StandardBridge *L1StandardBridgeSession) FinalizeBridgeERC20(_localToken common.Address, _remoteToken common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeBridgeERC20 is a paid mutator transaction binding the contract method 0x0166a07a.

Solidity: function finalizeBridgeERC20(address _localToken, address _remoteToken, address _from, address _to, uint256 _amount, bytes _extraData) returns()

func (*L1StandardBridgeSession) FinalizeBridgeETH

func (_L1StandardBridge *L1StandardBridgeSession) FinalizeBridgeETH(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeBridgeETH is a paid mutator transaction binding the contract method 0x1635f5fd.

Solidity: function finalizeBridgeETH(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()

func (*L1StandardBridgeSession) FinalizeERC20Withdrawal

func (_L1StandardBridge *L1StandardBridgeSession) FinalizeERC20Withdrawal(_l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeERC20Withdrawal is a paid mutator transaction binding the contract method 0xa9f9e675.

Solidity: function finalizeERC20Withdrawal(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _extraData) returns()

func (*L1StandardBridgeSession) FinalizeETHWithdrawal

func (_L1StandardBridge *L1StandardBridgeSession) FinalizeETHWithdrawal(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeETHWithdrawal is a paid mutator transaction binding the contract method 0x1532ec34.

Solidity: function finalizeETHWithdrawal(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()

func (*L1StandardBridgeSession) L2TokenBridge

func (_L1StandardBridge *L1StandardBridgeSession) L2TokenBridge() (common.Address, error)

L2TokenBridge is a free data retrieval call binding the contract method 0x91c49bf8.

Solidity: function l2TokenBridge() view returns(address)

func (*L1StandardBridgeSession) MESSENGER

func (_L1StandardBridge *L1StandardBridgeSession) MESSENGER() (common.Address, error)

MESSENGER is a free data retrieval call binding the contract method 0x927ede2d.

Solidity: function MESSENGER() view returns(address)

func (*L1StandardBridgeSession) Messenger

func (_L1StandardBridge *L1StandardBridgeSession) Messenger() (common.Address, error)

Messenger is a free data retrieval call binding the contract method 0x3cb747bf.

Solidity: function messenger() view returns(address)

func (*L1StandardBridgeSession) OTHERBRIDGE

func (_L1StandardBridge *L1StandardBridgeSession) OTHERBRIDGE() (common.Address, error)

OTHERBRIDGE is a free data retrieval call binding the contract method 0x7f46ddb2.

Solidity: function OTHER_BRIDGE() view returns(address)

func (*L1StandardBridgeSession) Receive

func (_L1StandardBridge *L1StandardBridgeSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*L1StandardBridgeSession) Version

func (_L1StandardBridge *L1StandardBridgeSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type L1StandardBridgeTransactor

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

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

func NewL1StandardBridgeTransactor

func NewL1StandardBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*L1StandardBridgeTransactor, error)

NewL1StandardBridgeTransactor creates a new write-only instance of L1StandardBridge, bound to a specific deployed contract.

func (*L1StandardBridgeTransactor) BridgeERC20

func (_L1StandardBridge *L1StandardBridgeTransactor) BridgeERC20(opts *bind.TransactOpts, _localToken common.Address, _remoteToken common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeERC20 is a paid mutator transaction binding the contract method 0x87087623.

Solidity: function bridgeERC20(address _localToken, address _remoteToken, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeTransactor) BridgeERC20To

func (_L1StandardBridge *L1StandardBridgeTransactor) BridgeERC20To(opts *bind.TransactOpts, _localToken common.Address, _remoteToken common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeERC20To is a paid mutator transaction binding the contract method 0x540abf73.

Solidity: function bridgeERC20To(address _localToken, address _remoteToken, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeTransactor) BridgeETH

func (_L1StandardBridge *L1StandardBridgeTransactor) BridgeETH(opts *bind.TransactOpts, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeETH is a paid mutator transaction binding the contract method 0x09fc8843.

Solidity: function bridgeETH(uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L1StandardBridgeTransactor) BridgeETHTo

func (_L1StandardBridge *L1StandardBridgeTransactor) BridgeETHTo(opts *bind.TransactOpts, _to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeETHTo is a paid mutator transaction binding the contract method 0xe11013dd.

Solidity: function bridgeETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L1StandardBridgeTransactor) DepositERC20

func (_L1StandardBridge *L1StandardBridgeTransactor) DepositERC20(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

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

Solidity: function depositERC20(address _l1Token, address _l2Token, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeTransactor) DepositERC20To

func (_L1StandardBridge *L1StandardBridgeTransactor) DepositERC20To(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

DepositERC20To is a paid mutator transaction binding the contract method 0x838b2520.

Solidity: function depositERC20To(address _l1Token, address _l2Token, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeTransactor) DepositETH

func (_L1StandardBridge *L1StandardBridgeTransactor) DepositETH(opts *bind.TransactOpts, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

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

Solidity: function depositETH(uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L1StandardBridgeTransactor) DepositETHTo

func (_L1StandardBridge *L1StandardBridgeTransactor) DepositETHTo(opts *bind.TransactOpts, _to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

DepositETHTo is a paid mutator transaction binding the contract method 0x9a2ac6d5.

Solidity: function depositETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L1StandardBridgeTransactor) FinalizeBridgeERC20

func (_L1StandardBridge *L1StandardBridgeTransactor) FinalizeBridgeERC20(opts *bind.TransactOpts, _localToken common.Address, _remoteToken common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeBridgeERC20 is a paid mutator transaction binding the contract method 0x0166a07a.

Solidity: function finalizeBridgeERC20(address _localToken, address _remoteToken, address _from, address _to, uint256 _amount, bytes _extraData) returns()

func (*L1StandardBridgeTransactor) FinalizeBridgeETH

func (_L1StandardBridge *L1StandardBridgeTransactor) FinalizeBridgeETH(opts *bind.TransactOpts, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeBridgeETH is a paid mutator transaction binding the contract method 0x1635f5fd.

Solidity: function finalizeBridgeETH(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()

func (*L1StandardBridgeTransactor) FinalizeERC20Withdrawal

func (_L1StandardBridge *L1StandardBridgeTransactor) FinalizeERC20Withdrawal(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeERC20Withdrawal is a paid mutator transaction binding the contract method 0xa9f9e675.

Solidity: function finalizeERC20Withdrawal(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _extraData) returns()

func (*L1StandardBridgeTransactor) FinalizeETHWithdrawal

func (_L1StandardBridge *L1StandardBridgeTransactor) FinalizeETHWithdrawal(opts *bind.TransactOpts, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeETHWithdrawal is a paid mutator transaction binding the contract method 0x1532ec34.

Solidity: function finalizeETHWithdrawal(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()

func (*L1StandardBridgeTransactor) Receive

func (_L1StandardBridge *L1StandardBridgeTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: receive() payable returns()

type L1StandardBridgeTransactorRaw

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

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

func (*L1StandardBridgeTransactorRaw) Transact

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

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

func (*L1StandardBridgeTransactorRaw) Transfer

func (_L1StandardBridge *L1StandardBridgeTransactorRaw) 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 L1StandardBridgeTransactorSession

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

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

func (*L1StandardBridgeTransactorSession) BridgeERC20

func (_L1StandardBridge *L1StandardBridgeTransactorSession) BridgeERC20(_localToken common.Address, _remoteToken common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeERC20 is a paid mutator transaction binding the contract method 0x87087623.

Solidity: function bridgeERC20(address _localToken, address _remoteToken, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeTransactorSession) BridgeERC20To

func (_L1StandardBridge *L1StandardBridgeTransactorSession) BridgeERC20To(_localToken common.Address, _remoteToken common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeERC20To is a paid mutator transaction binding the contract method 0x540abf73.

Solidity: function bridgeERC20To(address _localToken, address _remoteToken, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeTransactorSession) BridgeETH

func (_L1StandardBridge *L1StandardBridgeTransactorSession) BridgeETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeETH is a paid mutator transaction binding the contract method 0x09fc8843.

Solidity: function bridgeETH(uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L1StandardBridgeTransactorSession) BridgeETHTo

func (_L1StandardBridge *L1StandardBridgeTransactorSession) BridgeETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

BridgeETHTo is a paid mutator transaction binding the contract method 0xe11013dd.

Solidity: function bridgeETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L1StandardBridgeTransactorSession) DepositERC20

func (_L1StandardBridge *L1StandardBridgeTransactorSession) DepositERC20(_l1Token common.Address, _l2Token common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

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

Solidity: function depositERC20(address _l1Token, address _l2Token, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeTransactorSession) DepositERC20To

func (_L1StandardBridge *L1StandardBridgeTransactorSession) DepositERC20To(_l1Token common.Address, _l2Token common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

DepositERC20To is a paid mutator transaction binding the contract method 0x838b2520.

Solidity: function depositERC20To(address _l1Token, address _l2Token, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()

func (*L1StandardBridgeTransactorSession) DepositETH

func (_L1StandardBridge *L1StandardBridgeTransactorSession) DepositETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

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

Solidity: function depositETH(uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L1StandardBridgeTransactorSession) DepositETHTo

func (_L1StandardBridge *L1StandardBridgeTransactorSession) DepositETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)

DepositETHTo is a paid mutator transaction binding the contract method 0x9a2ac6d5.

Solidity: function depositETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()

func (*L1StandardBridgeTransactorSession) FinalizeBridgeERC20

func (_L1StandardBridge *L1StandardBridgeTransactorSession) FinalizeBridgeERC20(_localToken common.Address, _remoteToken common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeBridgeERC20 is a paid mutator transaction binding the contract method 0x0166a07a.

Solidity: function finalizeBridgeERC20(address _localToken, address _remoteToken, address _from, address _to, uint256 _amount, bytes _extraData) returns()

func (*L1StandardBridgeTransactorSession) FinalizeBridgeETH

func (_L1StandardBridge *L1StandardBridgeTransactorSession) FinalizeBridgeETH(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeBridgeETH is a paid mutator transaction binding the contract method 0x1635f5fd.

Solidity: function finalizeBridgeETH(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()

func (*L1StandardBridgeTransactorSession) FinalizeERC20Withdrawal

func (_L1StandardBridge *L1StandardBridgeTransactorSession) FinalizeERC20Withdrawal(_l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeERC20Withdrawal is a paid mutator transaction binding the contract method 0xa9f9e675.

Solidity: function finalizeERC20Withdrawal(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _extraData) returns()

func (*L1StandardBridgeTransactorSession) FinalizeETHWithdrawal

func (_L1StandardBridge *L1StandardBridgeTransactorSession) FinalizeETHWithdrawal(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

FinalizeETHWithdrawal is a paid mutator transaction binding the contract method 0x1532ec34.

Solidity: function finalizeETHWithdrawal(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()

func (*L1StandardBridgeTransactorSession) Receive

func (_L1StandardBridge *L1StandardBridgeTransactorSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

type OptimismPortal

type OptimismPortal struct {
	OptimismPortalCaller     // Read-only binding to the contract
	OptimismPortalTransactor // Write-only binding to the contract
	OptimismPortalFilterer   // Log filterer for contract events
}

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

func NewOptimismPortal

func NewOptimismPortal(address common.Address, backend bind.ContractBackend) (*OptimismPortal, error)

NewOptimismPortal creates a new instance of OptimismPortal, bound to a specific deployed contract.

type OptimismPortalCaller

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

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

func NewOptimismPortalCaller

func NewOptimismPortalCaller(address common.Address, caller bind.ContractCaller) (*OptimismPortalCaller, error)

NewOptimismPortalCaller creates a new read-only instance of OptimismPortal, bound to a specific deployed contract.

func (*OptimismPortalCaller) FinalizedWithdrawals

func (_OptimismPortal *OptimismPortalCaller) FinalizedWithdrawals(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

FinalizedWithdrawals is a free data retrieval call binding the contract method 0xa14238e7.

Solidity: function finalizedWithdrawals(bytes32 ) view returns(bool)

func (*OptimismPortalCaller) GUARDIAN

func (_OptimismPortal *OptimismPortalCaller) GUARDIAN(opts *bind.CallOpts) (common.Address, error)

GUARDIAN is a free data retrieval call binding the contract method 0x724c184c.

Solidity: function GUARDIAN() view returns(address)

func (*OptimismPortalCaller) IsOutputFinalized

func (_OptimismPortal *OptimismPortalCaller) IsOutputFinalized(opts *bind.CallOpts, _l2OutputIndex *big.Int) (bool, error)

IsOutputFinalized is a free data retrieval call binding the contract method 0x6dbffb78.

Solidity: function isOutputFinalized(uint256 _l2OutputIndex) view returns(bool)

func (*OptimismPortalCaller) L2ORACLE

func (_OptimismPortal *OptimismPortalCaller) L2ORACLE(opts *bind.CallOpts) (common.Address, error)

L2ORACLE is a free data retrieval call binding the contract method 0x001c2ff6.

Solidity: function L2_ORACLE() view returns(address)

func (*OptimismPortalCaller) L2Sender

func (_OptimismPortal *OptimismPortalCaller) L2Sender(opts *bind.CallOpts) (common.Address, error)

L2Sender is a free data retrieval call binding the contract method 0x9bf62d82.

Solidity: function l2Sender() view returns(address)

func (*OptimismPortalCaller) MinimumGasLimit

func (_OptimismPortal *OptimismPortalCaller) MinimumGasLimit(opts *bind.CallOpts, _byteCount uint64) (uint64, error)

MinimumGasLimit is a free data retrieval call binding the contract method 0xa35d99df.

Solidity: function minimumGasLimit(uint64 _byteCount) pure returns(uint64)

func (*OptimismPortalCaller) Params

func (_OptimismPortal *OptimismPortalCaller) Params(opts *bind.CallOpts) (struct {
	PrevBaseFee   *big.Int
	PrevBoughtGas uint64
	PrevBlockNum  uint64
}, error)

Params is a free data retrieval call binding the contract method 0xcff0ab96.

Solidity: function params() view returns(uint128 prevBaseFee, uint64 prevBoughtGas, uint64 prevBlockNum)

func (*OptimismPortalCaller) Paused

func (_OptimismPortal *OptimismPortalCaller) Paused(opts *bind.CallOpts) (bool, error)

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

Solidity: function paused() view returns(bool)

func (*OptimismPortalCaller) ProvenWithdrawals

func (_OptimismPortal *OptimismPortalCaller) ProvenWithdrawals(opts *bind.CallOpts, arg0 [32]byte) (struct {
	OutputRoot    [32]byte
	Timestamp     *big.Int
	L2OutputIndex *big.Int
}, error)

ProvenWithdrawals is a free data retrieval call binding the contract method 0xe965084c.

Solidity: function provenWithdrawals(bytes32 ) view returns(bytes32 outputRoot, uint128 timestamp, uint128 l2OutputIndex)

func (*OptimismPortalCaller) SYSTEMCONFIG

func (_OptimismPortal *OptimismPortalCaller) SYSTEMCONFIG(opts *bind.CallOpts) (common.Address, error)

SYSTEMCONFIG is a free data retrieval call binding the contract method 0xf0498750.

Solidity: function SYSTEM_CONFIG() view returns(address)

func (*OptimismPortalCaller) Version

func (_OptimismPortal *OptimismPortalCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type OptimismPortalCallerRaw

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

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

func (*OptimismPortalCallerRaw) Call

func (_OptimismPortal *OptimismPortalCallerRaw) 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 OptimismPortalCallerSession

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

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

func (*OptimismPortalCallerSession) FinalizedWithdrawals

func (_OptimismPortal *OptimismPortalCallerSession) FinalizedWithdrawals(arg0 [32]byte) (bool, error)

FinalizedWithdrawals is a free data retrieval call binding the contract method 0xa14238e7.

Solidity: function finalizedWithdrawals(bytes32 ) view returns(bool)

func (*OptimismPortalCallerSession) GUARDIAN

func (_OptimismPortal *OptimismPortalCallerSession) GUARDIAN() (common.Address, error)

GUARDIAN is a free data retrieval call binding the contract method 0x724c184c.

Solidity: function GUARDIAN() view returns(address)

func (*OptimismPortalCallerSession) IsOutputFinalized

func (_OptimismPortal *OptimismPortalCallerSession) IsOutputFinalized(_l2OutputIndex *big.Int) (bool, error)

IsOutputFinalized is a free data retrieval call binding the contract method 0x6dbffb78.

Solidity: function isOutputFinalized(uint256 _l2OutputIndex) view returns(bool)

func (*OptimismPortalCallerSession) L2ORACLE

func (_OptimismPortal *OptimismPortalCallerSession) L2ORACLE() (common.Address, error)

L2ORACLE is a free data retrieval call binding the contract method 0x001c2ff6.

Solidity: function L2_ORACLE() view returns(address)

func (*OptimismPortalCallerSession) L2Sender

func (_OptimismPortal *OptimismPortalCallerSession) L2Sender() (common.Address, error)

L2Sender is a free data retrieval call binding the contract method 0x9bf62d82.

Solidity: function l2Sender() view returns(address)

func (*OptimismPortalCallerSession) MinimumGasLimit

func (_OptimismPortal *OptimismPortalCallerSession) MinimumGasLimit(_byteCount uint64) (uint64, error)

MinimumGasLimit is a free data retrieval call binding the contract method 0xa35d99df.

Solidity: function minimumGasLimit(uint64 _byteCount) pure returns(uint64)

func (*OptimismPortalCallerSession) Params

func (_OptimismPortal *OptimismPortalCallerSession) Params() (struct {
	PrevBaseFee   *big.Int
	PrevBoughtGas uint64
	PrevBlockNum  uint64
}, error)

Params is a free data retrieval call binding the contract method 0xcff0ab96.

Solidity: function params() view returns(uint128 prevBaseFee, uint64 prevBoughtGas, uint64 prevBlockNum)

func (*OptimismPortalCallerSession) Paused

func (_OptimismPortal *OptimismPortalCallerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*OptimismPortalCallerSession) ProvenWithdrawals

func (_OptimismPortal *OptimismPortalCallerSession) ProvenWithdrawals(arg0 [32]byte) (struct {
	OutputRoot    [32]byte
	Timestamp     *big.Int
	L2OutputIndex *big.Int
}, error)

ProvenWithdrawals is a free data retrieval call binding the contract method 0xe965084c.

Solidity: function provenWithdrawals(bytes32 ) view returns(bytes32 outputRoot, uint128 timestamp, uint128 l2OutputIndex)

func (*OptimismPortalCallerSession) SYSTEMCONFIG

func (_OptimismPortal *OptimismPortalCallerSession) SYSTEMCONFIG() (common.Address, error)

SYSTEMCONFIG is a free data retrieval call binding the contract method 0xf0498750.

Solidity: function SYSTEM_CONFIG() view returns(address)

func (*OptimismPortalCallerSession) Version

func (_OptimismPortal *OptimismPortalCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type OptimismPortalFilterer

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

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

func NewOptimismPortalFilterer

func NewOptimismPortalFilterer(address common.Address, filterer bind.ContractFilterer) (*OptimismPortalFilterer, error)

NewOptimismPortalFilterer creates a new log filterer instance of OptimismPortal, bound to a specific deployed contract.

func (*OptimismPortalFilterer) FilterInitialized

func (_OptimismPortal *OptimismPortalFilterer) FilterInitialized(opts *bind.FilterOpts) (*OptimismPortalInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*OptimismPortalFilterer) FilterPaused

func (_OptimismPortal *OptimismPortalFilterer) FilterPaused(opts *bind.FilterOpts) (*OptimismPortalPausedIterator, error)

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

Solidity: event Paused(address account)

func (*OptimismPortalFilterer) FilterTransactionDeposited

func (_OptimismPortal *OptimismPortalFilterer) FilterTransactionDeposited(opts *bind.FilterOpts, from []common.Address, to []common.Address, version []*big.Int) (*OptimismPortalTransactionDepositedIterator, error)

FilterTransactionDeposited is a free log retrieval operation binding the contract event 0xb3813568d9991fc951961fcb4c784893574240a28925604d09fc577c55bb7c32.

Solidity: event TransactionDeposited(address indexed from, address indexed to, uint256 indexed version, bytes opaqueData)

func (*OptimismPortalFilterer) FilterUnpaused

func (_OptimismPortal *OptimismPortalFilterer) FilterUnpaused(opts *bind.FilterOpts) (*OptimismPortalUnpausedIterator, error)

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

Solidity: event Unpaused(address account)

func (*OptimismPortalFilterer) FilterWithdrawalFinalized

func (_OptimismPortal *OptimismPortalFilterer) FilterWithdrawalFinalized(opts *bind.FilterOpts, withdrawalHash [][32]byte) (*OptimismPortalWithdrawalFinalizedIterator, error)

FilterWithdrawalFinalized is a free log retrieval operation binding the contract event 0xdb5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b.

Solidity: event WithdrawalFinalized(bytes32 indexed withdrawalHash, bool success)

func (*OptimismPortalFilterer) FilterWithdrawalProven

func (_OptimismPortal *OptimismPortalFilterer) FilterWithdrawalProven(opts *bind.FilterOpts, withdrawalHash [][32]byte, from []common.Address, to []common.Address) (*OptimismPortalWithdrawalProvenIterator, error)

FilterWithdrawalProven is a free log retrieval operation binding the contract event 0x67a6208cfcc0801d50f6cbe764733f4fddf66ac0b04442061a8a8c0cb6b63f62.

Solidity: event WithdrawalProven(bytes32 indexed withdrawalHash, address indexed from, address indexed to)

func (*OptimismPortalFilterer) ParseInitialized

func (_OptimismPortal *OptimismPortalFilterer) ParseInitialized(log types.Log) (*OptimismPortalInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*OptimismPortalFilterer) ParsePaused

func (_OptimismPortal *OptimismPortalFilterer) ParsePaused(log types.Log) (*OptimismPortalPaused, error)

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

Solidity: event Paused(address account)

func (*OptimismPortalFilterer) ParseTransactionDeposited

func (_OptimismPortal *OptimismPortalFilterer) ParseTransactionDeposited(log types.Log) (*OptimismPortalTransactionDeposited, error)

ParseTransactionDeposited is a log parse operation binding the contract event 0xb3813568d9991fc951961fcb4c784893574240a28925604d09fc577c55bb7c32.

Solidity: event TransactionDeposited(address indexed from, address indexed to, uint256 indexed version, bytes opaqueData)

func (*OptimismPortalFilterer) ParseUnpaused

func (_OptimismPortal *OptimismPortalFilterer) ParseUnpaused(log types.Log) (*OptimismPortalUnpaused, error)

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

Solidity: event Unpaused(address account)

func (*OptimismPortalFilterer) ParseWithdrawalFinalized

func (_OptimismPortal *OptimismPortalFilterer) ParseWithdrawalFinalized(log types.Log) (*OptimismPortalWithdrawalFinalized, error)

ParseWithdrawalFinalized is a log parse operation binding the contract event 0xdb5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b.

Solidity: event WithdrawalFinalized(bytes32 indexed withdrawalHash, bool success)

func (*OptimismPortalFilterer) ParseWithdrawalProven

func (_OptimismPortal *OptimismPortalFilterer) ParseWithdrawalProven(log types.Log) (*OptimismPortalWithdrawalProven, error)

ParseWithdrawalProven is a log parse operation binding the contract event 0x67a6208cfcc0801d50f6cbe764733f4fddf66ac0b04442061a8a8c0cb6b63f62.

Solidity: event WithdrawalProven(bytes32 indexed withdrawalHash, address indexed from, address indexed to)

func (*OptimismPortalFilterer) WatchInitialized

func (_OptimismPortal *OptimismPortalFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *OptimismPortalInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*OptimismPortalFilterer) WatchPaused

func (_OptimismPortal *OptimismPortalFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *OptimismPortalPaused) (event.Subscription, error)

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

Solidity: event Paused(address account)

func (*OptimismPortalFilterer) WatchTransactionDeposited

func (_OptimismPortal *OptimismPortalFilterer) WatchTransactionDeposited(opts *bind.WatchOpts, sink chan<- *OptimismPortalTransactionDeposited, from []common.Address, to []common.Address, version []*big.Int) (event.Subscription, error)

WatchTransactionDeposited is a free log subscription operation binding the contract event 0xb3813568d9991fc951961fcb4c784893574240a28925604d09fc577c55bb7c32.

Solidity: event TransactionDeposited(address indexed from, address indexed to, uint256 indexed version, bytes opaqueData)

func (*OptimismPortalFilterer) WatchUnpaused

func (_OptimismPortal *OptimismPortalFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *OptimismPortalUnpaused) (event.Subscription, error)

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

Solidity: event Unpaused(address account)

func (*OptimismPortalFilterer) WatchWithdrawalFinalized

func (_OptimismPortal *OptimismPortalFilterer) WatchWithdrawalFinalized(opts *bind.WatchOpts, sink chan<- *OptimismPortalWithdrawalFinalized, withdrawalHash [][32]byte) (event.Subscription, error)

WatchWithdrawalFinalized is a free log subscription operation binding the contract event 0xdb5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b.

Solidity: event WithdrawalFinalized(bytes32 indexed withdrawalHash, bool success)

func (*OptimismPortalFilterer) WatchWithdrawalProven

func (_OptimismPortal *OptimismPortalFilterer) WatchWithdrawalProven(opts *bind.WatchOpts, sink chan<- *OptimismPortalWithdrawalProven, withdrawalHash [][32]byte, from []common.Address, to []common.Address) (event.Subscription, error)

WatchWithdrawalProven is a free log subscription operation binding the contract event 0x67a6208cfcc0801d50f6cbe764733f4fddf66ac0b04442061a8a8c0cb6b63f62.

Solidity: event WithdrawalProven(bytes32 indexed withdrawalHash, address indexed from, address indexed to)

type OptimismPortalInitialized

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

OptimismPortalInitialized represents a Initialized event raised by the OptimismPortal contract.

type OptimismPortalInitializedIterator

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

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

func (*OptimismPortalInitializedIterator) Close

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

func (*OptimismPortalInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OptimismPortalInitializedIterator) 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 OptimismPortalPaused

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

OptimismPortalPaused represents a Paused event raised by the OptimismPortal contract.

type OptimismPortalPausedIterator

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

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

func (*OptimismPortalPausedIterator) Close

func (it *OptimismPortalPausedIterator) Close() error

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

func (*OptimismPortalPausedIterator) Error

func (it *OptimismPortalPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*OptimismPortalPausedIterator) 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 OptimismPortalRaw

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

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

func (*OptimismPortalRaw) Call

func (_OptimismPortal *OptimismPortalRaw) 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 (*OptimismPortalRaw) Transact

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

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

func (*OptimismPortalRaw) Transfer

func (_OptimismPortal *OptimismPortalRaw) 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 OptimismPortalSession

type OptimismPortalSession struct {
	Contract     *OptimismPortal   // 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
}

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

func (*OptimismPortalSession) DepositTransaction

func (_OptimismPortal *OptimismPortalSession) DepositTransaction(_to common.Address, _value *big.Int, _gasLimit uint64, _isCreation bool, _data []byte) (*types.Transaction, error)

DepositTransaction is a paid mutator transaction binding the contract method 0xe9e05c42.

Solidity: function depositTransaction(address _to, uint256 _value, uint64 _gasLimit, bool _isCreation, bytes _data) payable returns()

func (*OptimismPortalSession) DonateETH

func (_OptimismPortal *OptimismPortalSession) DonateETH() (*types.Transaction, error)

DonateETH is a paid mutator transaction binding the contract method 0x8b4c40b0.

Solidity: function donateETH() payable returns()

func (*OptimismPortalSession) FinalizeWithdrawalTransaction

func (_OptimismPortal *OptimismPortalSession) FinalizeWithdrawalTransaction(_tx TypesWithdrawalTransaction) (*types.Transaction, error)

FinalizeWithdrawalTransaction is a paid mutator transaction binding the contract method 0x8c3152e9.

Solidity: function finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes) _tx) returns()

func (*OptimismPortalSession) FinalizedWithdrawals

func (_OptimismPortal *OptimismPortalSession) FinalizedWithdrawals(arg0 [32]byte) (bool, error)

FinalizedWithdrawals is a free data retrieval call binding the contract method 0xa14238e7.

Solidity: function finalizedWithdrawals(bytes32 ) view returns(bool)

func (*OptimismPortalSession) GUARDIAN

func (_OptimismPortal *OptimismPortalSession) GUARDIAN() (common.Address, error)

GUARDIAN is a free data retrieval call binding the contract method 0x724c184c.

Solidity: function GUARDIAN() view returns(address)

func (*OptimismPortalSession) Initialize

func (_OptimismPortal *OptimismPortalSession) Initialize(_paused bool) (*types.Transaction, error)

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

Solidity: function initialize(bool _paused) returns()

func (*OptimismPortalSession) IsOutputFinalized

func (_OptimismPortal *OptimismPortalSession) IsOutputFinalized(_l2OutputIndex *big.Int) (bool, error)

IsOutputFinalized is a free data retrieval call binding the contract method 0x6dbffb78.

Solidity: function isOutputFinalized(uint256 _l2OutputIndex) view returns(bool)

func (*OptimismPortalSession) L2ORACLE

func (_OptimismPortal *OptimismPortalSession) L2ORACLE() (common.Address, error)

L2ORACLE is a free data retrieval call binding the contract method 0x001c2ff6.

Solidity: function L2_ORACLE() view returns(address)

func (*OptimismPortalSession) L2Sender

func (_OptimismPortal *OptimismPortalSession) L2Sender() (common.Address, error)

L2Sender is a free data retrieval call binding the contract method 0x9bf62d82.

Solidity: function l2Sender() view returns(address)

func (*OptimismPortalSession) MinimumGasLimit

func (_OptimismPortal *OptimismPortalSession) MinimumGasLimit(_byteCount uint64) (uint64, error)

MinimumGasLimit is a free data retrieval call binding the contract method 0xa35d99df.

Solidity: function minimumGasLimit(uint64 _byteCount) pure returns(uint64)

func (*OptimismPortalSession) Params

func (_OptimismPortal *OptimismPortalSession) Params() (struct {
	PrevBaseFee   *big.Int
	PrevBoughtGas uint64
	PrevBlockNum  uint64
}, error)

Params is a free data retrieval call binding the contract method 0xcff0ab96.

Solidity: function params() view returns(uint128 prevBaseFee, uint64 prevBoughtGas, uint64 prevBlockNum)

func (*OptimismPortalSession) Pause

func (_OptimismPortal *OptimismPortalSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*OptimismPortalSession) Paused

func (_OptimismPortal *OptimismPortalSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*OptimismPortalSession) ProveWithdrawalTransaction

func (_OptimismPortal *OptimismPortalSession) ProveWithdrawalTransaction(_tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, _outputRootProof TypesOutputRootProof, _withdrawalProof [][]byte) (*types.Transaction, error)

ProveWithdrawalTransaction is a paid mutator transaction binding the contract method 0x4870496f.

Solidity: function proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes) _tx, uint256 _l2OutputIndex, (bytes32,bytes32,bytes32,bytes32) _outputRootProof, bytes[] _withdrawalProof) returns()

func (*OptimismPortalSession) ProvenWithdrawals

func (_OptimismPortal *OptimismPortalSession) ProvenWithdrawals(arg0 [32]byte) (struct {
	OutputRoot    [32]byte
	Timestamp     *big.Int
	L2OutputIndex *big.Int
}, error)

ProvenWithdrawals is a free data retrieval call binding the contract method 0xe965084c.

Solidity: function provenWithdrawals(bytes32 ) view returns(bytes32 outputRoot, uint128 timestamp, uint128 l2OutputIndex)

func (*OptimismPortalSession) Receive

func (_OptimismPortal *OptimismPortalSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*OptimismPortalSession) SYSTEMCONFIG

func (_OptimismPortal *OptimismPortalSession) SYSTEMCONFIG() (common.Address, error)

SYSTEMCONFIG is a free data retrieval call binding the contract method 0xf0498750.

Solidity: function SYSTEM_CONFIG() view returns(address)

func (*OptimismPortalSession) Unpause

func (_OptimismPortal *OptimismPortalSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*OptimismPortalSession) Version

func (_OptimismPortal *OptimismPortalSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type OptimismPortalTransactionDeposited

type OptimismPortalTransactionDeposited struct {
	From       common.Address
	To         common.Address
	Version    *big.Int
	OpaqueData []byte
	Raw        types.Log // Blockchain specific contextual infos
}

OptimismPortalTransactionDeposited represents a TransactionDeposited event raised by the OptimismPortal contract.

type OptimismPortalTransactionDepositedIterator

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

OptimismPortalTransactionDepositedIterator is returned from FilterTransactionDeposited and is used to iterate over the raw logs and unpacked data for TransactionDeposited events raised by the OptimismPortal contract.

func (*OptimismPortalTransactionDepositedIterator) Close

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

func (*OptimismPortalTransactionDepositedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OptimismPortalTransactionDepositedIterator) 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 OptimismPortalTransactor

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

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

func NewOptimismPortalTransactor

func NewOptimismPortalTransactor(address common.Address, transactor bind.ContractTransactor) (*OptimismPortalTransactor, error)

NewOptimismPortalTransactor creates a new write-only instance of OptimismPortal, bound to a specific deployed contract.

func (*OptimismPortalTransactor) DepositTransaction

func (_OptimismPortal *OptimismPortalTransactor) DepositTransaction(opts *bind.TransactOpts, _to common.Address, _value *big.Int, _gasLimit uint64, _isCreation bool, _data []byte) (*types.Transaction, error)

DepositTransaction is a paid mutator transaction binding the contract method 0xe9e05c42.

Solidity: function depositTransaction(address _to, uint256 _value, uint64 _gasLimit, bool _isCreation, bytes _data) payable returns()

func (*OptimismPortalTransactor) DonateETH

func (_OptimismPortal *OptimismPortalTransactor) DonateETH(opts *bind.TransactOpts) (*types.Transaction, error)

DonateETH is a paid mutator transaction binding the contract method 0x8b4c40b0.

Solidity: function donateETH() payable returns()

func (*OptimismPortalTransactor) FinalizeWithdrawalTransaction

func (_OptimismPortal *OptimismPortalTransactor) FinalizeWithdrawalTransaction(opts *bind.TransactOpts, _tx TypesWithdrawalTransaction) (*types.Transaction, error)

FinalizeWithdrawalTransaction is a paid mutator transaction binding the contract method 0x8c3152e9.

Solidity: function finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes) _tx) returns()

func (*OptimismPortalTransactor) Initialize

func (_OptimismPortal *OptimismPortalTransactor) Initialize(opts *bind.TransactOpts, _paused bool) (*types.Transaction, error)

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

Solidity: function initialize(bool _paused) returns()

func (*OptimismPortalTransactor) Pause

func (_OptimismPortal *OptimismPortalTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*OptimismPortalTransactor) ProveWithdrawalTransaction

func (_OptimismPortal *OptimismPortalTransactor) ProveWithdrawalTransaction(opts *bind.TransactOpts, _tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, _outputRootProof TypesOutputRootProof, _withdrawalProof [][]byte) (*types.Transaction, error)

ProveWithdrawalTransaction is a paid mutator transaction binding the contract method 0x4870496f.

Solidity: function proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes) _tx, uint256 _l2OutputIndex, (bytes32,bytes32,bytes32,bytes32) _outputRootProof, bytes[] _withdrawalProof) returns()

func (*OptimismPortalTransactor) Receive

func (_OptimismPortal *OptimismPortalTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*OptimismPortalTransactor) Unpause

func (_OptimismPortal *OptimismPortalTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function unpause() returns()

type OptimismPortalTransactorRaw

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

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

func (*OptimismPortalTransactorRaw) Transact

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

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

func (*OptimismPortalTransactorRaw) Transfer

func (_OptimismPortal *OptimismPortalTransactorRaw) 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 OptimismPortalTransactorSession

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

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

func (*OptimismPortalTransactorSession) DepositTransaction

func (_OptimismPortal *OptimismPortalTransactorSession) DepositTransaction(_to common.Address, _value *big.Int, _gasLimit uint64, _isCreation bool, _data []byte) (*types.Transaction, error)

DepositTransaction is a paid mutator transaction binding the contract method 0xe9e05c42.

Solidity: function depositTransaction(address _to, uint256 _value, uint64 _gasLimit, bool _isCreation, bytes _data) payable returns()

func (*OptimismPortalTransactorSession) DonateETH

func (_OptimismPortal *OptimismPortalTransactorSession) DonateETH() (*types.Transaction, error)

DonateETH is a paid mutator transaction binding the contract method 0x8b4c40b0.

Solidity: function donateETH() payable returns()

func (*OptimismPortalTransactorSession) FinalizeWithdrawalTransaction

func (_OptimismPortal *OptimismPortalTransactorSession) FinalizeWithdrawalTransaction(_tx TypesWithdrawalTransaction) (*types.Transaction, error)

FinalizeWithdrawalTransaction is a paid mutator transaction binding the contract method 0x8c3152e9.

Solidity: function finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes) _tx) returns()

func (*OptimismPortalTransactorSession) Initialize

func (_OptimismPortal *OptimismPortalTransactorSession) Initialize(_paused bool) (*types.Transaction, error)

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

Solidity: function initialize(bool _paused) returns()

func (*OptimismPortalTransactorSession) Pause

func (_OptimismPortal *OptimismPortalTransactorSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*OptimismPortalTransactorSession) ProveWithdrawalTransaction

func (_OptimismPortal *OptimismPortalTransactorSession) ProveWithdrawalTransaction(_tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, _outputRootProof TypesOutputRootProof, _withdrawalProof [][]byte) (*types.Transaction, error)

ProveWithdrawalTransaction is a paid mutator transaction binding the contract method 0x4870496f.

Solidity: function proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes) _tx, uint256 _l2OutputIndex, (bytes32,bytes32,bytes32,bytes32) _outputRootProof, bytes[] _withdrawalProof) returns()

func (*OptimismPortalTransactorSession) Receive

func (_OptimismPortal *OptimismPortalTransactorSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*OptimismPortalTransactorSession) Unpause

func (_OptimismPortal *OptimismPortalTransactorSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

type OptimismPortalUnpaused

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

OptimismPortalUnpaused represents a Unpaused event raised by the OptimismPortal contract.

type OptimismPortalUnpausedIterator

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

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

func (*OptimismPortalUnpausedIterator) Close

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

func (*OptimismPortalUnpausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OptimismPortalUnpausedIterator) 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 OptimismPortalWithdrawalFinalized

type OptimismPortalWithdrawalFinalized struct {
	WithdrawalHash [32]byte
	Success        bool
	Raw            types.Log // Blockchain specific contextual infos
}

OptimismPortalWithdrawalFinalized represents a WithdrawalFinalized event raised by the OptimismPortal contract.

type OptimismPortalWithdrawalFinalizedIterator

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

OptimismPortalWithdrawalFinalizedIterator is returned from FilterWithdrawalFinalized and is used to iterate over the raw logs and unpacked data for WithdrawalFinalized events raised by the OptimismPortal contract.

func (*OptimismPortalWithdrawalFinalizedIterator) Close

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

func (*OptimismPortalWithdrawalFinalizedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OptimismPortalWithdrawalFinalizedIterator) 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 OptimismPortalWithdrawalProven

type OptimismPortalWithdrawalProven struct {
	WithdrawalHash [32]byte
	From           common.Address
	To             common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

OptimismPortalWithdrawalProven represents a WithdrawalProven event raised by the OptimismPortal contract.

type OptimismPortalWithdrawalProvenIterator

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

OptimismPortalWithdrawalProvenIterator is returned from FilterWithdrawalProven and is used to iterate over the raw logs and unpacked data for WithdrawalProven events raised by the OptimismPortal contract.

func (*OptimismPortalWithdrawalProvenIterator) Close

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

func (*OptimismPortalWithdrawalProvenIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OptimismPortalWithdrawalProvenIterator) 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 TypesOutputRootProof

type TypesOutputRootProof struct {
	Version                  [32]byte
	StateRoot                [32]byte
	MessagePasserStorageRoot [32]byte
	LatestBlockhash          [32]byte
}

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

type TypesWithdrawalTransaction

type TypesWithdrawalTransaction struct {
	Nonce    *big.Int
	Sender   common.Address
	Target   common.Address
	Value    *big.Int
	GasLimit *big.Int
	Data     []byte
}

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

Jump to

Keyboard shortcuts

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