0g-chain/x/hard/alias.go

175 lines
9.3 KiB
Go
Raw Normal View History

2020-12-21 17:18:55 +00:00
package hard
// 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"
)
const (
2020-12-21 17:18:55 +00:00
AttributeKeyBlockHeight = types.AttributeKeyBlockHeight
AttributeKeyBorrow = types.AttributeKeyBorrow
AttributeKeyBorrowCoins = types.AttributeKeyBorrowCoins
AttributeKeyBorrower = types.AttributeKeyBorrower
2020-12-21 17:18:55 +00:00
AttributeKeyDeposit = types.AttributeKeyDeposit
AttributeKeyDepositCoins = types.AttributeKeyDepositCoins
2020-12-21 17:18:55 +00:00
AttributeKeyDepositDenom = types.AttributeKeyDepositDenom
AttributeKeyDepositor = types.AttributeKeyDepositor
AttributeKeyRepayCoins = types.AttributeKeyRepayCoins
2020-12-21 17:18:55 +00:00
AttributeKeyRewardsDistribution = types.AttributeKeyRewardsDistribution
AttributeKeySender = types.AttributeKeySender
2020-12-21 17:18:55 +00:00
AttributeValueCategory = types.AttributeValueCategory
DefaultParamspace = types.DefaultParamspace
EventTypeDeleteHardDeposit = types.EventTypeDeleteHardDeposit
2021-02-03 22:23:17 +00:00
EventTypeHardLiquidation = types.EventTypeHardLiquidation
EventTypeHardBorrow = types.EventTypeHardBorrow
2020-12-21 17:18:55 +00:00
EventTypeHardDelegatorDistribution = types.EventTypeHardDelegatorDistribution
EventTypeHardDeposit = types.EventTypeHardDeposit
EventTypeHardLPDistribution = types.EventTypeHardLPDistribution
EventTypeHardRepay = types.EventTypeHardRepay
2020-12-21 17:18:55 +00:00
EventTypeHardWithdrawal = types.EventTypeHardWithdrawal
ModuleAccountName = types.ModuleAccountName
ModuleName = types.ModuleName
QuerierRoute = types.QuerierRoute
QueryGetBorrows = types.QueryGetBorrows
2020-12-21 17:18:55 +00:00
QueryGetDeposits = types.QueryGetDeposits
QueryGetModuleAccounts = types.QueryGetModuleAccounts
QueryGetParams = types.QueryGetParams
QueryGetTotalBorrowed = types.QueryGetTotalBorrowed
QueryGetTotalDeposited = types.QueryGetTotalDeposited
2020-12-21 17:18:55 +00:00
RouterKey = types.RouterKey
StoreKey = types.StoreKey
)
var (
// function aliases
APYToSPY = keeper.APYToSPY
SPYToEstimatedAPY = keeper.SPYToEstimatedAPY
CalculateBorrowInterestFactor = keeper.CalculateBorrowInterestFactor
CalculateBorrowRate = keeper.CalculateBorrowRate
CalculateSupplyInterestFactor = keeper.CalculateSupplyInterestFactor
CalculateUtilizationRatio = keeper.CalculateUtilizationRatio
NewKeeper = keeper.NewKeeper
NewQuerier = keeper.NewQuerier
DefaultGenesisState = types.DefaultGenesisState
DefaultParams = types.DefaultParams
DepositTypeIteratorKey = types.DepositTypeIteratorKey
GetTotalVestingPeriodLength = types.GetTotalVestingPeriodLength
NewBorrow = types.NewBorrow
NewBorrowInterestFactor = types.NewBorrowInterestFactor
NewBorrowLimit = types.NewBorrowLimit
NewDeposit = types.NewDeposit
NewGenesisAccumulationTime = types.NewGenesisAccumulationTime
NewGenesisState = types.NewGenesisState
NewInterestRateModel = types.NewInterestRateModel
NewMoneyMarket = types.NewMoneyMarket
NewMsgBorrow = types.NewMsgBorrow
NewMsgDeposit = types.NewMsgDeposit
NewMsgLiquidate = types.NewMsgLiquidate
NewMsgRepay = types.NewMsgRepay
NewMsgWithdraw = types.NewMsgWithdraw
NewMultiHARDHooks = types.NewMultiHARDHooks
NewParams = types.NewParams
NewPeriod = types.NewPeriod
NewQueryAccountParams = types.NewQueryAccountParams
NewQueryBorrowsParams = types.NewQueryBorrowsParams
NewQueryDepositsParams = types.NewQueryDepositsParams
NewQueryTotalBorrowedParams = types.NewQueryTotalBorrowedParams
NewQueryTotalDepositedParams = types.NewQueryTotalDepositedParams
NewSupplyInterestFactor = types.NewSupplyInterestFactor
NewValuationMap = types.NewValuationMap
ParamKeyTable = types.ParamKeyTable
RegisterCodec = types.RegisterCodec
// variable aliases
BorrowInterestFactorPrefix = types.BorrowInterestFactorPrefix
BorrowedCoinsPrefix = types.BorrowedCoinsPrefix
BorrowsKeyPrefix = types.BorrowsKeyPrefix
DefaultAccumulationTimes = types.DefaultAccumulationTimes
DefaultBorrows = types.DefaultBorrows
DefaultDeposits = types.DefaultDeposits
DefaultMoneyMarkets = types.DefaultMoneyMarkets
DefaultTotalBorrowed = types.DefaultTotalBorrowed
DefaultTotalReserves = types.DefaultTotalReserves
DefaultTotalSupplied = types.DefaultTotalSupplied
DepositsKeyPrefix = types.DepositsKeyPrefix
ErrAccountNotFound = types.ErrAccountNotFound
ErrBorrowEmptyCoins = types.ErrBorrowEmptyCoins
ErrBorrowExceedsAvailableBalance = types.ErrBorrowExceedsAvailableBalance
ErrExceedsProtocolBorrowableBalance = types.ErrExceedsProtocolBorrowableBalance
ErrBorrowNotFound = types.ErrBorrowNotFound
ErrBorrowNotLiquidatable = types.ErrBorrowNotLiquidatable
ErrBorrowedCoinsNotFound = types.ErrBorrowedCoinsNotFound
ErrDepositNotFound = types.ErrDepositNotFound
ErrDepositsNotFound = types.ErrDepositsNotFound
ErrGreaterThanAssetBorrowLimit = types.ErrGreaterThanAssetBorrowLimit
ErrInsufficientBalanceForBorrow = types.ErrInsufficientBalanceForBorrow
ErrInsufficientBalanceForRepay = types.ErrInsufficientBalanceForRepay
ErrInsufficientCoins = types.ErrInsufficientCoins
ErrInsufficientLoanToValue = types.ErrInsufficientLoanToValue
ErrInsufficientModAccountBalance = types.ErrInsufficientModAccountBalance
ErrInvalidAccountType = types.ErrInvalidAccountType
ErrInvalidDepositDenom = types.ErrInvalidDepositDenom
ErrInvalidReceiver = types.ErrInvalidReceiver
ErrInvalidRepaymentDenom = types.ErrInvalidRepaymentDenom
ErrInvalidWithdrawAmount = types.ErrInvalidWithdrawAmount
ErrInvalidWithdrawDenom = types.ErrInvalidWithdrawDenom
ErrMarketNotFound = types.ErrMarketNotFound
ErrMoneyMarketNotFound = types.ErrMoneyMarketNotFound
ErrNegativeBorrowedCoins = types.ErrNegativeBorrowedCoins
ErrNegativeSuppliedCoins = types.ErrNegativeSuppliedCoins
ErrPreviousAccrualTimeNotFound = types.ErrPreviousAccrualTimeNotFound
ErrPriceNotFound = types.ErrPriceNotFound
ErrSuppliedCoinsNotFound = types.ErrSuppliedCoinsNotFound
ErrReservesExceedCash = types.ErrReservesExceedCash
GovDenom = types.GovDenom
KeyMoneyMarkets = types.KeyMoneyMarkets
ModuleCdc = types.ModuleCdc
MoneyMarketsPrefix = types.MoneyMarketsPrefix
PreviousAccrualTimePrefix = types.PreviousAccrualTimePrefix
SuppliedCoinsPrefix = types.SuppliedCoinsPrefix
SupplyInterestFactorPrefix = types.SupplyInterestFactorPrefix
TotalReservesPrefix = types.TotalReservesPrefix
)
type (
Keeper = keeper.Keeper
LiqData = keeper.LiqData
AccountKeeper = types.AccountKeeper
AuctionKeeper = types.AuctionKeeper
Borrow = types.Borrow
BorrowInterestFactor = types.BorrowInterestFactor
BorrowInterestFactors = types.BorrowInterestFactors
BorrowLimit = types.BorrowLimit
Borrows = types.Borrows
Deposit = types.Deposit
Deposits = types.Deposits
GenesisAccumulationTime = types.GenesisAccumulationTime
GenesisAccumulationTimes = types.GenesisAccumulationTimes
GenesisState = types.GenesisState
HARDHooks = types.HARDHooks
InterestRateModel = types.InterestRateModel
InterestRateModels = types.InterestRateModels
MoneyMarket = types.MoneyMarket
MoneyMarkets = types.MoneyMarkets
MsgBorrow = types.MsgBorrow
MsgDeposit = types.MsgDeposit
MsgLiquidate = types.MsgLiquidate
MsgRepay = types.MsgRepay
MsgWithdraw = types.MsgWithdraw
MultiHARDHooks = types.MultiHARDHooks
Params = types.Params
PricefeedKeeper = types.PricefeedKeeper
QueryAccountParams = types.QueryAccountParams
QueryBorrowsParams = types.QueryBorrowsParams
QueryDepositsParams = types.QueryDepositsParams
QueryTotalBorrowedParams = types.QueryTotalBorrowedParams
QueryTotalDepositedParams = types.QueryTotalDepositedParams
StakingKeeper = types.StakingKeeper
SupplyInterestFactor = types.SupplyInterestFactor
SupplyInterestFactors = types.SupplyInterestFactors
SupplyKeeper = types.SupplyKeeper
ValuationMap = types.ValuationMap
)