rewardingpb

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2020 License: Apache-2.0 Imports: 3 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",
}
View Source
var RewardLog_RewardType_value = map[string]int32{
	"BLOCK_REWARD":     0,
	"EPOCH_REWARD":     1,
	"FOUNDATION_BONUS": 2,
}

Functions

This section is empty.

Types

type Account

type Account struct {
	Balance              string   `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Account) Descriptor

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

func (*Account) GetBalance

func (m *Account) GetBalance() string

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) Reset

func (m *Account) Reset()

func (*Account) String

func (m *Account) String() string

func (*Account) XXX_DiscardUnknown

func (m *Account) XXX_DiscardUnknown()

func (*Account) XXX_Marshal

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

func (*Account) XXX_Merge

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

func (*Account) XXX_Size

func (m *Account) XXX_Size() int

func (*Account) XXX_Unmarshal

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

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"`
	XXX_NoUnkeyedLiteral           struct{} `json:"-"`
	XXX_unrecognized               []byte   `json:"-"`
	XXX_sizecache                  int32    `json:"-"`
}

func (*Admin) Descriptor

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

func (*Admin) GetBlockReward

func (m *Admin) GetBlockReward() string

func (*Admin) GetEpochReward

func (m *Admin) GetEpochReward() string

func (*Admin) GetFoundationBonus added in v0.5.0

func (m *Admin) GetFoundationBonus() string

func (*Admin) GetFoundationBonusLastEpoch added in v0.5.0

func (m *Admin) GetFoundationBonusLastEpoch() uint64

func (*Admin) GetNumDelegatesForEpochReward added in v0.5.0

func (m *Admin) GetNumDelegatesForEpochReward() uint64

func (*Admin) GetNumDelegatesForFoundationBonus added in v0.5.0

func (m *Admin) GetNumDelegatesForFoundationBonus() uint64

func (*Admin) GetProductivityThreshold added in v0.5.0

func (m *Admin) GetProductivityThreshold() uint64

func (*Admin) ProtoMessage

func (*Admin) ProtoMessage()

func (*Admin) Reset

func (m *Admin) Reset()

func (*Admin) String

func (m *Admin) String() string

func (*Admin) XXX_DiscardUnknown

func (m *Admin) XXX_DiscardUnknown()

func (*Admin) XXX_Marshal

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

func (*Admin) XXX_Merge

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

func (*Admin) XXX_Size

func (m *Admin) XXX_Size() int

func (*Admin) XXX_Unmarshal

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

type Exempt added in v0.5.0

type Exempt struct {
	Addrs                [][]byte `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Exempt) Descriptor added in v0.5.0

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

func (*Exempt) GetAddrs added in v0.5.0

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

func (*Exempt) ProtoMessage added in v0.5.0

func (*Exempt) ProtoMessage()

func (*Exempt) Reset added in v0.5.0

func (m *Exempt) Reset()

func (*Exempt) String added in v0.5.0

func (m *Exempt) String() string

func (*Exempt) XXX_DiscardUnknown added in v0.5.0

func (m *Exempt) XXX_DiscardUnknown()

func (*Exempt) XXX_Marshal added in v0.5.0

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

func (*Exempt) XXX_Merge added in v0.5.0

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

func (*Exempt) XXX_Size added in v0.5.0

func (m *Exempt) XXX_Size() int

func (*Exempt) XXX_Unmarshal added in v0.5.0

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

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Fund) Descriptor

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

func (*Fund) GetTotalBalance

func (m *Fund) GetTotalBalance() string

func (*Fund) GetUnclaimedBalance

func (m *Fund) GetUnclaimedBalance() string

func (*Fund) ProtoMessage

func (*Fund) ProtoMessage()

func (*Fund) Reset

func (m *Fund) Reset()

func (*Fund) String

func (m *Fund) String() string

func (*Fund) XXX_DiscardUnknown

func (m *Fund) XXX_DiscardUnknown()

func (*Fund) XXX_Marshal

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

func (*Fund) XXX_Merge

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

func (*Fund) XXX_Size

func (m *Fund) XXX_Size() int

func (*Fund) XXX_Unmarshal

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

type RewardHistory

type RewardHistory struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RewardHistory) Descriptor

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

func (*RewardHistory) ProtoMessage

func (*RewardHistory) ProtoMessage()

func (*RewardHistory) Reset

func (m *RewardHistory) Reset()

func (*RewardHistory) String

func (m *RewardHistory) String() string

func (*RewardHistory) XXX_DiscardUnknown

func (m *RewardHistory) XXX_DiscardUnknown()

func (*RewardHistory) XXX_Marshal

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

func (*RewardHistory) XXX_Merge

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

func (*RewardHistory) XXX_Size

func (m *RewardHistory) XXX_Size() int

func (*RewardHistory) XXX_Unmarshal

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

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"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*RewardLog) Descriptor added in v0.5.0

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

func (*RewardLog) GetAddr added in v0.5.0

func (m *RewardLog) GetAddr() string

func (*RewardLog) GetAmount added in v0.5.0

func (m *RewardLog) GetAmount() string

func (*RewardLog) GetType added in v0.5.0

func (m *RewardLog) GetType() RewardLog_RewardType

func (*RewardLog) ProtoMessage added in v0.5.0

func (*RewardLog) ProtoMessage()

func (*RewardLog) Reset added in v0.5.0

func (m *RewardLog) Reset()

func (*RewardLog) String added in v0.5.0

func (m *RewardLog) String() string

func (*RewardLog) XXX_DiscardUnknown added in v0.5.0

func (m *RewardLog) XXX_DiscardUnknown()

func (*RewardLog) XXX_Marshal added in v0.5.0

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

func (*RewardLog) XXX_Merge added in v0.5.0

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

func (*RewardLog) XXX_Size added in v0.5.0

func (m *RewardLog) XXX_Size() int

func (*RewardLog) XXX_Unmarshal added in v0.5.0

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

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

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

func (RewardLog_RewardType) String added in v0.5.0

func (x RewardLog_RewardType) String() string

Jump to

Keyboard shortcuts

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