Documentation ¶
Index ¶
- Variables
- type L2OutputOracle
- type L2OutputOracleCaller
- func (_L2OutputOracle *L2OutputOracleCaller) CHALLENGER(opts *bind.CallOpts) (common.Address, error)
- func (_L2OutputOracle *L2OutputOracleCaller) Challenger(opts *bind.CallOpts) (common.Address, error)
- func (_L2OutputOracle *L2OutputOracleCaller) ComputeL2Timestamp(opts *bind.CallOpts, _l2BlockNumber *big.Int) (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCaller) FINALIZATIONPERIODSECONDS(opts *bind.CallOpts) (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCaller) FinalizationPeriodSeconds(opts *bind.CallOpts) (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCaller) GetL2Output(opts *bind.CallOpts, _l2OutputIndex *big.Int) (TypesOutputProposal, error)
- func (_L2OutputOracle *L2OutputOracleCaller) GetL2OutputAfter(opts *bind.CallOpts, _l2BlockNumber *big.Int) (TypesOutputProposal, error)
- func (_L2OutputOracle *L2OutputOracleCaller) GetL2OutputIndexAfter(opts *bind.CallOpts, _l2BlockNumber *big.Int) (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCaller) L2BLOCKTIME(opts *bind.CallOpts) (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCaller) L2BlockTime(opts *bind.CallOpts) (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCaller) LatestBlockNumber(opts *bind.CallOpts) (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCaller) LatestOutputIndex(opts *bind.CallOpts) (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCaller) NextBlockNumber(opts *bind.CallOpts) (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCaller) NextOutputIndex(opts *bind.CallOpts) (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCaller) PROPOSER(opts *bind.CallOpts) (common.Address, error)
- func (_L2OutputOracle *L2OutputOracleCaller) Proposer(opts *bind.CallOpts) (common.Address, error)
- func (_L2OutputOracle *L2OutputOracleCaller) SUBMISSIONINTERVAL(opts *bind.CallOpts) (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCaller) StartingBlockNumber(opts *bind.CallOpts) (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCaller) StartingTimestamp(opts *bind.CallOpts) (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCaller) SubmissionInterval(opts *bind.CallOpts) (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCaller) Version(opts *bind.CallOpts) (string, error)
- type L2OutputOracleCallerRaw
- type L2OutputOracleCallerSession
- func (_L2OutputOracle *L2OutputOracleCallerSession) CHALLENGER() (common.Address, error)
- func (_L2OutputOracle *L2OutputOracleCallerSession) Challenger() (common.Address, error)
- func (_L2OutputOracle *L2OutputOracleCallerSession) ComputeL2Timestamp(_l2BlockNumber *big.Int) (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCallerSession) FINALIZATIONPERIODSECONDS() (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCallerSession) FinalizationPeriodSeconds() (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCallerSession) GetL2Output(_l2OutputIndex *big.Int) (TypesOutputProposal, error)
- func (_L2OutputOracle *L2OutputOracleCallerSession) GetL2OutputAfter(_l2BlockNumber *big.Int) (TypesOutputProposal, error)
- func (_L2OutputOracle *L2OutputOracleCallerSession) GetL2OutputIndexAfter(_l2BlockNumber *big.Int) (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCallerSession) L2BLOCKTIME() (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCallerSession) L2BlockTime() (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCallerSession) LatestBlockNumber() (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCallerSession) LatestOutputIndex() (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCallerSession) NextBlockNumber() (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCallerSession) NextOutputIndex() (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCallerSession) PROPOSER() (common.Address, error)
- func (_L2OutputOracle *L2OutputOracleCallerSession) Proposer() (common.Address, error)
- func (_L2OutputOracle *L2OutputOracleCallerSession) SUBMISSIONINTERVAL() (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCallerSession) StartingBlockNumber() (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCallerSession) StartingTimestamp() (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCallerSession) SubmissionInterval() (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleCallerSession) Version() (string, error)
- type L2OutputOracleFilterer
- func (_L2OutputOracle *L2OutputOracleFilterer) FilterInitialized(opts *bind.FilterOpts) (*L2OutputOracleInitializedIterator, error)
- func (_L2OutputOracle *L2OutputOracleFilterer) FilterOutputProposed(opts *bind.FilterOpts, outputRoot [][32]byte, l2OutputIndex []*big.Int, ...) (*L2OutputOracleOutputProposedIterator, error)
- func (_L2OutputOracle *L2OutputOracleFilterer) FilterOutputsDeleted(opts *bind.FilterOpts, prevNextOutputIndex []*big.Int, ...) (*L2OutputOracleOutputsDeletedIterator, error)
- func (_L2OutputOracle *L2OutputOracleFilterer) ParseInitialized(log types.Log) (*L2OutputOracleInitialized, error)
- func (_L2OutputOracle *L2OutputOracleFilterer) ParseOutputProposed(log types.Log) (*L2OutputOracleOutputProposed, error)
- func (_L2OutputOracle *L2OutputOracleFilterer) ParseOutputsDeleted(log types.Log) (*L2OutputOracleOutputsDeleted, error)
- func (_L2OutputOracle *L2OutputOracleFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *L2OutputOracleInitialized) (event.Subscription, error)
- func (_L2OutputOracle *L2OutputOracleFilterer) WatchOutputProposed(opts *bind.WatchOpts, sink chan<- *L2OutputOracleOutputProposed, ...) (event.Subscription, error)
- func (_L2OutputOracle *L2OutputOracleFilterer) WatchOutputsDeleted(opts *bind.WatchOpts, sink chan<- *L2OutputOracleOutputsDeleted, ...) (event.Subscription, error)
- type L2OutputOracleInitialized
- type L2OutputOracleInitializedIterator
- type L2OutputOracleOutputProposed
- type L2OutputOracleOutputProposedIterator
- type L2OutputOracleOutputsDeleted
- type L2OutputOracleOutputsDeletedIterator
- type L2OutputOracleRaw
- func (_L2OutputOracle *L2OutputOracleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_L2OutputOracle *L2OutputOracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_L2OutputOracle *L2OutputOracleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type L2OutputOracleSession
- func (_L2OutputOracle *L2OutputOracleSession) CHALLENGER() (common.Address, error)
- func (_L2OutputOracle *L2OutputOracleSession) Challenger() (common.Address, error)
- func (_L2OutputOracle *L2OutputOracleSession) ComputeL2Timestamp(_l2BlockNumber *big.Int) (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleSession) DeleteL2Outputs(_l2OutputIndex *big.Int) (*types.Transaction, error)
- func (_L2OutputOracle *L2OutputOracleSession) FINALIZATIONPERIODSECONDS() (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleSession) FinalizationPeriodSeconds() (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleSession) GetL2Output(_l2OutputIndex *big.Int) (TypesOutputProposal, error)
- func (_L2OutputOracle *L2OutputOracleSession) GetL2OutputAfter(_l2BlockNumber *big.Int) (TypesOutputProposal, error)
- func (_L2OutputOracle *L2OutputOracleSession) GetL2OutputIndexAfter(_l2BlockNumber *big.Int) (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleSession) Initialize(_startingBlockNumber *big.Int, _startingTimestamp *big.Int, ...) (*types.Transaction, error)
- func (_L2OutputOracle *L2OutputOracleSession) L2BLOCKTIME() (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleSession) L2BlockTime() (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleSession) LatestBlockNumber() (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleSession) LatestOutputIndex() (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleSession) NextBlockNumber() (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleSession) NextOutputIndex() (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleSession) PROPOSER() (common.Address, error)
- func (_L2OutputOracle *L2OutputOracleSession) ProposeL2Output(_outputRoot [32]byte, _l2BlockNumber *big.Int, _l1BlockHash [32]byte, ...) (*types.Transaction, error)
- func (_L2OutputOracle *L2OutputOracleSession) Proposer() (common.Address, error)
- func (_L2OutputOracle *L2OutputOracleSession) SUBMISSIONINTERVAL() (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleSession) StartingBlockNumber() (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleSession) StartingTimestamp() (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleSession) SubmissionInterval() (*big.Int, error)
- func (_L2OutputOracle *L2OutputOracleSession) Version() (string, error)
- type L2OutputOracleTransactor
- func (_L2OutputOracle *L2OutputOracleTransactor) DeleteL2Outputs(opts *bind.TransactOpts, _l2OutputIndex *big.Int) (*types.Transaction, error)
- func (_L2OutputOracle *L2OutputOracleTransactor) Initialize(opts *bind.TransactOpts, _startingBlockNumber *big.Int, ...) (*types.Transaction, error)
- func (_L2OutputOracle *L2OutputOracleTransactor) ProposeL2Output(opts *bind.TransactOpts, _outputRoot [32]byte, _l2BlockNumber *big.Int, ...) (*types.Transaction, error)
- type L2OutputOracleTransactorRaw
- type L2OutputOracleTransactorSession
- func (_L2OutputOracle *L2OutputOracleTransactorSession) DeleteL2Outputs(_l2OutputIndex *big.Int) (*types.Transaction, error)
- func (_L2OutputOracle *L2OutputOracleTransactorSession) Initialize(_startingBlockNumber *big.Int, _startingTimestamp *big.Int, ...) (*types.Transaction, error)
- func (_L2OutputOracle *L2OutputOracleTransactorSession) ProposeL2Output(_outputRoot [32]byte, _l2BlockNumber *big.Int, _l1BlockHash [32]byte, ...) (*types.Transaction, error)
- type TypesOutputProposal
Constants ¶
This section is empty.
Variables ¶
var L2OutputOracleABI = L2OutputOracleMetaData.ABI
L2OutputOracleABI is the input ABI used to generate the binding from. Deprecated: Use L2OutputOracleMetaData.ABI instead.
var L2OutputOracleMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_submissionInterval\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_l2BlockTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_finalizationPeriodSeconds\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"outputRoot\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"l2OutputIndex\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"l2BlockNumber\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"l1Timestamp\",\"type\":\"uint256\"}],\"name\":\"OutputProposed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"prevNextOutputIndex\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newNextOutputIndex\",\"type\":\"uint256\"}],\"name\":\"OutputsDeleted\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"CHALLENGER\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FINALIZATION_PERIOD_SECONDS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"L2_BLOCK_TIME\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PROPOSER\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SUBMISSION_INTERVAL\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"challenger\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_l2BlockNumber\",\"type\":\"uint256\"}],\"name\":\"computeL2Timestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_l2OutputIndex\",\"type\":\"uint256\"}],\"name\":\"deleteL2Outputs\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"finalizationPeriodSeconds\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_l2OutputIndex\",\"type\":\"uint256\"}],\"name\":\"getL2Output\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"outputRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint128\",\"name\":\"timestamp\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"l2BlockNumber\",\"type\":\"uint128\"}],\"internalType\":\"structTypes.OutputProposal\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_l2BlockNumber\",\"type\":\"uint256\"}],\"name\":\"getL2OutputAfter\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"outputRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint128\",\"name\":\"timestamp\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"l2BlockNumber\",\"type\":\"uint128\"}],\"internalType\":\"structTypes.OutputProposal\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_l2BlockNumber\",\"type\":\"uint256\"}],\"name\":\"getL2OutputIndexAfter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_startingBlockNumber\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_startingTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_proposer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_challenger\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"l2BlockTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestBlockNumber\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestOutputIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextBlockNumber\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextOutputIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_outputRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_l2BlockNumber\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_l1BlockHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_l1BlockNumber\",\"type\":\"uint256\"}],\"name\":\"proposeL2Output\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proposer\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"startingBlockNumber\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"startingTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"submissionInterval\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
L2OutputOracleMetaData contains all meta data concerning the L2OutputOracle contract.
Functions ¶
This section is empty.
Types ¶
type L2OutputOracle ¶
type L2OutputOracle struct { L2OutputOracleCaller // Read-only binding to the contract L2OutputOracleTransactor // Write-only binding to the contract L2OutputOracleFilterer // Log filterer for contract events }
L2OutputOracle is an auto generated Go binding around an Ethereum contract.
func NewL2OutputOracle ¶
func NewL2OutputOracle(address common.Address, backend bind.ContractBackend) (*L2OutputOracle, error)
NewL2OutputOracle creates a new instance of L2OutputOracle, bound to a specific deployed contract.
type L2OutputOracleCaller ¶
type L2OutputOracleCaller struct {
// contains filtered or unexported fields
}
L2OutputOracleCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewL2OutputOracleCaller ¶
func NewL2OutputOracleCaller(address common.Address, caller bind.ContractCaller) (*L2OutputOracleCaller, error)
NewL2OutputOracleCaller creates a new read-only instance of L2OutputOracle, bound to a specific deployed contract.
func (*L2OutputOracleCaller) CHALLENGER ¶
func (_L2OutputOracle *L2OutputOracleCaller) CHALLENGER(opts *bind.CallOpts) (common.Address, error)
CHALLENGER is a free data retrieval call binding the contract method 0x6b4d98dd.
Solidity: function CHALLENGER() view returns(address)
func (*L2OutputOracleCaller) Challenger ¶
func (_L2OutputOracle *L2OutputOracleCaller) Challenger(opts *bind.CallOpts) (common.Address, error)
Challenger is a free data retrieval call binding the contract method 0x534db0e2.
Solidity: function challenger() view returns(address)
func (*L2OutputOracleCaller) ComputeL2Timestamp ¶
func (_L2OutputOracle *L2OutputOracleCaller) ComputeL2Timestamp(opts *bind.CallOpts, _l2BlockNumber *big.Int) (*big.Int, error)
ComputeL2Timestamp is a free data retrieval call binding the contract method 0xd1de856c.
Solidity: function computeL2Timestamp(uint256 _l2BlockNumber) view returns(uint256)
func (*L2OutputOracleCaller) FINALIZATIONPERIODSECONDS ¶
func (_L2OutputOracle *L2OutputOracleCaller) FINALIZATIONPERIODSECONDS(opts *bind.CallOpts) (*big.Int, error)
FINALIZATIONPERIODSECONDS is a free data retrieval call binding the contract method 0xf4daa291.
Solidity: function FINALIZATION_PERIOD_SECONDS() view returns(uint256)
func (*L2OutputOracleCaller) FinalizationPeriodSeconds ¶
func (_L2OutputOracle *L2OutputOracleCaller) FinalizationPeriodSeconds(opts *bind.CallOpts) (*big.Int, error)
FinalizationPeriodSeconds is a free data retrieval call binding the contract method 0xce5db8d6.
Solidity: function finalizationPeriodSeconds() view returns(uint256)
func (*L2OutputOracleCaller) GetL2Output ¶
func (_L2OutputOracle *L2OutputOracleCaller) 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 (*L2OutputOracleCaller) GetL2OutputAfter ¶
func (_L2OutputOracle *L2OutputOracleCaller) 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 (*L2OutputOracleCaller) GetL2OutputIndexAfter ¶
func (_L2OutputOracle *L2OutputOracleCaller) 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 (*L2OutputOracleCaller) L2BLOCKTIME ¶
L2BLOCKTIME is a free data retrieval call binding the contract method 0x002134cc.
Solidity: function L2_BLOCK_TIME() view returns(uint256)
func (*L2OutputOracleCaller) L2BlockTime ¶
L2BlockTime is a free data retrieval call binding the contract method 0x93991af3.
Solidity: function l2BlockTime() view returns(uint256)
func (*L2OutputOracleCaller) LatestBlockNumber ¶
func (_L2OutputOracle *L2OutputOracleCaller) LatestBlockNumber(opts *bind.CallOpts) (*big.Int, error)
LatestBlockNumber is a free data retrieval call binding the contract method 0x4599c788.
Solidity: function latestBlockNumber() view returns(uint256)
func (*L2OutputOracleCaller) LatestOutputIndex ¶
func (_L2OutputOracle *L2OutputOracleCaller) LatestOutputIndex(opts *bind.CallOpts) (*big.Int, error)
LatestOutputIndex is a free data retrieval call binding the contract method 0x69f16eec.
Solidity: function latestOutputIndex() view returns(uint256)
func (*L2OutputOracleCaller) NextBlockNumber ¶
NextBlockNumber is a free data retrieval call binding the contract method 0xdcec3348.
Solidity: function nextBlockNumber() view returns(uint256)
func (*L2OutputOracleCaller) NextOutputIndex ¶
NextOutputIndex is a free data retrieval call binding the contract method 0x6abcf563.
Solidity: function nextOutputIndex() view returns(uint256)
func (*L2OutputOracleCaller) PROPOSER ¶
PROPOSER is a free data retrieval call binding the contract method 0xbffa7f0f.
Solidity: function PROPOSER() view returns(address)
func (*L2OutputOracleCaller) Proposer ¶
Proposer is a free data retrieval call binding the contract method 0xa8e4fb90.
Solidity: function proposer() view returns(address)
func (*L2OutputOracleCaller) SUBMISSIONINTERVAL ¶
func (_L2OutputOracle *L2OutputOracleCaller) SUBMISSIONINTERVAL(opts *bind.CallOpts) (*big.Int, error)
SUBMISSIONINTERVAL is a free data retrieval call binding the contract method 0x529933df.
Solidity: function SUBMISSION_INTERVAL() view returns(uint256)
func (*L2OutputOracleCaller) StartingBlockNumber ¶
func (_L2OutputOracle *L2OutputOracleCaller) StartingBlockNumber(opts *bind.CallOpts) (*big.Int, error)
StartingBlockNumber is a free data retrieval call binding the contract method 0x70872aa5.
Solidity: function startingBlockNumber() view returns(uint256)
func (*L2OutputOracleCaller) StartingTimestamp ¶
func (_L2OutputOracle *L2OutputOracleCaller) StartingTimestamp(opts *bind.CallOpts) (*big.Int, error)
StartingTimestamp is a free data retrieval call binding the contract method 0x88786272.
Solidity: function startingTimestamp() view returns(uint256)
func (*L2OutputOracleCaller) SubmissionInterval ¶
func (_L2OutputOracle *L2OutputOracleCaller) SubmissionInterval(opts *bind.CallOpts) (*big.Int, error)
SubmissionInterval is a free data retrieval call binding the contract method 0xe1a41bcf.
Solidity: function submissionInterval() view returns(uint256)
type L2OutputOracleCallerRaw ¶
type L2OutputOracleCallerRaw struct {
Contract *L2OutputOracleCaller // Generic read-only contract binding to access the raw methods on
}
L2OutputOracleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*L2OutputOracleCallerRaw) Call ¶
func (_L2OutputOracle *L2OutputOracleCallerRaw) 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 L2OutputOracleCallerSession ¶
type L2OutputOracleCallerSession struct { Contract *L2OutputOracleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
L2OutputOracleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*L2OutputOracleCallerSession) CHALLENGER ¶
func (_L2OutputOracle *L2OutputOracleCallerSession) CHALLENGER() (common.Address, error)
CHALLENGER is a free data retrieval call binding the contract method 0x6b4d98dd.
Solidity: function CHALLENGER() view returns(address)
func (*L2OutputOracleCallerSession) Challenger ¶
func (_L2OutputOracle *L2OutputOracleCallerSession) Challenger() (common.Address, error)
Challenger is a free data retrieval call binding the contract method 0x534db0e2.
Solidity: function challenger() view returns(address)
func (*L2OutputOracleCallerSession) ComputeL2Timestamp ¶
func (_L2OutputOracle *L2OutputOracleCallerSession) ComputeL2Timestamp(_l2BlockNumber *big.Int) (*big.Int, error)
ComputeL2Timestamp is a free data retrieval call binding the contract method 0xd1de856c.
Solidity: function computeL2Timestamp(uint256 _l2BlockNumber) view returns(uint256)
func (*L2OutputOracleCallerSession) FINALIZATIONPERIODSECONDS ¶
func (_L2OutputOracle *L2OutputOracleCallerSession) FINALIZATIONPERIODSECONDS() (*big.Int, error)
FINALIZATIONPERIODSECONDS is a free data retrieval call binding the contract method 0xf4daa291.
Solidity: function FINALIZATION_PERIOD_SECONDS() view returns(uint256)
func (*L2OutputOracleCallerSession) FinalizationPeriodSeconds ¶
func (_L2OutputOracle *L2OutputOracleCallerSession) FinalizationPeriodSeconds() (*big.Int, error)
FinalizationPeriodSeconds is a free data retrieval call binding the contract method 0xce5db8d6.
Solidity: function finalizationPeriodSeconds() view returns(uint256)
func (*L2OutputOracleCallerSession) GetL2Output ¶
func (_L2OutputOracle *L2OutputOracleCallerSession) 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 (*L2OutputOracleCallerSession) GetL2OutputAfter ¶
func (_L2OutputOracle *L2OutputOracleCallerSession) 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 (*L2OutputOracleCallerSession) GetL2OutputIndexAfter ¶
func (_L2OutputOracle *L2OutputOracleCallerSession) 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 (*L2OutputOracleCallerSession) L2BLOCKTIME ¶
func (_L2OutputOracle *L2OutputOracleCallerSession) L2BLOCKTIME() (*big.Int, error)
L2BLOCKTIME is a free data retrieval call binding the contract method 0x002134cc.
Solidity: function L2_BLOCK_TIME() view returns(uint256)
func (*L2OutputOracleCallerSession) L2BlockTime ¶
func (_L2OutputOracle *L2OutputOracleCallerSession) L2BlockTime() (*big.Int, error)
L2BlockTime is a free data retrieval call binding the contract method 0x93991af3.
Solidity: function l2BlockTime() view returns(uint256)
func (*L2OutputOracleCallerSession) LatestBlockNumber ¶
func (_L2OutputOracle *L2OutputOracleCallerSession) LatestBlockNumber() (*big.Int, error)
LatestBlockNumber is a free data retrieval call binding the contract method 0x4599c788.
Solidity: function latestBlockNumber() view returns(uint256)
func (*L2OutputOracleCallerSession) LatestOutputIndex ¶
func (_L2OutputOracle *L2OutputOracleCallerSession) LatestOutputIndex() (*big.Int, error)
LatestOutputIndex is a free data retrieval call binding the contract method 0x69f16eec.
Solidity: function latestOutputIndex() view returns(uint256)
func (*L2OutputOracleCallerSession) NextBlockNumber ¶
func (_L2OutputOracle *L2OutputOracleCallerSession) NextBlockNumber() (*big.Int, error)
NextBlockNumber is a free data retrieval call binding the contract method 0xdcec3348.
Solidity: function nextBlockNumber() view returns(uint256)
func (*L2OutputOracleCallerSession) NextOutputIndex ¶
func (_L2OutputOracle *L2OutputOracleCallerSession) NextOutputIndex() (*big.Int, error)
NextOutputIndex is a free data retrieval call binding the contract method 0x6abcf563.
Solidity: function nextOutputIndex() view returns(uint256)
func (*L2OutputOracleCallerSession) PROPOSER ¶
func (_L2OutputOracle *L2OutputOracleCallerSession) PROPOSER() (common.Address, error)
PROPOSER is a free data retrieval call binding the contract method 0xbffa7f0f.
Solidity: function PROPOSER() view returns(address)
func (*L2OutputOracleCallerSession) Proposer ¶
func (_L2OutputOracle *L2OutputOracleCallerSession) Proposer() (common.Address, error)
Proposer is a free data retrieval call binding the contract method 0xa8e4fb90.
Solidity: function proposer() view returns(address)
func (*L2OutputOracleCallerSession) SUBMISSIONINTERVAL ¶
func (_L2OutputOracle *L2OutputOracleCallerSession) SUBMISSIONINTERVAL() (*big.Int, error)
SUBMISSIONINTERVAL is a free data retrieval call binding the contract method 0x529933df.
Solidity: function SUBMISSION_INTERVAL() view returns(uint256)
func (*L2OutputOracleCallerSession) StartingBlockNumber ¶
func (_L2OutputOracle *L2OutputOracleCallerSession) StartingBlockNumber() (*big.Int, error)
StartingBlockNumber is a free data retrieval call binding the contract method 0x70872aa5.
Solidity: function startingBlockNumber() view returns(uint256)
func (*L2OutputOracleCallerSession) StartingTimestamp ¶
func (_L2OutputOracle *L2OutputOracleCallerSession) StartingTimestamp() (*big.Int, error)
StartingTimestamp is a free data retrieval call binding the contract method 0x88786272.
Solidity: function startingTimestamp() view returns(uint256)
func (*L2OutputOracleCallerSession) SubmissionInterval ¶
func (_L2OutputOracle *L2OutputOracleCallerSession) SubmissionInterval() (*big.Int, error)
SubmissionInterval is a free data retrieval call binding the contract method 0xe1a41bcf.
Solidity: function submissionInterval() view returns(uint256)
func (*L2OutputOracleCallerSession) Version ¶
func (_L2OutputOracle *L2OutputOracleCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type L2OutputOracleFilterer ¶
type L2OutputOracleFilterer struct {
// contains filtered or unexported fields
}
L2OutputOracleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewL2OutputOracleFilterer ¶
func NewL2OutputOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*L2OutputOracleFilterer, error)
NewL2OutputOracleFilterer creates a new log filterer instance of L2OutputOracle, bound to a specific deployed contract.
func (*L2OutputOracleFilterer) FilterInitialized ¶
func (_L2OutputOracle *L2OutputOracleFilterer) FilterInitialized(opts *bind.FilterOpts) (*L2OutputOracleInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*L2OutputOracleFilterer) FilterOutputProposed ¶
func (_L2OutputOracle *L2OutputOracleFilterer) FilterOutputProposed(opts *bind.FilterOpts, outputRoot [][32]byte, l2OutputIndex []*big.Int, l2BlockNumber []*big.Int) (*L2OutputOracleOutputProposedIterator, 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 (*L2OutputOracleFilterer) FilterOutputsDeleted ¶
func (_L2OutputOracle *L2OutputOracleFilterer) FilterOutputsDeleted(opts *bind.FilterOpts, prevNextOutputIndex []*big.Int, newNextOutputIndex []*big.Int) (*L2OutputOracleOutputsDeletedIterator, error)
FilterOutputsDeleted is a free log retrieval operation binding the contract event 0x4ee37ac2c786ec85e87592d3c5c8a1dd66f8496dda3f125d9ea8ca5f657629b6.
Solidity: event OutputsDeleted(uint256 indexed prevNextOutputIndex, uint256 indexed newNextOutputIndex)
func (*L2OutputOracleFilterer) ParseInitialized ¶
func (_L2OutputOracle *L2OutputOracleFilterer) ParseInitialized(log types.Log) (*L2OutputOracleInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*L2OutputOracleFilterer) ParseOutputProposed ¶
func (_L2OutputOracle *L2OutputOracleFilterer) ParseOutputProposed(log types.Log) (*L2OutputOracleOutputProposed, 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 (*L2OutputOracleFilterer) ParseOutputsDeleted ¶
func (_L2OutputOracle *L2OutputOracleFilterer) ParseOutputsDeleted(log types.Log) (*L2OutputOracleOutputsDeleted, error)
ParseOutputsDeleted is a log parse operation binding the contract event 0x4ee37ac2c786ec85e87592d3c5c8a1dd66f8496dda3f125d9ea8ca5f657629b6.
Solidity: event OutputsDeleted(uint256 indexed prevNextOutputIndex, uint256 indexed newNextOutputIndex)
func (*L2OutputOracleFilterer) WatchInitialized ¶
func (_L2OutputOracle *L2OutputOracleFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *L2OutputOracleInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*L2OutputOracleFilterer) WatchOutputProposed ¶
func (_L2OutputOracle *L2OutputOracleFilterer) WatchOutputProposed(opts *bind.WatchOpts, sink chan<- *L2OutputOracleOutputProposed, 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)
func (*L2OutputOracleFilterer) WatchOutputsDeleted ¶
func (_L2OutputOracle *L2OutputOracleFilterer) WatchOutputsDeleted(opts *bind.WatchOpts, sink chan<- *L2OutputOracleOutputsDeleted, prevNextOutputIndex []*big.Int, newNextOutputIndex []*big.Int) (event.Subscription, error)
WatchOutputsDeleted is a free log subscription operation binding the contract event 0x4ee37ac2c786ec85e87592d3c5c8a1dd66f8496dda3f125d9ea8ca5f657629b6.
Solidity: event OutputsDeleted(uint256 indexed prevNextOutputIndex, uint256 indexed newNextOutputIndex)
type L2OutputOracleInitialized ¶
type L2OutputOracleInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
L2OutputOracleInitialized represents a Initialized event raised by the L2OutputOracle contract.
type L2OutputOracleInitializedIterator ¶
type L2OutputOracleInitializedIterator struct { Event *L2OutputOracleInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
L2OutputOracleInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the L2OutputOracle contract.
func (*L2OutputOracleInitializedIterator) Close ¶
func (it *L2OutputOracleInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L2OutputOracleInitializedIterator) Error ¶
func (it *L2OutputOracleInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L2OutputOracleInitializedIterator) Next ¶
func (it *L2OutputOracleInitializedIterator) 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 L2OutputOracleOutputProposed ¶
type L2OutputOracleOutputProposed struct { OutputRoot [32]byte L2OutputIndex *big.Int L2BlockNumber *big.Int L1Timestamp *big.Int Raw types.Log // Blockchain specific contextual infos }
L2OutputOracleOutputProposed represents a OutputProposed event raised by the L2OutputOracle contract.
type L2OutputOracleOutputProposedIterator ¶
type L2OutputOracleOutputProposedIterator struct { Event *L2OutputOracleOutputProposed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
L2OutputOracleOutputProposedIterator is returned from FilterOutputProposed and is used to iterate over the raw logs and unpacked data for OutputProposed events raised by the L2OutputOracle contract.
func (*L2OutputOracleOutputProposedIterator) Close ¶
func (it *L2OutputOracleOutputProposedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L2OutputOracleOutputProposedIterator) Error ¶
func (it *L2OutputOracleOutputProposedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L2OutputOracleOutputProposedIterator) Next ¶
func (it *L2OutputOracleOutputProposedIterator) 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 L2OutputOracleOutputsDeleted ¶
type L2OutputOracleOutputsDeleted struct { PrevNextOutputIndex *big.Int NewNextOutputIndex *big.Int Raw types.Log // Blockchain specific contextual infos }
L2OutputOracleOutputsDeleted represents a OutputsDeleted event raised by the L2OutputOracle contract.
type L2OutputOracleOutputsDeletedIterator ¶
type L2OutputOracleOutputsDeletedIterator struct { Event *L2OutputOracleOutputsDeleted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
L2OutputOracleOutputsDeletedIterator is returned from FilterOutputsDeleted and is used to iterate over the raw logs and unpacked data for OutputsDeleted events raised by the L2OutputOracle contract.
func (*L2OutputOracleOutputsDeletedIterator) Close ¶
func (it *L2OutputOracleOutputsDeletedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L2OutputOracleOutputsDeletedIterator) Error ¶
func (it *L2OutputOracleOutputsDeletedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L2OutputOracleOutputsDeletedIterator) Next ¶
func (it *L2OutputOracleOutputsDeletedIterator) 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 L2OutputOracleRaw ¶
type L2OutputOracleRaw struct {
Contract *L2OutputOracle // Generic contract binding to access the raw methods on
}
L2OutputOracleRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*L2OutputOracleRaw) Call ¶
func (_L2OutputOracle *L2OutputOracleRaw) 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 (*L2OutputOracleRaw) Transact ¶
func (_L2OutputOracle *L2OutputOracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*L2OutputOracleRaw) Transfer ¶
func (_L2OutputOracle *L2OutputOracleRaw) 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 L2OutputOracleSession ¶
type L2OutputOracleSession struct { Contract *L2OutputOracle // 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 }
L2OutputOracleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*L2OutputOracleSession) CHALLENGER ¶
func (_L2OutputOracle *L2OutputOracleSession) CHALLENGER() (common.Address, error)
CHALLENGER is a free data retrieval call binding the contract method 0x6b4d98dd.
Solidity: function CHALLENGER() view returns(address)
func (*L2OutputOracleSession) Challenger ¶
func (_L2OutputOracle *L2OutputOracleSession) Challenger() (common.Address, error)
Challenger is a free data retrieval call binding the contract method 0x534db0e2.
Solidity: function challenger() view returns(address)
func (*L2OutputOracleSession) ComputeL2Timestamp ¶
func (_L2OutputOracle *L2OutputOracleSession) ComputeL2Timestamp(_l2BlockNumber *big.Int) (*big.Int, error)
ComputeL2Timestamp is a free data retrieval call binding the contract method 0xd1de856c.
Solidity: function computeL2Timestamp(uint256 _l2BlockNumber) view returns(uint256)
func (*L2OutputOracleSession) DeleteL2Outputs ¶
func (_L2OutputOracle *L2OutputOracleSession) DeleteL2Outputs(_l2OutputIndex *big.Int) (*types.Transaction, error)
DeleteL2Outputs is a paid mutator transaction binding the contract method 0x89c44cbb.
Solidity: function deleteL2Outputs(uint256 _l2OutputIndex) returns()
func (*L2OutputOracleSession) FINALIZATIONPERIODSECONDS ¶
func (_L2OutputOracle *L2OutputOracleSession) FINALIZATIONPERIODSECONDS() (*big.Int, error)
FINALIZATIONPERIODSECONDS is a free data retrieval call binding the contract method 0xf4daa291.
Solidity: function FINALIZATION_PERIOD_SECONDS() view returns(uint256)
func (*L2OutputOracleSession) FinalizationPeriodSeconds ¶
func (_L2OutputOracle *L2OutputOracleSession) FinalizationPeriodSeconds() (*big.Int, error)
FinalizationPeriodSeconds is a free data retrieval call binding the contract method 0xce5db8d6.
Solidity: function finalizationPeriodSeconds() view returns(uint256)
func (*L2OutputOracleSession) GetL2Output ¶
func (_L2OutputOracle *L2OutputOracleSession) 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 (*L2OutputOracleSession) GetL2OutputAfter ¶
func (_L2OutputOracle *L2OutputOracleSession) 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 (*L2OutputOracleSession) GetL2OutputIndexAfter ¶
func (_L2OutputOracle *L2OutputOracleSession) 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 (*L2OutputOracleSession) Initialize ¶
func (_L2OutputOracle *L2OutputOracleSession) Initialize(_startingBlockNumber *big.Int, _startingTimestamp *big.Int, _proposer common.Address, _challenger common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x019e2729.
Solidity: function initialize(uint256 _startingBlockNumber, uint256 _startingTimestamp, address _proposer, address _challenger) returns()
func (*L2OutputOracleSession) L2BLOCKTIME ¶
func (_L2OutputOracle *L2OutputOracleSession) L2BLOCKTIME() (*big.Int, error)
L2BLOCKTIME is a free data retrieval call binding the contract method 0x002134cc.
Solidity: function L2_BLOCK_TIME() view returns(uint256)
func (*L2OutputOracleSession) L2BlockTime ¶
func (_L2OutputOracle *L2OutputOracleSession) L2BlockTime() (*big.Int, error)
L2BlockTime is a free data retrieval call binding the contract method 0x93991af3.
Solidity: function l2BlockTime() view returns(uint256)
func (*L2OutputOracleSession) LatestBlockNumber ¶
func (_L2OutputOracle *L2OutputOracleSession) LatestBlockNumber() (*big.Int, error)
LatestBlockNumber is a free data retrieval call binding the contract method 0x4599c788.
Solidity: function latestBlockNumber() view returns(uint256)
func (*L2OutputOracleSession) LatestOutputIndex ¶
func (_L2OutputOracle *L2OutputOracleSession) LatestOutputIndex() (*big.Int, error)
LatestOutputIndex is a free data retrieval call binding the contract method 0x69f16eec.
Solidity: function latestOutputIndex() view returns(uint256)
func (*L2OutputOracleSession) NextBlockNumber ¶
func (_L2OutputOracle *L2OutputOracleSession) NextBlockNumber() (*big.Int, error)
NextBlockNumber is a free data retrieval call binding the contract method 0xdcec3348.
Solidity: function nextBlockNumber() view returns(uint256)
func (*L2OutputOracleSession) NextOutputIndex ¶
func (_L2OutputOracle *L2OutputOracleSession) NextOutputIndex() (*big.Int, error)
NextOutputIndex is a free data retrieval call binding the contract method 0x6abcf563.
Solidity: function nextOutputIndex() view returns(uint256)
func (*L2OutputOracleSession) PROPOSER ¶
func (_L2OutputOracle *L2OutputOracleSession) PROPOSER() (common.Address, error)
PROPOSER is a free data retrieval call binding the contract method 0xbffa7f0f.
Solidity: function PROPOSER() view returns(address)
func (*L2OutputOracleSession) ProposeL2Output ¶
func (_L2OutputOracle *L2OutputOracleSession) ProposeL2Output(_outputRoot [32]byte, _l2BlockNumber *big.Int, _l1BlockHash [32]byte, _l1BlockNumber *big.Int) (*types.Transaction, error)
ProposeL2Output is a paid mutator transaction binding the contract method 0x9aaab648.
Solidity: function proposeL2Output(bytes32 _outputRoot, uint256 _l2BlockNumber, bytes32 _l1BlockHash, uint256 _l1BlockNumber) payable returns()
func (*L2OutputOracleSession) Proposer ¶
func (_L2OutputOracle *L2OutputOracleSession) Proposer() (common.Address, error)
Proposer is a free data retrieval call binding the contract method 0xa8e4fb90.
Solidity: function proposer() view returns(address)
func (*L2OutputOracleSession) SUBMISSIONINTERVAL ¶
func (_L2OutputOracle *L2OutputOracleSession) SUBMISSIONINTERVAL() (*big.Int, error)
SUBMISSIONINTERVAL is a free data retrieval call binding the contract method 0x529933df.
Solidity: function SUBMISSION_INTERVAL() view returns(uint256)
func (*L2OutputOracleSession) StartingBlockNumber ¶
func (_L2OutputOracle *L2OutputOracleSession) StartingBlockNumber() (*big.Int, error)
StartingBlockNumber is a free data retrieval call binding the contract method 0x70872aa5.
Solidity: function startingBlockNumber() view returns(uint256)
func (*L2OutputOracleSession) StartingTimestamp ¶
func (_L2OutputOracle *L2OutputOracleSession) StartingTimestamp() (*big.Int, error)
StartingTimestamp is a free data retrieval call binding the contract method 0x88786272.
Solidity: function startingTimestamp() view returns(uint256)
func (*L2OutputOracleSession) SubmissionInterval ¶
func (_L2OutputOracle *L2OutputOracleSession) SubmissionInterval() (*big.Int, error)
SubmissionInterval is a free data retrieval call binding the contract method 0xe1a41bcf.
Solidity: function submissionInterval() view returns(uint256)
func (*L2OutputOracleSession) Version ¶
func (_L2OutputOracle *L2OutputOracleSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type L2OutputOracleTransactor ¶
type L2OutputOracleTransactor struct {
// contains filtered or unexported fields
}
L2OutputOracleTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewL2OutputOracleTransactor ¶
func NewL2OutputOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*L2OutputOracleTransactor, error)
NewL2OutputOracleTransactor creates a new write-only instance of L2OutputOracle, bound to a specific deployed contract.
func (*L2OutputOracleTransactor) DeleteL2Outputs ¶
func (_L2OutputOracle *L2OutputOracleTransactor) DeleteL2Outputs(opts *bind.TransactOpts, _l2OutputIndex *big.Int) (*types.Transaction, error)
DeleteL2Outputs is a paid mutator transaction binding the contract method 0x89c44cbb.
Solidity: function deleteL2Outputs(uint256 _l2OutputIndex) returns()
func (*L2OutputOracleTransactor) Initialize ¶
func (_L2OutputOracle *L2OutputOracleTransactor) Initialize(opts *bind.TransactOpts, _startingBlockNumber *big.Int, _startingTimestamp *big.Int, _proposer common.Address, _challenger common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x019e2729.
Solidity: function initialize(uint256 _startingBlockNumber, uint256 _startingTimestamp, address _proposer, address _challenger) returns()
func (*L2OutputOracleTransactor) ProposeL2Output ¶
func (_L2OutputOracle *L2OutputOracleTransactor) ProposeL2Output(opts *bind.TransactOpts, _outputRoot [32]byte, _l2BlockNumber *big.Int, _l1BlockHash [32]byte, _l1BlockNumber *big.Int) (*types.Transaction, error)
ProposeL2Output is a paid mutator transaction binding the contract method 0x9aaab648.
Solidity: function proposeL2Output(bytes32 _outputRoot, uint256 _l2BlockNumber, bytes32 _l1BlockHash, uint256 _l1BlockNumber) payable returns()
type L2OutputOracleTransactorRaw ¶
type L2OutputOracleTransactorRaw struct {
Contract *L2OutputOracleTransactor // Generic write-only contract binding to access the raw methods on
}
L2OutputOracleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*L2OutputOracleTransactorRaw) Transact ¶
func (_L2OutputOracle *L2OutputOracleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*L2OutputOracleTransactorRaw) Transfer ¶
func (_L2OutputOracle *L2OutputOracleTransactorRaw) 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 L2OutputOracleTransactorSession ¶
type L2OutputOracleTransactorSession struct { Contract *L2OutputOracleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
L2OutputOracleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*L2OutputOracleTransactorSession) DeleteL2Outputs ¶
func (_L2OutputOracle *L2OutputOracleTransactorSession) DeleteL2Outputs(_l2OutputIndex *big.Int) (*types.Transaction, error)
DeleteL2Outputs is a paid mutator transaction binding the contract method 0x89c44cbb.
Solidity: function deleteL2Outputs(uint256 _l2OutputIndex) returns()
func (*L2OutputOracleTransactorSession) Initialize ¶
func (_L2OutputOracle *L2OutputOracleTransactorSession) Initialize(_startingBlockNumber *big.Int, _startingTimestamp *big.Int, _proposer common.Address, _challenger common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x019e2729.
Solidity: function initialize(uint256 _startingBlockNumber, uint256 _startingTimestamp, address _proposer, address _challenger) returns()
func (*L2OutputOracleTransactorSession) ProposeL2Output ¶
func (_L2OutputOracle *L2OutputOracleTransactorSession) ProposeL2Output(_outputRoot [32]byte, _l2BlockNumber *big.Int, _l1BlockHash [32]byte, _l1BlockNumber *big.Int) (*types.Transaction, error)
ProposeL2Output is a paid mutator transaction binding the contract method 0x9aaab648.
Solidity: function proposeL2Output(bytes32 _outputRoot, uint256 _l2BlockNumber, bytes32 _l1BlockHash, uint256 _l1BlockNumber) payable returns()