Documentation
¶
Index ¶
- type ChainConfig
- type EitherChainConfig
- type Header
- func (self *Header) Commit() common_types.Commitment
- func (h *Header) GetBlockHeight() uint64
- func (h *Header) GetBlockMerkleTreeRoot() *common_types.TaggedBase64
- func (h *Header) GetBuilderCommitment() *common_types.TaggedBase64
- func (h *Header) GetBuilderSignature() *common_types.Signature
- func (h *Header) GetFeeMerkleTreeRoot() *common_types.TaggedBase64
- func (h *Header) GetL1Head() uint64
- func (h *Header) GetNsTable() *common_types.NsTable
- func (h *Header) GetPayloadCommitment() *common_types.TaggedBase64
- func (h *Header) GetTimestamp() uint64
- func (h *Header) UnmarshalJSON(b []byte) error
- func (h *Header) Version() common_types.Version
- type ResolvableChainConfig
- type TaggedBase64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainConfig ¶
type ChainConfig struct { ChainId common_types.U256Decimal `json:"chain_id"` MaxBlockSize common_types.U256Decimal `json:"max_block_size"` BaseFee common_types.U256Decimal `json:"base_fee"` FeeContract *common.Address `json:"fee_contract"` FeeRecipient common.Address `json:"fee_recipient"` }
func (*ChainConfig) Commit ¶
func (self *ChainConfig) Commit() common_types.Commitment
type EitherChainConfig ¶
type EitherChainConfig struct { Left *ChainConfig `json:"Left"` Right **TaggedBase64 `json:"Right"` }
func (*EitherChainConfig) MarshalJSON ¶
func (i *EitherChainConfig) MarshalJSON() ([]byte, error)
func (*EitherChainConfig) UnmarshalJSON ¶
func (i *EitherChainConfig) UnmarshalJSON(b []byte) error
type Header ¶
type Header struct { ChainConfig *ResolvableChainConfig `json:"chain_config"` Height uint64 `json:"height"` Timestamp uint64 `json:"timestamp"` L1Head uint64 `json:"l1_head"` L1Finalized *common_types.L1BlockInfo `json:"l1_finalized" rlp:"nil"` PayloadCommitment *common_types.TaggedBase64 `json:"payload_commitment"` BuilderCommitment *common_types.TaggedBase64 `json:"builder_commitment"` NsTable *common_types.NsTable `json:"ns_table"` BlockMerkleTreeRoot *common_types.TaggedBase64 `json:"block_merkle_tree_root"` FeeMerkleTreeRoot *common_types.TaggedBase64 `json:"fee_merkle_tree_root"` FeeInfo *common_types.FeeInfo `json:"fee_info"` BuilderSignature *common_types.Signature `json:"builder_signature" rlp:"nil"` }
func (*Header) Commit ¶
func (self *Header) Commit() common_types.Commitment
func (*Header) GetBlockHeight ¶
func (*Header) GetBlockMerkleTreeRoot ¶
func (h *Header) GetBlockMerkleTreeRoot() *common_types.TaggedBase64
func (*Header) GetBuilderCommitment ¶
func (h *Header) GetBuilderCommitment() *common_types.TaggedBase64
func (*Header) GetBuilderSignature ¶
func (h *Header) GetBuilderSignature() *common_types.Signature
func (*Header) GetFeeMerkleTreeRoot ¶
func (h *Header) GetFeeMerkleTreeRoot() *common_types.TaggedBase64
func (*Header) GetNsTable ¶
func (h *Header) GetNsTable() *common_types.NsTable
func (*Header) GetPayloadCommitment ¶
func (h *Header) GetPayloadCommitment() *common_types.TaggedBase64
func (*Header) GetTimestamp ¶
func (*Header) UnmarshalJSON ¶
func (*Header) Version ¶
func (h *Header) Version() common_types.Version
type ResolvableChainConfig ¶
type ResolvableChainConfig struct {
ChainConfig EitherChainConfig `json:"chain_config"`
}
func (*ResolvableChainConfig) Commit ¶
func (self *ResolvableChainConfig) Commit() common_types.Commitment
type TaggedBase64 ¶
type TaggedBase64 = tagged_base64.TaggedBase64
Click to show internal directories.
Click to hide internal directories.