Crate af_iperps

Crate af_iperps 

Source
Expand description

Move types for Aftermath’s Perpetuals package

Re-exports§

pub use self::market::MarketParams;
pub use self::market::MarketState;
pub use self::orderbook::Order;
pub use self::position::Position;

Modules§

account
admin
clearing_house
errors
event_ext
event_instance
events
graphqlgraphql
keys
market
math
order_helpers
order_id
orderbook
ordered_map
position
registry
stop_order_helpersstop-orders
Helpers for stop orders.
stop_orders

Constants§

TESTNET_PACKAGE_VERSIONS
Package IDs of the perpetuals contract versions published on testnet, in order of its versions.

Type Aliases§

Account
AccountCap
AccountCapTypeTag
AccountTypeTag
AsksMapDofWrapper
Dynamic object field wrapper for the asks Map ID.
BidsMapDofWrapper
Dynamic object field wrapper for the bids Map ID.
ClearingHouse
ClearingHouseTypeTag
OrderLeafDf
Dynamic field storing a leaf in a Map of Orders.
OrderbookDofWrapper
Dynamic object field wrapper for the Orderbook ID.
PositionDf
Dynamic field storing a Position.
StopOrderTicket
StopOrderTicketTypetag
Vault
VaultDf
Dynamic field storing a Vault.
VaultTypeTag