Versions in this module Expand all Collapse all v0 v0.0.6 Oct 10, 2024 v0.0.5 Oct 1, 2024 Changes in this version + var L2ToL1MessagePasserABI = L2ToL1MessagePasserMetaData.ABI + var L2ToL1MessagePasserBin = L2ToL1MessagePasserMetaData.Bin + var L2ToL1MessagePasserMetaData = &bind.MetaData + var OptimismPortalABI = OptimismPortalMetaData.ABI + var OptimismPortalBin = OptimismPortalMetaData.Bin + var OptimismPortalMetaData = &bind.MetaData + type L2ToL1MessagePasser struct + func DeployL2ToL1MessagePasser(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *L2ToL1MessagePasser, error) + func NewL2ToL1MessagePasser(address common.Address, backend bind.ContractBackend) (*L2ToL1MessagePasser, error) + type L2ToL1MessagePasserCaller struct + func NewL2ToL1MessagePasserCaller(address common.Address, caller bind.ContractCaller) (*L2ToL1MessagePasserCaller, error) + func (_L2ToL1MessagePasser *L2ToL1MessagePasserCaller) MESSAGEVERSION(opts *bind.CallOpts) (uint16, error) + func (_L2ToL1MessagePasser *L2ToL1MessagePasserCaller) MessageNonce(opts *bind.CallOpts) (*big.Int, error) + func (_L2ToL1MessagePasser *L2ToL1MessagePasserCaller) SentMessages(opts *bind.CallOpts, arg0 [32]byte) (bool, error) + func (_L2ToL1MessagePasser *L2ToL1MessagePasserCaller) Version(opts *bind.CallOpts) (string, error) + type L2ToL1MessagePasserCallerRaw struct + Contract *L2ToL1MessagePasserCaller + func (_L2ToL1MessagePasser *L2ToL1MessagePasserCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type L2ToL1MessagePasserCallerSession struct + CallOpts bind.CallOpts + Contract *L2ToL1MessagePasserCaller + func (_L2ToL1MessagePasser *L2ToL1MessagePasserCallerSession) MESSAGEVERSION() (uint16, error) + func (_L2ToL1MessagePasser *L2ToL1MessagePasserCallerSession) MessageNonce() (*big.Int, error) + func (_L2ToL1MessagePasser *L2ToL1MessagePasserCallerSession) SentMessages(arg0 [32]byte) (bool, error) + func (_L2ToL1MessagePasser *L2ToL1MessagePasserCallerSession) Version() (string, error) + type L2ToL1MessagePasserFilterer struct + func NewL2ToL1MessagePasserFilterer(address common.Address, filterer bind.ContractFilterer) (*L2ToL1MessagePasserFilterer, error) + func (_L2ToL1MessagePasser *L2ToL1MessagePasserFilterer) FilterMessagePassed(opts *bind.FilterOpts, nonce []*big.Int, sender []common.Address, ...) (*L2ToL1MessagePasserMessagePassedIterator, error) + func (_L2ToL1MessagePasser *L2ToL1MessagePasserFilterer) FilterWithdrawerBalanceBurnt(opts *bind.FilterOpts, amount []*big.Int) (*L2ToL1MessagePasserWithdrawerBalanceBurntIterator, error) + func (_L2ToL1MessagePasser *L2ToL1MessagePasserFilterer) ParseMessagePassed(log types.Log) (*L2ToL1MessagePasserMessagePassed, error) + func (_L2ToL1MessagePasser *L2ToL1MessagePasserFilterer) ParseWithdrawerBalanceBurnt(log types.Log) (*L2ToL1MessagePasserWithdrawerBalanceBurnt, error) + func (_L2ToL1MessagePasser *L2ToL1MessagePasserFilterer) WatchMessagePassed(opts *bind.WatchOpts, sink chan<- *L2ToL1MessagePasserMessagePassed, ...) (event.Subscription, error) + func (_L2ToL1MessagePasser *L2ToL1MessagePasserFilterer) WatchWithdrawerBalanceBurnt(opts *bind.WatchOpts, sink chan<- *L2ToL1MessagePasserWithdrawerBalanceBurnt, ...) (event.Subscription, error) + type L2ToL1MessagePasserMessagePassed struct + Data []byte + GasLimit *big.Int + Nonce *big.Int + Raw types.Log + Sender common.Address + Target common.Address + Value *big.Int + WithdrawalHash [32]byte + type L2ToL1MessagePasserMessagePassedIterator struct + Event *L2ToL1MessagePasserMessagePassed + func (it *L2ToL1MessagePasserMessagePassedIterator) Close() error + func (it *L2ToL1MessagePasserMessagePassedIterator) Error() error + func (it *L2ToL1MessagePasserMessagePassedIterator) Next() bool + type L2ToL1MessagePasserRaw struct + Contract *L2ToL1MessagePasser + func (_L2ToL1MessagePasser *L2ToL1MessagePasserRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + func (_L2ToL1MessagePasser *L2ToL1MessagePasserRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_L2ToL1MessagePasser *L2ToL1MessagePasserRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type L2ToL1MessagePasserSession struct + CallOpts bind.CallOpts + Contract *L2ToL1MessagePasser + TransactOpts bind.TransactOpts + func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) Burn() (*types.Transaction, error) + func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) InitiateWithdrawal(_target common.Address, _gasLimit *big.Int, _data []byte) (*types.Transaction, error) + func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) MESSAGEVERSION() (uint16, error) + func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) MessageNonce() (*big.Int, error) + func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) Receive() (*types.Transaction, error) + func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) SentMessages(arg0 [32]byte) (bool, error) + func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) Version() (string, error) + type L2ToL1MessagePasserTransactor struct + func NewL2ToL1MessagePasserTransactor(address common.Address, transactor bind.ContractTransactor) (*L2ToL1MessagePasserTransactor, error) + func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactor) Burn(opts *bind.TransactOpts) (*types.Transaction, error) + func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactor) InitiateWithdrawal(opts *bind.TransactOpts, _target common.Address, _gasLimit *big.Int, ...) (*types.Transaction, error) + func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error) + type L2ToL1MessagePasserTransactorRaw struct + Contract *L2ToL1MessagePasserTransactor + func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type L2ToL1MessagePasserTransactorSession struct + Contract *L2ToL1MessagePasserTransactor + TransactOpts bind.TransactOpts + func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactorSession) Burn() (*types.Transaction, error) + func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactorSession) InitiateWithdrawal(_target common.Address, _gasLimit *big.Int, _data []byte) (*types.Transaction, error) + func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactorSession) Receive() (*types.Transaction, error) + type L2ToL1MessagePasserWithdrawerBalanceBurnt struct + Amount *big.Int + Raw types.Log + type L2ToL1MessagePasserWithdrawerBalanceBurntIterator struct + Event *L2ToL1MessagePasserWithdrawerBalanceBurnt + func (it *L2ToL1MessagePasserWithdrawerBalanceBurntIterator) Close() error + func (it *L2ToL1MessagePasserWithdrawerBalanceBurntIterator) Error() error + func (it *L2ToL1MessagePasserWithdrawerBalanceBurntIterator) Next() bool + type OptimismPortal struct + func DeployOptimismPortal(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *OptimismPortal, error) + func NewOptimismPortal(address common.Address, backend bind.ContractBackend) (*OptimismPortal, error) + type OptimismPortalCaller struct + func NewOptimismPortalCaller(address common.Address, caller bind.ContractCaller) (*OptimismPortalCaller, error) + 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) SuperchainConfig(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 struct + Contract *OptimismPortalCaller + func (_OptimismPortal *OptimismPortalCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type OptimismPortalCallerSession struct + CallOpts bind.CallOpts + Contract *OptimismPortalCaller + 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) SuperchainConfig() (common.Address, error) + func (_OptimismPortal *OptimismPortalCallerSession) SystemConfig() (common.Address, error) + func (_OptimismPortal *OptimismPortalCallerSession) Version() (string, error) + type OptimismPortalFilterer struct + func NewOptimismPortalFilterer(address common.Address, filterer bind.ContractFilterer) (*OptimismPortalFilterer, error) + func (_OptimismPortal *OptimismPortalFilterer) FilterInitialized(opts *bind.FilterOpts) (*OptimismPortalInitializedIterator, error) + func (_OptimismPortal *OptimismPortalFilterer) FilterTransactionDeposited(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*OptimismPortalTransactionDepositedIterator, 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) ParseTransactionDeposited(log types.Log) (*OptimismPortalTransactionDeposited, 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) WatchTransactionDeposited(opts *bind.WatchOpts, sink chan<- *OptimismPortalTransactionDeposited, ...) (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 struct + Raw types.Log + Version uint8 + type OptimismPortalInitializedIterator struct + Event *OptimismPortalInitialized + func (it *OptimismPortalInitializedIterator) Close() error + func (it *OptimismPortalInitializedIterator) Error() error + func (it *OptimismPortalInitializedIterator) Next() bool + type OptimismPortalRaw struct + Contract *OptimismPortal + 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 struct + CallOpts bind.CallOpts + Contract *OptimismPortal + TransactOpts bind.TransactOpts + 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, _systemConfig 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) Paused() (bool, error) + func (_OptimismPortal *OptimismPortalSession) ProveWithdrawalTransaction(_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) SuperchainConfig() (common.Address, error) + func (_OptimismPortal *OptimismPortalSession) SystemConfig() (common.Address, error) + func (_OptimismPortal *OptimismPortalSession) Version() (string, error) + type OptimismPortalTransactionDeposited struct + From common.Address + OpaqueData []byte + Raw types.Log + To common.Address + Version *big.Int + type OptimismPortalTransactionDepositedIterator struct + Event *OptimismPortalTransactionDeposited + func (it *OptimismPortalTransactionDepositedIterator) Close() error + func (it *OptimismPortalTransactionDepositedIterator) Error() error + func (it *OptimismPortalTransactionDepositedIterator) Next() bool + type OptimismPortalTransactor struct + func NewOptimismPortalTransactor(address common.Address, transactor bind.ContractTransactor) (*OptimismPortalTransactor, error) + 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, ...) (*types.Transaction, error) + func (_OptimismPortal *OptimismPortalTransactor) ProveWithdrawalTransaction(opts *bind.TransactOpts, _tx TypesWithdrawalTransaction, ...) (*types.Transaction, error) + func (_OptimismPortal *OptimismPortalTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error) + type OptimismPortalTransactorRaw struct + Contract *OptimismPortalTransactor + func (_OptimismPortal *OptimismPortalTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_OptimismPortal *OptimismPortalTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type OptimismPortalTransactorSession struct + Contract *OptimismPortalTransactor + TransactOpts bind.TransactOpts + 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, _systemConfig common.Address, ...) (*types.Transaction, error) + func (_OptimismPortal *OptimismPortalTransactorSession) ProveWithdrawalTransaction(_tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, ...) (*types.Transaction, error) + func (_OptimismPortal *OptimismPortalTransactorSession) Receive() (*types.Transaction, error) + type OptimismPortalWithdrawalFinalized struct + Raw types.Log + Success bool + WithdrawalHash [32]byte + type OptimismPortalWithdrawalFinalizedIterator struct + Event *OptimismPortalWithdrawalFinalized + func (it *OptimismPortalWithdrawalFinalizedIterator) Close() error + func (it *OptimismPortalWithdrawalFinalizedIterator) Error() error + func (it *OptimismPortalWithdrawalFinalizedIterator) Next() bool + type OptimismPortalWithdrawalProven struct + From common.Address + Raw types.Log + To common.Address + WithdrawalHash [32]byte + type OptimismPortalWithdrawalProvenIterator struct + Event *OptimismPortalWithdrawalProven + func (it *OptimismPortalWithdrawalProvenIterator) Close() error + func (it *OptimismPortalWithdrawalProvenIterator) Error() error + func (it *OptimismPortalWithdrawalProvenIterator) Next() bool + type TypesOutputRootProof struct + LatestBlockhash [32]byte + MessagePasserStorageRoot [32]byte + StateRoot [32]byte + Version [32]byte + type TypesWithdrawalTransaction struct + Data []byte + GasLimit *big.Int + Nonce *big.Int + Sender common.Address + Target common.Address + Value *big.Int