types_pb

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2023 License: GPL-3.0 Imports: 6 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Code generated by fastssz. DO NOT EDIT. Hash: ff4c0802b1b743077781dae4de752322633988f240bb8e40a9f01dbceed1d869

Index

Constants

This section is empty.

Variables

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Block.ProtoReflect.Descriptor instead.

func (*Block) GetBody

func (x *Block) GetBody() *Body

func (*Block) GetHeader

func (x *Block) GetHeader() *Header

func (*Block) HashTreeRoot

func (b *Block) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the Block object

func (*Block) HashTreeRootWith

func (b *Block) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the Block object with a hasher

func (*Block) MarshalSSZ

func (b *Block) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the Block object

func (*Block) MarshalSSZTo

func (b *Block) MarshalSSZTo(buf []byte) (dst []byte, err error)

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) Reset

func (x *Block) Reset()

func (*Block) SizeSSZ

func (b *Block) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the Block object

func (*Block) String

func (x *Block) String() string

func (*Block) UnmarshalSSZ

func (b *Block) UnmarshalSSZ(buf []byte) error

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) Descriptor() ([]byte, []int)

Deprecated: Use Body.ProtoReflect.Descriptor instead.

func (*Body) GetRewards

func (x *Body) GetRewards() []*Reward

func (*Body) GetTxs

func (x *Body) GetTxs() []*Transaction

func (*Body) GetVerifiers

func (x *Body) GetVerifiers() []*Verifier

func (*Body) HashTreeRoot

func (b *Body) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the Body object

func (*Body) HashTreeRootWith

func (b *Body) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the Body object with a hasher

func (*Body) MarshalSSZ

func (b *Body) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the Body object

func (*Body) MarshalSSZTo

func (b *Body) MarshalSSZTo(buf []byte) (dst []byte, err error)

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) Reset

func (x *Body) Reset()

func (*Body) SizeSSZ

func (b *Body) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the Body object

func (*Body) String

func (x *Body) String() string

func (*Body) UnmarshalSSZ

func (b *Body) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the Body 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) Descriptor() ([]byte, []int)

Deprecated: Use H128.ProtoReflect.Descriptor instead.

func (*H128) GetHi

func (x *H128) GetHi() uint64

func (*H128) GetLo

func (x *H128) GetLo() uint64

func (*H128) HashTreeRoot

func (h *H128) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the H128 object

func (*H128) HashTreeRootWith

func (h *H128) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the H128 object with a hasher

func (*H128) MarshalSSZ

func (h *H128) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the H128 object

func (*H128) MarshalSSZTo

func (h *H128) MarshalSSZTo(buf []byte) (dst []byte, err error)

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) Reset

func (x *H128) Reset()

func (*H128) SizeSSZ

func (h *H128) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the H128 object

func (*H128) String

func (x *H128) String() string

func (*H128) UnmarshalSSZ

func (h *H128) UnmarshalSSZ(buf []byte) error

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) Descriptor() ([]byte, []int)

Deprecated: Use H160.ProtoReflect.Descriptor instead.

func (*H160) GetHi

func (x *H160) GetHi() *H128

func (*H160) GetLo

func (x *H160) GetLo() uint32

func (*H160) HashTreeRoot

func (h *H160) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the H160 object

func (*H160) HashTreeRootWith

func (h *H160) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the H160 object with a hasher

func (*H160) MarshalSSZ

func (h *H160) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the H160 object

func (*H160) MarshalSSZTo

func (h *H160) MarshalSSZTo(buf []byte) (dst []byte, err error)

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) Reset

func (x *H160) Reset()

func (*H160) SizeSSZ

func (h *H160) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the H160 object

func (*H160) String

func (x *H160) String() string

func (*H160) UnmarshalSSZ

func (h *H160) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the H160 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) Descriptor() ([]byte, []int)

Deprecated: Use H256.ProtoReflect.Descriptor instead.

func (*H256) GetHi

func (x *H256) GetHi() *H128

func (*H256) GetLo

func (x *H256) GetLo() *H128

func (*H256) HashTreeRoot

func (h *H256) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the H256 object

