Futarchy market
Create a futarchy market
await futarchy.createProposal({
marketName: `Will proposal "GIP-120: Should GnosisDAO acquire Headquarters (HQ.xyz) to Accelerate Gnosis 3.0" be accepted by February 1 2025, 00:00 UTC?`,
category: "misc",
lang: "en_US",
collateralToken1: GNO_ADDRESS,
collateralToken2: wstETH_ADDRESS,
minBond: 1e18, // Reality.eth minimum bond that may be used for an answer
openingTime: 1767139200, //2025-12-31T00:00:00.000Z
})Split, merge and redeem a conditional market
Splitting
await collateralToken.approve(futarchyRouter, 1e18); // allow the router to spend your collateral tokens
await futarchyRouter.splitPosition(
futarchyProposal, // proposal address
collateralToken, // e.g.: GNO or wstETH
1e18, // split amount
);Merging
Last updated