A Stock Analysis
A股实时行情与分时量能分析
Call guide and best practices for the configurable crypto price prediction market contracts GouGouBiMarketConfigurable.sol and GouGouBiMarketConfigurableFactory.sol, including factory creation parameters, market configuration fields, core trading/settlement methods, and conventions for calling the contracts from scripts, frontends, or OpenClow workflows via ethers/web3. Use this skill when you need to create new prediction markets, buy YES/NO, swap positions, or redeem settlements.
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
SkillHub CLI
skillhub install franckstone/market-configurable-skillsExaminez la source et la compatibilité, puis suivez les étapes d’installation.
Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.
contracts/contracts/GouGouBiMarketConfigurable.sol
contracts/contracts/GouGouBiMarketConfigurableFactory.sol
token0/token1 or the reverse (reverseOrder).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).
GouGouBiMarketConfigurableFactoryowner: factory admin, manages the creator whitelist.marketImplementation: implementation contract being cloned (GouGouBiMarketConfigurable).isWhitelistedCreator[address]: whether an address is allowed to call createMarket.markets[]: list of all created market addresses.marketIndex[market]: index of a market address (starting from 1, 0 means not created by this factory).marketRecords[index]: creation records (see below).MarketRecord structure (read-only)For each market created by the factory:
market: market contract addresscreator: creator addressmarketName: market nameuniswapV3Pool: Uniswap V3 pool addressliquidityToken: liquidity token address, address(0) means native coinfeeRecipient: fee recipient addressfeeRate: fee rate (denominator 10000)createdAt: creation timestampCes informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.
# 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/token1` or 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). --- ## 2. Factory contract `GouGouBiMarketConfigurableFactory` ### 2.1 Core roles and state - `owner`: factory admin, manages the creator whitelist. - `marketImplementation`: implementation contract being cloned (`GouGouBiMarketConfigurable`). - `isWhitelistedCreator[address]`: whether an address is allowed to call `createMarket`. - `markets[]`: list of all created market addresses. - `marketIndex[market]`: index of a market address (starting from 1, 0 means not created by this factory). - `marketRecords[index]`: creation records (see below). ### 2.2 `MarketRecord` structure (read-only) For each market created by the factory: - `market`: market contract address - `creator`: creator address - `marketName`: market name - `uniswapV3Pool`: Uniswap V3 pool address - `liquidityToken`: liquidity token address, `address(0)` means native coin - `feeRecipient`: fee recipient address - `feeRate`: fee rate (denominator 10000) - `createdAt`: creation timestamp - The following fields...
A股实时行情与分时量能分析
A股模拟交易系统 - 数据爬取、存储、策略回测、模拟交易 / A-Share Paper Trading System - Data Fetch, Storage, Backtest, Simulation
Discover, install, update, or create the right skill when a workflow gap appears. Use when a task is repetitive, a role lacks a reliable procedure, an existing skill might save time, ClawHub search/install coul...
AI Automation Agency Blueprint