Documentation
¶
Index ¶
- Variables
- type Bucket
- func (*Bucket) Descriptor() ([]byte, []int)deprecated
- func (x *Bucket) GetAmount() string
- func (x *Bucket) GetCandidate() string
- func (x *Bucket) GetCreatedAt() uint64
- func (x *Bucket) GetDuration() uint64
- func (x *Bucket) GetMuted() bool
- func (x *Bucket) GetOwner() string
- func (x *Bucket) GetTimestamped() bool
- func (x *Bucket) GetUnlockedAt() uint64
- func (x *Bucket) GetUnstakedAt() uint64
- func (*Bucket) ProtoMessage()
- func (x *Bucket) ProtoReflect() protoreflect.Message
- func (x *Bucket) Reset()
- func (x *Bucket) String() string
- type Candidate
- func (*Candidate) Descriptor() ([]byte, []int)deprecated
- func (x *Candidate) GetAddress() string
- func (x *Candidate) GetAmount() string
- func (x *Candidate) GetVotes() string
- func (*Candidate) ProtoMessage()
- func (x *Candidate) ProtoReflect() protoreflect.Message
- func (x *Candidate) Reset()
- func (x *Candidate) String() string
- type CandidateList
Constants ¶
This section is empty.
Variables ¶
View Source
var File_systemcontractindex_stakingindex_stakingpb_staking_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Bucket ¶
type Bucket struct {
Candidate string `protobuf:"bytes,1,opt,name=candidate,proto3" json:"candidate,omitempty"`
Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
Duration uint64 `protobuf:"varint,4,opt,name=duration,proto3" json:"duration,omitempty"`
CreatedAt uint64 `protobuf:"varint,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
UnlockedAt uint64 `protobuf:"varint,6,opt,name=unlockedAt,proto3" json:"unlockedAt,omitempty"`
UnstakedAt uint64 `protobuf:"varint,7,opt,name=unstakedAt,proto3" json:"unstakedAt,omitempty"`
Muted bool `protobuf:"varint,8,opt,name=muted,proto3" json:"muted,omitempty"`
Timestamped bool `protobuf:"varint,9,opt,name=timestamped,proto3" json:"timestamped,omitempty"`
// contains filtered or unexported fields
}
func (*Bucket) Descriptor
deprecated
func (*Bucket) GetCandidate ¶
func (*Bucket) GetCreatedAt ¶
func (*Bucket) GetDuration ¶
func (*Bucket) GetTimestamped ¶ added in v2.2.0
func (*Bucket) GetUnlockedAt ¶
func (*Bucket) GetUnstakedAt ¶
func (*Bucket) ProtoMessage ¶
func (*Bucket) ProtoMessage()
func (*Bucket) ProtoReflect ¶
func (x *Bucket) ProtoReflect() protoreflect.Message
type Candidate ¶ added in v2.3.0
type Candidate struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Votes string `protobuf:"bytes,2,opt,name=votes,proto3" json:"votes,omitempty"`
Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
// contains filtered or unexported fields
}
func (*Candidate) Descriptor
deprecated
added in
v2.3.0
func (*Candidate) GetAddress ¶ added in v2.3.0
func (*Candidate) ProtoMessage ¶ added in v2.3.0
func (*Candidate) ProtoMessage()
func (*Candidate) ProtoReflect ¶ added in v2.3.0
func (x *Candidate) ProtoReflect() protoreflect.Message
type CandidateList ¶ added in v2.3.0
type CandidateList struct {
Candidates []*Candidate `protobuf:"bytes,1,rep,name=candidates,proto3" json:"candidates,omitempty"`
// contains filtered or unexported fields
}
func (*CandidateList) Descriptor
deprecated
added in
v2.3.0
func (*CandidateList) Descriptor() ([]byte, []int)
Deprecated: Use CandidateList.ProtoReflect.Descriptor instead.
func (*CandidateList) GetCandidates ¶ added in v2.3.0
func (x *CandidateList) GetCandidates() []*Candidate
func (*CandidateList) ProtoMessage ¶ added in v2.3.0
func (*CandidateList) ProtoMessage()
func (*CandidateList) ProtoReflect ¶ added in v2.3.0
func (x *CandidateList) ProtoReflect() protoreflect.Message
func (*CandidateList) Reset ¶ added in v2.3.0
func (x *CandidateList) Reset()
func (*CandidateList) String ¶ added in v2.3.0
func (x *CandidateList) String() string
Click to show internal directories.
Click to hide internal directories.