Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func CalculatePerSecondRewards(periodStart time.Time, periodEnd time.Time, ...) (sdk.DecCoins, time.Time)
- func GetTotalVestingPeriodLength(periods vestingtypes.Periods) int64
- func NewPeriod(amount sdk.Coins, length int64) vestingtypes.Period
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterInterfaces(registry types.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)
- type APYs
- type AccountKeeper
- type AccumulationTime
- func (*AccumulationTime) Descriptor() ([]byte, []int)
- func (m *AccumulationTime) Marshal() (dAtA []byte, err error)
- func (m *AccumulationTime) MarshalTo(dAtA []byte) (int, error)
- func (m *AccumulationTime) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccumulationTime) ProtoMessage()
- func (m *AccumulationTime) Reset()
- func (m *AccumulationTime) Size() (n int)
- func (m *AccumulationTime) String() string
- func (m *AccumulationTime) Unmarshal(dAtA []byte) error
- func (gat AccumulationTime) Validate() error
- func (m *AccumulationTime) XXX_DiscardUnknown()
- func (m *AccumulationTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccumulationTime) XXX_Merge(src proto.Message)
- func (m *AccumulationTime) XXX_Size() int
- func (m *AccumulationTime) XXX_Unmarshal(b []byte) error
- type AccumulationTimes
- type Accumulator
- type Apy
- func (*Apy) Descriptor() ([]byte, []int)
- func (m *Apy) GetCollateralType() string
- func (m *Apy) Marshal() (dAtA []byte, err error)
- func (m *Apy) MarshalTo(dAtA []byte) (int, error)
- func (m *Apy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Apy) ProtoMessage()
- func (m *Apy) Reset()
- func (m *Apy) Size() (n int)
- func (m *Apy) String() string
- func (m *Apy) Unmarshal(dAtA []byte) error
- func (m *Apy) XXX_DiscardUnknown()
- func (m *Apy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Apy) XXX_Merge(src proto.Message)
- func (m *Apy) XXX_Size() int
- func (m *Apy) XXX_Unmarshal(b []byte) error
- type BankKeeper
- type BaseClaim
- func (*BaseClaim) Descriptor() ([]byte, []int)
- func (c BaseClaim) GetOwner() sdk.AccAddress
- func (c BaseClaim) GetReward() sdk.Coin
- func (c BaseClaim) GetType() string
- func (m *BaseClaim) Marshal() (dAtA []byte, err error)
- func (m *BaseClaim) MarshalTo(dAtA []byte) (int, error)
- func (m *BaseClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BaseClaim) ProtoMessage()
- func (m *BaseClaim) Reset()
- func (m *BaseClaim) Size() (n int)
- func (m *BaseClaim) String() string
- func (m *BaseClaim) Unmarshal(dAtA []byte) error
- func (c BaseClaim) Validate() error
- func (m *BaseClaim) XXX_DiscardUnknown()
- func (m *BaseClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BaseClaim) XXX_Merge(src proto.Message)
- func (m *BaseClaim) XXX_Size() int
- func (m *BaseClaim) XXX_Unmarshal(b []byte) error
- type BaseMultiClaim
- func (*BaseMultiClaim) Descriptor() ([]byte, []int)
- func (c BaseMultiClaim) GetOwner() sdk.AccAddress
- func (c BaseMultiClaim) GetReward() sdk.Coins
- func (c BaseMultiClaim) GetType() string
- func (m *BaseMultiClaim) Marshal() (dAtA []byte, err error)
- func (m *BaseMultiClaim) MarshalTo(dAtA []byte) (int, error)
- func (m *BaseMultiClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BaseMultiClaim) ProtoMessage()
- func (m *BaseMultiClaim) Reset()
- func (m *BaseMultiClaim) Size() (n int)
- func (m *BaseMultiClaim) String() string
- func (m *BaseMultiClaim) Unmarshal(dAtA []byte) error
- func (c BaseMultiClaim) Validate() error
- func (m *BaseMultiClaim) XXX_DiscardUnknown()
- func (m *BaseMultiClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BaseMultiClaim) XXX_Merge(src proto.Message)
- func (m *BaseMultiClaim) XXX_Size() int
- func (m *BaseMultiClaim) XXX_Unmarshal(b []byte) error
- type CDPHooks
- type CdpKeeper
- type DelegatorClaim
- func (*DelegatorClaim) Descriptor() ([]byte, []int)
- func (c DelegatorClaim) GetOwner() sdk.AccAddress
- func (c DelegatorClaim) GetReward() sdk.Coins
- func (c DelegatorClaim) GetType() string
- func (c DelegatorClaim) HasRewardIndex(collateralType string) (int64, bool)
- func (m *DelegatorClaim) Marshal() (dAtA []byte, err error)
- func (m *DelegatorClaim) MarshalTo(dAtA []byte) (int, error)
- func (m *DelegatorClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DelegatorClaim) ProtoMessage()
- func (m *DelegatorClaim) Reset()
- func (m *DelegatorClaim) Size() (n int)
- func (m *DelegatorClaim) String() string
- func (m *DelegatorClaim) Unmarshal(dAtA []byte) error
- func (c DelegatorClaim) Validate() error
- func (m *DelegatorClaim) XXX_DiscardUnknown()
- func (m *DelegatorClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelegatorClaim) XXX_Merge(src proto.Message)
- func (m *DelegatorClaim) XXX_Size() int
- func (m *DelegatorClaim) XXX_Unmarshal(b []byte) error
- type DelegatorClaims
- type DistrKeeper
- type EarnClaim
- func (*EarnClaim) Descriptor() ([]byte, []int)
- func (c EarnClaim) GetOwner() sdk.AccAddress
- func (c EarnClaim) GetReward() sdk.Coins
- func (c EarnClaim) GetType() string
- func (c EarnClaim) HasRewardIndex(poolID string) (int64, bool)
- func (m *EarnClaim) Marshal() (dAtA []byte, err error)
- func (m *EarnClaim) MarshalTo(dAtA []byte) (int, error)
- func (m *EarnClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EarnClaim) ProtoMessage()
- func (m *EarnClaim) Reset()
- func (m *EarnClaim) Size() (n int)
- func (m *EarnClaim) String() string
- func (m *EarnClaim) Unmarshal(dAtA []byte) error
- func (c EarnClaim) Validate() error
- func (m *EarnClaim) XXX_DiscardUnknown()
- func (m *EarnClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EarnClaim) XXX_Merge(src proto.Message)
- func (m *EarnClaim) XXX_Size() int
- func (m *EarnClaim) XXX_Unmarshal(b []byte) error
- type EarnClaims
- type EarnKeeper
- type GenesisRewardState
- func (*GenesisRewardState) Descriptor() ([]byte, []int)
- func (m *GenesisRewardState) Marshal() (dAtA []byte, err error)
- func (m *GenesisRewardState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisRewardState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisRewardState) ProtoMessage()
- func (m *GenesisRewardState) Reset()
- func (m *GenesisRewardState) Size() (n int)
- func (m *GenesisRewardState) String() string
- func (m *GenesisRewardState) Unmarshal(dAtA []byte) error
- func (grs GenesisRewardState) Validate() error
- func (m *GenesisRewardState) XXX_DiscardUnknown()
- func (m *GenesisRewardState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisRewardState) XXX_Merge(src proto.Message)
- func (m *GenesisRewardState) XXX_Size() int
- func (m *GenesisRewardState) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- 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 (gs GenesisState) Validate() 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 JINXHooks
- type JinxKeeper
- type JinxLiquidityProviderClaim
- func (*JinxLiquidityProviderClaim) Descriptor() ([]byte, []int)
- func (c JinxLiquidityProviderClaim) GetOwner() sdk.AccAddress
- func (c JinxLiquidityProviderClaim) GetReward() sdk.Coins
- func (c JinxLiquidityProviderClaim) GetType() string
- func (c JinxLiquidityProviderClaim) HasBorrowRewardIndex(denom string) (int64, bool)
- func (c JinxLiquidityProviderClaim) HasSupplyRewardIndex(denom string) (int64, bool)
- func (m *JinxLiquidityProviderClaim) Marshal() (dAtA []byte, err error)
- func (m *JinxLiquidityProviderClaim) MarshalTo(dAtA []byte) (int, error)
- func (m *JinxLiquidityProviderClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*JinxLiquidityProviderClaim) ProtoMessage()
- func (m *JinxLiquidityProviderClaim) Reset()
- func (m *JinxLiquidityProviderClaim) Size() (n int)
- func (m *JinxLiquidityProviderClaim) String() string
- func (m *JinxLiquidityProviderClaim) Unmarshal(dAtA []byte) error
- func (c JinxLiquidityProviderClaim) Validate() error
- func (m *JinxLiquidityProviderClaim) XXX_DiscardUnknown()
- func (m *JinxLiquidityProviderClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JinxLiquidityProviderClaim) XXX_Merge(src proto.Message)
- func (m *JinxLiquidityProviderClaim) XXX_Size() int
- func (m *JinxLiquidityProviderClaim) XXX_Unmarshal(b []byte) error
- type JinxLiquidityProviderClaims
- type LiquidKeeper
- type MintKeeper
- type MsgClaimDelegatorReward
- func (*MsgClaimDelegatorReward) Descriptor() ([]byte, []int)
- func (msg MsgClaimDelegatorReward) GetSignBytes() []byte
- func (msg MsgClaimDelegatorReward) GetSigners() []sdk.AccAddress
- func (m *MsgClaimDelegatorReward) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimDelegatorReward) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimDelegatorReward) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimDelegatorReward) ProtoMessage()
- func (m *MsgClaimDelegatorReward) Reset()
- func (msg MsgClaimDelegatorReward) Route() string
- func (m *MsgClaimDelegatorReward) Size() (n int)
- func (m *MsgClaimDelegatorReward) String() string
- func (msg MsgClaimDelegatorReward) Type() string
- func (m *MsgClaimDelegatorReward) Unmarshal(dAtA []byte) error
- func (msg MsgClaimDelegatorReward) ValidateBasic() error
- func (m *MsgClaimDelegatorReward) XXX_DiscardUnknown()
- func (m *MsgClaimDelegatorReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimDelegatorReward) XXX_Merge(src proto.Message)
- func (m *MsgClaimDelegatorReward) XXX_Size() int
- func (m *MsgClaimDelegatorReward) XXX_Unmarshal(b []byte) error
- type MsgClaimDelegatorRewardResponse
- func (*MsgClaimDelegatorRewardResponse) Descriptor() ([]byte, []int)
- func (m *MsgClaimDelegatorRewardResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimDelegatorRewardResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimDelegatorRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimDelegatorRewardResponse) ProtoMessage()
- func (m *MsgClaimDelegatorRewardResponse) Reset()
- func (m *MsgClaimDelegatorRewardResponse) Size() (n int)
- func (m *MsgClaimDelegatorRewardResponse) String() string
- func (m *MsgClaimDelegatorRewardResponse) Unmarshal(dAtA []byte) error
- func (m *MsgClaimDelegatorRewardResponse) XXX_DiscardUnknown()
- func (m *MsgClaimDelegatorRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimDelegatorRewardResponse) XXX_Merge(src proto.Message)
- func (m *MsgClaimDelegatorRewardResponse) XXX_Size() int
- func (m *MsgClaimDelegatorRewardResponse) XXX_Unmarshal(b []byte) error
- type MsgClaimEarnReward
- func (*MsgClaimEarnReward) Descriptor() ([]byte, []int)
- func (msg MsgClaimEarnReward) GetSignBytes() []byte
- func (msg MsgClaimEarnReward) GetSigners() []sdk.AccAddress
- func (m *MsgClaimEarnReward) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimEarnReward) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimEarnReward) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimEarnReward) ProtoMessage()
- func (m *MsgClaimEarnReward) Reset()
- func (msg MsgClaimEarnReward) Route() string
- func (m *MsgClaimEarnReward) Size() (n int)
- func (m *MsgClaimEarnReward) String() string
- func (msg MsgClaimEarnReward) Type() string
- func (m *MsgClaimEarnReward) Unmarshal(dAtA []byte) error
- func (msg MsgClaimEarnReward) ValidateBasic() error
- func (m *MsgClaimEarnReward) XXX_DiscardUnknown()
- func (m *MsgClaimEarnReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimEarnReward) XXX_Merge(src proto.Message)
- func (m *MsgClaimEarnReward) XXX_Size() int
- func (m *MsgClaimEarnReward) XXX_Unmarshal(b []byte) error
- type MsgClaimEarnRewardResponse
- func (*MsgClaimEarnRewardResponse) Descriptor() ([]byte, []int)
- func (m *MsgClaimEarnRewardResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimEarnRewardResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimEarnRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimEarnRewardResponse) ProtoMessage()
- func (m *MsgClaimEarnRewardResponse) Reset()
- func (m *MsgClaimEarnRewardResponse) Size() (n int)
- func (m *MsgClaimEarnRewardResponse) String() string
- func (m *MsgClaimEarnRewardResponse) Unmarshal(dAtA []byte) error
- func (m *MsgClaimEarnRewardResponse) XXX_DiscardUnknown()
- func (m *MsgClaimEarnRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimEarnRewardResponse) XXX_Merge(src proto.Message)
- func (m *MsgClaimEarnRewardResponse) XXX_Size() int
- func (m *MsgClaimEarnRewardResponse) XXX_Unmarshal(b []byte) error
- type MsgClaimJinxReward
- func (*MsgClaimJinxReward) Descriptor() ([]byte, []int)
- func (msg MsgClaimJinxReward) GetSignBytes() []byte
- func (msg MsgClaimJinxReward) GetSigners() []sdk.AccAddress
- func (m *MsgClaimJinxReward) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimJinxReward) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimJinxReward) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimJinxReward) ProtoMessage()
- func (m *MsgClaimJinxReward) Reset()
- func (msg MsgClaimJinxReward) Route() string
- func (m *MsgClaimJinxReward) Size() (n int)
- func (m *MsgClaimJinxReward) String() string
- func (msg MsgClaimJinxReward) Type() string
- func (m *MsgClaimJinxReward) Unmarshal(dAtA []byte) error
- func (msg MsgClaimJinxReward) ValidateBasic() error
- func (m *MsgClaimJinxReward) XXX_DiscardUnknown()
- func (m *MsgClaimJinxReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimJinxReward) XXX_Merge(src proto.Message)
- func (m *MsgClaimJinxReward) XXX_Size() int
- func (m *MsgClaimJinxReward) XXX_Unmarshal(b []byte) error
- type MsgClaimJinxRewardResponse
- func (*MsgClaimJinxRewardResponse) Descriptor() ([]byte, []int)
- func (m *MsgClaimJinxRewardResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimJinxRewardResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimJinxRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimJinxRewardResponse) ProtoMessage()
- func (m *MsgClaimJinxRewardResponse) Reset()
- func (m *MsgClaimJinxRewardResponse) Size() (n int)
- func (m *MsgClaimJinxRewardResponse) String() string
- func (m *MsgClaimJinxRewardResponse) Unmarshal(dAtA []byte) error
- func (m *MsgClaimJinxRewardResponse) XXX_DiscardUnknown()
- func (m *MsgClaimJinxRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimJinxRewardResponse) XXX_Merge(src proto.Message)
- func (m *MsgClaimJinxRewardResponse) XXX_Size() int
- func (m *MsgClaimJinxRewardResponse) XXX_Unmarshal(b []byte) error
- type MsgClaimSavingsReward
- func (*MsgClaimSavingsReward) Descriptor() ([]byte, []int)
- func (msg MsgClaimSavingsReward) GetSignBytes() []byte
- func (msg MsgClaimSavingsReward) GetSigners() []sdk.AccAddress
- func (m *MsgClaimSavingsReward) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimSavingsReward) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimSavingsReward) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimSavingsReward) ProtoMessage()
- func (m *MsgClaimSavingsReward) Reset()
- func (msg MsgClaimSavingsReward) Route() string
- func (m *MsgClaimSavingsReward) Size() (n int)
- func (m *MsgClaimSavingsReward) String() string
- func (msg MsgClaimSavingsReward) Type() string
- func (m *MsgClaimSavingsReward) Unmarshal(dAtA []byte) error
- func (msg MsgClaimSavingsReward) ValidateBasic() error
- func (m *MsgClaimSavingsReward) XXX_DiscardUnknown()
- func (m *MsgClaimSavingsReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimSavingsReward) XXX_Merge(src proto.Message)
- func (m *MsgClaimSavingsReward) XXX_Size() int
- func (m *MsgClaimSavingsReward) XXX_Unmarshal(b []byte) error
- type MsgClaimSavingsRewardResponse
- func (*MsgClaimSavingsRewardResponse) Descriptor() ([]byte, []int)
- func (m *MsgClaimSavingsRewardResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimSavingsRewardResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimSavingsRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimSavingsRewardResponse) ProtoMessage()
- func (m *MsgClaimSavingsRewardResponse) Reset()
- func (m *MsgClaimSavingsRewardResponse) Size() (n int)
- func (m *MsgClaimSavingsRewardResponse) String() string
- func (m *MsgClaimSavingsRewardResponse) Unmarshal(dAtA []byte) error
- func (m *MsgClaimSavingsRewardResponse) XXX_DiscardUnknown()
- func (m *MsgClaimSavingsRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimSavingsRewardResponse) XXX_Merge(src proto.Message)
- func (m *MsgClaimSavingsRewardResponse) XXX_Size() int
- func (m *MsgClaimSavingsRewardResponse) XXX_Unmarshal(b []byte) error
- type MsgClaimSwapReward
- func (*MsgClaimSwapReward) Descriptor() ([]byte, []int)
- func (msg MsgClaimSwapReward) GetSignBytes() []byte
- func (msg MsgClaimSwapReward) GetSigners() []sdk.AccAddress
- func (m *MsgClaimSwapReward) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimSwapReward) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimSwapReward) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimSwapReward) ProtoMessage()
- func (m *MsgClaimSwapReward) Reset()
- func (msg MsgClaimSwapReward) Route() string
- func (m *MsgClaimSwapReward) Size() (n int)
- func (m *MsgClaimSwapReward) String() string
- func (msg MsgClaimSwapReward) Type() string
- func (m *MsgClaimSwapReward) Unmarshal(dAtA []byte) error
- func (msg MsgClaimSwapReward) ValidateBasic() error
- func (m *MsgClaimSwapReward) XXX_DiscardUnknown()
- func (m *MsgClaimSwapReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimSwapReward) XXX_Merge(src proto.Message)
- func (m *MsgClaimSwapReward) XXX_Size() int
- func (m *MsgClaimSwapReward) XXX_Unmarshal(b []byte) error
- type MsgClaimSwapRewardResponse
- func (*MsgClaimSwapRewardResponse) Descriptor() ([]byte, []int)
- func (m *MsgClaimSwapRewardResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimSwapRewardResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimSwapRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimSwapRewardResponse) ProtoMessage()
- func (m *MsgClaimSwapRewardResponse) Reset()
- func (m *MsgClaimSwapRewardResponse) Size() (n int)
- func (m *MsgClaimSwapRewardResponse) String() string
- func (m *MsgClaimSwapRewardResponse) Unmarshal(dAtA []byte) error
- func (m *MsgClaimSwapRewardResponse) XXX_DiscardUnknown()
- func (m *MsgClaimSwapRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimSwapRewardResponse) XXX_Merge(src proto.Message)
- func (m *MsgClaimSwapRewardResponse) XXX_Size() int
- func (m *MsgClaimSwapRewardResponse) XXX_Unmarshal(b []byte) error
- type MsgClaimUSDFMintingReward
- func (*MsgClaimUSDFMintingReward) Descriptor() ([]byte, []int)
- func (msg MsgClaimUSDFMintingReward) GetSignBytes() []byte
- func (msg MsgClaimUSDFMintingReward) GetSigners() []sdk.AccAddress
- func (m *MsgClaimUSDFMintingReward) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimUSDFMintingReward) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimUSDFMintingReward) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimUSDFMintingReward) ProtoMessage()
- func (m *MsgClaimUSDFMintingReward) Reset()
- func (msg MsgClaimUSDFMintingReward) Route() string
- func (m *MsgClaimUSDFMintingReward) Size() (n int)
- func (m *MsgClaimUSDFMintingReward) String() string
- func (msg MsgClaimUSDFMintingReward) Type() string
- func (m *MsgClaimUSDFMintingReward) Unmarshal(dAtA []byte) error
- func (msg MsgClaimUSDFMintingReward) ValidateBasic() error
- func (m *MsgClaimUSDFMintingReward) XXX_DiscardUnknown()
- func (m *MsgClaimUSDFMintingReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimUSDFMintingReward) XXX_Merge(src proto.Message)
- func (m *MsgClaimUSDFMintingReward) XXX_Size() int
- func (m *MsgClaimUSDFMintingReward) XXX_Unmarshal(b []byte) error
- type MsgClaimUSDFMintingRewardResponse
- func (*MsgClaimUSDFMintingRewardResponse) Descriptor() ([]byte, []int)
- func (m *MsgClaimUSDFMintingRewardResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimUSDFMintingRewardResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimUSDFMintingRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimUSDFMintingRewardResponse) ProtoMessage()
- func (m *MsgClaimUSDFMintingRewardResponse) Reset()
- func (m *MsgClaimUSDFMintingRewardResponse) Size() (n int)
- func (m *MsgClaimUSDFMintingRewardResponse) String() string
- func (m *MsgClaimUSDFMintingRewardResponse) Unmarshal(dAtA []byte) error
- func (m *MsgClaimUSDFMintingRewardResponse) XXX_DiscardUnknown()
- func (m *MsgClaimUSDFMintingRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimUSDFMintingRewardResponse) XXX_Merge(src proto.Message)
- func (m *MsgClaimUSDFMintingRewardResponse) XXX_Size() int
- func (m *MsgClaimUSDFMintingRewardResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgServer
- type MultiRewardIndex
- func (*MultiRewardIndex) Descriptor() ([]byte, []int)
- func (mri MultiRewardIndex) GetFactorIndex(denom string) (int, bool)
- func (m *MultiRewardIndex) Marshal() (dAtA []byte, err error)
- func (m *MultiRewardIndex) MarshalTo(dAtA []byte) (int, error)
- func (m *MultiRewardIndex) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MultiRewardIndex) ProtoMessage()
- func (m *MultiRewardIndex) Reset()
- func (m *MultiRewardIndex) Size() (n int)
- func (m *MultiRewardIndex) String() string
- func (m *MultiRewardIndex) Unmarshal(dAtA []byte) error
- func (mri MultiRewardIndex) Validate() error
- func (m *MultiRewardIndex) XXX_DiscardUnknown()
- func (m *MultiRewardIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MultiRewardIndex) XXX_Merge(src proto.Message)
- func (m *MultiRewardIndex) XXX_Size() int
- func (m *MultiRewardIndex) XXX_Unmarshal(b []byte) error
- type MultiRewardIndexes
- func (mris MultiRewardIndexes) Get(denom string) (RewardIndexes, bool)
- func (mris MultiRewardIndexes) GetCollateralTypes() []string
- func (mris MultiRewardIndexes) GetRewardIndex(denom string) (MultiRewardIndex, bool)
- func (mris MultiRewardIndexes) GetRewardIndexIndex(denom string) (int, bool)
- func (mris MultiRewardIndexes) RemoveRewardIndex(denom string) MultiRewardIndexes
- func (mris MultiRewardIndexes) Validate() error
- func (mris MultiRewardIndexes) With(denom string, indexes RewardIndexes) MultiRewardIndexes
- type MultiRewardIndexesProto
- func (*MultiRewardIndexesProto) Descriptor() ([]byte, []int)
- func (m *MultiRewardIndexesProto) Marshal() (dAtA []byte, err error)
- func (m *MultiRewardIndexesProto) MarshalTo(dAtA []byte) (int, error)
- func (m *MultiRewardIndexesProto) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MultiRewardIndexesProto) ProtoMessage()
- func (m *MultiRewardIndexesProto) Reset()
- func (m *MultiRewardIndexesProto) Size() (n int)
- func (m *MultiRewardIndexesProto) String() string
- func (m *MultiRewardIndexesProto) Unmarshal(dAtA []byte) error
- func (m *MultiRewardIndexesProto) XXX_DiscardUnknown()
- func (m *MultiRewardIndexesProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MultiRewardIndexesProto) XXX_Merge(src proto.Message)
- func (m *MultiRewardIndexesProto) XXX_Size() int
- func (m *MultiRewardIndexesProto) XXX_Unmarshal(b []byte) error
- type MultiRewardPeriod
- func (*MultiRewardPeriod) Descriptor() ([]byte, []int)
- func (m *MultiRewardPeriod) Marshal() (dAtA []byte, err error)
- func (m *MultiRewardPeriod) MarshalTo(dAtA []byte) (int, error)
- func (m *MultiRewardPeriod) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MultiRewardPeriod) ProtoMessage()
- func (m *MultiRewardPeriod) Reset()
- func (m *MultiRewardPeriod) Size() (n int)
- func (m *MultiRewardPeriod) String() string
- func (m *MultiRewardPeriod) Unmarshal(dAtA []byte) error
- func (mrp MultiRewardPeriod) Validate() error
- func (m *MultiRewardPeriod) XXX_DiscardUnknown()
- func (m *MultiRewardPeriod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MultiRewardPeriod) XXX_Merge(src proto.Message)
- func (m *MultiRewardPeriod) XXX_Size() int
- func (m *MultiRewardPeriod) XXX_Unmarshal(b []byte) error
- type MultiRewardPeriods
- type Multiplier
- func (*Multiplier) Descriptor() ([]byte, []int)
- func (m *Multiplier) Marshal() (dAtA []byte, err error)
- func (m *Multiplier) MarshalTo(dAtA []byte) (int, error)
- func (m *Multiplier) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Multiplier) ProtoMessage()
- func (m *Multiplier) Reset()
- func (m *Multiplier) Size() (n int)
- func (m *Multiplier) String() string
- func (m *Multiplier) Unmarshal(dAtA []byte) error
- func (m Multiplier) Validate() error
- func (m *Multiplier) XXX_DiscardUnknown()
- func (m *Multiplier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Multiplier) XXX_Merge(src proto.Message)
- func (m *Multiplier) XXX_Size() int
- func (m *Multiplier) XXX_Unmarshal(b []byte) error
- type Multipliers
- type MultipliersPerDenom
- func (*MultipliersPerDenom) Descriptor() ([]byte, []int)
- func (m *MultipliersPerDenom) Marshal() (dAtA []byte, err error)
- func (m *MultipliersPerDenom) MarshalTo(dAtA []byte) (int, error)
- func (m *MultipliersPerDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MultipliersPerDenom) ProtoMessage()
- func (m *MultipliersPerDenom) Reset()
- func (m *MultipliersPerDenom) Size() (n int)
- func (m *MultipliersPerDenom) String() string
- func (m *MultipliersPerDenom) Unmarshal(dAtA []byte) error
- func (m *MultipliersPerDenom) XXX_DiscardUnknown()
- func (m *MultipliersPerDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MultipliersPerDenom) XXX_Merge(src proto.Message)
- func (m *MultipliersPerDenom) XXX_Size() int
- func (m *MultipliersPerDenom) XXX_Unmarshal(b []byte) error
- type MultipliersPerDenoms
- type ParamSubspace
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- 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 (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- 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 PricefeedKeeper
- type QueryApyRequest
- func (*QueryApyRequest) Descriptor() ([]byte, []int)
- func (m *QueryApyRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryApyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryApyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryApyRequest) ProtoMessage()
- func (m *QueryApyRequest) Reset()
- func (m *QueryApyRequest) Size() (n int)
- func (m *QueryApyRequest) String() string
- func (m *QueryApyRequest) Unmarshal(dAtA []byte) error
- func (m *QueryApyRequest) XXX_DiscardUnknown()
- func (m *QueryApyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryApyRequest) XXX_Merge(src proto.Message)
- func (m *QueryApyRequest) XXX_Size() int
- func (m *QueryApyRequest) XXX_Unmarshal(b []byte) error
- type QueryApyResponse
- func (*QueryApyResponse) Descriptor() ([]byte, []int)
- func (m *QueryApyResponse) GetEarn() []Apy
- func (m *QueryApyResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryApyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryApyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryApyResponse) ProtoMessage()
- func (m *QueryApyResponse) Reset()
- func (m *QueryApyResponse) Size() (n int)
- func (m *QueryApyResponse) String() string
- func (m *QueryApyResponse) Unmarshal(dAtA []byte) error
- func (m *QueryApyResponse) XXX_DiscardUnknown()
- func (m *QueryApyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryApyResponse) XXX_Merge(src proto.Message)
- func (m *QueryApyResponse) XXX_Size() int
- func (m *QueryApyResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryGetAPYsResponse
- type QueryGetRewardFactorsResponse
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) 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 QueryRewardFactorsRequest
- func (*QueryRewardFactorsRequest) Descriptor() ([]byte, []int)
- func (m *QueryRewardFactorsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryRewardFactorsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRewardFactorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRewardFactorsRequest) ProtoMessage()
- func (m *QueryRewardFactorsRequest) Reset()
- func (m *QueryRewardFactorsRequest) Size() (n int)
- func (m *QueryRewardFactorsRequest) String() string
- func (m *QueryRewardFactorsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryRewardFactorsRequest) XXX_DiscardUnknown()
- func (m *QueryRewardFactorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRewardFactorsRequest) XXX_Merge(src proto.Message)
- func (m *QueryRewardFactorsRequest) XXX_Size() int
- func (m *QueryRewardFactorsRequest) XXX_Unmarshal(b []byte) error
- type QueryRewardFactorsResponse
- func (*QueryRewardFactorsResponse) Descriptor() ([]byte, []int)
- func (m *QueryRewardFactorsResponse) GetDelegatorRewardFactors() MultiRewardIndexes
- func (m *QueryRewardFactorsResponse) GetEarnRewardFactors() MultiRewardIndexes
- func (m *QueryRewardFactorsResponse) GetJinxBorrowRewardFactors() MultiRewardIndexes
- func (m *QueryRewardFactorsResponse) GetJinxSupplyRewardFactors() MultiRewardIndexes
- func (m *QueryRewardFactorsResponse) GetSavingsRewardFactors() MultiRewardIndexes
- func (m *QueryRewardFactorsResponse) GetSwapRewardFactors() MultiRewardIndexes
- func (m *QueryRewardFactorsResponse) GetUsdfMintingRewardFactors() RewardIndexes
- func (m *QueryRewardFactorsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryRewardFactorsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRewardFactorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRewardFactorsResponse) ProtoMessage()
- func (m *QueryRewardFactorsResponse) Reset()
- func (m *QueryRewardFactorsResponse) Size() (n int)
- func (m *QueryRewardFactorsResponse) String() string
- func (m *QueryRewardFactorsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryRewardFactorsResponse) XXX_DiscardUnknown()
- func (m *QueryRewardFactorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRewardFactorsResponse) XXX_Merge(src proto.Message)
- func (m *QueryRewardFactorsResponse) XXX_Size() int
- func (m *QueryRewardFactorsResponse) XXX_Unmarshal(b []byte) error
- type QueryRewardsParams
- type QueryRewardsRequest
- func (*QueryRewardsRequest) Descriptor() ([]byte, []int)
- func (m *QueryRewardsRequest) GetOwner() string
- func (m *QueryRewardsRequest) GetRewardType() string
- func (m *QueryRewardsRequest) GetUnsynchronized() bool
- func (m *QueryRewardsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryRewardsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRewardsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRewardsRequest) ProtoMessage()
- func (m *QueryRewardsRequest) Reset()
- func (m *QueryRewardsRequest) Size() (n int)
- func (m *QueryRewardsRequest) String() string
- func (m *QueryRewardsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryRewardsRequest) XXX_DiscardUnknown()
- func (m *QueryRewardsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRewardsRequest) XXX_Merge(src proto.Message)
- func (m *QueryRewardsRequest) XXX_Size() int
- func (m *QueryRewardsRequest) XXX_Unmarshal(b []byte) error
- type QueryRewardsResponse
- func (*QueryRewardsResponse) Descriptor() ([]byte, []int)
- func (m *QueryRewardsResponse) GetDelegatorClaims() DelegatorClaims
- func (m *QueryRewardsResponse) GetEarnClaims() EarnClaims
- func (m *QueryRewardsResponse) GetJinxLiquidityProviderClaims() JinxLiquidityProviderClaims
- func (m *QueryRewardsResponse) GetSavingsClaims() SavingsClaims
- func (m *QueryRewardsResponse) GetSwapClaims() SwapClaims
- func (m *QueryRewardsResponse) GetUSDFMintingClaims() USDFMintingClaims
- func (m *QueryRewardsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryRewardsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRewardsResponse) ProtoMessage()
- func (m *QueryRewardsResponse) Reset()
- func (m *QueryRewardsResponse) Size() (n int)
- func (m *QueryRewardsResponse) String() string
- func (m *QueryRewardsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryRewardsResponse) XXX_DiscardUnknown()
- func (m *QueryRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRewardsResponse) XXX_Merge(src proto.Message)
- func (m *QueryRewardsResponse) XXX_Size() int
- func (m *QueryRewardsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type RewardIndex
- func (*RewardIndex) Descriptor() ([]byte, []int)
- func (m *RewardIndex) Marshal() (dAtA []byte, err error)
- func (m *RewardIndex) MarshalTo(dAtA []byte) (int, error)
- func (m *RewardIndex) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RewardIndex) ProtoMessage()
- func (m *RewardIndex) Reset()
- func (m *RewardIndex) Size() (n int)
- func (m *RewardIndex) String() string
- func (m *RewardIndex) Unmarshal(dAtA []byte) error
- func (ri RewardIndex) Validate() error
- func (m *RewardIndex) XXX_DiscardUnknown()
- func (m *RewardIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RewardIndex) XXX_Merge(src proto.Message)
- func (m *RewardIndex) XXX_Size() int
- func (m *RewardIndex) XXX_Unmarshal(b []byte) error
- type RewardIndexes
- func (ris RewardIndexes) Add(addend RewardIndexes) RewardIndexes
- func (ris RewardIndexes) Get(denom string) (sdk.Dec, bool)
- func (ris RewardIndexes) GetFactorIndex(denom string) (int, bool)
- func (ris RewardIndexes) GetRewardIndex(denom string) (RewardIndex, bool)
- func (ris RewardIndexes) Mul(multiplier sdk.Dec) RewardIndexes
- func (ris RewardIndexes) Quo(divisor sdk.Dec) RewardIndexes
- func (ris RewardIndexes) Validate() error
- func (ris RewardIndexes) With(denom string, factor sdk.Dec) RewardIndexes
- type RewardIndexesProto
- func (*RewardIndexesProto) Descriptor() ([]byte, []int)
- func (m *RewardIndexesProto) Marshal() (dAtA []byte, err error)
- func (m *RewardIndexesProto) MarshalTo(dAtA []byte) (int, error)
- func (m *RewardIndexesProto) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RewardIndexesProto) ProtoMessage()
- func (m *RewardIndexesProto) Reset()
- func (m *RewardIndexesProto) Size() (n int)
- func (m *RewardIndexesProto) String() string
- func (m *RewardIndexesProto) Unmarshal(dAtA []byte) error
- func (m *RewardIndexesProto) XXX_DiscardUnknown()
- func (m *RewardIndexesProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RewardIndexesProto) XXX_Merge(src proto.Message)
- func (m *RewardIndexesProto) XXX_Size() int
- func (m *RewardIndexesProto) XXX_Unmarshal(b []byte) error
- type RewardPeriod
- func (*RewardPeriod) Descriptor() ([]byte, []int)
- func (m *RewardPeriod) Marshal() (dAtA []byte, err error)
- func (m *RewardPeriod) MarshalTo(dAtA []byte) (int, error)
- func (m *RewardPeriod) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RewardPeriod) ProtoMessage()
- func (m *RewardPeriod) Reset()
- func (m *RewardPeriod) Size() (n int)
- func (m *RewardPeriod) String() string
- func (m *RewardPeriod) Unmarshal(dAtA []byte) error
- func (rp RewardPeriod) Validate() error
- func (m *RewardPeriod) XXX_DiscardUnknown()
- func (m *RewardPeriod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RewardPeriod) XXX_Merge(src proto.Message)
- func (m *RewardPeriod) XXX_Size() int
- func (m *RewardPeriod) XXX_Unmarshal(b []byte) error
- type RewardPeriods
- type SavingsClaim
- func (*SavingsClaim) Descriptor() ([]byte, []int)
- func (c SavingsClaim) GetOwner() sdk.AccAddress
- func (c SavingsClaim) GetReward() sdk.Coins
- func (c SavingsClaim) GetType() string
- func (c SavingsClaim) HasRewardIndex(denom string) (int64, bool)
- func (m *SavingsClaim) Marshal() (dAtA []byte, err error)
- func (m *SavingsClaim) MarshalTo(dAtA []byte) (int, error)
- func (m *SavingsClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SavingsClaim) ProtoMessage()
- func (m *SavingsClaim) Reset()
- func (m *SavingsClaim) Size() (n int)
- func (m *SavingsClaim) String() string
- func (m *SavingsClaim) Unmarshal(dAtA []byte) error
- func (c SavingsClaim) Validate() error
- func (m *SavingsClaim) XXX_DiscardUnknown()
- func (m *SavingsClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SavingsClaim) XXX_Merge(src proto.Message)
- func (m *SavingsClaim) XXX_Size() int
- func (m *SavingsClaim) XXX_Unmarshal(b []byte) error
- type SavingsClaims
- type SavingsKeeper
- type Selection
- func (*Selection) Descriptor() ([]byte, []int)
- func (m *Selection) Marshal() (dAtA []byte, err error)
- func (m *Selection) MarshalTo(dAtA []byte) (int, error)
- func (m *Selection) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Selection) ProtoMessage()
- func (m *Selection) Reset()
- func (m *Selection) Size() (n int)
- func (m *Selection) String() string
- func (m *Selection) Unmarshal(dAtA []byte) error
- func (s Selection) Validate() error
- func (m *Selection) XXX_DiscardUnknown()
- func (m *Selection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Selection) XXX_Merge(src proto.Message)
- func (m *Selection) XXX_Size() int
- func (m *Selection) XXX_Unmarshal(b []byte) error
- type Selections
- type StakingKeeper
- type SwapClaim
- func (*SwapClaim) Descriptor() ([]byte, []int)
- func (c SwapClaim) GetOwner() sdk.AccAddress
- func (c SwapClaim) GetReward() sdk.Coins
- func (c SwapClaim) GetType() string
- func (c SwapClaim) HasRewardIndex(poolID string) (int64, bool)
- func (m *SwapClaim) Marshal() (dAtA []byte, err error)
- func (m *SwapClaim) MarshalTo(dAtA []byte) (int, error)
- func (m *SwapClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SwapClaim) ProtoMessage()
- func (m *SwapClaim) Reset()
- func (m *SwapClaim) Size() (n int)
- func (m *SwapClaim) String() string
- func (m *SwapClaim) Unmarshal(dAtA []byte) error
- func (c SwapClaim) Validate() error
- func (m *SwapClaim) XXX_DiscardUnknown()
- func (m *SwapClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwapClaim) XXX_Merge(src proto.Message)
- func (m *SwapClaim) XXX_Size() int
- func (m *SwapClaim) XXX_Unmarshal(b []byte) error
- type SwapClaims
- type SwapKeeper
- type USDFMintingClaim
- func (*USDFMintingClaim) Descriptor() ([]byte, []int)
- func (c USDFMintingClaim) GetOwner() sdk.AccAddress
- func (c USDFMintingClaim) GetReward() sdk.Coin
- func (c USDFMintingClaim) GetType() string
- func (c USDFMintingClaim) HasRewardIndex(collateralType string) (int64, bool)
- func (m *USDFMintingClaim) Marshal() (dAtA []byte, err error)
- func (m *USDFMintingClaim) MarshalTo(dAtA []byte) (int, error)
- func (m *USDFMintingClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*USDFMintingClaim) ProtoMessage()
- func (m *USDFMintingClaim) Reset()
- func (m *USDFMintingClaim) Size() (n int)
- func (m *USDFMintingClaim) String() string
- func (m *USDFMintingClaim) Unmarshal(dAtA []byte) error
- func (c USDFMintingClaim) Validate() error
- func (m *USDFMintingClaim) XXX_DiscardUnknown()
- func (m *USDFMintingClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *USDFMintingClaim) XXX_Merge(src proto.Message)
- func (m *USDFMintingClaim) XXX_Size() int
- func (m *USDFMintingClaim) XXX_Unmarshal(b []byte) error
- type USDFMintingClaims
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) ClaimDelegatorReward(ctx context.Context, req *MsgClaimDelegatorReward) (*MsgClaimDelegatorRewardResponse, error)
- func (*UnimplementedMsgServer) ClaimEarnReward(ctx context.Context, req *MsgClaimEarnReward) (*MsgClaimEarnRewardResponse, error)
- func (*UnimplementedMsgServer) ClaimJinxReward(ctx context.Context, req *MsgClaimJinxReward) (*MsgClaimJinxRewardResponse, error)
- func (*UnimplementedMsgServer) ClaimSavingsReward(ctx context.Context, req *MsgClaimSavingsReward) (*MsgClaimSavingsRewardResponse, error)
- func (*UnimplementedMsgServer) ClaimSwapReward(ctx context.Context, req *MsgClaimSwapReward) (*MsgClaimSwapRewardResponse, error)
- func (*UnimplementedMsgServer) ClaimUSDFMintingReward(ctx context.Context, req *MsgClaimUSDFMintingReward) (*MsgClaimUSDFMintingRewardResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Apy(ctx context.Context, req *QueryApyRequest) (*QueryApyResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) RewardFactors(ctx context.Context, req *QueryRewardFactorsRequest) (*QueryRewardFactorsResponse, error)
- func (*UnimplementedQueryServer) Rewards(ctx context.Context, req *QueryRewardsRequest) (*QueryRewardsResponse, error)
Constants ¶
const ( USDFMintingClaimType = "usdf_minting" JinxLiquidityProviderClaimType = "jinx_liquidity_provider" DelegatorClaimType = "delegator_claim" SwapClaimType = "swap" SavingsClaimType = "savings" EarnClaimType = "earn" )
const ( EventTypeClaim = "claim_reward" EventTypeRewardPeriod = "new_reward_period" EventTypeClaimPeriod = "new_claim_period" EventTypeClaimPeriodExpiry = "claim_period_expiry" AttributeValueCategory = ModuleName AttributeKeyClaimedBy = "claimed_by" AttributeKeyClaimAmount = "claim_amount" AttributeKeyClaimType = "claim_type" AttributeKeyRewardPeriod = "reward_period" AttributeKeyClaimPeriod = "claim_period" )
Events emitted by the incentive module
const ( // ModuleName The name that will be used throughout the module ModuleName = "incentive" // StoreKey Top level store key where all module items will be stored StoreKey = ModuleName // RouterKey Top level router key RouterKey = ModuleName // DefaultParamspace default name for parameter store DefaultParamspace = ModuleName // QuerierRoute route used for abci queries QuerierRoute = ModuleName )
const ( TypeMsgClaimUSDFMintingReward = "claim_usdf_minting_reward" TypeMsgClaimJinxReward = "claim_jinx_reward" TypeMsgClaimDelegatorReward = "claim_delegator_reward" TypeMsgClaimSwapReward = "claim_swap_reward" TypeMsgClaimSavingsReward = "claim_savings_reward" TypeMsgClaimEarnReward = "claim_earn_reward" )
const ( QueryGetJinxRewards = "jinx-rewards" QueryGetUSDFMintingRewards = "usdf-minting-rewards" QueryGetDelegatorRewards = "delegator-rewards" QueryGetSwapRewards = "swap-rewards" QueryGetSavingsRewards = "savings-rewards" QueryGetEarnRewards = "earn-rewards" QueryGetRewardFactors = "reward-factors" QueryGetParams = "parameters" QueryGetAPYs = "apys" RestClaimCollateralType = "collateral_type" RestClaimOwner = "owner" RestClaimType = "type" RestUnsynced = "unsynced" )
Querier routes for the incentive module
const MaxDenomsToClaim = 1000
Variables ¶
var ( ErrInvalidLengthApy = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowApy = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupApy = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthClaims = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowClaims = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupClaims = fmt.Errorf("proto: unexpected end of group") )
var ( ErrClaimNotFound = errorsmod.Register(ModuleName, 2, "no claimable rewards found for user") ErrRewardPeriodNotFound = errorsmod.Register(ModuleName, 3, "no reward period found for collateral type") ErrInvalidAccountType = errorsmod.Register(ModuleName, 4, "account type not supported") ErrNoClaimsFound = errorsmod.Register(ModuleName, 5, "no claimable rewards found") ErrInsufficientModAccountBalance = errorsmod.Register(ModuleName, 6, "module account has insufficient balance to pay claim") ErrAccountNotFound = errorsmod.Register(ModuleName, 7, "account not found") ErrInvalidMultiplier = errorsmod.Register(ModuleName, 8, "invalid rewards multiplier") ErrZeroClaim = errorsmod.Register(ModuleName, 9, "cannot claim - claim amount rounds to zero") ErrClaimExpired = errorsmod.Register(ModuleName, 10, "claim has expired") ErrInvalidClaimType = errorsmod.Register(ModuleName, 11, "invalid claim type") ErrDecreasingRewardFactor = errorsmod.Register(ModuleName, 13, "found new reward factor less than an old reward factor") ErrInvalidClaimDenoms = errorsmod.Register(ModuleName, 14, "invalid claim denoms") )
Incentive module errors
var ( DefaultUSDFClaims = USDFMintingClaims{} DefaultJinxClaims = JinxLiquidityProviderClaims{} DefaultDelegatorClaims = DelegatorClaims{} DefaultSwapClaims = SwapClaims{} DefaultSavingsClaims = SavingsClaims{} DefaultGenesisRewardState = NewGenesisRewardState( AccumulationTimes{}, MultiRewardIndexes{}, ) DefaultEarnClaims = EarnClaims{} )
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 ( USDFMintingClaimKeyPrefix = []byte{0x01} // prefix for keys that store USDF minting claims USDFMintingRewardFactorKeyPrefix = []byte{0x02} // prefix for key that stores USDF minting reward factors PreviousUSDFMintingRewardAccrualTimeKeyPrefix = []byte{0x03} // prefix for key that stores the blocktime JinxLiquidityClaimKeyPrefix = []byte{0x04} // prefix for keys that store Jinx liquidity claims JinxSupplyRewardIndexesKeyPrefix = []byte{0x05} // prefix for key that stores Jinx supply reward indexes PreviousJinxSupplyRewardAccrualTimeKeyPrefix = []byte{0x06} // prefix for key that stores the previous time Jinx supply rewards accrued JinxBorrowRewardIndexesKeyPrefix = []byte{0x07} // prefix for key that stores Jinx borrow reward indexes PreviousJinxBorrowRewardAccrualTimeKeyPrefix = []byte{0x08} // prefix for key that stores the previous time Jinx borrow rewards accrued DelegatorClaimKeyPrefix = []byte{0x09} // prefix for keys that store delegator claims DelegatorRewardIndexesKeyPrefix = []byte{0x10} // prefix for key that stores delegator reward indexes PreviousDelegatorRewardAccrualTimeKeyPrefix = []byte{0x11} // prefix for key that stores the previous time delegator rewards accrued SwapClaimKeyPrefix = []byte{0x12} // prefix for keys that store swap claims SwapRewardIndexesKeyPrefix = []byte{0x13} // prefix for key that stores swap reward indexes PreviousSwapRewardAccrualTimeKeyPrefix = []byte{0x14} // prefix for key that stores the previous time swap rewards accrued SavingsClaimKeyPrefix = []byte{0x15} // prefix for keys that store savings claims SavingsRewardIndexesKeyPrefix = []byte{0x16} // prefix for key that stores savings reward indexes PreviousSavingsRewardAccrualTimeKeyPrefix = []byte{0x17} // prefix for key that stores the previous time savings rewards accrued EarnClaimKeyPrefix = []byte{0x18} // prefix for keys that store earn claims EarnRewardIndexesKeyPrefix = []byte{0x19} // prefix for key that stores earn reward indexes PreviousEarnRewardAccrualTimeKeyPrefix = []byte{0x20} // prefix for key that stores the previous time earn rewards accrued )
Key Prefixes
var ( KeyUSDFMintingRewardPeriods = []byte("USDFMintingRewardPeriods") KeyJinxSupplyRewardPeriods = []byte("JinxSupplyRewardPeriods") KeyJinxBorrowRewardPeriods = []byte("JinxBorrowRewardPeriods") KeyDelegatorRewardPeriods = []byte("DelegatorRewardPeriods") KeySwapRewardPeriods = []byte("SwapRewardPeriods") KeySavingsRewardPeriods = []byte("SavingsRewardPeriods") KeyEarnRewardPeriods = []byte("EarnRewardPeriods") KeyClaimEnd = []byte("ClaimEnd") KeyMultipliers = []byte("ClaimMultipliers") DefaultActive = false DefaultRewardPeriods = RewardPeriods{} DefaultMultiRewardPeriods = MultiRewardPeriods{} DefaultMultipliers = MultipliersPerDenoms{} DefaultClaimEnd = tmtime.Canonical(time.Unix(1, 0)) BondDenom = "ufury" USDFMintingRewardDenom = "ufury" IncentiveMacc = furydistTypes.ModuleName )
Parameter keys and default values
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = 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 GetTotalVestingPeriodLength ¶
func GetTotalVestingPeriodLength(periods vestingtypes.Periods) int64
GetTotalVestingPeriodLength returns the summed length of all vesting periods
func NewPeriod ¶
func NewPeriod(amount sdk.Coins, length int64) vestingtypes.Period
NewPeriod returns a new vesting period
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable Key declaration for parameters
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers all the necessary types and interfaces for the governance module.
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)
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI SetAccount(ctx sdk.Context, acc authtypes.AccountI) GetModuleAccount(ctx sdk.Context, name string) authtypes.ModuleAccountI }
AccountKeeper expected interface for the account keeper (noalias)
type AccumulationTime ¶
type AccumulationTime struct { CollateralType string `protobuf:"bytes,1,opt,name=collateral_type,json=collateralType,proto3" json:"collateral_type,omitempty"` PreviousAccumulationTime time.Time `` /* 133-byte string literal not displayed */ }
AccumulationTime stores the previous reward distribution time and its corresponding collateral type
func NewAccumulationTime ¶
func NewAccumulationTime(ctype string, prevTime time.Time) AccumulationTime
NewAccumulationTime returns a new GenesisAccumulationTime
func (*AccumulationTime) Descriptor ¶
func (*AccumulationTime) Descriptor() ([]byte, []int)
func (*AccumulationTime) Marshal ¶
func (m *AccumulationTime) Marshal() (dAtA []byte, err error)
func (*AccumulationTime) MarshalToSizedBuffer ¶
func (m *AccumulationTime) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccumulationTime) ProtoMessage ¶
func (*AccumulationTime) ProtoMessage()
func (*AccumulationTime) Reset ¶
func (m *AccumulationTime) Reset()
func (*AccumulationTime) Size ¶
func (m *AccumulationTime) Size() (n int)
func (*AccumulationTime) String ¶
func (m *AccumulationTime) String() string
func (*AccumulationTime) Unmarshal ¶
func (m *AccumulationTime) Unmarshal(dAtA []byte) error
func (AccumulationTime) Validate ¶
func (gat AccumulationTime) Validate() error
Validate performs validation of GenesisAccumulationTime
func (*AccumulationTime) XXX_DiscardUnknown ¶
func (m *AccumulationTime) XXX_DiscardUnknown()
func (*AccumulationTime) XXX_Marshal ¶
func (m *AccumulationTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccumulationTime) XXX_Merge ¶
func (m *AccumulationTime) XXX_Merge(src proto.Message)
func (*AccumulationTime) XXX_Size ¶
func (m *AccumulationTime) XXX_Size() int
func (*AccumulationTime) XXX_Unmarshal ¶
func (m *AccumulationTime) XXX_Unmarshal(b []byte) error
type AccumulationTimes ¶
type AccumulationTimes []AccumulationTime
AccumulationTimes slice of GenesisAccumulationTime
func (AccumulationTimes) Validate ¶
func (gats AccumulationTimes) Validate() error
Validate performs validation of GenesisAccumulationTimes
type Accumulator ¶
type Accumulator struct { PreviousAccumulationTime time.Time Indexes RewardIndexes }
An Accumulator handles calculating and tracking global reward distributions.
func NewAccumulator ¶
func NewAccumulator(previousAccrual time.Time, indexes RewardIndexes) *Accumulator
func (*Accumulator) Accumulate ¶
func (acc *Accumulator) Accumulate(period MultiRewardPeriod, totalSourceShares sdk.Dec, currentTime time.Time)
Accumulate accrues rewards up to the current time.
It calculates new rewards and adds them to the reward indexes for the period from PreviousAccumulationTime to currentTime. It stores the currentTime in PreviousAccumulationTime to be used for later accumulations.
Rewards are not accrued for times outside of the start and end times of a reward period. If a period ends before currentTime, the PreviousAccrualTime is shortened to the end time. This allows accumulate to be called sequentially on consecutive reward periods.
totalSourceShares is the sum of all users' source shares. For example:total btcb supplied to jinx, total usdf borrowed from all bnb CDPs, or total shares in a swap pool.
type Apy ¶
type Apy struct { CollateralType string `protobuf:"bytes,1,opt,name=collateral_type,json=collateralType,proto3" json:"collateral_type,omitempty"` Apy github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=apy,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"apy"` }
Apy contains the calculated APY for a given collateral type at a specific instant in time.
func (*Apy) Descriptor ¶
func (*Apy) GetCollateralType ¶
func (*Apy) ProtoMessage ¶
func (*Apy) ProtoMessage()
func (*Apy) XXX_DiscardUnknown ¶
func (m *Apy) XXX_DiscardUnknown()
func (*Apy) XXX_Unmarshal ¶
type BankKeeper ¶
type BankKeeper interface { SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins GetSupply(ctx sdk.Context, denom string) sdk.Coin }
BankKeeper defines the expected interface needed to send coins
type BaseClaim ¶
type BaseClaim struct { Owner github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=owner,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"owner,omitempty"` Reward types.Coin `protobuf:"bytes,2,opt,name=reward,proto3" json:"reward"` }
BaseClaim is a claim with a single reward coin types
func (*BaseClaim) Descriptor ¶
func (BaseClaim) GetOwner ¶
func (c BaseClaim) GetOwner() sdk.AccAddress
GetOwner is a getter for Claim Owner
func (BaseClaim) GetType ¶
GetType returns the claim type, used to identify auctions in event attributes
func (*BaseClaim) MarshalToSizedBuffer ¶
func (*BaseClaim) ProtoMessage ¶
func (*BaseClaim) ProtoMessage()
func (*BaseClaim) XXX_DiscardUnknown ¶
func (m *BaseClaim) XXX_DiscardUnknown()
func (*BaseClaim) XXX_Marshal ¶
func (*BaseClaim) XXX_Unmarshal ¶
type BaseMultiClaim ¶
type BaseMultiClaim struct { Owner github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=owner,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"owner,omitempty"` Reward github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=reward,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"reward"` }
BaseMultiClaim is a claim with multiple reward coin types
func (*BaseMultiClaim) Descriptor ¶
func (*BaseMultiClaim) Descriptor() ([]byte, []int)
func (BaseMultiClaim) GetOwner ¶
func (c BaseMultiClaim) GetOwner() sdk.AccAddress
GetOwner is a getter for Claim Owner
func (BaseMultiClaim) GetReward ¶
func (c BaseMultiClaim) GetReward() sdk.Coins
GetReward is a getter for Claim Reward
func (BaseMultiClaim) GetType ¶
func (c BaseMultiClaim) GetType() string
GetType returns the claim type, used to identify auctions in event attributes
func (*BaseMultiClaim) Marshal ¶
func (m *BaseMultiClaim) Marshal() (dAtA []byte, err error)
func (*BaseMultiClaim) MarshalToSizedBuffer ¶
func (m *BaseMultiClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BaseMultiClaim) ProtoMessage ¶
func (*BaseMultiClaim) ProtoMessage()
func (*BaseMultiClaim) Reset ¶
func (m *BaseMultiClaim) Reset()
func (*BaseMultiClaim) Size ¶
func (m *BaseMultiClaim) Size() (n int)
func (*BaseMultiClaim) String ¶
func (m *BaseMultiClaim) String() string
func (*BaseMultiClaim) Unmarshal ¶
func (m *BaseMultiClaim) Unmarshal(dAtA []byte) error
func (BaseMultiClaim) Validate ¶
func (c BaseMultiClaim) Validate() error
Validate performs a basic check of a BaseClaim fields
func (*BaseMultiClaim) XXX_DiscardUnknown ¶
func (m *BaseMultiClaim) XXX_DiscardUnknown()
func (*BaseMultiClaim) XXX_Marshal ¶
func (m *BaseMultiClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BaseMultiClaim) XXX_Merge ¶
func (m *BaseMultiClaim) XXX_Merge(src proto.Message)
func (*BaseMultiClaim) XXX_Size ¶
func (m *BaseMultiClaim) XXX_Size() int
func (*BaseMultiClaim) XXX_Unmarshal ¶
func (m *BaseMultiClaim) XXX_Unmarshal(b []byte) error
type CDPHooks ¶
type CDPHooks interface { AfterCDPCreated(ctx sdk.Context, cdp cdptypes.CDP) BeforeCDPModified(ctx sdk.Context, cdp cdptypes.CDP) }
CDPHooks event hooks for other keepers to run code in response to CDP modifications
type CdpKeeper ¶
type CdpKeeper interface { GetInterestFactor(ctx sdk.Context, collateralType string) (sdk.Dec, bool) GetTotalPrincipal(ctx sdk.Context, collateralType string, principalDenom string) (total sdkmath.Int) GetCdpByOwnerAndCollateralType(ctx sdk.Context, owner sdk.AccAddress, collateralType string) (cdptypes.CDP, bool) GetCollateral(ctx sdk.Context, collateralType string) (cdptypes.CollateralParam, bool) }
CdpKeeper defines the expected cdp keeper for interacting with cdps
type DelegatorClaim ¶
type DelegatorClaim struct { BaseMultiClaim `protobuf:"bytes,1,opt,name=base_claim,json=baseClaim,proto3,embedded=base_claim" json:"base_claim"` RewardIndexes MultiRewardIndexes `protobuf:"bytes,2,rep,name=reward_indexes,json=rewardIndexes,proto3,castrepeated=MultiRewardIndexes" json:"reward_indexes"` }
DelegatorClaim stores delegation rewards that can be claimed by owner
func NewDelegatorClaim ¶
func NewDelegatorClaim(owner sdk.AccAddress, rewards sdk.Coins, rewardIndexes MultiRewardIndexes) DelegatorClaim
NewDelegatorClaim returns a new DelegatorClaim
func (*DelegatorClaim) Descriptor ¶
func (*DelegatorClaim) Descriptor() ([]byte, []int)
func (DelegatorClaim) GetOwner ¶
func (c DelegatorClaim) GetOwner() sdk.AccAddress
GetOwner returns the claim's owner
func (DelegatorClaim) GetReward ¶
func (c DelegatorClaim) GetReward() sdk.Coins
GetReward returns the claim's reward coin
func (DelegatorClaim) GetType ¶
func (c DelegatorClaim) GetType() string
GetType returns the claim's type
func (DelegatorClaim) HasRewardIndex ¶
func (c DelegatorClaim) HasRewardIndex(collateralType string) (int64, bool)
HasRewardIndex checks if a DelegatorClaim has a reward index for the input collateral type
func (*DelegatorClaim) Marshal ¶
func (m *DelegatorClaim) Marshal() (dAtA []byte, err error)
func (*DelegatorClaim) MarshalToSizedBuffer ¶
func (m *DelegatorClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DelegatorClaim) ProtoMessage ¶
func (*DelegatorClaim) ProtoMessage()
func (*DelegatorClaim) Reset ¶
func (m *DelegatorClaim) Reset()
func (*DelegatorClaim) Size ¶
func (m *DelegatorClaim) Size() (n int)
func (*DelegatorClaim) String ¶
func (m *DelegatorClaim) String() string
func (*DelegatorClaim) Unmarshal ¶
func (m *DelegatorClaim) Unmarshal(dAtA []byte) error
func (DelegatorClaim) Validate ¶
func (c DelegatorClaim) Validate() error
Validate performs a basic check of a DelegatorClaim fields
func (*DelegatorClaim) XXX_DiscardUnknown ¶
func (m *DelegatorClaim) XXX_DiscardUnknown()
func (*DelegatorClaim) XXX_Marshal ¶
func (m *DelegatorClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelegatorClaim) XXX_Merge ¶
func (m *DelegatorClaim) XXX_Merge(src proto.Message)
func (*DelegatorClaim) XXX_Size ¶
func (m *DelegatorClaim) XXX_Size() int
func (*DelegatorClaim) XXX_Unmarshal ¶
func (m *DelegatorClaim) XXX_Unmarshal(b []byte) error
type DelegatorClaims ¶
type DelegatorClaims []DelegatorClaim
DelegatorClaim slice of DelegatorClaim
func (DelegatorClaims) Validate ¶
func (cs DelegatorClaims) Validate() error
Validate checks if all the claims are valid and there are no duplicated entries.
type DistrKeeper ¶
DistrKeeper defines the required methods needed by this modules keeper
type EarnClaim ¶
type EarnClaim struct { BaseMultiClaim `protobuf:"bytes,1,opt,name=base_claim,json=baseClaim,proto3,embedded=base_claim" json:"base_claim"` RewardIndexes MultiRewardIndexes `protobuf:"bytes,2,rep,name=reward_indexes,json=rewardIndexes,proto3,castrepeated=MultiRewardIndexes" json:"reward_indexes"` }
EarnClaim stores the earn rewards that can be claimed by owner
func NewEarnClaim ¶
func NewEarnClaim(owner sdk.AccAddress, rewards sdk.Coins, rewardIndexes MultiRewardIndexes) EarnClaim
NewEarnClaim returns a new EarnClaim
func (*EarnClaim) Descriptor ¶
func (EarnClaim) GetOwner ¶
func (c EarnClaim) GetOwner() sdk.AccAddress
GetOwner returns the claim's owner
func (EarnClaim) HasRewardIndex ¶
HasRewardIndex check if a claim has a reward index for the input pool ID.
func (*EarnClaim) MarshalToSizedBuffer ¶
func (*EarnClaim) ProtoMessage ¶
func (*EarnClaim) ProtoMessage()
func (*EarnClaim) XXX_DiscardUnknown ¶
func (m *EarnClaim) XXX_DiscardUnknown()
func (*EarnClaim) XXX_Marshal ¶
func (*EarnClaim) XXX_Unmarshal ¶
type EarnClaims ¶
type EarnClaims []EarnClaim
EarnClaims slice of EarnClaim
func (EarnClaims) Validate ¶
func (cs EarnClaims) Validate() error
Validate checks if all the claims are valid.
type EarnKeeper ¶
type EarnKeeper interface { GetVaultTotalValue(ctx sdk.Context, denom string) (sdk.Coin, error) IterateVaultRecords(ctx sdk.Context, cb func(record earntypes.VaultRecord) (stop bool)) }
EarnKeeper defines the required methods needed by this modules keeper
type GenesisRewardState ¶
type GenesisRewardState struct { AccumulationTimes AccumulationTimes `` /* 133-byte string literal not displayed */ MultiRewardIndexes MultiRewardIndexes `` /* 139-byte string literal not displayed */ }
GenesisRewardState groups together the global state for a particular reward so it can be exported in genesis.
func NewGenesisRewardState ¶
func NewGenesisRewardState(accumTimes AccumulationTimes, indexes MultiRewardIndexes) GenesisRewardState
NewGenesisRewardState returns a new GenesisRewardState
func (*GenesisRewardState) Descriptor ¶
func (*GenesisRewardState) Descriptor() ([]byte, []int)
func (*GenesisRewardState) Marshal ¶
func (m *GenesisRewardState) Marshal() (dAtA []byte, err error)
func (*GenesisRewardState) MarshalTo ¶
func (m *GenesisRewardState) MarshalTo(dAtA []byte) (int, error)
func (*GenesisRewardState) MarshalToSizedBuffer ¶
func (m *GenesisRewardState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisRewardState) ProtoMessage ¶
func (*GenesisRewardState) ProtoMessage()
func (*GenesisRewardState) Reset ¶
func (m *GenesisRewardState) Reset()
func (*GenesisRewardState) Size ¶
func (m *GenesisRewardState) Size() (n int)
func (*GenesisRewardState) String ¶
func (m *GenesisRewardState) String() string
func (*GenesisRewardState) Unmarshal ¶
func (m *GenesisRewardState) Unmarshal(dAtA []byte) error
func (GenesisRewardState) Validate ¶
func (grs GenesisRewardState) Validate() error
Validate performs validation of a GenesisRewardState
func (*GenesisRewardState) XXX_DiscardUnknown ¶
func (m *GenesisRewardState) XXX_DiscardUnknown()
func (*GenesisRewardState) XXX_Marshal ¶
func (m *GenesisRewardState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisRewardState) XXX_Merge ¶
func (m *GenesisRewardState) XXX_Merge(src proto.Message)
func (*GenesisRewardState) XXX_Size ¶
func (m *GenesisRewardState) XXX_Size() int
func (*GenesisRewardState) XXX_Unmarshal ¶
func (m *GenesisRewardState) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` USDFRewardState GenesisRewardState `protobuf:"bytes,2,opt,name=usdf_reward_state,json=usdfRewardState,proto3" json:"usdf_reward_state"` JinxSupplyRewardState GenesisRewardState `protobuf:"bytes,3,opt,name=jinx_supply_reward_state,json=jinxSupplyRewardState,proto3" json:"jinx_supply_reward_state"` JinxBorrowRewardState GenesisRewardState `protobuf:"bytes,4,opt,name=jinx_borrow_reward_state,json=jinxBorrowRewardState,proto3" json:"jinx_borrow_reward_state"` DelegatorRewardState GenesisRewardState `protobuf:"bytes,5,opt,name=delegator_reward_state,json=delegatorRewardState,proto3" json:"delegator_reward_state"` SwapRewardState GenesisRewardState `protobuf:"bytes,6,opt,name=swap_reward_state,json=swapRewardState,proto3" json:"swap_reward_state"` USDFMintingClaims USDFMintingClaims `` /* 135-byte string literal not displayed */ JinxLiquidityProviderClaims JinxLiquidityProviderClaims `` /* 177-byte string literal not displayed */ DelegatorClaims DelegatorClaims `protobuf:"bytes,9,rep,name=delegator_claims,json=delegatorClaims,proto3,castrepeated=DelegatorClaims" json:"delegator_claims"` SwapClaims SwapClaims `protobuf:"bytes,10,rep,name=swap_claims,json=swapClaims,proto3,castrepeated=SwapClaims" json:"swap_claims"` SavingsRewardState GenesisRewardState `protobuf:"bytes,11,opt,name=savings_reward_state,json=savingsRewardState,proto3" json:"savings_reward_state"` SavingsClaims SavingsClaims `protobuf:"bytes,12,rep,name=savings_claims,json=savingsClaims,proto3,castrepeated=SavingsClaims" json:"savings_claims"` EarnRewardState GenesisRewardState `protobuf:"bytes,13,opt,name=earn_reward_state,json=earnRewardState,proto3" json:"earn_reward_state"` EarnClaims EarnClaims `protobuf:"bytes,14,rep,name=earn_claims,json=earnClaims,proto3,castrepeated=EarnClaims" json:"earn_claims"` }
GenesisState is the state that must be provided at genesis.
func DefaultGenesisState ¶
func DefaultGenesisState() GenesisState
DefaultGenesisState returns a default genesis state
func NewGenesisState ¶
func NewGenesisState( params Params, usdfState, jinxSupplyState, jinxBorrowState, delegatorState, swapState, savingsState, earnState GenesisRewardState, c USDFMintingClaims, hc JinxLiquidityProviderClaims, dc DelegatorClaims, sc SwapClaims, savingsc SavingsClaims, earnc EarnClaims, ) GenesisState
NewGenesisState returns a new genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
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) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic validation of genesis data returning an error for any failed validation criteria.
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 JINXHooks ¶
type JINXHooks interface { AfterDepositCreated(ctx sdk.Context, deposit jinxtypes.Deposit) BeforeDepositModified(ctx sdk.Context, deposit jinxtypes.Deposit) AfterDepositModified(ctx sdk.Context, deposit jinxtypes.Deposit) AfterBorrowCreated(ctx sdk.Context, borrow jinxtypes.Borrow) BeforeBorrowModified(ctx sdk.Context, borrow jinxtypes.Borrow) AfterBorrowModified(ctx sdk.Context, deposit jinxtypes.Deposit) }
JINXHooks event hooks for other keepers to run code in response to JINX modifications
type JinxKeeper ¶
type JinxKeeper interface { GetDeposit(ctx sdk.Context, depositor sdk.AccAddress) (jinxtypes.Deposit, bool) GetBorrow(ctx sdk.Context, borrower sdk.AccAddress) (jinxtypes.Borrow, bool) GetSupplyInterestFactor(ctx sdk.Context, denom string) (sdk.Dec, bool) GetBorrowInterestFactor(ctx sdk.Context, denom string) (sdk.Dec, bool) GetBorrowedCoins(ctx sdk.Context) (coins sdk.Coins, found bool) GetSuppliedCoins(ctx sdk.Context) (coins sdk.Coins, found bool) }
JinxKeeper defines the expected jinx keeper for interacting with Jinx protocol
type JinxLiquidityProviderClaim ¶
type JinxLiquidityProviderClaim struct { BaseMultiClaim `protobuf:"bytes,1,opt,name=base_claim,json=baseClaim,proto3,embedded=base_claim" json:"base_claim"` SupplyRewardIndexes MultiRewardIndexes `` /* 142-byte string literal not displayed */ BorrowRewardIndexes MultiRewardIndexes `` /* 142-byte string literal not displayed */ }
JinxLiquidityProviderClaim stores the jinx liquidity provider rewards that can be claimed by owner
func NewJinxLiquidityProviderClaim ¶
func NewJinxLiquidityProviderClaim(owner sdk.AccAddress, rewards sdk.Coins, supplyRewardIndexes, borrowRewardIndexes MultiRewardIndexes, ) JinxLiquidityProviderClaim
NewJinxLiquidityProviderClaim returns a new JinxLiquidityProviderClaim
func (*JinxLiquidityProviderClaim) Descriptor ¶
func (*JinxLiquidityProviderClaim) Descriptor() ([]byte, []int)
func (JinxLiquidityProviderClaim) GetOwner ¶
func (c JinxLiquidityProviderClaim) GetOwner() sdk.AccAddress
GetOwner returns the claim's owner
func (JinxLiquidityProviderClaim) GetReward ¶
func (c JinxLiquidityProviderClaim) GetReward() sdk.Coins
GetReward returns the claim's reward coin
func (JinxLiquidityProviderClaim) GetType ¶
func (c JinxLiquidityProviderClaim) GetType() string
GetType returns the claim's type
func (JinxLiquidityProviderClaim) HasBorrowRewardIndex ¶
func (c JinxLiquidityProviderClaim) HasBorrowRewardIndex(denom string) (int64, bool)
HasBorrowRewardIndex check if a claim has a borrow reward index for the input collateral type
func (JinxLiquidityProviderClaim) HasSupplyRewardIndex ¶
func (c JinxLiquidityProviderClaim) HasSupplyRewardIndex(denom string) (int64, bool)
HasSupplyRewardIndex check if a claim has a supply reward index for the input collateral type
func (*JinxLiquidityProviderClaim) Marshal ¶
func (m *JinxLiquidityProviderClaim) Marshal() (dAtA []byte, err error)
func (*JinxLiquidityProviderClaim) MarshalTo ¶
func (m *JinxLiquidityProviderClaim) MarshalTo(dAtA []byte) (int, error)
func (*JinxLiquidityProviderClaim) MarshalToSizedBuffer ¶
func (m *JinxLiquidityProviderClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*JinxLiquidityProviderClaim) ProtoMessage ¶
func (*JinxLiquidityProviderClaim) ProtoMessage()
func (*JinxLiquidityProviderClaim) Reset ¶
func (m *JinxLiquidityProviderClaim) Reset()
func (*JinxLiquidityProviderClaim) Size ¶
func (m *JinxLiquidityProviderClaim) Size() (n int)
func (*JinxLiquidityProviderClaim) String ¶
func (m *JinxLiquidityProviderClaim) String() string
func (*JinxLiquidityProviderClaim) Unmarshal ¶
func (m *JinxLiquidityProviderClaim) Unmarshal(dAtA []byte) error
func (JinxLiquidityProviderClaim) Validate ¶
func (c JinxLiquidityProviderClaim) Validate() error
Validate performs a basic check of a JinxLiquidityProviderClaim fields
func (*JinxLiquidityProviderClaim) XXX_DiscardUnknown ¶
func (m *JinxLiquidityProviderClaim) XXX_DiscardUnknown()
func (*JinxLiquidityProviderClaim) XXX_Marshal ¶
func (m *JinxLiquidityProviderClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JinxLiquidityProviderClaim) XXX_Merge ¶
func (m *JinxLiquidityProviderClaim) XXX_Merge(src proto.Message)
func (*JinxLiquidityProviderClaim) XXX_Size ¶
func (m *JinxLiquidityProviderClaim) XXX_Size() int
func (*JinxLiquidityProviderClaim) XXX_Unmarshal ¶
func (m *JinxLiquidityProviderClaim) XXX_Unmarshal(b []byte) error
type JinxLiquidityProviderClaims ¶
type JinxLiquidityProviderClaims []JinxLiquidityProviderClaim
JinxLiquidityProviderClaims slice of JinxLiquidityProviderClaim
func (JinxLiquidityProviderClaims) Validate ¶
func (cs JinxLiquidityProviderClaims) Validate() error
Validate checks if all the claims are valid and there are no duplicated entries.
type LiquidKeeper ¶
type LiquidKeeper interface { IsDerivativeDenom(ctx sdk.Context, denom string) bool GetTotalDerivativeValue(ctx sdk.Context) (sdk.Coin, error) GetDerivativeValue(ctx sdk.Context, denom string) (sdk.Coin, error) CollectStakingRewardsByDenom( ctx sdk.Context, derivativeDenom string, destinationModAccount string, ) (sdk.Coins, error) }
LiquidKeeper defines the required methods needed by this modules keeper
type MintKeeper ¶
MintKeeper defines the required methods needed by this modules keeper
type MsgClaimDelegatorReward ¶
type MsgClaimDelegatorReward struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` DenomsToClaim Selections `protobuf:"bytes,2,rep,name=denoms_to_claim,json=denomsToClaim,proto3,castrepeated=Selections" json:"denoms_to_claim"` }
MsgClaimDelegatorReward message type used to claim delegator rewards
func NewMsgClaimDelegatorReward ¶
func NewMsgClaimDelegatorReward(sender string, denomsToClaim Selections) MsgClaimDelegatorReward
NewMsgClaimDelegatorReward returns a new MsgClaimDelegatorReward.
func (*MsgClaimDelegatorReward) Descriptor ¶
func (*MsgClaimDelegatorReward) Descriptor() ([]byte, []int)
func (MsgClaimDelegatorReward) GetSignBytes ¶
func (msg MsgClaimDelegatorReward) GetSignBytes() []byte
GetSignBytes gets the canonical byte representation of the Msg.
func (MsgClaimDelegatorReward) GetSigners ¶
func (msg MsgClaimDelegatorReward) GetSigners() []sdk.AccAddress
GetSigners returns the addresses of signers that must sign.
func (*MsgClaimDelegatorReward) Marshal ¶
func (m *MsgClaimDelegatorReward) Marshal() (dAtA []byte, err error)
func (*MsgClaimDelegatorReward) MarshalTo ¶
func (m *MsgClaimDelegatorReward) MarshalTo(dAtA []byte) (int, error)
func (*MsgClaimDelegatorReward) MarshalToSizedBuffer ¶
func (m *MsgClaimDelegatorReward) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimDelegatorReward) ProtoMessage ¶
func (*MsgClaimDelegatorReward) ProtoMessage()
func (*MsgClaimDelegatorReward) Reset ¶
func (m *MsgClaimDelegatorReward) Reset()
func (MsgClaimDelegatorReward) Route ¶
func (msg MsgClaimDelegatorReward) Route() string
Route return the message type used for routing the message.
func (*MsgClaimDelegatorReward) Size ¶
func (m *MsgClaimDelegatorReward) Size() (n int)
func (*MsgClaimDelegatorReward) String ¶
func (m *MsgClaimDelegatorReward) String() string
func (MsgClaimDelegatorReward) Type ¶
func (msg MsgClaimDelegatorReward) Type() string
Type returns a human-readable string for the message, intended for utilization within tags.
func (*MsgClaimDelegatorReward) Unmarshal ¶
func (m *MsgClaimDelegatorReward) Unmarshal(dAtA []byte) error
func (MsgClaimDelegatorReward) ValidateBasic ¶
func (msg MsgClaimDelegatorReward) ValidateBasic() error
ValidateBasic does a simple validation check that doesn't require access to state.
func (*MsgClaimDelegatorReward) XXX_DiscardUnknown ¶
func (m *MsgClaimDelegatorReward) XXX_DiscardUnknown()
func (*MsgClaimDelegatorReward) XXX_Marshal ¶
func (m *MsgClaimDelegatorReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimDelegatorReward) XXX_Merge ¶
func (m *MsgClaimDelegatorReward) XXX_Merge(src proto.Message)
func (*MsgClaimDelegatorReward) XXX_Size ¶
func (m *MsgClaimDelegatorReward) XXX_Size() int
func (*MsgClaimDelegatorReward) XXX_Unmarshal ¶
func (m *MsgClaimDelegatorReward) XXX_Unmarshal(b []byte) error
type MsgClaimDelegatorRewardResponse ¶
type MsgClaimDelegatorRewardResponse struct { }
MsgClaimDelegatorRewardResponse defines the Msg/ClaimDelegatorReward response type.
func (*MsgClaimDelegatorRewardResponse) Descriptor ¶
func (*MsgClaimDelegatorRewardResponse) Descriptor() ([]byte, []int)
func (*MsgClaimDelegatorRewardResponse) Marshal ¶
func (m *MsgClaimDelegatorRewardResponse) Marshal() (dAtA []byte, err error)
func (*MsgClaimDelegatorRewardResponse) MarshalTo ¶
func (m *MsgClaimDelegatorRewardResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgClaimDelegatorRewardResponse) MarshalToSizedBuffer ¶
func (m *MsgClaimDelegatorRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimDelegatorRewardResponse) ProtoMessage ¶
func (*MsgClaimDelegatorRewardResponse) ProtoMessage()
func (*MsgClaimDelegatorRewardResponse) Reset ¶
func (m *MsgClaimDelegatorRewardResponse) Reset()
func (*MsgClaimDelegatorRewardResponse) Size ¶
func (m *MsgClaimDelegatorRewardResponse) Size() (n int)
func (*MsgClaimDelegatorRewardResponse) String ¶
func (m *MsgClaimDelegatorRewardResponse) String() string
func (*MsgClaimDelegatorRewardResponse) Unmarshal ¶
func (m *MsgClaimDelegatorRewardResponse) Unmarshal(dAtA []byte) error
func (*MsgClaimDelegatorRewardResponse) XXX_DiscardUnknown ¶
func (m *MsgClaimDelegatorRewardResponse) XXX_DiscardUnknown()
func (*MsgClaimDelegatorRewardResponse) XXX_Marshal ¶
func (m *MsgClaimDelegatorRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimDelegatorRewardResponse) XXX_Merge ¶
func (m *MsgClaimDelegatorRewardResponse) XXX_Merge(src proto.Message)
func (*MsgClaimDelegatorRewardResponse) XXX_Size ¶
func (m *MsgClaimDelegatorRewardResponse) XXX_Size() int
func (*MsgClaimDelegatorRewardResponse) XXX_Unmarshal ¶
func (m *MsgClaimDelegatorRewardResponse) XXX_Unmarshal(b []byte) error
type MsgClaimEarnReward ¶
type MsgClaimEarnReward struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` DenomsToClaim Selections `protobuf:"bytes,2,rep,name=denoms_to_claim,json=denomsToClaim,proto3,castrepeated=Selections" json:"denoms_to_claim"` }
MsgClaimEarnReward message type used to claim earn rewards
func NewMsgClaimEarnReward ¶
func NewMsgClaimEarnReward(sender string, denomsToClaim Selections) MsgClaimEarnReward
NewMsgClaimEarnReward returns a new MsgClaimEarnReward.
func (*MsgClaimEarnReward) Descriptor ¶
func (*MsgClaimEarnReward) Descriptor() ([]byte, []int)
func (MsgClaimEarnReward) GetSignBytes ¶
func (msg MsgClaimEarnReward) GetSignBytes() []byte
GetSignBytes gets the canonical byte representation of the Msg.
func (MsgClaimEarnReward) GetSigners ¶
func (msg MsgClaimEarnReward) GetSigners() []sdk.AccAddress
GetSigners returns the addresses of signers that must sign.
func (*MsgClaimEarnReward) Marshal ¶
func (m *MsgClaimEarnReward) Marshal() (dAtA []byte, err error)
func (*MsgClaimEarnReward) MarshalTo ¶
func (m *MsgClaimEarnReward) MarshalTo(dAtA []byte) (int, error)
func (*MsgClaimEarnReward) MarshalToSizedBuffer ¶
func (m *MsgClaimEarnReward) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimEarnReward) ProtoMessage ¶
func (*MsgClaimEarnReward) ProtoMessage()
func (*MsgClaimEarnReward) Reset ¶
func (m *MsgClaimEarnReward) Reset()
func (MsgClaimEarnReward) Route ¶
func (msg MsgClaimEarnReward) Route() string
Route return the message type used for routing the message.
func (*MsgClaimEarnReward) Size ¶
func (m *MsgClaimEarnReward) Size() (n int)
func (*MsgClaimEarnReward) String ¶
func (m *MsgClaimEarnReward) String() string
func (MsgClaimEarnReward) Type ¶
func (msg MsgClaimEarnReward) Type() string
Type returns a human-readable string for the message, intended for utilization within tags.
func (*MsgClaimEarnReward) Unmarshal ¶
func (m *MsgClaimEarnReward) Unmarshal(dAtA []byte) error
func (MsgClaimEarnReward) ValidateBasic ¶
func (msg MsgClaimEarnReward) ValidateBasic() error
ValidateBasic does a simple validation check that doesn't require access to state.
func (*MsgClaimEarnReward) XXX_DiscardUnknown ¶
func (m *MsgClaimEarnReward) XXX_DiscardUnknown()
func (*MsgClaimEarnReward) XXX_Marshal ¶
func (m *MsgClaimEarnReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimEarnReward) XXX_Merge ¶
func (m *MsgClaimEarnReward) XXX_Merge(src proto.Message)
func (*MsgClaimEarnReward) XXX_Size ¶
func (m *MsgClaimEarnReward) XXX_Size() int
func (*MsgClaimEarnReward) XXX_Unmarshal ¶
func (m *MsgClaimEarnReward) XXX_Unmarshal(b []byte) error
type MsgClaimEarnRewardResponse ¶
type MsgClaimEarnRewardResponse struct { }
MsgClaimEarnRewardResponse defines the Msg/ClaimEarnReward response type.
func (*MsgClaimEarnRewardResponse) Descriptor ¶
func (*MsgClaimEarnRewardResponse) Descriptor() ([]byte, []int)
func (*MsgClaimEarnRewardResponse) Marshal ¶
func (m *MsgClaimEarnRewardResponse) Marshal() (dAtA []byte, err error)
func (*MsgClaimEarnRewardResponse) MarshalTo ¶
func (m *MsgClaimEarnRewardResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgClaimEarnRewardResponse) MarshalToSizedBuffer ¶
func (m *MsgClaimEarnRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimEarnRewardResponse) ProtoMessage ¶
func (*MsgClaimEarnRewardResponse) ProtoMessage()
func (*MsgClaimEarnRewardResponse) Reset ¶
func (m *MsgClaimEarnRewardResponse) Reset()
func (*MsgClaimEarnRewardResponse) Size ¶
func (m *MsgClaimEarnRewardResponse) Size() (n int)
func (*MsgClaimEarnRewardResponse) String ¶
func (m *MsgClaimEarnRewardResponse) String() string
func (*MsgClaimEarnRewardResponse) Unmarshal ¶
func (m *MsgClaimEarnRewardResponse) Unmarshal(dAtA []byte) error
func (*MsgClaimEarnRewardResponse) XXX_DiscardUnknown ¶
func (m *MsgClaimEarnRewardResponse) XXX_DiscardUnknown()
func (*MsgClaimEarnRewardResponse) XXX_Marshal ¶
func (m *MsgClaimEarnRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimEarnRewardResponse) XXX_Merge ¶
func (m *MsgClaimEarnRewardResponse) XXX_Merge(src proto.Message)
func (*MsgClaimEarnRewardResponse) XXX_Size ¶
func (m *MsgClaimEarnRewardResponse) XXX_Size() int
func (*MsgClaimEarnRewardResponse) XXX_Unmarshal ¶
func (m *MsgClaimEarnRewardResponse) XXX_Unmarshal(b []byte) error
type MsgClaimJinxReward ¶
type MsgClaimJinxReward struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` DenomsToClaim Selections `protobuf:"bytes,2,rep,name=denoms_to_claim,json=denomsToClaim,proto3,castrepeated=Selections" json:"denoms_to_claim"` }
MsgClaimJinxReward message type used to claim Jinx liquidity provider rewards
func NewMsgClaimJinxReward ¶
func NewMsgClaimJinxReward(sender string, denomsToClaim Selections) MsgClaimJinxReward
NewMsgClaimJinxReward returns a new MsgClaimJinxReward.
func (*MsgClaimJinxReward) Descriptor ¶
func (*MsgClaimJinxReward) Descriptor() ([]byte, []int)
func (MsgClaimJinxReward) GetSignBytes ¶
func (msg MsgClaimJinxReward) GetSignBytes() []byte
GetSignBytes gets the canonical byte representation of the Msg.
func (MsgClaimJinxReward) GetSigners ¶
func (msg MsgClaimJinxReward) GetSigners() []sdk.AccAddress
GetSigners returns the addresses of signers that must sign.
func (*MsgClaimJinxReward) Marshal ¶
func (m *MsgClaimJinxReward) Marshal() (dAtA []byte, err error)
func (*MsgClaimJinxReward) MarshalTo ¶
func (m *MsgClaimJinxReward) MarshalTo(dAtA []byte) (int, error)
func (*MsgClaimJinxReward) MarshalToSizedBuffer ¶
func (m *MsgClaimJinxReward) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimJinxReward) ProtoMessage ¶
func (*MsgClaimJinxReward) ProtoMessage()
func (*MsgClaimJinxReward) Reset ¶
func (m *MsgClaimJinxReward) Reset()
func (MsgClaimJinxReward) Route ¶
func (msg MsgClaimJinxReward) Route() string
Route return the message type used for routing the message.
func (*MsgClaimJinxReward) Size ¶
func (m *MsgClaimJinxReward) Size() (n int)
func (*MsgClaimJinxReward) String ¶
func (m *MsgClaimJinxReward) String() string
func (MsgClaimJinxReward) Type ¶
func (msg MsgClaimJinxReward) Type() string
Type returns a human-readable string for the message, intended for utilization within tags.
func (*MsgClaimJinxReward) Unmarshal ¶
func (m *MsgClaimJinxReward) Unmarshal(dAtA []byte) error
func (MsgClaimJinxReward) ValidateBasic ¶
func (msg MsgClaimJinxReward) ValidateBasic() error
ValidateBasic does a simple validation check that doesn't require access to state.
func (*MsgClaimJinxReward) XXX_DiscardUnknown ¶
func (m *MsgClaimJinxReward) XXX_DiscardUnknown()
func (*MsgClaimJinxReward) XXX_Marshal ¶
func (m *MsgClaimJinxReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimJinxReward) XXX_Merge ¶
func (m *MsgClaimJinxReward) XXX_Merge(src proto.Message)
func (*MsgClaimJinxReward) XXX_Size ¶
func (m *MsgClaimJinxReward) XXX_Size() int
func (*MsgClaimJinxReward) XXX_Unmarshal ¶
func (m *MsgClaimJinxReward) XXX_Unmarshal(b []byte) error
type MsgClaimJinxRewardResponse ¶
type MsgClaimJinxRewardResponse struct { }
MsgClaimJinxRewardResponse defines the Msg/ClaimJinxReward response type.
func (*MsgClaimJinxRewardResponse) Descriptor ¶
func (*MsgClaimJinxRewardResponse) Descriptor() ([]byte, []int)
func (*MsgClaimJinxRewardResponse) Marshal ¶
func (m *MsgClaimJinxRewardResponse) Marshal() (dAtA []byte, err error)
func (*MsgClaimJinxRewardResponse) MarshalTo ¶
func (m *MsgClaimJinxRewardResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgClaimJinxRewardResponse) MarshalToSizedBuffer ¶
func (m *MsgClaimJinxRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimJinxRewardResponse) ProtoMessage ¶
func (*MsgClaimJinxRewardResponse) ProtoMessage()
func (*MsgClaimJinxRewardResponse) Reset ¶
func (m *MsgClaimJinxRewardResponse) Reset()
func (*MsgClaimJinxRewardResponse) Size ¶
func (m *MsgClaimJinxRewardResponse) Size() (n int)
func (*MsgClaimJinxRewardResponse) String ¶
func (m *MsgClaimJinxRewardResponse) String() string
func (*MsgClaimJinxRewardResponse) Unmarshal ¶
func (m *MsgClaimJinxRewardResponse) Unmarshal(dAtA []byte) error
func (*MsgClaimJinxRewardResponse) XXX_DiscardUnknown ¶
func (m *MsgClaimJinxRewardResponse) XXX_DiscardUnknown()
func (*MsgClaimJinxRewardResponse) XXX_Marshal ¶
func (m *MsgClaimJinxRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimJinxRewardResponse) XXX_Merge ¶
func (m *MsgClaimJinxRewardResponse) XXX_Merge(src proto.Message)
func (*MsgClaimJinxRewardResponse) XXX_Size ¶
func (m *MsgClaimJinxRewardResponse) XXX_Size() int
func (*MsgClaimJinxRewardResponse) XXX_Unmarshal ¶
func (m *MsgClaimJinxRewardResponse) XXX_Unmarshal(b []byte) error
type MsgClaimSavingsReward ¶
type MsgClaimSavingsReward struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` DenomsToClaim Selections `protobuf:"bytes,2,rep,name=denoms_to_claim,json=denomsToClaim,proto3,castrepeated=Selections" json:"denoms_to_claim"` }
MsgClaimSavingsReward message type used to claim savings rewards
func NewMsgClaimSavingsReward ¶
func NewMsgClaimSavingsReward(sender string, denomsToClaim Selections) MsgClaimSavingsReward
NewMsgClaimSavingsReward returns a new MsgClaimSavingsReward.
func (*MsgClaimSavingsReward) Descriptor ¶
func (*MsgClaimSavingsReward) Descriptor() ([]byte, []int)
func (MsgClaimSavingsReward) GetSignBytes ¶
func (msg MsgClaimSavingsReward) GetSignBytes() []byte
GetSignBytes gets the canonical byte representation of the Msg.
func (MsgClaimSavingsReward) GetSigners ¶
func (msg MsgClaimSavingsReward) GetSigners() []sdk.AccAddress
GetSigners returns the addresses of signers that must sign.
func (*MsgClaimSavingsReward) Marshal ¶
func (m *MsgClaimSavingsReward) Marshal() (dAtA []byte, err error)
func (*MsgClaimSavingsReward) MarshalTo ¶
func (m *MsgClaimSavingsReward) MarshalTo(dAtA []byte) (int, error)
func (*MsgClaimSavingsReward) MarshalToSizedBuffer ¶
func (m *MsgClaimSavingsReward) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimSavingsReward) ProtoMessage ¶
func (*MsgClaimSavingsReward) ProtoMessage()
func (*MsgClaimSavingsReward) Reset ¶
func (m *MsgClaimSavingsReward) Reset()
func (MsgClaimSavingsReward) Route ¶
func (msg MsgClaimSavingsReward) Route() string
Route return the message type used for routing the message.
func (*MsgClaimSavingsReward) Size ¶
func (m *MsgClaimSavingsReward) Size() (n int)
func (*MsgClaimSavingsReward) String ¶
func (m *MsgClaimSavingsReward) String() string
func (MsgClaimSavingsReward) Type ¶
func (msg MsgClaimSavingsReward) Type() string
Type returns a human-readable string for the message, intended for utilization within tags.
func (*MsgClaimSavingsReward) Unmarshal ¶
func (m *MsgClaimSavingsReward) Unmarshal(dAtA []byte) error
func (MsgClaimSavingsReward) ValidateBasic ¶
func (msg MsgClaimSavingsReward) ValidateBasic() error
ValidateBasic does a simple validation check that doesn't require access to state.
func (*MsgClaimSavingsReward) XXX_DiscardUnknown ¶
func (m *MsgClaimSavingsReward) XXX_DiscardUnknown()
func (*MsgClaimSavingsReward) XXX_Marshal ¶
func (m *MsgClaimSavingsReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimSavingsReward) XXX_Merge ¶
func (m *MsgClaimSavingsReward) XXX_Merge(src proto.Message)
func (*MsgClaimSavingsReward) XXX_Size ¶
func (m *MsgClaimSavingsReward) XXX_Size() int
func (*MsgClaimSavingsReward) XXX_Unmarshal ¶
func (m *MsgClaimSavingsReward) XXX_Unmarshal(b []byte) error
type MsgClaimSavingsRewardResponse ¶
type MsgClaimSavingsRewardResponse struct { }
MsgClaimSavingsRewardResponse defines the Msg/ClaimSavingsReward response type.
func (*MsgClaimSavingsRewardResponse) Descriptor ¶
func (*MsgClaimSavingsRewardResponse) Descriptor() ([]byte, []int)
func (*MsgClaimSavingsRewardResponse) Marshal ¶
func (m *MsgClaimSavingsRewardResponse) Marshal() (dAtA []byte, err error)
func (*MsgClaimSavingsRewardResponse) MarshalTo ¶
func (m *MsgClaimSavingsRewardResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgClaimSavingsRewardResponse) MarshalToSizedBuffer ¶
func (m *MsgClaimSavingsRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimSavingsRewardResponse) ProtoMessage ¶
func (*MsgClaimSavingsRewardResponse) ProtoMessage()
func (*MsgClaimSavingsRewardResponse) Reset ¶
func (m *MsgClaimSavingsRewardResponse) Reset()
func (*MsgClaimSavingsRewardResponse) Size ¶
func (m *MsgClaimSavingsRewardResponse) Size() (n int)
func (*MsgClaimSavingsRewardResponse) String ¶
func (m *MsgClaimSavingsRewardResponse) String() string
func (*MsgClaimSavingsRewardResponse) Unmarshal ¶
func (m *MsgClaimSavingsRewardResponse) Unmarshal(dAtA []byte) error
func (*MsgClaimSavingsRewardResponse) XXX_DiscardUnknown ¶
func (m *MsgClaimSavingsRewardResponse) XXX_DiscardUnknown()
func (*MsgClaimSavingsRewardResponse) XXX_Marshal ¶
func (m *MsgClaimSavingsRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimSavingsRewardResponse) XXX_Merge ¶
func (m *MsgClaimSavingsRewardResponse) XXX_Merge(src proto.Message)
func (*MsgClaimSavingsRewardResponse) XXX_Size ¶
func (m *MsgClaimSavingsRewardResponse) XXX_Size() int
func (*MsgClaimSavingsRewardResponse) XXX_Unmarshal ¶
func (m *MsgClaimSavingsRewardResponse) XXX_Unmarshal(b []byte) error
type MsgClaimSwapReward ¶
type MsgClaimSwapReward struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` DenomsToClaim Selections `protobuf:"bytes,2,rep,name=denoms_to_claim,json=denomsToClaim,proto3,castrepeated=Selections" json:"denoms_to_claim"` }
MsgClaimSwapReward message type used to claim delegator rewards
func NewMsgClaimSwapReward ¶
func NewMsgClaimSwapReward(sender string, denomsToClaim Selections) MsgClaimSwapReward
NewMsgClaimSwapReward returns a new MsgClaimSwapReward.
func (*MsgClaimSwapReward) Descriptor ¶
func (*MsgClaimSwapReward) Descriptor() ([]byte, []int)
func (MsgClaimSwapReward) GetSignBytes ¶
func (msg MsgClaimSwapReward) GetSignBytes() []byte
GetSignBytes gets the canonical byte representation of the Msg.
func (MsgClaimSwapReward) GetSigners ¶
func (msg MsgClaimSwapReward) GetSigners() []sdk.AccAddress
GetSigners returns the addresses of signers that must sign.
func (*MsgClaimSwapReward) Marshal ¶
func (m *MsgClaimSwapReward) Marshal() (dAtA []byte, err error)
func (*MsgClaimSwapReward) MarshalTo ¶
func (m *MsgClaimSwapReward) MarshalTo(dAtA []byte) (int, error)
func (*MsgClaimSwapReward) MarshalToSizedBuffer ¶
func (m *MsgClaimSwapReward) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimSwapReward) ProtoMessage ¶
func (*MsgClaimSwapReward) ProtoMessage()
func (*MsgClaimSwapReward) Reset ¶
func (m *MsgClaimSwapReward) Reset()
func (MsgClaimSwapReward) Route ¶
func (msg MsgClaimSwapReward) Route() string
Route return the message type used for routing the message.
func (*MsgClaimSwapReward) Size ¶
func (m *MsgClaimSwapReward) Size() (n int)
func (*MsgClaimSwapReward) String ¶
func (m *MsgClaimSwapReward) String() string
func (MsgClaimSwapReward) Type ¶
func (msg MsgClaimSwapReward) Type() string
Type returns a human-readable string for the message, intended for utilization within tags.
func (*MsgClaimSwapReward) Unmarshal ¶
func (m *MsgClaimSwapReward) Unmarshal(dAtA []byte) error
func (MsgClaimSwapReward) ValidateBasic ¶
func (msg MsgClaimSwapReward) ValidateBasic() error
ValidateBasic does a simple validation check that doesn't require access to state.
func (*MsgClaimSwapReward) XXX_DiscardUnknown ¶
func (m *MsgClaimSwapReward) XXX_DiscardUnknown()
func (*MsgClaimSwapReward) XXX_Marshal ¶
func (m *MsgClaimSwapReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimSwapReward) XXX_Merge ¶
func (m *MsgClaimSwapReward) XXX_Merge(src proto.Message)
func (*MsgClaimSwapReward) XXX_Size ¶
func (m *MsgClaimSwapReward) XXX_Size() int
func (*MsgClaimSwapReward) XXX_Unmarshal ¶
func (m *MsgClaimSwapReward) XXX_Unmarshal(b []byte) error
type MsgClaimSwapRewardResponse ¶
type MsgClaimSwapRewardResponse struct { }
MsgClaimSwapRewardResponse defines the Msg/ClaimSwapReward response type.
func (*MsgClaimSwapRewardResponse) Descriptor ¶
func (*MsgClaimSwapRewardResponse) Descriptor() ([]byte, []int)
func (*MsgClaimSwapRewardResponse) Marshal ¶
func (m *MsgClaimSwapRewardResponse) Marshal() (dAtA []byte, err error)
func (*MsgClaimSwapRewardResponse) MarshalTo ¶
func (m *MsgClaimSwapRewardResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgClaimSwapRewardResponse) MarshalToSizedBuffer ¶
func (m *MsgClaimSwapRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimSwapRewardResponse) ProtoMessage ¶
func (*MsgClaimSwapRewardResponse) ProtoMessage()
func (*MsgClaimSwapRewardResponse) Reset ¶
func (m *MsgClaimSwapRewardResponse) Reset()
func (*MsgClaimSwapRewardResponse) Size ¶
func (m *MsgClaimSwapRewardResponse) Size() (n int)
func (*MsgClaimSwapRewardResponse) String ¶
func (m *MsgClaimSwapRewardResponse) String() string
func (*MsgClaimSwapRewardResponse) Unmarshal ¶
func (m *MsgClaimSwapRewardResponse) Unmarshal(dAtA []byte) error
func (*MsgClaimSwapRewardResponse) XXX_DiscardUnknown ¶
func (m *MsgClaimSwapRewardResponse) XXX_DiscardUnknown()
func (*MsgClaimSwapRewardResponse) XXX_Marshal ¶
func (m *MsgClaimSwapRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimSwapRewardResponse) XXX_Merge ¶
func (m *MsgClaimSwapRewardResponse) XXX_Merge(src proto.Message)
func (*MsgClaimSwapRewardResponse) XXX_Size ¶
func (m *MsgClaimSwapRewardResponse) XXX_Size() int
func (*MsgClaimSwapRewardResponse) XXX_Unmarshal ¶
func (m *MsgClaimSwapRewardResponse) XXX_Unmarshal(b []byte) error
type MsgClaimUSDFMintingReward ¶
type MsgClaimUSDFMintingReward struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` MultiplierName string `protobuf:"bytes,2,opt,name=multiplier_name,json=multiplierName,proto3" json:"multiplier_name,omitempty"` }
MsgClaimUSDFMintingReward message type used to claim USDF minting rewards
func NewMsgClaimUSDFMintingReward ¶
func NewMsgClaimUSDFMintingReward(sender string, multiplierName string) MsgClaimUSDFMintingReward
NewMsgClaimUSDFMintingReward returns a new MsgClaimUSDFMintingReward.
func (*MsgClaimUSDFMintingReward) Descriptor ¶
func (*MsgClaimUSDFMintingReward) Descriptor() ([]byte, []int)
func (MsgClaimUSDFMintingReward) GetSignBytes ¶
func (msg MsgClaimUSDFMintingReward) GetSignBytes() []byte
GetSignBytes gets the canonical byte representation of the Msg.
func (MsgClaimUSDFMintingReward) GetSigners ¶
func (msg MsgClaimUSDFMintingReward) GetSigners() []sdk.AccAddress
GetSigners returns the addresses of signers that must sign.
func (*MsgClaimUSDFMintingReward) Marshal ¶
func (m *MsgClaimUSDFMintingReward) Marshal() (dAtA []byte, err error)
func (*MsgClaimUSDFMintingReward) MarshalTo ¶
func (m *MsgClaimUSDFMintingReward) MarshalTo(dAtA []byte) (int, error)
func (*MsgClaimUSDFMintingReward) MarshalToSizedBuffer ¶
func (m *MsgClaimUSDFMintingReward) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimUSDFMintingReward) ProtoMessage ¶
func (*MsgClaimUSDFMintingReward) ProtoMessage()
func (*MsgClaimUSDFMintingReward) Reset ¶
func (m *MsgClaimUSDFMintingReward) Reset()
func (MsgClaimUSDFMintingReward) Route ¶
func (msg MsgClaimUSDFMintingReward) Route() string
Route return the message type used for routing the message.
func (*MsgClaimUSDFMintingReward) Size ¶
func (m *MsgClaimUSDFMintingReward) Size() (n int)
func (*MsgClaimUSDFMintingReward) String ¶
func (m *MsgClaimUSDFMintingReward) String() string
func (MsgClaimUSDFMintingReward) Type ¶
func (msg MsgClaimUSDFMintingReward) Type() string
Type returns a human-readable string for the message, intended for utilization within tags.
func (*MsgClaimUSDFMintingReward) Unmarshal ¶
func (m *MsgClaimUSDFMintingReward) Unmarshal(dAtA []byte) error
func (MsgClaimUSDFMintingReward) ValidateBasic ¶
func (msg MsgClaimUSDFMintingReward) ValidateBasic() error
ValidateBasic does a simple validation check that doesn't require access to state.
func (*MsgClaimUSDFMintingReward) XXX_DiscardUnknown ¶
func (m *MsgClaimUSDFMintingReward) XXX_DiscardUnknown()
func (*MsgClaimUSDFMintingReward) XXX_Marshal ¶
func (m *MsgClaimUSDFMintingReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimUSDFMintingReward) XXX_Merge ¶
func (m *MsgClaimUSDFMintingReward) XXX_Merge(src proto.Message)
func (*MsgClaimUSDFMintingReward) XXX_Size ¶
func (m *MsgClaimUSDFMintingReward) XXX_Size() int
func (*MsgClaimUSDFMintingReward) XXX_Unmarshal ¶
func (m *MsgClaimUSDFMintingReward) XXX_Unmarshal(b []byte) error
type MsgClaimUSDFMintingRewardResponse ¶
type MsgClaimUSDFMintingRewardResponse struct { }
MsgClaimUSDFMintingRewardResponse defines the Msg/ClaimUSDFMintingReward response type.
func (*MsgClaimUSDFMintingRewardResponse) Descriptor ¶
func (*MsgClaimUSDFMintingRewardResponse) Descriptor() ([]byte, []int)
func (*MsgClaimUSDFMintingRewardResponse) Marshal ¶
func (m *MsgClaimUSDFMintingRewardResponse) Marshal() (dAtA []byte, err error)
func (*MsgClaimUSDFMintingRewardResponse) MarshalTo ¶
func (m *MsgClaimUSDFMintingRewardResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgClaimUSDFMintingRewardResponse) MarshalToSizedBuffer ¶
func (m *MsgClaimUSDFMintingRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimUSDFMintingRewardResponse) ProtoMessage ¶
func (*MsgClaimUSDFMintingRewardResponse) ProtoMessage()
func (*MsgClaimUSDFMintingRewardResponse) Reset ¶
func (m *MsgClaimUSDFMintingRewardResponse) Reset()
func (*MsgClaimUSDFMintingRewardResponse) Size ¶
func (m *MsgClaimUSDFMintingRewardResponse) Size() (n int)
func (*MsgClaimUSDFMintingRewardResponse) String ¶
func (m *MsgClaimUSDFMintingRewardResponse) String() string
func (*MsgClaimUSDFMintingRewardResponse) Unmarshal ¶
func (m *MsgClaimUSDFMintingRewardResponse) Unmarshal(dAtA []byte) error
func (*MsgClaimUSDFMintingRewardResponse) XXX_DiscardUnknown ¶
func (m *MsgClaimUSDFMintingRewardResponse) XXX_DiscardUnknown()
func (*MsgClaimUSDFMintingRewardResponse) XXX_Marshal ¶
func (m *MsgClaimUSDFMintingRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimUSDFMintingRewardResponse) XXX_Merge ¶
func (m *MsgClaimUSDFMintingRewardResponse) XXX_Merge(src proto.Message)
func (*MsgClaimUSDFMintingRewardResponse) XXX_Size ¶
func (m *MsgClaimUSDFMintingRewardResponse) XXX_Size() int
func (*MsgClaimUSDFMintingRewardResponse) XXX_Unmarshal ¶
func (m *MsgClaimUSDFMintingRewardResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // ClaimUSDFMintingReward is a message type used to claim USDF minting rewards ClaimUSDFMintingReward(ctx context.Context, in *MsgClaimUSDFMintingReward, opts ...grpc.CallOption) (*MsgClaimUSDFMintingRewardResponse, error) // ClaimJinxReward is a message type used to claim Jinx liquidity provider rewards ClaimJinxReward(ctx context.Context, in *MsgClaimJinxReward, opts ...grpc.CallOption) (*MsgClaimJinxRewardResponse, error) // ClaimDelegatorReward is a message type used to claim delegator rewards ClaimDelegatorReward(ctx context.Context, in *MsgClaimDelegatorReward, opts ...grpc.CallOption) (*MsgClaimDelegatorRewardResponse, error) // ClaimSwapReward is a message type used to claim swap rewards ClaimSwapReward(ctx context.Context, in *MsgClaimSwapReward, opts ...grpc.CallOption) (*MsgClaimSwapRewardResponse, error) // ClaimSavingsReward is a message type used to claim savings rewards ClaimSavingsReward(ctx context.Context, in *MsgClaimSavingsReward, opts ...grpc.CallOption) (*MsgClaimSavingsRewardResponse, error) // ClaimEarnReward is a message type used to claim earn rewards ClaimEarnReward(ctx context.Context, in *MsgClaimEarnReward, opts ...grpc.CallOption) (*MsgClaimEarnRewardResponse, 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 MsgServer ¶
type MsgServer interface { // ClaimUSDFMintingReward is a message type used to claim USDF minting rewards ClaimUSDFMintingReward(context.Context, *MsgClaimUSDFMintingReward) (*MsgClaimUSDFMintingRewardResponse, error) // ClaimJinxReward is a message type used to claim Jinx liquidity provider rewards ClaimJinxReward(context.Context, *MsgClaimJinxReward) (*MsgClaimJinxRewardResponse, error) // ClaimDelegatorReward is a message type used to claim delegator rewards ClaimDelegatorReward(context.Context, *MsgClaimDelegatorReward) (*MsgClaimDelegatorRewardResponse, error) // ClaimSwapReward is a message type used to claim swap rewards ClaimSwapReward(context.Context, *MsgClaimSwapReward) (*MsgClaimSwapRewardResponse, error) // ClaimSavingsReward is a message type used to claim savings rewards ClaimSavingsReward(context.Context, *MsgClaimSavingsReward) (*MsgClaimSavingsRewardResponse, error) // ClaimEarnReward is a message type used to claim earn rewards ClaimEarnReward(context.Context, *MsgClaimEarnReward) (*MsgClaimEarnRewardResponse, error) }
MsgServer is the server API for Msg service.
type MultiRewardIndex ¶
type MultiRewardIndex struct { CollateralType string `protobuf:"bytes,1,opt,name=collateral_type,json=collateralType,proto3" json:"collateral_type,omitempty"` RewardIndexes RewardIndexes `protobuf:"bytes,2,rep,name=reward_indexes,json=rewardIndexes,proto3,castrepeated=RewardIndexes" json:"reward_indexes"` }
MultiRewardIndex stores reward accumulation information on multiple reward types
func NewMultiRewardIndex ¶
func NewMultiRewardIndex(collateralType string, indexes RewardIndexes) MultiRewardIndex
NewMultiRewardIndex returns a new MultiRewardIndex
func (*MultiRewardIndex) Descriptor ¶
func (*MultiRewardIndex) Descriptor() ([]byte, []int)
func (MultiRewardIndex) GetFactorIndex ¶
func (mri MultiRewardIndex) GetFactorIndex(denom string) (int, bool)
GetFactorIndex gets the index of a specific reward index inside the array by its index
func (*MultiRewardIndex) Marshal ¶
func (m *MultiRewardIndex) Marshal() (dAtA []byte, err error)
func (*MultiRewardIndex) MarshalToSizedBuffer ¶
func (m *MultiRewardIndex) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MultiRewardIndex) ProtoMessage ¶
func (*MultiRewardIndex) ProtoMessage()
func (*MultiRewardIndex) Reset ¶
func (m *MultiRewardIndex) Reset()
func (*MultiRewardIndex) Size ¶
func (m *MultiRewardIndex) Size() (n int)
func (*MultiRewardIndex) String ¶
func (m *MultiRewardIndex) String() string
func (*MultiRewardIndex) Unmarshal ¶
func (m *MultiRewardIndex) Unmarshal(dAtA []byte) error
func (MultiRewardIndex) Validate ¶
func (mri MultiRewardIndex) Validate() error
Validate validates multi-reward index
func (*MultiRewardIndex) XXX_DiscardUnknown ¶
func (m *MultiRewardIndex) XXX_DiscardUnknown()
func (*MultiRewardIndex) XXX_Marshal ¶
func (m *MultiRewardIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MultiRewardIndex) XXX_Merge ¶
func (m *MultiRewardIndex) XXX_Merge(src proto.Message)
func (*MultiRewardIndex) XXX_Size ¶
func (m *MultiRewardIndex) XXX_Size() int
func (*MultiRewardIndex) XXX_Unmarshal ¶
func (m *MultiRewardIndex) XXX_Unmarshal(b []byte) error
type MultiRewardIndexes ¶
type MultiRewardIndexes []MultiRewardIndex
MultiRewardIndexes slice of MultiRewardIndex
func (MultiRewardIndexes) Get ¶
func (mris MultiRewardIndexes) Get(denom string) (RewardIndexes, bool)
Get fetches a RewardIndexes by it's denom
func (MultiRewardIndexes) GetCollateralTypes ¶
func (mris MultiRewardIndexes) GetCollateralTypes() []string
GetCollateralTypes returns a slice of containing all collateral types
func (MultiRewardIndexes) GetRewardIndex ¶
func (mris MultiRewardIndexes) GetRewardIndex(denom string) (MultiRewardIndex, bool)
GetRewardIndex fetches a RewardIndex from a MultiRewardIndex by its denom
func (MultiRewardIndexes) GetRewardIndexIndex ¶
func (mris MultiRewardIndexes) GetRewardIndexIndex(denom string) (int, bool)
GetRewardIndexIndex fetches a specific reward index inside the array by its denom
func (MultiRewardIndexes) RemoveRewardIndex ¶
func (mris MultiRewardIndexes) RemoveRewardIndex(denom string) MultiRewardIndexes
RemoveRewardIndex removes a denom's reward interest factor value
func (MultiRewardIndexes) Validate ¶
func (mris MultiRewardIndexes) Validate() error
Validate validation for reward indexes
func (MultiRewardIndexes) With ¶
func (mris MultiRewardIndexes) With(denom string, indexes RewardIndexes) MultiRewardIndexes
With returns a copy of the indexes with a new RewardIndexes added
type MultiRewardIndexesProto ¶
type MultiRewardIndexesProto struct {
MultiRewardIndexes MultiRewardIndexes `` /* 139-byte string literal not displayed */
}
MultiRewardIndexesProto defines a Protobuf wrapper around a MultiRewardIndexes slice
func (*MultiRewardIndexesProto) Descriptor ¶
func (*MultiRewardIndexesProto) Descriptor() ([]byte, []int)
func (*MultiRewardIndexesProto) Marshal ¶
func (m *MultiRewardIndexesProto) Marshal() (dAtA []byte, err error)
func (*MultiRewardIndexesProto) MarshalTo ¶
func (m *MultiRewardIndexesProto) MarshalTo(dAtA []byte) (int, error)
func (*MultiRewardIndexesProto) MarshalToSizedBuffer ¶
func (m *MultiRewardIndexesProto) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MultiRewardIndexesProto) ProtoMessage ¶
func (*MultiRewardIndexesProto) ProtoMessage()
func (*MultiRewardIndexesProto) Reset ¶
func (m *MultiRewardIndexesProto) Reset()
func (*MultiRewardIndexesProto) Size ¶
func (m *MultiRewardIndexesProto) Size() (n int)
func (*MultiRewardIndexesProto) String ¶
func (m *MultiRewardIndexesProto) String() string
func (*MultiRewardIndexesProto) Unmarshal ¶
func (m *MultiRewardIndexesProto) Unmarshal(dAtA []byte) error
func (*MultiRewardIndexesProto) XXX_DiscardUnknown ¶
func (m *MultiRewardIndexesProto) XXX_DiscardUnknown()
func (*MultiRewardIndexesProto) XXX_Marshal ¶
func (m *MultiRewardIndexesProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MultiRewardIndexesProto) XXX_Merge ¶
func (m *MultiRewardIndexesProto) XXX_Merge(src proto.Message)
func (*MultiRewardIndexesProto) XXX_Size ¶
func (m *MultiRewardIndexesProto) XXX_Size() int
func (*MultiRewardIndexesProto) XXX_Unmarshal ¶
func (m *MultiRewardIndexesProto) XXX_Unmarshal(b []byte) error
type MultiRewardPeriod ¶
type MultiRewardPeriod struct { Active bool `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"` CollateralType string `protobuf:"bytes,2,opt,name=collateral_type,json=collateralType,proto3" json:"collateral_type,omitempty"` Start time.Time `protobuf:"bytes,3,opt,name=start,proto3,stdtime" json:"start"` End time.Time `protobuf:"bytes,4,opt,name=end,proto3,stdtime" json:"end"` RewardsPerSecond github_com_cosmos_cosmos_sdk_types.Coins `` /* 155-byte string literal not displayed */ }
MultiRewardPeriod supports multiple reward types
func NewMultiRewardPeriod ¶
func NewMultiRewardPeriod(active bool, collateralType string, start time.Time, end time.Time, reward sdk.Coins) MultiRewardPeriod
NewMultiRewardPeriod returns a new MultiRewardPeriod
func NewMultiRewardPeriodFromRewardPeriod ¶
func NewMultiRewardPeriodFromRewardPeriod(period RewardPeriod) MultiRewardPeriod
NewMultiRewardPeriodFromRewardPeriod converts a RewardPeriod into a MultiRewardPeriod. It's useful for compatibility between single and multi denom rewards.
func (*MultiRewardPeriod) Descriptor ¶
func (*MultiRewardPeriod) Descriptor() ([]byte, []int)
func (*MultiRewardPeriod) Marshal ¶
func (m *MultiRewardPeriod) Marshal() (dAtA []byte, err error)
func (*MultiRewardPeriod) MarshalTo ¶
func (m *MultiRewardPeriod) MarshalTo(dAtA []byte) (int, error)
func (*MultiRewardPeriod) MarshalToSizedBuffer ¶
func (m *MultiRewardPeriod) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MultiRewardPeriod) ProtoMessage ¶
func (*MultiRewardPeriod) ProtoMessage()
func (*MultiRewardPeriod) Reset ¶
func (m *MultiRewardPeriod) Reset()
func (*MultiRewardPeriod) Size ¶
func (m *MultiRewardPeriod) Size() (n int)
func (*MultiRewardPeriod) String ¶
func (m *MultiRewardPeriod) String() string
func (*MultiRewardPeriod) Unmarshal ¶
func (m *MultiRewardPeriod) Unmarshal(dAtA []byte) error
func (MultiRewardPeriod) Validate ¶
func (mrp MultiRewardPeriod) Validate() error
Validate performs a basic check of a MultiRewardPeriod.
func (*MultiRewardPeriod) XXX_DiscardUnknown ¶
func (m *MultiRewardPeriod) XXX_DiscardUnknown()
func (*MultiRewardPeriod) XXX_Marshal ¶
func (m *MultiRewardPeriod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MultiRewardPeriod) XXX_Merge ¶
func (m *MultiRewardPeriod) XXX_Merge(src proto.Message)
func (*MultiRewardPeriod) XXX_Size ¶
func (m *MultiRewardPeriod) XXX_Size() int
func (*MultiRewardPeriod) XXX_Unmarshal ¶
func (m *MultiRewardPeriod) XXX_Unmarshal(b []byte) error
type MultiRewardPeriods ¶
type MultiRewardPeriods []MultiRewardPeriod
MultiRewardPeriods array of MultiRewardPeriod
func (MultiRewardPeriods) GetMultiRewardPeriod ¶
func (mrps MultiRewardPeriods) GetMultiRewardPeriod(denom string) (MultiRewardPeriod, bool)
GetMultiRewardPeriod fetches a MultiRewardPeriod from an array of MultiRewardPeriods by its denom
func (MultiRewardPeriods) GetMultiRewardPeriodIndex ¶
func (mrps MultiRewardPeriods) GetMultiRewardPeriodIndex(denom string) (int, bool)
GetMultiRewardPeriodIndex returns the index of a MultiRewardPeriod inside array MultiRewardPeriods
func (MultiRewardPeriods) Validate ¶
func (mrps MultiRewardPeriods) Validate() error
Validate checks if all the RewardPeriods are valid and there are no duplicated entries.
type Multiplier ¶
type Multiplier struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` MonthsLockup int64 `protobuf:"varint,2,opt,name=months_lockup,json=monthsLockup,proto3" json:"months_lockup,omitempty"` Factor github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=factor,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"factor"` }
Multiplier amount the claim rewards get increased by, along with how long the claim rewards are locked
func NewMultiplier ¶
func NewMultiplier(name string, lockup int64, factor sdk.Dec) Multiplier
NewMultiplier returns a new Multiplier
func (*Multiplier) Descriptor ¶
func (*Multiplier) Descriptor() ([]byte, []int)
func (*Multiplier) Marshal ¶
func (m *Multiplier) Marshal() (dAtA []byte, err error)
func (*Multiplier) MarshalToSizedBuffer ¶
func (m *Multiplier) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Multiplier) ProtoMessage ¶
func (*Multiplier) ProtoMessage()
func (*Multiplier) Reset ¶
func (m *Multiplier) Reset()
func (*Multiplier) Size ¶
func (m *Multiplier) Size() (n int)
func (*Multiplier) String ¶
func (m *Multiplier) String() string
func (*Multiplier) Unmarshal ¶
func (m *Multiplier) Unmarshal(dAtA []byte) error
func (*Multiplier) XXX_DiscardUnknown ¶
func (m *Multiplier) XXX_DiscardUnknown()
func (*Multiplier) XXX_Marshal ¶
func (m *Multiplier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Multiplier) XXX_Merge ¶
func (m *Multiplier) XXX_Merge(src proto.Message)
func (*Multiplier) XXX_Size ¶
func (m *Multiplier) XXX_Size() int
func (*Multiplier) XXX_Unmarshal ¶
func (m *Multiplier) XXX_Unmarshal(b []byte) error
type Multipliers ¶
type Multipliers []Multiplier
Multipliers is a slice of Multiplier
func (Multipliers) Get ¶
func (ms Multipliers) Get(name string) (Multiplier, bool)
Get returns a multiplier with a matching name
func (Multipliers) Validate ¶
func (ms Multipliers) Validate() error
Validate validates each multiplier
type MultipliersPerDenom ¶
type MultipliersPerDenom struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` Multipliers Multipliers `protobuf:"bytes,2,rep,name=multipliers,proto3,castrepeated=Multipliers" json:"multipliers"` }
MultipliersPerDenom is a map of denoms to a set of multipliers
func (*MultipliersPerDenom) Descriptor ¶
func (*MultipliersPerDenom) Descriptor() ([]byte, []int)
func (*MultipliersPerDenom) Marshal ¶
func (m *MultipliersPerDenom) Marshal() (dAtA []byte, err error)
func (*MultipliersPerDenom) MarshalTo ¶
func (m *MultipliersPerDenom) MarshalTo(dAtA []byte) (int, error)
func (*MultipliersPerDenom) MarshalToSizedBuffer ¶
func (m *MultipliersPerDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MultipliersPerDenom) ProtoMessage ¶
func (*MultipliersPerDenom) ProtoMessage()
func (*MultipliersPerDenom) Reset ¶
func (m *MultipliersPerDenom) Reset()
func (*MultipliersPerDenom) Size ¶
func (m *MultipliersPerDenom) Size() (n int)
func (*MultipliersPerDenom) String ¶
func (m *MultipliersPerDenom) String() string
func (*MultipliersPerDenom) Unmarshal ¶
func (m *MultipliersPerDenom) Unmarshal(dAtA []byte) error
func (*MultipliersPerDenom) XXX_DiscardUnknown ¶
func (m *MultipliersPerDenom) XXX_DiscardUnknown()
func (*MultipliersPerDenom) XXX_Marshal ¶
func (m *MultipliersPerDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MultipliersPerDenom) XXX_Merge ¶
func (m *MultipliersPerDenom) XXX_Merge(src proto.Message)
func (*MultipliersPerDenom) XXX_Size ¶
func (m *MultipliersPerDenom) XXX_Size() int
func (*MultipliersPerDenom) XXX_Unmarshal ¶
func (m *MultipliersPerDenom) XXX_Unmarshal(b []byte) error
type MultipliersPerDenoms ¶
type MultipliersPerDenoms []MultipliersPerDenom
MultipliersPerDenoms is a slice of MultipliersPerDenom
func (MultipliersPerDenoms) Validate ¶
func (mpd MultipliersPerDenoms) Validate() error
Validate checks each denom and multipliers for invalid values.
type ParamSubspace ¶
type ParamSubspace interface { GetParamSet(sdk.Context, paramtypes.ParamSet) SetParamSet(sdk.Context, paramtypes.ParamSet) WithKeyTable(paramtypes.KeyTable) paramtypes.Subspace HasKeyTable() bool }
ParamSubspace defines the expected Subspace interfacace
type Params ¶
type Params struct { USDFMintingRewardPeriods RewardPeriods `` /* 154-byte string literal not displayed */ JinxSupplyRewardPeriods MultiRewardPeriods `` /* 156-byte string literal not displayed */ JinxBorrowRewardPeriods MultiRewardPeriods `` /* 156-byte string literal not displayed */ DelegatorRewardPeriods MultiRewardPeriods `` /* 151-byte string literal not displayed */ SwapRewardPeriods MultiRewardPeriods `` /* 136-byte string literal not displayed */ ClaimMultipliers MultipliersPerDenoms `` /* 133-byte string literal not displayed */ ClaimEnd time.Time `protobuf:"bytes,7,opt,name=claim_end,json=claimEnd,proto3,stdtime" json:"claim_end"` SavingsRewardPeriods MultiRewardPeriods `` /* 145-byte string literal not displayed */ EarnRewardPeriods MultiRewardPeriods `` /* 136-byte string literal not displayed */ }
Params
func DefaultParams ¶
func DefaultParams() Params
DefaultParams returns default params for incentive module
func NewParams ¶
func NewParams( usdfMinting RewardPeriods, jinxSupply, jinxBorrow, delegator, swap, savings, earn MultiRewardPeriods, multipliers MultipliersPerDenoms, claimEnd time.Time, ) Params
NewParams returns a new params object
func (*Params) Descriptor ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs implements the ParamSet interface and returns all the key/value pairs
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type PricefeedKeeper ¶
type PricefeedKeeper interface {
GetCurrentPrice(ctx sdk.Context, marketID string) (pricefeedtypes.CurrentPrice, error)
}
PricefeedKeeper defines the required methods needed by this modules keeper
type QueryApyRequest ¶
type QueryApyRequest struct { }
QueryApysRequest is the request type for the Query/Apys RPC method.
func (*QueryApyRequest) Descriptor ¶
func (*QueryApyRequest) Descriptor() ([]byte, []int)
func (*QueryApyRequest) Marshal ¶
func (m *QueryApyRequest) Marshal() (dAtA []byte, err error)
func (*QueryApyRequest) MarshalToSizedBuffer ¶
func (m *QueryApyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryApyRequest) ProtoMessage ¶
func (*QueryApyRequest) ProtoMessage()
func (*QueryApyRequest) Reset ¶
func (m *QueryApyRequest) Reset()
func (*QueryApyRequest) Size ¶
func (m *QueryApyRequest) Size() (n int)
func (*QueryApyRequest) String ¶
func (m *QueryApyRequest) String() string
func (*QueryApyRequest) Unmarshal ¶
func (m *QueryApyRequest) Unmarshal(dAtA []byte) error
func (*QueryApyRequest) XXX_DiscardUnknown ¶
func (m *QueryApyRequest) XXX_DiscardUnknown()
func (*QueryApyRequest) XXX_Marshal ¶
func (m *QueryApyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryApyRequest) XXX_Merge ¶
func (m *QueryApyRequest) XXX_Merge(src proto.Message)
func (*QueryApyRequest) XXX_Size ¶
func (m *QueryApyRequest) XXX_Size() int
func (*QueryApyRequest) XXX_Unmarshal ¶
func (m *QueryApyRequest) XXX_Unmarshal(b []byte) error
type QueryApyResponse ¶
type QueryApyResponse struct {
Earn []Apy `protobuf:"bytes,1,rep,name=earn,proto3" json:"earn"`
}
QueryApysResponse is the response type for the Query/Apys RPC method.
func (*QueryApyResponse) Descriptor ¶
func (*QueryApyResponse) Descriptor() ([]byte, []int)
func (*QueryApyResponse) GetEarn ¶
func (m *QueryApyResponse) GetEarn() []Apy
func (*QueryApyResponse) Marshal ¶
func (m *QueryApyResponse) Marshal() (dAtA []byte, err error)
func (*QueryApyResponse) MarshalToSizedBuffer ¶
func (m *QueryApyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryApyResponse) ProtoMessage ¶
func (*QueryApyResponse) ProtoMessage()
func (*QueryApyResponse) Reset ¶
func (m *QueryApyResponse) Reset()
func (*QueryApyResponse) Size ¶
func (m *QueryApyResponse) Size() (n int)
func (*QueryApyResponse) String ¶
func (m *QueryApyResponse) String() string
func (*QueryApyResponse) Unmarshal ¶
func (m *QueryApyResponse) Unmarshal(dAtA []byte) error
func (*QueryApyResponse) XXX_DiscardUnknown ¶
func (m *QueryApyResponse) XXX_DiscardUnknown()
func (*QueryApyResponse) XXX_Marshal ¶
func (m *QueryApyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryApyResponse) XXX_Merge ¶
func (m *QueryApyResponse) XXX_Merge(src proto.Message)
func (*QueryApyResponse) XXX_Size ¶
func (m *QueryApyResponse) XXX_Size() int
func (*QueryApyResponse) XXX_Unmarshal ¶
func (m *QueryApyResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Params queries module params. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Rewards queries reward information for a given user. Rewards(ctx context.Context, in *QueryRewardsRequest, opts ...grpc.CallOption) (*QueryRewardsResponse, error) // Rewards queries the reward factors. RewardFactors(ctx context.Context, in *QueryRewardFactorsRequest, opts ...grpc.CallOption) (*QueryRewardFactorsResponse, error) // Apy queries incentive reward apy for a reward. Apy(ctx context.Context, in *QueryApyRequest, opts ...grpc.CallOption) (*QueryApyResponse, 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 QueryGetAPYsResponse ¶
type QueryGetAPYsResponse struct {
Earn []Apy `json:"earn" yaml:"earn"`
}
QueryGetAPYsResponse holds the response to a APY query
func NewQueryGetAPYsResponse ¶
func NewQueryGetAPYsResponse(earn []Apy) QueryGetAPYsResponse
NewQueryGetAPYsResponse returns a new instance of QueryGetAPYsResponse
type QueryGetRewardFactorsResponse ¶
type QueryGetRewardFactorsResponse struct { USDFMintingRewardFactors RewardIndexes `json:"usdf_minting_reward_factors" yaml:"usdf_minting_reward_factors"` JinxSupplyRewardFactors MultiRewardIndexes `json:"jinx_supply_reward_factors" yaml:"jinx_supply_reward_factors"` JinxBorrowRewardFactors MultiRewardIndexes `json:"jinx_borrow_reward_factors" yaml:"jinx_borrow_reward_factors"` DelegatorRewardFactors MultiRewardIndexes `json:"delegator_reward_factors" yaml:"delegator_reward_factors"` SwapRewardFactors MultiRewardIndexes `json:"swap_reward_factors" yaml:"swap_reward_factors"` SavingsRewardFactors MultiRewardIndexes `json:"savings_reward_factors" yaml:"savings_reward_factors"` EarnRewardFactors MultiRewardIndexes `json:"earn_reward_factors" yaml:"earn_reward_factors"` }
QueryGetRewardFactorsResponse holds the response to a reward factor query
func NewQueryGetRewardFactorsResponse ¶
func NewQueryGetRewardFactorsResponse(usdfMintingFactors RewardIndexes, supplyFactors, jinxBorrowFactors, delegatorFactors, swapFactors, savingsFactors, earnFactors MultiRewardIndexes, ) QueryGetRewardFactorsResponse
NewQueryGetRewardFactorsResponse returns a new instance of QueryAllRewardFactorsResponse
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is the request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
QueryParamsResponse is the response type for the Query/Params RPC method.
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 QueryRewardFactorsRequest ¶
type QueryRewardFactorsRequest struct { }
QueryRewardFactorsRequest is the request type for the Query/RewardFactors RPC method.
func (*QueryRewardFactorsRequest) Descriptor ¶
func (*QueryRewardFactorsRequest) Descriptor() ([]byte, []int)
func (*QueryRewardFactorsRequest) Marshal ¶
func (m *QueryRewardFactorsRequest) Marshal() (dAtA []byte, err error)
func (*QueryRewardFactorsRequest) MarshalTo ¶
func (m *QueryRewardFactorsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryRewardFactorsRequest) MarshalToSizedBuffer ¶
func (m *QueryRewardFactorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRewardFactorsRequest) ProtoMessage ¶
func (*QueryRewardFactorsRequest) ProtoMessage()
func (*QueryRewardFactorsRequest) Reset ¶
func (m *QueryRewardFactorsRequest) Reset()
func (*QueryRewardFactorsRequest) Size ¶
func (m *QueryRewardFactorsRequest) Size() (n int)
func (*QueryRewardFactorsRequest) String ¶
func (m *QueryRewardFactorsRequest) String() string
func (*QueryRewardFactorsRequest) Unmarshal ¶
func (m *QueryRewardFactorsRequest) Unmarshal(dAtA []byte) error
func (*QueryRewardFactorsRequest) XXX_DiscardUnknown ¶
func (m *QueryRewardFactorsRequest) XXX_DiscardUnknown()
func (*QueryRewardFactorsRequest) XXX_Marshal ¶
func (m *QueryRewardFactorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRewardFactorsRequest) XXX_Merge ¶
func (m *QueryRewardFactorsRequest) XXX_Merge(src proto.Message)
func (*QueryRewardFactorsRequest) XXX_Size ¶
func (m *QueryRewardFactorsRequest) XXX_Size() int
func (*QueryRewardFactorsRequest) XXX_Unmarshal ¶
func (m *QueryRewardFactorsRequest) XXX_Unmarshal(b []byte) error
type QueryRewardFactorsResponse ¶
type QueryRewardFactorsResponse struct { UsdfMintingRewardFactors RewardIndexes `` /* 154-byte string literal not displayed */ JinxSupplyRewardFactors MultiRewardIndexes `` /* 156-byte string literal not displayed */ JinxBorrowRewardFactors MultiRewardIndexes `` /* 156-byte string literal not displayed */ DelegatorRewardFactors MultiRewardIndexes `` /* 151-byte string literal not displayed */ SwapRewardFactors MultiRewardIndexes `` /* 136-byte string literal not displayed */ SavingsRewardFactors MultiRewardIndexes `` /* 145-byte string literal not displayed */ EarnRewardFactors MultiRewardIndexes `` /* 136-byte string literal not displayed */ }
QueryRewardFactorsResponse is the response type for the Query/RewardFactors RPC method.
func (*QueryRewardFactorsResponse) Descriptor ¶
func (*QueryRewardFactorsResponse) Descriptor() ([]byte, []int)
func (*QueryRewardFactorsResponse) GetDelegatorRewardFactors ¶
func (m *QueryRewardFactorsResponse) GetDelegatorRewardFactors() MultiRewardIndexes
func (*QueryRewardFactorsResponse) GetEarnRewardFactors ¶
func (m *QueryRewardFactorsResponse) GetEarnRewardFactors() MultiRewardIndexes
func (*QueryRewardFactorsResponse) GetJinxBorrowRewardFactors ¶
func (m *QueryRewardFactorsResponse) GetJinxBorrowRewardFactors() MultiRewardIndexes
func (*QueryRewardFactorsResponse) GetJinxSupplyRewardFactors ¶
func (m *QueryRewardFactorsResponse) GetJinxSupplyRewardFactors() MultiRewardIndexes
func (*QueryRewardFactorsResponse) GetSavingsRewardFactors ¶
func (m *QueryRewardFactorsResponse) GetSavingsRewardFactors() MultiRewardIndexes
func (*QueryRewardFactorsResponse) GetSwapRewardFactors ¶
func (m *QueryRewardFactorsResponse) GetSwapRewardFactors() MultiRewardIndexes
func (*QueryRewardFactorsResponse) GetUsdfMintingRewardFactors ¶
func (m *QueryRewardFactorsResponse) GetUsdfMintingRewardFactors() RewardIndexes
func (*QueryRewardFactorsResponse) Marshal ¶
func (m *QueryRewardFactorsResponse) Marshal() (dAtA []byte, err error)
func (*QueryRewardFactorsResponse) MarshalTo ¶
func (m *QueryRewardFactorsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryRewardFactorsResponse) MarshalToSizedBuffer ¶
func (m *QueryRewardFactorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRewardFactorsResponse) ProtoMessage ¶
func (*QueryRewardFactorsResponse) ProtoMessage()
func (*QueryRewardFactorsResponse) Reset ¶
func (m *QueryRewardFactorsResponse) Reset()
func (*QueryRewardFactorsResponse) Size ¶
func (m *QueryRewardFactorsResponse) Size() (n int)
func (*QueryRewardFactorsResponse) String ¶
func (m *QueryRewardFactorsResponse) String() string
func (*QueryRewardFactorsResponse) Unmarshal ¶
func (m *QueryRewardFactorsResponse) Unmarshal(dAtA []byte) error
func (*QueryRewardFactorsResponse) XXX_DiscardUnknown ¶
func (m *QueryRewardFactorsResponse) XXX_DiscardUnknown()
func (*QueryRewardFactorsResponse) XXX_Marshal ¶
func (m *QueryRewardFactorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRewardFactorsResponse) XXX_Merge ¶
func (m *QueryRewardFactorsResponse) XXX_Merge(src proto.Message)
func (*QueryRewardFactorsResponse) XXX_Size ¶
func (m *QueryRewardFactorsResponse) XXX_Size() int
func (*QueryRewardFactorsResponse) XXX_Unmarshal ¶
func (m *QueryRewardFactorsResponse) XXX_Unmarshal(b []byte) error
type QueryRewardsParams ¶
type QueryRewardsParams struct { Page int `json:"page" yaml:"page"` Limit int `json:"limit" yaml:"limit"` Owner sdk.AccAddress `json:"owner" yaml:"owner"` Unsynchronized bool `json:"unsynchronized" yaml:"unsynchronized"` }
QueryRewardsParams params for query /incentive/rewards/<claim type>
func NewQueryRewardsParams ¶
func NewQueryRewardsParams(page, limit int, owner sdk.AccAddress, unsynchronized bool) QueryRewardsParams
NewQueryRewardsParams returns QueryRewardsParams
type QueryRewardsRequest ¶
type QueryRewardsRequest struct { // owner is the address of the user to query rewards for. Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // reward_type is the type of reward to query rewards for, e.g. jinx, earn, // swap. RewardType string `protobuf:"bytes,2,opt,name=reward_type,json=rewardType,proto3" json:"reward_type,omitempty"` // unsynchronized is a flag to query rewards that are not simulated for reward // synchronized for the current block. Unsynchronized bool `protobuf:"varint,3,opt,name=unsynchronized,proto3" json:"unsynchronized,omitempty"` }
QueryRewardsRequest is the request type for the Query/Rewards RPC method.
func (*QueryRewardsRequest) Descriptor ¶
func (*QueryRewardsRequest) Descriptor() ([]byte, []int)
func (*QueryRewardsRequest) GetOwner ¶
func (m *QueryRewardsRequest) GetOwner() string
func (*QueryRewardsRequest) GetRewardType ¶
func (m *QueryRewardsRequest) GetRewardType() string
func (*QueryRewardsRequest) GetUnsynchronized ¶
func (m *QueryRewardsRequest) GetUnsynchronized() bool
func (*QueryRewardsRequest) Marshal ¶
func (m *QueryRewardsRequest) Marshal() (dAtA []byte, err error)
func (*QueryRewardsRequest) MarshalTo ¶
func (m *QueryRewardsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryRewardsRequest) MarshalToSizedBuffer ¶
func (m *QueryRewardsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRewardsRequest) ProtoMessage ¶
func (*QueryRewardsRequest) ProtoMessage()
func (*QueryRewardsRequest) Reset ¶
func (m *QueryRewardsRequest) Reset()
func (*QueryRewardsRequest) Size ¶
func (m *QueryRewardsRequest) Size() (n int)
func (*QueryRewardsRequest) String ¶
func (m *QueryRewardsRequest) String() string
func (*QueryRewardsRequest) Unmarshal ¶
func (m *QueryRewardsRequest) Unmarshal(dAtA []byte) error
func (*QueryRewardsRequest) XXX_DiscardUnknown ¶
func (m *QueryRewardsRequest) XXX_DiscardUnknown()
func (*QueryRewardsRequest) XXX_Marshal ¶
func (m *QueryRewardsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRewardsRequest) XXX_Merge ¶
func (m *QueryRewardsRequest) XXX_Merge(src proto.Message)
func (*QueryRewardsRequest) XXX_Size ¶
func (m *QueryRewardsRequest) XXX_Size() int
func (*QueryRewardsRequest) XXX_Unmarshal ¶
func (m *QueryRewardsRequest) XXX_Unmarshal(b []byte) error
type QueryRewardsResponse ¶
type QueryRewardsResponse struct { USDFMintingClaims USDFMintingClaims `` /* 135-byte string literal not displayed */ JinxLiquidityProviderClaims JinxLiquidityProviderClaims `` /* 177-byte string literal not displayed */ DelegatorClaims DelegatorClaims `protobuf:"bytes,3,rep,name=delegator_claims,json=delegatorClaims,proto3,castrepeated=DelegatorClaims" json:"delegator_claims"` SwapClaims SwapClaims `protobuf:"bytes,4,rep,name=swap_claims,json=swapClaims,proto3,castrepeated=SwapClaims" json:"swap_claims"` SavingsClaims SavingsClaims `protobuf:"bytes,5,rep,name=savings_claims,json=savingsClaims,proto3,castrepeated=SavingsClaims" json:"savings_claims"` EarnClaims EarnClaims `protobuf:"bytes,6,rep,name=earn_claims,json=earnClaims,proto3,castrepeated=EarnClaims" json:"earn_claims"` }
QueryRewardsResponse is the response type for the Query/Rewards RPC method.
func (*QueryRewardsResponse) Descriptor ¶
func (*QueryRewardsResponse) Descriptor() ([]byte, []int)
func (*QueryRewardsResponse) GetDelegatorClaims ¶
func (m *QueryRewardsResponse) GetDelegatorClaims() DelegatorClaims
func (*QueryRewardsResponse) GetEarnClaims ¶
func (m *QueryRewardsResponse) GetEarnClaims() EarnClaims
func (*QueryRewardsResponse) GetJinxLiquidityProviderClaims ¶
func (m *QueryRewardsResponse) GetJinxLiquidityProviderClaims() JinxLiquidityProviderClaims
func (*QueryRewardsResponse) GetSavingsClaims ¶
func (m *QueryRewardsResponse) GetSavingsClaims() SavingsClaims
func (*QueryRewardsResponse) GetSwapClaims ¶
func (m *QueryRewardsResponse) GetSwapClaims() SwapClaims
func (*QueryRewardsResponse) GetUSDFMintingClaims ¶
func (m *QueryRewardsResponse) GetUSDFMintingClaims() USDFMintingClaims
func (*QueryRewardsResponse) Marshal ¶
func (m *QueryRewardsResponse) Marshal() (dAtA []byte, err error)
func (*QueryRewardsResponse) MarshalTo ¶
func (m *QueryRewardsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryRewardsResponse) MarshalToSizedBuffer ¶
func (m *QueryRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRewardsResponse) ProtoMessage ¶
func (*QueryRewardsResponse) ProtoMessage()
func (*QueryRewardsResponse) Reset ¶
func (m *QueryRewardsResponse) Reset()
func (*QueryRewardsResponse) Size ¶
func (m *QueryRewardsResponse) Size() (n int)
func (*QueryRewardsResponse) String ¶
func (m *QueryRewardsResponse) String() string
func (*QueryRewardsResponse) Unmarshal ¶
func (m *QueryRewardsResponse) Unmarshal(dAtA []byte) error
func (*QueryRewardsResponse) XXX_DiscardUnknown ¶
func (m *QueryRewardsResponse) XXX_DiscardUnknown()
func (*QueryRewardsResponse) XXX_Marshal ¶
func (m *QueryRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRewardsResponse) XXX_Merge ¶
func (m *QueryRewardsResponse) XXX_Merge(src proto.Message)
func (*QueryRewardsResponse) XXX_Size ¶
func (m *QueryRewardsResponse) XXX_Size() int
func (*QueryRewardsResponse) XXX_Unmarshal ¶
func (m *QueryRewardsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Params queries module params. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Rewards queries reward information for a given user. Rewards(context.Context, *QueryRewardsRequest) (*QueryRewardsResponse, error) // Rewards queries the reward factors. RewardFactors(context.Context, *QueryRewardFactorsRequest) (*QueryRewardFactorsResponse, error) // Apy queries incentive reward apy for a reward. Apy(context.Context, *QueryApyRequest) (*QueryApyResponse, error) }
QueryServer is the server API for Query service.
type RewardIndex ¶
type RewardIndex struct { CollateralType string `protobuf:"bytes,1,opt,name=collateral_type,json=collateralType,proto3" json:"collateral_type,omitempty"` RewardFactor github_com_cosmos_cosmos_sdk_types.Dec `` /* 137-byte string literal not displayed */ }
RewardIndex stores reward accumulation information
func NewRewardIndex ¶
func NewRewardIndex(collateralType string, factor sdk.Dec) RewardIndex
NewRewardIndex returns a new RewardIndex
func (*RewardIndex) Descriptor ¶
func (*RewardIndex) Descriptor() ([]byte, []int)
func (*RewardIndex) Marshal ¶
func (m *RewardIndex) Marshal() (dAtA []byte, err error)
func (*RewardIndex) MarshalToSizedBuffer ¶
func (m *RewardIndex) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RewardIndex) ProtoMessage ¶
func (*RewardIndex) ProtoMessage()
func (*RewardIndex) Reset ¶
func (m *RewardIndex) Reset()
func (*RewardIndex) Size ¶
func (m *RewardIndex) Size() (n int)
func (*RewardIndex) String ¶
func (m *RewardIndex) String() string
func (*RewardIndex) Unmarshal ¶
func (m *RewardIndex) Unmarshal(dAtA []byte) error
func (RewardIndex) Validate ¶
func (ri RewardIndex) Validate() error
Validate validates reward index
func (*RewardIndex) XXX_DiscardUnknown ¶
func (m *RewardIndex) XXX_DiscardUnknown()
func (*RewardIndex) XXX_Marshal ¶
func (m *RewardIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RewardIndex) XXX_Merge ¶
func (m *RewardIndex) XXX_Merge(src proto.Message)
func (*RewardIndex) XXX_Size ¶
func (m *RewardIndex) XXX_Size() int
func (*RewardIndex) XXX_Unmarshal ¶
func (m *RewardIndex) XXX_Unmarshal(b []byte) error
type RewardIndexes ¶
type RewardIndexes []RewardIndex
RewardIndexes slice of RewardIndex
func NewRewardIndexesFromCoins ¶
func NewRewardIndexesFromCoins(coins sdk.DecCoins) RewardIndexes
NewRewardIndexesFromCoins is a helper function to initialize a RewardIndexes slice with the values from a Coins slice.
func (RewardIndexes) Add ¶
func (ris RewardIndexes) Add(addend RewardIndexes) RewardIndexes
Add combines two reward indexes by adding together factors with the same CollateralType. Any CollateralTypes unique to either reward indexes are included in the output as is.
func (RewardIndexes) Get ¶
func (ris RewardIndexes) Get(denom string) (sdk.Dec, bool)
Get fetches a RewardFactor by it's denom
func (RewardIndexes) GetFactorIndex ¶
func (ris RewardIndexes) GetFactorIndex(denom string) (int, bool)
GetFactorIndex gets the index of a specific reward index inside the array by its index
func (RewardIndexes) GetRewardIndex ¶
func (ris RewardIndexes) GetRewardIndex(denom string) (RewardIndex, bool)
GetRewardIndex fetches a RewardIndex by its denom
func (RewardIndexes) Mul ¶
func (ris RewardIndexes) Mul(multiplier sdk.Dec) RewardIndexes
Mul returns a copy of RewardIndexes with all factors multiplied by a single value.
func (RewardIndexes) Quo ¶
func (ris RewardIndexes) Quo(divisor sdk.Dec) RewardIndexes
Quo returns a copy of RewardIndexes with all factors divided by a single value. It uses sdk.Dec.Quo for the division.
func (RewardIndexes) Validate ¶
func (ris RewardIndexes) Validate() error
Validate validation for reward indexes
func (RewardIndexes) With ¶
func (ris RewardIndexes) With(denom string, factor sdk.Dec) RewardIndexes
With returns a copy of the indexes with a new reward factor added
type RewardIndexesProto ¶
type RewardIndexesProto struct {
RewardIndexes RewardIndexes `protobuf:"bytes,1,rep,name=reward_indexes,json=rewardIndexes,proto3,castrepeated=RewardIndexes" json:"reward_indexes"`
}
RewardIndexesProto defines a Protobuf wrapper around a RewardIndexes slice
func (*RewardIndexesProto) Descriptor ¶
func (*RewardIndexesProto) Descriptor() ([]byte, []int)
func (*RewardIndexesProto) Marshal ¶
func (m *RewardIndexesProto) Marshal() (dAtA []byte, err error)
func (*RewardIndexesProto) MarshalTo ¶
func (m *RewardIndexesProto) MarshalTo(dAtA []byte) (int, error)
func (*RewardIndexesProto) MarshalToSizedBuffer ¶
func (m *RewardIndexesProto) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RewardIndexesProto) ProtoMessage ¶
func (*RewardIndexesProto) ProtoMessage()
func (*RewardIndexesProto) Reset ¶
func (m *RewardIndexesProto) Reset()
func (*RewardIndexesProto) Size ¶
func (m *RewardIndexesProto) Size() (n int)
func (*RewardIndexesProto) String ¶
func (m *RewardIndexesProto) String() string
func (*RewardIndexesProto) Unmarshal ¶
func (m *RewardIndexesProto) Unmarshal(dAtA []byte) error
func (*RewardIndexesProto) XXX_DiscardUnknown ¶
func (m *RewardIndexesProto) XXX_DiscardUnknown()
func (*RewardIndexesProto) XXX_Marshal ¶
func (m *RewardIndexesProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RewardIndexesProto) XXX_Merge ¶
func (m *RewardIndexesProto) XXX_Merge(src proto.Message)
func (*RewardIndexesProto) XXX_Size ¶
func (m *RewardIndexesProto) XXX_Size() int
func (*RewardIndexesProto) XXX_Unmarshal ¶
func (m *RewardIndexesProto) XXX_Unmarshal(b []byte) error
type RewardPeriod ¶
type RewardPeriod struct { Active bool `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"` CollateralType string `protobuf:"bytes,2,opt,name=collateral_type,json=collateralType,proto3" json:"collateral_type,omitempty"` Start time.Time `protobuf:"bytes,3,opt,name=start,proto3,stdtime" json:"start"` End time.Time `protobuf:"bytes,4,opt,name=end,proto3,stdtime" json:"end"` RewardsPerSecond types.Coin `protobuf:"bytes,5,opt,name=rewards_per_second,json=rewardsPerSecond,proto3" json:"rewards_per_second"` }
RewardPeriod stores the state of an ongoing reward
func NewRewardPeriod ¶
func NewRewardPeriod(active bool, collateralType string, start time.Time, end time.Time, reward sdk.Coin) RewardPeriod
NewRewardPeriod returns a new RewardPeriod
func (*RewardPeriod) Descriptor ¶
func (*RewardPeriod) Descriptor() ([]byte, []int)
func (*RewardPeriod) Marshal ¶
func (m *RewardPeriod) Marshal() (dAtA []byte, err error)
func (*RewardPeriod) MarshalToSizedBuffer ¶
func (m *RewardPeriod) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RewardPeriod) ProtoMessage ¶
func (*RewardPeriod) ProtoMessage()
func (*RewardPeriod) Reset ¶
func (m *RewardPeriod) Reset()
func (*RewardPeriod) Size ¶
func (m *RewardPeriod) Size() (n int)
func (*RewardPeriod) String ¶
func (m *RewardPeriod) String() string
func (*RewardPeriod) Unmarshal ¶
func (m *RewardPeriod) Unmarshal(dAtA []byte) error
func (RewardPeriod) Validate ¶
func (rp RewardPeriod) Validate() error
Validate performs a basic check of a RewardPeriod fields.
func (*RewardPeriod) XXX_DiscardUnknown ¶
func (m *RewardPeriod) XXX_DiscardUnknown()
func (*RewardPeriod) XXX_Marshal ¶
func (m *RewardPeriod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RewardPeriod) XXX_Merge ¶
func (m *RewardPeriod) XXX_Merge(src proto.Message)
func (*RewardPeriod) XXX_Size ¶
func (m *RewardPeriod) XXX_Size() int
func (*RewardPeriod) XXX_Unmarshal ¶
func (m *RewardPeriod) XXX_Unmarshal(b []byte) error
type RewardPeriods ¶
type RewardPeriods []RewardPeriod
RewardPeriods array of RewardPeriod
func (RewardPeriods) Validate ¶
func (rps RewardPeriods) Validate() error
Validate checks if all the RewardPeriods are valid and there are no duplicated entries.
type SavingsClaim ¶
type SavingsClaim struct { BaseMultiClaim `protobuf:"bytes,1,opt,name=base_claim,json=baseClaim,proto3,embedded=base_claim" json:"base_claim"` RewardIndexes MultiRewardIndexes `protobuf:"bytes,2,rep,name=reward_indexes,json=rewardIndexes,proto3,castrepeated=MultiRewardIndexes" json:"reward_indexes"` }
SavingsClaim stores the savings rewards that can be claimed by owner
func NewSavingsClaim ¶
func NewSavingsClaim(owner sdk.AccAddress, rewards sdk.Coins, rewardIndexes MultiRewardIndexes) SavingsClaim
NewSavingsClaim returns a new SavingsClaim
func (*SavingsClaim) Descriptor ¶
func (*SavingsClaim) Descriptor() ([]byte, []int)
func (SavingsClaim) GetOwner ¶
func (c SavingsClaim) GetOwner() sdk.AccAddress
GetOwner returns the claim's owner
func (SavingsClaim) GetReward ¶
func (c SavingsClaim) GetReward() sdk.Coins
GetReward returns the claim's reward coin
func (SavingsClaim) GetType ¶
func (c SavingsClaim) GetType() string
GetType returns the claim's type
func (SavingsClaim) HasRewardIndex ¶
func (c SavingsClaim) HasRewardIndex(denom string) (int64, bool)
HasRewardIndex check if a claim has a reward index for the input denom
func (*SavingsClaim) Marshal ¶
func (m *SavingsClaim) Marshal() (dAtA []byte, err error)
func (*SavingsClaim) MarshalToSizedBuffer ¶
func (m *SavingsClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SavingsClaim) ProtoMessage ¶
func (*SavingsClaim) ProtoMessage()
func (*SavingsClaim) Reset ¶
func (m *SavingsClaim) Reset()
func (*SavingsClaim) Size ¶
func (m *SavingsClaim) Size() (n int)
func (*SavingsClaim) String ¶
func (m *SavingsClaim) String() string
func (*SavingsClaim) Unmarshal ¶
func (m *SavingsClaim) Unmarshal(dAtA []byte) error
func (SavingsClaim) Validate ¶
func (c SavingsClaim) Validate() error
Validate performs a basic check of a SavingsClaim fields
func (*SavingsClaim) XXX_DiscardUnknown ¶
func (m *SavingsClaim) XXX_DiscardUnknown()
func (*SavingsClaim) XXX_Marshal ¶
func (m *SavingsClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SavingsClaim) XXX_Merge ¶
func (m *SavingsClaim) XXX_Merge(src proto.Message)
func (*SavingsClaim) XXX_Size ¶
func (m *SavingsClaim) XXX_Size() int
func (*SavingsClaim) XXX_Unmarshal ¶
func (m *SavingsClaim) XXX_Unmarshal(b []byte) error
type SavingsClaims ¶
type SavingsClaims []SavingsClaim
SavingsClaims slice of SavingsClaim
func (SavingsClaims) Validate ¶
func (cs SavingsClaims) Validate() error
Validate checks if all the claims are valid.
type SavingsKeeper ¶
type SavingsKeeper interface { GetDeposit(ctx sdk.Context, depositor sdk.AccAddress) (savingstypes.Deposit, bool) GetSavingsModuleAccountBalances(ctx sdk.Context) sdk.Coins }
SavingsKeeper defines the required methods needed by this module's keeper
type Selection ¶
type Selection struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` MultiplierName string `protobuf:"bytes,2,opt,name=multiplier_name,json=multiplierName,proto3" json:"multiplier_name,omitempty"` }
Selection is a pair of denom and multiplier name. It holds the choice of multiplier a user makes when they claim a denom.
func NewSelection ¶
NewSelection returns a new Selection
func (*Selection) Descriptor ¶
func (*Selection) MarshalToSizedBuffer ¶
func (*Selection) ProtoMessage ¶
func (*Selection) ProtoMessage()
func (*Selection) XXX_DiscardUnknown ¶
func (m *Selection) XXX_DiscardUnknown()
func (*Selection) XXX_Marshal ¶
func (*Selection) XXX_Unmarshal ¶
type Selections ¶
type Selections []Selection
Selections are a list of denom - multiplier pairs that specify what rewards to claim and with what lockups.
func NewSelectionsFromMap ¶
func NewSelectionsFromMap(selectionMap map[string]string) Selections
NewSelectionsFromMap creates a new set of selections from a string to string map. It sorts the output before returning.
func (Selections) Validate ¶
func (ss Selections) Validate() error
Valdate performs basic validaton checks
type StakingKeeper ¶
type StakingKeeper interface { GetDelegatorDelegations(ctx sdk.Context, delegator sdk.AccAddress, maxRetrieve uint16) (delegations []stakingtypes.Delegation) GetValidatorDelegations(ctx sdk.Context, valAddr sdk.ValAddress) (delegations []stakingtypes.Delegation) GetValidator(ctx sdk.Context, addr sdk.ValAddress) (validator stakingtypes.Validator, found bool) TotalBondedTokens(ctx sdk.Context) sdkmath.Int }
StakingKeeper defines the expected staking keeper for module accounts
type SwapClaim ¶
type SwapClaim struct { BaseMultiClaim `protobuf:"bytes,1,opt,name=base_claim,json=baseClaim,proto3,embedded=base_claim" json:"base_claim"` RewardIndexes MultiRewardIndexes `protobuf:"bytes,2,rep,name=reward_indexes,json=rewardIndexes,proto3,castrepeated=MultiRewardIndexes" json:"reward_indexes"` }
SwapClaim stores the swap rewards that can be claimed by owner
func NewSwapClaim ¶
func NewSwapClaim(owner sdk.AccAddress, rewards sdk.Coins, rewardIndexes MultiRewardIndexes) SwapClaim
NewSwapClaim returns a new SwapClaim
func (*SwapClaim) Descriptor ¶
func (SwapClaim) GetOwner ¶
func (c SwapClaim) GetOwner() sdk.AccAddress
GetOwner returns the claim's owner
func (SwapClaim) HasRewardIndex ¶
HasRewardIndex check if a claim has a reward index for the input pool ID.
func (*SwapClaim) MarshalToSizedBuffer ¶
func (*SwapClaim) ProtoMessage ¶
func (*SwapClaim) ProtoMessage()
func (*SwapClaim) XXX_DiscardUnknown ¶
func (m *SwapClaim) XXX_DiscardUnknown()
func (*SwapClaim) XXX_Marshal ¶
func (*SwapClaim) XXX_Unmarshal ¶
type SwapClaims ¶
type SwapClaims []SwapClaim
SwapClaims slice of SwapClaim
func (SwapClaims) Validate ¶
func (cs SwapClaims) Validate() error
Validate checks if all the claims are valid.
type SwapKeeper ¶
type SwapKeeper interface {}
SwapKeeper defines the required methods needed by this modules keeper
type USDFMintingClaim ¶
type USDFMintingClaim struct { BaseClaim `protobuf:"bytes,1,opt,name=base_claim,json=baseClaim,proto3,embedded=base_claim" json:"base_claim"` RewardIndexes RewardIndexes `protobuf:"bytes,2,rep,name=reward_indexes,json=rewardIndexes,proto3,castrepeated=RewardIndexes" json:"reward_indexes"` }
USDFMintingClaim is for USDF minting rewards
func NewUSDFMintingClaim ¶
func NewUSDFMintingClaim(owner sdk.AccAddress, reward sdk.Coin, rewardIndexes RewardIndexes) USDFMintingClaim
NewUSDFMintingClaim returns a new USDFMintingClaim
func (*USDFMintingClaim) Descriptor ¶
func (*USDFMintingClaim) Descriptor() ([]byte, []int)
func (USDFMintingClaim) GetOwner ¶
func (c USDFMintingClaim) GetOwner() sdk.AccAddress
GetOwner returns the claim's owner
func (USDFMintingClaim) GetReward ¶
func (c USDFMintingClaim) GetReward() sdk.Coin
GetReward returns the claim's reward coin
func (USDFMintingClaim) GetType ¶
func (c USDFMintingClaim) GetType() string
GetType returns the claim's type
func (USDFMintingClaim) HasRewardIndex ¶
func (c USDFMintingClaim) HasRewardIndex(collateralType string) (int64, bool)
HasRewardIndex check if a claim has a reward index for the input collateral type
func (*USDFMintingClaim) Marshal ¶
func (m *USDFMintingClaim) Marshal() (dAtA []byte, err error)
func (*USDFMintingClaim) MarshalToSizedBuffer ¶
func (m *USDFMintingClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*USDFMintingClaim) ProtoMessage ¶
func (*USDFMintingClaim) ProtoMessage()
func (*USDFMintingClaim) Reset ¶
func (m *USDFMintingClaim) Reset()
func (*USDFMintingClaim) Size ¶
func (m *USDFMintingClaim) Size() (n int)
func (*USDFMintingClaim) String ¶
func (m *USDFMintingClaim) String() string
func (*USDFMintingClaim) Unmarshal ¶
func (m *USDFMintingClaim) Unmarshal(dAtA []byte) error
func (USDFMintingClaim) Validate ¶
func (c USDFMintingClaim) Validate() error
Validate performs a basic check of a Claim fields
func (*USDFMintingClaim) XXX_DiscardUnknown ¶
func (m *USDFMintingClaim) XXX_DiscardUnknown()
func (*USDFMintingClaim) XXX_Marshal ¶
func (m *USDFMintingClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*USDFMintingClaim) XXX_Merge ¶
func (m *USDFMintingClaim) XXX_Merge(src proto.Message)
func (*USDFMintingClaim) XXX_Size ¶
func (m *USDFMintingClaim) XXX_Size() int
func (*USDFMintingClaim) XXX_Unmarshal ¶
func (m *USDFMintingClaim) XXX_Unmarshal(b []byte) error
type USDFMintingClaims ¶
type USDFMintingClaims []USDFMintingClaim
USDFMintingClaims slice of USDFMintingClaim
func (USDFMintingClaims) Validate ¶
func (cs USDFMintingClaims) Validate() error
Validate checks if all the claims are valid and there are no duplicated entries.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) ClaimDelegatorReward ¶
func (*UnimplementedMsgServer) ClaimDelegatorReward(ctx context.Context, req *MsgClaimDelegatorReward) (*MsgClaimDelegatorRewardResponse, error)
func (*UnimplementedMsgServer) ClaimEarnReward ¶
func (*UnimplementedMsgServer) ClaimEarnReward(ctx context.Context, req *MsgClaimEarnReward) (*MsgClaimEarnRewardResponse, error)
func (*UnimplementedMsgServer) ClaimJinxReward ¶
func (*UnimplementedMsgServer) ClaimJinxReward(ctx context.Context, req *MsgClaimJinxReward) (*MsgClaimJinxRewardResponse, error)
func (*UnimplementedMsgServer) ClaimSavingsReward ¶
func (*UnimplementedMsgServer) ClaimSavingsReward(ctx context.Context, req *MsgClaimSavingsReward) (*MsgClaimSavingsRewardResponse, error)
func (*UnimplementedMsgServer) ClaimSwapReward ¶
func (*UnimplementedMsgServer) ClaimSwapReward(ctx context.Context, req *MsgClaimSwapReward) (*MsgClaimSwapRewardResponse, error)
func (*UnimplementedMsgServer) ClaimUSDFMintingReward ¶
func (*UnimplementedMsgServer) ClaimUSDFMintingReward(ctx context.Context, req *MsgClaimUSDFMintingReward) (*MsgClaimUSDFMintingRewardResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Apy ¶
func (*UnimplementedQueryServer) Apy(ctx context.Context, req *QueryApyRequest) (*QueryApyResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) RewardFactors ¶
func (*UnimplementedQueryServer) RewardFactors(ctx context.Context, req *QueryRewardFactorsRequest) (*QueryRewardFactorsResponse, error)
func (*UnimplementedQueryServer) Rewards ¶
func (*UnimplementedQueryServer) Rewards(ctx context.Context, req *QueryRewardsRequest) (*QueryRewardsResponse, error)