Documentation ¶
Index ¶
- Variables
- type OptimismPortal
- type OptimismPortalCaller
- func (_OptimismPortal *OptimismPortalCaller) FinalizedWithdrawals(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_OptimismPortal *OptimismPortalCaller) GUARDIAN(opts *bind.CallOpts) (common.Address, error)
- func (_OptimismPortal *OptimismPortalCaller) Guardian(opts *bind.CallOpts) (common.Address, error)
- func (_OptimismPortal *OptimismPortalCaller) IsOutputFinalized(opts *bind.CallOpts, _l2OutputIndex *big.Int) (bool, error)
- func (_OptimismPortal *OptimismPortalCaller) L2ORACLE(opts *bind.CallOpts) (common.Address, error)
- func (_OptimismPortal *OptimismPortalCaller) L2Oracle(opts *bind.CallOpts) (common.Address, error)
- func (_OptimismPortal *OptimismPortalCaller) L2Sender(opts *bind.CallOpts) (common.Address, error)
- func (_OptimismPortal *OptimismPortalCaller) MinimumGasLimit(opts *bind.CallOpts, _byteCount uint64) (uint64, error)
- func (_OptimismPortal *OptimismPortalCaller) Params(opts *bind.CallOpts) (struct{ ... }, error)
- func (_OptimismPortal *OptimismPortalCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_OptimismPortal *OptimismPortalCaller) ProvenWithdrawals(opts *bind.CallOpts, arg0 [32]byte) (struct{ ... }, error)
- func (_OptimismPortal *OptimismPortalCaller) SYSTEMCONFIG(opts *bind.CallOpts) (common.Address, error)
- func (_OptimismPortal *OptimismPortalCaller) SystemConfig(opts *bind.CallOpts) (common.Address, error)
- func (_OptimismPortal *OptimismPortalCaller) Version(opts *bind.CallOpts) (string, error)
- type OptimismPortalCallerRaw
- type OptimismPortalCallerSession
- func (_OptimismPortal *OptimismPortalCallerSession) FinalizedWithdrawals(arg0 [32]byte) (bool, error)
- func (_OptimismPortal *OptimismPortalCallerSession) GUARDIAN() (common.Address, error)
- func (_OptimismPortal *OptimismPortalCallerSession) Guardian() (common.Address, error)
- func (_OptimismPortal *OptimismPortalCallerSession) IsOutputFinalized(_l2OutputIndex *big.Int) (bool, error)
- func (_OptimismPortal *OptimismPortalCallerSession) L2ORACLE() (common.Address, error)
- func (_OptimismPortal *OptimismPortalCallerSession) L2Oracle() (common.Address, error)
- func (_OptimismPortal *OptimismPortalCallerSession) L2Sender() (common.Address, error)
- func (_OptimismPortal *OptimismPortalCallerSession) MinimumGasLimit(_byteCount uint64) (uint64, error)
- func (_OptimismPortal *OptimismPortalCallerSession) Params() (struct{ ... }, error)
- func (_OptimismPortal *OptimismPortalCallerSession) Paused() (bool, error)
- func (_OptimismPortal *OptimismPortalCallerSession) ProvenWithdrawals(arg0 [32]byte) (struct{ ... }, error)
- func (_OptimismPortal *OptimismPortalCallerSession) SYSTEMCONFIG() (common.Address, error)
- func (_OptimismPortal *OptimismPortalCallerSession) SystemConfig() (common.Address, error)
- func (_OptimismPortal *OptimismPortalCallerSession) Version() (string, error)
- type OptimismPortalFilterer
- func (_OptimismPortal *OptimismPortalFilterer) FilterInitialized(opts *bind.FilterOpts) (*OptimismPortalInitializedIterator, error)
- func (_OptimismPortal *OptimismPortalFilterer) FilterPaused(opts *bind.FilterOpts) (*OptimismPortalPausedIterator, error)
- func (_OptimismPortal *OptimismPortalFilterer) FilterTransactionDeposited(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*OptimismPortalTransactionDepositedIterator, error)
- func (_OptimismPortal *OptimismPortalFilterer) FilterUnpaused(opts *bind.FilterOpts) (*OptimismPortalUnpausedIterator, error)
- func (_OptimismPortal *OptimismPortalFilterer) FilterWithdrawalFinalized(opts *bind.FilterOpts, withdrawalHash [][32]byte) (*OptimismPortalWithdrawalFinalizedIterator, error)
- func (_OptimismPortal *OptimismPortalFilterer) FilterWithdrawalProven(opts *bind.FilterOpts, withdrawalHash [][32]byte, from []common.Address, ...) (*OptimismPortalWithdrawalProvenIterator, error)
- func (_OptimismPortal *OptimismPortalFilterer) ParseInitialized(log types.Log) (*OptimismPortalInitialized, error)
- func (_OptimismPortal *OptimismPortalFilterer) ParsePaused(log types.Log) (*OptimismPortalPaused, error)
- func (_OptimismPortal *OptimismPortalFilterer) ParseTransactionDeposited(log types.Log) (*OptimismPortalTransactionDeposited, error)
- func (_OptimismPortal *OptimismPortalFilterer) ParseUnpaused(log types.Log) (*OptimismPortalUnpaused, error)
- func (_OptimismPortal *OptimismPortalFilterer) ParseWithdrawalFinalized(log types.Log) (*OptimismPortalWithdrawalFinalized, error)
- func (_OptimismPortal *OptimismPortalFilterer) ParseWithdrawalProven(log types.Log) (*OptimismPortalWithdrawalProven, error)
- func (_OptimismPortal *OptimismPortalFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *OptimismPortalInitialized) (event.Subscription, error)
- func (_OptimismPortal *OptimismPortalFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *OptimismPortalPaused) (event.Subscription, error)
- func (_OptimismPortal *OptimismPortalFilterer) WatchTransactionDeposited(opts *bind.WatchOpts, sink chan<- *OptimismPortalTransactionDeposited, ...) (event.Subscription, error)
- func (_OptimismPortal *OptimismPortalFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *OptimismPortalUnpaused) (event.Subscription, error)
- func (_OptimismPortal *OptimismPortalFilterer) WatchWithdrawalFinalized(opts *bind.WatchOpts, sink chan<- *OptimismPortalWithdrawalFinalized, ...) (event.Subscription, error)
- func (_OptimismPortal *OptimismPortalFilterer) WatchWithdrawalProven(opts *bind.WatchOpts, sink chan<- *OptimismPortalWithdrawalProven, ...) (event.Subscription, error)
- type OptimismPortalInitialized
- type OptimismPortalInitializedIterator
- type OptimismPortalPaused
- type OptimismPortalPausedIterator
- type OptimismPortalRaw
- func (_OptimismPortal *OptimismPortalRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_OptimismPortal *OptimismPortalRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OptimismPortalSession
- func (_OptimismPortal *OptimismPortalSession) DepositTransaction(_to common.Address, _value *big.Int, _gasLimit uint64, _isCreation bool, ...) (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalSession) DonateETH() (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalSession) FinalizeWithdrawalTransaction(_tx TypesWithdrawalTransaction) (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalSession) FinalizedWithdrawals(arg0 [32]byte) (bool, error)
- func (_OptimismPortal *OptimismPortalSession) GUARDIAN() (common.Address, error)
- func (_OptimismPortal *OptimismPortalSession) Guardian() (common.Address, error)
- func (_OptimismPortal *OptimismPortalSession) Initialize(_l2Oracle common.Address, _guardian common.Address, ...) (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalSession) IsOutputFinalized(_l2OutputIndex *big.Int) (bool, error)
- func (_OptimismPortal *OptimismPortalSession) L2ORACLE() (common.Address, error)
- func (_OptimismPortal *OptimismPortalSession) L2Oracle() (common.Address, error)
- func (_OptimismPortal *OptimismPortalSession) L2Sender() (common.Address, error)
- func (_OptimismPortal *OptimismPortalSession) MinimumGasLimit(_byteCount uint64) (uint64, error)
- func (_OptimismPortal *OptimismPortalSession) Params() (struct{ ... }, error)
- func (_OptimismPortal *OptimismPortalSession) Pause() (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalSession) Paused() (bool, error)
- func (_OptimismPortal *OptimismPortalSession) ProveWithdrawalTransaction(_tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, ...) (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalSession) ProveWithdrawalTransactionDebug(_tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, ...) (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalSession) ProveWithdrawalTransactionDebug2(_tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, ...) (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalSession) ProveWithdrawalTransactionDebug3(_tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, ...) (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalSession) ProvenWithdrawals(arg0 [32]byte) (struct{ ... }, error)
- func (_OptimismPortal *OptimismPortalSession) Receive() (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalSession) SYSTEMCONFIG() (common.Address, error)
- func (_OptimismPortal *OptimismPortalSession) SystemConfig() (common.Address, error)
- func (_OptimismPortal *OptimismPortalSession) Unpause() (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalSession) Version() (string, error)
- type OptimismPortalTransactionDeposited
- type OptimismPortalTransactionDepositedIterator
- type OptimismPortalTransactor
- func (_OptimismPortal *OptimismPortalTransactor) DepositTransaction(opts *bind.TransactOpts, _to common.Address, _value *big.Int, _gasLimit uint64, ...) (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalTransactor) DonateETH(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalTransactor) FinalizeWithdrawalTransaction(opts *bind.TransactOpts, _tx TypesWithdrawalTransaction) (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalTransactor) Initialize(opts *bind.TransactOpts, _l2Oracle common.Address, _guardian common.Address, ...) (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalTransactor) ProveWithdrawalTransaction(opts *bind.TransactOpts, _tx TypesWithdrawalTransaction, ...) (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalTransactor) ProveWithdrawalTransactionDebug(opts *bind.TransactOpts, _tx TypesWithdrawalTransaction, ...) (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalTransactor) ProveWithdrawalTransactionDebug2(opts *bind.TransactOpts, _tx TypesWithdrawalTransaction, ...) (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalTransactor) ProveWithdrawalTransactionDebug3(opts *bind.TransactOpts, _tx TypesWithdrawalTransaction, ...) (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- type OptimismPortalTransactorRaw
- type OptimismPortalTransactorSession
- func (_OptimismPortal *OptimismPortalTransactorSession) DepositTransaction(_to common.Address, _value *big.Int, _gasLimit uint64, _isCreation bool, ...) (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalTransactorSession) DonateETH() (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalTransactorSession) FinalizeWithdrawalTransaction(_tx TypesWithdrawalTransaction) (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalTransactorSession) Initialize(_l2Oracle common.Address, _guardian common.Address, ...) (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalTransactorSession) Pause() (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalTransactorSession) ProveWithdrawalTransaction(_tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, ...) (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalTransactorSession) ProveWithdrawalTransactionDebug(_tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, ...) (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalTransactorSession) ProveWithdrawalTransactionDebug2(_tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, ...) (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalTransactorSession) ProveWithdrawalTransactionDebug3(_tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, ...) (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalTransactorSession) Receive() (*types.Transaction, error)
- func (_OptimismPortal *OptimismPortalTransactorSession) Unpause() (*types.Transaction, error)
- type OptimismPortalUnpaused
- type OptimismPortalUnpausedIterator
- type OptimismPortalWithdrawalFinalized
- type OptimismPortalWithdrawalFinalizedIterator
- type OptimismPortalWithdrawalProven
- type OptimismPortalWithdrawalProvenIterator
- type TypesOutputRootProof
- type TypesWithdrawalTransaction
Constants ¶
This section is empty.
Variables ¶
var OptimismPortalABI = OptimismPortalMetaData.ABI
OptimismPortalABI is the input ABI used to generate the binding from. Deprecated: Use OptimismPortalMetaData.ABI instead.
var OptimismPortalMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"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\":[],\"name\":\"guardian\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractL2OutputOracle\",\"name\":\"_l2Oracle\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_guardian\",\"type\":\"address\"},{\"internalType\":\"contractSystemConfig\",\"name\":\"_systemConfig\",\"type\":\"address\"},{\"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\":\"l2Oracle\",\"outputs\":[{\"internalType\":\"contractL2OutputOracle\",\"name\":\"\",\"type\":\"address\"}],\"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\":[{\"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\":\"proveWithdrawalTransactionDebug\",\"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\":\"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\":\"proveWithdrawalTransactionDebug2\",\"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\":\"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\":\"proveWithdrawalTransactionDebug3\",\"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\":\"systemConfig\",\"outputs\":[{\"internalType\":\"contractSystemConfig\",\"name\":\"\",\"type\":\"address\"}],\"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 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 ¶
GUARDIAN is a free data retrieval call binding the contract method 0x724c184c.
Solidity: function GUARDIAN() view returns(address)
func (*OptimismPortalCaller) Guardian ¶
Guardian is a free data retrieval call binding the contract method 0x452a9320.
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 ¶
L2ORACLE is a free data retrieval call binding the contract method 0x001c2ff6.
Solidity: function L2_ORACLE() view returns(address)
func (*OptimismPortalCaller) L2Oracle ¶
L2Oracle is a free data retrieval call binding the contract method 0x9b5f694a.
Solidity: function l2Oracle() view returns(address)
func (*OptimismPortalCaller) L2Sender ¶
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) SystemConfig ¶
func (_OptimismPortal *OptimismPortalCaller) 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 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) Guardian ¶
func (_OptimismPortal *OptimismPortalCallerSession) Guardian() (common.Address, error)
Guardian is a free data retrieval call binding the contract method 0x452a9320.
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) L2Oracle ¶
func (_OptimismPortal *OptimismPortalCallerSession) L2Oracle() (common.Address, error)
L2Oracle is a free data retrieval call binding the contract method 0x9b5f694a.
Solidity: function l2Oracle() 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) SystemConfig ¶
func (_OptimismPortal *OptimismPortalCallerSession) SystemConfig() (common.Address, error)
SystemConfig is a free data retrieval call binding the contract method 0x33d7e2bd.
Solidity: function systemConfig() 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 ¶
func (it *OptimismPortalInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OptimismPortalInitializedIterator) Error ¶
func (it *OptimismPortalInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OptimismPortalInitializedIterator) Next ¶
func (it *OptimismPortalInitializedIterator) 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 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 ¶
func (it *OptimismPortalPausedIterator) 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 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) Guardian ¶
func (_OptimismPortal *OptimismPortalSession) Guardian() (common.Address, error)
Guardian is a free data retrieval call binding the contract method 0x452a9320.
Solidity: function guardian() view returns(address)
func (*OptimismPortalSession) Initialize ¶
func (_OptimismPortal *OptimismPortalSession) Initialize(_l2Oracle common.Address, _guardian common.Address, _systemConfig common.Address, _paused bool) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xfecf9734.
Solidity: function initialize(address _l2Oracle, address _guardian, address _systemConfig, 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) L2Oracle ¶
func (_OptimismPortal *OptimismPortalSession) L2Oracle() (common.Address, error)
L2Oracle is a free data retrieval call binding the contract method 0x9b5f694a.
Solidity: function l2Oracle() 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) ProveWithdrawalTransactionDebug ¶
func (_OptimismPortal *OptimismPortalSession) ProveWithdrawalTransactionDebug(_tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, _outputRootProof TypesOutputRootProof, _withdrawalProof [][]byte) (*types.Transaction, error)
ProveWithdrawalTransactionDebug is a paid mutator transaction binding the contract method 0x1c6e22bb.
Solidity: function proveWithdrawalTransactionDebug((uint256,address,address,uint256,uint256,bytes) _tx, uint256 _l2OutputIndex, (bytes32,bytes32,bytes32,bytes32) _outputRootProof, bytes[] _withdrawalProof) returns()
func (*OptimismPortalSession) ProveWithdrawalTransactionDebug2 ¶
func (_OptimismPortal *OptimismPortalSession) ProveWithdrawalTransactionDebug2(_tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, _outputRootProof TypesOutputRootProof, _withdrawalProof [][]byte) (*types.Transaction, error)
ProveWithdrawalTransactionDebug2 is a paid mutator transaction binding the contract method 0xc1bfe202.
Solidity: function proveWithdrawalTransactionDebug2((uint256,address,address,uint256,uint256,bytes) _tx, uint256 _l2OutputIndex, (bytes32,bytes32,bytes32,bytes32) _outputRootProof, bytes[] _withdrawalProof) returns()
func (*OptimismPortalSession) ProveWithdrawalTransactionDebug3 ¶
func (_OptimismPortal *OptimismPortalSession) ProveWithdrawalTransactionDebug3(_tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, _outputRootProof TypesOutputRootProof, _withdrawalProof [][]byte) (*types.Transaction, error)
ProveWithdrawalTransactionDebug3 is a paid mutator transaction binding the contract method 0xe9bbef96.
Solidity: function proveWithdrawalTransactionDebug3((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) SystemConfig ¶
func (_OptimismPortal *OptimismPortalSession) SystemConfig() (common.Address, error)
SystemConfig is a free data retrieval call binding the contract method 0x33d7e2bd.
Solidity: function systemConfig() 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 ¶
func (it *OptimismPortalTransactionDepositedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OptimismPortalTransactionDepositedIterator) Error ¶
func (it *OptimismPortalTransactionDepositedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OptimismPortalTransactionDepositedIterator) Next ¶
func (it *OptimismPortalTransactionDepositedIterator) 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 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, _l2Oracle common.Address, _guardian common.Address, _systemConfig common.Address, _paused bool) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xfecf9734.
Solidity: function initialize(address _l2Oracle, address _guardian, address _systemConfig, 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) ProveWithdrawalTransactionDebug ¶
func (_OptimismPortal *OptimismPortalTransactor) ProveWithdrawalTransactionDebug(opts *bind.TransactOpts, _tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, _outputRootProof TypesOutputRootProof, _withdrawalProof [][]byte) (*types.Transaction, error)
ProveWithdrawalTransactionDebug is a paid mutator transaction binding the contract method 0x1c6e22bb.
Solidity: function proveWithdrawalTransactionDebug((uint256,address,address,uint256,uint256,bytes) _tx, uint256 _l2OutputIndex, (bytes32,bytes32,bytes32,bytes32) _outputRootProof, bytes[] _withdrawalProof) returns()
func (*OptimismPortalTransactor) ProveWithdrawalTransactionDebug2 ¶
func (_OptimismPortal *OptimismPortalTransactor) ProveWithdrawalTransactionDebug2(opts *bind.TransactOpts, _tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, _outputRootProof TypesOutputRootProof, _withdrawalProof [][]byte) (*types.Transaction, error)
ProveWithdrawalTransactionDebug2 is a paid mutator transaction binding the contract method 0xc1bfe202.
Solidity: function proveWithdrawalTransactionDebug2((uint256,address,address,uint256,uint256,bytes) _tx, uint256 _l2OutputIndex, (bytes32,bytes32,bytes32,bytes32) _outputRootProof, bytes[] _withdrawalProof) returns()
func (*OptimismPortalTransactor) ProveWithdrawalTransactionDebug3 ¶
func (_OptimismPortal *OptimismPortalTransactor) ProveWithdrawalTransactionDebug3(opts *bind.TransactOpts, _tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, _outputRootProof TypesOutputRootProof, _withdrawalProof [][]byte) (*types.Transaction, error)
ProveWithdrawalTransactionDebug3 is a paid mutator transaction binding the contract method 0xe9bbef96.
Solidity: function proveWithdrawalTransactionDebug3((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(_l2Oracle common.Address, _guardian common.Address, _systemConfig common.Address, _paused bool) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xfecf9734.
Solidity: function initialize(address _l2Oracle, address _guardian, address _systemConfig, 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) ProveWithdrawalTransactionDebug ¶
func (_OptimismPortal *OptimismPortalTransactorSession) ProveWithdrawalTransactionDebug(_tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, _outputRootProof TypesOutputRootProof, _withdrawalProof [][]byte) (*types.Transaction, error)
ProveWithdrawalTransactionDebug is a paid mutator transaction binding the contract method 0x1c6e22bb.
Solidity: function proveWithdrawalTransactionDebug((uint256,address,address,uint256,uint256,bytes) _tx, uint256 _l2OutputIndex, (bytes32,bytes32,bytes32,bytes32) _outputRootProof, bytes[] _withdrawalProof) returns()
func (*OptimismPortalTransactorSession) ProveWithdrawalTransactionDebug2 ¶
func (_OptimismPortal *OptimismPortalTransactorSession) ProveWithdrawalTransactionDebug2(_tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, _outputRootProof TypesOutputRootProof, _withdrawalProof [][]byte) (*types.Transaction, error)
ProveWithdrawalTransactionDebug2 is a paid mutator transaction binding the contract method 0xc1bfe202.
Solidity: function proveWithdrawalTransactionDebug2((uint256,address,address,uint256,uint256,bytes) _tx, uint256 _l2OutputIndex, (bytes32,bytes32,bytes32,bytes32) _outputRootProof, bytes[] _withdrawalProof) returns()
func (*OptimismPortalTransactorSession) ProveWithdrawalTransactionDebug3 ¶
func (_OptimismPortal *OptimismPortalTransactorSession) ProveWithdrawalTransactionDebug3(_tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, _outputRootProof TypesOutputRootProof, _withdrawalProof [][]byte) (*types.Transaction, error)
ProveWithdrawalTransactionDebug3 is a paid mutator transaction binding the contract method 0xe9bbef96.
Solidity: function proveWithdrawalTransactionDebug3((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 ¶
func (it *OptimismPortalUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OptimismPortalUnpausedIterator) Error ¶
func (it *OptimismPortalUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OptimismPortalUnpausedIterator) Next ¶
func (it *OptimismPortalUnpausedIterator) 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 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 ¶
func (it *OptimismPortalWithdrawalFinalizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OptimismPortalWithdrawalFinalizedIterator) Error ¶
func (it *OptimismPortalWithdrawalFinalizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OptimismPortalWithdrawalFinalizedIterator) Next ¶
func (it *OptimismPortalWithdrawalFinalizedIterator) 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 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 ¶
func (it *OptimismPortalWithdrawalProvenIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OptimismPortalWithdrawalProvenIterator) Error ¶
func (it *OptimismPortalWithdrawalProvenIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OptimismPortalWithdrawalProvenIterator) Next ¶
func (it *OptimismPortalWithdrawalProvenIterator) 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.