MCPcopy Create free account

hub / github.com/MrFadiAi/Polymarket-bot / functions

Functions792 in github.com/MrFadiAi/Polymarket-bot

↓ 1 callersFunctiondisplayStatus
()
bot-with-dashboard.ts:1385
↓ 1 callersMethodemergencyExitLeg1
* Emergency exit Leg1 position when Leg2 times out * Sells the Leg1 tokens at market price to avoid unhedged exposure
src/services/dip-arb-service.ts:1132
↓ 1 callersFunctionestimateRequiredGas
(provider: ethers.providers.Provider, address: string)
scripts/rescue/rescue-contract.ts:331
↓ 1 callersMethodexecuteLeg1
* Execute Leg1 trade
src/services/dip-arb-service.ts:547
↓ 1 callersMethodexecuteLeg2
* Execute Leg2 trade
src/services/dip-arb-service.ts:694
↓ 1 callersFunctionexecuteLongArb
(buyYesPrice: number, buyNoPrice: number, size: number, profitRate: number)
scripts/archive/one-off-trading/faze-bo3-arb.ts:291
↓ 1 callersMethodexecuteLongArb
(opportunity: ArbitrageOpportunity)
src/services/arbitrage-service.ts:1390
↓ 1 callersFunctionexecuteShortArb
(size: number, estProfit: number)
scripts/archive/one-off-trading/faze-bo3-arb.ts:353
↓ 1 callersMethodexecuteShortArb
(opportunity: ArbitrageOpportunity)
src/services/arbitrage-service.ts:1520
↓ 1 callersFunctionextractJsonFromOutput
(output: string)
scripts/benchmark/run-all.ts:91
↓ 1 callersFunctionfetchHistory
()
dashboard/src/components/HistoryPage.tsx:18
↓ 1 callersMethodfetchLeaderboardByPeriod
* Get leaderboard by time period with pagination info * * Same as getLeaderboardByPeriod but returns pagination metadata. * * @param perio
src/services/wallet-service.ts:489
↓ 1 callersFunctionfetchSession
(sessionId: string)
dashboard/src/components/HistoryPage.tsx:34
↓ 1 callersMethodformatDate
(d: Date)
src/services/smart-money-service.ts:1673
↓ 1 callersFunctionformatPnL
(value: number)
dashboard/src/components/PositionsPage.tsx:17
↓ 1 callersFunctionformatTime
(timestamp: string)
dashboard/src/components/SmartMoneyPanel.tsx:12
↓ 1 callersFunctionformatTime
(timestamp: string)
dashboard/src/components/ActivityLog.tsx:58
↓ 1 callersMethodfromClobMarket
(clob: Market)
src/services/market-service.ts:1568
↓ 1 callersMethodgenerateRecommendation
* Generate copy trading recommendation
src/services/smart-money-service.ts:1866
↓ 1 callersMethodget
* Get a cached value
src/core/cache.ts:16
↓ 1 callersMethodgetAccountValue
* Get account total value (P1) * * @param address - Wallet address * @param markets - Optional: filter by specific markets * * @example
src/clients/data-api.ts:818
↓ 1 callersFunctiongetActiveUser
()
scripts/api-verification/05-verify-params-effective.ts:8
↓ 1 callersMethodgetAllPrices
* Get all cached prices
src/services/realtime-service-v2.ts:856
↓ 1 callersMethodgetBook
* Get cached orderbook for an asset
src/services/realtime-service-v2.ts:863
↓ 1 callersMethodgetClobMarkets
* Get multiple markets from CLOB
src/services/market-service.ts:316
↓ 1 callersMethodgetCondition
* 获取单个 Condition
src/clients/subgraph.ts:304
↓ 1 callersMethodgetConditions
* 获取 Condition 结算状态
src/clients/subgraph.ts:291
↓ 1 callersMethodgetConfig
* Get current configuration
src/services/dip-arb-service.ts:179
↓ 1 callersMethodgetConfig
()
src/dashboard/state-emitter.ts:68
↓ 1 callersMethodgetCredentials
()
src/services/trading-service.ts:610
↓ 1 callersMethodgetCurrentRound
* Get current round state
src/services/dip-arb-service.ts:531
↓ 1 callersMethodgetDepositInstructions
* Format deposit instructions for a user * * @param walletAddress - The Polymarket wallet address * @returns Formatted instructions string
src/clients/bridge-client.ts:384
↓ 1 callersMethodgetDetailedMergeGasEstimate
* Get detailed gas estimate for a merge operation
src/clients/ctf-client.ts:769
↓ 1 callersMethodgetDetailedSplitGasEstimate
* Get detailed gas estimate for a split operation
src/clients/ctf-client.ts:761
↓ 1 callersFunctiongetGasColor
(gas: number)
dashboard/src/components/NetworkStatus.tsx:26
↓ 1 callersFunctiongetIntervalMs
(interval: KLineInterval)
src/core/types.ts:504
↓ 1 callersFunctiongetIntervalMs
(interval: KLineInterval)
src/services/market-service.ts:1598
↓ 1 callersFunctiongetLatencyColor
(ms: number)
dashboard/src/components/NetworkStatus.tsx:32
↓ 1 callersMethodgetLeaderboard
* Get leaderboard by time period * * @example * ```typescript * // Get weekly top 100 by PnL * const leaderboard = await sdk.smartMoney
src/services/smart-money-service.ts:1079
↓ 1 callersMethodgetLifecycleReport
* Get wallet lifecycle report * * @param address - Wallet address * @param options - Report options with progress callback * * @example
src/services/smart-money-service.ts:1482
↓ 1 callersFunctiongetLogFilename
(marketSlug: string)
scripts/dip-arb/auto-trade.ts:105
↓ 1 callersMethodgetLogs
()
src/dashboard/state-emitter.ts:72
↓ 1 callersMethodgetMarket
* Get current market
src/services/dip-arb-service.ts:503
↓ 1 callersMethodgetMarketByConditionId
(conditionId: string)
src/services/market-service.ts:533
↓ 1 callersMethodgetMarketByConditionId
* Get a single market by condition ID * * @param conditionId - The unique condition identifier * @returns The market if found, null otherwise
src/clients/gamma-api.ts:421
↓ 1 callersMethodgetMarketBySlug
(slug: string)
src/services/market-service.ts:513
↓ 1 callersMethodgetMarketHolders
* Get market holders (P2) * * Returns top holders for a specific market. Note: This endpoint can timeout * for large markets. * * @para
src/clients/data-api.ts:860
↓ 1 callersMethodgetMarketOpenInterest
* 获取市场 Open Interest
src/clients/subgraph.ts:405
↓ 1 callersMethodgetMaticPrice
* Get or refresh MATIC price (cached for 5 minutes)
src/clients/ctf-client.ts:788
↓ 1 callersMethodgetMidpoint
* Get midpoint price for a token
src/services/market-service.ts:466
↓ 1 callersMethodgetMinDeposit
* Get minimum deposit amount for a chain/token * * @param chainId - The chain ID * @param tokenSymbol - The token symbol * @returns Minimu
src/clients/bridge-client.ts:361
↓ 1 callersMethodgetPeriodStartTime
* Get start timestamp for a time period
src/services/wallet-service.ts:224
↓ 1 callersMethodgetPositionBalance
* Get token balances for a market using calculated position IDs * * @deprecated Use getPositionBalanceByTokenIds for CLOB markets
src/services/onchain-service.ts:341
↓ 1 callersFunctiongetQueryFields
(endpoint: string)
scripts/archive/api-verification-history/10-subgraph-official.ts:51
↓ 1 callersMethodgetQuote
* Get a quote for a swap (checks if route is possible)
src/services/swap-service.ts:267
↓ 1 callersMethodgetRecentRedemptions
* 获取最近的 Redemption 事件 (不限用户)
src/clients/subgraph.ts:385
↓ 1 callersMethodgetRevertReason
* Parse revert reason from transaction
src/clients/ctf-client.ts:909
↓ 1 callersFunctiongetSession
(sessionId: string)
src/dashboard/session-history.ts:294
↓ 1 callersFunctiongetSignalStyle
(type: DipArbSignal['type'])
dashboard/src/components/DipArbPanel.tsx:77
↓ 1 callersMethodgetSpread
* Get spread for a token
src/services/market-service.ts:477
↓ 1 callersMethodgetState
()
src/dashboard/state-emitter.ts:64
↓ 1 callersFunctiongetStatusStyle
(status: string | undefined)
dashboard/src/components/ArbitragePanel.tsx:12
↓ 1 callersFunctiongetSumStatus
(sum: number)
dashboard/src/components/DipArbPanel.tsx:92
↓ 1 callersFunctiongetSystemInfo
()
scripts/benchmark/run-all.ts:114
↓ 1 callersMethodgetTokenBalances
* Get all token balances
src/services/onchain-service.ts:193
↓ 1 callersMethodgetTopMarkets
* Get top markets by PnL
src/services/smart-money-service.ts:2113
↓ 1 callersMethodgetTopMarketsByOI
* 获取 Top 市场按 OI 排序
src/clients/subgraph.ts:419
↓ 1 callersMethodgetTopTraders
* Get top traders from leaderboard
src/services/wallet-service.ts:385
↓ 1 callersMethodgetTradesByUser
* Get trades for a specific user (P2)
src/clients/data-api.ts:687
↓ 1 callersMethodgetTransactionStatus
* Get transaction status with detailed info
src/clients/ctf-client.ts:819
↓ 1 callersFunctiongetTrendBadge
(t: Trend)
dashboard/src/components/TrendIndicators.tsx:10
↓ 1 callersMethodgetUsdcBalance
* Get USDC.e (bridged USDC) balance - the token used by Polymarket CTF
src/services/onchain-service.ts:325
↓ 1 callersMethodgetUserActivitySummary
* 获取用户完整的链上活动摘要
src/clients/subgraph.ts:523
↓ 1 callersMethodgetWalletChartData
* Get wallet chart data * * @param address - Wallet address * * @example * ```typescript * const chartData = await sdk.smartMoney.ge
src/services/smart-money-service.ts:1561
↓ 1 callersFunctiongetWalletColor
(addr: string)
dashboard/src/components/WalletList.tsx:19
↓ 1 callersMethodgetWalletStatsByPeriod
* Get wallet stats for a specific time period * * Combines data from Orderbook Subgraph (trades) and Activity Subgraph (splits/merges/redemption
src/services/wallet-service.ts:634
↓ 1 callersMethodgetWorstMarkets
* Get worst markets by PnL
src/services/smart-money-service.ts:2134
↓ 1 callersMethodhandleActivityMessage
(type: string, payload: Record<string, unknown>, timestamp: number)
src/services/realtime-service-v2.ts:1044
↓ 1 callersMethodhandleActivityTrade
( trade: ActivityTrade, options: { filterAddresses?: string[]; minSize?: number; smartMoneyOnly?: bool
src/services/smart-money-service.ts:840
↓ 1 callersMethodhandleBookUpdate
(update: BookUpdate)
src/services/arbitrage-service.ts:1253
↓ 1 callersMethodhandleChainlinkPriceUpdate
(price: CryptoPrice)
src/services/dip-arb-service.ts:1018
↓ 1 callersFunctionhandleClose
(pos: any)
dashboard/src/components/PositionsPage.tsx:22
↓ 1 callersMethodhandleCommentMessage
(type: string, payload: Record<string, unknown>, timestamp: number)
src/services/realtime-service-v2.ts:1091
↓ 1 callersMethodhandleCryptoChainlinkPriceMessage
(payload: Record<string, unknown>, timestamp: number)
src/services/realtime-service-v2.ts:1073
↓ 1 callersMethodhandleCryptoPriceMessage
(payload: Record<string, unknown>, timestamp: number)
src/services/realtime-service-v2.ts:1064
↓ 1 callersMethodhandleEquityPriceMessage
(payload: Record<string, unknown>, timestamp: number)
src/services/realtime-service-v2.ts:1082
↓ 1 callersMethodhandleMarketMessage
(type: string, payload: Record<string, unknown>, timestamp: number)
src/services/realtime-service-v2.ts:972
↓ 1 callersMethodhandleOrderbookUpdate
(book: OrderbookSnapshot)
src/services/dip-arb-service.ts:932
↓ 1 callersMethodhandleRFQMessage
(type: string, payload: Record<string, unknown>, timestamp: number)
src/services/realtime-service-v2.ts:1114
↓ 1 callersFunctionhandleRedeem
(pos: any)
dashboard/src/components/PositionsPage.tsx:28
↓ 1 callersMethodhandleSignal
(signal: DipArbSignal)
src/services/dip-arb-service.ts:1471
↓ 1 callersMethodhandleUserMessage
(type: string, payload: Record<string, unknown>, timestamp: number)
src/services/realtime-service-v2.ts:1014
↓ 1 callersFunctionisCollateralAsset
* Check if an asset ID is collateral (USDC) or outcome token
src/services/wallet-service.ts:46
↓ 1 callersMethodisConditionResolved
* 检查 Condition 是否已结算
src/clients/subgraph.ts:320
↓ 1 callersMethodisInitialized
* Check if SDK is initialized
src/index.ts:495
↓ 1 callersMethodisSmartMoney
* Check if an address is Smart Money
src/services/smart-money-service.ts:762
↓ 1 callersMethodisSupported
* Check if a chain/token combination is supported * * @param chainId - The chain ID to check * @param tokenSymbol - The token symbol to check
src/clients/bridge-client.ts:347
↓ 1 callersFunctionisWinningPosition
(userOutcome: string, payouts: number[])
scripts/dip-arb/redeem-positions.ts:24
↓ 1 callersFunctionmain
()
bot-config.ts:869
↓ 1 callersFunctionmain
()
bot-with-dashboard.ts:1007
← previousnext →301–400 of 792, ranked by callers