2020-05-07 17:46:40 +00:00
|
|
|
package incentive
|
|
|
|
|
2020-09-21 20:20:11 +00:00
|
|
|
// DO NOT EDIT - generated by aliasgen tool (github.com/rhuairahrighairidh/aliasgen)
|
2020-04-24 15:20:34 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/kava-labs/kava/x/incentive/keeper"
|
|
|
|
"github.com/kava-labs/kava/x/incentive/types"
|
|
|
|
)
|
|
|
|
|
|
|
|
const (
|
2020-09-21 20:20:11 +00:00
|
|
|
AttributeKeyClaimAmount = types.AttributeKeyClaimAmount
|
|
|
|
AttributeKeyClaimPeriod = types.AttributeKeyClaimPeriod
|
|
|
|
AttributeKeyClaimedBy = types.AttributeKeyClaimedBy
|
|
|
|
AttributeKeyRewardPeriod = types.AttributeKeyRewardPeriod
|
|
|
|
AttributeValueCategory = types.AttributeValueCategory
|
|
|
|
DefaultParamspace = types.DefaultParamspace
|
2020-05-07 17:46:40 +00:00
|
|
|
EventTypeClaim = types.EventTypeClaim
|
|
|
|
EventTypeClaimPeriod = types.EventTypeClaimPeriod
|
|
|
|
EventTypeClaimPeriodExpiry = types.EventTypeClaimPeriodExpiry
|
2020-09-21 20:20:11 +00:00
|
|
|
EventTypeRewardPeriod = types.EventTypeRewardPeriod
|
|
|
|
Large = types.Large
|
|
|
|
Medium = types.Medium
|
2020-05-07 17:46:40 +00:00
|
|
|
ModuleName = types.ModuleName
|
|
|
|
QuerierRoute = types.QuerierRoute
|
2020-09-21 20:20:11 +00:00
|
|
|
QueryGetClaimPeriods = types.QueryGetClaimPeriods
|
2021-01-27 13:33:36 +00:00
|
|
|
QueryGetRewards = types.QueryGetRewards
|
2020-05-07 17:46:40 +00:00
|
|
|
QueryGetParams = types.QueryGetParams
|
2020-09-21 20:20:11 +00:00
|
|
|
QueryGetRewardPeriods = types.QueryGetRewardPeriods
|
|
|
|
RestClaimCollateralType = types.RestClaimCollateralType
|
|
|
|
RestClaimOwner = types.RestClaimOwner
|
|
|
|
RouterKey = types.RouterKey
|
|
|
|
Small = types.Small
|
|
|
|
StoreKey = types.StoreKey
|
2020-04-24 15:20:34 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
2020-09-21 20:20:11 +00:00
|
|
|
// function aliases
|
2021-01-26 11:52:34 +00:00
|
|
|
CalculateTimeElapsed = keeper.CalculateTimeElapsed
|
|
|
|
NewKeeper = keeper.NewKeeper
|
|
|
|
NewQuerier = keeper.NewQuerier
|
|
|
|
DefaultGenesisState = types.DefaultGenesisState
|
|
|
|
DefaultParams = types.DefaultParams
|
|
|
|
GetTotalVestingPeriodLength = types.GetTotalVestingPeriodLength
|
|
|
|
NewGenesisAccumulationTime = types.NewGenesisAccumulationTime
|
|
|
|
NewGenesisState = types.NewGenesisState
|
|
|
|
NewMsgClaimUSDXMintingReward = types.NewMsgClaimUSDXMintingReward
|
|
|
|
NewMsgClaimHardLiquidityProviderReward = types.NewMsgClaimHardLiquidityProviderReward
|
|
|
|
NewMultiplier = types.NewMultiplier
|
|
|
|
NewParams = types.NewParams
|
|
|
|
NewPeriod = types.NewPeriod
|
2021-01-27 13:33:36 +00:00
|
|
|
NewQueryRewardsParams = types.NewQueryRewardsParams
|
2021-01-26 11:52:34 +00:00
|
|
|
NewRewardIndex = types.NewRewardIndex
|
|
|
|
NewRewardPeriod = types.NewRewardPeriod
|
|
|
|
NewUSDXMintingClaim = types.NewUSDXMintingClaim
|
|
|
|
NewHardLiquidityProviderClaim = types.NewHardLiquidityProviderClaim
|
|
|
|
ParamKeyTable = types.ParamKeyTable
|
|
|
|
RegisterCodec = types.RegisterCodec
|
2020-04-24 15:20:34 +00:00
|
|
|
|
|
|
|
// variable aliases
|
2021-01-21 13:52:09 +00:00
|
|
|
PreviousUSDXMintingRewardAccrualTimeKeyPrefix = types.PreviousUSDXMintingRewardAccrualTimeKeyPrefix
|
|
|
|
USDXMintingClaimKeyPrefix = types.USDXMintingClaimKeyPrefix
|
|
|
|
DefaultActive = types.DefaultActive
|
|
|
|
DefaultClaimEnd = types.DefaultClaimEnd
|
|
|
|
DefaultClaims = types.DefaultClaims
|
|
|
|
DefaultGenesisAccumulationTimes = types.DefaultGenesisAccumulationTimes
|
|
|
|
DefaultMultipliers = types.DefaultMultipliers
|
|
|
|
DefaultRewardPeriods = types.DefaultRewardPeriods
|
|
|
|
ErrAccountNotFound = types.ErrAccountNotFound
|
|
|
|
ErrClaimExpired = types.ErrClaimExpired
|
|
|
|
ErrClaimNotFound = types.ErrClaimNotFound
|
|
|
|
ErrInsufficientModAccountBalance = types.ErrInsufficientModAccountBalance
|
|
|
|
ErrInvalidAccountType = types.ErrInvalidAccountType
|
|
|
|
ErrInvalidMultiplier = types.ErrInvalidMultiplier
|
|
|
|
ErrNoClaimsFound = types.ErrNoClaimsFound
|
|
|
|
ErrRewardPeriodNotFound = types.ErrRewardPeriodNotFound
|
|
|
|
ErrZeroClaim = types.ErrZeroClaim
|
|
|
|
GovDenom = types.GovDenom
|
|
|
|
IncentiveMacc = types.IncentiveMacc
|
|
|
|
KeyClaimEnd = types.KeyClaimEnd
|
|
|
|
KeyMultipliers = types.KeyMultipliers
|
|
|
|
KeyUSDXMintingRewardPeriods = types.KeyUSDXMintingRewardPeriods
|
|
|
|
ModuleCdc = types.ModuleCdc
|
|
|
|
PrincipalDenom = types.PrincipalDenom
|
|
|
|
USDXMintingRewardFactorKeyPrefix = types.USDXMintingRewardFactorKeyPrefix
|
|
|
|
USDXMintingRewardDenom = types.USDXMintingRewardDenom
|
2020-04-24 15:20:34 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type (
|
2021-01-18 19:12:37 +00:00
|
|
|
Hooks = keeper.Hooks
|
|
|
|
Keeper = keeper.Keeper
|
|
|
|
AccountKeeper = types.AccountKeeper
|
|
|
|
CDPHooks = types.CDPHooks
|
2021-01-21 13:52:09 +00:00
|
|
|
HARDHooks = types.HARDHooks
|
2021-01-18 19:12:37 +00:00
|
|
|
CdpKeeper = types.CdpKeeper
|
|
|
|
GenesisAccumulationTime = types.GenesisAccumulationTime
|
|
|
|
GenesisAccumulationTimes = types.GenesisAccumulationTimes
|
|
|
|
GenesisState = types.GenesisState
|
|
|
|
MsgClaimUSDXMintingReward = types.MsgClaimUSDXMintingReward
|
|
|
|
Multiplier = types.Multiplier
|
|
|
|
MultiplierName = types.MultiplierName
|
|
|
|
Multipliers = types.Multipliers
|
|
|
|
Params = types.Params
|
|
|
|
PostClaimReq = types.PostClaimReq
|
2021-01-27 13:33:36 +00:00
|
|
|
QueryRewardsParams = types.QueryRewardsParams
|
2021-01-18 19:12:37 +00:00
|
|
|
RewardIndex = types.RewardIndex
|
|
|
|
RewardIndexes = types.RewardIndexes
|
|
|
|
RewardPeriod = types.RewardPeriod
|
|
|
|
RewardPeriods = types.RewardPeriods
|
|
|
|
SupplyKeeper = types.SupplyKeeper
|
|
|
|
USDXMintingClaim = types.USDXMintingClaim
|
|
|
|
USDXMintingClaims = types.USDXMintingClaims
|
2020-04-24 15:20:34 +00:00
|
|
|
)
|