func (*H256) HashTreeRootWith

func (h *H256) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the H256 object with a hasher

func (*H256) MarshalSSZ

func (h *H256) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the H256 object

func (*H256) MarshalSSZTo

func (h *H256) MarshalSSZTo(buf []byte) (dst []byte, err error)

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) Reset

func (x *H256) Reset()

func (*H256) SizeSSZ

func (h *H256) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the H256 object

func (*H256) String

func (x *H256) String() string

func (*H256) UnmarshalSSZ

func (h *H256) UnmarshalSSZ(buf []byte) error

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) Descriptor() ([]byte, []int)

Deprecated: Use H384.ProtoReflect.Descriptor instead.

func (*H384) GetHi

func (x *H384) GetHi() *H256

func (*H384) GetLo

func (x *H384) GetLo() *H128

func (*H384) HashTreeRoot

func (h *H384) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the H384 object

func (*H384) HashTreeRootWith

func (h *H384) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the H384 object with a hasher

func (*H384) MarshalSSZ

func (h *H384) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the H384 object

func (*H384) MarshalSSZTo

func (h *H384) MarshalSSZTo(buf []byte) (dst []byte, err error)

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) Reset

func (x *H384) Reset()

func (*H384) SizeSSZ

func (h *H384) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the H384 object

func (*H384) String

func (x *H384) String() string

func (*H384) UnmarshalSSZ

func (h *H384) UnmarshalSSZ(buf []byte) error

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) Descriptor() ([]byte, []int)

Deprecated: Use H512.ProtoReflect.Descriptor instead.

func (*H512) GetHi

func (x *H512) GetHi() *H256

func (*H512) GetLo

func (x *H512) GetLo() *H256

func (*H512) HashTreeRoot

func (h *H512) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the H512 object

func (*H512) HashTreeRootWith

func (h *H512) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the H512 object with a hasher

func (*H512) MarshalSSZ

func (h *H512) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the H512 object

func (*H512) MarshalSSZTo

func (h *H512) MarshalSSZTo(buf []byte) (dst []byte, err error)

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) Reset

func (x *H512) Reset()

func (*H512) SizeSSZ

func (h *H512) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the H512 object

func (*H512) String

func (x *H512) String() string

func (*H512) UnmarshalSSZ

func (h *H512) UnmarshalSSZ(buf []byte) error

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) Descriptor() ([]byte, []int)

Deprecated: Use H768.ProtoReflect.Descriptor instead.

func (*H768) GetHi

func (x *H768) GetHi() *H384

func (*H768) GetLo

func (x *H768) GetLo() *H384

func (*H768) HashTreeRoot

func (h *H768) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the H768 object

func (*H768) HashTreeRootWith

func (h *H768) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the H768 object with a hasher

func (*H768) MarshalSSZ

func (h *H768) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the H768 object

func (*H768) MarshalSSZTo

func (h *H768) MarshalSSZTo(buf []byte) (dst []byte, err error)

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) Reset

func (x *H768) Reset()

func (*H768) SizeSSZ

func (h *H768) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the H768 object

func (*H768) String

func (x *H768) String() string

func (*H768) UnmarshalSSZ

func (h *H768) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the H768 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) Descriptor() ([]byte, []int)

Deprecated: Use H1024.ProtoReflect.Descriptor instead.

func (*H1024) GetHi

func (x *H1024) GetHi() *H512

func (*H1024) GetLo

func (x *H1024) GetLo() *H512

func (*H1024) HashTreeRoot

func (h *H1024) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the H1024 object

func (*H1024) HashTreeRootWith

func (h *H1024) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the H1024 object with a hasher

func (*H1024) MarshalSSZ

func (h *H1024) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the H1024 object

func (*H1024) MarshalSSZTo

func (h *H1024) MarshalSSZTo(buf []byte) (dst []byte, err error)

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) Reset

func (x *H1024) Reset()

func (*H1024) SizeSSZ

func (h *H1024) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the H1024 object

func (*H1024) String

func (x *H1024) String() string

func (*H1024) UnmarshalSSZ

