MarketFactory.sol
市场创建
createMarket(priceId, strikePrice, expiryTime, batchInterval, minLots)
createMarket(priceId, strikePrice, expiryTime, batchInterval, minLots)createMarketWithPositions(priceId, strikePrice, expiryTime, batchInterval, minLots)
createMarketWithPositions(priceId, strikePrice, expiryTime, batchInterval, minLots)createAIMarket(prompt, modelId, expiryTime, minLots)
createAIMarket(prompt, modelId, expiryTime, minLots)MarketMeta
MarketMetastruct MarketMeta {
bytes32 priceId;
int64 strikePrice;
uint256 expiryTime;
address creator;
MarketState state;
bool outcomeYes;
int64 settlementPrice;
uint256 orderBookMarketId;
bool useInternalPositions;
bool isAIMarket;
}状态机
状态转换
From
To
Trigger
Condition
Registry
管理函数
Function
Access
Description
访问控制
Events
Last updated

