iotex-core: github.com/iotexproject/iotex-core/action/protocol/rewarding/rewardingpb Index | Files

package rewardingpb

import "github.com/iotexproject/iotex-core/action/protocol/rewarding/rewardingpb"

Index

Package Files

rewarding.pb.go

Variables

var RewardLog_RewardType_name = map[int32]string{
    0:  "BLOCK_REWARD",
    1:  "EPOCH_REWARD",
    2:  "FOUNDATION_BONUS",
}
var RewardLog_RewardType_value = map[string]int32{
    "BLOCK_REWARD":     0,
    "EPOCH_REWARD":     1,
    "FOUNDATION_BONUS": 2,
}

type Account Uses

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 Uses

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

func (*Account) GetBalance Uses

func (m *Account) GetBalance() string

func (*Account) ProtoMessage Uses

func (*Account) ProtoMessage()

func (*Account) Reset Uses

func (m *Account) Reset()

func (*Account) String Uses

func (m *Account) String() string

func (*Account) XXX_DiscardUnknown Uses

func (m *Account) XXX_DiscardUnknown()

func (*Account) XXX_Marshal Uses

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

func (*Account) XXX_Merge Uses

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

func (*Account) XXX_Size Uses

func (m *Account) XXX_Size() int

func (*Account) XXX_Unmarshal Uses

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

type Admin Uses

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 Uses

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

func (*Admin) GetBlockReward Uses

func (m *Admin) GetBlockReward() string

func (*Admin) GetEpochReward Uses

func (m *Admin) GetEpochReward() string

func (*Admin) GetFoundationBonus Uses

func (m *Admin) GetFoundationBonus() string

func (*Admin) GetFoundationBonusLastEpoch Uses

func (m *Admin) GetFoundationBonusLastEpoch() uint64

func (*Admin) GetNumDelegatesForEpochReward Uses

func (m *Admin) GetNumDelegatesForEpochReward() uint64

func (*Admin) GetNumDelegatesForFoundationBonus Uses

func (m *Admin) GetNumDelegatesForFoundationBonus() uint64

func (*Admin) GetProductivityThreshold Uses

func (m *Admin) GetProductivityThreshold() uint64

func (*Admin) ProtoMessage Uses

func (*Admin) ProtoMessage()

func (*Admin) Reset Uses

func (m *Admin) Reset()

func (*Admin) String Uses

func (m *Admin) String() string

func (*Admin) XXX_DiscardUnknown Uses

func (m *Admin) XXX_DiscardUnknown()

func (*Admin) XXX_Marshal Uses

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

func (*Admin) XXX_Merge Uses

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

func (*Admin) XXX_Size Uses

func (m *Admin) XXX_Size() int

func (*Admin) XXX_Unmarshal Uses

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

type Exempt Uses

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 Uses

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

func (*Exempt) GetAddrs Uses

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

func (*Exempt) ProtoMessage Uses

func (*Exempt) ProtoMessage()

func (*Exempt) Reset Uses

func (m *Exempt) Reset()

func (*Exempt) String Uses

func (m *Exempt) String() string

func (*Exempt) XXX_DiscardUnknown Uses

func (m *Exempt) XXX_DiscardUnknown()

func (*Exempt) XXX_Marshal Uses

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

func (*Exempt) XXX_Merge Uses

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

func (*Exempt) XXX_Size Uses

func (m *Exempt) XXX_Size() int

func (*Exempt) XXX_Unmarshal Uses

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

type Fund Uses

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 Uses

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

func (*Fund) GetTotalBalance Uses

func (m *Fund) GetTotalBalance() string

func (*Fund) GetUnclaimedBalance Uses

func (m *Fund) GetUnclaimedBalance() string

func (*Fund) ProtoMessage Uses

func (*Fund) ProtoMessage()

func (*Fund) Reset Uses

func (m *Fund) Reset()

func (*Fund) String Uses

func (m *Fund) String() string

func (*Fund) XXX_DiscardUnknown Uses

func (m *Fund) XXX_DiscardUnknown()

func (*Fund) XXX_Marshal Uses

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

func (*Fund) XXX_Merge Uses

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

func (*Fund) XXX_Size Uses

func (m *Fund) XXX_Size() int

func (*Fund) XXX_Unmarshal Uses

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

type RewardHistory Uses

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

func (*RewardHistory) Descriptor Uses

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

func (*RewardHistory) ProtoMessage Uses

func (*RewardHistory) ProtoMessage()

func (*RewardHistory) Reset Uses

func (m *RewardHistory) Reset()

func (*RewardHistory) String Uses

func (m *RewardHistory) String() string

func (*RewardHistory) XXX_DiscardUnknown Uses

func (m *RewardHistory) XXX_DiscardUnknown()

func (*RewardHistory) XXX_Marshal Uses

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

func (*RewardHistory) XXX_Merge Uses

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

func (*RewardHistory) XXX_Size Uses

func (m *RewardHistory) XXX_Size() int

func (*RewardHistory) XXX_Unmarshal Uses

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

type RewardLog Uses

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 Uses

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

func (*RewardLog) GetAddr Uses

func (m *RewardLog) GetAddr() string

func (*RewardLog) GetAmount Uses

func (m *RewardLog) GetAmount() string

func (*RewardLog) GetType Uses

func (m *RewardLog) GetType() RewardLog_RewardType

func (*RewardLog) ProtoMessage Uses

func (*RewardLog) ProtoMessage()

func (*RewardLog) Reset Uses

func (m *RewardLog) Reset()

func (*RewardLog) String Uses

func (m *RewardLog) String() string

func (*RewardLog) XXX_DiscardUnknown Uses

func (m *RewardLog) XXX_DiscardUnknown()

func (*RewardLog) XXX_Marshal Uses

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

func (*RewardLog) XXX_Merge Uses

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

func (*RewardLog) XXX_Size Uses

func (m *RewardLog) XXX_Size() int

func (*RewardLog) XXX_Unmarshal Uses

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

type RewardLog_RewardType Uses

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 Uses

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

func (RewardLog_RewardType) String Uses

func (x RewardLog_RewardType) String() string

Package rewardingpb imports 3 packages (graph) and is imported by 1 packages. Updated 2019-04-23. Refresh now. Tools for package owners.