Documentation ¶
Index ¶
- type Account
- func (*Account) Descriptor() ([]byte, []int)
- func (m *Account) GetBalance() string
- func (m *Account) GetCodeHash() []byte
- func (m *Account) GetIsCandidate() bool
- func (m *Account) GetNonce() uint64
- func (m *Account) GetRoot() []byte
- func (m *Account) GetVotee() string
- func (m *Account) GetVotingWeight() []byte
- func (*Account) ProtoMessage()
- func (m *Account) Reset()
- func (m *Account) String() string
- func (m *Account) XXX_DiscardUnknown()
- func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Account) XXX_Merge(src proto.Message)
- func (m *Account) XXX_Size() int
- func (m *Account) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { // used by state-based model Nonce uint64 `protobuf:"varint,1,opt,name=nonce" json:"nonce,omitempty"` Balance string `protobuf:"bytes,2,opt,name=balance" 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" json:"isCandidate,omitempty"` VotingWeight []byte `protobuf:"bytes,6,opt,name=votingWeight,proto3" json:"votingWeight,omitempty"` Votee string `protobuf:"bytes,7,opt,name=votee" json:"votee,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Account) Descriptor ¶
func (*Account) GetBalance ¶
func (*Account) GetCodeHash ¶
func (*Account) GetIsCandidate ¶
func (*Account) GetVotingWeight ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) XXX_DiscardUnknown ¶
func (m *Account) XXX_DiscardUnknown()
func (*Account) XXX_Marshal ¶
func (*Account) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.