Documentation ¶
Index ¶
- type TaikoBlockMetaData
- type TaikoDataBlockMetadataLegacy
- func (m *TaikoDataBlockMetadataLegacy) GetAnchorBlockHash() common.Hash
- func (m *TaikoDataBlockMetadataLegacy) GetAnchorBlockID() uint64
- func (m *TaikoDataBlockMetadataLegacy) GetAssignedProver() common.Address
- func (m *TaikoDataBlockMetadataLegacy) GetBaseFeeConfig() *bindings.LibSharedDataBaseFeeConfig
- func (m *TaikoDataBlockMetadataLegacy) GetBlobHash() common.Hash
- func (m *TaikoDataBlockMetadataLegacy) GetBlobIndex() uint8
- func (m *TaikoDataBlockMetadataLegacy) GetBlobTxListLength() uint32
- func (m *TaikoDataBlockMetadataLegacy) GetBlobTxListOffset() uint32
- func (m *TaikoDataBlockMetadataLegacy) GetBlobUsed() bool
- func (m *TaikoDataBlockMetadataLegacy) GetBlockID() *big.Int
- func (m *TaikoDataBlockMetadataLegacy) GetCoinbase() common.Address
- func (m *TaikoDataBlockMetadataLegacy) GetDifficulty() common.Hash
- func (m *TaikoDataBlockMetadataLegacy) GetExtraData() []byte
- func (m *TaikoDataBlockMetadataLegacy) GetGasLimit() uint32
- func (m *TaikoDataBlockMetadataLegacy) GetLivenessBond() *big.Int
- func (m *TaikoDataBlockMetadataLegacy) GetMinTier() uint16
- func (m *TaikoDataBlockMetadataLegacy) GetParentMetaHash() common.Hash
- func (m *TaikoDataBlockMetadataLegacy) GetProposedAt() uint64
- func (m *TaikoDataBlockMetadataLegacy) GetProposedIn() uint64
- func (m *TaikoDataBlockMetadataLegacy) GetProposer() common.Address
- func (m *TaikoDataBlockMetadataLegacy) GetRawBlockHash() common.Hash
- func (m *TaikoDataBlockMetadataLegacy) GetRawBlockHeight() *big.Int
- func (m *TaikoDataBlockMetadataLegacy) GetTimestamp() uint64
- func (m *TaikoDataBlockMetadataLegacy) GetTxHash() common.Hash
- func (m *TaikoDataBlockMetadataLegacy) GetTxIndex() uint
- func (m *TaikoDataBlockMetadataLegacy) InnerMetadata() *bindings.TaikoDataBlockMetadata
- func (m *TaikoDataBlockMetadataLegacy) IsOntakeBlock() bool
- type TaikoDataBlockMetadataOntake
- func (m *TaikoDataBlockMetadataOntake) GetAnchorBlockHash() common.Hash
- func (m *TaikoDataBlockMetadataOntake) GetAnchorBlockID() uint64
- func (m *TaikoDataBlockMetadataOntake) GetAssignedProver() common.Address
- func (m *TaikoDataBlockMetadataOntake) GetBaseFeeConfig() *bindings.LibSharedDataBaseFeeConfig
- func (m *TaikoDataBlockMetadataOntake) GetBlobHash() common.Hash
- func (m *TaikoDataBlockMetadataOntake) GetBlobIndex() uint8
- func (m *TaikoDataBlockMetadataOntake) GetBlobTxListLength() uint32
- func (m *TaikoDataBlockMetadataOntake) GetBlobTxListOffset() uint32
- func (m *TaikoDataBlockMetadataOntake) GetBlobUsed() bool
- func (m *TaikoDataBlockMetadataOntake) GetBlockID() *big.Int
- func (m *TaikoDataBlockMetadataOntake) GetCoinbase() common.Address
- func (m *TaikoDataBlockMetadataOntake) GetDifficulty() common.Hash
- func (m *TaikoDataBlockMetadataOntake) GetExtraData() []byte
- func (m *TaikoDataBlockMetadataOntake) GetGasLimit() uint32
- func (m *TaikoDataBlockMetadataOntake) GetLivenessBond() *big.Int
- func (m *TaikoDataBlockMetadataOntake) GetMinTier() uint16
- func (m *TaikoDataBlockMetadataOntake) GetParentMetaHash() common.Hash
- func (m *TaikoDataBlockMetadataOntake) GetProposedAt() uint64
- func (m *TaikoDataBlockMetadataOntake) GetProposedIn() uint64
- func (m *TaikoDataBlockMetadataOntake) GetProposer() common.Address
- func (m *TaikoDataBlockMetadataOntake) GetRawBlockHash() common.Hash
- func (m *TaikoDataBlockMetadataOntake) GetRawBlockHeight() *big.Int
- func (m *TaikoDataBlockMetadataOntake) GetTimestamp() uint64
- func (m *TaikoDataBlockMetadataOntake) GetTxHash() common.Hash
- func (m *TaikoDataBlockMetadataOntake) GetTxIndex() uint
- func (m *TaikoDataBlockMetadataOntake) InnerMetadata() *bindings.TaikoDataBlockMetadataV2
- func (m *TaikoDataBlockMetadataOntake) IsOntakeBlock() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaikoBlockMetaData ¶
type TaikoBlockMetaData interface { GetAnchorBlockHash() common.Hash GetDifficulty() common.Hash GetBlobHash() common.Hash GetExtraData() []byte GetCoinbase() common.Address GetBlockID() *big.Int GetGasLimit() uint32 GetTimestamp() uint64 GetAnchorBlockID() uint64 GetMinTier() uint16 GetBlobUsed() bool GetParentMetaHash() common.Hash GetProposer() common.Address GetAssignedProver() common.Address GetLivenessBond() *big.Int GetProposedAt() uint64 GetProposedIn() uint64 GetBlobTxListOffset() uint32 GetBlobTxListLength() uint32 GetBlobIndex() uint8 GetBaseFeeConfig() *bindings.LibSharedDataBaseFeeConfig GetRawBlockHeight() *big.Int GetRawBlockHash() common.Hash GetTxIndex() uint GetTxHash() common.Hash IsOntakeBlock() bool }
struct BlockM TaikoBlockMetaData defines all the metadata of a Taiko block.
type TaikoDataBlockMetadataLegacy ¶
type TaikoDataBlockMetadataLegacy struct { bindings.TaikoDataBlockMetadata types.Log // contains filtered or unexported fields }
TaikoDataBlockMetadataLegacy is the metadata of a legacy Taiko block.
func NewTaikoDataBlockMetadataLegacy ¶
func NewTaikoDataBlockMetadataLegacy(e *bindings.TaikoL1ClientBlockProposed) *TaikoDataBlockMetadataLegacy
NewTaikoDataBlockMetadataLegacy creates a new instance of TaikoDataBlockMetadataLegacy from the TaikoL1.BlockProposed event.
func (*TaikoDataBlockMetadataLegacy) GetAnchorBlockHash ¶
func (m *TaikoDataBlockMetadataLegacy) GetAnchorBlockHash() common.Hash
GetAnchorBlockHash returns the anchor block hash.
func (*TaikoDataBlockMetadataLegacy) GetAnchorBlockID ¶
func (m *TaikoDataBlockMetadataLegacy) GetAnchorBlockID() uint64
GetAnchorBlockID returns the L1 block number which should be used in anchor transaction.
func (*TaikoDataBlockMetadataLegacy) GetAssignedProver ¶
func (m *TaikoDataBlockMetadataLegacy) GetAssignedProver() common.Address
GetAssignedProver returns the assigned prover address, right now this address should be equal to the proposer address.
func (*TaikoDataBlockMetadataLegacy) GetBaseFeeConfig ¶
func (m *TaikoDataBlockMetadataLegacy) GetBaseFeeConfig() *bindings.LibSharedDataBaseFeeConfig
GetBaseFeeConfig returns the L2 block basefee configs.
func (*TaikoDataBlockMetadataLegacy) GetBlobHash ¶
func (m *TaikoDataBlockMetadataLegacy) GetBlobHash() common.Hash
GetBlobHash returns the blob hash.
func (*TaikoDataBlockMetadataLegacy) GetBlobIndex ¶
func (m *TaikoDataBlockMetadataLegacy) GetBlobIndex() uint8
GetBlobIndex returns the blob index.
func (*TaikoDataBlockMetadataLegacy) GetBlobTxListLength ¶
func (m *TaikoDataBlockMetadataLegacy) GetBlobTxListLength() uint32
GetBlobTxListLength returns the blob tx list length.
func (*TaikoDataBlockMetadataLegacy) GetBlobTxListOffset ¶
func (m *TaikoDataBlockMetadataLegacy) GetBlobTxListOffset() uint32
GetBlobTxListOffset returns the blob tx list offset.
func (*TaikoDataBlockMetadataLegacy) GetBlobUsed ¶
func (m *TaikoDataBlockMetadataLegacy) GetBlobUsed() bool
GetBlobUsed returns whether the blob is used.
func (*TaikoDataBlockMetadataLegacy) GetBlockID ¶
func (m *TaikoDataBlockMetadataLegacy) GetBlockID() *big.Int
GetBlockID returns the L2 block ID.
func (*TaikoDataBlockMetadataLegacy) GetCoinbase ¶
func (m *TaikoDataBlockMetadataLegacy) GetCoinbase() common.Address
GetCoinbase returns the coinbase.
func (*TaikoDataBlockMetadataLegacy) GetDifficulty ¶
func (m *TaikoDataBlockMetadataLegacy) GetDifficulty() common.Hash
GetDifficulty returns the difficulty.
func (*TaikoDataBlockMetadataLegacy) GetExtraData ¶
func (m *TaikoDataBlockMetadataLegacy) GetExtraData() []byte
GetExtraData returns the extra data.
func (*TaikoDataBlockMetadataLegacy) GetGasLimit ¶
func (m *TaikoDataBlockMetadataLegacy) GetGasLimit() uint32
GetGasLimit returns the gas limit.
func (*TaikoDataBlockMetadataLegacy) GetLivenessBond ¶
func (m *TaikoDataBlockMetadataLegacy) GetLivenessBond() *big.Int
GetLivenessBond returns the liveness bond.
func (*TaikoDataBlockMetadataLegacy) GetMinTier ¶
func (m *TaikoDataBlockMetadataLegacy) GetMinTier() uint16
GetMinTier returns the minimum tier.
func (*TaikoDataBlockMetadataLegacy) GetParentMetaHash ¶
func (m *TaikoDataBlockMetadataLegacy) GetParentMetaHash() common.Hash
GetParentMetaHash returns the parent meta hash.
func (*TaikoDataBlockMetadataLegacy) GetProposedAt ¶
func (m *TaikoDataBlockMetadataLegacy) GetProposedAt() uint64
GetProposedAt returns the proposedAt timestamp.
func (*TaikoDataBlockMetadataLegacy) GetProposedIn ¶
func (m *TaikoDataBlockMetadataLegacy) GetProposedIn() uint64
GetProposedIn returns the proposedIn block number.
func (*TaikoDataBlockMetadataLegacy) GetProposer ¶
func (m *TaikoDataBlockMetadataLegacy) GetProposer() common.Address
GetProposer returns the proposer address.
func (*TaikoDataBlockMetadataLegacy) GetRawBlockHash ¶
func (m *TaikoDataBlockMetadataLegacy) GetRawBlockHash() common.Hash
GetRawBlockHash returns the raw L1 block hash.
func (*TaikoDataBlockMetadataLegacy) GetRawBlockHeight ¶
func (m *TaikoDataBlockMetadataLegacy) GetRawBlockHeight() *big.Int
GetRawBlockHeight returns the raw L1 block height.
func (*TaikoDataBlockMetadataLegacy) GetTimestamp ¶
func (m *TaikoDataBlockMetadataLegacy) GetTimestamp() uint64
GetTimestamp returns the timestamp.
func (*TaikoDataBlockMetadataLegacy) GetTxHash ¶
func (m *TaikoDataBlockMetadataLegacy) GetTxHash() common.Hash
GetTxHash returns the transaction hash.
func (*TaikoDataBlockMetadataLegacy) GetTxIndex ¶
func (m *TaikoDataBlockMetadataLegacy) GetTxIndex() uint
GetTxIndex returns the transaction index.
func (*TaikoDataBlockMetadataLegacy) InnerMetadata ¶
func (m *TaikoDataBlockMetadataLegacy) InnerMetadata() *bindings.TaikoDataBlockMetadata
InnerMetadata returns the inner metadata.
func (*TaikoDataBlockMetadataLegacy) IsOntakeBlock ¶
func (m *TaikoDataBlockMetadataLegacy) IsOntakeBlock() bool
IsOntakeBlock returns whether the block is an Ontake block.
type TaikoDataBlockMetadataOntake ¶
type TaikoDataBlockMetadataOntake struct { bindings.TaikoDataBlockMetadataV2 types.Log }
TaikoDataBlockMetadataOntake is the metadata of an ontake Taiko block.
func NewTaikoDataBlockMetadataOntake ¶
func NewTaikoDataBlockMetadataOntake(e *bindings.TaikoL1ClientBlockProposedV2) *TaikoDataBlockMetadataOntake
NewTaikoDataBlockMetadataOntake creates a new instance of TaikoDataBlockMetadataOntake from the TaikoL1.BlockProposedV2 event.
func (*TaikoDataBlockMetadataOntake) GetAnchorBlockHash ¶
func (m *TaikoDataBlockMetadataOntake) GetAnchorBlockHash() common.Hash
GetAnchorBlockHash returns the anchor block hash.
func (*TaikoDataBlockMetadataOntake) GetAnchorBlockID ¶
func (m *TaikoDataBlockMetadataOntake) GetAnchorBlockID() uint64
GetAnchorBlockID returns the L1 block number which should be used in anchor transaction.
func (*TaikoDataBlockMetadataOntake) GetAssignedProver ¶
func (m *TaikoDataBlockMetadataOntake) GetAssignedProver() common.Address
GetAssignedProver returns the assigned prover address, right now this address should be equal to the proposer address.
func (*TaikoDataBlockMetadataOntake) GetBaseFeeConfig ¶
func (m *TaikoDataBlockMetadataOntake) GetBaseFeeConfig() *bindings.LibSharedDataBaseFeeConfig
GetBaseFeeConfig returns the L2 block basefee configs.
func (*TaikoDataBlockMetadataOntake) GetBlobHash ¶
func (m *TaikoDataBlockMetadataOntake) GetBlobHash() common.Hash
GetBlobHash returns the blob hash.
func (*TaikoDataBlockMetadataOntake) GetBlobIndex ¶
func (m *TaikoDataBlockMetadataOntake) GetBlobIndex() uint8
GetBlobIndex returns the blob index.
func (*TaikoDataBlockMetadataOntake) GetBlobTxListLength ¶
func (m *TaikoDataBlockMetadataOntake) GetBlobTxListLength() uint32
GetBlobTxListLength returns the blob tx list length.
func (*TaikoDataBlockMetadataOntake) GetBlobTxListOffset ¶
func (m *TaikoDataBlockMetadataOntake) GetBlobTxListOffset() uint32
GetBlobTxListOffset returns the blob tx list offset.
func (*TaikoDataBlockMetadataOntake) GetBlobUsed ¶
func (m *TaikoDataBlockMetadataOntake) GetBlobUsed() bool
GetBlobUsed returns whether the blob is used.
func (*TaikoDataBlockMetadataOntake) GetBlockID ¶
func (m *TaikoDataBlockMetadataOntake) GetBlockID() *big.Int
GetBlockID returns the L2 block ID.
func (*TaikoDataBlockMetadataOntake) GetCoinbase ¶
func (m *TaikoDataBlockMetadataOntake) GetCoinbase() common.Address
GetCoinbase returns the coinbase.
func (*TaikoDataBlockMetadataOntake) GetDifficulty ¶
func (m *TaikoDataBlockMetadataOntake) GetDifficulty() common.Hash
GetDifficulty returns the difficulty.
func (*TaikoDataBlockMetadataOntake) GetExtraData ¶
func (m *TaikoDataBlockMetadataOntake) GetExtraData() []byte
GetExtraData returns the extra data.
func (*TaikoDataBlockMetadataOntake) GetGasLimit ¶
func (m *TaikoDataBlockMetadataOntake) GetGasLimit() uint32
GetGasLimit returns the gas limit.
func (*TaikoDataBlockMetadataOntake) GetLivenessBond ¶
func (m *TaikoDataBlockMetadataOntake) GetLivenessBond() *big.Int
GetLivenessBond returns the liveness bond.
func (*TaikoDataBlockMetadataOntake) GetMinTier ¶
func (m *TaikoDataBlockMetadataOntake) GetMinTier() uint16
GetMinTier returns the minimum tier.
func (*TaikoDataBlockMetadataOntake) GetParentMetaHash ¶
func (m *TaikoDataBlockMetadataOntake) GetParentMetaHash() common.Hash
GetParentMetaHash returns the parent meta hash.
func (*TaikoDataBlockMetadataOntake) GetProposedAt ¶
func (m *TaikoDataBlockMetadataOntake) GetProposedAt() uint64
GetProposedAt returns the proposedAt timestamp.
func (*TaikoDataBlockMetadataOntake) GetProposedIn ¶
func (m *TaikoDataBlockMetadataOntake) GetProposedIn() uint64
GetProposedIn returns the proposedIn block number.
func (*TaikoDataBlockMetadataOntake) GetProposer ¶
func (m *TaikoDataBlockMetadataOntake) GetProposer() common.Address
GetProposer returns the proposer address.
func (*TaikoDataBlockMetadataOntake) GetRawBlockHash ¶
func (m *TaikoDataBlockMetadataOntake) GetRawBlockHash() common.Hash
GetRawBlockHash returns the raw L1 block hash.
func (*TaikoDataBlockMetadataOntake) GetRawBlockHeight ¶
func (m *TaikoDataBlockMetadataOntake) GetRawBlockHeight() *big.Int
GetRawBlockHeight returns the raw L1 block height.
func (*TaikoDataBlockMetadataOntake) GetTimestamp ¶
func (m *TaikoDataBlockMetadataOntake) GetTimestamp() uint64
GetTimestamp returns the timestamp.
func (*TaikoDataBlockMetadataOntake) GetTxHash ¶
func (m *TaikoDataBlockMetadataOntake) GetTxHash() common.Hash
GetTxHash returns the transaction hash.
func (*TaikoDataBlockMetadataOntake) GetTxIndex ¶
func (m *TaikoDataBlockMetadataOntake) GetTxIndex() uint
GetTxIndex returns the transaction index.
func (*TaikoDataBlockMetadataOntake) InnerMetadata ¶
func (m *TaikoDataBlockMetadataOntake) InnerMetadata() *bindings.TaikoDataBlockMetadataV2
InnerMetadata returns the inner metadata.
func (*TaikoDataBlockMetadataOntake) IsOntakeBlock ¶
func (m *TaikoDataBlockMetadataOntake) IsOntakeBlock() bool
IsOntakeBlock returns whether the block is an ontake block.