func (h *H1024) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the H1024 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) Descriptor() ([]byte, []int)

Deprecated: Use H2048.ProtoReflect.Descriptor instead.

func (*H2048) GetHi

func (x *H2048) GetHi() *H1024

func (*H2048) GetLo

func (x *H2048) GetLo() *H1024

func (*H2048) HashTreeRoot

func (h *H2048) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the H2048 object

func (*H2048) HashTreeRootWith

func (h *H2048) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the H2048 object with a hasher

func (*H2048) MarshalSSZ

func (h *H2048) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the H2048 object

func (*H2048) MarshalSSZTo

func (h *H2048) MarshalSSZTo(buf []byte) (dst []byte, err error)

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) Reset

func (x *H2048) Reset()

func (*H2048) SizeSSZ

func (h *H2048) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the H2048 object

func (*H2048) String

func (x *H2048) String() string

func (*H2048) UnmarshalSSZ

func (h *H2048) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the H2048 object

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) Descriptor() ([]byte, []int)

Deprecated: Use Header.ProtoReflect.Descriptor instead.

func (*Header) GetBaseFee

func (x *Header) GetBaseFee() *H256

func (*Header) GetBloom

func (x *Header) GetBloom() *H2048

func (*Header) GetCoinbase

func (x *Header) GetCoinbase() *H160

func (*Header) GetDifficulty

func (x *Header) GetDifficulty() *H256

func (*Header) GetExtra

func (x *Header) GetExtra() []byte

func (*Header) GetGasLimit

func (x *Header) GetGasLimit() uint64

func (*Header) GetGasUsed

func (x *Header) GetGasUsed() uint64

func (*Header) GetMixDigest

func (x *Header) GetMixDigest() *H256

func (*Header) GetNonce

func (x *Header) GetNonce() uint64

func (*Header) GetNumber

func (x *Header) GetNumber() *H256

func (*Header) GetParentHash

func (x *Header) GetParentHash() *H256

func (*Header) GetReceiptHash

func (x *Header) GetReceiptHash() *H256

func (*Header) GetRoot

func (x *Header) GetRoot() *H256

func (*Header) GetSignature

func (x *Header) GetSignature() *H768

func (*Header) GetTime

func (x *Header) GetTime() uint64

func (*Header) GetTxHash

func (x *Header) GetTxHash() *H256

func (*Header) HashTreeRoot

func (h *Header) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the Header object

func (*Header) HashTreeRootWith

func (h *Header) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the Header object with a hasher

func (*Header) MarshalSSZ

func (h *Header) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the Header object

func (*Header) MarshalSSZTo

func (h *Header) MarshalSSZTo(buf []byte) (dst []byte, err error)

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) Reset

func (x *Header) Reset()

func (*Header) SizeSSZ

func (h *Header) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the Header object

func (*Header) String

func (x *Header) String() string

func (*Header) UnmarshalSSZ

func (h *Header) UnmarshalSSZ(buf []byte) error

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) Descriptor() ([]byte, []int)

Deprecated: Use Log.ProtoReflect.Descriptor instead.

func (*Log) GetAddress

func (x *Log) GetAddress() *H160

func (*Log) GetBlockHash

func (x *Log) GetBlockHash() *H256

func (*Log) GetBlockNumber

func (x *Log) GetBlockNumber() *H256

func (*Log) GetData

func (x *Log) GetData() []byte

func (*Log) GetIndex

func (x *Log) GetIndex() uint64

func (*Log) GetRemoved

func (x *Log) GetRemoved() bool

func (*Log) GetTopics

func (x *Log) GetTopics() []*H256

func (*Log) GetTxHash

func (x *Log) GetTxHash() *H256

func (*Log) GetTxIndex

func (x *Log) GetTxIndex() uint64

func (*Log) ProtoMessage

func (*Log) ProtoMessage()

func (*Log) ProtoReflect

func (x *Log) ProtoReflect() protoreflect.Message

func (*Log) Reset

func (x *Log) Reset()

func (*Log) String

func (x *Log) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Logs.ProtoReflect.Descriptor instead.

func (*Logs) GetLogs

func (x *Logs) GetLogs() []*Log

