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

76 lines
2.8 KiB
Go
Raw Normal View History

2019-11-25 19:46:02 +00:00
// nolint
// autogenerated code using github.com/rigelrozanski/multitool
// aliases generated for the following subdirectories:
// ALIASGEN: github.com/kava-labs/kava/x/pricefeed/types/
2019-11-27 14:45:59 +00:00
// ALIASGEN: github.com/kava-labs/kava/x/pricefeed/keeper/
2019-11-25 19:46:02 +00:00
package pricefeed
import (
2019-11-27 14:45:59 +00:00
"github.com/kava-labs/kava/x/pricefeed/keeper"
2019-11-25 19:46:02 +00:00
"github.com/kava-labs/kava/x/pricefeed/types"
)
const (
2019-12-04 16:32:08 +00:00
DefaultCodespace = types.DefaultCodespace
CodeEmptyInput = types.CodeEmptyInput
CodeExpired = types.CodeExpired
CodeInvalidPrice = types.CodeInvalidPrice
CodeInvalidAsset = types.CodeInvalidAsset
CodeInvalidOracle = types.CodeInvalidOracle
EventTypeNoValidPrices = types.EventTypeNoValidPrices
AttributeKeyPriceUpdateFailed = types.AttributeKeyPriceUpdateFailed
ModuleName = types.ModuleName
StoreKey = types.StoreKey
RouterKey = types.RouterKey
QuerierRoute = types.QuerierRoute
DefaultParamspace = types.DefaultParamspace
RawPriceFeedPrefix = types.RawPriceFeedPrefix
CurrentPricePrefix = types.CurrentPricePrefix
AssetPrefix = types.AssetPrefix
OraclePrefix = types.OraclePrefix
TypeMsgPostPrice = types.TypeMsgPostPrice
QueryCurrentPrice = types.QueryCurrentPrice
QueryRawPrices = types.QueryRawPrices
QueryAssets = types.QueryAssets
2019-11-25 19:46:02 +00:00
)
var (
// functions aliases
RegisterCodec = types.RegisterCodec
ErrEmptyInput = types.ErrEmptyInput
ErrExpired = types.ErrExpired
ErrNoValidPrice = types.ErrNoValidPrice
ErrInvalidAsset = types.ErrInvalidAsset
ErrInvalidOracle = types.ErrInvalidOracle
NewGenesisState = types.NewGenesisState
DefaultGenesisState = types.DefaultGenesisState
ValidateGenesis = types.ValidateGenesis
NewMsgPostPrice = types.NewMsgPostPrice
ParamKeyTable = types.ParamKeyTable
2019-11-27 14:45:59 +00:00
NewParams = types.NewParams
DefaultParams = types.DefaultParams
NewKeeper = keeper.NewKeeper
NewQuerier = keeper.NewQuerier
2019-11-25 19:46:02 +00:00
// variable aliases
2019-12-04 16:32:08 +00:00
ModuleCdc = types.ModuleCdc
KeyMarkets = types.KeyMarkets
2019-11-25 19:46:02 +00:00
)
type (
2019-12-04 16:32:08 +00:00
Market = types.Market
Markets = types.Markets
Oracle = types.Oracle
Oracles = types.Oracles
CurrentPrice = types.CurrentPrice
PostedPrice = types.PostedPrice
SortDecs = types.SortDecs
2019-11-25 19:46:02 +00:00
GenesisState = types.GenesisState
MsgPostPrice = types.MsgPostPrice
2019-11-27 14:45:59 +00:00
Params = types.Params
2019-11-25 19:46:02 +00:00
ParamSubspace = types.ParamSubspace
QueryRawPricesResp = types.QueryRawPricesResp
QueryAssetsResp = types.QueryAssetsResp
2019-11-27 14:45:59 +00:00
Keeper = keeper.Keeper
2019-11-25 19:46:02 +00:00
)