MCPcopy Create free account
hub / github.com/Sifchain/sifnode / SetEnabledPools

Method SetEnabledPools

x/margin/types/expected_keepers.go:71–71  ·  view source on GitHub ↗
(ctx sdk.Context, pools []string)

Source from the content-addressed store, hash-verified

69 GetMaxOpenPositions(ctx sdk.Context) uint64
70 GetEnabledPools(ctx sdk.Context) []string
71 SetEnabledPools(ctx sdk.Context, pools []string)
72 IsPoolEnabled(ctx sdk.Context, asset string) bool
73 IsPoolClosed(ctx sdk.Context, asset string) bool
74 IsWhitelistingEnabled(ctx sdk.Context) bool

Callers 6

TestKeeper_OpenFunction · 0.65
TestKeeper_CloseFunction · 0.65
TestKeeper_ForceCloseFunction · 0.65
TestKeeper_OpenCloseFunction · 0.65

Calls

no outgoing calls

Tested by 6

TestKeeper_OpenFunction · 0.52
TestKeeper_CloseFunction · 0.52
TestKeeper_ForceCloseFunction · 0.52
TestKeeper_OpenCloseFunction · 0.52