Documentation ¶
Index ¶
- func CreateBankGenesisState(t *testing.T, cfg network.Config, initialSubaccountModuleBalance int64) []byte
- func MsgCancelOrderExec(clientCtx client.Context, owner sdk.AccAddress, number uint32, clientId uint64, ...) (testutil.BufferWriter, error)
- func MsgPlaceOrderExec(clientCtx client.Context, owner sdk.AccAddress, number uint32, clientId uint64, ...) (testutil.BufferWriter, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBankGenesisState ¶
func CreateBankGenesisState( t *testing.T, cfg network.Config, initialSubaccountModuleBalance int64, ) []byte
CreateBankGenesisState returns the marshaled genesis state for the bank module. It will set the balance of the subaccount module in the genesis. If the provided subaccount module balance is negative, this function will panic.
func MsgCancelOrderExec ¶
func MsgCancelOrderExec( clientCtx client.Context, owner sdk.AccAddress, number uint32, clientId uint64, clobPairId uint32, goodTilBlock uint32, ) (testutil.BufferWriter, error)
MsgCancelOrderExec broadcasts a cancel order message.
func MsgPlaceOrderExec ¶
func MsgPlaceOrderExec( clientCtx client.Context, owner sdk.AccAddress, number uint32, clientId uint64, clobPairId uint32, side types.Order_Side, quantums satypes.BaseQuantums, subticks uint64, goodTilBlock uint32, ) (testutil.BufferWriter, error)
MsgPlaceOrderExec broadcasts a place order message.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.