committee_prediction_market
SKILL.md
Committee Prediction Market
Usage
- Category: Ecosystem
- Mode: guide
- Version: 0.1.0
Input Example
{
"action": "create_proposal",
"proposalName": "BTC closes above 120000 USDT on 2026-06-30",
"deadline": 1782777600,
"liquidityToken": "0x...",
"proposalSkills": "Use Binance BTCUSDT daily close; settle in Beijing time; fetch final close before committee settlement vote.",
"stakeAmountDoge": 10
}
Upstream Source
- Adapted from:
gougoubi-ai/committee-prediction-market-skills - Upstream author:
frank - Upstream X:
@gougoubi_ai - Canonical skill spec:
https://github.com/gougoubi-ai/committee-prediction-market-skills/blob/main/SKILLS.md - Repository:
https://github.com/gougoubi-ai/committee-prediction-market-skills
Deployment Anchors
- Network: BSC mainnet (
chainId = 56) - Factory:
0xa334AcEFc50AE494610678FBf7e2A35Ca05Ff336 - DOGE staking token:
0xb05678Ed0c9559955559DE864829a0c8AF574444 - Proposal and Condition contracts are factory-created minimal clones
Lifecycle
- Create a proposal:
approve DOGE to the Factory, then call
proposeMarketCreation(..., skills, ..., stakeAmount). - Join the proposal committee:
call
stakeForProposalCommittee(proposal, amount), and querygetProposalCommitteeMinStakeToJoin(proposal)first if the committee is already full. - Create a condition:
a committee member calls
createConditions(..., _rules, _skills, _isNormalized). - Activate or reject the condition:
committee members call
voteOnConditionActivation(condition, approve)until the 2/3 threshold is reached. - Trade or provide liquidity:
only when the condition status is
ACTIVE, useaddLiquidity,buyYes,buyNo,sellYes,sellNo, or swaps. - Vote on settlement:
committee members lock at least 10 DOGE and call
conditionSettlementVoteLock/voteOnConditionResult. - Initiate a dispute:
within the dispute window, call
initiateDispute(condition, evidence, lockAmount)with at least 10 DOGE. - Run supreme committee arbitration:
supreme members stake at least 100 DOGE and top-21 members call
voteConditionDisputeSupreme. - Finalize and claim:
once
SETTLED, users canredeem/claimLp, and governance members canclaimGovernanceReward.
skills Metadata Conventions
Proposal.skillsdescribes how the overall proposal should be queried and settled.Condition.skillsdescribes how one specific condition should be queried or executed.- Prefer putting timezone, data source, API URL, parsing hints, and settlement rules into these fields so downstream Agents can generate scripts or external calls directly.
Key Constants
MIN_STAKE_AMOUNT: 10 DOGECOMMITTEE_MIN_SIZE: 3SETTLEMENT_BOND_MIN: 10 DOGEDISPUTE_BOND_MIN: 10 DOGESUPREME_MIN_STAKE_AMOUNT: 100 DOGEGOVERNANCE_SIZE: 21SETTLEMENT_VOTE_WINDOW_SECONDS: 600DISPUTE_WINDOW_SECONDS: 600SETTLEMENT_PENALTY_WINDOW_SECONDS: 600
Guardrails
- Always read
Proposal.conditionStatus(conditionContract)before choosing the next call. - DOGE allowance to the Factory is a prerequisite for proposal creation, committee staking, and supreme staking.
- Committee-only actions:
createConditions, activation votes, settlement votes. - Supreme-only dispute arbitration: top 21 stakers returned by
getSupremeCommitteeMembers. - Trading is valid only after
ACTIVE;redeemandclaimLpare valid only afterSETTLED. - Keep human confirmation before any write call that stakes, votes, disputes, trades, or redeems.
Common Contract Surface
- Factory:
proposeMarketCreation,stakeForProposalCommittee,stakeForSupremeCommittee,voteConditionDisputeSupreme,claimGovernanceReward,penalizeProposalCommitteeForNoVote - Proposal:
createConditions,voteOnConditionActivation,conditionSettlementVoteLock,voteOnConditionResult,initiateDispute,checkConditionStatus - Condition:
addLiquidity,buyYes,buyNo,sellYes,sellNo,swapYesForNo,swapNoForYes,redeem,claimLp
Notes
- This local skill packages the upstream call conventions into the SkillsHub format; it does not bundle the upstream contracts or ABIs.
- If you need full ABI fragments, event names, or state-machine details, use the upstream
SKILLS.mdas the canonical reference.
Source Anchors
- Upstream skill spec:
https://github.com/gougoubi-ai/committee-prediction-market-skills/blob/main/SKILLS.md - Upstream repository:
https://github.com/gougoubi-ai/committee-prediction-market-skills - Upstream X profile:
https://x.com/gougoubi_ai
Weekly Installs
1
Repository
brief-onchain/skills-labFirst Seen
9 days ago
Installed on
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1