Documentation ¶
Index ¶
- Variables
- type Account
- type Admin
- func (*Admin) Descriptor() ([]byte, []int)deprecated
- func (x *Admin) GetBlockReward() string
- func (x *Admin) GetEpochReward() string
- func (x *Admin) GetFoundationBonus() string
- func (x *Admin) GetFoundationBonusLastEpoch() uint64
- func (x *Admin) GetNumDelegatesForEpochReward() uint64
- func (x *Admin) GetNumDelegatesForFoundationBonus() uint64
- func (x *Admin) GetProductivityThreshold() uint64
- func (*Admin) ProtoMessage()
- func (x *Admin) ProtoReflect() protoreflect.Message
- func (x *Admin) Reset()
- func (x *Admin) String() string
- type Exempt
- type Fund
- type RewardHistory
- type RewardLog
- func (*RewardLog) Descriptor() ([]byte, []int)deprecated
- func (x *RewardLog) GetAddr() string
- func (x *RewardLog) GetAmount() string
- func (x *RewardLog) GetType() RewardLog_RewardType
- func (*RewardLog) ProtoMessage()
- func (x *RewardLog) ProtoReflect() protoreflect.Message
- func (x *RewardLog) Reset()
- func (x *RewardLog) String() string
- type RewardLog_RewardType
- func (RewardLog_RewardType) Descriptor() protoreflect.EnumDescriptor
- func (x RewardLog_RewardType) Enum() *RewardLog_RewardType
- func (RewardLog_RewardType) EnumDescriptor() ([]byte, []int)deprecated
- func (x RewardLog_RewardType) Number() protoreflect.EnumNumber
- func (x RewardLog_RewardType) String() string
- func (RewardLog_RewardType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RewardLog_RewardType_name = map[int32]string{ 0: "BLOCK_REWARD", 1: "EPOCH_REWARD", 2: "FOUNDATION_BONUS", } RewardLog_RewardType_value = map[string]int32{ "BLOCK_REWARD": 0, "EPOCH_REWARD": 1, "FOUNDATION_BONUS": 2, } )
Enum value maps for RewardLog_RewardType.
View Source
var File_rewarding_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { Balance string `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"` // contains filtered or unexported fields }
func (*Account) Descriptor
deprecated
func (*Account) GetBalance ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type Admin ¶
type Admin struct { BlockReward string `protobuf:"bytes,1,opt,name=blockReward,proto3" json:"blockReward,omitempty"` EpochReward string `protobuf:"bytes,2,opt,name=epochReward,proto3" json:"epochReward,omitempty"` NumDelegatesForEpochReward uint64 `protobuf:"varint,3,opt,name=numDelegatesForEpochReward,proto3" json:"numDelegatesForEpochReward,omitempty"` FoundationBonus string `protobuf:"bytes,4,opt,name=foundationBonus,proto3" json:"foundationBonus,omitempty"` NumDelegatesForFoundationBonus uint64 `protobuf:"varint,5,opt,name=numDelegatesForFoundationBonus,proto3" json:"numDelegatesForFoundationBonus,omitempty"` FoundationBonusLastEpoch uint64 `protobuf:"varint,6,opt,name=foundationBonusLastEpoch,proto3" json:"foundationBonusLastEpoch,omitempty"` ProductivityThreshold uint64 `protobuf:"varint,7,opt,name=productivityThreshold,proto3" json:"productivityThreshold,omitempty"` // contains filtered or unexported fields }
func (*Admin) Descriptor
deprecated
func (*Admin) GetBlockReward ¶
func (*Admin) GetEpochReward ¶
func (*Admin) GetFoundationBonus ¶
func (*Admin) GetFoundationBonusLastEpoch ¶
func (*Admin) GetNumDelegatesForEpochReward ¶
func (*Admin) GetNumDelegatesForFoundationBonus ¶
func (*Admin) GetProductivityThreshold ¶
func (*Admin) ProtoMessage ¶
func (*Admin) ProtoMessage()
func (*Admin) ProtoReflect ¶
func (x *Admin) ProtoReflect() protoreflect.Message
type Exempt ¶
type Exempt struct { Addrs [][]byte `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"` // contains filtered or unexported fields }
func (*Exempt) Descriptor
deprecated
func (*Exempt) ProtoMessage ¶
func (*Exempt) ProtoMessage()
func (*Exempt) ProtoReflect ¶
func (x *Exempt) ProtoReflect() protoreflect.Message
type Fund ¶
type Fund struct { TotalBalance string `protobuf:"bytes,1,opt,name=totalBalance,proto3" json:"totalBalance,omitempty"` UnclaimedBalance string `protobuf:"bytes,2,opt,name=unclaimedBalance,proto3" json:"unclaimedBalance,omitempty"` // contains filtered or unexported fields }
func (*Fund) Descriptor
deprecated
func (*Fund) GetTotalBalance ¶
func (*Fund) GetUnclaimedBalance ¶
func (*Fund) ProtoMessage ¶
func (*Fund) ProtoMessage()
func (*Fund) ProtoReflect ¶
func (x *Fund) ProtoReflect() protoreflect.Message
type RewardHistory ¶
type RewardHistory struct {
// contains filtered or unexported fields
}
func (*RewardHistory) Descriptor
deprecated
func (*RewardHistory) Descriptor() ([]byte, []int)
Deprecated: Use RewardHistory.ProtoReflect.Descriptor instead.
func (*RewardHistory) ProtoMessage ¶
func (*RewardHistory) ProtoMessage()
func (*RewardHistory) ProtoReflect ¶
func (x *RewardHistory) ProtoReflect() protoreflect.Message
func (*RewardHistory) Reset ¶
func (x *RewardHistory) Reset()
func (*RewardHistory) String ¶
func (x *RewardHistory) String() string
type RewardLog ¶
type RewardLog struct { Type RewardLog_RewardType `protobuf:"varint,1,opt,name=type,proto3,enum=rewardingpb.RewardLog_RewardType" json:"type,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*RewardLog) Descriptor
deprecated
func (*RewardLog) GetType ¶
func (x *RewardLog) GetType() RewardLog_RewardType
func (*RewardLog) ProtoMessage ¶
func (*RewardLog) ProtoMessage()
func (*RewardLog) ProtoReflect ¶
func (x *RewardLog) ProtoReflect() protoreflect.Message
type RewardLog_RewardType ¶
type RewardLog_RewardType int32
const ( RewardLog_BLOCK_REWARD RewardLog_RewardType = 0 RewardLog_EPOCH_REWARD RewardLog_RewardType = 1 RewardLog_FOUNDATION_BONUS RewardLog_RewardType = 2 )
func (RewardLog_RewardType) Descriptor ¶
func (RewardLog_RewardType) Descriptor() protoreflect.EnumDescriptor
func (RewardLog_RewardType) Enum ¶
func (x RewardLog_RewardType) Enum() *RewardLog_RewardType
func (RewardLog_RewardType) EnumDescriptor
deprecated
func (RewardLog_RewardType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RewardLog_RewardType.Descriptor instead.
func (RewardLog_RewardType) Number ¶
func (x RewardLog_RewardType) Number() protoreflect.EnumNumber
func (RewardLog_RewardType) String ¶
func (x RewardLog_RewardType) String() string
func (RewardLog_RewardType) Type ¶
func (RewardLog_RewardType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.