Documentation ¶
Index ¶
- Constants
- Variables
- func CreateAssetMetadata(keeper *keeper.Keeper, ctx sdk.Context) types.AssetMetadata
- func CreateNLongBook(keeper *keeper.Keeper, ctx sdk.Context, n int) []types.LongBook
- func CreateNShortBook(keeper *keeper.Keeper, ctx sdk.Context, n int) []types.ShortBook
- func DexKeeper(t testing.TB) (*keeper.Keeper, sdk.Context)
- func EpochKeeper(t testing.TB) (*keeper.Keeper, sdk.Context)
- func SeedPriceSnapshot(ctx sdk.Context, k *keeper.Keeper, price string, timestamp uint64)
- func TestApp() *app.App
Constants ¶
View Source
const ( TestAccount = "sei1yezq49upxhunjjhudql2fnj5dgvcwjj87pn2wx" TestContract = "sei1ghd753shjuwexxywmgs4xz7x2q732vcnkm6h2pyv9s6ah3hylvrqladqwc" TestAccount2 = "sei1vk2f6aps83xahv2sql4equx8fa95jgcnsdxkvr" TestContract2 = "sei17p9rzwnnfxcjp32un9ug7yhhzgtkhvl9jfksztgw5uh69wac2pgsrtqewe" TestPriceDenom = "usdc" TestAssetDenom = "atom" )
Variables ¶
View Source
var ( TestTicksize = sdk.OneDec() TestPair = types.Pair{ PriceDenom: TestPriceDenom, AssetDenom: TestAssetDenom, PriceTicksize: &TestTicksize, QuantityTicksize: &TestTicksize, } )
Functions ¶
func CreateAssetMetadata ¶
func CreateNLongBook ¶
func CreateNShortBook ¶
func SeedPriceSnapshot ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.