market-configurable-skills
Installation
SKILL.md
Configurable Crypto Price Prediction Market Skill
1. Protocol and contract overview
- Market contract:
contracts/contracts/GouGouBiMarketConfigurable.sol - Factory contract:
contracts/contracts/GouGouBiMarketConfigurableFactory.sol - Model: Polymarket-style CPMM YES/NO prediction market. Each round has its own YES/NO outcome tokens and uses a constant product market maker.
- Key features:
- Uses Uniswap V3 pool prices as the oracle and computes time-windowed average prices.
- Configurable to predict
token0/token1or the reverse (reverseOrder). - Supports native coin or arbitrary ERC20 as the liquidity token.
- Automatically starts a new round on schedule, and supports expiry handling and abnormal price handling (surfaced via events).
This skill only describes the contract APIs and calling patterns. The actual deployment network and addresses should be provided by the product layer (for example via dApp config files or OpenClow workflow parameters).