MCPcopy Create free account
hub / github.com/AmazingAng/PolyWorld / getSampleData

Function getSampleData

src/lib/polymarket.ts:204–231  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

202}
203
204export function getSampleData(): PolymarketEvent[] {
205 return [
206 { id: "s1", title: "Will Trump win the 2028 presidential election?", slug: "will-trump-win-2028", description: "This market will resolve to \"Yes\" if Donald Trump wins the 2028 United States presidential election. The resolution source will be the Associated Press call.", markets: [{ id: "m1", question: "Trump wins 2028?", outcomePrices: ["0.35", "0.65"], outcomes: ["Yes", "No"] }], volume: 15000000, volume_24hr: 890000, endDate: "2028-11-05T00:00:00Z", liquidity: 2500000 },
207 { id: "s2", title: "Will Russia and Ukraine reach a ceasefire by 2026?", slug: "russia-ukraine-ceasefire", description: "Russia Ukraine war ceasefire agreement", markets: [{ id: "m2", question: "Ceasefire by 2026?", outcomePrices: ["0.22", "0.78"], outcomes: ["Yes", "No"] }], volume: 8500000, volume_24hr: 420000 },
208 { id: "s3", title: "Will Bitcoin reach $150,000 in 2026?", slug: "bitcoin-150k", description: "Bitcoin crypto price prediction", markets: [{ id: "m3", question: "BTC > $150K?", outcomePrices: ["0.28", "0.72"], outcomes: ["Yes", "No"] }], volume: 12000000, volume_24hr: 650000 },
209 { id: "s4", title: "Will China invade Taiwan by 2027?", slug: "china-taiwan-invasion", description: "China Taiwan military conflict", markets: [{ id: "m4", question: "China invades Taiwan?", outcomePrices: ["0.06", "0.94"], outcomes: ["Yes", "No"] }], volume: 5200000, volume_24hr: 180000 },
210 { id: "s5", title: "Will Israel and Hamas reach a permanent ceasefire?", slug: "israel-hamas-ceasefire", description: "Israel Hamas Gaza ceasefire deal", markets: [{ id: "m5", question: "Permanent ceasefire?", outcomePrices: ["0.31", "0.69"], outcomes: ["Yes", "No"] }], volume: 6800000, volume_24hr: 310000 },
211 { id: "s6", title: "Will the Federal Reserve cut rates in March 2026?", slug: "fed-rate-cut-march", description: "US Federal Reserve interest rate decision", markets: [{ id: "m6", question: "Rate cut in March?", outcomePrices: ["0.42", "0.58"], outcomes: ["Yes", "No"] }], volume: 9200000, volume_24hr: 520000 },
212 { id: "s7", title: "Will Macron resign before 2027?", slug: "macron-resign", description: "French president Macron resignation", markets: [{ id: "m7", question: "Macron resigns?", outcomePrices: ["0.08", "0.92"], outcomes: ["Yes", "No"] }], volume: 2100000, volume_24hr: 95000 },
213 { id: "s8", title: "Will North Korea conduct a nuclear test in 2026?", slug: "north-korea-nuke-test", description: "North Korea Kim Jong Un nuclear weapons test", markets: [{ id: "m8", question: "Nuclear test in 2026?", outcomePrices: ["0.12", "0.88"], outcomes: ["Yes", "No"] }], volume: 3400000, volume_24hr: 140000 },
214 { id: "s9", title: "Will India GDP growth exceed 7% in 2026?", slug: "india-gdp-2026", description: "India economic growth GDP Modi", markets: [{ id: "m9", question: "GDP > 7%?", outcomePrices: ["0.55", "0.45"], outcomes: ["Yes", "No"] }], volume: 1800000, volume_24hr: 72000 },
215 { id: "s10", title: "Will Milei be re-elected in Argentina?", slug: "milei-reelection", description: "Argentina president Milei election", markets: [{ id: "m10", question: "Milei re-elected?", outcomePrices: ["0.48", "0.52"], outcomes: ["Yes", "No"] }], volume: 1500000, volume_24hr: 65000 },
216 { id: "s11", title: "Will there be a US-China trade deal in 2026?", slug: "us-china-trade", description: "US China trade tariff deal negotiations", markets: [{ id: "m11", question: "Trade deal in 2026?", outcomePrices: ["0.18", "0.82"], outcomes: ["Yes", "No"] }], volume: 7200000, volume_24hr: 380000 },
217 { id: "s12", title: "Will Turkey leave NATO?", slug: "turkey-leave-nato", description: "Turkey NATO membership Erdogan", markets: [{ id: "m12", question: "Turkey exits NATO?", outcomePrices: ["0.03", "0.97"], outcomes: ["Yes", "No"] }], volume: 980000, volume_24hr: 34000 },
218 { id: "s13", title: "Will Starmer call a snap election in 2026?", slug: "starmer-snap-election", description: "UK British prime minister Starmer election", markets: [{ id: "m13", question: "Snap election?", outcomePrices: ["0.07", "0.93"], outcomes: ["Yes", "No"] }], volume: 1100000, volume_24hr: 42000 },
219 { id: "s14", title: "Will Iran develop a nuclear weapon by 2027?", slug: "iran-nuclear-weapon", description: "Iran nuclear program weapons", markets: [{ id: "m14", question: "Iran nuclear weapon?", outcomePrices: ["0.15", "0.85"], outcomes: ["Yes", "No"] }], volume: 4100000, volume_24hr: 190000 },
220 { id: "s15", title: "Will the EU impose new sanctions on Russia in 2026?", slug: "eu-russia-sanctions", description: "European Union Russia sanctions", markets: [{ id: "m15", question: "New EU sanctions?", outcomePrices: ["0.72", "0.28"], outcomes: ["Yes", "No"] }], volume: 2900000, volume_24hr: 110000 },
221 { id: "s16", title: "Will Ethereum reach $10,000?", slug: "eth-10k", description: "Ethereum crypto price", markets: [{ id: "m16", question: "ETH > $10K?", outcomePrices: ["0.12", "0.88"], outcomes: ["Yes", "No"] }], volume: 5600000, volume_24hr: 280000 },
222 { id: "s17", title: "Will Canada elect a Conservative government?", slug: "canada-conservative", description: "Canada Canadian election Poilievre Carney", markets: [{ id: "m17", question: "Conservative win?", outcomePrices: ["0.62", "0.38"], outcomes: ["Yes", "No"] }], volume: 3200000, volume_24hr: 150000 },
223 { id: "s18", title: "Will Saudi Arabia normalize relations with Israel?", slug: "saudi-israel", description: "Saudi Arabia Israel normalization Abraham Accords", markets: [{ id: "m18", question: "Normalization deal?", outcomePrices: ["0.25", "0.75"], outcomes: ["Yes", "No"] }], volume: 2400000, volume_24hr: 88000 },
224 { id: "s19", title: "Will OpenAI release GPT-5 before July 2026?", slug: "gpt5-release", description: "OpenAI GPT-5 AI artificial intelligence", markets: [{ id: "m19", question: "GPT-5 by July?", outcomePrices: ["0.58", "0.42"], outcomes: ["Yes", "No"] }], volume: 4800000, volume_24hr: 250000 },
225 { id: "s20", title: "Will South Korea hold early elections in 2026?", slug: "south-korea-election", description: "South Korea Korean election", markets: [{ id: "m20", question: "Early elections?", outcomePrices: ["0.65", "0.35"], outcomes: ["Yes", "No"] }], volume: 1900000, volume_24hr: 78000 },
226 { id: "s21", title: "Will Zelensky remain president of Ukraine through 2026?", slug: "zelensky-president", description: "Ukraine Zelensky presidency", markets: [{ id: "m21", question: "Zelensky stays?", outcomePrices: ["0.71", "0.29"], outcomes: ["Yes", "No"] }], volume: 2800000, volume_24hr: 130000 },
227 { id: "s22", title: "Will Japan raise interest rates again in 2026?", slug: "japan-rates", description: "Japan Bank of Japan interest rate monetary policy", markets: [{ id: "m22", question: "BOJ rate hike?", outcomePrices: ["0.68", "0.32"], outcomes: ["Yes", "No"] }], volume: 3100000, volume_24hr: 160000 },
228 { id: "s23", title: "Will Germany hold snap elections?", slug: "germany-snap-election", description: "Germany Scholz election coalition", markets: [{ id: "m23", question: "Snap election?", outcomePrices: ["0.45", "0.55"], outcomes: ["Yes", "No"] }], volume: 1600000, volume_24hr: 55000 },
229 { id: "s24", title: "Will there be a new conflict in the South China Sea?", slug: "south-china-sea", description: "China Philippines South China Sea conflict military", markets: [{ id: "m24", question: "SCS conflict?", outcomePrices: ["0.19", "0.81"], outcomes: ["Yes", "No"] }], volume: 2200000, volume_24hr: 92000 },
230 ];
231}

Callers 1

HomeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected