MCPcopy Create free account

hub / github.com/AmazingAng/PolyWorld / functions

Functions576 in github.com/AmazingAng/PolyWorld

↓ 1 callersFunctiondetectArbitrage
( markets: ProcessedMarket[], feeRate = 0.02 )
src/lib/arbitrage.ts:28
↓ 1 callersFunctiondetectNewsCatalyst
* Detect "news catalyst" signals: recent news matching a market where smart money is also active.
src/lib/signalEngine.ts:258
↓ 1 callersFunctiondetectTopCluster
* Detect "top cluster" signals: ≥3 top-50 wallets buying same market within 1h. * This is the strongest signal type.
src/lib/signalEngine.ts:195
↓ 1 callersFunctiondetectTopWalletEntries
* Detect "top wallet entry" signals: any top-50 PnL wallet buying in the last hour.
src/lib/signalEngine.ts:127
↓ 1 callersFunctiondiffDays
(a: Date, b: Date)
src/components/CalendarPanel.tsx:25
↓ 1 callersFunctiondismiss
()
src/components/OnboardingModal.tsx:26
↓ 1 callersFunctionexpiryColor
(iso: string | null | undefined)
src/components/PortfolioPanel.tsx:36
↓ 1 callersFunctionextractKeywords
(title: string)
src/lib/signalEngine.ts:100
↓ 1 callersFunctionextractLabels
(questions: string[])
src/lib/marketLabels.ts:51
↓ 1 callersFunctionfeodoToPoints
()
src/app/api/overlay/route.ts:204
↓ 1 callersFunctionfetchAndCacheLiveTrades
Fetch live trades from Polymarket API and persist to DB + cache
src/app/api/smart-money/route.ts:88
↓ 1 callersFunctionfetchBinanceDailyOpen
(symbol: string)
src/lib/priceMonitor.ts:73
↓ 1 callersFunctionfetchClobHistory
Fetch price history from CLOB API for a single token
src/app/api/snapshots/route.ts:39
↓ 1 callersFunctionfetchJsonWithTimeout
(input: RequestInfo | URL, init: RequestInit, timeoutMs = REQUEST_TIMEOUT_MS)
src/components/OrderForm.tsx:58
↓ 1 callersFunctionfetchLiveInfo
( handle: string, )
src/components/LivePanel.tsx:23
↓ 1 callersFunctionfetchOverlayData
(layer: OverlayLayer)
src/components/WorldMap.tsx:213
↓ 1 callersFunctionfetchPrice
(provider: string, symbol: string)
src/lib/priceMonitor.ts:58
↓ 1 callersFunctionfetchTraderActivity
(wallet: string, limit = 100)
src/lib/smartMoney.ts:398
↓ 1 callersFunctionfetchYahooPrice
(symbol: string)
src/lib/priceMonitor.ts:34
↓ 1 callersFunctionfetchZhTranslations
()
src/lib/polymarket.ts:81
↓ 1 callersFunctionfindMarket
(slug: string, markets: ProcessedMarket[])
src/lib/smartSignals.ts:46
↓ 1 callersFunctionfindPlacementSlot
( occupancy: boolean[][], cols: number, colSpan: number, rowSpan: number, )
src/hooks/usePanelDrag.ts:182
↓ 1 callersFunctionfindSimilarMarkets
( target: ProcessedMarket, allMarkets: ProcessedMarket[], topN = 5, )
src/lib/correlation.ts:16
↓ 1 callersFunctionfmtVol
(v: number)
src/components/ChartPanel.tsx:482
↓ 1 callersFunctionformatCountdown
(days: number)
src/components/CalendarPanel.tsx:52
↓ 1 callersFunctionformatDate
(d: Date)
src/components/CalendarPanel.tsx:48
↓ 1 callersFunctionformatDate
(dateStr: string)
src/components/NewsPanel.tsx:41
↓ 1 callersFunctionformatDate
(dateStr: string)
src/components/TweetsPanel.tsx:26
↓ 1 callersFunctionformatEndDate
(d: string | null, t: (key: string, vars?: Record<string, string | number>) => string)
src/components/MarketDetailPanel.tsx:22
↓ 1 callersFunctionformatEndDate
(d: string | null | undefined)
src/components/MarketCard.tsx:22
↓ 1 callersFunctionformatPriceAlertTitle
(alert: PriceAlert)
src/lib/priceMonitor.ts:271
↓ 1 callersFunctiongenerateCountrySummary
(ctx: CountryContext)
src/lib/ai.ts:95
↓ 1 callersFunctiongenerateMarketEmojiIcons
(map: maplibregl.Map)
src/components/WorldMap.tsx:779
↓ 1 callersFunctiongenerateMarketSummary
(ctx: MarketContext)
src/lib/ai.ts:50
↓ 1 callersFunctiongenerateShapeIcons
(map: maplibregl.Map)
src/components/WorldMap.tsx:665
↓ 1 callersFunctiongenerateSignals
( trades: WhaleTrade[], markets: ProcessedMarket[], leaderboard: SmartWallet[], news: NewsItem[], )
src/lib/signalEngine.ts:360
↓ 1 callersFunctiongeocodePending
Fire-and-forget: geocode pending markets without blocking sync
src/lib/sync.ts:37
↓ 1 callersFunctiongeometry
(obj: any)
src/lib/topojson.ts:39
↓ 1 callersFunctiongetAllNoTokenIds
Extract all No token IDs from active sub-markets (second token = No)
src/components/OrderBook.tsx:37
↓ 1 callersFunctiongetAllYesTokenIds
Extract all Yes token IDs from active sub-markets (first token = Yes)
src/components/OrderBook.tsx:22
↓ 1 callersFunctiongetApprovedFlag
(proxy: string)
src/lib/tradeAuth.ts:54
↓ 1 callersFunctiongetBuilderConfig
()
src/lib/polymarketCLOB.ts:23
↓ 1 callersFunctiongetCandleDirection
(symbol: string)
src/lib/priceMonitor.ts:108
↓ 1 callersFunctiongetClientIP
(req: NextRequest)
src/middleware.ts:70
↓ 1 callersFunctiongetContinentByCoords
(lat: number, lng: number)
src/components/WorldMap.tsx:111
↓ 1 callersFunctiongetCountryInfo
(name: string)
src/lib/countries.ts:147
↓ 1 callersFunctiongetGroupKey
(m: ProcessedMarket, tier: number)
src/components/WorldMap.tsx:124
↓ 1 callersFunctiongetLabel
(score: number)
src/app/api/sentiment/route.ts:18
↓ 1 callersFunctiongetLevel
(score: number)
src/lib/impact.ts:21
↓ 1 callersFunctiongetLightweightCharts
()
src/components/ChartPanel.tsx:132
↓ 1 callersFunctiongetMDXComponents
(components?: MDXComponents)
src/components/mdx.tsx:9
↓ 1 callersFunctiongetMonitorStatus
(eventId: string)
src/lib/resolutionSync.ts:434
↓ 1 callersFunctiongetOpenOrders
( creds: L2Creds, proxyAddress: string, signerAddress: string )
src/lib/polymarketCLOB.ts:163
↓ 1 callersFunctiongetPointerGridCell
(metrics: ContainerMetrics, clientX: number, clientY: number)
src/hooks/usePanelDrag.ts:275
↓ 1 callersFunctiongetRegex
(key: string)
src/lib/geo.ts:293
↓ 1 callersFunctiongetRelativeTime
(iso: string)
src/components/WalletButton.tsx:47
↓ 1 callersFunctiongetRelativeTime
(iso: string)
src/components/Header.tsx:47
↓ 1 callersFunctiongetRpcUrls
()
src/app/api/trade/balance/route.ts:16
↓ 1 callersFunctiongetSampleData
()
src/lib/polymarket.ts:204
↓ 1 callersFunctiongetSignalIcon
(type: UnifiedSignalType)
src/lib/signalEngine.ts:80
↓ 1 callersFunctiongetTier
(pathname: string)
src/middleware.ts:63
↓ 1 callersFunctiongetTopOption
Get the top option's label and price for multi-outcome markets
src/components/MarketCard.tsx:39
↓ 1 callersFunctiongetYesTokenId
Parse clobTokenIds field (may be JSON string or array) → Yes token ID
src/app/api/snapshots/route.ts:27
↓ 1 callersFunctionhandleCancel
(orderId: string)
src/components/OpenOrdersPanel.tsx:58
↓ 1 callersFunctionhandleSubmit
()
src/components/AlertManager.tsx:111
↓ 1 callersFunctionhandleTraderGo
()
src/app/page.tsx:1238
↓ 1 callersFunctioninitSchema
(db: Database.Database)
src/lib/db.ts:35
↓ 1 callersFunctioninvalidateMarketCaches
Invalidate caches after a sync so next request gets fresh data
src/lib/sync.ts:299
↓ 1 callersFunctionisAuthorized
(req: NextRequest)
src/middleware.ts:18
↓ 1 callersFunctionisMultiBinary
Check if all sub-markets are binary Yes/No
src/components/MarketPreview.tsx:13
↓ 1 callersFunctionisMultiBinary
Check if all sub-markets are binary Yes/No
src/components/MarketDetailPanel.tsx:40
↓ 1 callersFunctionisNew
(market: ProcessedMarket)
src/components/MarketCard.tsx:16
↓ 1 callersMethodisOpen
()
src/lib/circuitBreaker.ts:36
↓ 1 callersFunctionloadInfo
()
src/components/LivePanel.tsx:189
↓ 1 callersFunctionloadOrderBook
( tokenId: string, signal: AbortSignal, )
src/components/TradeModal.tsx:79
↓ 1 callersFunctionloadTradeSession
(eoa: string)
src/lib/tradeAuth.ts:39
↓ 1 callersFunctionloadTraderData
()
src/components/TraderPanel.tsx:65
↓ 1 callersFunctionmakeId
(url: string)
src/lib/newsSync.ts:17
↓ 1 callersFunctionmakeId
(url: string)
src/lib/tweetsSync.ts:18
↓ 1 callersFunctionmakePanelRect
( metrics: ContainerMetrics, row: number, col: number, colSpan: number, rowSpan: number, )
src/hooks/usePanelDrag.ts:198
↓ 1 callersFunctionmarkOccupied
( occupancy: boolean[][], row: number, col: number, colSpan: number, rowSpan: number, cols: number
src/hooks/usePanelDrag.ts:166
↓ 1 callersFunctionmergeVisibleOrder
(fullOrder: string[], projectedVisibleOrder: string[])
src/hooks/usePanelDrag.ts:305
↓ 1 callersFunctionmigrate
(db: Database.Database)
src/lib/db.ts:193
↓ 1 callersFunctionnoaaToPoints
(data: any)
src/app/api/overlay/route.ts:102
↓ 1 callersFunctionoffsetColocated
(markets: ProcessedMarket[])
src/components/WorldMap.tsx:161
↓ 1 callersFunctionopenTrade
(side: "YES" | "NO")
src/components/MarketDetailPanel.tsx:280
↓ 1 callersFunctionparseBinanceSymbol
(url: string)
src/lib/resolutionSources.ts:34
↓ 1 callersFunctionparseChainlinkPair
(url: string)
src/lib/resolutionSources.ts:40
↓ 1 callersFunctionparseCmeSymbol
(url: string)
src/lib/resolutionSources.ts:57
↓ 1 callersFunctionparsePrices
(m: PolymarketMarket)
src/components/MarketPreview.tsx:31
↓ 1 callersFunctionparseResolutionSource
(raw: string | null)
src/lib/resolutionSources.ts:113
↓ 1 callersFunctionparseThresholdFromTitle
(title: string)
src/lib/priceMonitor.ts:140
↓ 1 callersFunctionparseThresholdsFromOutcomes
(marketsJson: string)
src/lib/priceMonitor.ts:174
↓ 1 callersFunctionparseYahooSymbol
(url: string)
src/lib/resolutionSources.ts:49
↓ 1 callersFunctionprocessUnGeocodedMarkets
(db: Database.Database)
src/lib/aiGeo.ts:142
↓ 1 callersFunctionreadCachedBalance
(address: string)
src/app/api/trade/balance/route.ts:24
↓ 1 callersFunctionreadClientPoint
( event: | Event | MouseEvent | PointerEvent | TouchEvent | { clientX?: number; clientY?
src/hooks/usePanelDrag.ts:332
↓ 1 callersFunctionreadNewsFromDb
(marketId?: string)
src/lib/newsSync.ts:230
↓ 1 callersFunctionreadResolutionAlerts
(marketId?: string)
src/lib/resolutionSync.ts:412
↓ 1 callersFunctionreadSavedWallet
()
src/components/PortfolioPanel.tsx:12
← previousnext →201–300 of 576, ranked by callers