Documentation ¶
Index ¶
- Constants
- func CallContractSudo(sdkCtx sdk.Context, k *keeper.Keeper, contractAddr string, msg interface{}, ...) ([]byte, error)
- func PopulateAllOrderbooks(ctx sdk.Context, keeper *keeper.Keeper, ...) *datastructures.TypedNestedSyncMap[string, types.PairString, *types.OrderBook]
- func PopulateOrderbook(ctx sdk.Context, keeper *keeper.Keeper, contractAddr types.ContractAddress, ...) *types.OrderBook
- func SetPriceStateFromExecutionOutcome(ctx sdk.Context, keeper *keeper.Keeper, contractAddr types.ContractAddress, ...)
Constants ¶
View Source
const ErrWasmModuleInstCPUFeatureLiteral = "Error instantiating module: CpuFeature"
View Source
const LogAfter = 5 * time.Second
View Source
const SudoGasEventKey = "sudo-gas"
Variables ¶
This section is empty.
Functions ¶
func CallContractSudo ¶
func PopulateAllOrderbooks ¶
func PopulateAllOrderbooks( ctx sdk.Context, keeper *keeper.Keeper, contractsAndPairs map[string][]types.Pair, ) *datastructures.TypedNestedSyncMap[string, types.PairString, *types.OrderBook]
func PopulateOrderbook ¶
func SetPriceStateFromExecutionOutcome ¶
func SetPriceStateFromExecutionOutcome( ctx sdk.Context, keeper *keeper.Keeper, contractAddr types.ContractAddress, pair types.Pair, outcome exchange.ExecutionOutcome, )
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.