Documentation ¶
Index ¶
- type Bucket
- func (*Bucket) Descriptor() ([]byte, []int)
- func (m *Bucket) GetAutoStake() bool
- func (m *Bucket) GetCandidateAddress() string
- func (m *Bucket) GetCreateTime() *timestamp.Timestamp
- func (m *Bucket) GetOwner() string
- func (m *Bucket) GetStakeStartTime() *timestamp.Timestamp
- func (m *Bucket) GetStakedAmount() string
- func (m *Bucket) GetStakedDuration() uint32
- func (m *Bucket) GetUnstakeStartTime() *timestamp.Timestamp
- func (*Bucket) ProtoMessage()
- func (m *Bucket) Reset()
- func (m *Bucket) String() string
- func (m *Bucket) XXX_DiscardUnknown()
- func (m *Bucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bucket) XXX_Merge(src proto.Message)
- func (m *Bucket) XXX_Size() int
- func (m *Bucket) XXX_Unmarshal(b []byte) error
- type BucketIndices
- func (*BucketIndices) Descriptor() ([]byte, []int)
- func (m *BucketIndices) GetIndices() []uint64
- func (*BucketIndices) ProtoMessage()
- func (m *BucketIndices) Reset()
- func (m *BucketIndices) String() string
- func (m *BucketIndices) XXX_DiscardUnknown()
- func (m *BucketIndices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BucketIndices) XXX_Merge(src proto.Message)
- func (m *BucketIndices) XXX_Size() int
- func (m *BucketIndices) XXX_Unmarshal(b []byte) error
- type Candidate
- func (*Candidate) Descriptor() ([]byte, []int)
- func (m *Candidate) GetName() string
- func (m *Candidate) GetOperatorAddress() string
- func (m *Candidate) GetOwnerAddress() string
- func (m *Candidate) GetRewardAddress() string
- func (m *Candidate) GetSelfStake() string
- func (m *Candidate) GetSelfStakeBucketIdx() uint64
- func (m *Candidate) GetVotes() string
- func (*Candidate) ProtoMessage()
- func (m *Candidate) Reset()
- func (m *Candidate) String() string
- func (m *Candidate) XXX_DiscardUnknown()
- func (m *Candidate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Candidate) XXX_Merge(src proto.Message)
- func (m *Candidate) XXX_Size() int
- func (m *Candidate) XXX_Unmarshal(b []byte) error
- type Candidates
- func (*Candidates) Descriptor() ([]byte, []int)
- func (m *Candidates) GetCandidates() []*Candidate
- func (*Candidates) ProtoMessage()
- func (m *Candidates) Reset()
- func (m *Candidates) String() string
- func (m *Candidates) XXX_DiscardUnknown()
- func (m *Candidates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Candidates) XXX_Merge(src proto.Message)
- func (m *Candidates) XXX_Size() int
- func (m *Candidates) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bucket ¶
type Bucket struct { CandidateAddress string `protobuf:"bytes,1,opt,name=candidateAddress,proto3" json:"candidateAddress,omitempty"` StakedAmount string `protobuf:"bytes,2,opt,name=stakedAmount,proto3" json:"stakedAmount,omitempty"` StakedDuration uint32 `protobuf:"varint,3,opt,name=stakedDuration,proto3" json:"stakedDuration,omitempty"` CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=createTime,proto3" json:"createTime,omitempty"` StakeStartTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=stakeStartTime,proto3" json:"stakeStartTime,omitempty"` UnstakeStartTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=unstakeStartTime,proto3" json:"unstakeStartTime,omitempty"` AutoStake bool `protobuf:"varint,7,opt,name=autoStake,proto3" json:"autoStake,omitempty"` Owner string `protobuf:"bytes,8,opt,name=owner,proto3" json:"owner,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Bucket) Descriptor ¶
func (*Bucket) GetAutoStake ¶
func (*Bucket) GetCandidateAddress ¶
func (*Bucket) GetCreateTime ¶
func (*Bucket) GetStakeStartTime ¶
func (*Bucket) GetStakedAmount ¶
func (*Bucket) GetStakedDuration ¶
func (*Bucket) GetUnstakeStartTime ¶
func (*Bucket) ProtoMessage ¶
func (*Bucket) ProtoMessage()
func (*Bucket) XXX_DiscardUnknown ¶
func (m *Bucket) XXX_DiscardUnknown()
func (*Bucket) XXX_Marshal ¶
func (*Bucket) XXX_Unmarshal ¶
type BucketIndices ¶
type BucketIndices struct { Indices []uint64 `protobuf:"varint,1,rep,packed,name=indices,proto3" json:"indices,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BucketIndices) Descriptor ¶
func (*BucketIndices) Descriptor() ([]byte, []int)
func (*BucketIndices) GetIndices ¶
func (m *BucketIndices) GetIndices() []uint64
func (*BucketIndices) ProtoMessage ¶
func (*BucketIndices) ProtoMessage()
func (*BucketIndices) Reset ¶
func (m *BucketIndices) Reset()
func (*BucketIndices) String ¶
func (m *BucketIndices) String() string
func (*BucketIndices) XXX_DiscardUnknown ¶
func (m *BucketIndices) XXX_DiscardUnknown()
func (*BucketIndices) XXX_Marshal ¶
func (m *BucketIndices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BucketIndices) XXX_Merge ¶
func (m *BucketIndices) XXX_Merge(src proto.Message)
func (*BucketIndices) XXX_Size ¶
func (m *BucketIndices) XXX_Size() int
func (*BucketIndices) XXX_Unmarshal ¶
func (m *BucketIndices) XXX_Unmarshal(b []byte) error
type Candidate ¶
type Candidate struct { OwnerAddress string `protobuf:"bytes,1,opt,name=ownerAddress,proto3" json:"ownerAddress,omitempty"` OperatorAddress string `protobuf:"bytes,2,opt,name=operatorAddress,proto3" json:"operatorAddress,omitempty"` RewardAddress string `protobuf:"bytes,3,opt,name=rewardAddress,proto3" json:"rewardAddress,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Votes string `protobuf:"bytes,5,opt,name=votes,proto3" json:"votes,omitempty"` SelfStakeBucketIdx uint64 `protobuf:"varint,6,opt,name=selfStakeBucketIdx,proto3" json:"selfStakeBucketIdx,omitempty"` SelfStake string `protobuf:"bytes,7,opt,name=selfStake,proto3" json:"selfStake,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Candidate) Descriptor ¶
func (*Candidate) GetOperatorAddress ¶
func (*Candidate) GetOwnerAddress ¶
func (*Candidate) GetRewardAddress ¶
func (*Candidate) GetSelfStake ¶
func (*Candidate) GetSelfStakeBucketIdx ¶
func (*Candidate) ProtoMessage ¶
func (*Candidate) ProtoMessage()
func (*Candidate) XXX_DiscardUnknown ¶
func (m *Candidate) XXX_DiscardUnknown()
func (*Candidate) XXX_Marshal ¶
func (*Candidate) XXX_Unmarshal ¶
type Candidates ¶
type Candidates struct { Candidates []*Candidate `protobuf:"bytes,1,rep,name=candidates,proto3" json:"candidates,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Candidates) Descriptor ¶
func (*Candidates) Descriptor() ([]byte, []int)
func (*Candidates) GetCandidates ¶
func (m *Candidates) GetCandidates() []*Candidate
func (*Candidates) ProtoMessage ¶
func (*Candidates) ProtoMessage()
func (*Candidates) Reset ¶
func (m *Candidates) Reset()
func (*Candidates) String ¶
func (m *Candidates) String() string
func (*Candidates) XXX_DiscardUnknown ¶
func (m *Candidates) XXX_DiscardUnknown()
func (*Candidates) XXX_Marshal ¶
func (m *Candidates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Candidates) XXX_Merge ¶
func (m *Candidates) XXX_Merge(src proto.Message)
func (*Candidates) XXX_Size ¶
func (m *Candidates) XXX_Size() int
func (*Candidates) XXX_Unmarshal ¶
func (m *Candidates) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.