Documentation ¶
Index ¶
- type BuilderVersion
- type VersionedSignedBuilderBid
- func (v *VersionedSignedBuilderBid) Builder() (phase0.BLSPubKey, error)
- func (v *VersionedSignedBuilderBid) FeeRecipient() (consensusbellatrix.ExecutionAddress, error)
- func (v *VersionedSignedBuilderBid) HeaderHashTreeRoot() (phase0.Root, error)
- func (v *VersionedSignedBuilderBid) IsEmpty() bool
- func (v *VersionedSignedBuilderBid) MarshalJSON() ([]byte, error)
- func (v *VersionedSignedBuilderBid) MessageHashTreeRoot() (phase0.Root, error)
- func (v *VersionedSignedBuilderBid) ParentHash() (phase0.Hash32, error)
- func (v *VersionedSignedBuilderBid) Signature() (phase0.BLSSignature, error)
- func (v *VersionedSignedBuilderBid) StateRoot() (phase0.Root, error)
- func (v *VersionedSignedBuilderBid) String() string
- func (v *VersionedSignedBuilderBid) Timestamp() (uint64, error)
- func (v *VersionedSignedBuilderBid) TransactionsRoot() (phase0.Root, error)
- func (v *VersionedSignedBuilderBid) UnmarshalJSON(input []byte) error
- func (v *VersionedSignedBuilderBid) Value() (*uint256.Int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuilderVersion ¶
type BuilderVersion int
BuilderVersion defines the builder spec version.
const ( // BuilderVersionV1 is applicable for the V1 release of the builder spec. BuilderVersionV1 BuilderVersion = iota )
func (*BuilderVersion) MarshalJSON ¶
func (d *BuilderVersion) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (BuilderVersion) String ¶
func (d BuilderVersion) String() string
String returns a string representation of the type.
func (*BuilderVersion) UnmarshalJSON ¶
func (d *BuilderVersion) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
type VersionedSignedBuilderBid ¶
type VersionedSignedBuilderBid struct { Version consensusspec.DataVersion Bellatrix *bellatrix.SignedBuilderBid Capella *capella.SignedBuilderBid }
VersionedSignedBuilderBid contains a versioned signed builder bid.
func (*VersionedSignedBuilderBid) Builder ¶
func (v *VersionedSignedBuilderBid) Builder() (phase0.BLSPubKey, error)
Builder returns the builder of the bid.
func (*VersionedSignedBuilderBid) FeeRecipient ¶
func (v *VersionedSignedBuilderBid) FeeRecipient() (consensusbellatrix.ExecutionAddress, error)
FeeRecipient returns the fee recipient of the bid.
func (*VersionedSignedBuilderBid) HeaderHashTreeRoot ¶
func (v *VersionedSignedBuilderBid) HeaderHashTreeRoot() (phase0.Root, error)
HeaderHashTreeRoot returns the hash tree root of the header of the bid.
func (*VersionedSignedBuilderBid) IsEmpty ¶
func (v *VersionedSignedBuilderBid) IsEmpty() bool
IsEmpty returns true if there is no bid.
func (*VersionedSignedBuilderBid) MarshalJSON ¶
func (v *VersionedSignedBuilderBid) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*VersionedSignedBuilderBid) MessageHashTreeRoot ¶
func (v *VersionedSignedBuilderBid) MessageHashTreeRoot() (phase0.Root, error)
MessageHashTreeRoot returns the hash tree root of the message of the bid.
func (*VersionedSignedBuilderBid) ParentHash ¶
func (v *VersionedSignedBuilderBid) ParentHash() (phase0.Hash32, error)
ParentHash returns the parent hash of the bid.
func (*VersionedSignedBuilderBid) Signature ¶
func (v *VersionedSignedBuilderBid) Signature() (phase0.BLSSignature, error)
Signature returns the signature of the bid.
func (*VersionedSignedBuilderBid) StateRoot ¶
func (v *VersionedSignedBuilderBid) StateRoot() (phase0.Root, error)
StateRoot returns the state root of the bid.
func (*VersionedSignedBuilderBid) String ¶
func (v *VersionedSignedBuilderBid) String() string
String returns a string version of the structure.
func (*VersionedSignedBuilderBid) Timestamp ¶
func (v *VersionedSignedBuilderBid) Timestamp() (uint64, error)
Timestamp returns the timestamp of the bid.
func (*VersionedSignedBuilderBid) TransactionsRoot ¶
func (v *VersionedSignedBuilderBid) TransactionsRoot() (phase0.Root, error)
TransactionsRoot returns the transactions root of the bid.
func (*VersionedSignedBuilderBid) UnmarshalJSON ¶
func (v *VersionedSignedBuilderBid) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.