package
0.7.6
Repository: https://github.com/dfinance/dnode.git
Documentation: pkg.go.dev

# Functions

DefaultGenesisState defines default GenesisState for orders.
GetOrderKey returns storage key for order ID.
NewDirectionRaw creates a new Direction object without checks.
NewFullyFilledOrderEvent creates an Event on order fully filled (triggered by Matcher).
No description provided by the author
NewMsgPost creates MsgPostOrder message object.
NewMsgRevokeOrder creates MsgRevokeOrder message object.
NewOrder creates a new order object.
NewOrderCanceledEvent creates an Event on order cancel (revoke / TTL).
NewOrderPostedEvent creates an Event on order post (creation).
NewPartiallyFilledOrderEvent creates an Event on order partially filled (triggered by Matcher).
RegisterCodec registers module specific messages.
RequestMarketsPerms returns module perms used by this module.

# Constants

No description provided by the author
No description provided by the author
.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Execute order fills.
Init genesis.
Lock order coins.
Post a new order.
Revoke order.
Unlock order coins.
Read order / orders.
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
Asset code not exists.
Direction enum is invalid.
MarketID is invalid.
Order not exists.
Owner is empty.
Price is empty.
Quantity is empty.
Ttl is 0.
Storage keys.
Storage keys.
No description provided by the author
Storage keys.

# Structs

GenesisState orders state that must be provided at genesis.
Client message to post an order object.
Client message to revoke an order.
Market order object type.
OrderBook module orders processing (matching) result type.
Client request for order.
Client request for markets.

# Type aliases

Enum type to define bid/ask order type.
OrderFill slice type.
Order slice type.