abci

package
v0.1.429-bweng-test-1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: Apache-2.0 Imports: 12 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 typesutils.ContractAddress) wasm.SudoOrderPlacementMsg

func (KeeperWrapper) GetPlaceSudoMsg

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

func (KeeperWrapper) HandleBBNewBlock

func (w KeeperWrapper) HandleBBNewBlock(sdkCtx sdk.Context, contractAddr string, epoch int64) error

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) 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