package
0.19.17
Repository: https://github.com/okex/exchain.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
ConvertTokenPairToInstrumentV2 convert TokenPair to InstrumentV2.
No description provided by the author
address is required.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
orderId is required.
invalid param side, must be buy or sell.
No description provided by the author
product does not exist.
product is required.
GenerateTx return transaction, called at DeliverTx.
GetAllKlineMap return map about kline table names.
No description provided by the author
No description provided by the author
GetKlineTableNameByFreq return table name.
MustNewKlineFactory will panic when err occurred during NewKlineFactory.
NewErrorsMerged plenty of errors into a single error.
No description provided by the author
NewKlineFactory generate kline type by factory pattern.
NewKlineM1 create a instance of KlineM1.
NewKlineM10080 create a instance of NewKlineM10080.
NewKlineM120 create a instance of KlineM120.
NewKlineM1440 create a instance of NewKlineM1440.
NewKlineM15 create a instance of KlineM15.
NewKlineM240 create a instance of KlineM240.
NewKlineM3 create a instance of KlineM3.
NewKlineM30 create a instance of KlineM30.
NewKlineM360 create a instance of KlineM360.
NewKlineM4320 create a instance of KlineM4320.
NewKlineM44640 create a instance of KlineM44640.
NewKlineM5 create a instance of KlineM5.
NewKlineM525600 create a instance of KlineM525600.
NewKlineM60 create a instance of KlineM60.
NewKlineM720 create a instance of KlineM720.
NewKlinesFactory generate kline type by type of kline.
No description provided by the author
NewQueryAccountOrdersParams creates a new instance of QueryAccountOrdersParams.
NewQueryDealsParams creates a new instance of QueryDealsParams.
NewQueryDexFeesParams creates a new instance of QueryDexFeesParams.
NewQueryFarmDashboardParams creates a new instance of QueryFarmDashboardParams.
NewQueryFarmFirstPoolParams creates a new instance of QueryFarmFirstPoolParams.
NewQueryFarmPoolsParams creates a new instance of QueryFarmPoolsParams.
NewQueryFarmStakedInfoParams creates a new instance of QueryFarmStakedInfoParams.
NewQueryFeeDetailsParams creates a new instance of QueryFeeDetailsParams.
NewQueryKlinesParams creates a new instance of QueryKlinesParams.
NewQueryMatchParams creates a new instance of QueryMatchParams.
NewQueryOrderListParams creates a new instance of QueryOrderListParams.
NewQuerySwapBuyInfoParams creates a new instance of QuerySwapLiquidityInfoParams.
NewQuerySwapTokensParams creates a new instance of QueryDexFeesParams.
NewQuerySwapWatchlistParams creates a new instance of QuerySwapWatchlistParams.
NewQueryTxListParams creates a new instance of QueryTxListParams.
No description provided by the author
nolint.
TimeString format time.
ToIKlinesArray Convert kline data to array for restful interface.
nolint.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
const uint32.
const uint32.
const uint32.
const uint32.
const uint32.
const uint32.
const uint32.
const uint32.
const uint32.
const uint32.
const uint32.
const uint32.
const uint32.
const uint32.
const uint32.
const uint32.
const uint32.
const uint32.
const uint32.
const uint32.
No description provided by the author
const uint32.
nolint.
nolint.
No description provided by the author
farm pool status.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
farm sort column.
No description provided by the author
sort direction.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ModuleName is the name of the backend module.
No description provided by the author
QuerierRoute is the querier route for the backend module.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
query key.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
query endpoints supported by the backend querier.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
query key.
No description provided by the author
v2.
No description provided by the author
No description provided by the author
No description provided by the author
RouterKey is the msg router key for the backend module.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
swap business type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
watchlist sort column.
sort direction.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

BaseKline define the basic data of Kine.
No description provided by the author
No description provided by the author
No description provided by the author
nolint.
FakeWSEvent won't result in sending out tendermint event.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
KlineM1 define kline data in 1 minute.
KlineM10080 define kline data in 1 week.
KlineM120 define kline data in 2 hours.
KlineM1440 define kline data in 1 day.
KlineM15 define kline data in 15 minutes.
KlineM240 define kline data in 4 hours.
KlineM3 define kline data in 3 minutes.
KlineM30 define kline data in 30 minutes.
KlineM360 define kline data in 6 hours.
KlineM4320 define kline data in 1 day.
KlineM44640 define kline data in 1 day.
KlineM5 define kline data in 5 minutes.
KlineM525600 define kline data in 1 day.
KlineM60 define kline data in 1 hour.
KlineM720 define kline data in 12 hours.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
nolint.
nolint.
No description provided by the author
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
No description provided by the author
nolint.
nolint.
No description provided by the author
nolint.
No description provided by the author
nolint.
nolint.
nolint.
nolint.
nolint.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

DexKeeper expected dex keeper.
FarmKeeper expected farm keeper.
nolint.
No description provided by the author
MarketKeeper expected market keeper which would get data from pulsar & redis.
MintKeeper expected mint keeper.
OrderKeeper expected order keeper.
SwapKeeper expected swap keeper.
TokenKeeper expected token keeper.

# Type aliases

No description provided by the author
No description provided by the author
nolint.
nolint.
No description provided by the author
No description provided by the author