Documentation ¶
Overview ¶
Code generated by fastssz. DO NOT EDIT. Hash: ff4c0802b1b743077781dae4de752322633988f240bb8e40a9f01dbceed1d869
Index ¶
- Variables
- type Block
- func (*Block) Descriptor() ([]byte, []int)deprecated
- func (x *Block) GetBody() *Body
- func (x *Block) GetHeader() *Header
- func (b *Block) HashTreeRoot() ([32]byte, error)
- func (b *Block) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (b *Block) MarshalSSZ() ([]byte, error)
- func (b *Block) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*Block) ProtoMessage()
- func (x *Block) ProtoReflect() protoreflect.Message
- func (x *Block) Reset()
- func (b *Block) SizeSSZ() (size int)
- func (x *Block) String() string
- func (b *Block) UnmarshalSSZ(buf []byte) error
- type Body
- func (*Body) Descriptor() ([]byte, []int)deprecated
- func (x *Body) GetRewards() []*Reward
- func (x *Body) GetTxs() []*Transaction
- func (x *Body) GetVerifiers() []*Verifier
- func (b *Body) HashTreeRoot() ([32]byte, error)
- func (b *Body) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (b *Body) MarshalSSZ() ([]byte, error)
- func (b *Body) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*Body) ProtoMessage()
- func (x *Body) ProtoReflect() protoreflect.Message
- func (x *Body) Reset()
- func (b *Body) SizeSSZ() (size int)
- func (x *Body) String() string
- func (b *Body) UnmarshalSSZ(buf []byte) error
- type H1024
- func (*H1024) Descriptor() ([]byte, []int)deprecated
- func (x *H1024) GetHi() *H512
- func (x *H1024) GetLo() *H512
- func (h *H1024) HashTreeRoot() ([32]byte, error)
- func (h *H1024) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (h *H1024) MarshalSSZ() ([]byte, error)
- func (h *H1024) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*H1024) ProtoMessage()
- func (x *H1024) ProtoReflect() protoreflect.Message
- func (x *H1024) Reset()
- func (h *H1024) SizeSSZ() (size int)
- func (x *H1024) String() string
- func (h *H1024) UnmarshalSSZ(buf []byte) error
- type H128
- func (*H128) Descriptor() ([]byte, []int)deprecated
- func (x *H128) GetHi() uint64
- func (x *H128) GetLo() uint64
- func (h *H128) HashTreeRoot() ([32]byte, error)
- func (h *H128) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (h *H128) MarshalSSZ() ([]byte, error)
- func (h *H128) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*H128) ProtoMessage()
- func (x *H128) ProtoReflect() protoreflect.Message
- func (x *H128) Reset()
- func (h *H128) SizeSSZ() (size int)
- func (x *H128) String() string
- func (h *H128) UnmarshalSSZ(buf []byte) error
- type H160
- func (*H160) Descriptor() ([]byte, []int)deprecated
- func (x *H160) GetHi() *H128
- func (x *H160) GetLo() uint32
- func (h *H160) HashTreeRoot() ([32]byte, error)
- func (h *H160) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (h *H160) MarshalSSZ() ([]byte, error)
- func (h *H160) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*H160) ProtoMessage()
- func (x *H160) ProtoReflect() protoreflect.Message
- func (x *H160) Reset()
- func (h *H160) SizeSSZ() (size int)
- func (x *H160) String() string
- func (h *H160) UnmarshalSSZ(buf []byte) error
- type H2048
- func (*H2048) Descriptor() ([]byte, []int)deprecated
- func (x *H2048) GetHi() *H1024
- func (x *H2048) GetLo() *H1024
- func (h *H2048) HashTreeRoot() ([32]byte, error)
- func (h *H2048) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (h *H2048) MarshalSSZ() ([]byte, error)
- func (h *H2048) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*H2048) ProtoMessage()
- func (x *H2048) ProtoReflect() protoreflect.Message
- func (x *H2048) Reset()
- func (h *H2048) SizeSSZ() (size int)
- func (x *H2048) String() string
- func (h *H2048) UnmarshalSSZ(buf []byte) error
- type H256
- func (*H256) Descriptor() ([]byte, []int)deprecated
- func (x *H256) GetHi() *H128
- func (x *H256) GetLo() *H128
- func (h *H256) HashTreeRoot() ([32]byte, error)
- func (h *H256) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (h *H256) MarshalSSZ() ([]byte, error)
- func (h *H256) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*H256) ProtoMessage()
- func (x *H256) ProtoReflect() protoreflect.Message
- func (x *H256) Reset()
- func (h *H256) SizeSSZ() (size int)
- func (x *H256) String() string
- func (h *H256) UnmarshalSSZ(buf []byte) error
- type H384
- func (*H384) Descriptor() ([]byte, []int)deprecated
- func (x *H384) GetHi() *H256
- func (x *H384) GetLo() *H128
- func (h *H384) HashTreeRoot() ([32]byte, error)
- func (h *H384) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (h *H384) MarshalSSZ() ([]byte, error)
- func (h *H384) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*H384) ProtoMessage()
- func (x *H384) ProtoReflect() protoreflect.Message
- func (x *H384) Reset()
- func (h *H384) SizeSSZ() (size int)
- func (x *H384) String() string
- func (h *H384) UnmarshalSSZ(buf []byte) error
- type H512
- func (*H512) Descriptor() ([]byte, []int)deprecated
- func (x *H512) GetHi() *H256
- func (x *H512) GetLo() *H256
- func (h *H512) HashTreeRoot() ([32]byte, error)
- func (h *H512) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (h *H512) MarshalSSZ() ([]byte, error)
- func (h *H512) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*H512) ProtoMessage()
- func (x *H512) ProtoReflect() protoreflect.Message
- func (x *H512) Reset()
- func (h *H512) SizeSSZ() (size int)
- func (x *H512) String() string
- func (h *H512) UnmarshalSSZ(buf []byte) error
- type H768
- func (*H768) Descriptor() ([]byte, []int)deprecated
- func (x *H768) GetHi() *H384
- func (x *H768) GetLo() *H384
- func (h *H768) HashTreeRoot() ([32]byte, error)
- func (h *H768) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (h *H768) MarshalSSZ() ([]byte, error)
- func (h *H768) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*H768) ProtoMessage()
- func (x *H768) ProtoReflect() protoreflect.Message
- func (x *H768) Reset()
- func (h *H768) SizeSSZ() (size int)
- func (x *H768) String() string
- func (h *H768) UnmarshalSSZ(buf []byte) error
- type Header
- func (*Header) Descriptor() ([]byte, []int)deprecated
- func (x *Header) GetBaseFee() *H256
- func (x *Header) GetBloom() *H2048
- func (x *Header) GetCoinbase() *H160
- func (x *Header) GetDifficulty() *H256
- func (x *Header) GetExtra() []byte
- func (x *Header) GetGasLimit() uint64
- func (x *Header) GetGasUsed() uint64
- func (x *Header) GetMixDigest() *H256
- func (x *Header) GetNonce() uint64
- func (x *Header) GetNumber() *H256
- func (x *Header) GetParentHash() *H256
- func (x *Header) GetReceiptHash() *H256
- func (x *Header) GetRoot() *H256
- func (x *Header) GetSignature() *H768
- func (x *Header) GetTime() uint64
- func (x *Header) GetTxHash() *H256
- func (h *Header) HashTreeRoot() ([32]byte, error)
- func (h *Header) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (h *Header) MarshalSSZ() ([]byte, error)
- func (h *Header) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*Header) ProtoMessage()
- func (x *Header) ProtoReflect() protoreflect.Message
- func (x *Header) Reset()
- func (h *Header) SizeSSZ() (size int)
- func (x *Header) String() string
- func (h *Header) UnmarshalSSZ(buf []byte) error
- type Log
- func (*Log) Descriptor() ([]byte, []int)deprecated
- func (x *Log) GetAddress() *H160
- func (x *Log) GetBlockHash() *H256
- func (x *Log) GetBlockNumber() *H256
- func (x *Log) GetData() []byte
- func (x *Log) GetIndex() uint64
- func (x *Log) GetRemoved() bool
- func (x *Log) GetTopics() []*H256
- func (x *Log) GetTxHash() *H256
- func (x *Log) GetTxIndex() uint64
- func (*Log) ProtoMessage()
- func (x *Log) ProtoReflect() protoreflect.Message
- func (x *Log) Reset()
- func (x *Log) String() string
- type Logs
- type Receipt
- func (*Receipt) Descriptor() ([]byte, []int)deprecated
- func (x *Receipt) GetBlockHash() *H256
- func (x *Receipt) GetBlockNumber() *H256
- func (x *Receipt) GetBloom() *H2048
- func (x *Receipt) GetContractAddress() *H160
- func (x *Receipt) GetCumulativeGasUsed() uint64
- func (x *Receipt) GetGasUsed() uint64
- func (x *Receipt) GetLogs() []*Log
- func (x *Receipt) GetPostState() []byte
- func (x *Receipt) GetStatus() uint64
- func (x *Receipt) GetTransactionIndex() uint64
- func (x *Receipt) GetTxHash() *H256
- func (x *Receipt) GetType() uint32
- func (*Receipt) ProtoMessage()
- func (x *Receipt) ProtoReflect() protoreflect.Message
- func (x *Receipt) Reset()
- func (x *Receipt) String() string
- type Receipts
- type Reward
- func (*Reward) Descriptor() ([]byte, []int)deprecated
- func (x *Reward) GetAddress() *H160
- func (x *Reward) GetAmount() *H256
- func (r *Reward) HashTreeRoot() ([32]byte, error)
- func (r *Reward) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (r *Reward) MarshalSSZ() ([]byte, error)
- func (r *Reward) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*Reward) ProtoMessage()
- func (x *Reward) ProtoReflect() protoreflect.Message
- func (x *Reward) Reset()
- func (r *Reward) SizeSSZ() (size int)
- func (x *Reward) String() string
- func (r *Reward) UnmarshalSSZ(buf []byte) error
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetChainID() uint64
- func (x *Transaction) GetData() []byte
- func (x *Transaction) GetFeePerGas() *H256
- func (x *Transaction) GetFrom() *H160
- func (x *Transaction) GetGas() uint64
- func (x *Transaction) GetGasPrice() *H256
- func (x *Transaction) GetHash() *H256
- func (x *Transaction) GetNonce() uint64
- func (x *Transaction) GetPriorityFeePerGas() *H256
- func (x *Transaction) GetR() *H256
- func (x *Transaction) GetS() *H256
- func (x *Transaction) GetSign() []byte
- func (x *Transaction) GetTo() *H160
- func (x *Transaction) GetType() uint64
- func (x *Transaction) GetV() *H256
- func (x *Transaction) GetValue() *H256
- func (t *Transaction) HashTreeRoot() ([32]byte, error)
- func (t *Transaction) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (t *Transaction) MarshalSSZ() ([]byte, error)
- func (t *Transaction) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*Transaction) ProtoMessage()
- func (x *Transaction) ProtoReflect() protoreflect.Message
- func (x *Transaction) Reset()
- func (t *Transaction) SizeSSZ() (size int)
- func (x *Transaction) String() string
- func (t *Transaction) UnmarshalSSZ(buf []byte) error
- type Verifier
- func (*Verifier) Descriptor() ([]byte, []int)deprecated
- func (x *Verifier) GetAddress() *H160
- func (x *Verifier) GetPublicKey() *H384
- func (v *Verifier) HashTreeRoot() ([32]byte, error)
- func (v *Verifier) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (v *Verifier) MarshalSSZ() ([]byte, error)
- func (v *Verifier) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*Verifier) ProtoMessage()
- func (x *Verifier) ProtoReflect() protoreflect.Message
- func (x *Verifier) Reset()
- func (v *Verifier) SizeSSZ() (size int)
- func (x *Verifier) String() string
- func (v *Verifier) UnmarshalSSZ(buf []byte) error
Constants ¶
This section is empty.
Variables ¶
var File_types_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct { Header *Header `protobuf:"bytes,1,opt,name=Header,proto3" json:"Header,omitempty"` Body *Body `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*Block) Descriptor
deprecated
func (*Block) HashTreeRoot ¶
HashTreeRoot ssz hashes the Block object
func (*Block) HashTreeRootWith ¶
HashTreeRootWith ssz hashes the Block object with a hasher
func (*Block) MarshalSSZ ¶
MarshalSSZ ssz marshals the Block object
func (*Block) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the Block object to a target array
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) ProtoReflect ¶
func (x *Block) ProtoReflect() protoreflect.Message
func (*Block) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the Block object
type Body ¶
type Body struct { Txs []*Transaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty" ssz-max:"104857600"` Verifiers []*Verifier `protobuf:"bytes,2,rep,name=verifiers,proto3" json:"verifiers,omitempty" ssz-max:"104857600"` Rewards []*Reward `protobuf:"bytes,3,rep,name=rewards,proto3" json:"rewards,omitempty" ssz-max:"104857600"` // contains filtered or unexported fields }
func (*Body) Descriptor
deprecated
func (*Body) GetRewards ¶
func (*Body) GetTxs ¶
func (x *Body) GetTxs() []*Transaction
func (*Body) GetVerifiers ¶
func (*Body) HashTreeRoot ¶
HashTreeRoot ssz hashes the Body object
func (*Body) HashTreeRootWith ¶
HashTreeRootWith ssz hashes the Body object with a hasher
func (*Body) MarshalSSZ ¶
MarshalSSZ ssz marshals the Body object
func (*Body) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the Body object to a target array
func (*Body) ProtoMessage ¶
func (*Body) ProtoMessage()
func (*Body) ProtoReflect ¶
func (x *Body) ProtoReflect() protoreflect.Message
func (*Body) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the Body object
type H1024 ¶
type H1024 struct { Hi *H512 `protobuf:"bytes,1,opt,name=hi,proto3" json:"hi,omitempty"` Lo *H512 `protobuf:"bytes,2,opt,name=lo,proto3" json:"lo,omitempty"` // contains filtered or unexported fields }
func (*H1024) Descriptor
deprecated
func (*H1024) HashTreeRoot ¶
HashTreeRoot ssz hashes the H1024 object
func (*H1024) HashTreeRootWith ¶
HashTreeRootWith ssz hashes the H1024 object with a hasher
func (*H1024) MarshalSSZ ¶
MarshalSSZ ssz marshals the H1024 object
func (*H1024) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the H1024 object to a target array
func (*H1024) ProtoMessage ¶
func (*H1024) ProtoMessage()
func (*H1024) ProtoReflect ¶
func (x *H1024) ProtoReflect() protoreflect.Message
func (*H1024) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the H1024 object
type H128 ¶
type H128 struct { Hi uint64 `protobuf:"varint,1,opt,name=hi,proto3" json:"hi,omitempty"` Lo uint64 `protobuf:"varint,2,opt,name=lo,proto3" json:"lo,omitempty"` // contains filtered or unexported fields }
func (*H128) Descriptor
deprecated
func (*H128) HashTreeRoot ¶
HashTreeRoot ssz hashes the H128 object
func (*H128) HashTreeRootWith ¶
HashTreeRootWith ssz hashes the H128 object with a hasher
func (*H128) MarshalSSZ ¶
MarshalSSZ ssz marshals the H128 object
func (*H128) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the H128 object to a target array
func (*H128) ProtoMessage ¶
func (*H128) ProtoMessage()
func (*H128) ProtoReflect ¶
func (x *H128) ProtoReflect() protoreflect.Message
func (*H128) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the H128 object
type H160 ¶
type H160 struct { Hi *H128 `protobuf:"bytes,1,opt,name=hi,proto3" json:"hi,omitempty"` Lo uint32 `protobuf:"varint,2,opt,name=lo,proto3" json:"lo,omitempty"` // contains filtered or unexported fields }
func (*H160) Descriptor
deprecated
func (*H160) HashTreeRoot ¶
HashTreeRoot ssz hashes the H160 object
func (*H160) HashTreeRootWith ¶
HashTreeRootWith ssz hashes the H160 object with a hasher
func (*H160) MarshalSSZ ¶
MarshalSSZ ssz marshals the H160 object
func (*H160) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the H160 object to a target array
func (*H160) ProtoMessage ¶
func (*H160) ProtoMessage()
func (*H160) ProtoReflect ¶
func (x *H160) ProtoReflect() protoreflect.Message
func (*H160) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the H160 object
type H2048 ¶
type H2048 struct { Hi *H1024 `protobuf:"bytes,1,opt,name=hi,proto3" json:"hi,omitempty"` Lo *H1024 `protobuf:"bytes,2,opt,name=lo,proto3" json:"lo,omitempty"` // contains filtered or unexported fields }
func (*H2048) Descriptor
deprecated
func (*H2048) HashTreeRoot ¶
HashTreeRoot ssz hashes the H2048 object
func (*H2048) HashTreeRootWith ¶
HashTreeRootWith ssz hashes the H2048 object with a hasher
func (*H2048) MarshalSSZ ¶
MarshalSSZ ssz marshals the H2048 object
func (*H2048) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the H2048 object to a target array
func (*H2048) ProtoMessage ¶
func (*H2048) ProtoMessage()
func (*H2048) ProtoReflect ¶
func (x *H2048) ProtoReflect() protoreflect.Message
func (*H2048) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the H2048 object
type H256 ¶
type H256 struct { Hi *H128 `protobuf:"bytes,1,opt,name=hi,proto3" json:"hi,omitempty"` Lo *H128 `protobuf:"bytes,2,opt,name=lo,proto3" json:"lo,omitempty"` // contains filtered or unexported fields }
func (*H256) Descriptor
deprecated
func (*H256) HashTreeRoot ¶
HashTreeRoot ssz hashes the H256 object
func (*H256) HashTreeRootWith ¶
HashTreeRootWith ssz hashes the H256 object with a hasher
func (*H256) MarshalSSZ ¶
MarshalSSZ ssz marshals the H256 object
func (*H256) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the H256 object to a target array
func (*H256) ProtoMessage ¶
func (*H256) ProtoMessage()
func (*H256) ProtoReflect ¶
func (x *H256) ProtoReflect() protoreflect.Message
func (*H256) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the H256 object
type H384 ¶
type H384 struct { Hi *H256 `protobuf:"bytes,1,opt,name=hi,proto3" json:"hi,omitempty"` Lo *H128 `protobuf:"bytes,2,opt,name=lo,proto3" json:"lo,omitempty"` // contains filtered or unexported fields }
func (*H384) Descriptor
deprecated
func (*H384) HashTreeRoot ¶
HashTreeRoot ssz hashes the H384 object
func (*H384) HashTreeRootWith ¶
HashTreeRootWith ssz hashes the H384 object with a hasher
func (*H384) MarshalSSZ ¶
MarshalSSZ ssz marshals the H384 object
func (*H384) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the H384 object to a target array
func (*H384) ProtoMessage ¶
func (*H384) ProtoMessage()
func (*H384) ProtoReflect ¶
func (x *H384) ProtoReflect() protoreflect.Message
func (*H384) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the H384 object
type H512 ¶
type H512 struct { Hi *H256 `protobuf:"bytes,1,opt,name=hi,proto3" json:"hi,omitempty"` Lo *H256 `protobuf:"bytes,2,opt,name=lo,proto3" json:"lo,omitempty"` // contains filtered or unexported fields }
func (*H512) Descriptor
deprecated
func (*H512) HashTreeRoot ¶
HashTreeRoot ssz hashes the H512 object
func (*H512) HashTreeRootWith ¶
HashTreeRootWith ssz hashes the H512 object with a hasher
func (*H512) MarshalSSZ ¶
MarshalSSZ ssz marshals the H512 object
func (*H512) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the H512 object to a target array
func (*H512) ProtoMessage ¶
func (*H512) ProtoMessage()
func (*H512) ProtoReflect ¶
func (x *H512) ProtoReflect() protoreflect.Message
func (*H512) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the H512 object
type H768 ¶
type H768 struct { Hi *H384 `protobuf:"bytes,1,opt,name=hi,proto3" json:"hi,omitempty"` Lo *H384 `protobuf:"bytes,2,opt,name=lo,proto3" json:"lo,omitempty"` // contains filtered or unexported fields }
func (*H768) Descriptor
deprecated
func (*H768) HashTreeRoot ¶
HashTreeRoot ssz hashes the H768 object
func (*H768) HashTreeRootWith ¶
HashTreeRootWith ssz hashes the H768 object with a hasher
func (*H768) MarshalSSZ ¶
MarshalSSZ ssz marshals the H768 object
func (*H768) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the H768 object to a target array
func (*H768) ProtoMessage ¶
func (*H768) ProtoMessage()
func (*H768) ProtoReflect ¶
func (x *H768) ProtoReflect() protoreflect.Message
func (*H768) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the H768 object
type Header ¶
type Header struct { ParentHash *H256 `protobuf:"bytes,1,opt,name=ParentHash,proto3" json:"ParentHash,omitempty"` Coinbase *H160 `protobuf:"bytes,2,opt,name=Coinbase,proto3" json:"Coinbase,omitempty"` Root *H256 `protobuf:"bytes,3,opt,name=Root,proto3" json:"Root,omitempty"` TxHash *H256 `protobuf:"bytes,4,opt,name=TxHash,proto3" json:"TxHash,omitempty"` ReceiptHash *H256 `protobuf:"bytes,5,opt,name=ReceiptHash,proto3" json:"ReceiptHash,omitempty"` Difficulty *H256 `protobuf:"bytes,6,opt,name=Difficulty,proto3" json:"Difficulty,omitempty"` Number *H256 `protobuf:"bytes,7,opt,name=Number,proto3" json:"Number,omitempty"` GasLimit uint64 `protobuf:"varint,8,opt,name=GasLimit,proto3" json:"GasLimit,omitempty"` GasUsed uint64 `protobuf:"varint,9,opt,name=GasUsed,proto3" json:"GasUsed,omitempty"` Time uint64 `protobuf:"varint,10,opt,name=Time,proto3" json:"Time,omitempty"` Nonce uint64 `protobuf:"varint,11,opt,name=Nonce,proto3" json:"Nonce,omitempty"` BaseFee *H256 `protobuf:"bytes,12,opt,name=BaseFee,proto3" json:"BaseFee,omitempty"` // 65+32 byte (clique) Extra []byte `protobuf:"bytes,13,opt,name=Extra,proto3" json:"Extra,omitempty" ssz-max:"117"` Signature *H768 `protobuf:"bytes,14,opt,name=Signature,proto3" json:"Signature,omitempty"` Bloom *H2048 `protobuf:"bytes,15,opt,name=Bloom,proto3" json:"Bloom,omitempty"` MixDigest *H256 `protobuf:"bytes,16,opt,name=MixDigest,proto3" json:"MixDigest,omitempty"` // contains filtered or unexported fields }
func (*Header) Descriptor
deprecated
func (*Header) GetBaseFee ¶
func (*Header) GetCoinbase ¶
func (*Header) GetDifficulty ¶
func (*Header) GetGasLimit ¶
func (*Header) GetGasUsed ¶
func (*Header) GetMixDigest ¶
func (*Header) GetParentHash ¶
func (*Header) GetReceiptHash ¶
func (*Header) GetSignature ¶
func (*Header) HashTreeRoot ¶
HashTreeRoot ssz hashes the Header object
func (*Header) HashTreeRootWith ¶
HashTreeRootWith ssz hashes the Header object with a hasher
func (*Header) MarshalSSZ ¶
MarshalSSZ ssz marshals the Header object
func (*Header) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the Header object to a target array
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) ProtoReflect ¶
func (x *Header) ProtoReflect() protoreflect.Message
func (*Header) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the Header object
type Log ¶
type Log struct { Address *H160 `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"` Topics []*H256 `protobuf:"bytes,2,rep,name=Topics,proto3" json:"Topics,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"` BlockNumber *H256 `protobuf:"bytes,4,opt,name=BlockNumber,proto3" json:"BlockNumber,omitempty"` TxHash *H256 `protobuf:"bytes,5,opt,name=TxHash,proto3" json:"TxHash,omitempty"` TxIndex uint64 `protobuf:"varint,6,opt,name=TxIndex,proto3" json:"TxIndex,omitempty"` BlockHash *H256 `protobuf:"bytes,7,opt,name=BlockHash,proto3" json:"BlockHash,omitempty"` Index uint64 `protobuf:"varint,8,opt,name=Index,proto3" json:"Index,omitempty"` Removed bool `protobuf:"varint,9,opt,name=Removed,proto3" json:"Removed,omitempty"` // contains filtered or unexported fields }
func (*Log) Descriptor
deprecated
func (*Log) GetAddress ¶
func (*Log) GetBlockHash ¶
func (*Log) GetBlockNumber ¶
func (*Log) GetRemoved ¶
func (*Log) GetTxIndex ¶
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) ProtoReflect ¶
func (x *Log) ProtoReflect() protoreflect.Message
type Logs ¶
type Logs struct { Logs []*Log `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` // contains filtered or unexported fields }
func (*Logs) Descriptor
deprecated
func (*Logs) ProtoMessage ¶
func (*Logs) ProtoMessage()
func (*Logs) ProtoReflect ¶
func (x *Logs) ProtoReflect() protoreflect.Message
type Receipt ¶
type Receipt struct { Type uint32 `protobuf:"varint,1,opt,name=Type,proto3" json:"Type,omitempty"` PostState []byte `protobuf:"bytes,2,opt,name=PostState,proto3" json:"PostState,omitempty"` Status uint64 `protobuf:"varint,3,opt,name=Status,proto3" json:"Status,omitempty"` CumulativeGasUsed uint64 `protobuf:"varint,4,opt,name=CumulativeGasUsed,proto3" json:"CumulativeGasUsed,omitempty"` Bloom *H2048 `protobuf:"bytes,5,opt,name=Bloom,proto3" json:"Bloom,omitempty"` Logs []*Log `protobuf:"bytes,6,rep,name=Logs,proto3" json:"Logs,omitempty"` TxHash *H256 `protobuf:"bytes,7,opt,name=TxHash,proto3" json:"TxHash,omitempty"` ContractAddress *H160 `protobuf:"bytes,8,opt,name=ContractAddress,proto3" json:"ContractAddress,omitempty"` GasUsed uint64 `protobuf:"varint,9,opt,name=GasUsed,proto3" json:"GasUsed,omitempty"` BlockHash *H256 `protobuf:"bytes,10,opt,name=BlockHash,proto3" json:"BlockHash,omitempty"` BlockNumber *H256 `protobuf:"bytes,11,opt,name=BlockNumber,proto3" json:"BlockNumber,omitempty"` TransactionIndex uint64 `protobuf:"varint,12,opt,name=TransactionIndex,proto3" json:"TransactionIndex,omitempty"` // contains filtered or unexported fields }
func (*Receipt) Descriptor
deprecated
func (*Receipt) GetBlockHash ¶
func (*Receipt) GetBlockNumber ¶
func (*Receipt) GetContractAddress ¶
func (*Receipt) GetCumulativeGasUsed ¶
func (*Receipt) GetGasUsed ¶
func (*Receipt) GetPostState ¶
func (*Receipt) GetTransactionIndex ¶
func (*Receipt) ProtoMessage ¶
func (*Receipt) ProtoMessage()
func (*Receipt) ProtoReflect ¶
func (x *Receipt) ProtoReflect() protoreflect.Message
type Receipts ¶
type Receipts struct { Receipts []*Receipt `protobuf:"bytes,1,rep,name=receipts,proto3" json:"receipts,omitempty"` // contains filtered or unexported fields }
func (*Receipts) Descriptor
deprecated
func (*Receipts) GetReceipts ¶
func (*Receipts) ProtoMessage ¶
func (*Receipts) ProtoMessage()
func (*Receipts) ProtoReflect ¶
func (x *Receipts) ProtoReflect() protoreflect.Message
type Reward ¶
type Reward struct { Amount *H256 `protobuf:"bytes,1,opt,name=Amount,proto3" json:"Amount,omitempty"` Address *H160 `protobuf:"bytes,2,opt,name=Address,proto3" json:"Address,omitempty"` // contains filtered or unexported fields }
func (*Reward) Descriptor
deprecated
func (*Reward) GetAddress ¶
func (*Reward) HashTreeRoot ¶
HashTreeRoot ssz hashes the Reward object
func (*Reward) HashTreeRootWith ¶
HashTreeRootWith ssz hashes the Reward object with a hasher
func (*Reward) MarshalSSZ ¶
MarshalSSZ ssz marshals the Reward object
func (*Reward) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the Reward object to a target array
func (*Reward) ProtoMessage ¶
func (*Reward) ProtoMessage()
func (*Reward) ProtoReflect ¶
func (x *Reward) ProtoReflect() protoreflect.Message
func (*Reward) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the Reward object
type Transaction ¶
type Transaction struct { Type uint64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` GasPrice *H256 `protobuf:"bytes,3,opt,name=gasPrice,proto3" json:"gasPrice,omitempty"` Gas uint64 `protobuf:"varint,4,opt,name=gas,proto3" json:"gas,omitempty"` FeePerGas *H256 `protobuf:"bytes,5,opt,name=feePerGas,proto3" json:"feePerGas,omitempty"` PriorityFeePerGas *H256 `protobuf:"bytes,6,opt,name=priorityFeePerGas,proto3" json:"priorityFeePerGas,omitempty"` Value *H256 `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"` Data []byte `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty" ssz-max:"104857600"` Sign []byte `protobuf:"bytes,9,opt,name=sign,proto3" json:"sign,omitempty" ssz-max:"104857600"` To *H160 `protobuf:"bytes,10,opt,name=to,proto3" json:"to,omitempty"` From *H160 `protobuf:"bytes,11,opt,name=from,proto3" json:"from,omitempty"` ChainID uint64 `protobuf:"varint,12,opt,name=chainID,proto3" json:"chainID,omitempty"` Hash *H256 `protobuf:"bytes,13,opt,name=hash,proto3" json:"hash,omitempty"` R *H256 `protobuf:"bytes,14,opt,name=r,proto3" json:"r,omitempty"` S *H256 `protobuf:"bytes,15,opt,name=s,proto3" json:"s,omitempty"` V *H256 `protobuf:"bytes,16,opt,name=v,proto3" json:"v,omitempty"` // contains filtered or unexported fields }
func (*Transaction) Descriptor
deprecated
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetChainID ¶
func (x *Transaction) GetChainID() uint64
func (*Transaction) GetData ¶
func (x *Transaction) GetData() []byte
func (*Transaction) GetFeePerGas ¶
func (x *Transaction) GetFeePerGas() *H256
func (*Transaction) GetFrom ¶
func (x *Transaction) GetFrom() *H160
func (*Transaction) GetGas ¶
func (x *Transaction) GetGas() uint64
func (*Transaction) GetGasPrice ¶
func (x *Transaction) GetGasPrice() *H256
func (*Transaction) GetHash ¶
func (x *Transaction) GetHash() *H256
func (*Transaction) GetNonce ¶
func (x *Transaction) GetNonce() uint64
func (*Transaction) GetPriorityFeePerGas ¶
func (x *Transaction) GetPriorityFeePerGas() *H256
func (*Transaction) GetR ¶
func (x *Transaction) GetR() *H256
func (*Transaction) GetS ¶
func (x *Transaction) GetS() *H256
func (*Transaction) GetSign ¶
func (x *Transaction) GetSign() []byte
func (*Transaction) GetTo ¶
func (x *Transaction) GetTo() *H160
func (*Transaction) GetType ¶
func (x *Transaction) GetType() uint64
func (*Transaction) GetV ¶
func (x *Transaction) GetV() *H256
func (*Transaction) GetValue ¶
func (x *Transaction) GetValue() *H256
func (*Transaction) HashTreeRoot ¶
func (t *Transaction) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the Transaction object
func (*Transaction) HashTreeRootWith ¶
func (t *Transaction) HashTreeRootWith(hh *ssz.Hasher) (err error)
HashTreeRootWith ssz hashes the Transaction object with a hasher
func (*Transaction) MarshalSSZ ¶
func (t *Transaction) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the Transaction object
func (*Transaction) MarshalSSZTo ¶
func (t *Transaction) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the Transaction object to a target array
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) ProtoReflect ¶
func (x *Transaction) ProtoReflect() protoreflect.Message
func (*Transaction) Reset ¶
func (x *Transaction) Reset()
func (*Transaction) SizeSSZ ¶
func (t *Transaction) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the Transaction object
func (*Transaction) String ¶
func (x *Transaction) String() string
func (*Transaction) UnmarshalSSZ ¶
func (t *Transaction) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the Transaction object
type Verifier ¶
type Verifier struct { PublicKey *H384 `protobuf:"bytes,1,opt,name=PublicKey,proto3" json:"PublicKey,omitempty"` Address *H160 `protobuf:"bytes,2,opt,name=Address,proto3" json:"Address,omitempty"` // contains filtered or unexported fields }
func (*Verifier) Descriptor
deprecated
func (*Verifier) GetAddress ¶
func (*Verifier) GetPublicKey ¶
func (*Verifier) HashTreeRoot ¶
HashTreeRoot ssz hashes the Verifier object
func (*Verifier) HashTreeRootWith ¶
HashTreeRootWith ssz hashes the Verifier object with a hasher
func (*Verifier) MarshalSSZ ¶
MarshalSSZ ssz marshals the Verifier object
func (*Verifier) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the Verifier object to a target array
func (*Verifier) ProtoMessage ¶
func (*Verifier) ProtoMessage()
func (*Verifier) ProtoReflect ¶
func (x *Verifier) ProtoReflect() protoreflect.Message
func (*Verifier) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the Verifier object