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

79 lines
3.0 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
EventTypeMarketPriceUpdated = types.EventTypeMarketPriceUpdated
EventTypeOracleUpdatedPrice = types.EventTypeOracleUpdatedPrice
2019-12-04 16:32:08 +00:00
EventTypeNoValidPrices = types.EventTypeNoValidPrices
AttributeValueCategory = types.AttributeValueCategory
AttributeMarketID = types.AttributeMarketID
AttributeMarketPrice = types.AttributeMarketPrice
AttributeOracle = types.AttributeOracle
AttributeExpiry = types.AttributeExpiry
2019-12-04 16:32:08 +00:00
AttributeKeyPriceUpdateFailed = types.AttributeKeyPriceUpdateFailed
ModuleName = types.ModuleName
StoreKey = types.StoreKey
RouterKey = types.RouterKey
QuerierRoute = types.QuerierRoute
DefaultParamspace = types.DefaultParamspace
RawPriceFeedPrefix = types.RawPriceFeedPrefix
CurrentPricePrefix = types.CurrentPricePrefix
MarketPrefix = types.MarketPrefix
2019-12-04 16:32:08 +00:00
OraclePrefix = types.OraclePrefix
TypeMsgPostPrice = types.TypeMsgPostPrice
QueryCurrentPrice = types.QueryCurrentPrice
QueryRawPrices = types.QueryRawPrices
QueryMarkets = types.QueryMarkets
2019-11-25 19:46:02 +00:00
)
var (
// functions aliases
RegisterCodec = types.RegisterCodec
ErrEmptyInput = types.ErrEmptyInput
ErrExpired = types.ErrExpired
ErrNoValidPrice = types.ErrNoValidPrice
ErrInvalidMarket = types.ErrInvalidMarket
2019-11-25 19:46:02 +00:00
ErrInvalidOracle = types.ErrInvalidOracle
NewGenesisState = types.NewGenesisState
DefaultGenesisState = types.DefaultGenesisState
NewMsgPostPrice = types.NewMsgPostPrice
2019-11-27 14:45:59 +00:00
NewParams = types.NewParams
DefaultParams = types.DefaultParams
ParamKeyTable = types.ParamKeyTable
2019-11-27 14:45:59 +00:00
NewKeeper = keeper.NewKeeper
NewQuerier = keeper.NewQuerier
2019-11-25 19:46:02 +00:00
// variable aliases
ModuleCdc = types.ModuleCdc
KeyMarkets = types.KeyMarkets
DefaultMarkets = types.DefaultMarkets
2019-11-25 19:46:02 +00:00
)
type (
GenesisState = types.GenesisState
Market = types.Market
Markets = types.Markets
CurrentPrice = types.CurrentPrice
PostedPrice = types.PostedPrice
SortDecs = types.SortDecs
MsgPostPrice = types.MsgPostPrice
Params = types.Params
QueryPricesParams = types.QueryPricesParams
Keeper = keeper.Keeper
2019-11-25 19:46:02 +00:00
)