# Functions
No description provided by the author
DefaultGenesisState returns a default genesis state.
DefaultParams returns default params for incentive module.
GetClaimKeyPrefix returns the claim store key prefix for the given ClaimType.
GetKeyFromSourceID returns the store key for the given source ID.
GetPreviousRewardAccrualTimeKeyPrefix returns the previous reward accrual time key prefix for the given ClaimType.
GetRewardIndexesKeyPrefix returns the reward indexes key prefix for the given ClaimType.
GetTotalVestingPeriodLength returns the summed length of all vesting periods.
NewAccrualTime returns a new AccrualTime.
NewAccumulationTime returns a new GenesisAccumulationTime.
No description provided by the author
NewAPY returns a new instance of APY.
NewClaim returns a new Claim.
NewDelegatorClaim returns a new DelegatorClaim.
NewEarnClaim returns a new EarnClaim.
NewGenesisRewardState returns a new GenesisRewardState.
NewGenesisState returns a new genesis state.
NewHardLiquidityProviderClaim returns a new HardLiquidityProviderClaim.
NewMsgClaimDelegatorReward returns a new MsgClaimDelegatorReward.
NewMsgClaimEarnReward returns a new MsgClaimEarnReward.
NewMsgClaimHardReward returns a new MsgClaimHardReward.
NewMsgClaimSavingsReward returns a new MsgClaimSavingsReward.
NewMsgClaimSwapReward returns a new MsgClaimSwapReward.
NewMsgClaimUSDXMintingReward returns a new MsgClaimUSDXMintingReward.
No description provided by the author
NewMultiplier returns a new Multiplier.
NewMultiRewardIndex returns a new MultiRewardIndex.
NewMultiRewardPeriod returns a new MultiRewardPeriod.
NewMultiRewardPeriodFromRewardPeriod converts a RewardPeriod into a MultiRewardPeriod.
NewParams returns a new params object.
NewPeriod returns a new vesting period.
NewQueryGetAPYsResponse returns a new instance of QueryGetAPYsResponse.
NewQueryGetRewardFactorsResponse returns a new instance of QueryAllRewardFactorsResponse.
NewQueryRewardsParams returns QueryRewardsParams.
NewRewardIndex returns a new RewardIndex.
NewRewardIndexesFromCoins is a helper function to initialize a RewardIndexes slice with the values from a Coins slice.
NewRewardPeriod returns a new RewardPeriod.
NewSavingsClaim returns a new SavingsClaim.
NewSelection returns a new Selection.
NewSelectionsFromMap creates a new set of selections from a string to string map.
NewSwapClaim returns a new SwapClaim.
NewTypedMultiRewardPeriod returns a new TypedMultiRewardPeriod.
NewTypedRewardIndexes returns a new TypedRewardIndexes.
NewUSDXMintingClaim returns a new USDXMintingClaim.
ParamKeyTable Key declaration for parameters.
No description provided by the author
RegisterLegacyAminoCodec registers all the necessary types and interfaces for the governance module.
No description provided by the author
# Constants
Events emitted by the incentive module.
Events emitted by the incentive module.
Events emitted by the incentive module.
Events emitted by the incentive module.
Events emitted by the incentive module.
Events emitted by the incentive module.
claim type for delegator rewards.
claim type for earn rewards.
claim type for hard borrow rewards.
claim type for hard supply rewards.
claim type for savings rewards.
claim type for swap rewards.
indicates an invalid claim type.
claim type for usdx minting rewards.
DefaultParamspace default name for parameter store.
No description provided by the author
No description provided by the author
Events emitted by the incentive module.
Events emitted by the incentive module.
Events emitted by the incentive module.
Events emitted by the incentive module.
No description provided by the author
No description provided by the author
ModuleName The name that will be used throughout the module.
QuerierRoute route used for abci queries.
Querier routes for the incentive module.
Querier routes for the incentive module.
Querier routes for the incentive module.
Querier routes for the incentive module.
Querier routes for the incentive module.
Querier routes for the incentive module.
Querier routes for the incentive module.
Querier routes for the incentive module.
Querier routes for the incentive module.
Querier routes for the incentive module.
Querier routes for the incentive module.
Querier routes for the incentive module.
Querier routes for the incentive module.
RouterKey Top level router key.
No description provided by the author
StoreKey Top level store key where all module items will be stored.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
Parameter keys and default values.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Parameter keys and default values.
Parameter keys and default values.
New fields.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Parameter keys and default values.
Parameter keys and default values.
Parameter keys and default values.
No description provided by the author
No description provided by the author
Parameter keys and default values.
No description provided by the author
No description provided by the author
prefix for keys that store delegator claims.
prefix for key that stores delegator reward indexes.
prefix for keys that store earn claims.
prefix for key that stores earn reward indexes.
Incentive module errors.
Incentive module errors.
Incentive module errors.
Incentive module errors.
Incentive module errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Incentive module errors.
Incentive module errors.
Incentive module errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Incentive module errors.
Incentive module errors.
Incentive module errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Incentive module errors.
prefix for key that stores Hard borrow reward indexes.
prefix for keys that store Hard liquidity claims.
prefix for key that stores Hard supply reward indexes.
Parameter keys and default values.
Parameter keys and default values.
Parameter keys and default values.
Parameter keys and default values.
Parameter keys and default values.
Parameter keys and default values.
Parameter keys and default values.
Parameter keys and default values.
Parameter keys and default values.
Parameter keys and default values.
Parameter keys and default values.
No description provided by the author
prefix for key that stores the previous time delegator rewards accrued.
prefix for key that stores the previous time earn rewards accrued.
prefix for key that stores the previous time Hard borrow rewards accrued.
prefix for key that stores the previous time Hard supply rewards accrued.
No description provided by the author
prefix for key that stores the previous time savings rewards accrued.
prefix for key that stores the previous time swap rewards accrued.
prefix for key that stores the blocktime.
No description provided by the author
prefix for keys that store savings claims.
prefix for key that stores savings reward indexes.
prefix for keys that store swap claims.
prefix for key that stores swap reward indexes.
prefix for keys that store USDX minting claims.
Parameter keys and default values.
prefix for key that stores USDX minting reward factors.
# Structs
AccrualTime stores the previous reward distribution time and its corresponding collateral type and claim type.
AccumulationTime stores the previous reward distribution time and its corresponding collateral type
Deprecated: Do not use.
An Accumulator handles calculating and tracking global reward distributions.
APY contains the APY for a given collateral type.
BaseClaim is a claim with a single reward coin types.
BaseMultiClaim is a claim with multiple reward coin types.
Claim stores any generic rewards that can be claimed by owner.
DelegatorClaim stores delegation rewards that can be claimed by owner.
EarnClaim stores the earn rewards that can be claimed by owner.
GenesisRewardState groups together the global state for a particular reward so it can be exported in genesis.
GenesisState is the state that must be provided at genesis.
HardLiquidityProviderClaim stores the hard liquidity provider rewards that can be claimed by owner.
MsgClaimDelegatorReward message type used to claim delegator rewards.
MsgClaimDelegatorRewardResponse defines the Msg/ClaimDelegatorReward response type.
MsgClaimEarnReward message type used to claim earn rewards.
MsgClaimEarnRewardResponse defines the Msg/ClaimEarnReward response type.
MsgClaimHardReward message type used to claim Hard liquidity provider rewards.
MsgClaimHardRewardResponse defines the Msg/ClaimHardReward response type.
MsgClaimSavingsReward message type used to claim savings rewards.
MsgClaimSavingsRewardResponse defines the Msg/ClaimSavingsReward response type.
MsgClaimSwapReward message type used to claim delegator rewards.
MsgClaimSwapRewardResponse defines the Msg/ClaimSwapReward response type.
MsgClaimUSDXMintingReward message type used to claim USDX minting rewards.
MsgClaimUSDXMintingRewardResponse defines the Msg/ClaimUSDXMintingReward response type.
Multiplier amount the claim rewards get increased by, along with how long the claim rewards are locked.
MultipliersPerDenom is a map of denoms to a set of multipliers.
MultiRewardIndex stores reward accumulation information on multiple reward types.
MultiRewardIndexesProto defines a Protobuf wrapper around a MultiRewardIndexes slice.
MultiRewardPeriod supports multiple reward types.
Params.
QueryGetAPYsResponse holds the response to a APY query.
QueryGetRewardFactorsResponse holds the response to a reward factor query.
QueryRewardsParams params for query /incentive/rewards/<claim type>.
RewardIndex stores reward accumulation information.
RewardIndexesProto defines a Protobuf wrapper around a RewardIndexes slice.
RewardPeriod stores the state of an ongoing reward.
SavingsClaim stores the savings rewards that can be claimed by owner.
Selection is a pair of denom and multiplier name.
SwapClaim stores the swap rewards that can be claimed by owner.
TypedMultiRewardPeriod stores mutiple reward types of a claim type.
TypedRewardIndexes defines a RewardIndexes slice with its corresponding claim and collateral type.
UnimplementedMsgServer can be embedded to have forward compatible implementations.
USDXMintingClaim is for USDX minting rewards.
# Interfaces
AccountKeeper expected interface for the account keeper (noalias).
BankKeeper defines the expected interface needed to send coins.
CDPHooks event hooks for other keepers to run code in response to CDP modifications.
CdpKeeper defines the expected cdp keeper for interacting with cdps.
DistrKeeper defines the required methods needed by this modules keeper.
EarnKeeper defines the required methods needed by this modules keeper.
HARDHooks event hooks for other keepers to run code in response to HARD modifications.
HardKeeper defines the expected hard keeper for interacting with Hard protocol.
LiquidKeeper defines the required methods needed by this modules keeper.
MintKeeper defines the required methods needed by this modules keeper.
MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
ParamSubspace defines the expected Subspace interfacace.
PricefeedKeeper defines the required methods needed by this modules keeper.
No description provided by the author
SavingsKeeper defines the required methods needed by this module's keeper.
SourceAdapter queries source shares from an external module.
StakingKeeper defines the expected staking keeper for module accounts.
SwapKeeper defines the required methods needed by this modules keeper.
# Type aliases
AccrualTimes slice of AccrualTime.
AccumulationTimes slice of GenesisAccumulationTime.
APYs is a slice of APY.
Claims defines a slice of Claims.
ClaimType is the type of claim.
DelegatorClaim slice of DelegatorClaim.
EarnClaims slice of EarnClaim.
HardLiquidityProviderClaims slice of HardLiquidityProviderClaim.
Multipliers is a slice of Multiplier.
MultipliersPerDenoms is a slice of MultipliersPerDenom.
MultiRewardIndexes slice of MultiRewardIndex.
MultiRewardPeriods array of MultiRewardPeriod.
RewardIndexes slice of RewardIndex.
RewardPeriods array of RewardPeriod.
SavingsClaims slice of SavingsClaim.
Selections are a list of denom - multiplier pairs that specify what rewards to claim and with what lockups.
SwapClaims slice of SwapClaim.
TypedMultiRewardPeriods array of TypedMultiRewardPeriod.
TypedRewardIndexesList is a list of TypedRewardIndexes.
USDXMintingClaims slice of USDXMintingClaim.