Module levana_perpswap_cosmos::contracts::market::entry
source · Expand description
Entrypoint messages for the market
Structs§
- A cursor used for paginating the closed position history
- Return value from QueryMsg::ClosedPositionHistory
- Response for QueryMsg::DeltaNeutralityFee
- History information on a limit order which was triggered.
- Fees held within the market contract.
- Initial price when instantiating a contract
- The InstantiateMsg comes from Factory only
- Response for QueryMsg::LimitOrderHistory
- Return value from QueryMsg::LimitOrder.
- Response for QueryMsg::LimitOrders
- When a liquidity cooldown period will end
- A distinct lp history action
- Response for QueryMsg::LpActionHistory
- The summary for LP history
- Returned by QueryMsg::LpInfo
- Placeholder migration message
- Parameter for the copy trading parameter
- Config info passed on to all sub-contracts in order to add a new market.
- Part of OraclePriceResp
- Part of OraclePriceResp
- Part of OraclePriceResp
- Part of OraclePriceResp
- Response for QueryMsg::OraclePrice
- A distinct position history action
- Response for QueryMsg::PositionActionHistory
- Use this price as the current price during a query.
- Would a price update trigger a liquidation/take profit/etc?
- Returned by QueryMsg::ReferralStats
- There are two sources of slippage in the protocol:
- Response for QueryMsg::SpotPriceHistory
- Overall market status information
- The summary for trade history
- Response for QueryMsg::TraderActionHistory
- Status of an ongoing unstaking process.
Enums§
- Execute message for the market contract
- Owner-only messages
- The result of triggering a limit order
- Kind of action for a LpAction.
- Action taken by trader for a PositionAction
- When querying an open position, how do we calculate PnL vis-a-vis fees?
- Query messages on the market contract
- Stop loss configuration
- Sudo message for the market contract