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

79 lines
3.1 KiB
Go
Raw Normal View History

2019-11-25 19:46:02 +00:00
package pricefeed
// DO NOT EDIT - generated by aliasgen tool (github.com/rhuairahrighairidh/aliasgen)
2019-11-25 19:46:02 +00:00
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 (
AttributeExpiry = types.AttributeExpiry
2020-05-07 15:11:10 +00:00
AttributeMarketID = types.AttributeMarketID
AttributeMarketPrice = types.AttributeMarketPrice
AttributeOracle = types.AttributeOracle
AttributeValueCategory = types.AttributeValueCategory
DefaultParamspace = types.DefaultParamspace
EventTypeMarketPriceUpdated = types.EventTypeMarketPriceUpdated
EventTypeNoValidPrices = types.EventTypeNoValidPrices
EventTypeOracleUpdatedPrice = types.EventTypeOracleUpdatedPrice
MaxExpiry = types.MaxExpiry
2020-05-07 15:11:10 +00:00
ModuleName = types.ModuleName
QuerierRoute = types.QuerierRoute
QueryGetParams = types.QueryGetParams
QueryMarkets = types.QueryMarkets
QueryOracles = types.QueryOracles
QueryPrice = types.QueryPrice
QueryRawPrices = types.QueryRawPrices
RouterKey = types.RouterKey
StoreKey = types.StoreKey
TypeMsgPostPrice = types.TypeMsgPostPrice
2019-11-25 19:46:02 +00:00
)
var (
// function aliases
2020-04-06 13:56:59 +00:00
NewKeeper = keeper.NewKeeper
NewQuerier = keeper.NewQuerier
CurrentPriceKey = types.CurrentPriceKey
DefaultGenesisState = types.DefaultGenesisState
DefaultParams = types.DefaultParams
2020-04-06 13:56:59 +00:00
NewCurrentPrice = types.NewCurrentPrice
NewGenesisState = types.NewGenesisState
NewMarket = types.NewMarket
2020-04-06 13:56:59 +00:00
NewMsgPostPrice = types.NewMsgPostPrice
NewParams = types.NewParams
NewPostedPrice = types.NewPostedPrice
2020-04-06 13:56:59 +00:00
NewQueryWithMarketIDParams = types.NewQueryWithMarketIDParams
ParamKeyTable = types.ParamKeyTable
RawPriceKey = types.RawPriceKey
RegisterCodec = types.RegisterCodec
2019-11-25 19:46:02 +00:00
// variable aliases
2020-04-06 13:56:59 +00:00
CurrentPricePrefix = types.CurrentPricePrefix
DefaultMarkets = types.DefaultMarkets
ErrAssetNotFound = types.ErrAssetNotFound
ErrEmptyInput = types.ErrEmptyInput
ErrExpired = types.ErrExpired
ErrInvalidMarket = types.ErrInvalidMarket
ErrInvalidOracle = types.ErrInvalidOracle
ErrNoValidPrice = types.ErrNoValidPrice
KeyMarkets = types.KeyMarkets
ModuleCdc = types.ModuleCdc
RawPriceFeedPrefix = types.RawPriceFeedPrefix
2019-11-25 19:46:02 +00:00
)
type (
2020-04-06 13:56:59 +00:00
Keeper = keeper.Keeper
CurrentPrice = types.CurrentPrice
CurrentPrices = types.CurrentPrices
GenesisState = types.GenesisState
Market = types.Market
Markets = types.Markets
MsgPostPrice = types.MsgPostPrice
Params = types.Params
PostedPrice = types.PostedPrice
PostedPrices = types.PostedPrices
QueryWithMarketIDParams = types.QueryWithMarketIDParams
SortDecs = types.SortDecs
2019-11-25 19:46:02 +00:00
)