Module levana_perpswap_cosmos_msg::contracts::market::position
source · Expand description
Data structures and events for positions
Modules
- Events
Structs
- Instructions to close a position.
- Information on a closed position
- Collateral and USD which will always be non-negative.
- Liquidation margin for a position, broken down by component.
- The position itself
- PositionId
- Query response representing current state of a position
- Response from [QueryMsg::Positions]
- Collateral and USD which can become negative
Enums
- Reason why a position was liquidated
- Outcome of operations which might require closing a position.
- Reason the position was closed
- Query response intermediate value on a position.