Documentation ¶
Index ¶
- Constants
- Variables
- func EndBreatheBlock(ctx sdk.Context, dexKeeper *DexKeeper, govKeeper gov.Keeper, height int64, ...)
- func InitPlugin(appp app.ChainApp, dexKeeper *DexKeeper, tokenMapper tokens.Mapper, ...)
- func RegisterWire(cdc *wire.Codec)
- func Routes(dexKeeper *DexKeeper, tokenMapper tokens.Mapper, govKeeper gov.Keeper) map[string]sdk.Handler
- type DexKeeper
- type Genesis
- type TradingPairMapper
Constants ¶
View Source
const DefaultCodespace = types.DefaultCodespace
View Source
const DefaultDepthLevels = 100 // matches UI requirement
View Source
const DelayedDaysForDelist = 3
View Source
const DexAbciQueryPrefix = "dex"
View Source
const DexMiniAbciQueryPrefix = "dex-mini"
View Source
const MaxDepthLevels = 1000 // matches UI requirement
Variables ¶
View Source
var DefaultGenesis = Genesis{}
View Source
var NewDexKeeper = order.NewDexKeeper
View Source
var NewTradingPairMapper = store.NewTradingPairMapper
Functions ¶
func EndBreatheBlock ¶
func EndBreatheBlock(ctx sdk.Context, dexKeeper *DexKeeper, govKeeper gov.Keeper, height int64, blockTime time.Time)
EndBreatheBlock processes the breathe block lifecycle event.
Types ¶
type Genesis ¶
type Genesis struct { }
TODO: maybe we need other things to put into genesis besides the TradingGenesis
type TradingPairMapper ¶
type TradingPairMapper = store.TradingPairMapper
Click to show internal directories.
Click to hide internal directories.