Documentation
¶
Index ¶
- Variables
- type DeployChain
- type DeployChainCaller
- func (_DeployChain *DeployChainCaller) CalculateBatchInbox(opts *bind.CallOpts, chainID *big.Int) (common.Address, error)
- func (_DeployChain *DeployChainCaller) DeployAddresses(opts *bind.CallOpts, chainID *big.Int) (DeployChainDeployAddresses, error)
- func (_DeployChain *DeployChainCaller) L1CrossDomainMessenger(opts *bind.CallOpts) (common.Address, error)
- func (_DeployChain *DeployChainCaller) L1ERC721Bridge(opts *bind.CallOpts) (common.Address, error)
- func (_DeployChain *DeployChainCaller) L1StandardBridge(opts *bind.CallOpts) (common.Address, error)
- func (_DeployChain *DeployChainCaller) L2OutputOracle(opts *bind.CallOpts) (common.Address, error)
- func (_DeployChain *DeployChainCaller) MESSAGEPASSERSTORAGEHASH(opts *bind.CallOpts) ([32]byte, error)
- func (_DeployChain *DeployChainCaller) OptimismMintableERC20Factory(opts *bind.CallOpts) (common.Address, error)
- func (_DeployChain *DeployChainCaller) OptimismPortal(opts *bind.CallOpts) (common.Address, error)
- func (_DeployChain *DeployChainCaller) ProtocolVersions(opts *bind.CallOpts) (common.Address, error)
- func (_DeployChain *DeployChainCaller) ProxyAdmin(opts *bind.CallOpts) (common.Address, error)
- func (_DeployChain *DeployChainCaller) SuperchainConfig(opts *bind.CallOpts) (common.Address, error)
- func (_DeployChain *DeployChainCaller) SystemConfig(opts *bind.CallOpts) (common.Address, error)
- type DeployChainCallerRaw
- type DeployChainCallerSession
- func (_DeployChain *DeployChainCallerSession) CalculateBatchInbox(chainID *big.Int) (common.Address, error)
- func (_DeployChain *DeployChainCallerSession) DeployAddresses(chainID *big.Int) (DeployChainDeployAddresses, error)
- func (_DeployChain *DeployChainCallerSession) L1CrossDomainMessenger() (common.Address, error)
- func (_DeployChain *DeployChainCallerSession) L1ERC721Bridge() (common.Address, error)
- func (_DeployChain *DeployChainCallerSession) L1StandardBridge() (common.Address, error)
- func (_DeployChain *DeployChainCallerSession) L2OutputOracle() (common.Address, error)
- func (_DeployChain *DeployChainCallerSession) MESSAGEPASSERSTORAGEHASH() ([32]byte, error)
- func (_DeployChain *DeployChainCallerSession) OptimismMintableERC20Factory() (common.Address, error)
- func (_DeployChain *DeployChainCallerSession) OptimismPortal() (common.Address, error)
- func (_DeployChain *DeployChainCallerSession) ProtocolVersions() (common.Address, error)
- func (_DeployChain *DeployChainCallerSession) ProxyAdmin() (common.Address, error)
- func (_DeployChain *DeployChainCallerSession) SuperchainConfig() (common.Address, error)
- func (_DeployChain *DeployChainCallerSession) SystemConfig() (common.Address, error)
- type DeployChainDeploy
- type DeployChainDeployAddresses
- type DeployChainDeployIterator
- type DeployChainFilterer
- func (_DeployChain *DeployChainFilterer) FilterDeploy(opts *bind.FilterOpts, chainID []*big.Int) (*DeployChainDeployIterator, error)
- func (_DeployChain *DeployChainFilterer) ParseDeploy(log types.Log) (*DeployChainDeploy, error)
- func (_DeployChain *DeployChainFilterer) WatchDeploy(opts *bind.WatchOpts, sink chan<- *DeployChainDeploy, chainID []*big.Int) (event.Subscription, error)
- type DeployChainRaw
- func (_DeployChain *DeployChainRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_DeployChain *DeployChainRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_DeployChain *DeployChainRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type DeployChainSession
- func (_DeployChain *DeployChainSession) CalculateBatchInbox(chainID *big.Int) (common.Address, error)
- func (_DeployChain *DeployChainSession) Deploy(chainID *big.Int, genesisL1Number uint64, genesisL2Hash [32]byte, ...) (*types.Transaction, error)
- func (_DeployChain *DeployChainSession) DeployAddresses(chainID *big.Int) (DeployChainDeployAddresses, error)
- func (_DeployChain *DeployChainSession) L1CrossDomainMessenger() (common.Address, error)
- func (_DeployChain *DeployChainSession) L1ERC721Bridge() (common.Address, error)
- func (_DeployChain *DeployChainSession) L1StandardBridge() (common.Address, error)
- func (_DeployChain *DeployChainSession) L2OutputOracle() (common.Address, error)
- func (_DeployChain *DeployChainSession) MESSAGEPASSERSTORAGEHASH() ([32]byte, error)
- func (_DeployChain *DeployChainSession) OptimismMintableERC20Factory() (common.Address, error)
- func (_DeployChain *DeployChainSession) OptimismPortal() (common.Address, error)
- func (_DeployChain *DeployChainSession) ProtocolVersions() (common.Address, error)
- func (_DeployChain *DeployChainSession) ProxyAdmin() (common.Address, error)
- func (_DeployChain *DeployChainSession) SuperchainConfig() (common.Address, error)
- func (_DeployChain *DeployChainSession) SystemConfig() (common.Address, error)
- type DeployChainTransactor
- type DeployChainTransactorRaw
- type DeployChainTransactorSession
- type OutputOracle
- type OutputOracleCaller
- func (_OutputOracle *OutputOracleCaller) ConfigHash(opts *bind.CallOpts) ([32]byte, error)
- func (_OutputOracle *OutputOracleCaller) GetL2Output(opts *bind.CallOpts, _l2OutputIndex *big.Int) (TypesOutputProposal, error)
- func (_OutputOracle *OutputOracleCaller) GetL2OutputAfter(opts *bind.CallOpts, _l2BlockNumber *big.Int) (TypesOutputProposal, error)
- func (_OutputOracle *OutputOracleCaller) GetL2OutputIndexAfter(opts *bind.CallOpts, _l2BlockNumber *big.Int) (*big.Int, error)
- func (_OutputOracle *OutputOracleCaller) LatestBlockNumber(opts *bind.CallOpts) (*big.Int, error)
- func (_OutputOracle *OutputOracleCaller) LatestL2Output(opts *bind.CallOpts) (TypesOutputProposal, error)
- func (_OutputOracle *OutputOracleCaller) LatestOutputIndex(opts *bind.CallOpts) (*big.Int, error)
- func (_OutputOracle *OutputOracleCaller) MaxOutputCount(opts *bind.CallOpts) (*big.Int, error)
- func (_OutputOracle *OutputOracleCaller) NextOutputIndex(opts *bind.CallOpts) (*big.Int, error)
- func (_OutputOracle *OutputOracleCaller) Proposer(opts *bind.CallOpts) (common.Address, error)
- func (_OutputOracle *OutputOracleCaller) SystemConfig(opts *bind.CallOpts) (common.Address, error)
- func (_OutputOracle *OutputOracleCaller) SystemConfigGlobal(opts *bind.CallOpts) (common.Address, error)
- func (_OutputOracle *OutputOracleCaller) Version(opts *bind.CallOpts) (string, error)
- type OutputOracleCallerRaw
- type OutputOracleCallerSession
- func (_OutputOracle *OutputOracleCallerSession) ConfigHash() ([32]byte, error)
- func (_OutputOracle *OutputOracleCallerSession) GetL2Output(_l2OutputIndex *big.Int) (TypesOutputProposal, error)
- func (_OutputOracle *OutputOracleCallerSession) GetL2OutputAfter(_l2BlockNumber *big.Int) (TypesOutputProposal, error)
- func (_OutputOracle *OutputOracleCallerSession) GetL2OutputIndexAfter(_l2BlockNumber *big.Int) (*big.Int, error)
- func (_OutputOracle *OutputOracleCallerSession) LatestBlockNumber() (*big.Int, error)
- func (_OutputOracle *OutputOracleCallerSession) LatestL2Output() (TypesOutputProposal, error)
- func (_OutputOracle *OutputOracleCallerSession) LatestOutputIndex() (*big.Int, error)
- func (_OutputOracle *OutputOracleCallerSession) MaxOutputCount() (*big.Int, error)
- func (_OutputOracle *OutputOracleCallerSession) NextOutputIndex() (*big.Int, error)
- func (_OutputOracle *OutputOracleCallerSession) Proposer() (common.Address, error)
- func (_OutputOracle *OutputOracleCallerSession) SystemConfig() (common.Address, error)
- func (_OutputOracle *OutputOracleCallerSession) SystemConfigGlobal() (common.Address, error)
- func (_OutputOracle *OutputOracleCallerSession) Version() (string, error)
- type OutputOracleFilterer
- func (_OutputOracle *OutputOracleFilterer) FilterInitialized(opts *bind.FilterOpts) (*OutputOracleInitializedIterator, error)
- func (_OutputOracle *OutputOracleFilterer) FilterOutputProposed(opts *bind.FilterOpts, outputRoot [][32]byte, l2OutputIndex []*big.Int, ...) (*OutputOracleOutputProposedIterator, error)
- func (_OutputOracle *OutputOracleFilterer) ParseInitialized(log types.Log) (*OutputOracleInitialized, error)
- func (_OutputOracle *OutputOracleFilterer) ParseOutputProposed(log types.Log) (*OutputOracleOutputProposed, error)
- func (_OutputOracle *OutputOracleFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *OutputOracleInitialized) (event.Subscription, error)
- func (_OutputOracle *OutputOracleFilterer) WatchOutputProposed(opts *bind.WatchOpts, sink chan<- *OutputOracleOutputProposed, ...) (event.Subscription, error)
- type OutputOracleInitialized
- type OutputOracleInitializedIterator
- type OutputOracleOutputProposed
- type OutputOracleOutputProposedIterator
- type OutputOracleRaw
- func (_OutputOracle *OutputOracleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_OutputOracle *OutputOracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_OutputOracle *OutputOracleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OutputOracleSession
- func (_OutputOracle *OutputOracleSession) ConfigHash() ([32]byte, error)
- func (_OutputOracle *OutputOracleSession) GetL2Output(_l2OutputIndex *big.Int) (TypesOutputProposal, error)
- func (_OutputOracle *OutputOracleSession) GetL2OutputAfter(_l2BlockNumber *big.Int) (TypesOutputProposal, error)
- func (_OutputOracle *OutputOracleSession) GetL2OutputIndexAfter(_l2BlockNumber *big.Int) (*big.Int, error)
- func (_OutputOracle *OutputOracleSession) Initialize(_systemConfig common.Address, _configHash [32]byte, ...) (*types.Transaction, error)
- func (_OutputOracle *OutputOracleSession) LatestBlockNumber() (*big.Int, error)
- func (_OutputOracle *OutputOracleSession) LatestL2Output() (TypesOutputProposal, error)
- func (_OutputOracle *OutputOracleSession) LatestOutputIndex() (*big.Int, error)
- func (_OutputOracle *OutputOracleSession) MaxOutputCount() (*big.Int, error)
- func (_OutputOracle *OutputOracleSession) NextOutputIndex() (*big.Int, error)
- func (_OutputOracle *OutputOracleSession) ProposeL2Output(_outputRoot [32]byte, _l2BlockNumber *big.Int, _l1BlockNumber *big.Int, ...) (*types.Transaction, error)
- func (_OutputOracle *OutputOracleSession) Proposer() (common.Address, error)
- func (_OutputOracle *OutputOracleSession) SystemConfig() (common.Address, error)
- func (_OutputOracle *OutputOracleSession) SystemConfigGlobal() (common.Address, error)
- func (_OutputOracle *OutputOracleSession) Version() (string, error)
- type OutputOracleTransactor
- func (_OutputOracle *OutputOracleTransactor) Initialize(opts *bind.TransactOpts, _systemConfig common.Address, _configHash [32]byte, ...) (*types.Transaction, error)
- func (_OutputOracle *OutputOracleTransactor) ProposeL2Output(opts *bind.TransactOpts, _outputRoot [32]byte, _l2BlockNumber *big.Int, ...) (*types.Transaction, error)
- type OutputOracleTransactorRaw
- type OutputOracleTransactorSession
- func (_OutputOracle *OutputOracleTransactorSession) Initialize(_systemConfig common.Address, _configHash [32]byte, ...) (*types.Transaction, error)
- func (_OutputOracle *OutputOracleTransactorSession) ProposeL2Output(_outputRoot [32]byte, _l2BlockNumber *big.Int, _l1BlockNumber *big.Int, ...) (*types.Transaction, error)
- type Portal
- type PortalCaller
- func (_Portal *PortalCaller) Balance(opts *bind.CallOpts) (*big.Int, error)
- func (_Portal *PortalCaller) FinalizedWithdrawals(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_Portal *PortalCaller) Guardian(opts *bind.CallOpts) (common.Address, error)
- func (_Portal *PortalCaller) IsOutputFinalized(opts *bind.CallOpts, _l2OutputIndex *big.Int) (bool, error)
- func (_Portal *PortalCaller) L2Oracle(opts *bind.CallOpts) (common.Address, error)
- func (_Portal *PortalCaller) L2Sender(opts *bind.CallOpts) (common.Address, error)
- func (_Portal *PortalCaller) MinimumGasLimit(opts *bind.CallOpts, _byteCount uint64) (uint64, error)
- func (_Portal *PortalCaller) Params(opts *bind.CallOpts) (struct{ ... }, error)
- func (_Portal *PortalCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_Portal *PortalCaller) SuperchainConfig(opts *bind.CallOpts) (common.Address, error)
- func (_Portal *PortalCaller) SystemConfig(opts *bind.CallOpts) (common.Address, error)
- func (_Portal *PortalCaller) Version(opts *bind.CallOpts) (string, error)
- type PortalCallerRaw
- type PortalCallerSession
- func (_Portal *PortalCallerSession) Balance() (*big.Int, error)
- func (_Portal *PortalCallerSession) FinalizedWithdrawals(arg0 [32]byte) (bool, error)
- func (_Portal *PortalCallerSession) Guardian() (common.Address, error)
- func (_Portal *PortalCallerSession) IsOutputFinalized(_l2OutputIndex *big.Int) (bool, error)
- func (_Portal *PortalCallerSession) L2Oracle() (common.Address, error)
- func (_Portal *PortalCallerSession) L2Sender() (common.Address, error)
- func (_Portal *PortalCallerSession) MinimumGasLimit(_byteCount uint64) (uint64, error)
- func (_Portal *PortalCallerSession) Params() (struct{ ... }, error)
- func (_Portal *PortalCallerSession) Paused() (bool, error)
- func (_Portal *PortalCallerSession) SuperchainConfig() (common.Address, error)
- func (_Portal *PortalCallerSession) SystemConfig() (common.Address, error)
- func (_Portal *PortalCallerSession) Version() (string, error)
- type PortalFilterer
- func (_Portal *PortalFilterer) FilterInitialized(opts *bind.FilterOpts) (*PortalInitializedIterator, error)
- func (_Portal *PortalFilterer) FilterTransactionDeposited(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*PortalTransactionDepositedIterator, error)
- func (_Portal *PortalFilterer) FilterWithdrawalFinalized(opts *bind.FilterOpts, withdrawalHash [][32]byte) (*PortalWithdrawalFinalizedIterator, error)
- func (_Portal *PortalFilterer) FilterWithdrawalProven(opts *bind.FilterOpts, withdrawalHash [][32]byte, from []common.Address, ...) (*PortalWithdrawalProvenIterator, error)
- func (_Portal *PortalFilterer) ParseInitialized(log types.Log) (*PortalInitialized, error)
- func (_Portal *PortalFilterer) ParseTransactionDeposited(log types.Log) (*PortalTransactionDeposited, error)
- func (_Portal *PortalFilterer) ParseWithdrawalFinalized(log types.Log) (*PortalWithdrawalFinalized, error)
- func (_Portal *PortalFilterer) ParseWithdrawalProven(log types.Log) (*PortalWithdrawalProven, error)
- func (_Portal *PortalFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *PortalInitialized) (event.Subscription, error)
- func (_Portal *PortalFilterer) WatchTransactionDeposited(opts *bind.WatchOpts, sink chan<- *PortalTransactionDeposited, ...) (event.Subscription, error)
- func (_Portal *PortalFilterer) WatchWithdrawalFinalized(opts *bind.WatchOpts, sink chan<- *PortalWithdrawalFinalized, ...) (event.Subscription, error)
- func (_Portal *PortalFilterer) WatchWithdrawalProven(opts *bind.WatchOpts, sink chan<- *PortalWithdrawalProven, ...) (event.Subscription, error)
- type PortalInitialized
- type PortalInitializedIterator
- type PortalRaw
- func (_Portal *PortalRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Portal *PortalRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Portal *PortalRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PortalSession
- func (_Portal *PortalSession) Balance() (*big.Int, error)
- func (_Portal *PortalSession) DepositERC20Transaction(_to common.Address, _mint *big.Int, _value *big.Int, _gasLimit uint64, ...) (*types.Transaction, error)
- func (_Portal *PortalSession) DepositTransaction(_to common.Address, _value *big.Int, _gasLimit uint64, _isCreation bool, ...) (*types.Transaction, error)
- func (_Portal *PortalSession) DonateETH() (*types.Transaction, error)
- func (_Portal *PortalSession) FinalizeWithdrawalTransaction(_tx TypesWithdrawalTransaction) (*types.Transaction, error)
- func (_Portal *PortalSession) FinalizedWithdrawals(arg0 [32]byte) (bool, error)
- func (_Portal *PortalSession) Guardian() (common.Address, error)
- func (_Portal *PortalSession) Initialize(_l2Oracle common.Address, _systemConfig common.Address, ...) (*types.Transaction, error)
- func (_Portal *PortalSession) IsOutputFinalized(_l2OutputIndex *big.Int) (bool, error)
- func (_Portal *PortalSession) L2Oracle() (common.Address, error)
- func (_Portal *PortalSession) L2Sender() (common.Address, error)
- func (_Portal *PortalSession) MinimumGasLimit(_byteCount uint64) (uint64, error)
- func (_Portal *PortalSession) Params() (struct{ ... }, error)
- func (_Portal *PortalSession) Paused() (bool, error)
- func (_Portal *PortalSession) ProveAndFinalizeWithdrawalTransaction(_tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, ...) (*types.Transaction, error)
- func (_Portal *PortalSession) ProveWithdrawalTransaction(_tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, ...) (*types.Transaction, error)
- func (_Portal *PortalSession) Receive() (*types.Transaction, error)
- func (_Portal *PortalSession) SetGasPayingToken(_token common.Address, _decimals uint8, _name [32]byte, _symbol [32]byte) (*types.Transaction, error)
- func (_Portal *PortalSession) SuperchainConfig() (common.Address, error)
- func (_Portal *PortalSession) SystemConfig() (common.Address, error)
- func (_Portal *PortalSession) Version() (string, error)
- type PortalTransactionDeposited
- type PortalTransactionDepositedIterator
- type PortalTransactor
- func (_Portal *PortalTransactor) DepositERC20Transaction(opts *bind.TransactOpts, _to common.Address, _mint *big.Int, _value *big.Int, ...) (*types.Transaction, error)
- func (_Portal *PortalTransactor) DepositTransaction(opts *bind.TransactOpts, _to common.Address, _value *big.Int, _gasLimit uint64, ...) (*types.Transaction, error)
- func (_Portal *PortalTransactor) DonateETH(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Portal *PortalTransactor) FinalizeWithdrawalTransaction(opts *bind.TransactOpts, _tx TypesWithdrawalTransaction) (*types.Transaction, error)
- func (_Portal *PortalTransactor) Initialize(opts *bind.TransactOpts, _l2Oracle common.Address, ...) (*types.Transaction, error)
- func (_Portal *PortalTransactor) ProveAndFinalizeWithdrawalTransaction(opts *bind.TransactOpts, _tx TypesWithdrawalTransaction, ...) (*types.Transaction, error)
- func (_Portal *PortalTransactor) ProveWithdrawalTransaction(opts *bind.TransactOpts, _tx TypesWithdrawalTransaction, ...) (*types.Transaction, error)
- func (_Portal *PortalTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Portal *PortalTransactor) SetGasPayingToken(opts *bind.TransactOpts, _token common.Address, _decimals uint8, ...) (*types.Transaction, error)
- type PortalTransactorRaw
- type PortalTransactorSession
- func (_Portal *PortalTransactorSession) DepositERC20Transaction(_to common.Address, _mint *big.Int, _value *big.Int, _gasLimit uint64, ...) (*types.Transaction, error)
- func (_Portal *PortalTransactorSession) DepositTransaction(_to common.Address, _value *big.Int, _gasLimit uint64, _isCreation bool, ...) (*types.Transaction, error)
- func (_Portal *PortalTransactorSession) DonateETH() (*types.Transaction, error)
- func (_Portal *PortalTransactorSession) FinalizeWithdrawalTransaction(_tx TypesWithdrawalTransaction) (*types.Transaction, error)
- func (_Portal *PortalTransactorSession) Initialize(_l2Oracle common.Address, _systemConfig common.Address, ...) (*types.Transaction, error)
- func (_Portal *PortalTransactorSession) ProveAndFinalizeWithdrawalTransaction(_tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, ...) (*types.Transaction, error)
- func (_Portal *PortalTransactorSession) ProveWithdrawalTransaction(_tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, ...) (*types.Transaction, error)
- func (_Portal *PortalTransactorSession) Receive() (*types.Transaction, error)
- func (_Portal *PortalTransactorSession) SetGasPayingToken(_token common.Address, _decimals uint8, _name [32]byte, _symbol [32]byte) (*types.Transaction, error)
- type PortalWithdrawalFinalized
- type PortalWithdrawalFinalizedIterator
- type PortalWithdrawalProven
- type PortalWithdrawalProvenIterator
- type TypesOutputProposal
- type TypesOutputRootProof
- type TypesWithdrawalTransaction
Constants ¶
This section is empty.
Variables ¶
var DeployChainABI = DeployChainMetaData.ABI
DeployChainABI is the input ABI used to generate the binding from. Deprecated: Use DeployChainMetaData.ABI instead.
var DeployChainMetaData = &bind.MetaData{
ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"_proxyAdmin\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_optimismPortal\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_systemConfig\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_l1StandardBridge\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_l1ERC721Bridge\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_optimismMintableERC20Factory\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_l1CrossDomainMessenger\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_l2OutputOracle\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_superchainConfig\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_protocolVersions\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"MESSAGE_PASSER_STORAGE_HASH\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"calculateBatchInbox\",\"inputs\":[{\"name\":\"chainID\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"deploy\",\"inputs\":[{\"name\":\"chainID\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"genesisL1Number\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"genesisL2Hash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"genesisL2StateRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"genesisL2Time\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"basefeeScalar\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"blobbasefeeScalar\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"gasLimit\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"batcherAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"unsafeBlockSigner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"proposer\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"deployAddresses\",\"inputs\":[{\"name\":\"chainID\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structDeployChain.DeployAddresses\",\"components\":[{\"name\":\"l2OutputOracle\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"systemConfig\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"optimismPortal\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"l1CrossDomainMessenger\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"l1StandardBridge\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"l1ERC721Bridge\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"optimismMintableERC20Factory\",\"type\":\"address\",\"internalType\":\"address\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"l1CrossDomainMessenger\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"l1ERC721Bridge\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"l1StandardBridge\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"l2OutputOracle\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"optimismMintableERC20Factory\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"optimismPortal\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"protocolVersions\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proxyAdmin\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"superchainConfig\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"systemConfig\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"Deploy\",\"inputs\":[{\"name\":\"chainID\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"configHash\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"},{\"name\":\"outputRoot\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"},{\"name\":\"batchInbox\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"addresses\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"structDeployChain.DeployAddresses\",\"components\":[{\"name\":\"l2OutputOracle\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"systemConfig\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"optimismPortal\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"l1CrossDomainMessenger\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"l1StandardBridge\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"l1ERC721Bridge\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"optimismMintableERC20Factory\",\"type\":\"address\",\"internalType\":\"address\"}]}],\"anonymous\":false}]",
}
DeployChainMetaData contains all meta data concerning the DeployChain contract.
var OutputOracleABI = OutputOracleMetaData.ABI
OutputOracleABI is the input ABI used to generate the binding from. Deprecated: Use OutputOracleMetaData.ABI instead.
var OutputOracleMetaData = &bind.MetaData{
ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"_systemConfigGlobal\",\"type\":\"address\",\"internalType\":\"contractSystemConfigGlobal\"},{\"name\":\"_maxOutputCount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"configHash\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getL2Output\",\"inputs\":[{\"name\":\"_l2OutputIndex\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structTypes.OutputProposal\",\"components\":[{\"name\":\"outputRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"timestamp\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"l2BlockNumber\",\"type\":\"uint128\",\"internalType\":\"uint128\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getL2OutputAfter\",\"inputs\":[{\"name\":\"_l2BlockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structTypes.OutputProposal\",\"components\":[{\"name\":\"outputRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"timestamp\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"l2BlockNumber\",\"type\":\"uint128\",\"internalType\":\"uint128\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getL2OutputIndexAfter\",\"inputs\":[{\"name\":\"_l2BlockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[{\"name\":\"_systemConfig\",\"type\":\"address\",\"internalType\":\"contractSystemConfigOwnable\"},{\"name\":\"_configHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_genesisOutputRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"latestBlockNumber\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"latestL2Output\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structTypes.OutputProposal\",\"components\":[{\"name\":\"outputRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"timestamp\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"l2BlockNumber\",\"type\":\"uint128\",\"internalType\":\"uint128\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"latestOutputIndex\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"maxOutputCount\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"nextOutputIndex\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proposeL2Output\",\"inputs\":[{\"name\":\"_outputRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_l2BlockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_l1BlockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_signature\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"proposer\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"systemConfig\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractSystemConfigOwnable\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"systemConfigGlobal\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractSystemConfigGlobal\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"version\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OutputProposed\",\"inputs\":[{\"name\":\"outputRoot\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"l2OutputIndex\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"l2BlockNumber\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"l1Timestamp\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false}]",
}
OutputOracleMetaData contains all meta data concerning the OutputOracle contract.
var PortalABI = PortalMetaData.ABI
PortalABI is the input ABI used to generate the binding from. Deprecated: Use PortalMetaData.ABI instead.
var PortalMetaData = &bind.MetaData{
ABI: "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"receive\",\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"balance\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"depositERC20Transaction\",\"inputs\":[{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_mint\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_value\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_gasLimit\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"_isCreation\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"_data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"depositTransaction\",\"inputs\":[{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_gasLimit\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"_isCreation\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"_data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"donateETH\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"finalizeWithdrawalTransaction\",\"inputs\":[{\"name\":\"_tx\",\"type\":\"tuple\",\"internalType\":\"structTypes.WithdrawalTransaction\",\"components\":[{\"name\":\"nonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"sender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"gasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"finalizedWithdrawals\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"guardian\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[{\"name\":\"_l2Oracle\",\"type\":\"address\",\"internalType\":\"contractOutputOracle\"},{\"name\":\"_systemConfig\",\"type\":\"address\",\"internalType\":\"contractISystemConfig\"},{\"name\":\"_superchainConfig\",\"type\":\"address\",\"internalType\":\"contractISuperchainConfig\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"isOutputFinalized\",\"inputs\":[{\"name\":\"_l2OutputIndex\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"l2Oracle\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractOutputOracle\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"l2Sender\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"minimumGasLimit\",\"inputs\":[{\"name\":\"_byteCount\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"params\",\"inputs\":[],\"outputs\":[{\"name\":\"prevBaseFee\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"prevBoughtGas\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"prevBlockNum\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"paused\",\"inputs\":[],\"outputs\":[{\"name\":\"paused_\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proveAndFinalizeWithdrawalTransaction\",\"inputs\":[{\"name\":\"_tx\",\"type\":\"tuple\",\"internalType\":\"structTypes.WithdrawalTransaction\",\"components\":[{\"name\":\"nonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"sender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"gasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]},{\"name\":\"_l2OutputIndex\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_outputRootProof\",\"type\":\"tuple\",\"internalType\":\"structTypes.OutputRootProof\",\"components\":[{\"name\":\"version\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"stateRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"messagePasserStorageRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"latestBlockhash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"_withdrawalProof\",\"type\":\"bytes[]\",\"internalType\":\"bytes[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"proveWithdrawalTransaction\",\"inputs\":[{\"name\":\"_tx\",\"type\":\"tuple\",\"internalType\":\"structTypes.WithdrawalTransaction\",\"components\":[{\"name\":\"nonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"sender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"gasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]},{\"name\":\"_l2OutputIndex\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_outputRootProof\",\"type\":\"tuple\",\"internalType\":\"structTypes.OutputRootProof\",\"components\":[{\"name\":\"version\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"stateRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"messagePasserStorageRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"latestBlockhash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"_withdrawalProof\",\"type\":\"bytes[]\",\"internalType\":\"bytes[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setGasPayingToken\",\"inputs\":[{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_decimals\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"_name\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_symbol\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"superchainConfig\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractISuperchainConfig\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"systemConfig\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractISystemConfig\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"version\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"pure\"},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"TransactionDeposited\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"version\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"opaqueData\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"WithdrawalFinalized\",\"inputs\":[{\"name\":\"withdrawalHash\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"success\",\"type\":\"bool\",\"indexed\":false,\"internalType\":\"bool\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"WithdrawalProven\",\"inputs\":[{\"name\":\"withdrawalHash\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"BadTarget\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"CallPaused\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ContentLengthMismatch\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"EmptyItem\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"GasEstimation\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidDataRemainder\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidHeader\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"LargeCalldata\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NoValue\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NonReentrant\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"OnlyCustomGasToken\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"OutOfGas\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"SmallGasLimit\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"TransferFailed\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"Unauthorized\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"UnexpectedList\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"UnexpectedString\",\"inputs\":[]}]",
}
PortalMetaData contains all meta data concerning the Portal contract.
Functions ¶
This section is empty.
Types ¶
type DeployChain ¶
type DeployChain struct { DeployChainCaller // Read-only binding to the contract DeployChainTransactor // Write-only binding to the contract DeployChainFilterer // Log filterer for contract events }
DeployChain is an auto generated Go binding around an Ethereum contract.
func NewDeployChain ¶
func NewDeployChain(address common.Address, backend bind.ContractBackend) (*DeployChain, error)
NewDeployChain creates a new instance of DeployChain, bound to a specific deployed contract.
type DeployChainCaller ¶
type DeployChainCaller struct {
// contains filtered or unexported fields
}
DeployChainCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewDeployChainCaller ¶
func NewDeployChainCaller(address common.Address, caller bind.ContractCaller) (*DeployChainCaller, error)
NewDeployChainCaller creates a new read-only instance of DeployChain, bound to a specific deployed contract.
func (*DeployChainCaller) CalculateBatchInbox ¶
func (_DeployChain *DeployChainCaller) CalculateBatchInbox(opts *bind.CallOpts, chainID *big.Int) (common.Address, error)
CalculateBatchInbox is a free data retrieval call binding the contract method 0x36e0909b.
Solidity: function calculateBatchInbox(uint256 chainID) pure returns(address)
func (*DeployChainCaller) DeployAddresses ¶
func (_DeployChain *DeployChainCaller) DeployAddresses(opts *bind.CallOpts, chainID *big.Int) (DeployChainDeployAddresses, error)
DeployAddresses is a free data retrieval call binding the contract method 0xbeab4f7e.
Solidity: function deployAddresses(uint256 chainID) view returns((address,address,address,address,address,address,address))
func (*DeployChainCaller) L1CrossDomainMessenger ¶
func (_DeployChain *DeployChainCaller) L1CrossDomainMessenger(opts *bind.CallOpts) (common.Address, error)
L1CrossDomainMessenger is a free data retrieval call binding the contract method 0xa7119869.
Solidity: function l1CrossDomainMessenger() view returns(address)
func (*DeployChainCaller) L1ERC721Bridge ¶
L1ERC721Bridge is a free data retrieval call binding the contract method 0xc4e8ddfa.
Solidity: function l1ERC721Bridge() view returns(address)
func (*DeployChainCaller) L1StandardBridge ¶
func (_DeployChain *DeployChainCaller) L1StandardBridge(opts *bind.CallOpts) (common.Address, error)
L1StandardBridge is a free data retrieval call binding the contract method 0x078f29cf.
Solidity: function l1StandardBridge() view returns(address)
func (*DeployChainCaller) L2OutputOracle ¶
L2OutputOracle is a free data retrieval call binding the contract method 0x4d9f1559.
Solidity: function l2OutputOracle() view returns(address)
func (*DeployChainCaller) MESSAGEPASSERSTORAGEHASH ¶
func (_DeployChain *DeployChainCaller) MESSAGEPASSERSTORAGEHASH(opts *bind.CallOpts) ([32]byte, error)
MESSAGEPASSERSTORAGEHASH is a free data retrieval call binding the contract method 0xaabcb26e.
Solidity: function MESSAGE_PASSER_STORAGE_HASH() view returns(bytes32)
func (*DeployChainCaller) OptimismMintableERC20Factory ¶
func (_DeployChain *DeployChainCaller) OptimismMintableERC20Factory(opts *bind.CallOpts) (common.Address, error)
OptimismMintableERC20Factory is a free data retrieval call binding the contract method 0x9b7d7f0a.
Solidity: function optimismMintableERC20Factory() view returns(address)
func (*DeployChainCaller) OptimismPortal ¶
OptimismPortal is a free data retrieval call binding the contract method 0x0a49cb03.
Solidity: function optimismPortal() view returns(address)
func (*DeployChainCaller) ProtocolVersions ¶
func (_DeployChain *DeployChainCaller) ProtocolVersions(opts *bind.CallOpts) (common.Address, error)
ProtocolVersions is a free data retrieval call binding the contract method 0x6624856a.
Solidity: function protocolVersions() view returns(address)
func (*DeployChainCaller) ProxyAdmin ¶
ProxyAdmin is a free data retrieval call binding the contract method 0x3e47158c.
Solidity: function proxyAdmin() view returns(address)
func (*DeployChainCaller) SuperchainConfig ¶
func (_DeployChain *DeployChainCaller) SuperchainConfig(opts *bind.CallOpts) (common.Address, error)
SuperchainConfig is a free data retrieval call binding the contract method 0x35e80ab3.
Solidity: function superchainConfig() view returns(address)
func (*DeployChainCaller) SystemConfig ¶
SystemConfig is a free data retrieval call binding the contract method 0x33d7e2bd.
Solidity: function systemConfig() view returns(address)
type DeployChainCallerRaw ¶
type DeployChainCallerRaw struct {
Contract *DeployChainCaller // Generic read-only contract binding to access the raw methods on
}
DeployChainCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*DeployChainCallerRaw) Call ¶
func (_DeployChain *DeployChainCallerRaw) 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 DeployChainCallerSession ¶
type DeployChainCallerSession struct { Contract *DeployChainCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
DeployChainCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*DeployChainCallerSession) CalculateBatchInbox ¶
func (_DeployChain *DeployChainCallerSession) CalculateBatchInbox(chainID *big.Int) (common.Address, error)
CalculateBatchInbox is a free data retrieval call binding the contract method 0x36e0909b.
Solidity: function calculateBatchInbox(uint256 chainID) pure returns(address)
func (*DeployChainCallerSession) DeployAddresses ¶
func (_DeployChain *DeployChainCallerSession) DeployAddresses(chainID *big.Int) (DeployChainDeployAddresses, error)
DeployAddresses is a free data retrieval call binding the contract method 0xbeab4f7e.
Solidity: function deployAddresses(uint256 chainID) view returns((address,address,address,address,address,address,address))
func (*DeployChainCallerSession) L1CrossDomainMessenger ¶
func (_DeployChain *DeployChainCallerSession) L1CrossDomainMessenger() (common.Address, error)
L1CrossDomainMessenger is a free data retrieval call binding the contract method 0xa7119869.
Solidity: function l1CrossDomainMessenger() view returns(address)
func (*DeployChainCallerSession) L1ERC721Bridge ¶
func (_DeployChain *DeployChainCallerSession) L1ERC721Bridge() (common.Address, error)
L1ERC721Bridge is a free data retrieval call binding the contract method 0xc4e8ddfa.
Solidity: function l1ERC721Bridge() view returns(address)
func (*DeployChainCallerSession) L1StandardBridge ¶
func (_DeployChain *DeployChainCallerSession) L1StandardBridge() (common.Address, error)
L1StandardBridge is a free data retrieval call binding the contract method 0x078f29cf.
Solidity: function l1StandardBridge() view returns(address)
func (*DeployChainCallerSession) L2OutputOracle ¶
func (_DeployChain *DeployChainCallerSession) L2OutputOracle() (common.Address, error)
L2OutputOracle is a free data retrieval call binding the contract method 0x4d9f1559.
Solidity: function l2OutputOracle() view returns(address)
func (*DeployChainCallerSession) MESSAGEPASSERSTORAGEHASH ¶
func (_DeployChain *DeployChainCallerSession) MESSAGEPASSERSTORAGEHASH() ([32]byte, error)
MESSAGEPASSERSTORAGEHASH is a free data retrieval call binding the contract method 0xaabcb26e.
Solidity: function MESSAGE_PASSER_STORAGE_HASH() view returns(bytes32)
func (*DeployChainCallerSession) OptimismMintableERC20Factory ¶
func (_DeployChain *DeployChainCallerSession) OptimismMintableERC20Factory() (common.Address, error)
OptimismMintableERC20Factory is a free data retrieval call binding the contract method 0x9b7d7f0a.
Solidity: function optimismMintableERC20Factory() view returns(address)
func (*DeployChainCallerSession) OptimismPortal ¶
func (_DeployChain *DeployChainCallerSession) OptimismPortal() (common.Address, error)
OptimismPortal is a free data retrieval call binding the contract method 0x0a49cb03.
Solidity: function optimismPortal() view returns(address)
func (*DeployChainCallerSession) ProtocolVersions ¶
func (_DeployChain *DeployChainCallerSession) ProtocolVersions() (common.Address, error)
ProtocolVersions is a free data retrieval call binding the contract method 0x6624856a.
Solidity: function protocolVersions() view returns(address)
func (*DeployChainCallerSession) ProxyAdmin ¶
func (_DeployChain *DeployChainCallerSession) ProxyAdmin() (common.Address, error)
ProxyAdmin is a free data retrieval call binding the contract method 0x3e47158c.
Solidity: function proxyAdmin() view returns(address)
func (*DeployChainCallerSession) SuperchainConfig ¶
func (_DeployChain *DeployChainCallerSession) SuperchainConfig() (common.Address, error)
SuperchainConfig is a free data retrieval call binding the contract method 0x35e80ab3.
Solidity: function superchainConfig() view returns(address)
func (*DeployChainCallerSession) SystemConfig ¶
func (_DeployChain *DeployChainCallerSession) SystemConfig() (common.Address, error)
SystemConfig is a free data retrieval call binding the contract method 0x33d7e2bd.
Solidity: function systemConfig() view returns(address)
type DeployChainDeploy ¶
type DeployChainDeploy struct { ChainID *big.Int ConfigHash [32]byte OutputRoot [32]byte BatchInbox common.Address Addresses DeployChainDeployAddresses Raw types.Log // Blockchain specific contextual infos }
DeployChainDeploy represents a Deploy event raised by the DeployChain contract.
func (*DeployChainDeploy) MarshalJSON ¶
func (d *DeployChainDeploy) MarshalJSON() ([]byte, error)
func (*DeployChainDeploy) UnmarshalJSON ¶
func (d *DeployChainDeploy) UnmarshalJSON(data []byte) error
type DeployChainDeployAddresses ¶
type DeployChainDeployAddresses struct { L2OutputOracle common.Address SystemConfig common.Address OptimismPortal common.Address L1CrossDomainMessenger common.Address L1StandardBridge common.Address L1ERC721Bridge common.Address OptimismMintableERC20Factory common.Address }
DeployChainDeployAddresses is an auto generated low-level Go binding around an user-defined struct.
type DeployChainDeployIterator ¶
type DeployChainDeployIterator struct { Event *DeployChainDeploy // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DeployChainDeployIterator is returned from FilterDeploy and is used to iterate over the raw logs and unpacked data for Deploy events raised by the DeployChain contract.
func (*DeployChainDeployIterator) Close ¶
func (it *DeployChainDeployIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DeployChainDeployIterator) Error ¶
func (it *DeployChainDeployIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DeployChainDeployIterator) Next ¶
func (it *DeployChainDeployIterator) 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 DeployChainFilterer ¶
type DeployChainFilterer struct {
// contains filtered or unexported fields
}
DeployChainFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewDeployChainFilterer ¶
func NewDeployChainFilterer(address common.Address, filterer bind.ContractFilterer) (*DeployChainFilterer, error)
NewDeployChainFilterer creates a new log filterer instance of DeployChain, bound to a specific deployed contract.
func (*DeployChainFilterer) FilterDeploy ¶
func (_DeployChain *DeployChainFilterer) FilterDeploy(opts *bind.FilterOpts, chainID []*big.Int) (*DeployChainDeployIterator, error)
FilterDeploy is a free log retrieval operation binding the contract event 0x49ea8b4c640f12c7d41cb7b7931d984f226f95ce1d55e1e449ee3d61b877c1ad.
Solidity: event Deploy(uint256 indexed chainID, bytes32 configHash, bytes32 outputRoot, address batchInbox, (address,address,address,address,address,address,address) addresses)
func (*DeployChainFilterer) ParseDeploy ¶
func (_DeployChain *DeployChainFilterer) ParseDeploy(log types.Log) (*DeployChainDeploy, error)
ParseDeploy is a log parse operation binding the contract event 0x49ea8b4c640f12c7d41cb7b7931d984f226f95ce1d55e1e449ee3d61b877c1ad.
Solidity: event Deploy(uint256 indexed chainID, bytes32 configHash, bytes32 outputRoot, address batchInbox, (address,address,address,address,address,address,address) addresses)
func (*DeployChainFilterer) WatchDeploy ¶
func (_DeployChain *DeployChainFilterer) WatchDeploy(opts *bind.WatchOpts, sink chan<- *DeployChainDeploy, chainID []*big.Int) (event.Subscription, error)
WatchDeploy is a free log subscription operation binding the contract event 0x49ea8b4c640f12c7d41cb7b7931d984f226f95ce1d55e1e449ee3d61b877c1ad.
Solidity: event Deploy(uint256 indexed chainID, bytes32 configHash, bytes32 outputRoot, address batchInbox, (address,address,address,address,address,address,address) addresses)
type DeployChainRaw ¶
type DeployChainRaw struct {
Contract *DeployChain // Generic contract binding to access the raw methods on
}
DeployChainRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*DeployChainRaw) Call ¶
func (_DeployChain *DeployChainRaw) 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 (*DeployChainRaw) Transact ¶
func (_DeployChain *DeployChainRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DeployChainRaw) Transfer ¶
func (_DeployChain *DeployChainRaw) 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 DeployChainSession ¶
type DeployChainSession struct { Contract *DeployChain // 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 }
DeployChainSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*DeployChainSession) CalculateBatchInbox ¶
func (_DeployChain *DeployChainSession) CalculateBatchInbox(chainID *big.Int) (common.Address, error)
CalculateBatchInbox is a free data retrieval call binding the contract method 0x36e0909b.
Solidity: function calculateBatchInbox(uint256 chainID) pure returns(address)
func (*DeployChainSession) Deploy ¶
func (_DeployChain *DeployChainSession) Deploy(chainID *big.Int, genesisL1Number uint64, genesisL2Hash [32]byte, genesisL2StateRoot [32]byte, genesisL2Time uint64, basefeeScalar uint32, blobbasefeeScalar uint32, gasLimit uint64, batcherAddress common.Address, unsafeBlockSigner common.Address, proposer common.Address) (*types.Transaction, error)
Deploy is a paid mutator transaction binding the contract method 0xdb2c8251.
Solidity: function deploy(uint256 chainID, uint64 genesisL1Number, bytes32 genesisL2Hash, bytes32 genesisL2StateRoot, uint64 genesisL2Time, uint32 basefeeScalar, uint32 blobbasefeeScalar, uint64 gasLimit, address batcherAddress, address unsafeBlockSigner, address proposer) returns()
func (*DeployChainSession) DeployAddresses ¶
func (_DeployChain *DeployChainSession) DeployAddresses(chainID *big.Int) (DeployChainDeployAddresses, error)
DeployAddresses is a free data retrieval call binding the contract method 0xbeab4f7e.
Solidity: function deployAddresses(uint256 chainID) view returns((address,address,address,address,address,address,address))
func (*DeployChainSession) L1CrossDomainMessenger ¶
func (_DeployChain *DeployChainSession) L1CrossDomainMessenger() (common.Address, error)
L1CrossDomainMessenger is a free data retrieval call binding the contract method 0xa7119869.
Solidity: function l1CrossDomainMessenger() view returns(address)
func (*DeployChainSession) L1ERC721Bridge ¶
func (_DeployChain *DeployChainSession) L1ERC721Bridge() (common.Address, error)
L1ERC721Bridge is a free data retrieval call binding the contract method 0xc4e8ddfa.
Solidity: function l1ERC721Bridge() view returns(address)
func (*DeployChainSession) L1StandardBridge ¶
func (_DeployChain *DeployChainSession) L1StandardBridge() (common.Address, error)
L1StandardBridge is a free data retrieval call binding the contract method 0x078f29cf.
Solidity: function l1StandardBridge() view returns(address)
func (*DeployChainSession) L2OutputOracle ¶
func (_DeployChain *DeployChainSession) L2OutputOracle() (common.Address, error)
L2OutputOracle is a free data retrieval call binding the contract method 0x4d9f1559.
Solidity: function l2OutputOracle() view returns(address)
func (*DeployChainSession) MESSAGEPASSERSTORAGEHASH ¶
func (_DeployChain *DeployChainSession) MESSAGEPASSERSTORAGEHASH() ([32]byte, error)
MESSAGEPASSERSTORAGEHASH is a free data retrieval call binding the contract method 0xaabcb26e.
Solidity: function MESSAGE_PASSER_STORAGE_HASH() view returns(bytes32)
func (*DeployChainSession) OptimismMintableERC20Factory ¶
func (_DeployChain *DeployChainSession) OptimismMintableERC20Factory() (common.Address, error)
OptimismMintableERC20Factory is a free data retrieval call binding the contract method 0x9b7d7f0a.
Solidity: function optimismMintableERC20Factory() view returns(address)
func (*DeployChainSession) OptimismPortal ¶
func (_DeployChain *DeployChainSession) OptimismPortal() (common.Address, error)
OptimismPortal is a free data retrieval call binding the contract method 0x0a49cb03.
Solidity: function optimismPortal() view returns(address)
func (*DeployChainSession) ProtocolVersions ¶
func (_DeployChain *DeployChainSession) ProtocolVersions() (common.Address, error)
ProtocolVersions is a free data retrieval call binding the contract method 0x6624856a.
Solidity: function protocolVersions() view returns(address)
func (*DeployChainSession) ProxyAdmin ¶
func (_DeployChain *DeployChainSession) ProxyAdmin() (common.Address, error)
ProxyAdmin is a free data retrieval call binding the contract method 0x3e47158c.
Solidity: function proxyAdmin() view returns(address)
func (*DeployChainSession) SuperchainConfig ¶
func (_DeployChain *DeployChainSession) SuperchainConfig() (common.Address, error)
SuperchainConfig is a free data retrieval call binding the contract method 0x35e80ab3.
Solidity: function superchainConfig() view returns(address)
func (*DeployChainSession) SystemConfig ¶
func (_DeployChain *DeployChainSession) SystemConfig() (common.Address, error)
SystemConfig is a free data retrieval call binding the contract method 0x33d7e2bd.
Solidity: function systemConfig() view returns(address)
type DeployChainTransactor ¶
type DeployChainTransactor struct {
// contains filtered or unexported fields
}
DeployChainTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewDeployChainTransactor ¶
func NewDeployChainTransactor(address common.Address, transactor bind.ContractTransactor) (*DeployChainTransactor, error)
NewDeployChainTransactor creates a new write-only instance of DeployChain, bound to a specific deployed contract.
func (*DeployChainTransactor) Deploy ¶
func (_DeployChain *DeployChainTransactor) Deploy(opts *bind.TransactOpts, chainID *big.Int, genesisL1Number uint64, genesisL2Hash [32]byte, genesisL2StateRoot [32]byte, genesisL2Time uint64, basefeeScalar uint32, blobbasefeeScalar uint32, gasLimit uint64, batcherAddress common.Address, unsafeBlockSigner common.Address, proposer common.Address) (*types.Transaction, error)
Deploy is a paid mutator transaction binding the contract method 0xdb2c8251.
Solidity: function deploy(uint256 chainID, uint64 genesisL1Number, bytes32 genesisL2Hash, bytes32 genesisL2StateRoot, uint64 genesisL2Time, uint32 basefeeScalar, uint32 blobbasefeeScalar, uint64 gasLimit, address batcherAddress, address unsafeBlockSigner, address proposer) returns()
type DeployChainTransactorRaw ¶
type DeployChainTransactorRaw struct {
Contract *DeployChainTransactor // Generic write-only contract binding to access the raw methods on
}
DeployChainTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*DeployChainTransactorRaw) Transact ¶
func (_DeployChain *DeployChainTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DeployChainTransactorRaw) Transfer ¶
func (_DeployChain *DeployChainTransactorRaw) 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 DeployChainTransactorSession ¶
type DeployChainTransactorSession struct { Contract *DeployChainTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
DeployChainTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*DeployChainTransactorSession) Deploy ¶
func (_DeployChain *DeployChainTransactorSession) Deploy(chainID *big.Int, genesisL1Number uint64, genesisL2Hash [32]byte, genesisL2StateRoot [32]byte, genesisL2Time uint64, basefeeScalar uint32, blobbasefeeScalar uint32, gasLimit uint64, batcherAddress common.Address, unsafeBlockSigner common.Address, proposer common.Address) (*types.Transaction, error)
Deploy is a paid mutator transaction binding the contract method 0xdb2c8251.
Solidity: function deploy(uint256 chainID, uint64 genesisL1Number, bytes32 genesisL2Hash, bytes32 genesisL2StateRoot, uint64 genesisL2Time, uint32 basefeeScalar, uint32 blobbasefeeScalar, uint64 gasLimit, address batcherAddress, address unsafeBlockSigner, address proposer) returns()
type OutputOracle ¶
type OutputOracle struct { OutputOracleCaller // Read-only binding to the contract OutputOracleTransactor // Write-only binding to the contract OutputOracleFilterer // Log filterer for contract events }
OutputOracle is an auto generated Go binding around an Ethereum contract.
func NewOutputOracle ¶
func NewOutputOracle(address common.Address, backend bind.ContractBackend) (*OutputOracle, error)
NewOutputOracle creates a new instance of OutputOracle, bound to a specific deployed contract.
type OutputOracleCaller ¶
type OutputOracleCaller struct {
// contains filtered or unexported fields
}
OutputOracleCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOutputOracleCaller ¶
func NewOutputOracleCaller(address common.Address, caller bind.ContractCaller) (*OutputOracleCaller, error)
NewOutputOracleCaller creates a new read-only instance of OutputOracle, bound to a specific deployed contract.
func (*OutputOracleCaller) ConfigHash ¶
func (_OutputOracle *OutputOracleCaller) ConfigHash(opts *bind.CallOpts) ([32]byte, error)
ConfigHash is a free data retrieval call binding the contract method 0xe1f1176d.
Solidity: function configHash() view returns(bytes32)
func (*OutputOracleCaller) GetL2Output ¶
func (_OutputOracle *OutputOracleCaller) GetL2Output(opts *bind.CallOpts, _l2OutputIndex *big.Int) (TypesOutputProposal, error)
GetL2Output is a free data retrieval call binding the contract method 0xa25ae557.
Solidity: function getL2Output(uint256 _l2OutputIndex) view returns((bytes32,uint128,uint128))
func (*OutputOracleCaller) GetL2OutputAfter ¶
func (_OutputOracle *OutputOracleCaller) GetL2OutputAfter(opts *bind.CallOpts, _l2BlockNumber *big.Int) (TypesOutputProposal, error)
GetL2OutputAfter is a free data retrieval call binding the contract method 0xcf8e5cf0.
Solidity: function getL2OutputAfter(uint256 _l2BlockNumber) view returns((bytes32,uint128,uint128))
func (*OutputOracleCaller) GetL2OutputIndexAfter ¶
func (_OutputOracle *OutputOracleCaller) GetL2OutputIndexAfter(opts *bind.CallOpts, _l2BlockNumber *big.Int) (*big.Int, error)
GetL2OutputIndexAfter is a free data retrieval call binding the contract method 0x7f006420.
Solidity: function getL2OutputIndexAfter(uint256 _l2BlockNumber) view returns(uint256)
func (*OutputOracleCaller) LatestBlockNumber ¶
LatestBlockNumber is a free data retrieval call binding the contract method 0x4599c788.
Solidity: function latestBlockNumber() view returns(uint256)
func (*OutputOracleCaller) LatestL2Output ¶
func (_OutputOracle *OutputOracleCaller) LatestL2Output(opts *bind.CallOpts) (TypesOutputProposal, error)
LatestL2Output is a free data retrieval call binding the contract method 0xc885bbb6.
Solidity: function latestL2Output() view returns((bytes32,uint128,uint128))
func (*OutputOracleCaller) LatestOutputIndex ¶
LatestOutputIndex is a free data retrieval call binding the contract method 0x69f16eec.
Solidity: function latestOutputIndex() view returns(uint256)
func (*OutputOracleCaller) MaxOutputCount ¶
MaxOutputCount is a free data retrieval call binding the contract method 0xcc23c381.
Solidity: function maxOutputCount() view returns(uint256)
func (*OutputOracleCaller) NextOutputIndex ¶
NextOutputIndex is a free data retrieval call binding the contract method 0x6abcf563.
Solidity: function nextOutputIndex() view returns(uint256)
func (*OutputOracleCaller) Proposer ¶
Proposer is a free data retrieval call binding the contract method 0xa8e4fb90.
Solidity: function proposer() view returns(address)
func (*OutputOracleCaller) SystemConfig ¶
SystemConfig is a free data retrieval call binding the contract method 0x33d7e2bd.
Solidity: function systemConfig() view returns(address)
func (*OutputOracleCaller) SystemConfigGlobal ¶
func (_OutputOracle *OutputOracleCaller) SystemConfigGlobal(opts *bind.CallOpts) (common.Address, error)
SystemConfigGlobal is a free data retrieval call binding the contract method 0xcd92b3fe.
Solidity: function systemConfigGlobal() view returns(address)
type OutputOracleCallerRaw ¶
type OutputOracleCallerRaw struct {
Contract *OutputOracleCaller // Generic read-only contract binding to access the raw methods on
}
OutputOracleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OutputOracleCallerRaw) Call ¶
func (_OutputOracle *OutputOracleCallerRaw) 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 OutputOracleCallerSession ¶
type OutputOracleCallerSession struct { Contract *OutputOracleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OutputOracleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*OutputOracleCallerSession) ConfigHash ¶
func (_OutputOracle *OutputOracleCallerSession) ConfigHash() ([32]byte, error)
ConfigHash is a free data retrieval call binding the contract method 0xe1f1176d.
Solidity: function configHash() view returns(bytes32)
func (*OutputOracleCallerSession) GetL2Output ¶
func (_OutputOracle *OutputOracleCallerSession) GetL2Output(_l2OutputIndex *big.Int) (TypesOutputProposal, error)
GetL2Output is a free data retrieval call binding the contract method 0xa25ae557.
Solidity: function getL2Output(uint256 _l2OutputIndex) view returns((bytes32,uint128,uint128))
func (*OutputOracleCallerSession) GetL2OutputAfter ¶
func (_OutputOracle *OutputOracleCallerSession) GetL2OutputAfter(_l2BlockNumber *big.Int) (TypesOutputProposal, error)
GetL2OutputAfter is a free data retrieval call binding the contract method 0xcf8e5cf0.
Solidity: function getL2OutputAfter(uint256 _l2BlockNumber) view returns((bytes32,uint128,uint128))
func (*OutputOracleCallerSession) GetL2OutputIndexAfter ¶
func (_OutputOracle *OutputOracleCallerSession) GetL2OutputIndexAfter(_l2BlockNumber *big.Int) (*big.Int, error)
GetL2OutputIndexAfter is a free data retrieval call binding the contract method 0x7f006420.
Solidity: function getL2OutputIndexAfter(uint256 _l2BlockNumber) view returns(uint256)
func (*OutputOracleCallerSession) LatestBlockNumber ¶
func (_OutputOracle *OutputOracleCallerSession) LatestBlockNumber() (*big.Int, error)
LatestBlockNumber is a free data retrieval call binding the contract method 0x4599c788.
Solidity: function latestBlockNumber() view returns(uint256)
func (*OutputOracleCallerSession) LatestL2Output ¶
func (_OutputOracle *OutputOracleCallerSession) LatestL2Output() (TypesOutputProposal, error)
LatestL2Output is a free data retrieval call binding the contract method 0xc885bbb6.
Solidity: function latestL2Output() view returns((bytes32,uint128,uint128))
func (*OutputOracleCallerSession) LatestOutputIndex ¶
func (_OutputOracle *OutputOracleCallerSession) LatestOutputIndex() (*big.Int, error)
LatestOutputIndex is a free data retrieval call binding the contract method 0x69f16eec.
Solidity: function latestOutputIndex() view returns(uint256)
func (*OutputOracleCallerSession) MaxOutputCount ¶
func (_OutputOracle *OutputOracleCallerSession) MaxOutputCount() (*big.Int, error)
MaxOutputCount is a free data retrieval call binding the contract method 0xcc23c381.
Solidity: function maxOutputCount() view returns(uint256)
func (*OutputOracleCallerSession) NextOutputIndex ¶
func (_OutputOracle *OutputOracleCallerSession) NextOutputIndex() (*big.Int, error)
NextOutputIndex is a free data retrieval call binding the contract method 0x6abcf563.
Solidity: function nextOutputIndex() view returns(uint256)
func (*OutputOracleCallerSession) Proposer ¶
func (_OutputOracle *OutputOracleCallerSession) Proposer() (common.Address, error)
Proposer is a free data retrieval call binding the contract method 0xa8e4fb90.
Solidity: function proposer() view returns(address)
func (*OutputOracleCallerSession) SystemConfig ¶
func (_OutputOracle *OutputOracleCallerSession) SystemConfig() (common.Address, error)
SystemConfig is a free data retrieval call binding the contract method 0x33d7e2bd.
Solidity: function systemConfig() view returns(address)
func (*OutputOracleCallerSession) SystemConfigGlobal ¶
func (_OutputOracle *OutputOracleCallerSession) SystemConfigGlobal() (common.Address, error)
SystemConfigGlobal is a free data retrieval call binding the contract method 0xcd92b3fe.
Solidity: function systemConfigGlobal() view returns(address)
func (*OutputOracleCallerSession) Version ¶
func (_OutputOracle *OutputOracleCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type OutputOracleFilterer ¶
type OutputOracleFilterer struct {
// contains filtered or unexported fields
}
OutputOracleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOutputOracleFilterer ¶
func NewOutputOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*OutputOracleFilterer, error)
NewOutputOracleFilterer creates a new log filterer instance of OutputOracle, bound to a specific deployed contract.
func (*OutputOracleFilterer) FilterInitialized ¶
func (_OutputOracle *OutputOracleFilterer) FilterInitialized(opts *bind.FilterOpts) (*OutputOracleInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*OutputOracleFilterer) FilterOutputProposed ¶
func (_OutputOracle *OutputOracleFilterer) FilterOutputProposed(opts *bind.FilterOpts, outputRoot [][32]byte, l2OutputIndex []*big.Int, l2BlockNumber []*big.Int) (*OutputOracleOutputProposedIterator, error)
FilterOutputProposed is a free log retrieval operation binding the contract event 0xa7aaf2512769da4e444e3de247be2564225c2e7a8f74cfe528e46e17d24868e2.
Solidity: event OutputProposed(bytes32 indexed outputRoot, uint256 indexed l2OutputIndex, uint256 indexed l2BlockNumber, uint256 l1Timestamp)
func (*OutputOracleFilterer) ParseInitialized ¶
func (_OutputOracle *OutputOracleFilterer) ParseInitialized(log types.Log) (*OutputOracleInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*OutputOracleFilterer) ParseOutputProposed ¶
func (_OutputOracle *OutputOracleFilterer) ParseOutputProposed(log types.Log) (*OutputOracleOutputProposed, error)
ParseOutputProposed is a log parse operation binding the contract event 0xa7aaf2512769da4e444e3de247be2564225c2e7a8f74cfe528e46e17d24868e2.
Solidity: event OutputProposed(bytes32 indexed outputRoot, uint256 indexed l2OutputIndex, uint256 indexed l2BlockNumber, uint256 l1Timestamp)
func (*OutputOracleFilterer) WatchInitialized ¶
func (_OutputOracle *OutputOracleFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *OutputOracleInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*OutputOracleFilterer) WatchOutputProposed ¶
func (_OutputOracle *OutputOracleFilterer) WatchOutputProposed(opts *bind.WatchOpts, sink chan<- *OutputOracleOutputProposed, outputRoot [][32]byte, l2OutputIndex []*big.Int, l2BlockNumber []*big.Int) (event.Subscription, error)
WatchOutputProposed is a free log subscription operation binding the contract event 0xa7aaf2512769da4e444e3de247be2564225c2e7a8f74cfe528e46e17d24868e2.
Solidity: event OutputProposed(bytes32 indexed outputRoot, uint256 indexed l2OutputIndex, uint256 indexed l2BlockNumber, uint256 l1Timestamp)
type OutputOracleInitialized ¶
type OutputOracleInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
OutputOracleInitialized represents a Initialized event raised by the OutputOracle contract.
type OutputOracleInitializedIterator ¶
type OutputOracleInitializedIterator struct { Event *OutputOracleInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OutputOracleInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the OutputOracle contract.
func (*OutputOracleInitializedIterator) Close ¶
func (it *OutputOracleInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OutputOracleInitializedIterator) Error ¶
func (it *OutputOracleInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OutputOracleInitializedIterator) Next ¶
func (it *OutputOracleInitializedIterator) 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 OutputOracleOutputProposed ¶
type OutputOracleOutputProposed struct { OutputRoot [32]byte L2OutputIndex *big.Int L2BlockNumber *big.Int L1Timestamp *big.Int Raw types.Log // Blockchain specific contextual infos }
OutputOracleOutputProposed represents a OutputProposed event raised by the OutputOracle contract.
type OutputOracleOutputProposedIterator ¶
type OutputOracleOutputProposedIterator struct { Event *OutputOracleOutputProposed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OutputOracleOutputProposedIterator is returned from FilterOutputProposed and is used to iterate over the raw logs and unpacked data for OutputProposed events raised by the OutputOracle contract.
func (*OutputOracleOutputProposedIterator) Close ¶
func (it *OutputOracleOutputProposedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OutputOracleOutputProposedIterator) Error ¶
func (it *OutputOracleOutputProposedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OutputOracleOutputProposedIterator) Next ¶
func (it *OutputOracleOutputProposedIterator) 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 OutputOracleRaw ¶
type OutputOracleRaw struct {
Contract *OutputOracle // Generic contract binding to access the raw methods on
}
OutputOracleRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OutputOracleRaw) Call ¶
func (_OutputOracle *OutputOracleRaw) 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 (*OutputOracleRaw) Transact ¶
func (_OutputOracle *OutputOracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OutputOracleRaw) Transfer ¶
func (_OutputOracle *OutputOracleRaw) 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 OutputOracleSession ¶
type OutputOracleSession struct { Contract *OutputOracle // 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 }
OutputOracleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OutputOracleSession) ConfigHash ¶
func (_OutputOracle *OutputOracleSession) ConfigHash() ([32]byte, error)
ConfigHash is a free data retrieval call binding the contract method 0xe1f1176d.
Solidity: function configHash() view returns(bytes32)
func (*OutputOracleSession) GetL2Output ¶
func (_OutputOracle *OutputOracleSession) GetL2Output(_l2OutputIndex *big.Int) (TypesOutputProposal, error)
GetL2Output is a free data retrieval call binding the contract method 0xa25ae557.
Solidity: function getL2Output(uint256 _l2OutputIndex) view returns((bytes32,uint128,uint128))
func (*OutputOracleSession) GetL2OutputAfter ¶
func (_OutputOracle *OutputOracleSession) GetL2OutputAfter(_l2BlockNumber *big.Int) (TypesOutputProposal, error)
GetL2OutputAfter is a free data retrieval call binding the contract method 0xcf8e5cf0.
Solidity: function getL2OutputAfter(uint256 _l2BlockNumber) view returns((bytes32,uint128,uint128))
func (*OutputOracleSession) GetL2OutputIndexAfter ¶
func (_OutputOracle *OutputOracleSession) GetL2OutputIndexAfter(_l2BlockNumber *big.Int) (*big.Int, error)
GetL2OutputIndexAfter is a free data retrieval call binding the contract method 0x7f006420.
Solidity: function getL2OutputIndexAfter(uint256 _l2BlockNumber) view returns(uint256)
func (*OutputOracleSession) Initialize ¶
func (_OutputOracle *OutputOracleSession) Initialize(_systemConfig common.Address, _configHash [32]byte, _genesisOutputRoot [32]byte) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x85f812c3.
Solidity: function initialize(address _systemConfig, bytes32 _configHash, bytes32 _genesisOutputRoot) returns()
func (*OutputOracleSession) LatestBlockNumber ¶
func (_OutputOracle *OutputOracleSession) LatestBlockNumber() (*big.Int, error)
LatestBlockNumber is a free data retrieval call binding the contract method 0x4599c788.
Solidity: function latestBlockNumber() view returns(uint256)
func (*OutputOracleSession) LatestL2Output ¶
func (_OutputOracle *OutputOracleSession) LatestL2Output() (TypesOutputProposal, error)
LatestL2Output is a free data retrieval call binding the contract method 0xc885bbb6.
Solidity: function latestL2Output() view returns((bytes32,uint128,uint128))
func (*OutputOracleSession) LatestOutputIndex ¶
func (_OutputOracle *OutputOracleSession) LatestOutputIndex() (*big.Int, error)
LatestOutputIndex is a free data retrieval call binding the contract method 0x69f16eec.
Solidity: function latestOutputIndex() view returns(uint256)
func (*OutputOracleSession) MaxOutputCount ¶
func (_OutputOracle *OutputOracleSession) MaxOutputCount() (*big.Int, error)
MaxOutputCount is a free data retrieval call binding the contract method 0xcc23c381.
Solidity: function maxOutputCount() view returns(uint256)
func (*OutputOracleSession) NextOutputIndex ¶
func (_OutputOracle *OutputOracleSession) NextOutputIndex() (*big.Int, error)
NextOutputIndex is a free data retrieval call binding the contract method 0x6abcf563.
Solidity: function nextOutputIndex() view returns(uint256)
func (*OutputOracleSession) ProposeL2Output ¶
func (_OutputOracle *OutputOracleSession) ProposeL2Output(_outputRoot [32]byte, _l2BlockNumber *big.Int, _l1BlockNumber *big.Int, _signature []byte) (*types.Transaction, error)
ProposeL2Output is a paid mutator transaction binding the contract method 0x9ad84880.
Solidity: function proposeL2Output(bytes32 _outputRoot, uint256 _l2BlockNumber, uint256 _l1BlockNumber, bytes _signature) returns()
func (*OutputOracleSession) Proposer ¶
func (_OutputOracle *OutputOracleSession) Proposer() (common.Address, error)
Proposer is a free data retrieval call binding the contract method 0xa8e4fb90.
Solidity: function proposer() view returns(address)
func (*OutputOracleSession) SystemConfig ¶
func (_OutputOracle *OutputOracleSession) SystemConfig() (common.Address, error)
SystemConfig is a free data retrieval call binding the contract method 0x33d7e2bd.
Solidity: function systemConfig() view returns(address)
func (*OutputOracleSession) SystemConfigGlobal ¶
func (_OutputOracle *OutputOracleSession) SystemConfigGlobal() (common.Address, error)
SystemConfigGlobal is a free data retrieval call binding the contract method 0xcd92b3fe.
Solidity: function systemConfigGlobal() view returns(address)
func (*OutputOracleSession) Version ¶
func (_OutputOracle *OutputOracleSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type OutputOracleTransactor ¶
type OutputOracleTransactor struct {
// contains filtered or unexported fields
}
OutputOracleTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOutputOracleTransactor ¶
func NewOutputOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*OutputOracleTransactor, error)
NewOutputOracleTransactor creates a new write-only instance of OutputOracle, bound to a specific deployed contract.
func (*OutputOracleTransactor) Initialize ¶
func (_OutputOracle *OutputOracleTransactor) Initialize(opts *bind.TransactOpts, _systemConfig common.Address, _configHash [32]byte, _genesisOutputRoot [32]byte) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x85f812c3.
Solidity: function initialize(address _systemConfig, bytes32 _configHash, bytes32 _genesisOutputRoot) returns()
func (*OutputOracleTransactor) ProposeL2Output ¶
func (_OutputOracle *OutputOracleTransactor) ProposeL2Output(opts *bind.TransactOpts, _outputRoot [32]byte, _l2BlockNumber *big.Int, _l1BlockNumber *big.Int, _signature []byte) (*types.Transaction, error)
ProposeL2Output is a paid mutator transaction binding the contract method 0x9ad84880.
Solidity: function proposeL2Output(bytes32 _outputRoot, uint256 _l2BlockNumber, uint256 _l1BlockNumber, bytes _signature) returns()
type OutputOracleTransactorRaw ¶
type OutputOracleTransactorRaw struct {
Contract *OutputOracleTransactor // Generic write-only contract binding to access the raw methods on
}
OutputOracleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OutputOracleTransactorRaw) Transact ¶
func (_OutputOracle *OutputOracleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OutputOracleTransactorRaw) Transfer ¶
func (_OutputOracle *OutputOracleTransactorRaw) 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 OutputOracleTransactorSession ¶
type OutputOracleTransactorSession struct { Contract *OutputOracleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OutputOracleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OutputOracleTransactorSession) Initialize ¶
func (_OutputOracle *OutputOracleTransactorSession) Initialize(_systemConfig common.Address, _configHash [32]byte, _genesisOutputRoot [32]byte) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x85f812c3.
Solidity: function initialize(address _systemConfig, bytes32 _configHash, bytes32 _genesisOutputRoot) returns()
func (*OutputOracleTransactorSession) ProposeL2Output ¶
func (_OutputOracle *OutputOracleTransactorSession) ProposeL2Output(_outputRoot [32]byte, _l2BlockNumber *big.Int, _l1BlockNumber *big.Int, _signature []byte) (*types.Transaction, error)
ProposeL2Output is a paid mutator transaction binding the contract method 0x9ad84880.
Solidity: function proposeL2Output(bytes32 _outputRoot, uint256 _l2BlockNumber, uint256 _l1BlockNumber, bytes _signature) returns()
type Portal ¶
type Portal struct { PortalCaller // Read-only binding to the contract PortalTransactor // Write-only binding to the contract PortalFilterer // Log filterer for contract events }
Portal is an auto generated Go binding around an Ethereum contract.
type PortalCaller ¶
type PortalCaller struct {
// contains filtered or unexported fields
}
PortalCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewPortalCaller ¶
func NewPortalCaller(address common.Address, caller bind.ContractCaller) (*PortalCaller, error)
NewPortalCaller creates a new read-only instance of Portal, bound to a specific deployed contract.
func (*PortalCaller) Balance ¶
Balance is a free data retrieval call binding the contract method 0xb69ef8a8.
Solidity: function balance() view returns(uint256)
func (*PortalCaller) FinalizedWithdrawals ¶
FinalizedWithdrawals is a free data retrieval call binding the contract method 0xa14238e7.
Solidity: function finalizedWithdrawals(bytes32 ) view returns(bool)
func (*PortalCaller) Guardian ¶
Guardian is a free data retrieval call binding the contract method 0x452a9320.
Solidity: function guardian() view returns(address)
func (*PortalCaller) IsOutputFinalized ¶
func (_Portal *PortalCaller) 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 (*PortalCaller) L2Oracle ¶
L2Oracle is a free data retrieval call binding the contract method 0x9b5f694a.
Solidity: function l2Oracle() view returns(address)
func (*PortalCaller) L2Sender ¶
L2Sender is a free data retrieval call binding the contract method 0x9bf62d82.
Solidity: function l2Sender() view returns(address)
func (*PortalCaller) MinimumGasLimit ¶
func (_Portal *PortalCaller) 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 (*PortalCaller) Params ¶
func (_Portal *PortalCaller) 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 (*PortalCaller) Paused ¶
func (_Portal *PortalCaller) Paused(opts *bind.CallOpts) (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool paused_)
func (*PortalCaller) SuperchainConfig ¶
SuperchainConfig is a free data retrieval call binding the contract method 0x35e80ab3.
Solidity: function superchainConfig() view returns(address)
func (*PortalCaller) SystemConfig ¶
SystemConfig is a free data retrieval call binding the contract method 0x33d7e2bd.
Solidity: function systemConfig() view returns(address)
type PortalCallerRaw ¶
type PortalCallerRaw struct {
Contract *PortalCaller // Generic read-only contract binding to access the raw methods on
}
PortalCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*PortalCallerRaw) Call ¶
func (_Portal *PortalCallerRaw) 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 PortalCallerSession ¶
type PortalCallerSession struct { Contract *PortalCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
PortalCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*PortalCallerSession) Balance ¶
func (_Portal *PortalCallerSession) Balance() (*big.Int, error)
Balance is a free data retrieval call binding the contract method 0xb69ef8a8.
Solidity: function balance() view returns(uint256)
func (*PortalCallerSession) FinalizedWithdrawals ¶
func (_Portal *PortalCallerSession) 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 (*PortalCallerSession) Guardian ¶
func (_Portal *PortalCallerSession) Guardian() (common.Address, error)
Guardian is a free data retrieval call binding the contract method 0x452a9320.
Solidity: function guardian() view returns(address)
func (*PortalCallerSession) IsOutputFinalized ¶
func (_Portal *PortalCallerSession) 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 (*PortalCallerSession) L2Oracle ¶
func (_Portal *PortalCallerSession) L2Oracle() (common.Address, error)
L2Oracle is a free data retrieval call binding the contract method 0x9b5f694a.
Solidity: function l2Oracle() view returns(address)
func (*PortalCallerSession) L2Sender ¶
func (_Portal *PortalCallerSession) L2Sender() (common.Address, error)
L2Sender is a free data retrieval call binding the contract method 0x9bf62d82.
Solidity: function l2Sender() view returns(address)
func (*PortalCallerSession) MinimumGasLimit ¶
func (_Portal *PortalCallerSession) 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 (*PortalCallerSession) Params ¶
func (_Portal *PortalCallerSession) 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 (*PortalCallerSession) Paused ¶
func (_Portal *PortalCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool paused_)
func (*PortalCallerSession) SuperchainConfig ¶
func (_Portal *PortalCallerSession) SuperchainConfig() (common.Address, error)
SuperchainConfig is a free data retrieval call binding the contract method 0x35e80ab3.
Solidity: function superchainConfig() view returns(address)
func (*PortalCallerSession) SystemConfig ¶
func (_Portal *PortalCallerSession) SystemConfig() (common.Address, error)
SystemConfig is a free data retrieval call binding the contract method 0x33d7e2bd.
Solidity: function systemConfig() view returns(address)
func (*PortalCallerSession) Version ¶
func (_Portal *PortalCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() pure returns(string)
type PortalFilterer ¶
type PortalFilterer struct {
// contains filtered or unexported fields
}
PortalFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewPortalFilterer ¶
func NewPortalFilterer(address common.Address, filterer bind.ContractFilterer) (*PortalFilterer, error)
NewPortalFilterer creates a new log filterer instance of Portal, bound to a specific deployed contract.
func (*PortalFilterer) FilterInitialized ¶
func (_Portal *PortalFilterer) FilterInitialized(opts *bind.FilterOpts) (*PortalInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*PortalFilterer) FilterTransactionDeposited ¶
func (_Portal *PortalFilterer) FilterTransactionDeposited(opts *bind.FilterOpts, from []common.Address, to []common.Address, version []*big.Int) (*PortalTransactionDepositedIterator, 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 (*PortalFilterer) FilterWithdrawalFinalized ¶
func (_Portal *PortalFilterer) FilterWithdrawalFinalized(opts *bind.FilterOpts, withdrawalHash [][32]byte) (*PortalWithdrawalFinalizedIterator, error)
FilterWithdrawalFinalized is a free log retrieval operation binding the contract event 0xdb5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b.
Solidity: event WithdrawalFinalized(bytes32 indexed withdrawalHash, bool success)
func (*PortalFilterer) FilterWithdrawalProven ¶
func (_Portal *PortalFilterer) FilterWithdrawalProven(opts *bind.FilterOpts, withdrawalHash [][32]byte, from []common.Address, to []common.Address) (*PortalWithdrawalProvenIterator, 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 (*PortalFilterer) ParseInitialized ¶
func (_Portal *PortalFilterer) ParseInitialized(log types.Log) (*PortalInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*PortalFilterer) ParseTransactionDeposited ¶
func (_Portal *PortalFilterer) ParseTransactionDeposited(log types.Log) (*PortalTransactionDeposited, 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 (*PortalFilterer) ParseWithdrawalFinalized ¶
func (_Portal *PortalFilterer) ParseWithdrawalFinalized(log types.Log) (*PortalWithdrawalFinalized, error)
ParseWithdrawalFinalized is a log parse operation binding the contract event 0xdb5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b.
Solidity: event WithdrawalFinalized(bytes32 indexed withdrawalHash, bool success)
func (*PortalFilterer) ParseWithdrawalProven ¶
func (_Portal *PortalFilterer) ParseWithdrawalProven(log types.Log) (*PortalWithdrawalProven, 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 (*PortalFilterer) WatchInitialized ¶
func (_Portal *PortalFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *PortalInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*PortalFilterer) WatchTransactionDeposited ¶
func (_Portal *PortalFilterer) WatchTransactionDeposited(opts *bind.WatchOpts, sink chan<- *PortalTransactionDeposited, 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 (*PortalFilterer) WatchWithdrawalFinalized ¶
func (_Portal *PortalFilterer) WatchWithdrawalFinalized(opts *bind.WatchOpts, sink chan<- *PortalWithdrawalFinalized, 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 (*PortalFilterer) WatchWithdrawalProven ¶
func (_Portal *PortalFilterer) WatchWithdrawalProven(opts *bind.WatchOpts, sink chan<- *PortalWithdrawalProven, 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 PortalInitialized ¶
type PortalInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
PortalInitialized represents a Initialized event raised by the Portal contract.
type PortalInitializedIterator ¶
type PortalInitializedIterator struct { Event *PortalInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PortalInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Portal contract.
func (*PortalInitializedIterator) Close ¶
func (it *PortalInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PortalInitializedIterator) Error ¶
func (it *PortalInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PortalInitializedIterator) Next ¶
func (it *PortalInitializedIterator) 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 PortalRaw ¶
type PortalRaw struct {
Contract *Portal // Generic contract binding to access the raw methods on
}
PortalRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*PortalRaw) Call ¶
func (_Portal *PortalRaw) 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 (*PortalRaw) Transact ¶
func (_Portal *PortalRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PortalRaw) Transfer ¶
func (_Portal *PortalRaw) 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 PortalSession ¶
type PortalSession struct { Contract *Portal // 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 }
PortalSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*PortalSession) Balance ¶
func (_Portal *PortalSession) Balance() (*big.Int, error)
Balance is a free data retrieval call binding the contract method 0xb69ef8a8.
Solidity: function balance() view returns(uint256)
func (*PortalSession) DepositERC20Transaction ¶
func (_Portal *PortalSession) DepositERC20Transaction(_to common.Address, _mint *big.Int, _value *big.Int, _gasLimit uint64, _isCreation bool, _data []byte) (*types.Transaction, error)
DepositERC20Transaction is a paid mutator transaction binding the contract method 0x149f2f22.
Solidity: function depositERC20Transaction(address _to, uint256 _mint, uint256 _value, uint64 _gasLimit, bool _isCreation, bytes _data) returns()
func (*PortalSession) DepositTransaction ¶
func (_Portal *PortalSession) 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 (*PortalSession) DonateETH ¶
func (_Portal *PortalSession) DonateETH() (*types.Transaction, error)
DonateETH is a paid mutator transaction binding the contract method 0x8b4c40b0.
Solidity: function donateETH() payable returns()
func (*PortalSession) FinalizeWithdrawalTransaction ¶
func (_Portal *PortalSession) 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 (*PortalSession) FinalizedWithdrawals ¶
func (_Portal *PortalSession) 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 (*PortalSession) Guardian ¶
func (_Portal *PortalSession) Guardian() (common.Address, error)
Guardian is a free data retrieval call binding the contract method 0x452a9320.
Solidity: function guardian() view returns(address)
func (*PortalSession) Initialize ¶
func (_Portal *PortalSession) Initialize(_l2Oracle common.Address, _systemConfig common.Address, _superchainConfig common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.
Solidity: function initialize(address _l2Oracle, address _systemConfig, address _superchainConfig) returns()
func (*PortalSession) IsOutputFinalized ¶
func (_Portal *PortalSession) 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 (*PortalSession) L2Oracle ¶
func (_Portal *PortalSession) L2Oracle() (common.Address, error)
L2Oracle is a free data retrieval call binding the contract method 0x9b5f694a.
Solidity: function l2Oracle() view returns(address)
func (*PortalSession) L2Sender ¶
func (_Portal *PortalSession) L2Sender() (common.Address, error)
L2Sender is a free data retrieval call binding the contract method 0x9bf62d82.
Solidity: function l2Sender() view returns(address)
func (*PortalSession) MinimumGasLimit ¶
func (_Portal *PortalSession) 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 (*PortalSession) Params ¶
func (_Portal *PortalSession) 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 (*PortalSession) Paused ¶
func (_Portal *PortalSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool paused_)
func (*PortalSession) ProveAndFinalizeWithdrawalTransaction ¶
func (_Portal *PortalSession) ProveAndFinalizeWithdrawalTransaction(_tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, _outputRootProof TypesOutputRootProof, _withdrawalProof [][]byte) (*types.Transaction, error)
ProveAndFinalizeWithdrawalTransaction is a paid mutator transaction binding the contract method 0x47f55db5.
Solidity: function proveAndFinalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes) _tx, uint256 _l2OutputIndex, (bytes32,bytes32,bytes32,bytes32) _outputRootProof, bytes[] _withdrawalProof) returns()
func (*PortalSession) ProveWithdrawalTransaction ¶
func (_Portal *PortalSession) 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 (*PortalSession) Receive ¶
func (_Portal *PortalSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*PortalSession) SetGasPayingToken ¶
func (_Portal *PortalSession) SetGasPayingToken(_token common.Address, _decimals uint8, _name [32]byte, _symbol [32]byte) (*types.Transaction, error)
SetGasPayingToken is a paid mutator transaction binding the contract method 0x71cfaa3f.
Solidity: function setGasPayingToken(address _token, uint8 _decimals, bytes32 _name, bytes32 _symbol) returns()
func (*PortalSession) SuperchainConfig ¶
func (_Portal *PortalSession) SuperchainConfig() (common.Address, error)
SuperchainConfig is a free data retrieval call binding the contract method 0x35e80ab3.
Solidity: function superchainConfig() view returns(address)
func (*PortalSession) SystemConfig ¶
func (_Portal *PortalSession) SystemConfig() (common.Address, error)
SystemConfig is a free data retrieval call binding the contract method 0x33d7e2bd.
Solidity: function systemConfig() view returns(address)
func (*PortalSession) Version ¶
func (_Portal *PortalSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() pure returns(string)
type PortalTransactionDeposited ¶
type PortalTransactionDeposited struct { From common.Address To common.Address Version *big.Int OpaqueData []byte Raw types.Log // Blockchain specific contextual infos }
PortalTransactionDeposited represents a TransactionDeposited event raised by the Portal contract.
type PortalTransactionDepositedIterator ¶
type PortalTransactionDepositedIterator struct { Event *PortalTransactionDeposited // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PortalTransactionDepositedIterator is returned from FilterTransactionDeposited and is used to iterate over the raw logs and unpacked data for TransactionDeposited events raised by the Portal contract.
func (*PortalTransactionDepositedIterator) Close ¶
func (it *PortalTransactionDepositedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PortalTransactionDepositedIterator) Error ¶
func (it *PortalTransactionDepositedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PortalTransactionDepositedIterator) Next ¶
func (it *PortalTransactionDepositedIterator) 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 PortalTransactor ¶
type PortalTransactor struct {
// contains filtered or unexported fields
}
PortalTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewPortalTransactor ¶
func NewPortalTransactor(address common.Address, transactor bind.ContractTransactor) (*PortalTransactor, error)
NewPortalTransactor creates a new write-only instance of Portal, bound to a specific deployed contract.
func (*PortalTransactor) DepositERC20Transaction ¶
func (_Portal *PortalTransactor) DepositERC20Transaction(opts *bind.TransactOpts, _to common.Address, _mint *big.Int, _value *big.Int, _gasLimit uint64, _isCreation bool, _data []byte) (*types.Transaction, error)
DepositERC20Transaction is a paid mutator transaction binding the contract method 0x149f2f22.
Solidity: function depositERC20Transaction(address _to, uint256 _mint, uint256 _value, uint64 _gasLimit, bool _isCreation, bytes _data) returns()
func (*PortalTransactor) DepositTransaction ¶
func (_Portal *PortalTransactor) 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 (*PortalTransactor) DonateETH ¶
func (_Portal *PortalTransactor) DonateETH(opts *bind.TransactOpts) (*types.Transaction, error)
DonateETH is a paid mutator transaction binding the contract method 0x8b4c40b0.
Solidity: function donateETH() payable returns()
func (*PortalTransactor) FinalizeWithdrawalTransaction ¶
func (_Portal *PortalTransactor) 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 (*PortalTransactor) Initialize ¶
func (_Portal *PortalTransactor) Initialize(opts *bind.TransactOpts, _l2Oracle common.Address, _systemConfig common.Address, _superchainConfig common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.
Solidity: function initialize(address _l2Oracle, address _systemConfig, address _superchainConfig) returns()
func (*PortalTransactor) ProveAndFinalizeWithdrawalTransaction ¶
func (_Portal *PortalTransactor) ProveAndFinalizeWithdrawalTransaction(opts *bind.TransactOpts, _tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, _outputRootProof TypesOutputRootProof, _withdrawalProof [][]byte) (*types.Transaction, error)
ProveAndFinalizeWithdrawalTransaction is a paid mutator transaction binding the contract method 0x47f55db5.
Solidity: function proveAndFinalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes) _tx, uint256 _l2OutputIndex, (bytes32,bytes32,bytes32,bytes32) _outputRootProof, bytes[] _withdrawalProof) returns()
func (*PortalTransactor) ProveWithdrawalTransaction ¶
func (_Portal *PortalTransactor) 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 (*PortalTransactor) Receive ¶
func (_Portal *PortalTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*PortalTransactor) SetGasPayingToken ¶
func (_Portal *PortalTransactor) SetGasPayingToken(opts *bind.TransactOpts, _token common.Address, _decimals uint8, _name [32]byte, _symbol [32]byte) (*types.Transaction, error)
SetGasPayingToken is a paid mutator transaction binding the contract method 0x71cfaa3f.
Solidity: function setGasPayingToken(address _token, uint8 _decimals, bytes32 _name, bytes32 _symbol) returns()
type PortalTransactorRaw ¶
type PortalTransactorRaw struct {
Contract *PortalTransactor // Generic write-only contract binding to access the raw methods on
}
PortalTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*PortalTransactorRaw) Transact ¶
func (_Portal *PortalTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PortalTransactorRaw) Transfer ¶
func (_Portal *PortalTransactorRaw) 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 PortalTransactorSession ¶
type PortalTransactorSession struct { Contract *PortalTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
PortalTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*PortalTransactorSession) DepositERC20Transaction ¶
func (_Portal *PortalTransactorSession) DepositERC20Transaction(_to common.Address, _mint *big.Int, _value *big.Int, _gasLimit uint64, _isCreation bool, _data []byte) (*types.Transaction, error)
DepositERC20Transaction is a paid mutator transaction binding the contract method 0x149f2f22.
Solidity: function depositERC20Transaction(address _to, uint256 _mint, uint256 _value, uint64 _gasLimit, bool _isCreation, bytes _data) returns()
func (*PortalTransactorSession) DepositTransaction ¶
func (_Portal *PortalTransactorSession) 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 (*PortalTransactorSession) DonateETH ¶
func (_Portal *PortalTransactorSession) DonateETH() (*types.Transaction, error)
DonateETH is a paid mutator transaction binding the contract method 0x8b4c40b0.
Solidity: function donateETH() payable returns()
func (*PortalTransactorSession) FinalizeWithdrawalTransaction ¶
func (_Portal *PortalTransactorSession) 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 (*PortalTransactorSession) Initialize ¶
func (_Portal *PortalTransactorSession) Initialize(_l2Oracle common.Address, _systemConfig common.Address, _superchainConfig common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.
Solidity: function initialize(address _l2Oracle, address _systemConfig, address _superchainConfig) returns()
func (*PortalTransactorSession) ProveAndFinalizeWithdrawalTransaction ¶
func (_Portal *PortalTransactorSession) ProveAndFinalizeWithdrawalTransaction(_tx TypesWithdrawalTransaction, _l2OutputIndex *big.Int, _outputRootProof TypesOutputRootProof, _withdrawalProof [][]byte) (*types.Transaction, error)
ProveAndFinalizeWithdrawalTransaction is a paid mutator transaction binding the contract method 0x47f55db5.
Solidity: function proveAndFinalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes) _tx, uint256 _l2OutputIndex, (bytes32,bytes32,bytes32,bytes32) _outputRootProof, bytes[] _withdrawalProof) returns()
func (*PortalTransactorSession) ProveWithdrawalTransaction ¶
func (_Portal *PortalTransactorSession) 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 (*PortalTransactorSession) Receive ¶
func (_Portal *PortalTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*PortalTransactorSession) SetGasPayingToken ¶
func (_Portal *PortalTransactorSession) SetGasPayingToken(_token common.Address, _decimals uint8, _name [32]byte, _symbol [32]byte) (*types.Transaction, error)
SetGasPayingToken is a paid mutator transaction binding the contract method 0x71cfaa3f.
Solidity: function setGasPayingToken(address _token, uint8 _decimals, bytes32 _name, bytes32 _symbol) returns()
type PortalWithdrawalFinalized ¶
type PortalWithdrawalFinalized struct { WithdrawalHash [32]byte Success bool Raw types.Log // Blockchain specific contextual infos }
PortalWithdrawalFinalized represents a WithdrawalFinalized event raised by the Portal contract.
type PortalWithdrawalFinalizedIterator ¶
type PortalWithdrawalFinalizedIterator struct { Event *PortalWithdrawalFinalized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PortalWithdrawalFinalizedIterator is returned from FilterWithdrawalFinalized and is used to iterate over the raw logs and unpacked data for WithdrawalFinalized events raised by the Portal contract.
func (*PortalWithdrawalFinalizedIterator) Close ¶
func (it *PortalWithdrawalFinalizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PortalWithdrawalFinalizedIterator) Error ¶
func (it *PortalWithdrawalFinalizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PortalWithdrawalFinalizedIterator) Next ¶
func (it *PortalWithdrawalFinalizedIterator) 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 PortalWithdrawalProven ¶
type PortalWithdrawalProven struct { WithdrawalHash [32]byte From common.Address To common.Address Raw types.Log // Blockchain specific contextual infos }
PortalWithdrawalProven represents a WithdrawalProven event raised by the Portal contract.
type PortalWithdrawalProvenIterator ¶
type PortalWithdrawalProvenIterator struct { Event *PortalWithdrawalProven // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PortalWithdrawalProvenIterator is returned from FilterWithdrawalProven and is used to iterate over the raw logs and unpacked data for WithdrawalProven events raised by the Portal contract.
func (*PortalWithdrawalProvenIterator) Close ¶
func (it *PortalWithdrawalProvenIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PortalWithdrawalProvenIterator) Error ¶
func (it *PortalWithdrawalProvenIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PortalWithdrawalProvenIterator) Next ¶
func (it *PortalWithdrawalProvenIterator) 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 TypesOutputProposal ¶
TypesOutputProposal is an auto generated low-level Go binding around an user-defined struct.