Documentation
¶
Overview ¶
Package incentive is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func ValidateGenesis(_ GenesisState) error
- type AccountUnbondings
- func (*AccountUnbondings) Descriptor() ([]byte, []int)
- func (m *AccountUnbondings) GetAccount() string
- func (m *AccountUnbondings) GetDenom() string
- func (m *AccountUnbondings) GetTier() uint32
- func (m *AccountUnbondings) GetUnbondings() []Unbonding
- func (m *AccountUnbondings) Marshal() (dAtA []byte, err error)
- func (m *AccountUnbondings) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountUnbondings) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountUnbondings) ProtoMessage()
- func (m *AccountUnbondings) Reset()
- func (m *AccountUnbondings) Size() (n int)
- func (m *AccountUnbondings) String() string
- func (m *AccountUnbondings) Unmarshal(dAtA []byte) error
- func (m *AccountUnbondings) XXX_DiscardUnknown()
- func (m *AccountUnbondings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountUnbondings) XXX_Merge(src proto.Message)
- func (m *AccountUnbondings) XXX_Size() int
- func (m *AccountUnbondings) XXX_Unmarshal(b []byte) error
- type BankKeeper
- type Bond
- func (*Bond) Descriptor() ([]byte, []int)
- func (m *Bond) GetAccount() string
- func (m *Bond) GetAmount() types.Coin
- func (m *Bond) GetTier() uint32
- func (m *Bond) Marshal() (dAtA []byte, err error)
- func (m *Bond) MarshalTo(dAtA []byte) (int, error)
- func (m *Bond) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Bond) ProtoMessage()
- func (m *Bond) Reset()
- func (m *Bond) Size() (n int)
- func (m *Bond) String() string
- func (m *Bond) Unmarshal(dAtA []byte) error
- func (m *Bond) XXX_DiscardUnknown()
- func (m *Bond) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bond) XXX_Merge(src proto.Message)
- func (m *Bond) XXX_Size() int
- func (m *Bond) XXX_Unmarshal(b []byte) error
- type BondTier
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetAccountUnbondings() []AccountUnbondings
- func (m *GenesisState) GetBonds() []Bond
- func (m *GenesisState) GetCompletedPrograms() []IncentiveProgram
- func (m *GenesisState) GetLastRewardsTime() uint64
- func (m *GenesisState) GetNextProgramId() uint32
- func (m *GenesisState) GetOngoingPrograms() []IncentiveProgram
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetRewardAccumulators() []RewardAccumulator
- func (m *GenesisState) GetRewardTrackers() []RewardTracker
- func (m *GenesisState) GetUpcomingPrograms() []IncentiveProgram
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type IncentiveProgram
- func (*IncentiveProgram) Descriptor() ([]byte, []int)
- func (this *IncentiveProgram) Equal(that interface{}) bool
- func (m *IncentiveProgram) GetDuration() uint64
- func (m *IncentiveProgram) GetFunded() bool
- func (m *IncentiveProgram) GetID() uint32
- func (m *IncentiveProgram) GetRemainingRewards() types.Coin
- func (m *IncentiveProgram) GetStartTime() uint64
- func (m *IncentiveProgram) GetTotalRewards() types.Coin
- func (m *IncentiveProgram) GetUToken() string
- func (m *IncentiveProgram) Marshal() (dAtA []byte, err error)
- func (m *IncentiveProgram) MarshalTo(dAtA []byte) (int, error)
- func (m *IncentiveProgram) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IncentiveProgram) ProtoMessage()
- func (m *IncentiveProgram) Reset()
- func (m *IncentiveProgram) Size() (n int)
- func (m *IncentiveProgram) String() string
- func (m *IncentiveProgram) Unmarshal(dAtA []byte) error
- func (ip IncentiveProgram) Validate() error
- func (m *IncentiveProgram) XXX_DiscardUnknown()
- func (m *IncentiveProgram) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IncentiveProgram) XXX_Merge(src proto.Message)
- func (m *IncentiveProgram) XXX_Size() int
- func (m *IncentiveProgram) XXX_Unmarshal(b []byte) error
- type LeverageKeeper
- type MsgBeginUnbonding
- func (*MsgBeginUnbonding) Descriptor() ([]byte, []int)
- func (m *MsgBeginUnbonding) GetAccount() string
- func (m *MsgBeginUnbonding) GetAsset() types.Coin
- func (msg MsgBeginUnbonding) GetSignBytes() []byte
- func (msg MsgBeginUnbonding) GetSigners() []sdk.AccAddress
- func (m *MsgBeginUnbonding) GetTier() uint32
- func (m *MsgBeginUnbonding) Marshal() (dAtA []byte, err error)
- func (m *MsgBeginUnbonding) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBeginUnbonding) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBeginUnbonding) ProtoMessage()
- func (m *MsgBeginUnbonding) Reset()
- func (msg MsgBeginUnbonding) Route() string
- func (m *MsgBeginUnbonding) Size() (n int)
- func (m *MsgBeginUnbonding) String() string
- func (msg MsgBeginUnbonding) Type() string
- func (m *MsgBeginUnbonding) Unmarshal(dAtA []byte) error
- func (msg MsgBeginUnbonding) ValidateBasic() error
- func (m *MsgBeginUnbonding) XXX_DiscardUnknown()
- func (m *MsgBeginUnbonding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBeginUnbonding) XXX_Merge(src proto.Message)
- func (m *MsgBeginUnbonding) XXX_Size() int
- func (m *MsgBeginUnbonding) XXX_Unmarshal(b []byte) error
- type MsgBeginUnbondingResponse
- func (*MsgBeginUnbondingResponse) Descriptor() ([]byte, []int)
- func (m *MsgBeginUnbondingResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBeginUnbondingResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBeginUnbondingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBeginUnbondingResponse) ProtoMessage()
- func (m *MsgBeginUnbondingResponse) Reset()
- func (m *MsgBeginUnbondingResponse) Size() (n int)
- func (m *MsgBeginUnbondingResponse) String() string
- func (m *MsgBeginUnbondingResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBeginUnbondingResponse) XXX_DiscardUnknown()
- func (m *MsgBeginUnbondingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBeginUnbondingResponse) XXX_Merge(src proto.Message)
- func (m *MsgBeginUnbondingResponse) XXX_Size() int
- func (m *MsgBeginUnbondingResponse) XXX_Unmarshal(b []byte) error
- type MsgBond
- func (*MsgBond) Descriptor() ([]byte, []int)
- func (m *MsgBond) GetAccount() string
- func (m *MsgBond) GetAsset() types.Coin
- func (msg MsgBond) GetSignBytes() []byte
- func (msg MsgBond) GetSigners() []sdk.AccAddress
- func (m *MsgBond) GetTier() uint32
- func (m *MsgBond) Marshal() (dAtA []byte, err error)
- func (m *MsgBond) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBond) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBond) ProtoMessage()
- func (m *MsgBond) Reset()
- func (msg MsgBond) Route() string
- func (m *MsgBond) Size() (n int)
- func (m *MsgBond) String() string
- func (msg MsgBond) Type() string
- func (m *MsgBond) Unmarshal(dAtA []byte) error
- func (msg MsgBond) ValidateBasic() error
- func (m *MsgBond) XXX_DiscardUnknown()
- func (m *MsgBond) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBond) XXX_Merge(src proto.Message)
- func (m *MsgBond) XXX_Size() int
- func (m *MsgBond) XXX_Unmarshal(b []byte) error
- type MsgBondResponse
- func (*MsgBondResponse) Descriptor() ([]byte, []int)
- func (m *MsgBondResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBondResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBondResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBondResponse) ProtoMessage()
- func (m *MsgBondResponse) Reset()
- func (m *MsgBondResponse) Size() (n int)
- func (m *MsgBondResponse) String() string
- func (m *MsgBondResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBondResponse) XXX_DiscardUnknown()
- func (m *MsgBondResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBondResponse) XXX_Merge(src proto.Message)
- func (m *MsgBondResponse) XXX_Size() int
- func (m *MsgBondResponse) XXX_Unmarshal(b []byte) error
- type MsgClaim
- func (*MsgClaim) Descriptor() ([]byte, []int)
- func (m *MsgClaim) GetAccount() string
- func (msg MsgClaim) GetSignBytes() []byte
- func (msg MsgClaim) GetSigners() []sdk.AccAddress
- func (m *MsgClaim) Marshal() (dAtA []byte, err error)
- func (m *MsgClaim) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaim) ProtoMessage()
- func (m *MsgClaim) Reset()
- func (msg MsgClaim) Route() string
- func (m *MsgClaim) Size() (n int)
- func (m *MsgClaim) String() string
- func (msg MsgClaim) Type() string
- func (m *MsgClaim) Unmarshal(dAtA []byte) error
- func (msg MsgClaim) ValidateBasic() error
- func (m *MsgClaim) XXX_DiscardUnknown()
- func (m *MsgClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaim) XXX_Merge(src proto.Message)
- func (m *MsgClaim) XXX_Size() int
- func (m *MsgClaim) XXX_Unmarshal(b []byte) error
- type MsgClaimResponse
- func (*MsgClaimResponse) Descriptor() ([]byte, []int)
- func (m *MsgClaimResponse) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgClaimResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimResponse) ProtoMessage()
- func (m *MsgClaimResponse) Reset()
- func (m *MsgClaimResponse) Size() (n int)
- func (m *MsgClaimResponse) String() string
- func (m *MsgClaimResponse) Unmarshal(dAtA []byte) error
- func (m *MsgClaimResponse) XXX_DiscardUnknown()
- func (m *MsgClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimResponse) XXX_Merge(src proto.Message)
- func (m *MsgClaimResponse) XXX_Size() int
- func (m *MsgClaimResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgGovCreatePrograms
- func (*MsgGovCreatePrograms) Descriptor() ([]byte, []int)
- func (this *MsgGovCreatePrograms) Equal(that interface{}) bool
- func (msg MsgGovCreatePrograms) GetSignBytes() []byte
- func (msg MsgGovCreatePrograms) GetSigners() []sdk.AccAddress
- func (m *MsgGovCreatePrograms) Marshal() (dAtA []byte, err error)
- func (m *MsgGovCreatePrograms) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGovCreatePrograms) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGovCreatePrograms) ProtoMessage()
- func (m *MsgGovCreatePrograms) Reset()
- func (msg MsgGovCreatePrograms) Route() string
- func (m *MsgGovCreatePrograms) Size() (n int)
- func (m *MsgGovCreatePrograms) String() string
- func (msg MsgGovCreatePrograms) Type() string
- func (m *MsgGovCreatePrograms) Unmarshal(dAtA []byte) error
- func (msg MsgGovCreatePrograms) ValidateBasic() error
- func (m *MsgGovCreatePrograms) XXX_DiscardUnknown()
- func (m *MsgGovCreatePrograms) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGovCreatePrograms) XXX_Merge(src proto.Message)
- func (m *MsgGovCreatePrograms) XXX_Size() int
- func (m *MsgGovCreatePrograms) XXX_Unmarshal(b []byte) error
- type MsgGovCreateProgramsResponse
- func (*MsgGovCreateProgramsResponse) Descriptor() ([]byte, []int)
- func (m *MsgGovCreateProgramsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgGovCreateProgramsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGovCreateProgramsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGovCreateProgramsResponse) ProtoMessage()
- func (m *MsgGovCreateProgramsResponse) Reset()
- func (m *MsgGovCreateProgramsResponse) Size() (n int)
- func (m *MsgGovCreateProgramsResponse) String() string
- func (m *MsgGovCreateProgramsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgGovCreateProgramsResponse) XXX_DiscardUnknown()
- func (m *MsgGovCreateProgramsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGovCreateProgramsResponse) XXX_Merge(src proto.Message)
- func (m *MsgGovCreateProgramsResponse) XXX_Size() int
- func (m *MsgGovCreateProgramsResponse) XXX_Unmarshal(b []byte) error
- type MsgGovSetParams
- func (*MsgGovSetParams) Descriptor() ([]byte, []int)
- func (this *MsgGovSetParams) Equal(that interface{}) bool
- func (msg MsgGovSetParams) GetSignBytes() []byte
- func (msg MsgGovSetParams) GetSigners() []sdk.AccAddress
- func (m *MsgGovSetParams) Marshal() (dAtA []byte, err error)
- func (m *MsgGovSetParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGovSetParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGovSetParams) ProtoMessage()
- func (m *MsgGovSetParams) Reset()
- func (msg MsgGovSetParams) Route() string
- func (m *MsgGovSetParams) Size() (n int)
- func (m *MsgGovSetParams) String() string
- func (msg MsgGovSetParams) Type() string
- func (m *MsgGovSetParams) Unmarshal(dAtA []byte) error
- func (msg MsgGovSetParams) ValidateBasic() error
- func (m *MsgGovSetParams) XXX_DiscardUnknown()
- func (m *MsgGovSetParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGovSetParams) XXX_Merge(src proto.Message)
- func (m *MsgGovSetParams) XXX_Size() int
- func (m *MsgGovSetParams) XXX_Unmarshal(b []byte) error
- type MsgGovSetParamsResponse
- func (*MsgGovSetParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgGovSetParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgGovSetParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGovSetParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGovSetParamsResponse) ProtoMessage()
- func (m *MsgGovSetParamsResponse) Reset()
- func (m *MsgGovSetParamsResponse) Size() (n int)
- func (m *MsgGovSetParamsResponse) String() string
- func (m *MsgGovSetParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgGovSetParamsResponse) XXX_DiscardUnknown()
- func (m *MsgGovSetParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGovSetParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgGovSetParamsResponse) XXX_Size() int
- func (m *MsgGovSetParamsResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSponsor
- func (*MsgSponsor) Descriptor() ([]byte, []int)
- func (m *MsgSponsor) GetAsset() types.Coin
- func (m *MsgSponsor) GetProgram() uint32
- func (msg MsgSponsor) GetSignBytes() []byte
- func (msg MsgSponsor) GetSigners() []sdk.AccAddress
- func (m *MsgSponsor) GetSponsor() string
- func (m *MsgSponsor) Marshal() (dAtA []byte, err error)
- func (m *MsgSponsor) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSponsor) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSponsor) ProtoMessage()
- func (m *MsgSponsor) Reset()
- func (msg MsgSponsor) Route() string
- func (m *MsgSponsor) Size() (n int)
- func (m *MsgSponsor) String() string
- func (msg MsgSponsor) Type() string
- func (m *MsgSponsor) Unmarshal(dAtA []byte) error
- func (msg MsgSponsor) ValidateBasic() error
- func (m *MsgSponsor) XXX_DiscardUnknown()
- func (m *MsgSponsor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSponsor) XXX_Merge(src proto.Message)
- func (m *MsgSponsor) XXX_Size() int
- func (m *MsgSponsor) XXX_Unmarshal(b []byte) error
- type MsgSponsorResponse
- func (*MsgSponsorResponse) Descriptor() ([]byte, []int)
- func (m *MsgSponsorResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSponsorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSponsorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSponsorResponse) ProtoMessage()
- func (m *MsgSponsorResponse) Reset()
- func (m *MsgSponsorResponse) Size() (n int)
- func (m *MsgSponsorResponse) String() string
- func (m *MsgSponsorResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSponsorResponse) XXX_DiscardUnknown()
- func (m *MsgSponsorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSponsorResponse) XXX_Merge(src proto.Message)
- func (m *MsgSponsorResponse) XXX_Size() int
- func (m *MsgSponsorResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- func (m *Params) GetCommunityFundAddress() string
- func (m *Params) GetMaxUnbondings() uint32
- func (m *Params) GetUnbondingDurationLong() uint64
- func (m *Params) GetUnbondingDurationMiddle() uint64
- func (m *Params) GetUnbondingDurationShort() uint64
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type ProgramStatus
- type QueryBonded
- func (*QueryBonded) Descriptor() ([]byte, []int)
- func (m *QueryBonded) GetAddress() string
- func (m *QueryBonded) GetDenom() string
- func (m *QueryBonded) Marshal() (dAtA []byte, err error)
- func (m *QueryBonded) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBonded) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBonded) ProtoMessage()
- func (m *QueryBonded) Reset()
- func (m *QueryBonded) Size() (n int)
- func (m *QueryBonded) String() string
- func (m *QueryBonded) Unmarshal(dAtA []byte) error
- func (m *QueryBonded) XXX_DiscardUnknown()
- func (m *QueryBonded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBonded) XXX_Merge(src proto.Message)
- func (m *QueryBonded) XXX_Size() int
- func (m *QueryBonded) XXX_Unmarshal(b []byte) error
- type QueryBondedResponse
- func (*QueryBondedResponse) Descriptor() ([]byte, []int)
- func (m *QueryBondedResponse) GetBonded() []TotalBond
- func (m *QueryBondedResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBondedResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBondedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBondedResponse) ProtoMessage()
- func (m *QueryBondedResponse) Reset()
- func (m *QueryBondedResponse) Size() (n int)
- func (m *QueryBondedResponse) String() string
- func (m *QueryBondedResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBondedResponse) XXX_DiscardUnknown()
- func (m *QueryBondedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBondedResponse) XXX_Merge(src proto.Message)
- func (m *QueryBondedResponse) XXX_Size() int
- func (m *QueryBondedResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryCompletedIncentivePrograms
- func (*QueryCompletedIncentivePrograms) Descriptor() ([]byte, []int)
- func (m *QueryCompletedIncentivePrograms) GetPagination() *query.PageRequest
- func (m *QueryCompletedIncentivePrograms) Marshal() (dAtA []byte, err error)
- func (m *QueryCompletedIncentivePrograms) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCompletedIncentivePrograms) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCompletedIncentivePrograms) ProtoMessage()
- func (m *QueryCompletedIncentivePrograms) Reset()
- func (m *QueryCompletedIncentivePrograms) Size() (n int)
- func (m *QueryCompletedIncentivePrograms) String() string
- func (m *QueryCompletedIncentivePrograms) Unmarshal(dAtA []byte) error
- func (m *QueryCompletedIncentivePrograms) XXX_DiscardUnknown()
- func (m *QueryCompletedIncentivePrograms) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCompletedIncentivePrograms) XXX_Merge(src proto.Message)
- func (m *QueryCompletedIncentivePrograms) XXX_Size() int
- func (m *QueryCompletedIncentivePrograms) XXX_Unmarshal(b []byte) error
- type QueryCompletedIncentiveProgramsResponse
- func (*QueryCompletedIncentiveProgramsResponse) Descriptor() ([]byte, []int)
- func (m *QueryCompletedIncentiveProgramsResponse) GetPagination() *query.PageRequest
- func (m *QueryCompletedIncentiveProgramsResponse) GetPrograms() []IncentiveProgram
- func (m *QueryCompletedIncentiveProgramsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCompletedIncentiveProgramsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCompletedIncentiveProgramsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCompletedIncentiveProgramsResponse) ProtoMessage()
- func (m *QueryCompletedIncentiveProgramsResponse) Reset()
- func (m *QueryCompletedIncentiveProgramsResponse) Size() (n int)
- func (m *QueryCompletedIncentiveProgramsResponse) String() string
- func (m *QueryCompletedIncentiveProgramsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCompletedIncentiveProgramsResponse) XXX_DiscardUnknown()
- func (m *QueryCompletedIncentiveProgramsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCompletedIncentiveProgramsResponse) XXX_Merge(src proto.Message)
- func (m *QueryCompletedIncentiveProgramsResponse) XXX_Size() int
- func (m *QueryCompletedIncentiveProgramsResponse) XXX_Unmarshal(b []byte) error
- type QueryIncentiveProgram
- func (*QueryIncentiveProgram) Descriptor() ([]byte, []int)
- func (m *QueryIncentiveProgram) GetId() uint32
- func (m *QueryIncentiveProgram) Marshal() (dAtA []byte, err error)
- func (m *QueryIncentiveProgram) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryIncentiveProgram) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryIncentiveProgram) ProtoMessage()
- func (m *QueryIncentiveProgram) Reset()
- func (m *QueryIncentiveProgram) Size() (n int)
- func (m *QueryIncentiveProgram) String() string
- func (m *QueryIncentiveProgram) Unmarshal(dAtA []byte) error
- func (m *QueryIncentiveProgram) XXX_DiscardUnknown()
- func (m *QueryIncentiveProgram) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryIncentiveProgram) XXX_Merge(src proto.Message)
- func (m *QueryIncentiveProgram) XXX_Size() int
- func (m *QueryIncentiveProgram) XXX_Unmarshal(b []byte) error
- type QueryIncentiveProgramResponse
- func (*QueryIncentiveProgramResponse) Descriptor() ([]byte, []int)
- func (m *QueryIncentiveProgramResponse) GetProgram() IncentiveProgram
- func (m *QueryIncentiveProgramResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryIncentiveProgramResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryIncentiveProgramResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryIncentiveProgramResponse) ProtoMessage()
- func (m *QueryIncentiveProgramResponse) Reset()
- func (m *QueryIncentiveProgramResponse) Size() (n int)
- func (m *QueryIncentiveProgramResponse) String() string
- func (m *QueryIncentiveProgramResponse) Unmarshal(dAtA []byte) error
- func (m *QueryIncentiveProgramResponse) XXX_DiscardUnknown()
- func (m *QueryIncentiveProgramResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryIncentiveProgramResponse) XXX_Merge(src proto.Message)
- func (m *QueryIncentiveProgramResponse) XXX_Size() int
- func (m *QueryIncentiveProgramResponse) XXX_Unmarshal(b []byte) error
- type QueryOngoingIncentivePrograms
- func (*QueryOngoingIncentivePrograms) Descriptor() ([]byte, []int)
- func (m *QueryOngoingIncentivePrograms) Marshal() (dAtA []byte, err error)
- func (m *QueryOngoingIncentivePrograms) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryOngoingIncentivePrograms) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryOngoingIncentivePrograms) ProtoMessage()
- func (m *QueryOngoingIncentivePrograms) Reset()
- func (m *QueryOngoingIncentivePrograms) Size() (n int)
- func (m *QueryOngoingIncentivePrograms) String() string
- func (m *QueryOngoingIncentivePrograms) Unmarshal(dAtA []byte) error
- func (m *QueryOngoingIncentivePrograms) XXX_DiscardUnknown()
- func (m *QueryOngoingIncentivePrograms) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryOngoingIncentivePrograms) XXX_Merge(src proto.Message)
- func (m *QueryOngoingIncentivePrograms) XXX_Size() int
- func (m *QueryOngoingIncentivePrograms) XXX_Unmarshal(b []byte) error
- type QueryOngoingIncentiveProgramsResponse
- func (*QueryOngoingIncentiveProgramsResponse) Descriptor() ([]byte, []int)
- func (m *QueryOngoingIncentiveProgramsResponse) GetPrograms() []IncentiveProgram
- func (m *QueryOngoingIncentiveProgramsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryOngoingIncentiveProgramsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryOngoingIncentiveProgramsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryOngoingIncentiveProgramsResponse) ProtoMessage()
- func (m *QueryOngoingIncentiveProgramsResponse) Reset()
- func (m *QueryOngoingIncentiveProgramsResponse) Size() (n int)
- func (m *QueryOngoingIncentiveProgramsResponse) String() string
- func (m *QueryOngoingIncentiveProgramsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryOngoingIncentiveProgramsResponse) XXX_DiscardUnknown()
- func (m *QueryOngoingIncentiveProgramsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryOngoingIncentiveProgramsResponse) XXX_Merge(src proto.Message)
- func (m *QueryOngoingIncentiveProgramsResponse) XXX_Size() int
- func (m *QueryOngoingIncentiveProgramsResponse) XXX_Unmarshal(b []byte) error
- type QueryParams
- func (*QueryParams) Descriptor() ([]byte, []int)
- func (m *QueryParams) Marshal() (dAtA []byte, err error)
- func (m *QueryParams) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParams) ProtoMessage()
- func (m *QueryParams) Reset()
- func (m *QueryParams) Size() (n int)
- func (m *QueryParams) String() string
- func (m *QueryParams) Unmarshal(dAtA []byte) error
- func (m *QueryParams) XXX_DiscardUnknown()
- func (m *QueryParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParams) XXX_Merge(src proto.Message)
- func (m *QueryParams) XXX_Size() int
- func (m *QueryParams) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryPendingRewards
- func (*QueryPendingRewards) Descriptor() ([]byte, []int)
- func (m *QueryPendingRewards) GetAddress() string
- func (m *QueryPendingRewards) Marshal() (dAtA []byte, err error)
- func (m *QueryPendingRewards) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPendingRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPendingRewards) ProtoMessage()
- func (m *QueryPendingRewards) Reset()
- func (m *QueryPendingRewards) Size() (n int)
- func (m *QueryPendingRewards) String() string
- func (m *QueryPendingRewards) Unmarshal(dAtA []byte) error
- func (m *QueryPendingRewards) XXX_DiscardUnknown()
- func (m *QueryPendingRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPendingRewards) XXX_Merge(src proto.Message)
- func (m *QueryPendingRewards) XXX_Size() int
- func (m *QueryPendingRewards) XXX_Unmarshal(b []byte) error
- type QueryPendingRewardsResponse
- func (*QueryPendingRewardsResponse) Descriptor() ([]byte, []int)
- func (m *QueryPendingRewardsResponse) GetRewards() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *QueryPendingRewardsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPendingRewardsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPendingRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPendingRewardsResponse) ProtoMessage()
- func (m *QueryPendingRewardsResponse) Reset()
- func (m *QueryPendingRewardsResponse) Size() (n int)
- func (m *QueryPendingRewardsResponse) String() string
- func (m *QueryPendingRewardsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPendingRewardsResponse) XXX_DiscardUnknown()
- func (m *QueryPendingRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPendingRewardsResponse) XXX_Merge(src proto.Message)
- func (m *QueryPendingRewardsResponse) XXX_Size() int
- func (m *QueryPendingRewardsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryTotalBonded
- func (*QueryTotalBonded) Descriptor() ([]byte, []int)
- func (m *QueryTotalBonded) GetDenom() string
- func (m *QueryTotalBonded) Marshal() (dAtA []byte, err error)
- func (m *QueryTotalBonded) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTotalBonded) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTotalBonded) ProtoMessage()
- func (m *QueryTotalBonded) Reset()
- func (m *QueryTotalBonded) Size() (n int)
- func (m *QueryTotalBonded) String() string
- func (m *QueryTotalBonded) Unmarshal(dAtA []byte) error
- func (m *QueryTotalBonded) XXX_DiscardUnknown()
- func (m *QueryTotalBonded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTotalBonded) XXX_Merge(src proto.Message)
- func (m *QueryTotalBonded) XXX_Size() int
- func (m *QueryTotalBonded) XXX_Unmarshal(b []byte) error
- type QueryTotalBondedResponse
- func (*QueryTotalBondedResponse) Descriptor() ([]byte, []int)
- func (m *QueryTotalBondedResponse) GetBonded() []TotalBond
- func (m *QueryTotalBondedResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTotalBondedResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTotalBondedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTotalBondedResponse) ProtoMessage()
- func (m *QueryTotalBondedResponse) Reset()
- func (m *QueryTotalBondedResponse) Size() (n int)
- func (m *QueryTotalBondedResponse) String() string
- func (m *QueryTotalBondedResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTotalBondedResponse) XXX_DiscardUnknown()
- func (m *QueryTotalBondedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTotalBondedResponse) XXX_Merge(src proto.Message)
- func (m *QueryTotalBondedResponse) XXX_Size() int
- func (m *QueryTotalBondedResponse) XXX_Unmarshal(b []byte) error
- type QueryTotalUnbonding
- func (*QueryTotalUnbonding) Descriptor() ([]byte, []int)
- func (m *QueryTotalUnbonding) GetDenom() string
- func (m *QueryTotalUnbonding) Marshal() (dAtA []byte, err error)
- func (m *QueryTotalUnbonding) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTotalUnbonding) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTotalUnbonding) ProtoMessage()
- func (m *QueryTotalUnbonding) Reset()
- func (m *QueryTotalUnbonding) Size() (n int)
- func (m *QueryTotalUnbonding) String() string
- func (m *QueryTotalUnbonding) Unmarshal(dAtA []byte) error
- func (m *QueryTotalUnbonding) XXX_DiscardUnknown()
- func (m *QueryTotalUnbonding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTotalUnbonding) XXX_Merge(src proto.Message)
- func (m *QueryTotalUnbonding) XXX_Size() int
- func (m *QueryTotalUnbonding) XXX_Unmarshal(b []byte) error
- type QueryTotalUnbondingResponse
- func (*QueryTotalUnbondingResponse) Descriptor() ([]byte, []int)
- func (m *QueryTotalUnbondingResponse) GetUnbonding() []TotalBond
- func (m *QueryTotalUnbondingResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTotalUnbondingResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTotalUnbondingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTotalUnbondingResponse) ProtoMessage()
- func (m *QueryTotalUnbondingResponse) Reset()
- func (m *QueryTotalUnbondingResponse) Size() (n int)
- func (m *QueryTotalUnbondingResponse) String() string
- func (m *QueryTotalUnbondingResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTotalUnbondingResponse) XXX_DiscardUnknown()
- func (m *QueryTotalUnbondingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTotalUnbondingResponse) XXX_Merge(src proto.Message)
- func (m *QueryTotalUnbondingResponse) XXX_Size() int
- func (m *QueryTotalUnbondingResponse) XXX_Unmarshal(b []byte) error
- type QueryUnbondings
- func (*QueryUnbondings) Descriptor() ([]byte, []int)
- func (m *QueryUnbondings) GetAddress() string
- func (m *QueryUnbondings) Marshal() (dAtA []byte, err error)
- func (m *QueryUnbondings) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUnbondings) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUnbondings) ProtoMessage()
- func (m *QueryUnbondings) Reset()
- func (m *QueryUnbondings) Size() (n int)
- func (m *QueryUnbondings) String() string
- func (m *QueryUnbondings) Unmarshal(dAtA []byte) error
- func (m *QueryUnbondings) XXX_DiscardUnknown()
- func (m *QueryUnbondings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUnbondings) XXX_Merge(src proto.Message)
- func (m *QueryUnbondings) XXX_Size() int
- func (m *QueryUnbondings) XXX_Unmarshal(b []byte) error
- type QueryUnbondingsResponse
- func (*QueryUnbondingsResponse) Descriptor() ([]byte, []int)
- func (m *QueryUnbondingsResponse) GetUnbondings() []Unbonding
- func (m *QueryUnbondingsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryUnbondingsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUnbondingsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUnbondingsResponse) ProtoMessage()
- func (m *QueryUnbondingsResponse) Reset()
- func (m *QueryUnbondingsResponse) Size() (n int)
- func (m *QueryUnbondingsResponse) String() string
- func (m *QueryUnbondingsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryUnbondingsResponse) XXX_DiscardUnknown()
- func (m *QueryUnbondingsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUnbondingsResponse) XXX_Merge(src proto.Message)
- func (m *QueryUnbondingsResponse) XXX_Size() int
- func (m *QueryUnbondingsResponse) XXX_Unmarshal(b []byte) error
- type QueryUpcomingIncentivePrograms
- func (*QueryUpcomingIncentivePrograms) Descriptor() ([]byte, []int)
- func (m *QueryUpcomingIncentivePrograms) Marshal() (dAtA []byte, err error)
- func (m *QueryUpcomingIncentivePrograms) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUpcomingIncentivePrograms) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUpcomingIncentivePrograms) ProtoMessage()
- func (m *QueryUpcomingIncentivePrograms) Reset()
- func (m *QueryUpcomingIncentivePrograms) Size() (n int)
- func (m *QueryUpcomingIncentivePrograms) String() string
- func (m *QueryUpcomingIncentivePrograms) Unmarshal(dAtA []byte) error
- func (m *QueryUpcomingIncentivePrograms) XXX_DiscardUnknown()
- func (m *QueryUpcomingIncentivePrograms) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUpcomingIncentivePrograms) XXX_Merge(src proto.Message)
- func (m *QueryUpcomingIncentivePrograms) XXX_Size() int
- func (m *QueryUpcomingIncentivePrograms) XXX_Unmarshal(b []byte) error
- type QueryUpcomingIncentiveProgramsResponse
- func (*QueryUpcomingIncentiveProgramsResponse) Descriptor() ([]byte, []int)
- func (m *QueryUpcomingIncentiveProgramsResponse) GetPrograms() []IncentiveProgram
- func (m *QueryUpcomingIncentiveProgramsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryUpcomingIncentiveProgramsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUpcomingIncentiveProgramsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUpcomingIncentiveProgramsResponse) ProtoMessage()
- func (m *QueryUpcomingIncentiveProgramsResponse) Reset()
- func (m *QueryUpcomingIncentiveProgramsResponse) Size() (n int)
- func (m *QueryUpcomingIncentiveProgramsResponse) String() string
- func (m *QueryUpcomingIncentiveProgramsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryUpcomingIncentiveProgramsResponse) XXX_DiscardUnknown()
- func (m *QueryUpcomingIncentiveProgramsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUpcomingIncentiveProgramsResponse) XXX_Merge(src proto.Message)
- func (m *QueryUpcomingIncentiveProgramsResponse) XXX_Size() int
- func (m *QueryUpcomingIncentiveProgramsResponse) XXX_Unmarshal(b []byte) error
- type RewardAccumulator
- func (*RewardAccumulator) Descriptor() ([]byte, []int)
- func (m *RewardAccumulator) GetDenom() string
- func (m *RewardAccumulator) GetRewardTracker() github_com_cosmos_cosmos_sdk_types.DecCoins
- func (m *RewardAccumulator) GetTier() uint32
- func (m *RewardAccumulator) Marshal() (dAtA []byte, err error)
- func (m *RewardAccumulator) MarshalTo(dAtA []byte) (int, error)
- func (m *RewardAccumulator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RewardAccumulator) ProtoMessage()
- func (m *RewardAccumulator) Reset()
- func (m *RewardAccumulator) Size() (n int)
- func (m *RewardAccumulator) String() string
- func (m *RewardAccumulator) Unmarshal(dAtA []byte) error
- func (m *RewardAccumulator) XXX_DiscardUnknown()
- func (m *RewardAccumulator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RewardAccumulator) XXX_Merge(src proto.Message)
- func (m *RewardAccumulator) XXX_Size() int
- func (m *RewardAccumulator) XXX_Unmarshal(b []byte) error
- type RewardTracker
- func (*RewardTracker) Descriptor() ([]byte, []int)
- func (m *RewardTracker) GetAccount() string
- func (m *RewardTracker) GetDenom() string
- func (m *RewardTracker) GetRewardTracker() github_com_cosmos_cosmos_sdk_types.DecCoins
- func (m *RewardTracker) GetTier() uint32
- func (m *RewardTracker) Marshal() (dAtA []byte, err error)
- func (m *RewardTracker) MarshalTo(dAtA []byte) (int, error)
- func (m *RewardTracker) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RewardTracker) ProtoMessage()
- func (m *RewardTracker) Reset()
- func (m *RewardTracker) Size() (n int)
- func (m *RewardTracker) String() string
- func (m *RewardTracker) Unmarshal(dAtA []byte) error
- func (m *RewardTracker) XXX_DiscardUnknown()
- func (m *RewardTracker) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RewardTracker) XXX_Merge(src proto.Message)
- func (m *RewardTracker) XXX_Size() int
- func (m *RewardTracker) XXX_Unmarshal(b []byte) error
- type TotalBond
- func (*TotalBond) Descriptor() ([]byte, []int)
- func (m *TotalBond) GetAmount() types.Coin
- func (m *TotalBond) GetTier() uint32
- func (m *TotalBond) Marshal() (dAtA []byte, err error)
- func (m *TotalBond) MarshalTo(dAtA []byte) (int, error)
- func (m *TotalBond) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TotalBond) ProtoMessage()
- func (m *TotalBond) Reset()
- func (m *TotalBond) Size() (n int)
- func (m *TotalBond) String() string
- func (m *TotalBond) Unmarshal(dAtA []byte) error
- func (m *TotalBond) XXX_DiscardUnknown()
- func (m *TotalBond) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TotalBond) XXX_Merge(src proto.Message)
- func (m *TotalBond) XXX_Size() int
- func (m *TotalBond) XXX_Unmarshal(b []byte) error
- type Unbonding
- func (*Unbonding) Descriptor() ([]byte, []int)
- func (m *Unbonding) GetAmount() types.Coin
- func (m *Unbonding) GetEnd() uint64
- func (m *Unbonding) Marshal() (dAtA []byte, err error)
- func (m *Unbonding) MarshalTo(dAtA []byte) (int, error)
- func (m *Unbonding) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Unbonding) ProtoMessage()
- func (m *Unbonding) Reset()
- func (m *Unbonding) Size() (n int)
- func (m *Unbonding) String() string
- func (m *Unbonding) Unmarshal(dAtA []byte) error
- func (m *Unbonding) XXX_DiscardUnknown()
- func (m *Unbonding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Unbonding) XXX_Merge(src proto.Message)
- func (m *Unbonding) XXX_Size() int
- func (m *Unbonding) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) BeginUnbonding(ctx context.Context, req *MsgBeginUnbonding) (*MsgBeginUnbondingResponse, error)
- func (*UnimplementedMsgServer) Bond(ctx context.Context, req *MsgBond) (*MsgBondResponse, error)
- func (*UnimplementedMsgServer) Claim(ctx context.Context, req *MsgClaim) (*MsgClaimResponse, error)
- func (*UnimplementedMsgServer) GovCreatePrograms(ctx context.Context, req *MsgGovCreatePrograms) (*MsgGovCreateProgramsResponse, error)
- func (*UnimplementedMsgServer) GovSetParams(ctx context.Context, req *MsgGovSetParams) (*MsgGovSetParamsResponse, error)
- func (*UnimplementedMsgServer) Sponsor(ctx context.Context, req *MsgSponsor) (*MsgSponsorResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Bonded(ctx context.Context, req *QueryBonded) (*QueryBondedResponse, error)
- func (*UnimplementedQueryServer) CompletedIncentivePrograms(ctx context.Context, req *QueryCompletedIncentivePrograms) (*QueryCompletedIncentiveProgramsResponse, error)
- func (*UnimplementedQueryServer) IncentiveProgram(ctx context.Context, req *QueryIncentiveProgram) (*QueryIncentiveProgramResponse, error)
- func (*UnimplementedQueryServer) OngoingIncentivePrograms(ctx context.Context, req *QueryOngoingIncentivePrograms) (*QueryOngoingIncentiveProgramsResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParams) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) PendingRewards(ctx context.Context, req *QueryPendingRewards) (*QueryPendingRewardsResponse, error)
- func (*UnimplementedQueryServer) TotalBonded(ctx context.Context, req *QueryTotalBonded) (*QueryTotalBondedResponse, error)
- func (*UnimplementedQueryServer) TotalUnbonding(ctx context.Context, req *QueryTotalUnbonding) (*QueryTotalUnbondingResponse, error)
- func (*UnimplementedQueryServer) Unbondings(ctx context.Context, req *QueryUnbondings) (*QueryUnbondingsResponse, error)
- func (*UnimplementedQueryServer) UpcomingIncentivePrograms(ctx context.Context, req *QueryUpcomingIncentivePrograms) (*QueryUpcomingIncentiveProgramsResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "incentive" // StoreKey defines the primary module store key StoreKey = ModuleName // StoreKey defines the query route QuerierRoute = ModuleName // RouterKey is the message route RouterKey = ModuleName )
Variables ¶
var ( // 0 = TODO ErrNotImplemented = errors.Register(ModuleName, 0, "not implemented") // 1XX = General ErrInvalidProgramID = errors.Register(ModuleName, 100, "invalid program ID") ErrNilAsset = errors.Register(ModuleName, 101, "nil asset") ErrInvalidTier = errors.Register(ModuleName, 102, "invalid unbonding tier") ErrEmptyAddress = errors.Register(ModuleName, 103, "empty address") ErrInvalidProgramStatus = errors.Register(ModuleName, 104, "invalid program status") // 2XX = Params ErrUnbondingTierOrder = errors.Register(ModuleName, 200, "unbonding tier lock durations out of order") ErrUnbondingWeightOrder = errors.Register(ModuleName, 201, "unbonding tier weights out of order") // 3XX = Gov Proposal ErrNonzeroRemainingRewards = errors.Register(ModuleName, 300, "remaining rewards must be zero in proposal") ErrProposedFundedProgram = errors.Register(ModuleName, 301, "proposed program must have funded = false") ErrEmptyProposal = errors.Register(ModuleName, 302, "proposal contains no incentive programs") // 4XX = Messages ErrSponsorIneligible = errors.Register(ModuleName, 400, "incentive program not eligible for sponsorship") ErrSponsorInvalid = errors.Register(ModuleName, 401, "incorrect funding for incentive program") ErrMaxUnbondings = errors.Register(ModuleName, 402, "exceeds max concurrent unbondings for a single uToken") ErrInsufficientBonded = errors.Register(ModuleName, 403, "insufficient bonded, but not already unbonding, uTokens") ErrInsufficientCollateral = errors.Register(ModuleName, 404, "insufficient collateral to create bond") // 5XX = Misc ErrDecreaseNextProgramID = errors.Register(ModuleName, 500, "cannot decrease NextProgramID") ErrDecreaseLastRewardTime = errors.Register(ModuleName, 501, "cannot decrease LastRewardTime") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthIncentive = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowIncentive = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupIncentive = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var (
ModuleCdc = codec.NewAminoCodec(amino)
)
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers the necessary x/incentive interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func ValidateGenesis ¶ added in v4.2.0
func ValidateGenesis(_ GenesisState) error
ValidateGenesis checks a genesis state for basic issues
Types ¶
type AccountUnbondings ¶ added in v4.2.0
type AccountUnbondings struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` Tier uint32 `protobuf:"varint,3,opt,name=tier,proto3" json:"tier,omitempty"` Unbondings []Unbonding `protobuf:"bytes,4,rep,name=unbondings,proto3" json:"unbondings"` }
AccountUnbondings is a structure that is used to store all of an account's unbondings for a single bonded uToken denom and and unbonding tier in both KVStore and genesis state.
func NewAccountUnbondings ¶ added in v4.2.0
func NewAccountUnbondings(addr, denom string, tier BondTier, unbondings []Unbonding) AccountUnbondings
NewAccountUnbondings creates the AccountUnbondings struct used in GenesisState
func (*AccountUnbondings) Descriptor ¶ added in v4.2.0
func (*AccountUnbondings) Descriptor() ([]byte, []int)
func (*AccountUnbondings) GetAccount ¶ added in v4.2.0
func (m *AccountUnbondings) GetAccount() string
func (*AccountUnbondings) GetDenom ¶ added in v4.3.0
func (m *AccountUnbondings) GetDenom() string
func (*AccountUnbondings) GetTier ¶ added in v4.3.0
func (m *AccountUnbondings) GetTier() uint32
func (*AccountUnbondings) GetUnbondings ¶ added in v4.2.0
func (m *AccountUnbondings) GetUnbondings() []Unbonding
func (*AccountUnbondings) Marshal ¶ added in v4.2.0
func (m *AccountUnbondings) Marshal() (dAtA []byte, err error)
func (*AccountUnbondings) MarshalTo ¶ added in v4.2.0
func (m *AccountUnbondings) MarshalTo(dAtA []byte) (int, error)
func (*AccountUnbondings) MarshalToSizedBuffer ¶ added in v4.2.0
func (m *AccountUnbondings) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountUnbondings) ProtoMessage ¶ added in v4.2.0
func (*AccountUnbondings) ProtoMessage()
func (*AccountUnbondings) Reset ¶ added in v4.2.0
func (m *AccountUnbondings) Reset()
func (*AccountUnbondings) Size ¶ added in v4.2.0
func (m *AccountUnbondings) Size() (n int)
func (*AccountUnbondings) String ¶ added in v4.2.0
func (m *AccountUnbondings) String() string
func (*AccountUnbondings) Unmarshal ¶ added in v4.2.0
func (m *AccountUnbondings) Unmarshal(dAtA []byte) error
func (*AccountUnbondings) XXX_DiscardUnknown ¶ added in v4.2.0
func (m *AccountUnbondings) XXX_DiscardUnknown()
func (*AccountUnbondings) XXX_Marshal ¶ added in v4.2.0
func (m *AccountUnbondings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountUnbondings) XXX_Merge ¶ added in v4.2.0
func (m *AccountUnbondings) XXX_Merge(src proto.Message)
func (*AccountUnbondings) XXX_Size ¶ added in v4.2.0
func (m *AccountUnbondings) XXX_Size() int
func (*AccountUnbondings) XXX_Unmarshal ¶ added in v4.2.0
func (m *AccountUnbondings) XXX_Unmarshal(b []byte) error
type BankKeeper ¶ added in v4.2.0
type BankKeeper interface { SendCoinsFromModuleToAccount( ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins, ) error SendCoinsFromAccountToModule( ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins, ) error SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins }
BankKeeper defines the expected x/bank keeper interface.
type Bond ¶
type Bond struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Tier uint32 `protobuf:"varint,2,opt,name=tier,proto3" json:"tier,omitempty"` Amount types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"` }
Bond tracks the amount of coins of one uToken denomination bonded to a given reward tier by a single account.
func NewTotalBond ¶ added in v4.2.0
NewTotalBond creates the TotalBond struct used in GenesisState
func (*Bond) Descriptor ¶
func (*Bond) GetAccount ¶
func (*Bond) ProtoMessage ¶
func (*Bond) ProtoMessage()
func (*Bond) XXX_DiscardUnknown ¶
func (m *Bond) XXX_DiscardUnknown()
func (*Bond) XXX_Unmarshal ¶
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` NextProgramId uint32 `protobuf:"varint,2,opt,name=next_program_id,json=nextProgramId,proto3" json:"next_program_id,omitempty"` LastRewardsTime uint64 `protobuf:"varint,3,opt,name=last_rewards_time,json=lastRewardsTime,proto3" json:"last_rewards_time,omitempty"` RewardTrackers []RewardTracker `protobuf:"bytes,4,rep,name=reward_trackers,json=rewardTrackers,proto3" json:"reward_trackers"` RewardAccumulators []RewardAccumulator `protobuf:"bytes,5,rep,name=reward_accumulators,json=rewardAccumulators,proto3" json:"reward_accumulators"` UpcomingPrograms []IncentiveProgram `protobuf:"bytes,6,rep,name=upcoming_programs,json=upcomingPrograms,proto3" json:"upcoming_programs"` OngoingPrograms []IncentiveProgram `protobuf:"bytes,7,rep,name=ongoing_programs,json=ongoingPrograms,proto3" json:"ongoing_programs"` CompletedPrograms []IncentiveProgram `protobuf:"bytes,8,rep,name=completed_programs,json=completedPrograms,proto3" json:"completed_programs"` Bonds []Bond `protobuf:"bytes,9,rep,name=bonds,proto3" json:"bonds"` AccountUnbondings []AccountUnbondings `protobuf:"bytes,10,rep,name=account_unbondings,json=accountUnbondings,proto3" json:"account_unbondings"` }
GenesisState defines the x/incentive module's genesis state.
func DefaultGenesisState ¶ added in v4.2.0
func DefaultGenesisState() *GenesisState
DefaultGenesisState returns the default genesis state
func GetGenesisStateFromAppState ¶ added in v4.2.0
func GetGenesisStateFromAppState(cdc codec.JSONCodec, appState map[string]json.RawMessage) *GenesisState
GetGenesisStateFromAppState returns x/incentive GenesisState given raw application genesis state.
func NewGenesisState ¶ added in v4.2.0
func NewGenesisState( params Params, completedPrograms []IncentiveProgram, ongoingPrograms []IncentiveProgram, upcomingPrograms []IncentiveProgram, nextProgramID uint32, lastRewardTime uint64, bonds []Bond, rewardTrackers []RewardTracker, rewardAccumulators []RewardAccumulator, accountUnbondings []AccountUnbondings, ) *GenesisState
NewGenesisState creates a new GenesisState object
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetAccountUnbondings ¶ added in v4.2.0
func (m *GenesisState) GetAccountUnbondings() []AccountUnbondings
func (*GenesisState) GetBonds ¶
func (m *GenesisState) GetBonds() []Bond
func (*GenesisState) GetCompletedPrograms ¶
func (m *GenesisState) GetCompletedPrograms() []IncentiveProgram
func (*GenesisState) GetLastRewardsTime ¶
func (m *GenesisState) GetLastRewardsTime() uint64
func (*GenesisState) GetNextProgramId ¶
func (m *GenesisState) GetNextProgramId() uint32
func (*GenesisState) GetOngoingPrograms ¶
func (m *GenesisState) GetOngoingPrograms() []IncentiveProgram
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetRewardAccumulators ¶
func (m *GenesisState) GetRewardAccumulators() []RewardAccumulator
func (*GenesisState) GetRewardTrackers ¶
func (m *GenesisState) GetRewardTrackers() []RewardTracker
func (*GenesisState) GetUpcomingPrograms ¶
func (m *GenesisState) GetUpcomingPrograms() []IncentiveProgram
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type IncentiveProgram ¶
type IncentiveProgram struct { // ID uniquely identifies the incentive program after it has been created. // It is zero when the program is being proposed by governance, and is set // to its final value when the proposal passes. ID uint32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` // start_time is the unix time (in seconds) at which the incentives begin. // If a program is passed after its intended start time, its start time // will be increased to the current time, with program duration unchanged. StartTime uint64 `protobuf:"varint,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // duration is the length of the incentive program from start time to // completion in seconds. Duration uint64 `protobuf:"varint,3,opt,name=duration,proto3" json:"duration,omitempty"` // uToken is the incentivized uToken collateral. Suppliers who collateralize // this asset then bond it to the incentive module are eligible for this program's // rewards. UToken string `protobuf:"bytes,4,opt,name=uToken,proto3" json:"uToken,omitempty"` // funded indicates whether a program bas been funded. This can happen when // a program passes if funding from community fund, or any time before the // program's start time if funding with MsgSponsor. A program that reaches // its start time without being funded is cancelled. Funded bool `protobuf:"varint,5,opt,name=funded,proto3" json:"funded,omitempty"` // total_rewards are total amount of rewards which can be distributed to // suppliers by this program. This is set to its final value when the program // is proposed by governance. TotalRewards types.Coin `protobuf:"bytes,6,opt,name=total_rewards,json=totalRewards,proto3" json:"total_rewards"` // remaining_rewards are total amount of this program's funded rewards // which have not yet been allocated to suppliers. This is zero until the // program is both passed by governance and funded, at which point it // starts at the same value as total_rewards then begins decreasing // to zero as the program runs to completion. RemainingRewards types.Coin `protobuf:"bytes,7,opt,name=remaining_rewards,json=remainingRewards,proto3" json:"remaining_rewards"` }
IncentiveProgram defines a liquidity mining incentive program on a single locked uToken denom that will run for a set amount of time.
func NewIncentiveProgram ¶ added in v4.2.0
func NewIncentiveProgram( id uint32, startTime uint64, duration uint64, uDenom string, totalRewards, remainingRewards sdk.Coin, funded bool, ) IncentiveProgram
NewIncentiveProgram creates the IncentiveProgram struct used in GenesisState
func (*IncentiveProgram) Descriptor ¶
func (*IncentiveProgram) Descriptor() ([]byte, []int)
func (*IncentiveProgram) Equal ¶
func (this *IncentiveProgram) Equal(that interface{}) bool
func (*IncentiveProgram) GetDuration ¶
func (m *IncentiveProgram) GetDuration() uint64
func (*IncentiveProgram) GetFunded ¶ added in v4.3.0
func (m *IncentiveProgram) GetFunded() bool
func (*IncentiveProgram) GetID ¶ added in v4.3.0
func (m *IncentiveProgram) GetID() uint32
func (*IncentiveProgram) GetRemainingRewards ¶
func (m *IncentiveProgram) GetRemainingRewards() types.Coin
func (*IncentiveProgram) GetStartTime ¶
func (m *IncentiveProgram) GetStartTime() uint64
func (*IncentiveProgram) GetTotalRewards ¶
func (m *IncentiveProgram) GetTotalRewards() types.Coin
func (*IncentiveProgram) GetUToken ¶ added in v4.3.0
func (m *IncentiveProgram) GetUToken() string
func (*IncentiveProgram) Marshal ¶
func (m *IncentiveProgram) Marshal() (dAtA []byte, err error)
func (*IncentiveProgram) MarshalToSizedBuffer ¶
func (m *IncentiveProgram) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IncentiveProgram) ProtoMessage ¶
func (*IncentiveProgram) ProtoMessage()
func (*IncentiveProgram) Reset ¶
func (m *IncentiveProgram) Reset()
func (*IncentiveProgram) Size ¶
func (m *IncentiveProgram) Size() (n int)
func (*IncentiveProgram) String ¶
func (m *IncentiveProgram) String() string
func (*IncentiveProgram) Unmarshal ¶
func (m *IncentiveProgram) Unmarshal(dAtA []byte) error
func (IncentiveProgram) Validate ¶
func (ip IncentiveProgram) Validate() error
Validate performs validation on an IncentiveProgram type returning an error if the program is invalid.
func (*IncentiveProgram) XXX_DiscardUnknown ¶
func (m *IncentiveProgram) XXX_DiscardUnknown()
func (*IncentiveProgram) XXX_Marshal ¶
func (m *IncentiveProgram) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IncentiveProgram) XXX_Merge ¶
func (m *IncentiveProgram) XXX_Merge(src proto.Message)
func (*IncentiveProgram) XXX_Size ¶
func (m *IncentiveProgram) XXX_Size() int
func (*IncentiveProgram) XXX_Unmarshal ¶
func (m *IncentiveProgram) XXX_Unmarshal(b []byte) error
type LeverageKeeper ¶ added in v4.2.0
type LeverageKeeper interface { GetCollateralAmount(ctx sdk.Context, borrowerAddr sdk.AccAddress, denom string) sdk.Coin IsAcceptedUToken(ctx sdk.Context, uTokenDenom string) bool AssertNotBlacklisted(ctx sdk.Context, denom string) error }
LeverageKeeper defines the expected x/leverage keeper interface.
type MsgBeginUnbonding ¶
type MsgBeginUnbonding struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Tier uint32 `protobuf:"varint,2,opt,name=tier,proto3" json:"tier,omitempty"` Asset types.Coin `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset"` }
MsgBeginUnbonding represents a account's request to begin unbonding uToken collateral.
func NewMsgBeginUnbonding ¶
func NewMsgBeginUnbonding(account sdk.AccAddress, tier uint32, asset sdk.Coin) *MsgBeginUnbonding
func (*MsgBeginUnbonding) Descriptor ¶
func (*MsgBeginUnbonding) Descriptor() ([]byte, []int)
func (*MsgBeginUnbonding) GetAccount ¶
func (m *MsgBeginUnbonding) GetAccount() string
func (*MsgBeginUnbonding) GetAsset ¶
func (m *MsgBeginUnbonding) GetAsset() types.Coin
func (MsgBeginUnbonding) GetSignBytes ¶
func (msg MsgBeginUnbonding) GetSignBytes() []byte
GetSignBytes get the bytes for the message signer to sign on
func (MsgBeginUnbonding) GetSigners ¶
func (msg MsgBeginUnbonding) GetSigners() []sdk.AccAddress
func (*MsgBeginUnbonding) GetTier ¶
func (m *MsgBeginUnbonding) GetTier() uint32
func (*MsgBeginUnbonding) Marshal ¶
func (m *MsgBeginUnbonding) Marshal() (dAtA []byte, err error)
func (*MsgBeginUnbonding) MarshalTo ¶
func (m *MsgBeginUnbonding) MarshalTo(dAtA []byte) (int, error)
func (*MsgBeginUnbonding) MarshalToSizedBuffer ¶
func (m *MsgBeginUnbonding) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBeginUnbonding) ProtoMessage ¶
func (*MsgBeginUnbonding) ProtoMessage()
func (*MsgBeginUnbonding) Reset ¶
func (m *MsgBeginUnbonding) Reset()
func (MsgBeginUnbonding) Route ¶
func (msg MsgBeginUnbonding) Route() string
Route implements the sdk.Msg interface.
func (*MsgBeginUnbonding) Size ¶
func (m *MsgBeginUnbonding) Size() (n int)
func (*MsgBeginUnbonding) String ¶
func (m *MsgBeginUnbonding) String() string
func (MsgBeginUnbonding) Type ¶
func (msg MsgBeginUnbonding) Type() string
Type implements the sdk.Msg interface.
func (*MsgBeginUnbonding) Unmarshal ¶
func (m *MsgBeginUnbonding) Unmarshal(dAtA []byte) error
func (MsgBeginUnbonding) ValidateBasic ¶
func (msg MsgBeginUnbonding) ValidateBasic() error
func (*MsgBeginUnbonding) XXX_DiscardUnknown ¶
func (m *MsgBeginUnbonding) XXX_DiscardUnknown()
func (*MsgBeginUnbonding) XXX_Marshal ¶
func (m *MsgBeginUnbonding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBeginUnbonding) XXX_Merge ¶
func (m *MsgBeginUnbonding) XXX_Merge(src proto.Message)
func (*MsgBeginUnbonding) XXX_Size ¶
func (m *MsgBeginUnbonding) XXX_Size() int
func (*MsgBeginUnbonding) XXX_Unmarshal ¶
func (m *MsgBeginUnbonding) XXX_Unmarshal(b []byte) error
type MsgBeginUnbondingResponse ¶
type MsgBeginUnbondingResponse struct { }
MsgBeginUnbondingResponse defines the Msg/BeginUnbonding response type.
func (*MsgBeginUnbondingResponse) Descriptor ¶
func (*MsgBeginUnbondingResponse) Descriptor() ([]byte, []int)
func (*MsgBeginUnbondingResponse) Marshal ¶
func (m *MsgBeginUnbondingResponse) Marshal() (dAtA []byte, err error)
func (*MsgBeginUnbondingResponse) MarshalTo ¶
func (m *MsgBeginUnbondingResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgBeginUnbondingResponse) MarshalToSizedBuffer ¶
func (m *MsgBeginUnbondingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBeginUnbondingResponse) ProtoMessage ¶
func (*MsgBeginUnbondingResponse) ProtoMessage()
func (*MsgBeginUnbondingResponse) Reset ¶
func (m *MsgBeginUnbondingResponse) Reset()
func (*MsgBeginUnbondingResponse) Size ¶
func (m *MsgBeginUnbondingResponse) Size() (n int)
func (*MsgBeginUnbondingResponse) String ¶
func (m *MsgBeginUnbondingResponse) String() string
func (*MsgBeginUnbondingResponse) Unmarshal ¶
func (m *MsgBeginUnbondingResponse) Unmarshal(dAtA []byte) error
func (*MsgBeginUnbondingResponse) XXX_DiscardUnknown ¶
func (m *MsgBeginUnbondingResponse) XXX_DiscardUnknown()
func (*MsgBeginUnbondingResponse) XXX_Marshal ¶
func (m *MsgBeginUnbondingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBeginUnbondingResponse) XXX_Merge ¶
func (m *MsgBeginUnbondingResponse) XXX_Merge(src proto.Message)
func (*MsgBeginUnbondingResponse) XXX_Size ¶
func (m *MsgBeginUnbondingResponse) XXX_Size() int
func (*MsgBeginUnbondingResponse) XXX_Unmarshal ¶
func (m *MsgBeginUnbondingResponse) XXX_Unmarshal(b []byte) error
type MsgBond ¶
type MsgBond struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Tier uint32 `protobuf:"varint,2,opt,name=tier,proto3" json:"tier,omitempty"` Asset types.Coin `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset"` }
MsgBond represents a account's request to bond uToken collateral.
func NewMsgBond ¶
func (*MsgBond) Descriptor ¶
func (*MsgBond) GetAccount ¶
func (MsgBond) GetSignBytes ¶
GetSignBytes get the bytes for the message signer to sign on
func (MsgBond) GetSigners ¶
func (msg MsgBond) GetSigners() []sdk.AccAddress
func (*MsgBond) MarshalToSizedBuffer ¶
func (*MsgBond) ProtoMessage ¶
func (*MsgBond) ProtoMessage()
func (MsgBond) ValidateBasic ¶
func (*MsgBond) XXX_DiscardUnknown ¶
func (m *MsgBond) XXX_DiscardUnknown()
func (*MsgBond) XXX_Marshal ¶
func (*MsgBond) XXX_Unmarshal ¶
type MsgBondResponse ¶
type MsgBondResponse struct { }
MsgBondResponse defines the Msg/Lock response type.
func (*MsgBondResponse) Descriptor ¶
func (*MsgBondResponse) Descriptor() ([]byte, []int)
func (*MsgBondResponse) Marshal ¶
func (m *MsgBondResponse) Marshal() (dAtA []byte, err error)
func (*MsgBondResponse) MarshalToSizedBuffer ¶
func (m *MsgBondResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBondResponse) ProtoMessage ¶
func (*MsgBondResponse) ProtoMessage()
func (*MsgBondResponse) Reset ¶
func (m *MsgBondResponse) Reset()
func (*MsgBondResponse) Size ¶
func (m *MsgBondResponse) Size() (n int)
func (*MsgBondResponse) String ¶
func (m *MsgBondResponse) String() string
func (*MsgBondResponse) Unmarshal ¶
func (m *MsgBondResponse) Unmarshal(dAtA []byte) error
func (*MsgBondResponse) XXX_DiscardUnknown ¶
func (m *MsgBondResponse) XXX_DiscardUnknown()
func (*MsgBondResponse) XXX_Marshal ¶
func (m *MsgBondResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBondResponse) XXX_Merge ¶
func (m *MsgBondResponse) XXX_Merge(src proto.Message)
func (*MsgBondResponse) XXX_Size ¶
func (m *MsgBondResponse) XXX_Size() int
func (*MsgBondResponse) XXX_Unmarshal ¶
func (m *MsgBondResponse) XXX_Unmarshal(b []byte) error
type MsgClaim ¶
type MsgClaim struct {
Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
}
MsgClaim represents a account's request to claim pending rewards.
func NewMsgClaim ¶
func NewMsgClaim(account sdk.AccAddress) *MsgClaim
func (*MsgClaim) Descriptor ¶
func (*MsgClaim) GetAccount ¶
func (MsgClaim) GetSignBytes ¶
GetSignBytes get the bytes for the message signer to sign on
func (MsgClaim) GetSigners ¶
func (msg MsgClaim) GetSigners() []sdk.AccAddress
func (*MsgClaim) MarshalToSizedBuffer ¶
func (*MsgClaim) ProtoMessage ¶
func (*MsgClaim) ProtoMessage()
func (MsgClaim) ValidateBasic ¶
func (*MsgClaim) XXX_DiscardUnknown ¶
func (m *MsgClaim) XXX_DiscardUnknown()
func (*MsgClaim) XXX_Marshal ¶
func (*MsgClaim) XXX_Unmarshal ¶
type MsgClaimResponse ¶
type MsgClaimResponse struct {
Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}
MsgClaimResponse defines the Msg/Claim response type.
func (*MsgClaimResponse) Descriptor ¶
func (*MsgClaimResponse) Descriptor() ([]byte, []int)
func (*MsgClaimResponse) GetAmount ¶
func (m *MsgClaimResponse) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgClaimResponse) Marshal ¶
func (m *MsgClaimResponse) Marshal() (dAtA []byte, err error)
func (*MsgClaimResponse) MarshalToSizedBuffer ¶
func (m *MsgClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimResponse) ProtoMessage ¶
func (*MsgClaimResponse) ProtoMessage()
func (*MsgClaimResponse) Reset ¶
func (m *MsgClaimResponse) Reset()
func (*MsgClaimResponse) Size ¶
func (m *MsgClaimResponse) Size() (n int)
func (*MsgClaimResponse) String ¶
func (m *MsgClaimResponse) String() string
func (*MsgClaimResponse) Unmarshal ¶
func (m *MsgClaimResponse) Unmarshal(dAtA []byte) error
func (*MsgClaimResponse) XXX_DiscardUnknown ¶
func (m *MsgClaimResponse) XXX_DiscardUnknown()
func (*MsgClaimResponse) XXX_Marshal ¶
func (m *MsgClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimResponse) XXX_Merge ¶
func (m *MsgClaimResponse) XXX_Merge(src proto.Message)
func (*MsgClaimResponse) XXX_Size ¶
func (m *MsgClaimResponse) XXX_Size() int
func (*MsgClaimResponse) XXX_Unmarshal ¶
func (m *MsgClaimResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // Claim defines a method for claiming any pending incentive rewards. Claim(ctx context.Context, in *MsgClaim, opts ...grpc.CallOption) (*MsgClaimResponse, error) // Bond defines a method for bonding uToken collateral into reward tier. Bond(ctx context.Context, in *MsgBond, opts ...grpc.CallOption) (*MsgBondResponse, error) // BeginUnbonding defines a method for starting to unbond uToken collateral. BeginUnbonding(ctx context.Context, in *MsgBeginUnbonding, opts ...grpc.CallOption) (*MsgBeginUnbondingResponse, error) // Sponsor defines a permissionless method for sponsoring an upcoming, not yet funded incentive program. // The sponsor must be a single account and the MsgSponsor must fully cover the expected program rewards. Sponsor(ctx context.Context, in *MsgSponsor, opts ...grpc.CallOption) (*MsgSponsorResponse, error) // GovSetParams is used by governance proposals to update parameters. GovSetParams(ctx context.Context, in *MsgGovSetParams, opts ...grpc.CallOption) (*MsgGovSetParamsResponse, error) // GovCreatePrograms is used by governance proposals to create and optionally fund incentive programs. GovCreatePrograms(ctx context.Context, in *MsgGovCreatePrograms, opts ...grpc.CallOption) (*MsgGovCreateProgramsResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgGovCreatePrograms ¶ added in v4.2.0
type MsgGovCreatePrograms struct { // authority must be the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Programs []IncentiveProgram `protobuf:"bytes,4,rep,name=programs,proto3" json:"programs"` // from_community_fund defines the source of funds for proposed incentive programs. FromCommunityFund bool `protobuf:"varint,5,opt,name=from_community_fund,json=fromCommunityFund,proto3" json:"from_community_fund,omitempty"` }
MsgGovCreatePrograms is used by governance to create one or more incentive programs. There are two funding scenarios, depending on from_community_fund. If it is true,the programs' total rewards will be automatically withdrawn from the (parameter) community_fund_address to the incentive module account when this message is passed. (Insufficient funds cause the parameter to be treated as false.) If it is false, a MsgSponsor funding each program's full amount must be submitted after this message passes, but before the program's start_time, or the program will be cancelled when it would otherwise start.
func NewMsgGovCreatePrograms ¶ added in v4.3.0
func NewMsgGovCreatePrograms(authority, title, description string, programs []IncentiveProgram) *MsgGovCreatePrograms
func (*MsgGovCreatePrograms) Descriptor ¶ added in v4.2.0
func (*MsgGovCreatePrograms) Descriptor() ([]byte, []int)
func (*MsgGovCreatePrograms) Equal ¶ added in v4.2.0
func (this *MsgGovCreatePrograms) Equal(that interface{}) bool
func (MsgGovCreatePrograms) GetSignBytes ¶ added in v4.2.0
func (msg MsgGovCreatePrograms) GetSignBytes() []byte
GetSignBytes implements Msg
func (MsgGovCreatePrograms) GetSigners ¶ added in v4.2.0
func (msg MsgGovCreatePrograms) GetSigners() []sdk.AccAddress
GetSigners implements Msg
func (*MsgGovCreatePrograms) Marshal ¶ added in v4.2.0
func (m *MsgGovCreatePrograms) Marshal() (dAtA []byte, err error)
func (*MsgGovCreatePrograms) MarshalTo ¶ added in v4.2.0
func (m *MsgGovCreatePrograms) MarshalTo(dAtA []byte) (int, error)
func (*MsgGovCreatePrograms) MarshalToSizedBuffer ¶ added in v4.2.0
func (m *MsgGovCreatePrograms) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGovCreatePrograms) ProtoMessage ¶ added in v4.2.0
func (*MsgGovCreatePrograms) ProtoMessage()
func (*MsgGovCreatePrograms) Reset ¶ added in v4.2.0
func (m *MsgGovCreatePrograms) Reset()
func (MsgGovCreatePrograms) Route ¶ added in v4.2.0
func (msg MsgGovCreatePrograms) Route() string
Route implements the sdk.Msg interface.
func (*MsgGovCreatePrograms) Size ¶ added in v4.2.0
func (m *MsgGovCreatePrograms) Size() (n int)
func (*MsgGovCreatePrograms) String ¶ added in v4.2.0
func (m *MsgGovCreatePrograms) String() string
func (MsgGovCreatePrograms) Type ¶ added in v4.2.0
func (msg MsgGovCreatePrograms) Type() string
Type implements the sdk.Msg interface.
func (*MsgGovCreatePrograms) Unmarshal ¶ added in v4.2.0
func (m *MsgGovCreatePrograms) Unmarshal(dAtA []byte) error
func (MsgGovCreatePrograms) ValidateBasic ¶ added in v4.2.0
func (msg MsgGovCreatePrograms) ValidateBasic() error
func (*MsgGovCreatePrograms) XXX_DiscardUnknown ¶ added in v4.2.0
func (m *MsgGovCreatePrograms) XXX_DiscardUnknown()
func (*MsgGovCreatePrograms) XXX_Marshal ¶ added in v4.2.0
func (m *MsgGovCreatePrograms) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGovCreatePrograms) XXX_Merge ¶ added in v4.2.0
func (m *MsgGovCreatePrograms) XXX_Merge(src proto.Message)
func (*MsgGovCreatePrograms) XXX_Size ¶ added in v4.2.0
func (m *MsgGovCreatePrograms) XXX_Size() int
func (*MsgGovCreatePrograms) XXX_Unmarshal ¶ added in v4.2.0
func (m *MsgGovCreatePrograms) XXX_Unmarshal(b []byte) error
type MsgGovCreateProgramsResponse ¶ added in v4.2.0
type MsgGovCreateProgramsResponse struct { }
MsgGovCreateProgramsResponse defines the Msg/CreatePrograms response type.
func (*MsgGovCreateProgramsResponse) Descriptor ¶ added in v4.2.0
func (*MsgGovCreateProgramsResponse) Descriptor() ([]byte, []int)
func (*MsgGovCreateProgramsResponse) Marshal ¶ added in v4.2.0
func (m *MsgGovCreateProgramsResponse) Marshal() (dAtA []byte, err error)
func (*MsgGovCreateProgramsResponse) MarshalTo ¶ added in v4.2.0
func (m *MsgGovCreateProgramsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgGovCreateProgramsResponse) MarshalToSizedBuffer ¶ added in v4.2.0
func (m *MsgGovCreateProgramsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGovCreateProgramsResponse) ProtoMessage ¶ added in v4.2.0
func (*MsgGovCreateProgramsResponse) ProtoMessage()
func (*MsgGovCreateProgramsResponse) Reset ¶ added in v4.2.0
func (m *MsgGovCreateProgramsResponse) Reset()
func (*MsgGovCreateProgramsResponse) Size ¶ added in v4.2.0
func (m *MsgGovCreateProgramsResponse) Size() (n int)
func (*MsgGovCreateProgramsResponse) String ¶ added in v4.2.0
func (m *MsgGovCreateProgramsResponse) String() string
func (*MsgGovCreateProgramsResponse) Unmarshal ¶ added in v4.2.0
func (m *MsgGovCreateProgramsResponse) Unmarshal(dAtA []byte) error
func (*MsgGovCreateProgramsResponse) XXX_DiscardUnknown ¶ added in v4.2.0
func (m *MsgGovCreateProgramsResponse) XXX_DiscardUnknown()
func (*MsgGovCreateProgramsResponse) XXX_Marshal ¶ added in v4.2.0
func (m *MsgGovCreateProgramsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGovCreateProgramsResponse) XXX_Merge ¶ added in v4.2.0
func (m *MsgGovCreateProgramsResponse) XXX_Merge(src proto.Message)
func (*MsgGovCreateProgramsResponse) XXX_Size ¶ added in v4.2.0
func (m *MsgGovCreateProgramsResponse) XXX_Size() int
func (*MsgGovCreateProgramsResponse) XXX_Unmarshal ¶ added in v4.2.0
func (m *MsgGovCreateProgramsResponse) XXX_Unmarshal(b []byte) error
type MsgGovSetParams ¶
type MsgGovSetParams struct { // authority must be the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Params Params `protobuf:"bytes,4,opt,name=params,proto3" json:"params"` }
MsgGovSetParams is used by governance to update module parameters.
func NewMsgGovSetParams ¶
func NewMsgGovSetParams(authority, title, description string, params Params) *MsgGovSetParams
func (*MsgGovSetParams) Descriptor ¶
func (*MsgGovSetParams) Descriptor() ([]byte, []int)
func (*MsgGovSetParams) Equal ¶
func (this *MsgGovSetParams) Equal(that interface{}) bool
func (MsgGovSetParams) GetSignBytes ¶
func (msg MsgGovSetParams) GetSignBytes() []byte
GetSignBytes implements Msg
func (MsgGovSetParams) GetSigners ¶
func (msg MsgGovSetParams) GetSigners() []sdk.AccAddress
GetSigners implements Msg
func (*MsgGovSetParams) Marshal ¶
func (m *MsgGovSetParams) Marshal() (dAtA []byte, err error)
func (*MsgGovSetParams) MarshalToSizedBuffer ¶
func (m *MsgGovSetParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGovSetParams) ProtoMessage ¶
func (*MsgGovSetParams) ProtoMessage()
func (*MsgGovSetParams) Reset ¶
func (m *MsgGovSetParams) Reset()
func (MsgGovSetParams) Route ¶
func (msg MsgGovSetParams) Route() string
Route implements the sdk.Msg interface.
func (*MsgGovSetParams) Size ¶
func (m *MsgGovSetParams) Size() (n int)
func (*MsgGovSetParams) String ¶
func (m *MsgGovSetParams) String() string
func (MsgGovSetParams) Type ¶
func (msg MsgGovSetParams) Type() string
Type implements the sdk.Msg interface.
func (*MsgGovSetParams) Unmarshal ¶
func (m *MsgGovSetParams) Unmarshal(dAtA []byte) error
func (MsgGovSetParams) ValidateBasic ¶
func (msg MsgGovSetParams) ValidateBasic() error
func (*MsgGovSetParams) XXX_DiscardUnknown ¶
func (m *MsgGovSetParams) XXX_DiscardUnknown()
func (*MsgGovSetParams) XXX_Marshal ¶
func (m *MsgGovSetParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGovSetParams) XXX_Merge ¶
func (m *MsgGovSetParams) XXX_Merge(src proto.Message)
func (*MsgGovSetParams) XXX_Size ¶
func (m *MsgGovSetParams) XXX_Size() int
func (*MsgGovSetParams) XXX_Unmarshal ¶
func (m *MsgGovSetParams) XXX_Unmarshal(b []byte) error
type MsgGovSetParamsResponse ¶
type MsgGovSetParamsResponse struct { }
MsgGovSetParamsResponse defines the Msg/SetParams response type.
func (*MsgGovSetParamsResponse) Descriptor ¶
func (*MsgGovSetParamsResponse) Descriptor() ([]byte, []int)
func (*MsgGovSetParamsResponse) Marshal ¶
func (m *MsgGovSetParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgGovSetParamsResponse) MarshalTo ¶
func (m *MsgGovSetParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgGovSetParamsResponse) MarshalToSizedBuffer ¶
func (m *MsgGovSetParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGovSetParamsResponse) ProtoMessage ¶
func (*MsgGovSetParamsResponse) ProtoMessage()
func (*MsgGovSetParamsResponse) Reset ¶
func (m *MsgGovSetParamsResponse) Reset()
func (*MsgGovSetParamsResponse) Size ¶
func (m *MsgGovSetParamsResponse) Size() (n int)
func (*MsgGovSetParamsResponse) String ¶
func (m *MsgGovSetParamsResponse) String() string
func (*MsgGovSetParamsResponse) Unmarshal ¶
func (m *MsgGovSetParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgGovSetParamsResponse) XXX_DiscardUnknown ¶
func (m *MsgGovSetParamsResponse) XXX_DiscardUnknown()
func (*MsgGovSetParamsResponse) XXX_Marshal ¶
func (m *MsgGovSetParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGovSetParamsResponse) XXX_Merge ¶
func (m *MsgGovSetParamsResponse) XXX_Merge(src proto.Message)
func (*MsgGovSetParamsResponse) XXX_Size ¶
func (m *MsgGovSetParamsResponse) XXX_Size() int
func (*MsgGovSetParamsResponse) XXX_Unmarshal ¶
func (m *MsgGovSetParamsResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // Claim defines a method for claiming any pending incentive rewards. Claim(context.Context, *MsgClaim) (*MsgClaimResponse, error) // Bond defines a method for bonding uToken collateral into reward tier. Bond(context.Context, *MsgBond) (*MsgBondResponse, error) // BeginUnbonding defines a method for starting to unbond uToken collateral. BeginUnbonding(context.Context, *MsgBeginUnbonding) (*MsgBeginUnbondingResponse, error) // Sponsor defines a permissionless method for sponsoring an upcoming, not yet funded incentive program. // The sponsor must be a single account and the MsgSponsor must fully cover the expected program rewards. Sponsor(context.Context, *MsgSponsor) (*MsgSponsorResponse, error) // GovSetParams is used by governance proposals to update parameters. GovSetParams(context.Context, *MsgGovSetParams) (*MsgGovSetParamsResponse, error) // GovCreatePrograms is used by governance proposals to create and optionally fund incentive programs. GovCreatePrograms(context.Context, *MsgGovCreatePrograms) (*MsgGovCreateProgramsResponse, error) }
MsgServer is the server API for Msg service.
type MsgSponsor ¶
type MsgSponsor struct { // Sponsor bech32 account address Sponsor string `protobuf:"bytes,1,opt,name=sponsor,proto3" json:"sponsor,omitempty"` Program uint32 `protobuf:"varint,2,opt,name=program,proto3" json:"program,omitempty"` Asset types.Coin `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset"` }
MsgSponsor represents a sponsor's request to fund rewards for an incentive program. The program must have been passed by governance, not yet started, and not yet funded. Funded assets must be the full amount required by the program.
func NewMsgSponsor ¶
func NewMsgSponsor(sponsor sdk.AccAddress, programID uint32, asset sdk.Coin) *MsgSponsor
func (*MsgSponsor) Descriptor ¶
func (*MsgSponsor) Descriptor() ([]byte, []int)
func (*MsgSponsor) GetAsset ¶
func (m *MsgSponsor) GetAsset() types.Coin
func (*MsgSponsor) GetProgram ¶
func (m *MsgSponsor) GetProgram() uint32
func (MsgSponsor) GetSignBytes ¶
func (msg MsgSponsor) GetSignBytes() []byte
GetSignBytes get the bytes for the message signer to sign on
func (MsgSponsor) GetSigners ¶
func (msg MsgSponsor) GetSigners() []sdk.AccAddress
func (*MsgSponsor) GetSponsor ¶
func (m *MsgSponsor) GetSponsor() string
func (*MsgSponsor) Marshal ¶
func (m *MsgSponsor) Marshal() (dAtA []byte, err error)
func (*MsgSponsor) MarshalToSizedBuffer ¶
func (m *MsgSponsor) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSponsor) ProtoMessage ¶
func (*MsgSponsor) ProtoMessage()
func (*MsgSponsor) Reset ¶
func (m *MsgSponsor) Reset()
func (MsgSponsor) Route ¶
func (msg MsgSponsor) Route() string
Route implements the sdk.Msg interface.
func (*MsgSponsor) Size ¶
func (m *MsgSponsor) Size() (n int)
func (*MsgSponsor) String ¶
func (m *MsgSponsor) String() string
func (*MsgSponsor) Unmarshal ¶
func (m *MsgSponsor) Unmarshal(dAtA []byte) error
func (MsgSponsor) ValidateBasic ¶
func (msg MsgSponsor) ValidateBasic() error
func (*MsgSponsor) XXX_DiscardUnknown ¶
func (m *MsgSponsor) XXX_DiscardUnknown()
func (*MsgSponsor) XXX_Marshal ¶
func (m *MsgSponsor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSponsor) XXX_Merge ¶
func (m *MsgSponsor) XXX_Merge(src proto.Message)
func (*MsgSponsor) XXX_Size ¶
func (m *MsgSponsor) XXX_Size() int
func (*MsgSponsor) XXX_Unmarshal ¶
func (m *MsgSponsor) XXX_Unmarshal(b []byte) error
type MsgSponsorResponse ¶
type MsgSponsorResponse struct { }
MsgSponsorResponse defines the Msg/Sponsor response type.
func (*MsgSponsorResponse) Descriptor ¶
func (*MsgSponsorResponse) Descriptor() ([]byte, []int)
func (*MsgSponsorResponse) Marshal ¶
func (m *MsgSponsorResponse) Marshal() (dAtA []byte, err error)
func (*MsgSponsorResponse) MarshalTo ¶
func (m *MsgSponsorResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSponsorResponse) MarshalToSizedBuffer ¶
func (m *MsgSponsorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSponsorResponse) ProtoMessage ¶
func (*MsgSponsorResponse) ProtoMessage()
func (*MsgSponsorResponse) Reset ¶
func (m *MsgSponsorResponse) Reset()
func (*MsgSponsorResponse) Size ¶
func (m *MsgSponsorResponse) Size() (n int)
func (*MsgSponsorResponse) String ¶
func (m *MsgSponsorResponse) String() string
func (*MsgSponsorResponse) Unmarshal ¶
func (m *MsgSponsorResponse) Unmarshal(dAtA []byte) error
func (*MsgSponsorResponse) XXX_DiscardUnknown ¶
func (m *MsgSponsorResponse) XXX_DiscardUnknown()
func (*MsgSponsorResponse) XXX_Marshal ¶
func (m *MsgSponsorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSponsorResponse) XXX_Merge ¶
func (m *MsgSponsorResponse) XXX_Merge(src proto.Message)
func (*MsgSponsorResponse) XXX_Size ¶
func (m *MsgSponsorResponse) XXX_Size() int
func (*MsgSponsorResponse) XXX_Unmarshal ¶
func (m *MsgSponsorResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { // max_unbondings defines the maximum amount of concurrent unbondings an address can have // on each unbonding tier of each bonded uToken denom. MaxUnbondings uint32 `protobuf:"varint,1,opt,name=max_unbondings,json=maxUnbondings,proto3" json:"max_unbondings,omitempty"` // unbonding_duration_long defines the unbonding duration (in seconds) of the long tier. UnbondingDurationLong uint64 `` /* 127-byte string literal not displayed */ // unbonding_duration_middle defines the unbonding duration (in seconds) of the middle tier. UnbondingDurationMiddle uint64 `` /* 133-byte string literal not displayed */ // unbonding_duration_short defines the unbonding duration (in seconds) of the short tier. UnbondingDurationShort uint64 `` /* 130-byte string literal not displayed */ // tier_weight_short defines the proportion of rewards which assets bonded // in the short unbonding duration receive compared to what the same amount // would receive bonded to the long tier. // valid values: [0;1] TierWeightShort github_com_cosmos_cosmos_sdk_types.Dec `` /* 148-byte string literal not displayed */ // tier_weight_middle defines the proportion of rewards which assets bonded // in the middle unbonding duration receive compared to what the same amount // would receive bonded to the long tier. // valid values: [0;1] TierWeightMiddle github_com_cosmos_cosmos_sdk_types.Dec `` /* 151-byte string literal not displayed */ // community_fund_address is the address from which all incentive programs // proposed with "from_community_fund = true" will receive their funding. // Since funds are withdrawn automatically when an incentive program passes // governance, this account should always contain sufficient balance to // cover incentive programs which are being voted upon. CommunityFundAddress string `protobuf:"bytes,7,opt,name=community_fund_address,json=communityFundAddress,proto3" json:"community_fund_address,omitempty"` }
Params defines the parameters for the incentive module.
func (*Params) Descriptor ¶
func (*Params) GetCommunityFundAddress ¶
func (*Params) GetMaxUnbondings ¶
func (*Params) GetUnbondingDurationLong ¶
func (*Params) GetUnbondingDurationMiddle ¶
func (*Params) GetUnbondingDurationShort ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type ProgramStatus ¶ added in v4.2.0
type ProgramStatus uint8
const ( ProgramStatusUpcoming ProgramStatus = iota ProgramStatusOngoing ProgramStatusCompleted )
func (ProgramStatus) Validate ¶ added in v4.3.0
func (p ProgramStatus) Validate() error
type QueryBonded ¶
type QueryBonded struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // denom is an optional field which causes the query to return the totals of only one uToken Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` }
QueryBonded defines the request structure for the Bonded gRPC service handler.
func (*QueryBonded) Descriptor ¶
func (*QueryBonded) Descriptor() ([]byte, []int)
func (*QueryBonded) GetAddress ¶
func (m *QueryBonded) GetAddress() string
func (*QueryBonded) GetDenom ¶ added in v4.2.0
func (m *QueryBonded) GetDenom() string
func (*QueryBonded) Marshal ¶
func (m *QueryBonded) Marshal() (dAtA []byte, err error)
func (*QueryBonded) MarshalToSizedBuffer ¶
func (m *QueryBonded) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBonded) ProtoMessage ¶
func (*QueryBonded) ProtoMessage()
func (*QueryBonded) Reset ¶
func (m *QueryBonded) Reset()
func (*QueryBonded) Size ¶
func (m *QueryBonded) Size() (n int)
func (*QueryBonded) String ¶
func (m *QueryBonded) String() string
func (*QueryBonded) Unmarshal ¶
func (m *QueryBonded) Unmarshal(dAtA []byte) error
func (*QueryBonded) XXX_DiscardUnknown ¶
func (m *QueryBonded) XXX_DiscardUnknown()
func (*QueryBonded) XXX_Marshal ¶
func (m *QueryBonded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBonded) XXX_Merge ¶
func (m *QueryBonded) XXX_Merge(src proto.Message)
func (*QueryBonded) XXX_Size ¶
func (m *QueryBonded) XXX_Size() int
func (*QueryBonded) XXX_Unmarshal ¶
func (m *QueryBonded) XXX_Unmarshal(b []byte) error
type QueryBondedResponse ¶
type QueryBondedResponse struct {
Bonded []TotalBond `protobuf:"bytes,1,rep,name=bonded,proto3" json:"bonded"`
}
QueryBondedResponse defines the response structure for the Bonded gRPC service handler.
func (*QueryBondedResponse) Descriptor ¶
func (*QueryBondedResponse) Descriptor() ([]byte, []int)
func (*QueryBondedResponse) GetBonded ¶
func (m *QueryBondedResponse) GetBonded() []TotalBond
func (*QueryBondedResponse) Marshal ¶
func (m *QueryBondedResponse) Marshal() (dAtA []byte, err error)
func (*QueryBondedResponse) MarshalTo ¶
func (m *QueryBondedResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBondedResponse) MarshalToSizedBuffer ¶
func (m *QueryBondedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBondedResponse) ProtoMessage ¶
func (*QueryBondedResponse) ProtoMessage()
func (*QueryBondedResponse) Reset ¶
func (m *QueryBondedResponse) Reset()
func (*QueryBondedResponse) Size ¶
func (m *QueryBondedResponse) Size() (n int)
func (*QueryBondedResponse) String ¶
func (m *QueryBondedResponse) String() string
func (*QueryBondedResponse) Unmarshal ¶
func (m *QueryBondedResponse) Unmarshal(dAtA []byte) error
func (*QueryBondedResponse) XXX_DiscardUnknown ¶
func (m *QueryBondedResponse) XXX_DiscardUnknown()
func (*QueryBondedResponse) XXX_Marshal ¶
func (m *QueryBondedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBondedResponse) XXX_Merge ¶
func (m *QueryBondedResponse) XXX_Merge(src proto.Message)
func (*QueryBondedResponse) XXX_Size ¶
func (m *QueryBondedResponse) XXX_Size() int
func (*QueryBondedResponse) XXX_Unmarshal ¶
func (m *QueryBondedResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Params queries the parameters of the x/incentive module. Params(ctx context.Context, in *QueryParams, opts ...grpc.CallOption) (*QueryParamsResponse, error) // TotalBonded queries the sum of all bonded collateral uTokens, separated by tier. TotalBonded(ctx context.Context, in *QueryTotalBonded, opts ...grpc.CallOption) (*QueryTotalBondedResponse, error) // TotalUnbonding queries the sum of all unbonding collateral uTokens, separated by tier. TotalUnbonding(ctx context.Context, in *QueryTotalUnbonding, opts ...grpc.CallOption) (*QueryTotalUnbondingResponse, error) // Bonded queries all bonded collateral uTokens associated with an account. Bonded(ctx context.Context, in *QueryBonded, opts ...grpc.CallOption) (*QueryBondedResponse, error) // Unbondings queries all current uToken unbondings associated with an account. Unbondings(ctx context.Context, in *QueryUnbondings, opts ...grpc.CallOption) (*QueryUnbondingsResponse, error) // PendingRewards queries unclaimed incentive rewards associated with an account. PendingRewards(ctx context.Context, in *QueryPendingRewards, opts ...grpc.CallOption) (*QueryPendingRewardsResponse, error) // CompletedIncentivePrograms queries for all incentives programs that have been passed // by governance, and either run to completion or expired immediately due to not being funded. CompletedIncentivePrograms(ctx context.Context, in *QueryCompletedIncentivePrograms, opts ...grpc.CallOption) (*QueryCompletedIncentiveProgramsResponse, error) // OngoingIncentivePrograms queries for all incentives programs that have been passed // by governance, funded, and started but not yet completed. OngoingIncentivePrograms(ctx context.Context, in *QueryOngoingIncentivePrograms, opts ...grpc.CallOption) (*QueryOngoingIncentiveProgramsResponse, error) // UpcomingIncentivePrograms queries for all incentives programs that have been passed // by governance, but not yet started. They may or may not have been funded. UpcomingIncentivePrograms(ctx context.Context, in *QueryUpcomingIncentivePrograms, opts ...grpc.CallOption) (*QueryUpcomingIncentiveProgramsResponse, error) // IncentiveProgram queries a single incentive program by ID. IncentiveProgram(ctx context.Context, in *QueryIncentiveProgram, opts ...grpc.CallOption) (*QueryIncentiveProgramResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryCompletedIncentivePrograms ¶
type QueryCompletedIncentivePrograms struct { // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryCompletedIncentivePrograms defines the request structure for the CompletedIncentivePrograms gRPC service handler.
func (*QueryCompletedIncentivePrograms) Descriptor ¶
func (*QueryCompletedIncentivePrograms) Descriptor() ([]byte, []int)
func (*QueryCompletedIncentivePrograms) GetPagination ¶
func (m *QueryCompletedIncentivePrograms) GetPagination() *query.PageRequest
func (*QueryCompletedIncentivePrograms) Marshal ¶
func (m *QueryCompletedIncentivePrograms) Marshal() (dAtA []byte, err error)
func (*QueryCompletedIncentivePrograms) MarshalTo ¶
func (m *QueryCompletedIncentivePrograms) MarshalTo(dAtA []byte) (int, error)
func (*QueryCompletedIncentivePrograms) MarshalToSizedBuffer ¶
func (m *QueryCompletedIncentivePrograms) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCompletedIncentivePrograms) ProtoMessage ¶
func (*QueryCompletedIncentivePrograms) ProtoMessage()
func (*QueryCompletedIncentivePrograms) Reset ¶
func (m *QueryCompletedIncentivePrograms) Reset()
func (*QueryCompletedIncentivePrograms) Size ¶
func (m *QueryCompletedIncentivePrograms) Size() (n int)
func (*QueryCompletedIncentivePrograms) String ¶
func (m *QueryCompletedIncentivePrograms) String() string
func (*QueryCompletedIncentivePrograms) Unmarshal ¶
func (m *QueryCompletedIncentivePrograms) Unmarshal(dAtA []byte) error
func (*QueryCompletedIncentivePrograms) XXX_DiscardUnknown ¶
func (m *QueryCompletedIncentivePrograms) XXX_DiscardUnknown()
func (*QueryCompletedIncentivePrograms) XXX_Marshal ¶
func (m *QueryCompletedIncentivePrograms) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCompletedIncentivePrograms) XXX_Merge ¶
func (m *QueryCompletedIncentivePrograms) XXX_Merge(src proto.Message)
func (*QueryCompletedIncentivePrograms) XXX_Size ¶
func (m *QueryCompletedIncentivePrograms) XXX_Size() int
func (*QueryCompletedIncentivePrograms) XXX_Unmarshal ¶
func (m *QueryCompletedIncentivePrograms) XXX_Unmarshal(b []byte) error
type QueryCompletedIncentiveProgramsResponse ¶
type QueryCompletedIncentiveProgramsResponse struct { Programs []IncentiveProgram `protobuf:"bytes,1,rep,name=programs,proto3" json:"programs"` // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryCompletedIncentiveProgramsResponse defines the response structure for the CompletedIncentivePrograms gRPC service handler.
func (*QueryCompletedIncentiveProgramsResponse) Descriptor ¶
func (*QueryCompletedIncentiveProgramsResponse) Descriptor() ([]byte, []int)
func (*QueryCompletedIncentiveProgramsResponse) GetPagination ¶
func (m *QueryCompletedIncentiveProgramsResponse) GetPagination() *query.PageRequest
func (*QueryCompletedIncentiveProgramsResponse) GetPrograms ¶
func (m *QueryCompletedIncentiveProgramsResponse) GetPrograms() []IncentiveProgram
func (*QueryCompletedIncentiveProgramsResponse) Marshal ¶
func (m *QueryCompletedIncentiveProgramsResponse) Marshal() (dAtA []byte, err error)
func (*QueryCompletedIncentiveProgramsResponse) MarshalTo ¶
func (m *QueryCompletedIncentiveProgramsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCompletedIncentiveProgramsResponse) MarshalToSizedBuffer ¶
func (m *QueryCompletedIncentiveProgramsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCompletedIncentiveProgramsResponse) ProtoMessage ¶
func (*QueryCompletedIncentiveProgramsResponse) ProtoMessage()
func (*QueryCompletedIncentiveProgramsResponse) Reset ¶
func (m *QueryCompletedIncentiveProgramsResponse) Reset()
func (*QueryCompletedIncentiveProgramsResponse) Size ¶
func (m *QueryCompletedIncentiveProgramsResponse) Size() (n int)
func (*QueryCompletedIncentiveProgramsResponse) String ¶
func (m *QueryCompletedIncentiveProgramsResponse) String() string
func (*QueryCompletedIncentiveProgramsResponse) Unmarshal ¶
func (m *QueryCompletedIncentiveProgramsResponse) Unmarshal(dAtA []byte) error
func (*QueryCompletedIncentiveProgramsResponse) XXX_DiscardUnknown ¶
func (m *QueryCompletedIncentiveProgramsResponse) XXX_DiscardUnknown()
func (*QueryCompletedIncentiveProgramsResponse) XXX_Marshal ¶
func (m *QueryCompletedIncentiveProgramsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCompletedIncentiveProgramsResponse) XXX_Merge ¶
func (m *QueryCompletedIncentiveProgramsResponse) XXX_Merge(src proto.Message)
func (*QueryCompletedIncentiveProgramsResponse) XXX_Size ¶
func (m *QueryCompletedIncentiveProgramsResponse) XXX_Size() int
func (*QueryCompletedIncentiveProgramsResponse) XXX_Unmarshal ¶
func (m *QueryCompletedIncentiveProgramsResponse) XXX_Unmarshal(b []byte) error
type QueryIncentiveProgram ¶
type QueryIncentiveProgram struct { // ID specifies which program to query for Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` }
QueryIncentiveProgram defines the request structure for the IncentiveProgram gRPC service handler.
func (*QueryIncentiveProgram) Descriptor ¶
func (*QueryIncentiveProgram) Descriptor() ([]byte, []int)
func (*QueryIncentiveProgram) GetId ¶
func (m *QueryIncentiveProgram) GetId() uint32
func (*QueryIncentiveProgram) Marshal ¶
func (m *QueryIncentiveProgram) Marshal() (dAtA []byte, err error)
func (*QueryIncentiveProgram) MarshalTo ¶
func (m *QueryIncentiveProgram) MarshalTo(dAtA []byte) (int, error)
func (*QueryIncentiveProgram) MarshalToSizedBuffer ¶
func (m *QueryIncentiveProgram) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryIncentiveProgram) ProtoMessage ¶
func (*QueryIncentiveProgram) ProtoMessage()
func (*QueryIncentiveProgram) Reset ¶
func (m *QueryIncentiveProgram) Reset()
func (*QueryIncentiveProgram) Size ¶
func (m *QueryIncentiveProgram) Size() (n int)
func (*QueryIncentiveProgram) String ¶
func (m *QueryIncentiveProgram) String() string
func (*QueryIncentiveProgram) Unmarshal ¶
func (m *QueryIncentiveProgram) Unmarshal(dAtA []byte) error
func (*QueryIncentiveProgram) XXX_DiscardUnknown ¶
func (m *QueryIncentiveProgram) XXX_DiscardUnknown()
func (*QueryIncentiveProgram) XXX_Marshal ¶
func (m *QueryIncentiveProgram) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryIncentiveProgram) XXX_Merge ¶
func (m *QueryIncentiveProgram) XXX_Merge(src proto.Message)
func (*QueryIncentiveProgram) XXX_Size ¶
func (m *QueryIncentiveProgram) XXX_Size() int
func (*QueryIncentiveProgram) XXX_Unmarshal ¶
func (m *QueryIncentiveProgram) XXX_Unmarshal(b []byte) error
type QueryIncentiveProgramResponse ¶
type QueryIncentiveProgramResponse struct {
Program IncentiveProgram `protobuf:"bytes,1,opt,name=program,proto3" json:"program"`
}
QueryIncentivePrograResponse defines the response structure for the IncentiveProgram gRPC service handler.
func (*QueryIncentiveProgramResponse) Descriptor ¶
func (*QueryIncentiveProgramResponse) Descriptor() ([]byte, []int)
func (*QueryIncentiveProgramResponse) GetProgram ¶
func (m *QueryIncentiveProgramResponse) GetProgram() IncentiveProgram
func (*QueryIncentiveProgramResponse) Marshal ¶
func (m *QueryIncentiveProgramResponse) Marshal() (dAtA []byte, err error)
func (*QueryIncentiveProgramResponse) MarshalTo ¶
func (m *QueryIncentiveProgramResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryIncentiveProgramResponse) MarshalToSizedBuffer ¶
func (m *QueryIncentiveProgramResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryIncentiveProgramResponse) ProtoMessage ¶
func (*QueryIncentiveProgramResponse) ProtoMessage()
func (*QueryIncentiveProgramResponse) Reset ¶
func (m *QueryIncentiveProgramResponse) Reset()
func (*QueryIncentiveProgramResponse) Size ¶
func (m *QueryIncentiveProgramResponse) Size() (n int)
func (*QueryIncentiveProgramResponse) String ¶
func (m *QueryIncentiveProgramResponse) String() string
func (*QueryIncentiveProgramResponse) Unmarshal ¶
func (m *QueryIncentiveProgramResponse) Unmarshal(dAtA []byte) error
func (*QueryIncentiveProgramResponse) XXX_DiscardUnknown ¶
func (m *QueryIncentiveProgramResponse) XXX_DiscardUnknown()
func (*QueryIncentiveProgramResponse) XXX_Marshal ¶
func (m *QueryIncentiveProgramResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryIncentiveProgramResponse) XXX_Merge ¶
func (m *QueryIncentiveProgramResponse) XXX_Merge(src proto.Message)
func (*QueryIncentiveProgramResponse) XXX_Size ¶
func (m *QueryIncentiveProgramResponse) XXX_Size() int
func (*QueryIncentiveProgramResponse) XXX_Unmarshal ¶
func (m *QueryIncentiveProgramResponse) XXX_Unmarshal(b []byte) error
type QueryOngoingIncentivePrograms ¶
type QueryOngoingIncentivePrograms struct { }
QueryOngoingIncentivePrograms defines the request structure for the OngoingIncentivePrograms and UpcomingIncentivePrograms gRPC service handlers.
func (*QueryOngoingIncentivePrograms) Descriptor ¶
func (*QueryOngoingIncentivePrograms) Descriptor() ([]byte, []int)
func (*QueryOngoingIncentivePrograms) Marshal ¶
func (m *QueryOngoingIncentivePrograms) Marshal() (dAtA []byte, err error)
func (*QueryOngoingIncentivePrograms) MarshalTo ¶
func (m *QueryOngoingIncentivePrograms) MarshalTo(dAtA []byte) (int, error)
func (*QueryOngoingIncentivePrograms) MarshalToSizedBuffer ¶
func (m *QueryOngoingIncentivePrograms) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryOngoingIncentivePrograms) ProtoMessage ¶
func (*QueryOngoingIncentivePrograms) ProtoMessage()
func (*QueryOngoingIncentivePrograms) Reset ¶
func (m *QueryOngoingIncentivePrograms) Reset()
func (*QueryOngoingIncentivePrograms) Size ¶
func (m *QueryOngoingIncentivePrograms) Size() (n int)
func (*QueryOngoingIncentivePrograms) String ¶
func (m *QueryOngoingIncentivePrograms) String() string
func (*QueryOngoingIncentivePrograms) Unmarshal ¶
func (m *QueryOngoingIncentivePrograms) Unmarshal(dAtA []byte) error
func (*QueryOngoingIncentivePrograms) XXX_DiscardUnknown ¶
func (m *QueryOngoingIncentivePrograms) XXX_DiscardUnknown()
func (*QueryOngoingIncentivePrograms) XXX_Marshal ¶
func (m *QueryOngoingIncentivePrograms) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryOngoingIncentivePrograms) XXX_Merge ¶
func (m *QueryOngoingIncentivePrograms) XXX_Merge(src proto.Message)
func (*QueryOngoingIncentivePrograms) XXX_Size ¶
func (m *QueryOngoingIncentivePrograms) XXX_Size() int
func (*QueryOngoingIncentivePrograms) XXX_Unmarshal ¶
func (m *QueryOngoingIncentivePrograms) XXX_Unmarshal(b []byte) error
type QueryOngoingIncentiveProgramsResponse ¶
type QueryOngoingIncentiveProgramsResponse struct {
Programs []IncentiveProgram `protobuf:"bytes,1,rep,name=programs,proto3" json:"programs"`
}
QueryOngoingIncentiveProgramsResponse defines the response structure for the OngoingIncentivePrograms and UpcomingIncentivePrograms gRPC service handlers.
func (*QueryOngoingIncentiveProgramsResponse) Descriptor ¶
func (*QueryOngoingIncentiveProgramsResponse) Descriptor() ([]byte, []int)
func (*QueryOngoingIncentiveProgramsResponse) GetPrograms ¶
func (m *QueryOngoingIncentiveProgramsResponse) GetPrograms() []IncentiveProgram
func (*QueryOngoingIncentiveProgramsResponse) Marshal ¶
func (m *QueryOngoingIncentiveProgramsResponse) Marshal() (dAtA []byte, err error)
func (*QueryOngoingIncentiveProgramsResponse) MarshalTo ¶
func (m *QueryOngoingIncentiveProgramsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryOngoingIncentiveProgramsResponse) MarshalToSizedBuffer ¶
func (m *QueryOngoingIncentiveProgramsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryOngoingIncentiveProgramsResponse) ProtoMessage ¶
func (*QueryOngoingIncentiveProgramsResponse) ProtoMessage()
func (*QueryOngoingIncentiveProgramsResponse) Reset ¶
func (m *QueryOngoingIncentiveProgramsResponse) Reset()
func (*QueryOngoingIncentiveProgramsResponse) Size ¶
func (m *QueryOngoingIncentiveProgramsResponse) Size() (n int)
func (*QueryOngoingIncentiveProgramsResponse) String ¶
func (m *QueryOngoingIncentiveProgramsResponse) String() string
func (*QueryOngoingIncentiveProgramsResponse) Unmarshal ¶
func (m *QueryOngoingIncentiveProgramsResponse) Unmarshal(dAtA []byte) error
func (*QueryOngoingIncentiveProgramsResponse) XXX_DiscardUnknown ¶
func (m *QueryOngoingIncentiveProgramsResponse) XXX_DiscardUnknown()
func (*QueryOngoingIncentiveProgramsResponse) XXX_Marshal ¶
func (m *QueryOngoingIncentiveProgramsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryOngoingIncentiveProgramsResponse) XXX_Merge ¶
func (m *QueryOngoingIncentiveProgramsResponse) XXX_Merge(src proto.Message)
func (*QueryOngoingIncentiveProgramsResponse) XXX_Size ¶
func (m *QueryOngoingIncentiveProgramsResponse) XXX_Size() int
func (*QueryOngoingIncentiveProgramsResponse) XXX_Unmarshal ¶
func (m *QueryOngoingIncentiveProgramsResponse) XXX_Unmarshal(b []byte) error
type QueryParams ¶
type QueryParams struct { }
QueryParams defines the request structure for the Params gRPC service handler.
func (*QueryParams) Descriptor ¶
func (*QueryParams) Descriptor() ([]byte, []int)
func (*QueryParams) Marshal ¶
func (m *QueryParams) Marshal() (dAtA []byte, err error)
func (*QueryParams) MarshalToSizedBuffer ¶
func (m *QueryParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParams) ProtoMessage ¶
func (*QueryParams) ProtoMessage()
func (*QueryParams) Reset ¶
func (m *QueryParams) Reset()
func (*QueryParams) Size ¶
func (m *QueryParams) Size() (n int)
func (*QueryParams) String ¶
func (m *QueryParams) String() string
func (*QueryParams) Unmarshal ¶
func (m *QueryParams) Unmarshal(dAtA []byte) error
func (*QueryParams) XXX_DiscardUnknown ¶
func (m *QueryParams) XXX_DiscardUnknown()
func (*QueryParams) XXX_Marshal ¶
func (m *QueryParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParams) XXX_Merge ¶
func (m *QueryParams) XXX_Merge(src proto.Message)
func (*QueryParams) XXX_Size ¶
func (m *QueryParams) XXX_Size() int
func (*QueryParams) XXX_Unmarshal ¶
func (m *QueryParams) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
QueryParamsResponse defines the response structure for the Params gRPC service handler.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryPendingRewards ¶
type QueryPendingRewards struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
QueryPendingRewards defines the request structure for the PendingRewards gRPC service handler.
func (*QueryPendingRewards) Descriptor ¶
func (*QueryPendingRewards) Descriptor() ([]byte, []int)
func (*QueryPendingRewards) GetAddress ¶
func (m *QueryPendingRewards) GetAddress() string
func (*QueryPendingRewards) Marshal ¶
func (m *QueryPendingRewards) Marshal() (dAtA []byte, err error)
func (*QueryPendingRewards) MarshalTo ¶
func (m *QueryPendingRewards) MarshalTo(dAtA []byte) (int, error)
func (*QueryPendingRewards) MarshalToSizedBuffer ¶
func (m *QueryPendingRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPendingRewards) ProtoMessage ¶
func (*QueryPendingRewards) ProtoMessage()
func (*QueryPendingRewards) Reset ¶
func (m *QueryPendingRewards) Reset()
func (*QueryPendingRewards) Size ¶
func (m *QueryPendingRewards) Size() (n int)
func (*QueryPendingRewards) String ¶
func (m *QueryPendingRewards) String() string
func (*QueryPendingRewards) Unmarshal ¶
func (m *QueryPendingRewards) Unmarshal(dAtA []byte) error
func (*QueryPendingRewards) XXX_DiscardUnknown ¶
func (m *QueryPendingRewards) XXX_DiscardUnknown()
func (*QueryPendingRewards) XXX_Marshal ¶
func (m *QueryPendingRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPendingRewards) XXX_Merge ¶
func (m *QueryPendingRewards) XXX_Merge(src proto.Message)
func (*QueryPendingRewards) XXX_Size ¶
func (m *QueryPendingRewards) XXX_Size() int
func (*QueryPendingRewards) XXX_Unmarshal ¶
func (m *QueryPendingRewards) XXX_Unmarshal(b []byte) error
type QueryPendingRewardsResponse ¶
type QueryPendingRewardsResponse struct {
Rewards github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=rewards,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"rewards"`
}
QueryPendingRewardsResponse defines the response structure for the PendingRewards gRPC service handler.
func (*QueryPendingRewardsResponse) Descriptor ¶
func (*QueryPendingRewardsResponse) Descriptor() ([]byte, []int)
func (*QueryPendingRewardsResponse) GetRewards ¶
func (m *QueryPendingRewardsResponse) GetRewards() github_com_cosmos_cosmos_sdk_types.Coins
func (*QueryPendingRewardsResponse) Marshal ¶
func (m *QueryPendingRewardsResponse) Marshal() (dAtA []byte, err error)
func (*QueryPendingRewardsResponse) MarshalTo ¶
func (m *QueryPendingRewardsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPendingRewardsResponse) MarshalToSizedBuffer ¶
func (m *QueryPendingRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPendingRewardsResponse) ProtoMessage ¶
func (*QueryPendingRewardsResponse) ProtoMessage()
func (*QueryPendingRewardsResponse) Reset ¶
func (m *QueryPendingRewardsResponse) Reset()
func (*QueryPendingRewardsResponse) Size ¶
func (m *QueryPendingRewardsResponse) Size() (n int)
func (*QueryPendingRewardsResponse) String ¶
func (m *QueryPendingRewardsResponse) String() string
func (*QueryPendingRewardsResponse) Unmarshal ¶
func (m *QueryPendingRewardsResponse) Unmarshal(dAtA []byte) error
func (*QueryPendingRewardsResponse) XXX_DiscardUnknown ¶
func (m *QueryPendingRewardsResponse) XXX_DiscardUnknown()
func (*QueryPendingRewardsResponse) XXX_Marshal ¶
func (m *QueryPendingRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPendingRewardsResponse) XXX_Merge ¶
func (m *QueryPendingRewardsResponse) XXX_Merge(src proto.Message)
func (*QueryPendingRewardsResponse) XXX_Size ¶
func (m *QueryPendingRewardsResponse) XXX_Size() int
func (*QueryPendingRewardsResponse) XXX_Unmarshal ¶
func (m *QueryPendingRewardsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Params queries the parameters of the x/incentive module. Params(context.Context, *QueryParams) (*QueryParamsResponse, error) // TotalBonded queries the sum of all bonded collateral uTokens, separated by tier. TotalBonded(context.Context, *QueryTotalBonded) (*QueryTotalBondedResponse, error) // TotalUnbonding queries the sum of all unbonding collateral uTokens, separated by tier. TotalUnbonding(context.Context, *QueryTotalUnbonding) (*QueryTotalUnbondingResponse, error) // Bonded queries all bonded collateral uTokens associated with an account. Bonded(context.Context, *QueryBonded) (*QueryBondedResponse, error) // Unbondings queries all current uToken unbondings associated with an account. Unbondings(context.Context, *QueryUnbondings) (*QueryUnbondingsResponse, error) // PendingRewards queries unclaimed incentive rewards associated with an account. PendingRewards(context.Context, *QueryPendingRewards) (*QueryPendingRewardsResponse, error) // CompletedIncentivePrograms queries for all incentives programs that have been passed // by governance, and either run to completion or expired immediately due to not being funded. CompletedIncentivePrograms(context.Context, *QueryCompletedIncentivePrograms) (*QueryCompletedIncentiveProgramsResponse, error) // OngoingIncentivePrograms queries for all incentives programs that have been passed // by governance, funded, and started but not yet completed. OngoingIncentivePrograms(context.Context, *QueryOngoingIncentivePrograms) (*QueryOngoingIncentiveProgramsResponse, error) // UpcomingIncentivePrograms queries for all incentives programs that have been passed // by governance, but not yet started. They may or may not have been funded. UpcomingIncentivePrograms(context.Context, *QueryUpcomingIncentivePrograms) (*QueryUpcomingIncentiveProgramsResponse, error) // IncentiveProgram queries a single incentive program by ID. IncentiveProgram(context.Context, *QueryIncentiveProgram) (*QueryIncentiveProgramResponse, error) }
QueryServer is the server API for Query service.
type QueryTotalBonded ¶
type QueryTotalBonded struct { // denom is an optional field which causes the query to return the totals of only one uToken Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` }
QueryTotalBonded defines the request structure for the TotalBonded gRPC service handler.
func (*QueryTotalBonded) Descriptor ¶
func (*QueryTotalBonded) Descriptor() ([]byte, []int)
func (*QueryTotalBonded) GetDenom ¶ added in v4.2.0
func (m *QueryTotalBonded) GetDenom() string
func (*QueryTotalBonded) Marshal ¶
func (m *QueryTotalBonded) Marshal() (dAtA []byte, err error)
func (*QueryTotalBonded) MarshalToSizedBuffer ¶
func (m *QueryTotalBonded) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTotalBonded) ProtoMessage ¶
func (*QueryTotalBonded) ProtoMessage()
func (*QueryTotalBonded) Reset ¶
func (m *QueryTotalBonded) Reset()
func (*QueryTotalBonded) Size ¶
func (m *QueryTotalBonded) Size() (n int)
func (*QueryTotalBonded) String ¶
func (m *QueryTotalBonded) String() string
func (*QueryTotalBonded) Unmarshal ¶
func (m *QueryTotalBonded) Unmarshal(dAtA []byte) error
func (*QueryTotalBonded) XXX_DiscardUnknown ¶
func (m *QueryTotalBonded) XXX_DiscardUnknown()
func (*QueryTotalBonded) XXX_Marshal ¶
func (m *QueryTotalBonded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTotalBonded) XXX_Merge ¶
func (m *QueryTotalBonded) XXX_Merge(src proto.Message)
func (*QueryTotalBonded) XXX_Size ¶
func (m *QueryTotalBonded) XXX_Size() int
func (*QueryTotalBonded) XXX_Unmarshal ¶
func (m *QueryTotalBonded) XXX_Unmarshal(b []byte) error
type QueryTotalBondedResponse ¶
type QueryTotalBondedResponse struct {
Bonded []TotalBond `protobuf:"bytes,1,rep,name=bonded,proto3" json:"bonded"`
}
QueryTotalBondedResponse defines the response structure for the TotalBonded gRPC service handler.
func (*QueryTotalBondedResponse) Descriptor ¶
func (*QueryTotalBondedResponse) Descriptor() ([]byte, []int)
func (*QueryTotalBondedResponse) GetBonded ¶
func (m *QueryTotalBondedResponse) GetBonded() []TotalBond
func (*QueryTotalBondedResponse) Marshal ¶
func (m *QueryTotalBondedResponse) Marshal() (dAtA []byte, err error)
func (*QueryTotalBondedResponse) MarshalTo ¶
func (m *QueryTotalBondedResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTotalBondedResponse) MarshalToSizedBuffer ¶
func (m *QueryTotalBondedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTotalBondedResponse) ProtoMessage ¶
func (*QueryTotalBondedResponse) ProtoMessage()
func (*QueryTotalBondedResponse) Reset ¶
func (m *QueryTotalBondedResponse) Reset()
func (*QueryTotalBondedResponse) Size ¶
func (m *QueryTotalBondedResponse) Size() (n int)
func (*QueryTotalBondedResponse) String ¶
func (m *QueryTotalBondedResponse) String() string
func (*QueryTotalBondedResponse) Unmarshal ¶
func (m *QueryTotalBondedResponse) Unmarshal(dAtA []byte) error
func (*QueryTotalBondedResponse) XXX_DiscardUnknown ¶
func (m *QueryTotalBondedResponse) XXX_DiscardUnknown()
func (*QueryTotalBondedResponse) XXX_Marshal ¶
func (m *QueryTotalBondedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTotalBondedResponse) XXX_Merge ¶
func (m *QueryTotalBondedResponse) XXX_Merge(src proto.Message)
func (*QueryTotalBondedResponse) XXX_Size ¶
func (m *QueryTotalBondedResponse) XXX_Size() int
func (*QueryTotalBondedResponse) XXX_Unmarshal ¶
func (m *QueryTotalBondedResponse) XXX_Unmarshal(b []byte) error
type QueryTotalUnbonding ¶ added in v4.3.0
type QueryTotalUnbonding struct { // denom is an optional field which causes the query to return the totals of only one uToken Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` }
QueryTotalUnbonding defines the request structure for the TotalUnbonding gRPC service handler.
func (*QueryTotalUnbonding) Descriptor ¶ added in v4.3.0
func (*QueryTotalUnbonding) Descriptor() ([]byte, []int)
func (*QueryTotalUnbonding) GetDenom ¶ added in v4.3.0
func (m *QueryTotalUnbonding) GetDenom() string
func (*QueryTotalUnbonding) Marshal ¶ added in v4.3.0
func (m *QueryTotalUnbonding) Marshal() (dAtA []byte, err error)
func (*QueryTotalUnbonding) MarshalTo ¶ added in v4.3.0
func (m *QueryTotalUnbonding) MarshalTo(dAtA []byte) (int, error)
func (*QueryTotalUnbonding) MarshalToSizedBuffer ¶ added in v4.3.0
func (m *QueryTotalUnbonding) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTotalUnbonding) ProtoMessage ¶ added in v4.3.0
func (*QueryTotalUnbonding) ProtoMessage()
func (*QueryTotalUnbonding) Reset ¶ added in v4.3.0
func (m *QueryTotalUnbonding) Reset()
func (*QueryTotalUnbonding) Size ¶ added in v4.3.0
func (m *QueryTotalUnbonding) Size() (n int)
func (*QueryTotalUnbonding) String ¶ added in v4.3.0
func (m *QueryTotalUnbonding) String() string
func (*QueryTotalUnbonding) Unmarshal ¶ added in v4.3.0
func (m *QueryTotalUnbonding) Unmarshal(dAtA []byte) error
func (*QueryTotalUnbonding) XXX_DiscardUnknown ¶ added in v4.3.0
func (m *QueryTotalUnbonding) XXX_DiscardUnknown()
func (*QueryTotalUnbonding) XXX_Marshal ¶ added in v4.3.0
func (m *QueryTotalUnbonding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTotalUnbonding) XXX_Merge ¶ added in v4.3.0
func (m *QueryTotalUnbonding) XXX_Merge(src proto.Message)
func (*QueryTotalUnbonding) XXX_Size ¶ added in v4.3.0
func (m *QueryTotalUnbonding) XXX_Size() int
func (*QueryTotalUnbonding) XXX_Unmarshal ¶ added in v4.3.0
func (m *QueryTotalUnbonding) XXX_Unmarshal(b []byte) error
type QueryTotalUnbondingResponse ¶ added in v4.3.0
type QueryTotalUnbondingResponse struct {
Unbonding []TotalBond `protobuf:"bytes,1,rep,name=unbonding,proto3" json:"unbonding"`
}
QueryTotalUnbondingResponse defines the response structure for the TotalUnbonding gRPC service handler.
func (*QueryTotalUnbondingResponse) Descriptor ¶ added in v4.3.0
func (*QueryTotalUnbondingResponse) Descriptor() ([]byte, []int)
func (*QueryTotalUnbondingResponse) GetUnbonding ¶ added in v4.3.0
func (m *QueryTotalUnbondingResponse) GetUnbonding() []TotalBond
func (*QueryTotalUnbondingResponse) Marshal ¶ added in v4.3.0
func (m *QueryTotalUnbondingResponse) Marshal() (dAtA []byte, err error)
func (*QueryTotalUnbondingResponse) MarshalTo ¶ added in v4.3.0
func (m *QueryTotalUnbondingResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTotalUnbondingResponse) MarshalToSizedBuffer ¶ added in v4.3.0
func (m *QueryTotalUnbondingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTotalUnbondingResponse) ProtoMessage ¶ added in v4.3.0
func (*QueryTotalUnbondingResponse) ProtoMessage()
func (*QueryTotalUnbondingResponse) Reset ¶ added in v4.3.0
func (m *QueryTotalUnbondingResponse) Reset()
func (*QueryTotalUnbondingResponse) Size ¶ added in v4.3.0
func (m *QueryTotalUnbondingResponse) Size() (n int)
func (*QueryTotalUnbondingResponse) String ¶ added in v4.3.0
func (m *QueryTotalUnbondingResponse) String() string
func (*QueryTotalUnbondingResponse) Unmarshal ¶ added in v4.3.0
func (m *QueryTotalUnbondingResponse) Unmarshal(dAtA []byte) error
func (*QueryTotalUnbondingResponse) XXX_DiscardUnknown ¶ added in v4.3.0
func (m *QueryTotalUnbondingResponse) XXX_DiscardUnknown()
func (*QueryTotalUnbondingResponse) XXX_Marshal ¶ added in v4.3.0
func (m *QueryTotalUnbondingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTotalUnbondingResponse) XXX_Merge ¶ added in v4.3.0
func (m *QueryTotalUnbondingResponse) XXX_Merge(src proto.Message)
func (*QueryTotalUnbondingResponse) XXX_Size ¶ added in v4.3.0
func (m *QueryTotalUnbondingResponse) XXX_Size() int
func (*QueryTotalUnbondingResponse) XXX_Unmarshal ¶ added in v4.3.0
func (m *QueryTotalUnbondingResponse) XXX_Unmarshal(b []byte) error
type QueryUnbondings ¶
type QueryUnbondings struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
QueryUnbondings defines the request structure for the Unbondings gRPC service handler.
func (*QueryUnbondings) Descriptor ¶
func (*QueryUnbondings) Descriptor() ([]byte, []int)
func (*QueryUnbondings) GetAddress ¶
func (m *QueryUnbondings) GetAddress() string
func (*QueryUnbondings) Marshal ¶
func (m *QueryUnbondings) Marshal() (dAtA []byte, err error)
func (*QueryUnbondings) MarshalToSizedBuffer ¶
func (m *QueryUnbondings) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUnbondings) ProtoMessage ¶
func (*QueryUnbondings) ProtoMessage()
func (*QueryUnbondings) Reset ¶
func (m *QueryUnbondings) Reset()
func (*QueryUnbondings) Size ¶
func (m *QueryUnbondings) Size() (n int)
func (*QueryUnbondings) String ¶
func (m *QueryUnbondings) String() string
func (*QueryUnbondings) Unmarshal ¶
func (m *QueryUnbondings) Unmarshal(dAtA []byte) error
func (*QueryUnbondings) XXX_DiscardUnknown ¶
func (m *QueryUnbondings) XXX_DiscardUnknown()
func (*QueryUnbondings) XXX_Marshal ¶
func (m *QueryUnbondings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUnbondings) XXX_Merge ¶
func (m *QueryUnbondings) XXX_Merge(src proto.Message)
func (*QueryUnbondings) XXX_Size ¶
func (m *QueryUnbondings) XXX_Size() int
func (*QueryUnbondings) XXX_Unmarshal ¶
func (m *QueryUnbondings) XXX_Unmarshal(b []byte) error
type QueryUnbondingsResponse ¶
type QueryUnbondingsResponse struct {
Unbondings []Unbonding `protobuf:"bytes,1,rep,name=unbondings,proto3" json:"unbondings"`
}
QueryUnbondingsResponse defines the response structure for the Unbondings gRPC service handler.
func (*QueryUnbondingsResponse) Descriptor ¶
func (*QueryUnbondingsResponse) Descriptor() ([]byte, []int)
func (*QueryUnbondingsResponse) GetUnbondings ¶
func (m *QueryUnbondingsResponse) GetUnbondings() []Unbonding
func (*QueryUnbondingsResponse) Marshal ¶
func (m *QueryUnbondingsResponse) Marshal() (dAtA []byte, err error)
func (*QueryUnbondingsResponse) MarshalTo ¶
func (m *QueryUnbondingsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryUnbondingsResponse) MarshalToSizedBuffer ¶
func (m *QueryUnbondingsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUnbondingsResponse) ProtoMessage ¶
func (*QueryUnbondingsResponse) ProtoMessage()
func (*QueryUnbondingsResponse) Reset ¶
func (m *QueryUnbondingsResponse) Reset()
func (*QueryUnbondingsResponse) Size ¶
func (m *QueryUnbondingsResponse) Size() (n int)
func (*QueryUnbondingsResponse) String ¶
func (m *QueryUnbondingsResponse) String() string
func (*QueryUnbondingsResponse) Unmarshal ¶
func (m *QueryUnbondingsResponse) Unmarshal(dAtA []byte) error
func (*QueryUnbondingsResponse) XXX_DiscardUnknown ¶
func (m *QueryUnbondingsResponse) XXX_DiscardUnknown()
func (*QueryUnbondingsResponse) XXX_Marshal ¶
func (m *QueryUnbondingsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUnbondingsResponse) XXX_Merge ¶
func (m *QueryUnbondingsResponse) XXX_Merge(src proto.Message)
func (*QueryUnbondingsResponse) XXX_Size ¶
func (m *QueryUnbondingsResponse) XXX_Size() int
func (*QueryUnbondingsResponse) XXX_Unmarshal ¶
func (m *QueryUnbondingsResponse) XXX_Unmarshal(b []byte) error
type QueryUpcomingIncentivePrograms ¶
type QueryUpcomingIncentivePrograms struct { }
QueryUpcomingIncentivePrograms defines the request structure for the OngoingIncentivePrograms and UpcomingIncentivePrograms gRPC service handlers.
func (*QueryUpcomingIncentivePrograms) Descriptor ¶
func (*QueryUpcomingIncentivePrograms) Descriptor() ([]byte, []int)
func (*QueryUpcomingIncentivePrograms) Marshal ¶
func (m *QueryUpcomingIncentivePrograms) Marshal() (dAtA []byte, err error)
func (*QueryUpcomingIncentivePrograms) MarshalTo ¶
func (m *QueryUpcomingIncentivePrograms) MarshalTo(dAtA []byte) (int, error)
func (*QueryUpcomingIncentivePrograms) MarshalToSizedBuffer ¶
func (m *QueryUpcomingIncentivePrograms) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUpcomingIncentivePrograms) ProtoMessage ¶
func (*QueryUpcomingIncentivePrograms) ProtoMessage()
func (*QueryUpcomingIncentivePrograms) Reset ¶
func (m *QueryUpcomingIncentivePrograms) Reset()
func (*QueryUpcomingIncentivePrograms) Size ¶
func (m *QueryUpcomingIncentivePrograms) Size() (n int)
func (*QueryUpcomingIncentivePrograms) String ¶
func (m *QueryUpcomingIncentivePrograms) String() string
func (*QueryUpcomingIncentivePrograms) Unmarshal ¶
func (m *QueryUpcomingIncentivePrograms) Unmarshal(dAtA []byte) error
func (*QueryUpcomingIncentivePrograms) XXX_DiscardUnknown ¶
func (m *QueryUpcomingIncentivePrograms) XXX_DiscardUnknown()
func (*QueryUpcomingIncentivePrograms) XXX_Marshal ¶
func (m *QueryUpcomingIncentivePrograms) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUpcomingIncentivePrograms) XXX_Merge ¶
func (m *QueryUpcomingIncentivePrograms) XXX_Merge(src proto.Message)
func (*QueryUpcomingIncentivePrograms) XXX_Size ¶
func (m *QueryUpcomingIncentivePrograms) XXX_Size() int
func (*QueryUpcomingIncentivePrograms) XXX_Unmarshal ¶
func (m *QueryUpcomingIncentivePrograms) XXX_Unmarshal(b []byte) error
type QueryUpcomingIncentiveProgramsResponse ¶
type QueryUpcomingIncentiveProgramsResponse struct {
Programs []IncentiveProgram `protobuf:"bytes,1,rep,name=programs,proto3" json:"programs"`
}
QueryUpcomingIncentiveProgramsResponse defines the response structure for the OngoingIncentivePrograms and UpcomingIncentivePrograms gRPC service handlers.
func (*QueryUpcomingIncentiveProgramsResponse) Descriptor ¶
func (*QueryUpcomingIncentiveProgramsResponse) Descriptor() ([]byte, []int)
func (*QueryUpcomingIncentiveProgramsResponse) GetPrograms ¶
func (m *QueryUpcomingIncentiveProgramsResponse) GetPrograms() []IncentiveProgram
func (*QueryUpcomingIncentiveProgramsResponse) Marshal ¶
func (m *QueryUpcomingIncentiveProgramsResponse) Marshal() (dAtA []byte, err error)
func (*QueryUpcomingIncentiveProgramsResponse) MarshalTo ¶
func (m *QueryUpcomingIncentiveProgramsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryUpcomingIncentiveProgramsResponse) MarshalToSizedBuffer ¶
func (m *QueryUpcomingIncentiveProgramsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUpcomingIncentiveProgramsResponse) ProtoMessage ¶
func (*QueryUpcomingIncentiveProgramsResponse) ProtoMessage()
func (*QueryUpcomingIncentiveProgramsResponse) Reset ¶
func (m *QueryUpcomingIncentiveProgramsResponse) Reset()
func (*QueryUpcomingIncentiveProgramsResponse) Size ¶
func (m *QueryUpcomingIncentiveProgramsResponse) Size() (n int)
func (*QueryUpcomingIncentiveProgramsResponse) String ¶
func (m *QueryUpcomingIncentiveProgramsResponse) String() string
func (*QueryUpcomingIncentiveProgramsResponse) Unmarshal ¶
func (m *QueryUpcomingIncentiveProgramsResponse) Unmarshal(dAtA []byte) error
func (*QueryUpcomingIncentiveProgramsResponse) XXX_DiscardUnknown ¶
func (m *QueryUpcomingIncentiveProgramsResponse) XXX_DiscardUnknown()
func (*QueryUpcomingIncentiveProgramsResponse) XXX_Marshal ¶
func (m *QueryUpcomingIncentiveProgramsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUpcomingIncentiveProgramsResponse) XXX_Merge ¶
func (m *QueryUpcomingIncentiveProgramsResponse) XXX_Merge(src proto.Message)
func (*QueryUpcomingIncentiveProgramsResponse) XXX_Size ¶
func (m *QueryUpcomingIncentiveProgramsResponse) XXX_Size() int
func (*QueryUpcomingIncentiveProgramsResponse) XXX_Unmarshal ¶
func (m *QueryUpcomingIncentiveProgramsResponse) XXX_Unmarshal(b []byte) error
type RewardAccumulator ¶
type RewardAccumulator struct { Tier uint32 `protobuf:"varint,1,opt,name=tier,proto3" json:"tier,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` RewardTracker github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 147-byte string literal not displayed */ }
RewardAccumulator is a global reward tracking struct that indicates the amount of rewards that a single unit of denom would have accumulated if it was bonded at a given tier since genesis.
func NewRewardAccumulator ¶ added in v4.2.0
func NewRewardAccumulator(denom string, tier uint32, coins sdk.DecCoins) RewardAccumulator
NewRewardAccumulator creates the RewardAccumulator struct used in GenesisState
func (*RewardAccumulator) Descriptor ¶
func (*RewardAccumulator) Descriptor() ([]byte, []int)
func (*RewardAccumulator) GetDenom ¶
func (m *RewardAccumulator) GetDenom() string
func (*RewardAccumulator) GetRewardTracker ¶
func (m *RewardAccumulator) GetRewardTracker() github_com_cosmos_cosmos_sdk_types.DecCoins
func (*RewardAccumulator) GetTier ¶
func (m *RewardAccumulator) GetTier() uint32
func (*RewardAccumulator) Marshal ¶
func (m *RewardAccumulator) Marshal() (dAtA []byte, err error)
func (*RewardAccumulator) MarshalTo ¶
func (m *RewardAccumulator) MarshalTo(dAtA []byte) (int, error)
func (*RewardAccumulator) MarshalToSizedBuffer ¶
func (m *RewardAccumulator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RewardAccumulator) ProtoMessage ¶
func (*RewardAccumulator) ProtoMessage()
func (*RewardAccumulator) Reset ¶
func (m *RewardAccumulator) Reset()
func (*RewardAccumulator) Size ¶
func (m *RewardAccumulator) Size() (n int)
func (*RewardAccumulator) String ¶
func (m *RewardAccumulator) String() string
func (*RewardAccumulator) Unmarshal ¶
func (m *RewardAccumulator) Unmarshal(dAtA []byte) error
func (*RewardAccumulator) XXX_DiscardUnknown ¶
func (m *RewardAccumulator) XXX_DiscardUnknown()
func (*RewardAccumulator) XXX_Marshal ¶
func (m *RewardAccumulator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RewardAccumulator) XXX_Merge ¶
func (m *RewardAccumulator) XXX_Merge(src proto.Message)
func (*RewardAccumulator) XXX_Size ¶
func (m *RewardAccumulator) XXX_Size() int
func (*RewardAccumulator) XXX_Unmarshal ¶
func (m *RewardAccumulator) XXX_Unmarshal(b []byte) error
type RewardTracker ¶
type RewardTracker struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Tier uint32 `protobuf:"varint,2,opt,name=tier,proto3" json:"tier,omitempty"` Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"` RewardTracker github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 147-byte string literal not displayed */ }
RewardTracker tracks the value of a given tier and lock denom's RewardAccumulator at the last time a specific account calculated pending rewards for it. When calculating available rewards, this value is used to determine the difference between the current RewardAccumulator for a tier and the last value at which the user updated bonds or claimed tokens. Their pending rewards increase by only the rewards accrued in that time period.
func NewRewardTracker ¶ added in v4.2.0
func NewRewardTracker(addr, denom string, tier uint32, coins sdk.DecCoins) RewardTracker
NewRewardTracker creates the RewardTracker struct used in GenesisState
func (*RewardTracker) Descriptor ¶
func (*RewardTracker) Descriptor() ([]byte, []int)
func (*RewardTracker) GetAccount ¶
func (m *RewardTracker) GetAccount() string
func (*RewardTracker) GetDenom ¶
func (m *RewardTracker) GetDenom() string
func (*RewardTracker) GetRewardTracker ¶
func (m *RewardTracker) GetRewardTracker() github_com_cosmos_cosmos_sdk_types.DecCoins
func (*RewardTracker) GetTier ¶
func (m *RewardTracker) GetTier() uint32
func (*RewardTracker) Marshal ¶
func (m *RewardTracker) Marshal() (dAtA []byte, err error)
func (*RewardTracker) MarshalToSizedBuffer ¶
func (m *RewardTracker) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RewardTracker) ProtoMessage ¶
func (*RewardTracker) ProtoMessage()
func (*RewardTracker) Reset ¶
func (m *RewardTracker) Reset()
func (*RewardTracker) Size ¶
func (m *RewardTracker) Size() (n int)
func (*RewardTracker) String ¶
func (m *RewardTracker) String() string
func (*RewardTracker) Unmarshal ¶
func (m *RewardTracker) Unmarshal(dAtA []byte) error
func (*RewardTracker) XXX_DiscardUnknown ¶
func (m *RewardTracker) XXX_DiscardUnknown()
func (*RewardTracker) XXX_Marshal ¶
func (m *RewardTracker) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RewardTracker) XXX_Merge ¶
func (m *RewardTracker) XXX_Merge(src proto.Message)
func (*RewardTracker) XXX_Size ¶
func (m *RewardTracker) XXX_Size() int
func (*RewardTracker) XXX_Unmarshal ¶
func (m *RewardTracker) XXX_Unmarshal(b []byte) error
type TotalBond ¶
type TotalBond struct { Tier uint32 `protobuf:"varint,1,opt,name=tier,proto3" json:"tier,omitempty"` Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount"` }
TotalBond tracks the amount of coins of one uToken denomination bonded to a given reward tier by all accounts. Used by queries TotalBonded and TotalUnbonding.
func (*TotalBond) Descriptor ¶
func (*TotalBond) MarshalToSizedBuffer ¶
func (*TotalBond) ProtoMessage ¶
func (*TotalBond) ProtoMessage()
func (*TotalBond) XXX_DiscardUnknown ¶
func (m *TotalBond) XXX_DiscardUnknown()
func (*TotalBond) XXX_Marshal ¶
func (*TotalBond) XXX_Unmarshal ¶
type Unbonding ¶
type Unbonding struct { End uint64 `protobuf:"varint,1,opt,name=end,proto3" json:"end,omitempty"` Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount"` }
Unbonding is a structure that tracks an in-progress token unbonding.
func NewUnbonding ¶ added in v4.2.0
NewUnbonding creates the Unbonding struct used in GenesisState
func (*Unbonding) Descriptor ¶
func (*Unbonding) MarshalToSizedBuffer ¶
func (*Unbonding) ProtoMessage ¶
func (*Unbonding) ProtoMessage()
func (*Unbonding) XXX_DiscardUnknown ¶
func (m *Unbonding) XXX_DiscardUnknown()
func (*Unbonding) XXX_Marshal ¶
func (*Unbonding) XXX_Unmarshal ¶
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) BeginUnbonding ¶
func (*UnimplementedMsgServer) BeginUnbonding(ctx context.Context, req *MsgBeginUnbonding) (*MsgBeginUnbondingResponse, error)
func (*UnimplementedMsgServer) Bond ¶
func (*UnimplementedMsgServer) Bond(ctx context.Context, req *MsgBond) (*MsgBondResponse, error)
func (*UnimplementedMsgServer) Claim ¶
func (*UnimplementedMsgServer) Claim(ctx context.Context, req *MsgClaim) (*MsgClaimResponse, error)
func (*UnimplementedMsgServer) GovCreatePrograms ¶ added in v4.2.0
func (*UnimplementedMsgServer) GovCreatePrograms(ctx context.Context, req *MsgGovCreatePrograms) (*MsgGovCreateProgramsResponse, error)
func (*UnimplementedMsgServer) GovSetParams ¶
func (*UnimplementedMsgServer) GovSetParams(ctx context.Context, req *MsgGovSetParams) (*MsgGovSetParamsResponse, error)
func (*UnimplementedMsgServer) Sponsor ¶
func (*UnimplementedMsgServer) Sponsor(ctx context.Context, req *MsgSponsor) (*MsgSponsorResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Bonded ¶
func (*UnimplementedQueryServer) Bonded(ctx context.Context, req *QueryBonded) (*QueryBondedResponse, error)
func (*UnimplementedQueryServer) CompletedIncentivePrograms ¶
func (*UnimplementedQueryServer) CompletedIncentivePrograms(ctx context.Context, req *QueryCompletedIncentivePrograms) (*QueryCompletedIncentiveProgramsResponse, error)
func (*UnimplementedQueryServer) IncentiveProgram ¶
func (*UnimplementedQueryServer) IncentiveProgram(ctx context.Context, req *QueryIncentiveProgram) (*QueryIncentiveProgramResponse, error)
func (*UnimplementedQueryServer) OngoingIncentivePrograms ¶
func (*UnimplementedQueryServer) OngoingIncentivePrograms(ctx context.Context, req *QueryOngoingIncentivePrograms) (*QueryOngoingIncentiveProgramsResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParams) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) PendingRewards ¶
func (*UnimplementedQueryServer) PendingRewards(ctx context.Context, req *QueryPendingRewards) (*QueryPendingRewardsResponse, error)
func (*UnimplementedQueryServer) TotalBonded ¶
func (*UnimplementedQueryServer) TotalBonded(ctx context.Context, req *QueryTotalBonded) (*QueryTotalBondedResponse, error)
func (*UnimplementedQueryServer) TotalUnbonding ¶ added in v4.3.0
func (*UnimplementedQueryServer) TotalUnbonding(ctx context.Context, req *QueryTotalUnbonding) (*QueryTotalUnbondingResponse, error)
func (*UnimplementedQueryServer) Unbondings ¶
func (*UnimplementedQueryServer) Unbondings(ctx context.Context, req *QueryUnbondings) (*QueryUnbondingsResponse, error)
func (*UnimplementedQueryServer) UpcomingIncentivePrograms ¶
func (*UnimplementedQueryServer) UpcomingIncentivePrograms(ctx context.Context, req *QueryUpcomingIncentivePrograms) (*QueryUpcomingIncentiveProgramsResponse, error)