stakingpb

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bucket

type Bucket struct {
	Index                uint64               `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	CandidateAddress     string               `protobuf:"bytes,2,opt,name=candidateAddress,proto3" json:"candidateAddress,omitempty"`
	StakedAmount         string               `protobuf:"bytes,3,opt,name=stakedAmount,proto3" json:"stakedAmount,omitempty"`
	StakedDuration       uint32               `protobuf:"varint,4,opt,name=stakedDuration,proto3" json:"stakedDuration,omitempty"`
	CreateTime           *timestamp.Timestamp `protobuf:"bytes,5,opt,name=createTime,proto3" json:"createTime,omitempty"`
	StakeStartTime       *timestamp.Timestamp `protobuf:"bytes,6,opt,name=stakeStartTime,proto3" json:"stakeStartTime,omitempty"`
	UnstakeStartTime     *timestamp.Timestamp `protobuf:"bytes,7,opt,name=unstakeStartTime,proto3" json:"unstakeStartTime,omitempty"`
	AutoStake            bool                 `protobuf:"varint,8,opt,name=autoStake,proto3" json:"autoStake,omitempty"`
	Owner                string               `protobuf:"bytes,9,opt,name=owner,proto3" json:"owner,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Bucket) Descriptor

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

func (*Bucket) GetAutoStake

func (m *Bucket) GetAutoStake() bool

func (*Bucket) GetCandidateAddress

func (m *Bucket) GetCandidateAddress() string

func (*Bucket) GetCreateTime

func (m *Bucket) GetCreateTime() *timestamp.Timestamp

func (*Bucket) GetIndex added in v1.0.0

func (m *Bucket) GetIndex() uint64

func (*Bucket) GetOwner

func (m *Bucket) GetOwner() string

func (*Bucket) GetStakeStartTime

func (m *Bucket) GetStakeStartTime() *timestamp.Timestamp

func (*Bucket) GetStakedAmount

func (m *Bucket) GetStakedAmount() string

func (*Bucket) GetStakedDuration

func (m *Bucket) GetStakedDuration() uint32

func (*Bucket) GetUnstakeStartTime

func (m *Bucket) GetUnstakeStartTime() *timestamp.Timestamp

func (*Bucket) ProtoMessage

func (*Bucket) ProtoMessage()

func (*Bucket) Reset

func (m *Bucket) Reset()

func (*Bucket) String

func (m *Bucket) String() string

func (*Bucket) XXX_DiscardUnknown

func (m *Bucket) XXX_DiscardUnknown()

func (*Bucket) XXX_Marshal

func (m *Bucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Bucket) XXX_Merge

func (m *Bucket) XXX_Merge(src proto.Message)

func (*Bucket) XXX_Size

func (m *Bucket) XXX_Size() int

func (*Bucket) XXX_Unmarshal

func (m *Bucket) XXX_Unmarshal(b []byte) error

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

func (*Candidate) GetName

func (m *Candidate) GetName() string

func (*Candidate) GetOperatorAddress

func (m *Candidate) GetOperatorAddress() string

func (*Candidate) GetOwnerAddress

func (m *Candidate) GetOwnerAddress() string

func (*Candidate) GetRewardAddress

func (m *Candidate) GetRewardAddress() string

func (*Candidate) GetSelfStake

func (m *Candidate) GetSelfStake() string

func (*Candidate) GetSelfStakeBucketIdx

func (m *Candidate) GetSelfStakeBucketIdx() uint64

func (*Candidate) GetVotes

func (m *Candidate) GetVotes() string

func (*Candidate) ProtoMessage

func (*Candidate) ProtoMessage()

func (*Candidate) Reset

func (m *Candidate) Reset()

func (*Candidate) String

func (m *Candidate) String() string

func (*Candidate) XXX_DiscardUnknown

func (m *Candidate) XXX_DiscardUnknown()

func (*Candidate) XXX_Marshal

func (m *Candidate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Candidate) XXX_Merge

func (m *Candidate) XXX_Merge(src proto.Message)

func (*Candidate) XXX_Size

func (m *Candidate) XXX_Size() int

func (*Candidate) XXX_Unmarshal

func (m *Candidate) XXX_Unmarshal(b []byte) error

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

Jump to

Keyboard shortcuts

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