Versions in this module Expand all Collapse all v0 v0.7.0 Jun 7, 2023 v0.6.0 Jun 6, 2023 Changes in this version + var StateCommitmentChainABI = StateCommitmentChainMetaData.ABI + var StateCommitmentChainBin = StateCommitmentChainMetaData.Bin + var StateCommitmentChainMetaData = &bind.MetaData + type Lib_OVMCodecChainBatchHeader struct + BatchIndex *big.Int + BatchRoot [32]byte + BatchSize *big.Int + ExtraData []byte + PrevTotalElements *big.Int + type Lib_OVMCodecChainInclusionProof struct + Index *big.Int + Siblings [][32]byte + type StateCommitmentChain struct + func DeployStateCommitmentChain(auth *bind.TransactOpts, backend bind.ContractBackend, ...) (common.Address, *types.Transaction, *StateCommitmentChain, error) + func NewStateCommitmentChain(address common.Address, backend bind.ContractBackend) (*StateCommitmentChain, error) + type StateCommitmentChainCaller struct + func NewStateCommitmentChainCaller(address common.Address, caller bind.ContractCaller) (*StateCommitmentChainCaller, error) + func (_StateCommitmentChain *StateCommitmentChainCaller) Batches(opts *bind.CallOpts) (common.Address, error) + func (_StateCommitmentChain *StateCommitmentChainCaller) FRAUDPROOFWINDOW(opts *bind.CallOpts) (*big.Int, error) + func (_StateCommitmentChain *StateCommitmentChainCaller) GetLastSequencerTimestamp(opts *bind.CallOpts) (*big.Int, error) + func (_StateCommitmentChain *StateCommitmentChainCaller) GetTotalBatches(opts *bind.CallOpts) (*big.Int, error) + func (_StateCommitmentChain *StateCommitmentChainCaller) GetTotalElements(opts *bind.CallOpts) (*big.Int, error) + func (_StateCommitmentChain *StateCommitmentChainCaller) InsideFraudProofWindow(opts *bind.CallOpts, _batchHeader Lib_OVMCodecChainBatchHeader) (bool, error) + func (_StateCommitmentChain *StateCommitmentChainCaller) LibAddressManager(opts *bind.CallOpts) (common.Address, error) + func (_StateCommitmentChain *StateCommitmentChainCaller) Resolve(opts *bind.CallOpts, _name string) (common.Address, error) + func (_StateCommitmentChain *StateCommitmentChainCaller) SEQUENCERPUBLISHWINDOW(opts *bind.CallOpts) (*big.Int, error) + func (_StateCommitmentChain *StateCommitmentChainCaller) VerifyStateCommitment(opts *bind.CallOpts, _element [32]byte, ...) (bool, error) + type StateCommitmentChainCallerRaw struct + Contract *StateCommitmentChainCaller + func (_StateCommitmentChain *StateCommitmentChainCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type StateCommitmentChainCallerSession struct + CallOpts bind.CallOpts + Contract *StateCommitmentChainCaller + func (_StateCommitmentChain *StateCommitmentChainCallerSession) Batches() (common.Address, error) + func (_StateCommitmentChain *StateCommitmentChainCallerSession) FRAUDPROOFWINDOW() (*big.Int, error) + func (_StateCommitmentChain *StateCommitmentChainCallerSession) GetLastSequencerTimestamp() (*big.Int, error) + func (_StateCommitmentChain *StateCommitmentChainCallerSession) GetTotalBatches() (*big.Int, error) + func (_StateCommitmentChain *StateCommitmentChainCallerSession) GetTotalElements() (*big.Int, error) + func (_StateCommitmentChain *StateCommitmentChainCallerSession) InsideFraudProofWindow(_batchHeader Lib_OVMCodecChainBatchHeader) (bool, error) + func (_StateCommitmentChain *StateCommitmentChainCallerSession) LibAddressManager() (common.Address, error) + func (_StateCommitmentChain *StateCommitmentChainCallerSession) Resolve(_name string) (common.Address, error) + func (_StateCommitmentChain *StateCommitmentChainCallerSession) SEQUENCERPUBLISHWINDOW() (*big.Int, error) + func (_StateCommitmentChain *StateCommitmentChainCallerSession) VerifyStateCommitment(_element [32]byte, _batchHeader Lib_OVMCodecChainBatchHeader, ...) (bool, error) + type StateCommitmentChainFilterer struct + func NewStateCommitmentChainFilterer(address common.Address, filterer bind.ContractFilterer) (*StateCommitmentChainFilterer, error) + func (_StateCommitmentChain *StateCommitmentChainFilterer) FilterStateBatchAppended(opts *bind.FilterOpts, _batchIndex []*big.Int) (*StateCommitmentChainStateBatchAppendedIterator, error) + func (_StateCommitmentChain *StateCommitmentChainFilterer) FilterStateBatchDeleted(opts *bind.FilterOpts, _batchIndex []*big.Int) (*StateCommitmentChainStateBatchDeletedIterator, error) + func (_StateCommitmentChain *StateCommitmentChainFilterer) ParseStateBatchAppended(log types.Log) (*StateCommitmentChainStateBatchAppended, error) + func (_StateCommitmentChain *StateCommitmentChainFilterer) ParseStateBatchDeleted(log types.Log) (*StateCommitmentChainStateBatchDeleted, error) + func (_StateCommitmentChain *StateCommitmentChainFilterer) WatchStateBatchAppended(opts *bind.WatchOpts, sink chan<- *StateCommitmentChainStateBatchAppended, ...) (event.Subscription, error) + func (_StateCommitmentChain *StateCommitmentChainFilterer) WatchStateBatchDeleted(opts *bind.WatchOpts, sink chan<- *StateCommitmentChainStateBatchDeleted, ...) (event.Subscription, error) + type StateCommitmentChainRaw struct + Contract *StateCommitmentChain + func (_StateCommitmentChain *StateCommitmentChainRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + func (_StateCommitmentChain *StateCommitmentChainRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_StateCommitmentChain *StateCommitmentChainRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type StateCommitmentChainSession struct + CallOpts bind.CallOpts + Contract *StateCommitmentChain + TransactOpts bind.TransactOpts + func (_StateCommitmentChain *StateCommitmentChainSession) AppendStateBatch(_batch [][32]byte, _shouldStartAtElement *big.Int) (*types.Transaction, error) + func (_StateCommitmentChain *StateCommitmentChainSession) Batches() (common.Address, error) + func (_StateCommitmentChain *StateCommitmentChainSession) DeleteStateBatch(_batchHeader Lib_OVMCodecChainBatchHeader) (*types.Transaction, error) + func (_StateCommitmentChain *StateCommitmentChainSession) FRAUDPROOFWINDOW() (*big.Int, error) + func (_StateCommitmentChain *StateCommitmentChainSession) GetLastSequencerTimestamp() (*big.Int, error) + func (_StateCommitmentChain *StateCommitmentChainSession) GetTotalBatches() (*big.Int, error) + func (_StateCommitmentChain *StateCommitmentChainSession) GetTotalElements() (*big.Int, error) + func (_StateCommitmentChain *StateCommitmentChainSession) InsideFraudProofWindow(_batchHeader Lib_OVMCodecChainBatchHeader) (bool, error) + func (_StateCommitmentChain *StateCommitmentChainSession) LibAddressManager() (common.Address, error) + func (_StateCommitmentChain *StateCommitmentChainSession) Resolve(_name string) (common.Address, error) + func (_StateCommitmentChain *StateCommitmentChainSession) SEQUENCERPUBLISHWINDOW() (*big.Int, error) + func (_StateCommitmentChain *StateCommitmentChainSession) VerifyStateCommitment(_element [32]byte, _batchHeader Lib_OVMCodecChainBatchHeader, ...) (bool, error) + type StateCommitmentChainStateBatchAppended struct + BatchIndex *big.Int + BatchRoot [32]byte + BatchSize *big.Int + ExtraData []byte + PrevTotalElements *big.Int + Raw types.Log + type StateCommitmentChainStateBatchAppendedIterator struct + Event *StateCommitmentChainStateBatchAppended + func (it *StateCommitmentChainStateBatchAppendedIterator) Close() error + func (it *StateCommitmentChainStateBatchAppendedIterator) Error() error + func (it *StateCommitmentChainStateBatchAppendedIterator) Next() bool + type StateCommitmentChainStateBatchDeleted struct + BatchIndex *big.Int + BatchRoot [32]byte + Raw types.Log + type StateCommitmentChainStateBatchDeletedIterator struct + Event *StateCommitmentChainStateBatchDeleted + func (it *StateCommitmentChainStateBatchDeletedIterator) Close() error + func (it *StateCommitmentChainStateBatchDeletedIterator) Error() error + func (it *StateCommitmentChainStateBatchDeletedIterator) Next() bool + type StateCommitmentChainTransactor struct + func NewStateCommitmentChainTransactor(address common.Address, transactor bind.ContractTransactor) (*StateCommitmentChainTransactor, error) + func (_StateCommitmentChain *StateCommitmentChainTransactor) AppendStateBatch(opts *bind.TransactOpts, _batch [][32]byte, _shouldStartAtElement *big.Int) (*types.Transaction, error) + func (_StateCommitmentChain *StateCommitmentChainTransactor) DeleteStateBatch(opts *bind.TransactOpts, _batchHeader Lib_OVMCodecChainBatchHeader) (*types.Transaction, error) + type StateCommitmentChainTransactorRaw struct + Contract *StateCommitmentChainTransactor + func (_StateCommitmentChain *StateCommitmentChainTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_StateCommitmentChain *StateCommitmentChainTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type StateCommitmentChainTransactorSession struct + Contract *StateCommitmentChainTransactor + TransactOpts bind.TransactOpts + func (_StateCommitmentChain *StateCommitmentChainTransactorSession) AppendStateBatch(_batch [][32]byte, _shouldStartAtElement *big.Int) (*types.Transaction, error) + func (_StateCommitmentChain *StateCommitmentChainTransactorSession) DeleteStateBatch(_batchHeader Lib_OVMCodecChainBatchHeader) (*types.Transaction, error)