func (*Logs) ProtoMessage

func (*Logs) ProtoMessage()

func (*Logs) ProtoReflect

func (x *Logs) ProtoReflect() protoreflect.Message

func (*Logs) Reset

func (x *Logs) Reset()

func (*Logs) String

func (x *Logs) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Receipt.ProtoReflect.Descriptor instead.

func (*Receipt) GetBlockHash

func (x *Receipt) GetBlockHash() *H256

func (*Receipt) GetBlockNumber

func (x *Receipt) GetBlockNumber() *H256

func (*Receipt) GetBloom

func (x *Receipt) GetBloom() *H2048

func (*Receipt) GetContractAddress

func (x *Receipt) GetContractAddress() *H160

func (*Receipt) GetCumulativeGasUsed

func (x *Receipt) GetCumulativeGasUsed() uint64

func (*Receipt) GetGasUsed

func (x *Receipt) GetGasUsed() uint64

func (*Receipt) GetLogs

func (x *Receipt) GetLogs() []*Log

func (*Receipt) GetPostState

func (x *Receipt) GetPostState() []byte

func (*Receipt) GetStatus

func (x *Receipt) GetStatus() uint64

func (*Receipt) GetTransactionIndex

func (x *Receipt) GetTransactionIndex() uint64

func (*Receipt) GetTxHash

func (x *Receipt) GetTxHash() *H256

func (*Receipt) GetType

func (x *Receipt) GetType() uint32

func (*Receipt) ProtoMessage

func (*Receipt) ProtoMessage()

func (*Receipt) ProtoReflect

func (x *Receipt) ProtoReflect() protoreflect.Message

func (*Receipt) Reset

func (x *Receipt) Reset()

func (*Receipt) String

func (x *Receipt) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Receipts.ProtoReflect.Descriptor instead.

func (*Receipts) GetReceipts

func (x *Receipts) GetReceipts() []*Receipt

func (*Receipts) ProtoMessage

func (*Receipts) ProtoMessage()

func (*Receipts) ProtoReflect

func (x *Receipts) ProtoReflect() protoreflect.Message

func (*Receipts) Reset

func (x *Receipts) Reset()

func (*Receipts) String

func (x *Receipts) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Reward.ProtoReflect.Descriptor instead.

func (*Reward) GetAddress

func (x *Reward) GetAddress() *H160

func (*Reward) GetAmount

func (x *Reward) GetAmount() *H256

func (*Reward) HashTreeRoot

func (r *Reward) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the Reward object

func (*Reward) HashTreeRootWith

func (r *Reward) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the Reward object with a hasher

func (*Reward) MarshalSSZ

func (r *Reward) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the Reward object

func (*Reward) MarshalSSZTo

func (r *Reward) MarshalSSZTo(buf []byte) (dst []byte, err error)

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) Reset

func (x *Reward) Reset()

func (*Reward) SizeSSZ

func (r *Reward) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the Reward object

func (*Reward) String

func (x *Reward) String() string

func (*Reward) UnmarshalSSZ

func (r *Reward) UnmarshalSSZ(buf []byte) error

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) Descriptor() ([]byte, []int)

Deprecated: Use Verifier.ProtoReflect.Descriptor instead.

func (*Verifier) GetAddress

func (x *Verifier) GetAddress() *H160

func (*Verifier) GetPublicKey

func (x *Verifier) GetPublicKey() *H384

func (*Verifier) HashTreeRoot

func (v *Verifier) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the Verifier object

func (*Verifier) HashTreeRootWith

func (v *Verifier) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the Verifier object with a hasher

func (*Verifier) MarshalSSZ

func (v *Verifier) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the Verifier object

func (*Verifier) MarshalSSZTo

func (v *Verifier) MarshalSSZTo(buf []byte) (dst []byte, err error)

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) Reset

func (x *Verifier) Reset()

func (*Verifier) SizeSSZ

func (v *Verifier) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the Verifier object

func (*Verifier) String

func (x *Verifier) String() string

func (*Verifier) UnmarshalSSZ

func (v *Verifier) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the Verifier object

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL