iotex-core: github.com/iotexproject/iotex-core/action/protocol/staking/stakingpb Index | Files

package stakingpb

import "github.com/iotexproject/iotex-core/action/protocol/staking/stakingpb"

Index

Package Files

staking.pb.go

type Bucket Uses

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 Uses

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

func (*Bucket) GetAutoStake Uses

func (m *Bucket) GetAutoStake() bool

func (*Bucket) GetCandidateAddress Uses

func (m *Bucket) GetCandidateAddress() string

func (*Bucket) GetCreateTime Uses

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

func (*Bucket) GetIndex Uses

func (m *Bucket) GetIndex() uint64

func (*Bucket) GetOwner Uses

func (m *Bucket) GetOwner() string

func (*Bucket) GetStakeStartTime Uses

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

func (*Bucket) GetStakedAmount Uses

func (m *Bucket) GetStakedAmount() string

func (*Bucket) GetStakedDuration Uses

func (m *Bucket) GetStakedDuration() uint32

func (*Bucket) GetUnstakeStartTime Uses

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

func (*Bucket) ProtoMessage Uses

func (*Bucket) ProtoMessage()

func (*Bucket) Reset Uses

func (m *Bucket) Reset()

func (*Bucket) String Uses

func (m *Bucket) String() string

func (*Bucket) XXX_DiscardUnknown Uses

func (m *Bucket) XXX_DiscardUnknown()

func (*Bucket) XXX_Marshal Uses

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

func (*Bucket) XXX_Merge Uses

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

func (*Bucket) XXX_Size Uses

func (m *Bucket) XXX_Size() int

func (*Bucket) XXX_Unmarshal Uses

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

type BucketIndices Uses

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 Uses

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

func (*BucketIndices) GetIndices Uses

func (m *BucketIndices) GetIndices() []uint64

func (*BucketIndices) ProtoMessage Uses

func (*BucketIndices) ProtoMessage()

func (*BucketIndices) Reset Uses

func (m *BucketIndices) Reset()

func (*BucketIndices) String Uses

func (m *BucketIndices) String() string

func (*BucketIndices) XXX_DiscardUnknown Uses

func (m *BucketIndices) XXX_DiscardUnknown()

func (*BucketIndices) XXX_Marshal Uses

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

func (*BucketIndices) XXX_Merge Uses

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

func (*BucketIndices) XXX_Size Uses

func (m *BucketIndices) XXX_Size() int

func (*BucketIndices) XXX_Unmarshal Uses

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

type Candidate Uses

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 Uses

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

func (*Candidate) GetName Uses

func (m *Candidate) GetName() string

func (*Candidate) GetOperatorAddress Uses

func (m *Candidate) GetOperatorAddress() string

func (*Candidate) GetOwnerAddress Uses

func (m *Candidate) GetOwnerAddress() string

func (*Candidate) GetRewardAddress Uses

func (m *Candidate) GetRewardAddress() string

func (*Candidate) GetSelfStake Uses

func (m *Candidate) GetSelfStake() string

func (*Candidate) GetSelfStakeBucketIdx Uses

func (m *Candidate) GetSelfStakeBucketIdx() uint64

func (*Candidate) GetVotes Uses

func (m *Candidate) GetVotes() string

func (*Candidate) ProtoMessage Uses

func (*Candidate) ProtoMessage()

func (*Candidate) Reset Uses

func (m *Candidate) Reset()

func (*Candidate) String Uses

func (m *Candidate) String() string

func (*Candidate) XXX_DiscardUnknown Uses

func (m *Candidate) XXX_DiscardUnknown()

func (*Candidate) XXX_Marshal Uses

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

func (*Candidate) XXX_Merge Uses

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

func (*Candidate) XXX_Size Uses

func (m *Candidate) XXX_Size() int

func (*Candidate) XXX_Unmarshal Uses

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

type Candidates Uses

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 Uses

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

func (*Candidates) GetCandidates Uses

func (m *Candidates) GetCandidates() []*Candidate

func (*Candidates) ProtoMessage Uses

func (*Candidates) ProtoMessage()

func (*Candidates) Reset Uses

func (m *Candidates) Reset()

func (*Candidates) String Uses

func (m *Candidates) String() string

func (*Candidates) XXX_DiscardUnknown Uses

func (m *Candidates) XXX_DiscardUnknown()

func (*Candidates) XXX_Marshal Uses

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

func (*Candidates) XXX_Merge Uses

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

func (*Candidates) XXX_Size Uses

func (m *Candidates) XXX_Size() int

func (*Candidates) XXX_Unmarshal Uses

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

Package stakingpb imports 4 packages (graph) and is imported by 1 packages. Updated 2020-04-06. Refresh now. Tools for package owners.