stakingpb

package
v2.4.4 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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

Deprecated: Use Bucket.ProtoReflect.Descriptor instead.

func (*Bucket) GetAmount

func (x *Bucket) GetAmount() string

func (*Bucket) GetCandidate

func (x *Bucket) GetCandidate() string

func (*Bucket) GetCreatedAt

func (x *Bucket) GetCreatedAt() uint64

func (*Bucket) GetDuration

func (x *Bucket) GetDuration() uint64

func (*Bucket) GetMuted added in v2.2.0

func (x *Bucket) GetMuted() bool

func (*Bucket) GetOwner

func (x *Bucket) GetOwner() string

func (*Bucket) GetTimestamped added in v2.2.0

func (x *Bucket) GetTimestamped() bool

func (*Bucket) GetUnlockedAt

func (x *Bucket) GetUnlockedAt() uint64

func (*Bucket) GetUnstakedAt

func (x *Bucket) GetUnstakedAt() uint64

func (*Bucket) ProtoMessage

func (*Bucket) ProtoMessage()

func (*Bucket) ProtoReflect

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

func (*Bucket) Reset

func (x *Bucket) Reset()

func (*Bucket) String

func (x *Bucket) String() string

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

Deprecated: Use Candidate.ProtoReflect.Descriptor instead.

func (*Candidate) GetAddress added in v2.3.0

func (x *Candidate) GetAddress() string

func (*Candidate) GetAmount added in v2.3.0

func (x *Candidate) GetAmount() string

func (*Candidate) GetVotes added in v2.3.0

func (x *Candidate) GetVotes() string

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

func (*Candidate) Reset added in v2.3.0

func (x *Candidate) Reset()

func (*Candidate) String added in v2.3.0

func (x *Candidate) String() string

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

Jump to

Keyboard shortcuts

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