Module entry

Module entry 

Source
Expand description

Entrypoint messages for the market

Structs§

ClosedPositionCursor
A cursor used for paginating the closed position history
ClosedPositionsResp
Return value from QueryMsg::ClosedPositionHistory
DeltaNeutralityFeeResp
Response for QueryMsg::DeltaNeutralityFee
ExecutedLimitOrder
History information on a limit order which was triggered.
Fees
Fees held within the market contract.
InitialPrice
Initial price when instantiating a contract
InstantiateMsg
The InstantiateMsg comes from Factory only
LimitOrderHistoryResp
Response for QueryMsg::LimitOrderHistory
LimitOrderResp
Return value from QueryMsg::LimitOrder.
LimitOrdersResp
Response for QueryMsg::LimitOrders
LiquidityCooldown
When a liquidity cooldown period will end
LpAction
A distinct lp history action
LpActionHistoryResp
Response for QueryMsg::LpActionHistory
LpHistorySummary
The summary for LP history
LpInfoResp
Returned by QueryMsg::LpInfo
MigrateMsg
Placeholder migration message
NewCopyTradingParams
Parameter for the copy trading parameter
NewCounterTradeParams
Parameters passed as part of factory contract
NewMarketParams
Config info passed on to all sub-contracts in order to add a new market.
OraclePriceFeedPythResp
Part of OraclePriceResp
OraclePriceFeedRujiraResp
Part of OraclePriceResp
OraclePriceFeedSeiResp
Part of OraclePriceResp
OraclePriceFeedSimpleResp
Part of OraclePriceResp
OraclePriceFeedStrideResp
Part of OraclePriceResp
OraclePriceResp
Response for QueryMsg::OraclePrice
PositionAction
A distinct position history action
PositionActionHistoryResp
Response for QueryMsg::PositionActionHistory
PriceForQuery
Use this price as the current price during a query.
PriceWouldTriggerResp
Would a price update trigger a liquidation/take profit/etc?
ReferralStatsResp
Returned by QueryMsg::ReferralStats
SlippageAssert
There are two sources of slippage in the protocol:
SpotPriceHistoryResp
Response for QueryMsg::SpotPriceHistory
StatusResp
Overall market status information
TradeHistorySummary
The summary for trade history
TraderActionHistoryResp
Response for QueryMsg::TraderActionHistory
UnstakingStatus
Status of an ongoing unstaking process.

Enums§

ExecuteMsg
Execute message for the market contract
ExecuteOwnerMsg
Owner-only messages
LimitOrderResult
The result of triggering a limit order
LpActionKind
Kind of action for a LpAction.
PositionActionKind
Action taken by trader for a PositionAction
PositionsQueryFeeApproach
When querying an open position, how do we calculate PnL vis-a-vis fees?
QueryMsg
Query messages on the market contract
StopLoss
Stop loss configuration
SudoMsg
Sudo message for the market contract