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
|
|
|
AttributeKeyBlockHeight = types.AttributeKeyBlockHeight
|
|
|
|
AttributeKeyDeposit = types.AttributeKeyDeposit
|
|
|
|
AttributeKeyDepositDenom = types.AttributeKeyDepositDenom
|
|
|
|
AttributeKeyDepositor = types.AttributeKeyDepositor
|
|
|
|
AttributeKeyRewardsDistribution = types.AttributeKeyRewardsDistribution
|
|
|
|
AttributeValueCategory = types.AttributeValueCategory
|
|
|
|
DefaultParamspace = types.DefaultParamspace
|
|
|
|
DelegatorAccount = types.DelegatorAccount
|
|
|
|
EventTypeDeleteHardDeposit = types.EventTypeDeleteHardDeposit
|
|
|
|
EventTypeHardDelegatorDistribution = types.EventTypeHardDelegatorDistribution
|
|
|
|
EventTypeHardDeposit = types.EventTypeHardDeposit
|
|
|
|
EventTypeHardLPDistribution = types.EventTypeHardLPDistribution
|
|
|
|
EventTypeHardWithdrawal = types.EventTypeHardWithdrawal
|
|
|
|
LPAccount = types.LPAccount
|
|
|
|
LiquidatorAccount = types.LiquidatorAccount
|
|
|
|
ModuleAccountName = types.ModuleAccountName
|
|
|
|
ModuleName = types.ModuleName
|
|
|
|
QuerierRoute = types.QuerierRoute
|
|
|
|
QueryGetDeposits = types.QueryGetDeposits
|
|
|
|
QueryGetModuleAccounts = types.QueryGetModuleAccounts
|
|
|
|
QueryGetParams = types.QueryGetParams
|
|
|
|
RouterKey = types.RouterKey
|
|
|
|
StoreKey = types.StoreKey
|
2020-09-21 21:08:43 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
// function aliases
|
2021-01-21 13:52:09 +00:00
|
|
|
NewKeeper = keeper.NewKeeper
|
|
|
|
NewQuerier = keeper.NewQuerier
|
|
|
|
CalculateUtilizationRatio = keeper.CalculateUtilizationRatio
|
|
|
|
CalculateBorrowRate = keeper.CalculateBorrowRate
|
|
|
|
CalculateBorrowInterestFactor = keeper.CalculateBorrowInterestFactor
|
|
|
|
CalculateSupplyInterestFactor = keeper.CalculateSupplyInterestFactor
|
|
|
|
APYToSPY = keeper.APYToSPY
|
|
|
|
DefaultGenesisState = types.DefaultGenesisState
|
|
|
|
DefaultParams = types.DefaultParams
|
|
|
|
DepositTypeIteratorKey = types.DepositTypeIteratorKey
|
|
|
|
GetTotalVestingPeriodLength = types.GetTotalVestingPeriodLength
|
|
|
|
NewBorrowLimit = types.NewBorrowLimit
|
|
|
|
NewInterestRateModel = types.NewInterestRateModel
|
|
|
|
NewDeposit = types.NewDeposit
|
|
|
|
NewGenesisState = types.NewGenesisState
|
|
|
|
NewMsgDeposit = types.NewMsgDeposit
|
|
|
|
NewMsgWithdraw = types.NewMsgWithdraw
|
|
|
|
NewMultiHARDHooks = types.NewMultiHARDHooks
|
|
|
|
NewParams = types.NewParams
|
|
|
|
NewPeriod = types.NewPeriod
|
|
|
|
NewMoneyMarket = types.NewMoneyMarket
|
|
|
|
NewQueryAccountParams = types.NewQueryAccountParams
|
|
|
|
ParamKeyTable = types.ParamKeyTable
|
|
|
|
RegisterCodec = types.RegisterCodec
|
2020-09-21 21:08:43 +00:00
|
|
|
|
|
|
|
// variable aliases
|
2021-01-21 13:52:09 +00:00
|
|
|
BorrowsKeyPrefix = types.BorrowsKeyPrefix
|
|
|
|
DefaultActive = types.DefaultActive
|
|
|
|
DefaultPreviousBlockTime = types.DefaultPreviousBlockTime
|
|
|
|
DepositsKeyPrefix = types.DepositsKeyPrefix
|
|
|
|
ErrAccountNotFound = types.ErrAccountNotFound
|
|
|
|
ErrDepositNotFound = types.ErrDepositNotFound
|
|
|
|
ErrInsufficientModAccountBalance = types.ErrInsufficientModAccountBalance
|
|
|
|
ErrInvaliWithdrawAmount = types.ErrInvalidWithdrawAmount
|
|
|
|
ErrInvalidAccountType = types.ErrInvalidAccountType
|
|
|
|
ErrInvalidDepositDenom = types.ErrInvalidDepositDenom
|
|
|
|
GovDenom = types.GovDenom
|
|
|
|
KeyActive = types.KeyActive
|
|
|
|
ModuleCdc = types.ModuleCdc
|
|
|
|
PreviousBlockTimeKey = types.PreviousBlockTimeKey
|
2020-09-21 21:08:43 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type (
|
2021-01-21 13:52:09 +00:00
|
|
|
Keeper = keeper.Keeper
|
|
|
|
AccountKeeper = types.AccountKeeper
|
|
|
|
Borrow = types.Borrow
|
|
|
|
MoneyMarket = types.MoneyMarket
|
|
|
|
MoneyMarkets = types.MoneyMarkets
|
|
|
|
Deposit = types.Deposit
|
|
|
|
GenesisState = types.GenesisState
|
|
|
|
MsgDeposit = types.MsgDeposit
|
|
|
|
MsgWithdraw = types.MsgWithdraw
|
|
|
|
Params = types.Params
|
|
|
|
QueryAccountParams = types.QueryAccountParams
|
|
|
|
StakingKeeper = types.StakingKeeper
|
|
|
|
SupplyKeeper = types.SupplyKeeper
|
2020-09-21 21:08:43 +00:00
|
|
|
)
|