mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 10:05:18 +00:00
d04aad5cc9
* fix: remove redundant debt limit param * wip: test pricefeed genesis * fix: pricefeed querier * fix: comments, naming * fix: query path * fix: store methods * fix: query methods * fix: standardize genesis validation
72 lines
2.6 KiB
Go
72 lines
2.6 KiB
Go
// nolint
|
|
// autogenerated code using github.com/rigelrozanski/multitool
|
|
// aliases generated for the following subdirectories:
|
|
// ALIASGEN: github.com/kava-labs/kava/x/pricefeed/types/
|
|
// ALIASGEN: github.com/kava-labs/kava/x/pricefeed/keeper/
|
|
package pricefeed
|
|
|
|
import (
|
|
"github.com/kava-labs/kava/x/pricefeed/keeper"
|
|
"github.com/kava-labs/kava/x/pricefeed/types"
|
|
)
|
|
|
|
const (
|
|
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
|
|
MarketPrefix = types.MarketPrefix
|
|
OraclePrefix = types.OraclePrefix
|
|
TypeMsgPostPrice = types.TypeMsgPostPrice
|
|
QueryCurrentPrice = types.QueryCurrentPrice
|
|
QueryRawPrices = types.QueryRawPrices
|
|
QueryMarkets = types.QueryMarkets
|
|
)
|
|
|
|
var (
|
|
// functions aliases
|
|
RegisterCodec = types.RegisterCodec
|
|
ErrEmptyInput = types.ErrEmptyInput
|
|
ErrExpired = types.ErrExpired
|
|
ErrNoValidPrice = types.ErrNoValidPrice
|
|
ErrInvalidMarket = types.ErrInvalidMarket
|
|
ErrInvalidOracle = types.ErrInvalidOracle
|
|
NewGenesisState = types.NewGenesisState
|
|
DefaultGenesisState = types.DefaultGenesisState
|
|
NewMsgPostPrice = types.NewMsgPostPrice
|
|
NewParams = types.NewParams
|
|
DefaultParams = types.DefaultParams
|
|
ParamKeyTable = types.ParamKeyTable
|
|
NewKeeper = keeper.NewKeeper
|
|
NewQuerier = keeper.NewQuerier
|
|
|
|
// variable aliases
|
|
ModuleCdc = types.ModuleCdc
|
|
KeyMarkets = types.KeyMarkets
|
|
DefaultMarkets = types.DefaultMarkets
|
|
)
|
|
|
|
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
|
|
)
|