Documentation ¶
Index ¶
- Variables
- type OptimismPortal2
- type OptimismPortal2Caller
- func (_OptimismPortal2 *OptimismPortal2Caller) Balance(opts *bind.CallOpts) (*big.Int, error)
- func (_OptimismPortal2 *OptimismPortal2Caller) CheckWithdrawal(opts *bind.CallOpts, _withdrawalHash [32]byte, _proofSubmitter common.Address) error
- func (_OptimismPortal2 *OptimismPortal2Caller) DisputeGameBlacklist(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_OptimismPortal2 *OptimismPortal2Caller) DisputeGameFactory(opts *bind.CallOpts) (common.Address, error)
- func (_OptimismPortal2 *OptimismPortal2Caller) DisputeGameFinalityDelaySeconds(opts *bind.CallOpts) (*big.Int, error)
- func (_OptimismPortal2 *OptimismPortal2Caller) FinalizedWithdrawals(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_OptimismPortal2 *OptimismPortal2Caller) Guardian(opts *bind.CallOpts) (common.Address, error)
- func (_OptimismPortal2 *OptimismPortal2Caller) L2Sender(opts *bind.CallOpts) (common.Address, error)
- func (_OptimismPortal2 *OptimismPortal2Caller) MinimumGasLimit(opts *bind.CallOpts, _byteCount uint64) (uint64, error)
- func (_OptimismPortal2 *OptimismPortal2Caller) NumProofSubmitters(opts *bind.CallOpts, _withdrawalHash [32]byte) (*big.Int, error)
- func (_OptimismPortal2 *OptimismPortal2Caller) Params(opts *bind.CallOpts) (struct{ ... }, error)
- func (_OptimismPortal2 *OptimismPortal2Caller) Paused(opts *bind.CallOpts) (bool, error)
- func (_OptimismPortal2 *OptimismPortal2Caller) ProofMaturityDelaySeconds(opts *bind.CallOpts) (*big.Int, error)
- func (_OptimismPortal2 *OptimismPortal2Caller) ProofSubmitters(opts *bind.CallOpts, arg0 [32]byte, arg1 *big.Int) (common.Address, error)
- func (_OptimismPortal2 *OptimismPortal2Caller) ProvenWithdrawals(opts *bind.CallOpts, arg0 [32]byte, arg1 common.Address) (struct{ ... }, error)
- func (_OptimismPortal2 *OptimismPortal2Caller) RespectedGameType(opts *bind.CallOpts) (uint32, error)
- func (_OptimismPortal2 *OptimismPortal2Caller) RespectedGameTypeUpdatedAt(opts *bind.CallOpts) (uint64, error)
- func (_OptimismPortal2 *OptimismPortal2Caller) SuperchainConfig(opts *bind.CallOpts) (common.Address, error)
- func (_OptimismPortal2 *OptimismPortal2Caller) SystemConfig(opts *bind.CallOpts) (common.Address, error)
- func (_OptimismPortal2 *OptimismPortal2Caller) Version(opts *bind.CallOpts) (string, error)
- type OptimismPortal2CallerRaw
- type OptimismPortal2CallerSession
- func (_OptimismPortal2 *OptimismPortal2CallerSession) Balance() (*big.Int, error)
- func (_OptimismPortal2 *OptimismPortal2CallerSession) CheckWithdrawal(_withdrawalHash [32]byte, _proofSubmitter common.Address) error
- func (_OptimismPortal2 *OptimismPortal2CallerSession) DisputeGameBlacklist(arg0 common.Address) (bool, error)
- func (_OptimismPortal2 *OptimismPortal2CallerSession) DisputeGameFactory() (common.Address, error)
- func (_OptimismPortal2 *OptimismPortal2CallerSession) DisputeGameFinalityDelaySeconds() (*big.Int, error)
- func (_OptimismPortal2 *OptimismPortal2CallerSession) FinalizedWithdrawals(arg0 [32]byte) (bool, error)
- func (_OptimismPortal2 *OptimismPortal2CallerSession) Guardian() (common.Address, error)
- func (_OptimismPortal2 *OptimismPortal2CallerSession) L2Sender() (common.Address, error)
- func (_OptimismPortal2 *OptimismPortal2CallerSession) MinimumGasLimit(_byteCount uint64) (uint64, error)
- func (_OptimismPortal2 *OptimismPortal2CallerSession) NumProofSubmitters(_withdrawalHash [32]byte) (*big.Int, error)
- func (_OptimismPortal2 *OptimismPortal2CallerSession) Params() (struct{ ... }, error)
- func (_OptimismPortal2 *OptimismPortal2CallerSession) Paused() (bool, error)
- func (_OptimismPortal2 *OptimismPortal2CallerSession) ProofMaturityDelaySeconds() (*big.Int, error)
- func (_OptimismPortal2 *OptimismPortal2CallerSession) ProofSubmitters(arg0 [32]byte, arg1 *big.Int) (common.Address, error)
- func (_OptimismPortal2 *OptimismPortal2CallerSession) ProvenWithdrawals(arg0 [32]byte, arg1 common.Address) (struct{ ... }, error)
- func (_OptimismPortal2 *OptimismPortal2CallerSession) RespectedGameType() (uint32, error)
- func (_OptimismPortal2 *OptimismPortal2CallerSession) RespectedGameTypeUpdatedAt() (uint64, error)
- func (_OptimismPortal2 *OptimismPortal2CallerSession) SuperchainConfig() (common.Address, error)
- func (_OptimismPortal2 *OptimismPortal2CallerSession) SystemConfig() (common.Address, error)
- func (_OptimismPortal2 *OptimismPortal2CallerSession) Version() (string, error)
- type OptimismPortal2DisputeGameBlacklisted
- type OptimismPortal2DisputeGameBlacklistedIterator
- type OptimismPortal2Filterer
- func (_OptimismPortal2 *OptimismPortal2Filterer) FilterDisputeGameBlacklisted(opts *bind.FilterOpts, disputeGame []common.Address) (*OptimismPortal2DisputeGameBlacklistedIterator, error)
- func (_OptimismPortal2 *OptimismPortal2Filterer) FilterInitialized(opts *bind.FilterOpts) (*OptimismPortal2InitializedIterator, error)
- func (_OptimismPortal2 *OptimismPortal2Filterer) FilterRespectedGameTypeSet(opts *bind.FilterOpts, newGameType []uint32, updatedAt []uint64) (*OptimismPortal2RespectedGameTypeSetIterator, error)
- func (_OptimismPortal2 *OptimismPortal2Filterer) FilterTransactionDeposited(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*OptimismPortal2TransactionDepositedIterator, error)
- func (_OptimismPortal2 *OptimismPortal2Filterer) FilterWithdrawalFinalized(opts *bind.FilterOpts, withdrawalHash [][32]byte) (*OptimismPortal2WithdrawalFinalizedIterator, error)
- func (_OptimismPortal2 *OptimismPortal2Filterer) FilterWithdrawalProven(opts *bind.FilterOpts, withdrawalHash [][32]byte, from []common.Address, ...) (*OptimismPortal2WithdrawalProvenIterator, error)
- func (_OptimismPortal2 *OptimismPortal2Filterer) FilterWithdrawalProvenExtension1(opts *bind.FilterOpts, withdrawalHash [][32]byte, ...) (*OptimismPortal2WithdrawalProvenExtension1Iterator, error)
- func (_OptimismPortal2 *OptimismPortal2Filterer) ParseDisputeGameBlacklisted(log types.Log) (*OptimismPortal2DisputeGameBlacklisted, error)
- func (_OptimismPortal2 *OptimismPortal2Filterer) ParseInitialized(log types.Log) (*OptimismPortal2Initialized, error)
- func (_OptimismPortal2 *OptimismPortal2Filterer) ParseRespectedGameTypeSet(log types.Log) (*OptimismPortal2RespectedGameTypeSet, error)
- func (_OptimismPortal2 *OptimismPortal2Filterer) ParseTransactionDeposited(log types.Log) (*OptimismPortal2TransactionDeposited, error)
- func (_OptimismPortal2 *OptimismPortal2Filterer) ParseWithdrawalFinalized(log types.Log) (*OptimismPortal2WithdrawalFinalized, error)
- func (_OptimismPortal2 *OptimismPortal2Filterer) ParseWithdrawalProven(log types.Log) (*OptimismPortal2WithdrawalProven, error)
- func (_OptimismPortal2 *OptimismPortal2Filterer) ParseWithdrawalProvenExtension1(log types.Log) (*OptimismPortal2WithdrawalProvenExtension1, error)
- func (_OptimismPortal2 *OptimismPortal2Filterer) WatchDisputeGameBlacklisted(opts *bind.WatchOpts, sink chan<- *OptimismPortal2DisputeGameBlacklisted, ...) (event.Subscription, error)
- func (_OptimismPortal2 *OptimismPortal2Filterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *OptimismPortal2Initialized) (event.Subscription, error)
- func (_OptimismPortal2 *OptimismPortal2Filterer) WatchRespectedGameTypeSet(opts *bind.WatchOpts, sink chan<- *OptimismPortal2RespectedGameTypeSet, ...) (event.Subscription, error)
- func (_OptimismPortal2 *OptimismPortal2Filterer) WatchTransactionDeposited(opts *bind.WatchOpts, sink chan<- *OptimismPortal2TransactionDeposited, ...) (event.Subscription, error)
- func (_OptimismPortal2 *OptimismPortal2Filterer) WatchWithdrawalFinalized(opts *bind.WatchOpts, sink chan<- *OptimismPortal2WithdrawalFinalized, ...) (event.Subscription, error)
- func (_OptimismPortal2 *OptimismPortal2Filterer) WatchWithdrawalProven(opts *bind.WatchOpts, sink chan<- *OptimismPortal2WithdrawalProven, ...) (event.Subscription, error)
- func (_OptimismPortal2 *OptimismPortal2Filterer) WatchWithdrawalProvenExtension1(opts *bind.WatchOpts, sink chan<- *OptimismPortal2WithdrawalProvenExtension1, ...) (event.Subscription, error)
- type OptimismPortal2Initialized
- type OptimismPortal2InitializedIterator
- type OptimismPortal2Raw
- func (_OptimismPortal2 *OptimismPortal2Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_OptimismPortal2 *OptimismPortal2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OptimismPortal2RespectedGameTypeSet
- type OptimismPortal2RespectedGameTypeSetIterator
- type OptimismPortal2Session
- func (_OptimismPortal2 *OptimismPortal2Session) Balance() (*big.Int, error)
- func (_OptimismPortal2 *OptimismPortal2Session) BlacklistDisputeGame(_disputeGame common.Address) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2Session) CheckWithdrawal(_withdrawalHash [32]byte, _proofSubmitter common.Address) error
- func (_OptimismPortal2 *OptimismPortal2Session) DepositERC20Transaction(_to common.Address, _mint *big.Int, _value *big.Int, _gasLimit uint64, ...) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2Session) DepositTransaction(_to common.Address, _value *big.Int, _gasLimit uint64, _isCreation bool, ...) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2Session) DisputeGameBlacklist(arg0 common.Address) (bool, error)
- func (_OptimismPortal2 *OptimismPortal2Session) DisputeGameFactory() (common.Address, error)
- func (_OptimismPortal2 *OptimismPortal2Session) DisputeGameFinalityDelaySeconds() (*big.Int, error)
- func (_OptimismPortal2 *OptimismPortal2Session) DonateETH() (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2Session) FinalizeWithdrawalTransaction(_tx TypesWithdrawalTransaction) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2Session) FinalizeWithdrawalTransactionExternalProof(_tx TypesWithdrawalTransaction, _proofSubmitter common.Address) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2Session) FinalizedWithdrawals(arg0 [32]byte) (bool, error)
- func (_OptimismPortal2 *OptimismPortal2Session) Guardian() (common.Address, error)
- func (_OptimismPortal2 *OptimismPortal2Session) Initialize(_disputeGameFactory common.Address, _systemConfig common.Address, ...) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2Session) L2Sender() (common.Address, error)
- func (_OptimismPortal2 *OptimismPortal2Session) MinimumGasLimit(_byteCount uint64) (uint64, error)
- func (_OptimismPortal2 *OptimismPortal2Session) NumProofSubmitters(_withdrawalHash [32]byte) (*big.Int, error)
- func (_OptimismPortal2 *OptimismPortal2Session) Params() (struct{ ... }, error)
- func (_OptimismPortal2 *OptimismPortal2Session) Paused() (bool, error)
- func (_OptimismPortal2 *OptimismPortal2Session) ProofMaturityDelaySeconds() (*big.Int, error)
- func (_OptimismPortal2 *OptimismPortal2Session) ProofSubmitters(arg0 [32]byte, arg1 *big.Int) (common.Address, error)
- func (_OptimismPortal2 *OptimismPortal2Session) ProveWithdrawalTransaction(_tx TypesWithdrawalTransaction, _disputeGameIndex *big.Int, ...) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2Session) ProvenWithdrawals(arg0 [32]byte, arg1 common.Address) (struct{ ... }, error)
- func (_OptimismPortal2 *OptimismPortal2Session) Receive() (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2Session) RespectedGameType() (uint32, error)
- func (_OptimismPortal2 *OptimismPortal2Session) RespectedGameTypeUpdatedAt() (uint64, error)
- func (_OptimismPortal2 *OptimismPortal2Session) SetGasPayingToken(_token common.Address, _decimals uint8, _name [32]byte, _symbol [32]byte) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2Session) SetRespectedGameType(_gameType uint32) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2Session) SuperchainConfig() (common.Address, error)
- func (_OptimismPortal2 *OptimismPortal2Session) SystemConfig() (common.Address, error)
- func (_OptimismPortal2 *OptimismPortal2Session) Version() (string, error)
- type OptimismPortal2TransactionDeposited
- type OptimismPortal2TransactionDepositedIterator
- type OptimismPortal2Transactor
- func (_OptimismPortal2 *OptimismPortal2Transactor) BlacklistDisputeGame(opts *bind.TransactOpts, _disputeGame common.Address) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2Transactor) DepositERC20Transaction(opts *bind.TransactOpts, _to common.Address, _mint *big.Int, _value *big.Int, ...) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2Transactor) DepositTransaction(opts *bind.TransactOpts, _to common.Address, _value *big.Int, _gasLimit uint64, ...) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2Transactor) DonateETH(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2Transactor) FinalizeWithdrawalTransaction(opts *bind.TransactOpts, _tx TypesWithdrawalTransaction) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2Transactor) FinalizeWithdrawalTransactionExternalProof(opts *bind.TransactOpts, _tx TypesWithdrawalTransaction, ...) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2Transactor) Initialize(opts *bind.TransactOpts, _disputeGameFactory common.Address, ...) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2Transactor) ProveWithdrawalTransaction(opts *bind.TransactOpts, _tx TypesWithdrawalTransaction, ...) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2Transactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2Transactor) SetGasPayingToken(opts *bind.TransactOpts, _token common.Address, _decimals uint8, ...) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2Transactor) SetRespectedGameType(opts *bind.TransactOpts, _gameType uint32) (*types.Transaction, error)
- type OptimismPortal2TransactorRaw
- type OptimismPortal2TransactorSession
- func (_OptimismPortal2 *OptimismPortal2TransactorSession) BlacklistDisputeGame(_disputeGame common.Address) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2TransactorSession) DepositERC20Transaction(_to common.Address, _mint *big.Int, _value *big.Int, _gasLimit uint64, ...) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2TransactorSession) DepositTransaction(_to common.Address, _value *big.Int, _gasLimit uint64, _isCreation bool, ...) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2TransactorSession) DonateETH() (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2TransactorSession) FinalizeWithdrawalTransaction(_tx TypesWithdrawalTransaction) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2TransactorSession) FinalizeWithdrawalTransactionExternalProof(_tx TypesWithdrawalTransaction, _proofSubmitter common.Address) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2TransactorSession) Initialize(_disputeGameFactory common.Address, _systemConfig common.Address, ...) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2TransactorSession) ProveWithdrawalTransaction(_tx TypesWithdrawalTransaction, _disputeGameIndex *big.Int, ...) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2TransactorSession) Receive() (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2TransactorSession) SetGasPayingToken(_token common.Address, _decimals uint8, _name [32]byte, _symbol [32]byte) (*types.Transaction, error)
- func (_OptimismPortal2 *OptimismPortal2TransactorSession) SetRespectedGameType(_gameType uint32) (*types.Transaction, error)
- type OptimismPortal2WithdrawalFinalized
- type OptimismPortal2WithdrawalFinalizedIterator
- type OptimismPortal2WithdrawalProven
- type OptimismPortal2WithdrawalProvenExtension1
- type OptimismPortal2WithdrawalProvenExtension1Iterator
- type OptimismPortal2WithdrawalProvenIterator
- type TypesOutputRootProof
- type TypesWithdrawalTransaction
Constants ¶
This section is empty.
Variables ¶
var OptimismPortal2ABI = OptimismPortal2MetaData.ABI
OptimismPortal2ABI is the input ABI used to generate the binding from. Deprecated: Use OptimismPortal2MetaData.ABI instead.
var OptimismPortal2MetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_proofMaturityDelaySeconds\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_disputeGameFinalityDelaySeconds\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"},{\"inputs\":[],\"name\":\"balance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIDisputeGame\",\"name\":\"_disputeGame\",\"type\":\"address\"}],\"name\":\"blacklistDisputeGame\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_withdrawalHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_proofSubmitter\",\"type\":\"address\"}],\"name\":\"checkWithdrawal\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_mint\",\"type\":\"uint256\"},{\"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\":\"depositERC20Transaction\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":[{\"internalType\":\"contractIDisputeGame\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"disputeGameBlacklist\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"disputeGameFactory\",\"outputs\":[{\"internalType\":\"contractIDisputeGameFactory\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"disputeGameFinalityDelaySeconds\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"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\":[{\"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\":\"address\",\"name\":\"_proofSubmitter\",\"type\":\"address\"}],\"name\":\"finalizeWithdrawalTransactionExternalProof\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"finalizedWithdrawals\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"guardian\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIDisputeGameFactory\",\"name\":\"_disputeGameFactory\",\"type\":\"address\"},{\"internalType\":\"contractISystemConfig\",\"name\":\"_systemConfig\",\"type\":\"address\"},{\"internalType\":\"contractISuperchainConfig\",\"name\":\"_superchainConfig\",\"type\":\"address\"},{\"internalType\":\"GameType\",\"name\":\"_initialRespectedGameType\",\"type\":\"uint32\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":[{\"internalType\":\"bytes32\",\"name\":\"_withdrawalHash\",\"type\":\"bytes32\"}],\"name\":\"numProofSubmitters\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"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\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proofMaturityDelaySeconds\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"proofSubmitters\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"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\":\"_disputeGameIndex\",\"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\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"provenWithdrawals\",\"outputs\":[{\"internalType\":\"contractIDisputeGame\",\"name\":\"disputeGameProxy\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"respectedGameType\",\"outputs\":[{\"internalType\":\"GameType\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"respectedGameTypeUpdatedAt\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"_decimals\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"_name\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_symbol\",\"type\":\"bytes32\"}],\"name\":\"setGasPayingToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"GameType\",\"name\":\"_gameType\",\"type\":\"uint32\"}],\"name\":\"setRespectedGameType\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"superchainConfig\",\"outputs\":[{\"internalType\":\"contractISuperchainConfig\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"systemConfig\",\"outputs\":[{\"internalType\":\"contractISystemConfig\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contractIDisputeGame\",\"name\":\"disputeGame\",\"type\":\"address\"}],\"name\":\"DisputeGameBlacklisted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"GameType\",\"name\":\"newGameType\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"Timestamp\",\"name\":\"updatedAt\",\"type\":\"uint64\"}],\"name\":\"RespectedGameTypeSet\",\"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\":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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"withdrawalHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"proofSubmitter\",\"type\":\"address\"}],\"name\":\"WithdrawalProvenExtension1\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"AlreadyFinalized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BadTarget\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Blacklisted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallPaused\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ContentLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EmptyItem\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"GasEstimation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidDataRemainder\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidDisputeGame\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidGameType\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidHeader\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidMerkleProof\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidProof\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LargeCalldata\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoValue\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NonReentrant\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyCustomGasToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OutOfGas\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ProposalNotValidated\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SmallGasLimit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnexpectedList\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnexpectedString\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unproven\",\"type\":\"error\"}]",
}
OptimismPortal2MetaData contains all meta data concerning the OptimismPortal2 contract.
Functions ¶
This section is empty.
Types ¶
type OptimismPortal2 ¶
type OptimismPortal2 struct { OptimismPortal2Caller // Read-only binding to the contract OptimismPortal2Transactor // Write-only binding to the contract OptimismPortal2Filterer // Log filterer for contract events }
OptimismPortal2 is an auto generated Go binding around an Ethereum contract.
func NewOptimismPortal2 ¶
func NewOptimismPortal2(address common.Address, backend bind.ContractBackend) (*OptimismPortal2, error)
NewOptimismPortal2 creates a new instance of OptimismPortal2, bound to a specific deployed contract.
type OptimismPortal2Caller ¶
type OptimismPortal2Caller struct {
// contains filtered or unexported fields
}
OptimismPortal2Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewOptimismPortal2Caller ¶
func NewOptimismPortal2Caller(address common.Address, caller bind.ContractCaller) (*OptimismPortal2Caller, error)
NewOptimismPortal2Caller creates a new read-only instance of OptimismPortal2, bound to a specific deployed contract.
func (*OptimismPortal2Caller) Balance ¶
Balance is a free data retrieval call binding the contract method 0xb69ef8a8.
Solidity: function balance() view returns(uint256)
func (*OptimismPortal2Caller) CheckWithdrawal ¶
func (_OptimismPortal2 *OptimismPortal2Caller) CheckWithdrawal(opts *bind.CallOpts, _withdrawalHash [32]byte, _proofSubmitter common.Address) error
CheckWithdrawal is a free data retrieval call binding the contract method 0x71c1566e.
Solidity: function checkWithdrawal(bytes32 _withdrawalHash, address _proofSubmitter) view returns()
func (*OptimismPortal2Caller) DisputeGameBlacklist ¶
func (_OptimismPortal2 *OptimismPortal2Caller) DisputeGameBlacklist(opts *bind.CallOpts, arg0 common.Address) (bool, error)
DisputeGameBlacklist is a free data retrieval call binding the contract method 0x45884d32.
Solidity: function disputeGameBlacklist(address ) view returns(bool)
func (*OptimismPortal2Caller) DisputeGameFactory ¶
func (_OptimismPortal2 *OptimismPortal2Caller) DisputeGameFactory(opts *bind.CallOpts) (common.Address, error)
DisputeGameFactory is a free data retrieval call binding the contract method 0xf2b4e617.
Solidity: function disputeGameFactory() view returns(address)
func (*OptimismPortal2Caller) DisputeGameFinalityDelaySeconds ¶
func (_OptimismPortal2 *OptimismPortal2Caller) DisputeGameFinalityDelaySeconds(opts *bind.CallOpts) (*big.Int, error)
DisputeGameFinalityDelaySeconds is a free data retrieval call binding the contract method 0x952b2797.
Solidity: function disputeGameFinalityDelaySeconds() view returns(uint256)
func (*OptimismPortal2Caller) FinalizedWithdrawals ¶
func (_OptimismPortal2 *OptimismPortal2Caller) 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 (*OptimismPortal2Caller) Guardian ¶
func (_OptimismPortal2 *OptimismPortal2Caller) Guardian(opts *bind.CallOpts) (common.Address, error)
Guardian is a free data retrieval call binding the contract method 0x452a9320.
Solidity: function guardian() view returns(address)
func (*OptimismPortal2Caller) L2Sender ¶
func (_OptimismPortal2 *OptimismPortal2Caller) 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 (*OptimismPortal2Caller) MinimumGasLimit ¶
func (_OptimismPortal2 *OptimismPortal2Caller) 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 (*OptimismPortal2Caller) NumProofSubmitters ¶
func (_OptimismPortal2 *OptimismPortal2Caller) NumProofSubmitters(opts *bind.CallOpts, _withdrawalHash [32]byte) (*big.Int, error)
NumProofSubmitters is a free data retrieval call binding the contract method 0x513747ab.
Solidity: function numProofSubmitters(bytes32 _withdrawalHash) view returns(uint256)
func (*OptimismPortal2Caller) Params ¶
func (_OptimismPortal2 *OptimismPortal2Caller) 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 (*OptimismPortal2Caller) Paused ¶
func (_OptimismPortal2 *OptimismPortal2Caller) 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 (*OptimismPortal2Caller) ProofMaturityDelaySeconds ¶
func (_OptimismPortal2 *OptimismPortal2Caller) ProofMaturityDelaySeconds(opts *bind.CallOpts) (*big.Int, error)
ProofMaturityDelaySeconds is a free data retrieval call binding the contract method 0xbf653a5c.
Solidity: function proofMaturityDelaySeconds() view returns(uint256)
func (*OptimismPortal2Caller) ProofSubmitters ¶
func (_OptimismPortal2 *OptimismPortal2Caller) ProofSubmitters(opts *bind.CallOpts, arg0 [32]byte, arg1 *big.Int) (common.Address, error)
ProofSubmitters is a free data retrieval call binding the contract method 0xa3860f48.
Solidity: function proofSubmitters(bytes32 , uint256 ) view returns(address)
func (*OptimismPortal2Caller) ProvenWithdrawals ¶
func (_OptimismPortal2 *OptimismPortal2Caller) ProvenWithdrawals(opts *bind.CallOpts, arg0 [32]byte, arg1 common.Address) (struct { DisputeGameProxy common.Address Timestamp uint64 }, error)
ProvenWithdrawals is a free data retrieval call binding the contract method 0xbb2c727e.
Solidity: function provenWithdrawals(bytes32 , address ) view returns(address disputeGameProxy, uint64 timestamp)
func (*OptimismPortal2Caller) RespectedGameType ¶
func (_OptimismPortal2 *OptimismPortal2Caller) RespectedGameType(opts *bind.CallOpts) (uint32, error)
RespectedGameType is a free data retrieval call binding the contract method 0x3c9f397c.
Solidity: function respectedGameType() view returns(uint32)
func (*OptimismPortal2Caller) RespectedGameTypeUpdatedAt ¶
func (_OptimismPortal2 *OptimismPortal2Caller) RespectedGameTypeUpdatedAt(opts *bind.CallOpts) (uint64, error)
RespectedGameTypeUpdatedAt is a free data retrieval call binding the contract method 0x4fd0434c.
Solidity: function respectedGameTypeUpdatedAt() view returns(uint64)
func (*OptimismPortal2Caller) SuperchainConfig ¶
func (_OptimismPortal2 *OptimismPortal2Caller) SuperchainConfig(opts *bind.CallOpts) (common.Address, error)
SuperchainConfig is a free data retrieval call binding the contract method 0x35e80ab3.
Solidity: function superchainConfig() view returns(address)
func (*OptimismPortal2Caller) SystemConfig ¶
func (_OptimismPortal2 *OptimismPortal2Caller) SystemConfig(opts *bind.CallOpts) (common.Address, error)
SystemConfig is a free data retrieval call binding the contract method 0x33d7e2bd.
Solidity: function systemConfig() view returns(address)
type OptimismPortal2CallerRaw ¶
type OptimismPortal2CallerRaw struct {
Contract *OptimismPortal2Caller // Generic read-only contract binding to access the raw methods on
}
OptimismPortal2CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OptimismPortal2CallerRaw) Call ¶
func (_OptimismPortal2 *OptimismPortal2CallerRaw) 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 OptimismPortal2CallerSession ¶
type OptimismPortal2CallerSession struct { Contract *OptimismPortal2Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OptimismPortal2CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*OptimismPortal2CallerSession) Balance ¶
func (_OptimismPortal2 *OptimismPortal2CallerSession) Balance() (*big.Int, error)
Balance is a free data retrieval call binding the contract method 0xb69ef8a8.
Solidity: function balance() view returns(uint256)
func (*OptimismPortal2CallerSession) CheckWithdrawal ¶
func (_OptimismPortal2 *OptimismPortal2CallerSession) CheckWithdrawal(_withdrawalHash [32]byte, _proofSubmitter common.Address) error
CheckWithdrawal is a free data retrieval call binding the contract method 0x71c1566e.
Solidity: function checkWithdrawal(bytes32 _withdrawalHash, address _proofSubmitter) view returns()
func (*OptimismPortal2CallerSession) DisputeGameBlacklist ¶
func (_OptimismPortal2 *OptimismPortal2CallerSession) DisputeGameBlacklist(arg0 common.Address) (bool, error)
DisputeGameBlacklist is a free data retrieval call binding the contract method 0x45884d32.
Solidity: function disputeGameBlacklist(address ) view returns(bool)
func (*OptimismPortal2CallerSession) DisputeGameFactory ¶
func (_OptimismPortal2 *OptimismPortal2CallerSession) DisputeGameFactory() (common.Address, error)
DisputeGameFactory is a free data retrieval call binding the contract method 0xf2b4e617.
Solidity: function disputeGameFactory() view returns(address)
func (*OptimismPortal2CallerSession) DisputeGameFinalityDelaySeconds ¶
func (_OptimismPortal2 *OptimismPortal2CallerSession) DisputeGameFinalityDelaySeconds() (*big.Int, error)
DisputeGameFinalityDelaySeconds is a free data retrieval call binding the contract method 0x952b2797.
Solidity: function disputeGameFinalityDelaySeconds() view returns(uint256)
func (*OptimismPortal2CallerSession) FinalizedWithdrawals ¶
func (_OptimismPortal2 *OptimismPortal2CallerSession) 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 (*OptimismPortal2CallerSession) Guardian ¶
func (_OptimismPortal2 *OptimismPortal2CallerSession) Guardian() (common.Address, error)
Guardian is a free data retrieval call binding the contract method 0x452a9320.
Solidity: function guardian() view returns(address)
func (*OptimismPortal2CallerSession) L2Sender ¶
func (_OptimismPortal2 *OptimismPortal2CallerSession) L2Sender() (common.Address, error)
L2Sender is a free data retrieval call binding the contract method 0x9bf62d82.
Solidity: function l2Sender() view returns(address)
func (*OptimismPortal2CallerSession) MinimumGasLimit ¶
func (_OptimismPortal2 *OptimismPortal2CallerSession) 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 (*OptimismPortal2CallerSession) NumProofSubmitters ¶
func (_OptimismPortal2 *OptimismPortal2CallerSession) NumProofSubmitters(_withdrawalHash [32]byte) (*big.Int, error)
NumProofSubmitters is a free data retrieval call binding the contract method 0x513747ab.
Solidity: function numProofSubmitters(bytes32 _withdrawalHash) view returns(uint256)
func (*OptimismPortal2CallerSession) Params ¶
func (_OptimismPortal2 *OptimismPortal2CallerSession) 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 (*OptimismPortal2CallerSession) Paused ¶
func (_OptimismPortal2 *OptimismPortal2CallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*OptimismPortal2CallerSession) ProofMaturityDelaySeconds ¶
func (_OptimismPortal2 *OptimismPortal2CallerSession) ProofMaturityDelaySeconds() (*big.Int, error)
ProofMaturityDelaySeconds is a free data retrieval call binding the contract method 0xbf653a5c.
Solidity: function proofMaturityDelaySeconds() view returns(uint256)
func (*OptimismPortal2CallerSession) ProofSubmitters ¶
func (_OptimismPortal2 *OptimismPortal2CallerSession) ProofSubmitters(arg0 [32]byte, arg1 *big.Int) (common.Address, error)
ProofSubmitters is a free data retrieval call binding the contract method 0xa3860f48.
Solidity: function proofSubmitters(bytes32 , uint256 ) view returns(address)
func (*OptimismPortal2CallerSession) ProvenWithdrawals ¶
func (_OptimismPortal2 *OptimismPortal2CallerSession) ProvenWithdrawals(arg0 [32]byte, arg1 common.Address) (struct { DisputeGameProxy common.Address Timestamp uint64 }, error)
ProvenWithdrawals is a free data retrieval call binding the contract method 0xbb2c727e.
Solidity: function provenWithdrawals(bytes32 , address ) view returns(address disputeGameProxy, uint64 timestamp)
func (*OptimismPortal2CallerSession) RespectedGameType ¶
func (_OptimismPortal2 *OptimismPortal2CallerSession) RespectedGameType() (uint32, error)
RespectedGameType is a free data retrieval call binding the contract method 0x3c9f397c.
Solidity: function respectedGameType() view returns(uint32)
func (*OptimismPortal2CallerSession) RespectedGameTypeUpdatedAt ¶
func (_OptimismPortal2 *OptimismPortal2CallerSession) RespectedGameTypeUpdatedAt() (uint64, error)
RespectedGameTypeUpdatedAt is a free data retrieval call binding the contract method 0x4fd0434c.
Solidity: function respectedGameTypeUpdatedAt() view returns(uint64)
func (*OptimismPortal2CallerSession) SuperchainConfig ¶
func (_OptimismPortal2 *OptimismPortal2CallerSession) SuperchainConfig() (common.Address, error)
SuperchainConfig is a free data retrieval call binding the contract method 0x35e80ab3.
Solidity: function superchainConfig() view returns(address)
func (*OptimismPortal2CallerSession) SystemConfig ¶
func (_OptimismPortal2 *OptimismPortal2CallerSession) SystemConfig() (common.Address, error)
SystemConfig is a free data retrieval call binding the contract method 0x33d7e2bd.
Solidity: function systemConfig() view returns(address)
func (*OptimismPortal2CallerSession) Version ¶
func (_OptimismPortal2 *OptimismPortal2CallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() pure returns(string)
type OptimismPortal2DisputeGameBlacklisted ¶
type OptimismPortal2DisputeGameBlacklisted struct { DisputeGame common.Address Raw types.Log // Blockchain specific contextual infos }
OptimismPortal2DisputeGameBlacklisted represents a DisputeGameBlacklisted event raised by the OptimismPortal2 contract.
type OptimismPortal2DisputeGameBlacklistedIterator ¶
type OptimismPortal2DisputeGameBlacklistedIterator struct { Event *OptimismPortal2DisputeGameBlacklisted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OptimismPortal2DisputeGameBlacklistedIterator is returned from FilterDisputeGameBlacklisted and is used to iterate over the raw logs and unpacked data for DisputeGameBlacklisted events raised by the OptimismPortal2 contract.
func (*OptimismPortal2DisputeGameBlacklistedIterator) Close ¶
func (it *OptimismPortal2DisputeGameBlacklistedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OptimismPortal2DisputeGameBlacklistedIterator) Error ¶
func (it *OptimismPortal2DisputeGameBlacklistedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OptimismPortal2DisputeGameBlacklistedIterator) Next ¶
func (it *OptimismPortal2DisputeGameBlacklistedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type OptimismPortal2Filterer ¶
type OptimismPortal2Filterer struct {
// contains filtered or unexported fields
}
OptimismPortal2Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOptimismPortal2Filterer ¶
func NewOptimismPortal2Filterer(address common.Address, filterer bind.ContractFilterer) (*OptimismPortal2Filterer, error)
NewOptimismPortal2Filterer creates a new log filterer instance of OptimismPortal2, bound to a specific deployed contract.
func (*OptimismPortal2Filterer) FilterDisputeGameBlacklisted ¶
func (_OptimismPortal2 *OptimismPortal2Filterer) FilterDisputeGameBlacklisted(opts *bind.FilterOpts, disputeGame []common.Address) (*OptimismPortal2DisputeGameBlacklistedIterator, error)
FilterDisputeGameBlacklisted is a free log retrieval operation binding the contract event 0x192c289026d59a41a27f5aea08f3969b57931b0589202d14f4368cded95d3cda.
Solidity: event DisputeGameBlacklisted(address indexed disputeGame)
func (*OptimismPortal2Filterer) FilterInitialized ¶
func (_OptimismPortal2 *OptimismPortal2Filterer) FilterInitialized(opts *bind.FilterOpts) (*OptimismPortal2InitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*OptimismPortal2Filterer) FilterRespectedGameTypeSet ¶
func (_OptimismPortal2 *OptimismPortal2Filterer) FilterRespectedGameTypeSet(opts *bind.FilterOpts, newGameType []uint32, updatedAt []uint64) (*OptimismPortal2RespectedGameTypeSetIterator, error)
FilterRespectedGameTypeSet is a free log retrieval operation binding the contract event 0x049fe9dd413cdf037cce27011cc1790c753118272f3630e6e8bdfa5e82081760.
Solidity: event RespectedGameTypeSet(uint32 indexed newGameType, uint64 indexed updatedAt)
func (*OptimismPortal2Filterer) FilterTransactionDeposited ¶
func (_OptimismPortal2 *OptimismPortal2Filterer) FilterTransactionDeposited(opts *bind.FilterOpts, from []common.Address, to []common.Address, version []*big.Int) (*OptimismPortal2TransactionDepositedIterator, 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 (*OptimismPortal2Filterer) FilterWithdrawalFinalized ¶
func (_OptimismPortal2 *OptimismPortal2Filterer) FilterWithdrawalFinalized(opts *bind.FilterOpts, withdrawalHash [][32]byte) (*OptimismPortal2WithdrawalFinalizedIterator, error)
FilterWithdrawalFinalized is a free log retrieval operation binding the contract event 0xdb5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b.
Solidity: event WithdrawalFinalized(bytes32 indexed withdrawalHash, bool success)
func (*OptimismPortal2Filterer) FilterWithdrawalProven ¶
func (_OptimismPortal2 *OptimismPortal2Filterer) FilterWithdrawalProven(opts *bind.FilterOpts, withdrawalHash [][32]byte, from []common.Address, to []common.Address) (*OptimismPortal2WithdrawalProvenIterator, 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 (*OptimismPortal2Filterer) FilterWithdrawalProvenExtension1 ¶
func (_OptimismPortal2 *OptimismPortal2Filterer) FilterWithdrawalProvenExtension1(opts *bind.FilterOpts, withdrawalHash [][32]byte, proofSubmitter []common.Address) (*OptimismPortal2WithdrawalProvenExtension1Iterator, error)
FilterWithdrawalProvenExtension1 is a free log retrieval operation binding the contract event 0x798f9f13695f8f045aa5f80ed8efebb695f3c7fe65da381969f2f28bf3c60b97.
Solidity: event WithdrawalProvenExtension1(bytes32 indexed withdrawalHash, address indexed proofSubmitter)
func (*OptimismPortal2Filterer) ParseDisputeGameBlacklisted ¶
func (_OptimismPortal2 *OptimismPortal2Filterer) ParseDisputeGameBlacklisted(log types.Log) (*OptimismPortal2DisputeGameBlacklisted, error)
ParseDisputeGameBlacklisted is a log parse operation binding the contract event 0x192c289026d59a41a27f5aea08f3969b57931b0589202d14f4368cded95d3cda.
Solidity: event DisputeGameBlacklisted(address indexed disputeGame)
func (*OptimismPortal2Filterer) ParseInitialized ¶
func (_OptimismPortal2 *OptimismPortal2Filterer) ParseInitialized(log types.Log) (*OptimismPortal2Initialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*OptimismPortal2Filterer) ParseRespectedGameTypeSet ¶
func (_OptimismPortal2 *OptimismPortal2Filterer) ParseRespectedGameTypeSet(log types.Log) (*OptimismPortal2RespectedGameTypeSet, error)
ParseRespectedGameTypeSet is a log parse operation binding the contract event 0x049fe9dd413cdf037cce27011cc1790c753118272f3630e6e8bdfa5e82081760.
Solidity: event RespectedGameTypeSet(uint32 indexed newGameType, uint64 indexed updatedAt)
func (*OptimismPortal2Filterer) ParseTransactionDeposited ¶
func (_OptimismPortal2 *OptimismPortal2Filterer) ParseTransactionDeposited(log types.Log) (*OptimismPortal2TransactionDeposited, 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 (*OptimismPortal2Filterer) ParseWithdrawalFinalized ¶
func (_OptimismPortal2 *OptimismPortal2Filterer) ParseWithdrawalFinalized(log types.Log) (*OptimismPortal2WithdrawalFinalized, error)
ParseWithdrawalFinalized is a log parse operation binding the contract event 0xdb5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b.
Solidity: event WithdrawalFinalized(bytes32 indexed withdrawalHash, bool success)
func (*OptimismPortal2Filterer) ParseWithdrawalProven ¶
func (_OptimismPortal2 *OptimismPortal2Filterer) ParseWithdrawalProven(log types.Log) (*OptimismPortal2WithdrawalProven, 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 (*OptimismPortal2Filterer) ParseWithdrawalProvenExtension1 ¶
func (_OptimismPortal2 *OptimismPortal2Filterer) ParseWithdrawalProvenExtension1(log types.Log) (*OptimismPortal2WithdrawalProvenExtension1, error)
ParseWithdrawalProvenExtension1 is a log parse operation binding the contract event 0x798f9f13695f8f045aa5f80ed8efebb695f3c7fe65da381969f2f28bf3c60b97.
Solidity: event WithdrawalProvenExtension1(bytes32 indexed withdrawalHash, address indexed proofSubmitter)
func (*OptimismPortal2Filterer) WatchDisputeGameBlacklisted ¶
func (_OptimismPortal2 *OptimismPortal2Filterer) WatchDisputeGameBlacklisted(opts *bind.WatchOpts, sink chan<- *OptimismPortal2DisputeGameBlacklisted, disputeGame []common.Address) (event.Subscription, error)
WatchDisputeGameBlacklisted is a free log subscription operation binding the contract event 0x192c289026d59a41a27f5aea08f3969b57931b0589202d14f4368cded95d3cda.
Solidity: event DisputeGameBlacklisted(address indexed disputeGame)
func (*OptimismPortal2Filterer) WatchInitialized ¶
func (_OptimismPortal2 *OptimismPortal2Filterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *OptimismPortal2Initialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*OptimismPortal2Filterer) WatchRespectedGameTypeSet ¶
func (_OptimismPortal2 *OptimismPortal2Filterer) WatchRespectedGameTypeSet(opts *bind.WatchOpts, sink chan<- *OptimismPortal2RespectedGameTypeSet, newGameType []uint32, updatedAt []uint64) (event.Subscription, error)
WatchRespectedGameTypeSet is a free log subscription operation binding the contract event 0x049fe9dd413cdf037cce27011cc1790c753118272f3630e6e8bdfa5e82081760.
Solidity: event RespectedGameTypeSet(uint32 indexed newGameType, uint64 indexed updatedAt)
func (*OptimismPortal2Filterer) WatchTransactionDeposited ¶
func (_OptimismPortal2 *OptimismPortal2Filterer) WatchTransactionDeposited(opts *bind.WatchOpts, sink chan<- *OptimismPortal2TransactionDeposited, 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 (*OptimismPortal2Filterer) WatchWithdrawalFinalized ¶
func (_OptimismPortal2 *OptimismPortal2Filterer) WatchWithdrawalFinalized(opts *bind.WatchOpts, sink chan<- *OptimismPortal2WithdrawalFinalized, 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 (*OptimismPortal2Filterer) WatchWithdrawalProven ¶
func (_OptimismPortal2 *OptimismPortal2Filterer) WatchWithdrawalProven(opts *bind.WatchOpts, sink chan<- *OptimismPortal2WithdrawalProven, 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)
func (*OptimismPortal2Filterer) WatchWithdrawalProvenExtension1 ¶
func (_OptimismPortal2 *OptimismPortal2Filterer) WatchWithdrawalProvenExtension1(opts *bind.WatchOpts, sink chan<- *OptimismPortal2WithdrawalProvenExtension1, withdrawalHash [][32]byte, proofSubmitter []common.Address) (event.Subscription, error)
WatchWithdrawalProvenExtension1 is a free log subscription operation binding the contract event 0x798f9f13695f8f045aa5f80ed8efebb695f3c7fe65da381969f2f28bf3c60b97.
Solidity: event WithdrawalProvenExtension1(bytes32 indexed withdrawalHash, address indexed proofSubmitter)
type OptimismPortal2Initialized ¶
type OptimismPortal2Initialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
OptimismPortal2Initialized represents a Initialized event raised by the OptimismPortal2 contract.
type OptimismPortal2InitializedIterator ¶
type OptimismPortal2InitializedIterator struct { Event *OptimismPortal2Initialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OptimismPortal2InitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the OptimismPortal2 contract.
func (*OptimismPortal2InitializedIterator) Close ¶
func (it *OptimismPortal2InitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OptimismPortal2InitializedIterator) Error ¶
func (it *OptimismPortal2InitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OptimismPortal2InitializedIterator) Next ¶
func (it *OptimismPortal2InitializedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type OptimismPortal2Raw ¶
type OptimismPortal2Raw struct {
Contract *OptimismPortal2 // Generic contract binding to access the raw methods on
}
OptimismPortal2Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*OptimismPortal2Raw) Call ¶
func (_OptimismPortal2 *OptimismPortal2Raw) 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 (*OptimismPortal2Raw) Transact ¶
func (_OptimismPortal2 *OptimismPortal2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OptimismPortal2Raw) Transfer ¶
func (_OptimismPortal2 *OptimismPortal2Raw) 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 OptimismPortal2RespectedGameTypeSet ¶
type OptimismPortal2RespectedGameTypeSet struct { NewGameType uint32 UpdatedAt uint64 Raw types.Log // Blockchain specific contextual infos }
OptimismPortal2RespectedGameTypeSet represents a RespectedGameTypeSet event raised by the OptimismPortal2 contract.
type OptimismPortal2RespectedGameTypeSetIterator ¶
type OptimismPortal2RespectedGameTypeSetIterator struct { Event *OptimismPortal2RespectedGameTypeSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OptimismPortal2RespectedGameTypeSetIterator is returned from FilterRespectedGameTypeSet and is used to iterate over the raw logs and unpacked data for RespectedGameTypeSet events raised by the OptimismPortal2 contract.
func (*OptimismPortal2RespectedGameTypeSetIterator) Close ¶
func (it *OptimismPortal2RespectedGameTypeSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OptimismPortal2RespectedGameTypeSetIterator) Error ¶
func (it *OptimismPortal2RespectedGameTypeSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OptimismPortal2RespectedGameTypeSetIterator) Next ¶
func (it *OptimismPortal2RespectedGameTypeSetIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type OptimismPortal2Session ¶
type OptimismPortal2Session struct { Contract *OptimismPortal2 // 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 }
OptimismPortal2Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OptimismPortal2Session) Balance ¶
func (_OptimismPortal2 *OptimismPortal2Session) Balance() (*big.Int, error)
Balance is a free data retrieval call binding the contract method 0xb69ef8a8.
Solidity: function balance() view returns(uint256)
func (*OptimismPortal2Session) BlacklistDisputeGame ¶
func (_OptimismPortal2 *OptimismPortal2Session) BlacklistDisputeGame(_disputeGame common.Address) (*types.Transaction, error)
BlacklistDisputeGame is a paid mutator transaction binding the contract method 0x7d6be8dc.
Solidity: function blacklistDisputeGame(address _disputeGame) returns()
func (*OptimismPortal2Session) CheckWithdrawal ¶
func (_OptimismPortal2 *OptimismPortal2Session) CheckWithdrawal(_withdrawalHash [32]byte, _proofSubmitter common.Address) error
CheckWithdrawal is a free data retrieval call binding the contract method 0x71c1566e.
Solidity: function checkWithdrawal(bytes32 _withdrawalHash, address _proofSubmitter) view returns()
func (*OptimismPortal2Session) DepositERC20Transaction ¶
func (_OptimismPortal2 *OptimismPortal2Session) DepositERC20Transaction(_to common.Address, _mint *big.Int, _value *big.Int, _gasLimit uint64, _isCreation bool, _data []byte) (*types.Transaction, error)
DepositERC20Transaction is a paid mutator transaction binding the contract method 0x149f2f22.
Solidity: function depositERC20Transaction(address _to, uint256 _mint, uint256 _value, uint64 _gasLimit, bool _isCreation, bytes _data) returns()
func (*OptimismPortal2Session) DepositTransaction ¶
func (_OptimismPortal2 *OptimismPortal2Session) 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 (*OptimismPortal2Session) DisputeGameBlacklist ¶
func (_OptimismPortal2 *OptimismPortal2Session) DisputeGameBlacklist(arg0 common.Address) (bool, error)
DisputeGameBlacklist is a free data retrieval call binding the contract method 0x45884d32.
Solidity: function disputeGameBlacklist(address ) view returns(bool)
func (*OptimismPortal2Session) DisputeGameFactory ¶
func (_OptimismPortal2 *OptimismPortal2Session) DisputeGameFactory() (common.Address, error)
DisputeGameFactory is a free data retrieval call binding the contract method 0xf2b4e617.
Solidity: function disputeGameFactory() view returns(address)
func (*OptimismPortal2Session) DisputeGameFinalityDelaySeconds ¶
func (_OptimismPortal2 *OptimismPortal2Session) DisputeGameFinalityDelaySeconds() (*big.Int, error)
DisputeGameFinalityDelaySeconds is a free data retrieval call binding the contract method 0x952b2797.
Solidity: function disputeGameFinalityDelaySeconds() view returns(uint256)
func (*OptimismPortal2Session) DonateETH ¶
func (_OptimismPortal2 *OptimismPortal2Session) DonateETH() (*types.Transaction, error)
DonateETH is a paid mutator transaction binding the contract method 0x8b4c40b0.
Solidity: function donateETH() payable returns()
func (*OptimismPortal2Session) FinalizeWithdrawalTransaction ¶
func (_OptimismPortal2 *OptimismPortal2Session) 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 (*OptimismPortal2Session) FinalizeWithdrawalTransactionExternalProof ¶
func (_OptimismPortal2 *OptimismPortal2Session) FinalizeWithdrawalTransactionExternalProof(_tx TypesWithdrawalTransaction, _proofSubmitter common.Address) (*types.Transaction, error)
FinalizeWithdrawalTransactionExternalProof is a paid mutator transaction binding the contract method 0x43ca1c50.
Solidity: function finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes) _tx, address _proofSubmitter) returns()
func (*OptimismPortal2Session) FinalizedWithdrawals ¶
func (_OptimismPortal2 *OptimismPortal2Session) 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 (*OptimismPortal2Session) Guardian ¶
func (_OptimismPortal2 *OptimismPortal2Session) Guardian() (common.Address, error)
Guardian is a free data retrieval call binding the contract method 0x452a9320.
Solidity: function guardian() view returns(address)
func (*OptimismPortal2Session) Initialize ¶
func (_OptimismPortal2 *OptimismPortal2Session) Initialize(_disputeGameFactory common.Address, _systemConfig common.Address, _superchainConfig common.Address, _initialRespectedGameType uint32) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8e819e54.
Solidity: function initialize(address _disputeGameFactory, address _systemConfig, address _superchainConfig, uint32 _initialRespectedGameType) returns()
func (*OptimismPortal2Session) L2Sender ¶
func (_OptimismPortal2 *OptimismPortal2Session) L2Sender() (common.Address, error)
L2Sender is a free data retrieval call binding the contract method 0x9bf62d82.
Solidity: function l2Sender() view returns(address)
func (*OptimismPortal2Session) MinimumGasLimit ¶
func (_OptimismPortal2 *OptimismPortal2Session) 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 (*OptimismPortal2Session) NumProofSubmitters ¶
func (_OptimismPortal2 *OptimismPortal2Session) NumProofSubmitters(_withdrawalHash [32]byte) (*big.Int, error)
NumProofSubmitters is a free data retrieval call binding the contract method 0x513747ab.
Solidity: function numProofSubmitters(bytes32 _withdrawalHash) view returns(uint256)
func (*OptimismPortal2Session) Params ¶
func (_OptimismPortal2 *OptimismPortal2Session) 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 (*OptimismPortal2Session) Paused ¶
func (_OptimismPortal2 *OptimismPortal2Session) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*OptimismPortal2Session) ProofMaturityDelaySeconds ¶
func (_OptimismPortal2 *OptimismPortal2Session) ProofMaturityDelaySeconds() (*big.Int, error)
ProofMaturityDelaySeconds is a free data retrieval call binding the contract method 0xbf653a5c.
Solidity: function proofMaturityDelaySeconds() view returns(uint256)
func (*OptimismPortal2Session) ProofSubmitters ¶
func (_OptimismPortal2 *OptimismPortal2Session) ProofSubmitters(arg0 [32]byte, arg1 *big.Int) (common.Address, error)
ProofSubmitters is a free data retrieval call binding the contract method 0xa3860f48.
Solidity: function proofSubmitters(bytes32 , uint256 ) view returns(address)
func (*OptimismPortal2Session) ProveWithdrawalTransaction ¶
func (_OptimismPortal2 *OptimismPortal2Session) ProveWithdrawalTransaction(_tx TypesWithdrawalTransaction, _disputeGameIndex *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 _disputeGameIndex, (bytes32,bytes32,bytes32,bytes32) _outputRootProof, bytes[] _withdrawalProof) returns()
func (*OptimismPortal2Session) ProvenWithdrawals ¶
func (_OptimismPortal2 *OptimismPortal2Session) ProvenWithdrawals(arg0 [32]byte, arg1 common.Address) (struct { DisputeGameProxy common.Address Timestamp uint64 }, error)
ProvenWithdrawals is a free data retrieval call binding the contract method 0xbb2c727e.
Solidity: function provenWithdrawals(bytes32 , address ) view returns(address disputeGameProxy, uint64 timestamp)
func (*OptimismPortal2Session) Receive ¶
func (_OptimismPortal2 *OptimismPortal2Session) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*OptimismPortal2Session) RespectedGameType ¶
func (_OptimismPortal2 *OptimismPortal2Session) RespectedGameType() (uint32, error)
RespectedGameType is a free data retrieval call binding the contract method 0x3c9f397c.
Solidity: function respectedGameType() view returns(uint32)
func (*OptimismPortal2Session) RespectedGameTypeUpdatedAt ¶
func (_OptimismPortal2 *OptimismPortal2Session) RespectedGameTypeUpdatedAt() (uint64, error)
RespectedGameTypeUpdatedAt is a free data retrieval call binding the contract method 0x4fd0434c.
Solidity: function respectedGameTypeUpdatedAt() view returns(uint64)
func (*OptimismPortal2Session) SetGasPayingToken ¶
func (_OptimismPortal2 *OptimismPortal2Session) SetGasPayingToken(_token common.Address, _decimals uint8, _name [32]byte, _symbol [32]byte) (*types.Transaction, error)
SetGasPayingToken is a paid mutator transaction binding the contract method 0x71cfaa3f.
Solidity: function setGasPayingToken(address _token, uint8 _decimals, bytes32 _name, bytes32 _symbol) returns()
func (*OptimismPortal2Session) SetRespectedGameType ¶
func (_OptimismPortal2 *OptimismPortal2Session) SetRespectedGameType(_gameType uint32) (*types.Transaction, error)
SetRespectedGameType is a paid mutator transaction binding the contract method 0x7fc48504.
Solidity: function setRespectedGameType(uint32 _gameType) returns()
func (*OptimismPortal2Session) SuperchainConfig ¶
func (_OptimismPortal2 *OptimismPortal2Session) SuperchainConfig() (common.Address, error)
SuperchainConfig is a free data retrieval call binding the contract method 0x35e80ab3.
Solidity: function superchainConfig() view returns(address)
func (*OptimismPortal2Session) SystemConfig ¶
func (_OptimismPortal2 *OptimismPortal2Session) SystemConfig() (common.Address, error)
SystemConfig is a free data retrieval call binding the contract method 0x33d7e2bd.
Solidity: function systemConfig() view returns(address)
func (*OptimismPortal2Session) Version ¶
func (_OptimismPortal2 *OptimismPortal2Session) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() pure returns(string)
type OptimismPortal2TransactionDeposited ¶
type OptimismPortal2TransactionDeposited struct { From common.Address To common.Address Version *big.Int OpaqueData []byte Raw types.Log // Blockchain specific contextual infos }
OptimismPortal2TransactionDeposited represents a TransactionDeposited event raised by the OptimismPortal2 contract.
type OptimismPortal2TransactionDepositedIterator ¶
type OptimismPortal2TransactionDepositedIterator struct { Event *OptimismPortal2TransactionDeposited // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OptimismPortal2TransactionDepositedIterator is returned from FilterTransactionDeposited and is used to iterate over the raw logs and unpacked data for TransactionDeposited events raised by the OptimismPortal2 contract.
func (*OptimismPortal2TransactionDepositedIterator) Close ¶
func (it *OptimismPortal2TransactionDepositedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OptimismPortal2TransactionDepositedIterator) Error ¶
func (it *OptimismPortal2TransactionDepositedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OptimismPortal2TransactionDepositedIterator) Next ¶
func (it *OptimismPortal2TransactionDepositedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type OptimismPortal2Transactor ¶
type OptimismPortal2Transactor struct {
// contains filtered or unexported fields
}
OptimismPortal2Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOptimismPortal2Transactor ¶
func NewOptimismPortal2Transactor(address common.Address, transactor bind.ContractTransactor) (*OptimismPortal2Transactor, error)
NewOptimismPortal2Transactor creates a new write-only instance of OptimismPortal2, bound to a specific deployed contract.
func (*OptimismPortal2Transactor) BlacklistDisputeGame ¶
func (_OptimismPortal2 *OptimismPortal2Transactor) BlacklistDisputeGame(opts *bind.TransactOpts, _disputeGame common.Address) (*types.Transaction, error)
BlacklistDisputeGame is a paid mutator transaction binding the contract method 0x7d6be8dc.
Solidity: function blacklistDisputeGame(address _disputeGame) returns()
func (*OptimismPortal2Transactor) DepositERC20Transaction ¶
func (_OptimismPortal2 *OptimismPortal2Transactor) DepositERC20Transaction(opts *bind.TransactOpts, _to common.Address, _mint *big.Int, _value *big.Int, _gasLimit uint64, _isCreation bool, _data []byte) (*types.Transaction, error)
DepositERC20Transaction is a paid mutator transaction binding the contract method 0x149f2f22.
Solidity: function depositERC20Transaction(address _to, uint256 _mint, uint256 _value, uint64 _gasLimit, bool _isCreation, bytes _data) returns()
func (*OptimismPortal2Transactor) DepositTransaction ¶
func (_OptimismPortal2 *OptimismPortal2Transactor) 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 (*OptimismPortal2Transactor) DonateETH ¶
func (_OptimismPortal2 *OptimismPortal2Transactor) DonateETH(opts *bind.TransactOpts) (*types.Transaction, error)
DonateETH is a paid mutator transaction binding the contract method 0x8b4c40b0.
Solidity: function donateETH() payable returns()
func (*OptimismPortal2Transactor) FinalizeWithdrawalTransaction ¶
func (_OptimismPortal2 *OptimismPortal2Transactor) 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 (*OptimismPortal2Transactor) FinalizeWithdrawalTransactionExternalProof ¶
func (_OptimismPortal2 *OptimismPortal2Transactor) FinalizeWithdrawalTransactionExternalProof(opts *bind.TransactOpts, _tx TypesWithdrawalTransaction, _proofSubmitter common.Address) (*types.Transaction, error)
FinalizeWithdrawalTransactionExternalProof is a paid mutator transaction binding the contract method 0x43ca1c50.
Solidity: function finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes) _tx, address _proofSubmitter) returns()
func (*OptimismPortal2Transactor) Initialize ¶
func (_OptimismPortal2 *OptimismPortal2Transactor) Initialize(opts *bind.TransactOpts, _disputeGameFactory common.Address, _systemConfig common.Address, _superchainConfig common.Address, _initialRespectedGameType uint32) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8e819e54.
Solidity: function initialize(address _disputeGameFactory, address _systemConfig, address _superchainConfig, uint32 _initialRespectedGameType) returns()
func (*OptimismPortal2Transactor) ProveWithdrawalTransaction ¶
func (_OptimismPortal2 *OptimismPortal2Transactor) ProveWithdrawalTransaction(opts *bind.TransactOpts, _tx TypesWithdrawalTransaction, _disputeGameIndex *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 _disputeGameIndex, (bytes32,bytes32,bytes32,bytes32) _outputRootProof, bytes[] _withdrawalProof) returns()
func (*OptimismPortal2Transactor) Receive ¶
func (_OptimismPortal2 *OptimismPortal2Transactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*OptimismPortal2Transactor) SetGasPayingToken ¶
func (_OptimismPortal2 *OptimismPortal2Transactor) SetGasPayingToken(opts *bind.TransactOpts, _token common.Address, _decimals uint8, _name [32]byte, _symbol [32]byte) (*types.Transaction, error)
SetGasPayingToken is a paid mutator transaction binding the contract method 0x71cfaa3f.
Solidity: function setGasPayingToken(address _token, uint8 _decimals, bytes32 _name, bytes32 _symbol) returns()
func (*OptimismPortal2Transactor) SetRespectedGameType ¶
func (_OptimismPortal2 *OptimismPortal2Transactor) SetRespectedGameType(opts *bind.TransactOpts, _gameType uint32) (*types.Transaction, error)
SetRespectedGameType is a paid mutator transaction binding the contract method 0x7fc48504.
Solidity: function setRespectedGameType(uint32 _gameType) returns()
type OptimismPortal2TransactorRaw ¶
type OptimismPortal2TransactorRaw struct {
Contract *OptimismPortal2Transactor // Generic write-only contract binding to access the raw methods on
}
OptimismPortal2TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OptimismPortal2TransactorRaw) Transact ¶
func (_OptimismPortal2 *OptimismPortal2TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OptimismPortal2TransactorRaw) Transfer ¶
func (_OptimismPortal2 *OptimismPortal2TransactorRaw) 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 OptimismPortal2TransactorSession ¶
type OptimismPortal2TransactorSession struct { Contract *OptimismPortal2Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OptimismPortal2TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OptimismPortal2TransactorSession) BlacklistDisputeGame ¶
func (_OptimismPortal2 *OptimismPortal2TransactorSession) BlacklistDisputeGame(_disputeGame common.Address) (*types.Transaction, error)
BlacklistDisputeGame is a paid mutator transaction binding the contract method 0x7d6be8dc.
Solidity: function blacklistDisputeGame(address _disputeGame) returns()
func (*OptimismPortal2TransactorSession) DepositERC20Transaction ¶
func (_OptimismPortal2 *OptimismPortal2TransactorSession) DepositERC20Transaction(_to common.Address, _mint *big.Int, _value *big.Int, _gasLimit uint64, _isCreation bool, _data []byte) (*types.Transaction, error)
DepositERC20Transaction is a paid mutator transaction binding the contract method 0x149f2f22.
Solidity: function depositERC20Transaction(address _to, uint256 _mint, uint256 _value, uint64 _gasLimit, bool _isCreation, bytes _data) returns()
func (*OptimismPortal2TransactorSession) DepositTransaction ¶
func (_OptimismPortal2 *OptimismPortal2TransactorSession) 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 (*OptimismPortal2TransactorSession) DonateETH ¶
func (_OptimismPortal2 *OptimismPortal2TransactorSession) DonateETH() (*types.Transaction, error)
DonateETH is a paid mutator transaction binding the contract method 0x8b4c40b0.
Solidity: function donateETH() payable returns()
func (*OptimismPortal2TransactorSession) FinalizeWithdrawalTransaction ¶
func (_OptimismPortal2 *OptimismPortal2TransactorSession) 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 (*OptimismPortal2TransactorSession) FinalizeWithdrawalTransactionExternalProof ¶
func (_OptimismPortal2 *OptimismPortal2TransactorSession) FinalizeWithdrawalTransactionExternalProof(_tx TypesWithdrawalTransaction, _proofSubmitter common.Address) (*types.Transaction, error)
FinalizeWithdrawalTransactionExternalProof is a paid mutator transaction binding the contract method 0x43ca1c50.
Solidity: function finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes) _tx, address _proofSubmitter) returns()
func (*OptimismPortal2TransactorSession) Initialize ¶
func (_OptimismPortal2 *OptimismPortal2TransactorSession) Initialize(_disputeGameFactory common.Address, _systemConfig common.Address, _superchainConfig common.Address, _initialRespectedGameType uint32) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8e819e54.
Solidity: function initialize(address _disputeGameFactory, address _systemConfig, address _superchainConfig, uint32 _initialRespectedGameType) returns()
func (*OptimismPortal2TransactorSession) ProveWithdrawalTransaction ¶
func (_OptimismPortal2 *OptimismPortal2TransactorSession) ProveWithdrawalTransaction(_tx TypesWithdrawalTransaction, _disputeGameIndex *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 _disputeGameIndex, (bytes32,bytes32,bytes32,bytes32) _outputRootProof, bytes[] _withdrawalProof) returns()
func (*OptimismPortal2TransactorSession) Receive ¶
func (_OptimismPortal2 *OptimismPortal2TransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*OptimismPortal2TransactorSession) SetGasPayingToken ¶
func (_OptimismPortal2 *OptimismPortal2TransactorSession) SetGasPayingToken(_token common.Address, _decimals uint8, _name [32]byte, _symbol [32]byte) (*types.Transaction, error)
SetGasPayingToken is a paid mutator transaction binding the contract method 0x71cfaa3f.
Solidity: function setGasPayingToken(address _token, uint8 _decimals, bytes32 _name, bytes32 _symbol) returns()
func (*OptimismPortal2TransactorSession) SetRespectedGameType ¶
func (_OptimismPortal2 *OptimismPortal2TransactorSession) SetRespectedGameType(_gameType uint32) (*types.Transaction, error)
SetRespectedGameType is a paid mutator transaction binding the contract method 0x7fc48504.
Solidity: function setRespectedGameType(uint32 _gameType) returns()
type OptimismPortal2WithdrawalFinalized ¶
type OptimismPortal2WithdrawalFinalized struct { WithdrawalHash [32]byte Success bool Raw types.Log // Blockchain specific contextual infos }
OptimismPortal2WithdrawalFinalized represents a WithdrawalFinalized event raised by the OptimismPortal2 contract.
type OptimismPortal2WithdrawalFinalizedIterator ¶
type OptimismPortal2WithdrawalFinalizedIterator struct { Event *OptimismPortal2WithdrawalFinalized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OptimismPortal2WithdrawalFinalizedIterator is returned from FilterWithdrawalFinalized and is used to iterate over the raw logs and unpacked data for WithdrawalFinalized events raised by the OptimismPortal2 contract.
func (*OptimismPortal2WithdrawalFinalizedIterator) Close ¶
func (it *OptimismPortal2WithdrawalFinalizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OptimismPortal2WithdrawalFinalizedIterator) Error ¶
func (it *OptimismPortal2WithdrawalFinalizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OptimismPortal2WithdrawalFinalizedIterator) Next ¶
func (it *OptimismPortal2WithdrawalFinalizedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type OptimismPortal2WithdrawalProven ¶
type OptimismPortal2WithdrawalProven struct { WithdrawalHash [32]byte From common.Address To common.Address Raw types.Log // Blockchain specific contextual infos }
OptimismPortal2WithdrawalProven represents a WithdrawalProven event raised by the OptimismPortal2 contract.
type OptimismPortal2WithdrawalProvenExtension1 ¶
type OptimismPortal2WithdrawalProvenExtension1 struct { WithdrawalHash [32]byte ProofSubmitter common.Address Raw types.Log // Blockchain specific contextual infos }
OptimismPortal2WithdrawalProvenExtension1 represents a WithdrawalProvenExtension1 event raised by the OptimismPortal2 contract.
type OptimismPortal2WithdrawalProvenExtension1Iterator ¶
type OptimismPortal2WithdrawalProvenExtension1Iterator struct { Event *OptimismPortal2WithdrawalProvenExtension1 // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OptimismPortal2WithdrawalProvenExtension1Iterator is returned from FilterWithdrawalProvenExtension1 and is used to iterate over the raw logs and unpacked data for WithdrawalProvenExtension1 events raised by the OptimismPortal2 contract.
func (*OptimismPortal2WithdrawalProvenExtension1Iterator) Close ¶
func (it *OptimismPortal2WithdrawalProvenExtension1Iterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OptimismPortal2WithdrawalProvenExtension1Iterator) Error ¶
func (it *OptimismPortal2WithdrawalProvenExtension1Iterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OptimismPortal2WithdrawalProvenExtension1Iterator) Next ¶
func (it *OptimismPortal2WithdrawalProvenExtension1Iterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type OptimismPortal2WithdrawalProvenIterator ¶
type OptimismPortal2WithdrawalProvenIterator struct { Event *OptimismPortal2WithdrawalProven // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OptimismPortal2WithdrawalProvenIterator is returned from FilterWithdrawalProven and is used to iterate over the raw logs and unpacked data for WithdrawalProven events raised by the OptimismPortal2 contract.
func (*OptimismPortal2WithdrawalProvenIterator) Close ¶
func (it *OptimismPortal2WithdrawalProvenIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OptimismPortal2WithdrawalProvenIterator) Error ¶
func (it *OptimismPortal2WithdrawalProvenIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OptimismPortal2WithdrawalProvenIterator) Next ¶
func (it *OptimismPortal2WithdrawalProvenIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.