accountpb

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2021 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_account_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Account

type Account struct {

	// used by state-based model
	Nonce        uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Balance      string `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"`
	Root         []byte `protobuf:"bytes,3,opt,name=root,proto3" json:"root,omitempty"`
	CodeHash     []byte `protobuf:"bytes,4,opt,name=codeHash,proto3" json:"codeHash,omitempty"`
	IsCandidate  bool   `protobuf:"varint,5,opt,name=isCandidate,proto3" json:"isCandidate,omitempty"`
	VotingWeight []byte `protobuf:"bytes,6,opt,name=votingWeight,proto3" json:"votingWeight,omitempty"`
	// contains filtered or unexported fields
}

func (*Account) Descriptor deprecated

func (*Account) Descriptor() ([]byte, []int)

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetBalance

func (x *Account) GetBalance() string

func (*Account) GetCodeHash

func (x *Account) GetCodeHash() []byte

func (*Account) GetIsCandidate

func (x *Account) GetIsCandidate() bool

func (*Account) GetNonce

func (x *Account) GetNonce() uint64

func (*Account) GetRoot

func (x *Account) GetRoot() []byte

func (*Account) GetVotingWeight

func (x *Account) GetVotingWeight() []byte

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect added in v1.1.2

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

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

Jump to

Keyboard shortcuts

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