Documentation ¶
Index ¶
- Constants
- Variables
- func ClearStore(ctx sdk.Context, storeKey sdk.StoreKey)
- func DataTypeUpdate(ctx sdk.Context, storeKey sdk.StoreKey, _ codec.BinaryCodec) error
- func NextSettlementIDPrefix(contractAddr string, priceDenom string, assetDenom string) []byte
- func OldPairPrefix(priceDenom string, assetDenom string) []byte
- func PriceSnapshotUpdate(ctx sdk.Context, paramStore paramtypes.Subspace) error
- func SettlementEntryPrefix(contractAddr string, priceDenom string, assetDenom string) []byte
- func V10ToV11(ctx sdk.Context, dexkeeper keeper.Keeper) error
- func V11ToV12(ctx sdk.Context, dexkeeper keeper.Keeper) error
- func V12ToV13(ctx sdk.Context, dexkeeper keeper.Keeper) error
- func V13ToV14(ctx sdk.Context, dexkeeper keeper.Keeper) error
- func V14ToV15(ctx sdk.Context, dexkeeper keeper.Keeper) error
- func V15ToV16(ctx sdk.Context, dexkeeper keeper.Keeper) error
- func V16ToV17(ctx sdk.Context, dexkeeper keeper.Keeper) error
- func V4ToV5(ctx sdk.Context, storeKey sdk.StoreKey, paramStore paramtypes.Subspace) error
- func V5ToV6(ctx sdk.Context, storeKey sdk.StoreKey, _ codec.BinaryCodec) error
- func V6ToV7(ctx sdk.Context, storeKey sdk.StoreKey) error
- func V7ToV8(ctx sdk.Context, storeKey sdk.StoreKey) error
- func V8ToV9(ctx sdk.Context, dexkeeper keeper.Keeper) error
- func V9ToV10(ctx sdk.Context, dexkeeper keeper.Keeper) error
Constants ¶
View Source
const OldPairSeparator = '|'
View Source
const PriceTickSizeKey = "ticks"
View Source
const QuantityTickSizeKey = "quantityticks"
View Source
const RegisteredPairCount = "rpcnt"
Variables ¶
View Source
var DexPrefixes = []string{ types.LongBookKey, types.ShortBookKey, "TriggerBook-value-", types.OrderKey, types.TwapKey, types.RegisteredPairKey, types.OrderKey, types.CancelKey, types.AccountActiveOrdersKey, types.NextOrderIDKey, types.MatchResultKey, types.MemOrderKey, types.MemCancelKey, types.MemDepositKey, types.PriceKey, "SettlementEntry-", "NextSettlementID-", }
Functions ¶
func ClearStore ¶
*
- CAUTION: this function clears up the entire `dex` module store, so it should only ever
- be used outside of a production setting.
func DataTypeUpdate ¶
*
- No `dex` state exists in any public chain at the time this data type update happened.
- Any new chain (including local ones) should be based on a Sei version newer than this update
- and therefore doesn't need this migration
func NextSettlementIDPrefix ¶
func OldPairPrefix ¶
func PriceSnapshotUpdate ¶
func PriceSnapshotUpdate(ctx sdk.Context, paramStore paramtypes.Subspace) error
func SettlementEntryPrefix ¶
func V4ToV5 ¶
*
- No `dex` state exists in any public chain at the time this data type update happened.
- Any new chain (including local ones) should be based on a Sei version newer than this update
- and therefore doesn't need this migration
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.