rewardingpb

package
v2.0.6-rc2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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

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

func (x *Admin) GetFoundationBonus() string

func (*Admin) GetFoundationBonusLastEpoch

func (x *Admin) GetFoundationBonusLastEpoch() uint64

func (*Admin) GetNumDelegatesForEpochReward

func (x *Admin) GetNumDelegatesForEpochReward() uint64

func (*Admin) GetNumDelegatesForFoundationBonus

func (x *Admin) GetNumDelegatesForFoundationBonus() uint64

func (*Admin) GetProductivityThreshold

func (x *Admin) GetProductivityThreshold() uint64

func (*Admin) ProtoMessage

func (*Admin) ProtoMessage()

func (*Admin) ProtoReflect

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

func (*Admin) Reset

func (x *Admin) Reset()

func (*Admin) String

func (x *Admin) String() string

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

Deprecated: Use Exempt.ProtoReflect.Descriptor instead.

func (*Exempt) GetAddrs

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

func (*Exempt) ProtoMessage

func (*Exempt) ProtoMessage()

func (*Exempt) ProtoReflect

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

func (*Exempt) Reset

func (x *Exempt) Reset()

func (*Exempt) String

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

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

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

Deprecated: Use RewardLog.ProtoReflect.Descriptor instead.

func (*RewardLog) GetAddr

func (x *RewardLog) GetAddr() string

func (*RewardLog) GetAmount

func (x *RewardLog) GetAmount() string

func (*RewardLog) GetType

func (x *RewardLog) GetType() RewardLog_RewardType

func (*RewardLog) ProtoMessage

func (*RewardLog) ProtoMessage()

func (*RewardLog) ProtoReflect

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

func (*RewardLog) Reset

func (x *RewardLog) Reset()

func (*RewardLog) String

func (x *RewardLog) String() string

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) Enum

func (RewardLog_RewardType) EnumDescriptor deprecated

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

Deprecated: Use RewardLog_RewardType.Descriptor instead.

func (RewardLog_RewardType) Number

func (RewardLog_RewardType) String

func (x RewardLog_RewardType) String() string

func (RewardLog_RewardType) Type

Jump to

Keyboard shortcuts

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