abci

package
v0.0.0-...-f42d900 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const MaxOrdersPerSudoCall = 50000

There is a limit on how many bytes can be passed to wasm VM in a single call, so we shouldn't bump this number unless there is an upgrade to wasm VM

Variables

This section is empty.

Functions

This section is empty.

Types

type KeeperWrapper

type KeeperWrapper struct {
	*keeper.Keeper
}

func (KeeperWrapper) GetDepositSudoMsg

func (w KeeperWrapper) GetDepositSudoMsg(ctx sdk.Context, typedContractAddr types.ContractAddress) types.SudoOrderPlacementMsg

func (KeeperWrapper) GetPlaceSudoMsg

func (w KeeperWrapper) GetPlaceSudoMsg(ctx sdk.Context, typedContractAddr types.ContractAddress, registeredPairs []types.Pair) []types.SudoOrderPlacementMsg

func (KeeperWrapper) HandleEBCancelOrders

func (w KeeperWrapper) HandleEBCancelOrders(ctx context.Context, sdkCtx sdk.Context, tracer *otrace.Tracer, contractAddr string, registeredPairs []types.Pair) error

func (KeeperWrapper) HandleEBDeposit

func (w KeeperWrapper) HandleEBDeposit(ctx context.Context, sdkCtx sdk.Context, tracer *otrace.Tracer, contractAddr string, message types.SudoOrderPlacementMsg) error

func (KeeperWrapper) HandleEBPlaceOrders

func (w KeeperWrapper) HandleEBPlaceOrders(ctx context.Context, sdkCtx sdk.Context, tracer *otrace.Tracer, contractAddr string, registeredPairs []types.Pair) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL