Module levana_perpswap_cosmos::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 crate::contracts::market::entry::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.