rewardingpb

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2022 License: Apache-2.0 Imports: 4 Imported by: 5

Documentation

Index

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

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetBalance

func (x *Account) GetBalance() string

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect added in v1.1.2

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

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

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

Deprecated: Use Admin.ProtoReflect.Descriptor instead.

func (*Admin) GetBlockReward

func (x *Admin) GetBlockReward() string

func (*Admin) GetEpochReward

func (x *Admin) GetEpochReward() string

func (*Admin) GetFoundationBonus added in v0.5.0

func (x *Admin) GetFoundationBonus() string

func (*Admin) GetFoundationBonusLastEpoch added in v0.5.0

func (x *Admin) GetFoundationBonusLastEpoch() uint64

func (*Admin) GetNumDelegatesForEpochReward added in v0.5.0

func (x *Admin) GetNumDelegatesForEpochReward() uint64

func (*Admin) GetNumDelegatesForFoundationBonus added in v0.5.0

func (x *Admin) GetNumDelegatesForFoundationBonus() uint64

func (*Admin) GetProductivityThreshold added in v0.5.0

func (x *Admin) GetProductivityThreshold() uint64

func (*Admin) ProtoMessage

func (*Admin) ProtoMessage()

func (*Admin) ProtoReflect added in v1.1.2

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

func (*Admin) Reset

func (x *Admin) Reset()

func (*Admin) String

func (x *Admin) String() string

type Exempt added in v0.5.0

type Exempt struct {
	Addrs [][]byte `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"`
	// contains filtered or unexported fields
}

func (*Exempt) Descriptor deprecated added in v0.5.0

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

Deprecated: Use Exempt.ProtoReflect.Descriptor instead.

func (*Exempt) GetAddrs added in v0.5.0

func (x *Exempt) GetAddrs() [][]byte

func (*Exempt) ProtoMessage added in v0.5.0

func (*Exempt) ProtoMessage()

func (*Exempt) ProtoReflect added in v1.1.2

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

func (*Exempt) Reset added in v0.5.0

func (x *Exempt) Reset()

func (*Exempt) String added in v0.5.0

func (x *Exempt) String() string

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

Deprecated: Use Fund.ProtoReflect.Descriptor instead.

func (*Fund) GetTotalBalance

func (x *Fund) GetTotalBalance() string

func (*Fund) GetUnclaimedBalance

func (x *Fund) GetUnclaimedBalance() string

func (*Fund) ProtoMessage

func (*Fund) ProtoMessage()

func (*Fund) ProtoReflect added in v1.1.2

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

func (*Fund) Reset

func (x *Fund) Reset()

func (*Fund) String

func (x *Fund) String() string

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 added in v1.1.2

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

func (*RewardHistory) Reset

func (x *RewardHistory) Reset()

func (*RewardHistory) String

func (x *RewardHistory) String() string

type RewardLog added in v0.5.0

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 added in v0.5.0

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

Deprecated: Use RewardLog.ProtoReflect.Descriptor instead.

func (*RewardLog) GetAddr added in v0.5.0

func (x *RewardLog) GetAddr() string

func (*RewardLog) GetAmount added in v0.5.0

func (x *RewardLog) GetAmount() string

func (*RewardLog) GetType added in v0.5.0

func (x *RewardLog) GetType() RewardLog_RewardType

func (*RewardLog) ProtoMessage added in v0.5.0

func (*RewardLog) ProtoMessage()

func (*RewardLog) ProtoReflect added in v1.1.2

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

func (*RewardLog) Reset added in v0.5.0

func (x *RewardLog) Reset()

func (*RewardLog) String added in v0.5.0

func (x *RewardLog) String() string

type RewardLog_RewardType added in v0.5.0

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 added in v1.1.2

func (RewardLog_RewardType) Enum added in v1.1.2

func (RewardLog_RewardType) EnumDescriptor deprecated added in v0.5.0

func (RewardLog_RewardType) EnumDescriptor() ([]byte, []int)

Deprecated: Use RewardLog_RewardType.Descriptor instead.

func (RewardLog_RewardType) Number added in v1.1.2

func (RewardLog_RewardType) String added in v0.5.0

func (x RewardLog_RewardType) String() string

func (RewardLog_RewardType) Type added in v1.1.2

Jump to

Keyboard shortcuts

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