2020-12-21 17:18:55 +00:00
|
|
|
package hard
|
2020-09-21 21:08:43 +00:00
|
|
|
|
|
|
|
// DO NOT EDIT - generated by aliasgen tool (github.com/rhuairahrighairidh/aliasgen)
|
|
|
|
|
|
|
|
import (
|
2020-12-21 17:18:55 +00:00
|
|
|
"github.com/kava-labs/kava/x/hard/keeper"
|
|
|
|
"github.com/kava-labs/kava/x/hard/types"
|
2020-09-21 21:08:43 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
const (
|
2020-12-21 17:18:55 +00:00
|
|
|
BeginningOfMonth = keeper.BeginningOfMonth
|
|
|
|
MidMonth = keeper.MidMonth
|
|
|
|
PaymentHour = keeper.PaymentHour
|
|
|
|
AttributeKeyBlockHeight = types.AttributeKeyBlockHeight
|
|
|
|
AttributeKeyClaimAmount = types.AttributeKeyClaimAmount
|
|
|
|
AttributeKeyClaimHolder = types.AttributeKeyClaimHolder
|
|
|
|
AttributeKeyClaimMultiplier = types.AttributeKeyClaimMultiplier
|
|
|
|
AttributeKeyClaimType = types.AttributeKeyClaimType
|
|
|
|
AttributeKeyDeposit = types.AttributeKeyDeposit
|
|
|
|
AttributeKeyDepositDenom = types.AttributeKeyDepositDenom
|
|
|
|
AttributeKeyDepositor = types.AttributeKeyDepositor
|
|
|
|
AttributeKeyRewardsDistribution = types.AttributeKeyRewardsDistribution
|
|
|
|
AttributeValueCategory = types.AttributeValueCategory
|
|
|
|
DefaultParamspace = types.DefaultParamspace
|
|
|
|
DelegatorAccount = types.DelegatorAccount
|
|
|
|
EventTypeClaimHardReward = types.EventTypeClaimHardReward
|
|
|
|
EventTypeDeleteHardDeposit = types.EventTypeDeleteHardDeposit
|
|
|
|
EventTypeHardDelegatorDistribution = types.EventTypeHardDelegatorDistribution
|
|
|
|
EventTypeHardDeposit = types.EventTypeHardDeposit
|
|
|
|
EventTypeHardLPDistribution = types.EventTypeHardLPDistribution
|
|
|
|
EventTypeHardWithdrawal = types.EventTypeHardWithdrawal
|
|
|
|
LP = types.LP
|
|
|
|
LPAccount = types.LPAccount
|
|
|
|
LiquidatorAccount = types.LiquidatorAccount
|
|
|
|
Large = types.Large
|
|
|
|
Medium = types.Medium
|
|
|
|
ModuleAccountName = types.ModuleAccountName
|
|
|
|
ModuleName = types.ModuleName
|
|
|
|
QuerierRoute = types.QuerierRoute
|
|
|
|
QueryGetClaims = types.QueryGetClaims
|
|
|
|
QueryGetDeposits = types.QueryGetDeposits
|
|
|
|
QueryGetModuleAccounts = types.QueryGetModuleAccounts
|
|
|
|
QueryGetParams = types.QueryGetParams
|
|
|
|
RouterKey = types.RouterKey
|
|
|
|
Small = types.Small
|
|
|
|
Stake = types.Stake
|
|
|
|
StoreKey = types.StoreKey
|
2020-09-21 21:08:43 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
// function aliases
|
|
|
|
NewKeeper = keeper.NewKeeper
|
|
|
|
NewQuerier = keeper.NewQuerier
|
2020-12-03 21:50:35 +00:00
|
|
|
CalculateUtilizationRatio = keeper.CalculateUtilizationRatio
|
|
|
|
CalculateBorrowRate = keeper.CalculateBorrowRate
|
2021-01-07 10:23:05 +00:00
|
|
|
CalculateBorrowInterestFactor = keeper.CalculateBorrowInterestFactor
|
|
|
|
CalculateSupplyInterestFactor = keeper.CalculateSupplyInterestFactor
|
2020-12-03 21:50:35 +00:00
|
|
|
APYToSPY = keeper.APYToSPY
|
2020-09-21 21:08:43 +00:00
|
|
|
ClaimKey = types.ClaimKey
|
|
|
|
DefaultGenesisState = types.DefaultGenesisState
|
|
|
|
DefaultParams = types.DefaultParams
|
|
|
|
DepositTypeIteratorKey = types.DepositTypeIteratorKey
|
|
|
|
GetTotalVestingPeriodLength = types.GetTotalVestingPeriodLength
|
|
|
|
NewClaim = types.NewClaim
|
|
|
|
NewDelegatorDistributionSchedule = types.NewDelegatorDistributionSchedule
|
|
|
|
NewDeposit = types.NewDeposit
|
|
|
|
NewDistributionSchedule = types.NewDistributionSchedule
|
|
|
|
NewGenesisState = types.NewGenesisState
|
|
|
|
NewMsgClaimReward = types.NewMsgClaimReward
|
|
|
|
NewMsgDeposit = types.NewMsgDeposit
|
|
|
|
NewMsgWithdraw = types.NewMsgWithdraw
|
|
|
|
NewMultiplier = types.NewMultiplier
|
|
|
|
NewParams = types.NewParams
|
|
|
|
NewPeriod = types.NewPeriod
|
|
|
|
NewQueryAccountParams = types.NewQueryAccountParams
|
|
|
|
NewQueryClaimParams = types.NewQueryClaimParams
|
|
|
|
NewQueryDepositParams = types.NewQueryDepositParams
|
|
|
|
ParamKeyTable = types.ParamKeyTable
|
|
|
|
RegisterCodec = types.RegisterCodec
|
|
|
|
|
|
|
|
// variable aliases
|
2020-10-30 09:59:47 +00:00
|
|
|
BorrowsKeyPrefix = types.BorrowsKeyPrefix
|
2020-09-21 21:08:43 +00:00
|
|
|
ClaimsKeyPrefix = types.ClaimsKeyPrefix
|
|
|
|
DefaultActive = types.DefaultActive
|
|
|
|
DefaultDelegatorSchedules = types.DefaultDelegatorSchedules
|
|
|
|
DefaultDistributionTimes = types.DefaultDistributionTimes
|
|
|
|
DefaultGovSchedules = types.DefaultGovSchedules
|
|
|
|
DefaultLPSchedules = types.DefaultLPSchedules
|
|
|
|
DefaultPreviousBlockTime = types.DefaultPreviousBlockTime
|
2020-11-12 16:43:28 +00:00
|
|
|
ClaimTypesClaimQuery = types.ClaimTypesClaimQuery
|
2020-09-21 21:08:43 +00:00
|
|
|
DepositsKeyPrefix = types.DepositsKeyPrefix
|
|
|
|
ErrAccountNotFound = types.ErrAccountNotFound
|
|
|
|
ErrClaimExpired = types.ErrClaimExpired
|
|
|
|
ErrClaimNotFound = types.ErrClaimNotFound
|
|
|
|
ErrDepositNotFound = types.ErrDepositNotFound
|
|
|
|
ErrGovScheduleNotFound = types.ErrGovScheduleNotFound
|
|
|
|
ErrInsufficientModAccountBalance = types.ErrInsufficientModAccountBalance
|
2020-11-12 16:43:28 +00:00
|
|
|
ErrInvaliWithdrawAmount = types.ErrInvalidWithdrawAmount
|
2020-09-21 21:08:43 +00:00
|
|
|
ErrInvalidAccountType = types.ErrInvalidAccountType
|
|
|
|
ErrInvalidDepositDenom = types.ErrInvalidDepositDenom
|
2020-11-12 16:43:28 +00:00
|
|
|
ErrInvalidClaimType = types.ErrInvalidClaimType
|
2020-09-21 21:08:43 +00:00
|
|
|
ErrInvalidMultiplier = types.ErrInvalidMultiplier
|
|
|
|
ErrLPScheduleNotFound = types.ErrLPScheduleNotFound
|
|
|
|
ErrZeroClaim = types.ErrZeroClaim
|
|
|
|
GovDenom = types.GovDenom
|
|
|
|
KeyActive = types.KeyActive
|
|
|
|
KeyDelegatorSchedule = types.KeyDelegatorSchedule
|
|
|
|
KeyLPSchedules = types.KeyLPSchedules
|
|
|
|
ModuleCdc = types.ModuleCdc
|
|
|
|
PreviousBlockTimeKey = types.PreviousBlockTimeKey
|
|
|
|
PreviousDelegationDistributionKey = types.PreviousDelegationDistributionKey
|
|
|
|
)
|
|
|
|
|
|
|
|
type (
|
|
|
|
Keeper = keeper.Keeper
|
|
|
|
AccountKeeper = types.AccountKeeper
|
2020-10-30 09:59:47 +00:00
|
|
|
Borrow = types.Borrow
|
|
|
|
MoneyMarket = types.MoneyMarket
|
|
|
|
MoneyMarkets = types.MoneyMarkets
|
2020-09-21 21:08:43 +00:00
|
|
|
DelegatorDistributionSchedule = types.DelegatorDistributionSchedule
|
|
|
|
DelegatorDistributionSchedules = types.DelegatorDistributionSchedules
|
|
|
|
Deposit = types.Deposit
|
2020-11-12 16:43:28 +00:00
|
|
|
ClaimType = types.ClaimType
|
2020-09-21 21:08:43 +00:00
|
|
|
DistributionSchedule = types.DistributionSchedule
|
|
|
|
DistributionSchedules = types.DistributionSchedules
|
|
|
|
GenesisDistributionTime = types.GenesisDistributionTime
|
|
|
|
GenesisDistributionTimes = types.GenesisDistributionTimes
|
|
|
|
GenesisState = types.GenesisState
|
|
|
|
MsgClaimReward = types.MsgClaimReward
|
|
|
|
MsgDeposit = types.MsgDeposit
|
|
|
|
MsgWithdraw = types.MsgWithdraw
|
|
|
|
Multiplier = types.Multiplier
|
|
|
|
MultiplierName = types.MultiplierName
|
|
|
|
Multipliers = types.Multipliers
|
|
|
|
Params = types.Params
|
|
|
|
QueryAccountParams = types.QueryAccountParams
|
|
|
|
QueryClaimParams = types.QueryClaimParams
|
|
|
|
QueryDepositParams = types.QueryDepositParams
|
|
|
|
StakingKeeper = types.StakingKeeper
|
|
|
|
SupplyKeeper = types.SupplyKeeper
|
|
|
|
)
|