MCPcopy Create free account

hub / github.com/cryptocj520/meteora2 / functions

Functions3,742 in github.com/cryptocj520/meteora2

↓ 2 callersMethodcheckInstanceHealth
* 🔍 检查单个实例健康状态
src/services/strategy/StrategyHealthChecker.ts:199
↓ 2 callersMethodcleanup
* 清理组件
web/public/js/components/strategy-monitor/StrategyMonitor.js:239
↓ 2 callersMethodcleanup
* 清理组件
web/public/js/components/simple-y-monitor/SimpleYStrategyMonitor.js:240
↓ 2 callersMethodcleanup
* 清理资源
web/public/js/components/jupiter/jupiter-manager.js:497
↓ 2 callersMethodcleanupCurrentPage
* 🔧 页面切换前的清理工作
web/public/js/app.js:295
↓ 2 callersMethodcleanupHistory
* 🧹 清理评估历史
src/services/modules/SmartStopLossModule.ts:501
↓ 2 callersMethodcleanupSinglePositionCore
* 🆕 清理单个头寸 - 核心方法,供高级重试使用
src/services/strategy/executors/simple-y-modules/SimpleYUtilityService.ts:735
↓ 2 callersMethodclear
* 清空表单
web/public/js/forms/DynamicForm.js:548
↓ 2 callersMethodclearBenchmarkYieldRates
()
src/services/business/analytics/UnifiedDataProvider.ts:173
↓ 2 callersMethodclearCache
()
web/public/js/libs/chart.min.js:13
↓ 2 callersMethodclearExpiredData
* 🔥 新增:清理过期的localStorage数据
web/public/js/components/pool-crawler/PoolCrawlerMonitor.js:2025
↓ 2 callersMethodclearFieldError
(fieldName)
web/public/js/components/simple-y-create/SimpleYCreator.js:1891
↓ 2 callersMethodclearFieldError
* 清除字段错误
web/public/js/forms/DynamicForm.js:475
↓ 2 callersMethodclosePosition
* 关闭头寸 (统一方法,使用PositionManager) * @param {string} positionAddress - 头寸地址 * @param {string} password - 钱包密码 (可选)
web/public/js/api.js:544
↓ 2 callersMethodclosePosition
* 统一关闭头寸方法 (使用PositionManager) * @param {string} positionAddress - 头寸地址 * @param {string} password - 钱包密码 (可选)
web/public/js/components/position/position-core.js:449
↓ 2 callersMethodcollectFormData
* 收集表单数据
web/public/js/components/simple-y-create/SimpleYCreator.js:1287
↓ 2 callersMethodcollectMarketData
* 收集市场数据 - 完整复刻连锁头寸策略的实现
src/services/strategy/executors/simple-y-modules/SimpleYMonitoringService.ts:384
↓ 2 callersMethodcreateAnalyticsServiceForInstance
* 为指定实例创建完整的PositionAnalyticsService
src/services/business/InstanceAwareServiceFactory.ts:68
↓ 2 callersMethodcreateChainPosition
* 📝 创建连锁头寸
src/services/strategy/executors/ChainPositionExecutor.ts:271
↓ 2 callersMethodcreateInstanceLogger
(instanceId: string)
src/services/strategy/executors/ChainPositionExecutor.ts:1791
↓ 2 callersMethodcreateSmartStopLossModuleForInstance
* 为指定实例创建SmartStopLossModule
src/services/business/InstanceAwareServiceFactory.ts:93
↓ 2 callersMethodcreateTextInput
* 创建文本输入框
web/public/js/forms/DynamicForm.js:203
↓ 2 callersFunctionct
(t,e)
web/public/js/libs/chart.min.js:7
↓ 2 callersMethoddarkenColor
* 颜色加深函数 * @param {string} color - 颜色值 * @param {number} percent - 加深百分比 * @returns {string} 加深后的颜色
web/public/js/forms/FormRenderer.js:612
↓ 2 callersMethoddecryptWallet
* 解密钱包数据
src/services/blockchain/WalletService.ts:650
↓ 2 callersMethoddeleteSync
* 删除状态 (内部同步方法)
src/services/internal/StateService.ts:177
↓ 2 callersMethoddestroy
* 销毁头寸管理器
web/public/js/components/position/position-manager.js:343
↓ 2 callersMethoddiff
()
web/public/js/libs/chart.min.js:13
↓ 2 callersMethoddisconnect
* 断开连接
web/public/js/components/strategy-monitor/StrategyMonitor.js:213
↓ 2 callersMethoddisconnect
* 断开连接
web/public/js/components/strategy-monitor/ConnectionManager.js:239
↓ 2 callersMethoddisconnect
* 断开连接
web/public/js/components/simple-y-monitor/ConnectionManager.js:239
↓ 2 callersFunctiondn
(t)
web/public/js/libs/chart.min.js:13
↓ 2 callersMethoddrawBackground
()
web/public/js/libs/chart.min.js:13
↓ 2 callersMethoddrawBorder
()
web/public/js/libs/chart.min.js:13
↓ 2 callersMethoddrawGrid
(t)
web/public/js/libs/chart.min.js:13
↓ 2 callersMethoddrawLabels
(t)
web/public/js/libs/chart.min.js:13
↓ 2 callersMethoddrawTitle
()
web/public/js/libs/chart.min.js:13
↓ 2 callersFunctionds
web/public/js/libs/chart.min.js:13
↓ 2 callersFunctionei
(t)
web/public/js/libs/chart.min.js:13
↓ 2 callersMethodemit
* 事件发射 * @param {string} eventName - 事件名称 * @param {*} data - 事件数据
web/public/js/strategies/base/BaseStrategy.js:170
↓ 2 callersMethodensureDirectory
* 🔧 修复:确保目录存在,增强父目录创建和错误处理
src/infrastructure/logging/LogWriter.ts:261
↓ 2 callersMethodevaluate
* 🎯 主要评估方法 - 分析市场数据并生成止损决策
src/services/modules/SmartStopLossModule.ts:218
↓ 2 callersMethodexecute
()
src/services/modules/SynchronousRetryManager.ts:38
↓ 2 callersMethodexecute
(instanceId: string)
src/services/strategy/StrategyRegistry.ts:12
↓ 2 callersMethodexecuteAsyncStopLossWithRetry
* 🛑 执行带重试的异步止损操作
src/services/strategy/executors/mixins/SynchronousRetryMixin.ts:189
↓ 2 callersMethodexecuteBatchCleanupWithRetry
* 🧹 执行带智能重试的批量清理操作
src/services/strategy/executors/mixins/SynchronousRetryMixin.ts:266
↓ 2 callersMethodexecuteCleanupRetry
* 🧹 执行清理重试 - 使用重试管理器
src/services/strategy/executors/ChainPositionExecutor.ts:2597
↓ 2 callersMethodexecuteCleanupWithRetry
* 🧹 执行带重试的清理操作
src/services/strategy/executors/mixins/SynchronousRetryMixin.ts:229
↓ 2 callersMethodexecuteFullStopLoss
* 🆕 执行完全止损 - 委托给风险服务
src/services/strategy/executors/SimpleYExecutor.ts:618
↓ 2 callersMethodexecuteFullStopLoss
* 🛑 执行完全止损
src/services/strategy/executors/ChainPositionExecutor.ts:1157
↓ 2 callersMethodexecuteSwapWithLock
* 🔒 执行带锁的代币交换操作,防止并发冲突
src/services/strategy/executors/ChainPositionExecutor.ts:2741
↓ 2 callersMethodexecuteSwapWithLock
* 🆕 执行代币交换(带锁定机制) - 防止并发操作
src/services/strategy/executors/simple-y-modules/SimpleYRiskService.ts:282
↓ 2 callersMethodexecuteTokenSwapWithCustomRetry
* 🆕 执行代币交换(带重试机制) - 专用于头寸重建和止损的自定义重试逻辑
src/services/strategy/executors/simple-y-modules/SimpleYRiskService.ts:316
↓ 2 callersMethodextractTimestampFromId
* 从策略ID中提取时间戳 * 支持格式:chain_position_1750597447747_mifo4u
web/public/js/components/analytics/simple-analytics.js:550
↓ 2 callersMethodextractYield
* 收益提取操作 - 修改记录逻辑,使用准确的待提取收益数值
src/services/business/analytics/YieldOperator.ts:201
↓ 2 callersFunctionfa
(t,e)
web/public/js/libs/chart.min.js:13
↓ 2 callersMethodfallbackCopyToClipboard
* 降级复制方案
web/public/js/components/strategy-monitor/UIManager.js:942
↓ 2 callersMethodfallbackCopyToClipboard
* 降级复制方案
web/public/js/components/simple-y-monitor/UIManager.js:942
↓ 2 callersMethodfilterInstances
* 🔍 应用筛选
web/public/js/components/health/health-monitor.js:417
↓ 2 callersMethodflush
* 刷新所有日志
src/infrastructure/logging/LoggerService.ts:597
↓ 2 callersMethodflush
* 刷新所有待写入的日志
src/infrastructure/logging/LogWriter.ts:66
↓ 2 callersMethodformatBusinessMessage
* 格式化业务消息
src/infrastructure/logging/LoggerService.ts:689
↓ 2 callersMethodformatDate
(dateString)
web/public/js/components/position/position-ui.js:817
↓ 2 callersMethodformatDuration
* 格式化持续时间
src/services/business/InstanceAwareServiceFactory.ts:294
↓ 2 callersMethodformatFromAtomicUnits
* 将原子单位转换为人类可读数量 * @param {string|number} atomicAmount 原子单位数量 * @param {number} decimals 代币精度 * @returns {string} 人类可读数量
web/public/js/components/jupiter/jupiter-core.js:106
↓ 2 callersMethodformatPercent
* 格式化百分比
web/public/js/components/strategy-monitor/UIManager.js:1115
↓ 2 callersMethodformatPercent
* 格式化百分比
web/public/js/components/simple-y-monitor/UIManager.js:1115
↓ 2 callersMethodformatPercentage
* 格式化百分比
web/public/js/components/pool-crawler/PoolCrawlerMonitor.js:1938
↓ 2 callersMethodformatRelativeTime
* 格式化相对时间
web/public/js/utils/formatter.js:119
↓ 2 callersMethodformatTime
* 🎨 工具方法 - 格式化时间
web/public/js/components/health/health-monitor.js:627
↓ 2 callersMethodformatToAtomicUnits
* 将人类可读数量转换为原子单位 * @param {string|number} amount 人类可读数量 * @param {number} decimals 代币精度 * @returns {string} 原子单位数量
web/public/js/components/jupiter/jupiter-core.js:84
↓ 2 callersMethodformatTokenAmount
* 格式化代币数量 (已弃用,请使用formatFromAtomicUnits) * @param {string|number} amount 数量 * @param {number} decimals 小数位数 * @deprecated 使用formatFromA
web/public/js/components/jupiter/jupiter-core.js:393
↓ 2 callersMethodgenerateCSS
* 生成CSS样式
web/public/js/forms/FormRenderer.js:189
↓ 2 callersMethodgenerateMockPositionMetrics
()
web/public/js/components/monitor/monitor-core.js:546
↓ 2 callersMethodgenerateMockStrategyMetrics
()
web/public/js/components/monitor/monitor-core.js:555
↓ 2 callersMethodgetAccountXTokenBalance
* 🔍 获取账户X代币余额
src/services/strategy/executors/ChainPositionExecutor.ts:1322
↓ 2 callersMethodgetAccountXTokenBalance
(context: SimpleYModuleContext)
src/services/strategy/executors/simple-y-modules/types.ts:90
↓ 2 callersMethodgetAll
* 获取所有状态数据
src/services/internal/StateService.ts:210
↓ 2 callersMethodgetAllStrategies
()
src/types/interfaces.ts:762
↓ 2 callersMethodgetApiBaseUrl
* 获取API基础URL * @returns {string} API基础URL
web/public/js/components/strategy-monitor/EnvironmentAdapter.js:99
↓ 2 callersMethodgetApiBaseUrl
* 获取API基础URL * @returns {string} API基础URL
web/public/js/components/simple-y-monitor/EnvironmentAdapter.js:99
↓ 2 callersMethodgetAvailableStrategies
* 获取所有有数据的策略ID列表
web/public/js/services/strategy-data-storage.js:201
↓ 2 callersMethodgetBinInfo
(poolAddress: string, binId: number)
src/types/interfaces.ts:525
↓ 2 callersMethodgetCompleteAnalyticsReport
()
src/types/analytics-types.ts:278
↓ 2 callersMethodgetConnectionStatus
* 获取连接状态
web/public/js/components/strategy-monitor/StrategyMonitor.js:274
↓ 2 callersMethodgetConnectionStatus
* 获取连接状态
web/public/js/components/simple-y-monitor/SimpleYStrategyMonitor.js:275
↓ 2 callersMethodgetContext
()
web/public/js/libs/chart.min.js:13
↓ 2 callersMethodgetCurrentPollingInfo
()
src/services/business/analytics/UnifiedDataProvider.ts:157
↓ 2 callersMethodgetDataRange
* 查询策略的历史数据 * @param {string} strategyId 策略ID * @param {number} startTime 开始时间戳 * @param {number} endTime 结束时间戳 * @param {array} d
web/public/js/services/strategy-data-storage.js:158
↓ 2 callersMethodgetDevicePixelRatio
()
web/public/js/libs/chart.min.js:13
↓ 2 callersMethodgetElementsAtEventForMode
(t,e,i,s)
web/public/js/libs/chart.min.js:13
↓ 2 callersMethodgetFilters
()
src/types/pool-crawler-types.ts:285
↓ 2 callersMethodgetHealthConfig
()
web/public/js/services/api-service.js:336
↓ 2 callersMethodgetInstanceStats
* 获取所有实例统计信息
src/services/business/InstanceAwareServiceFactory.ts:227
↓ 2 callersMethodgetInstanceStatus
(instanceId: string)
src/services/strategy/StrategyManager.ts:42
↓ 2 callersMethodgetLatestBlockhash
()
src/types/interfaces.ts:241
↓ 2 callersMethodgetLayout
* 获取布局 * @param {string} name - 布局名称 * @returns {Object} 布局配置
web/public/js/forms/FormRenderer.js:544
↓ 2 callersMethodgetNetworkCongestion
* 获取网络拥堵状态 (简化版本)
src/services/external/JupiterService.backup.ts:677
↓ 2 callersMethodgetNetworkCongestion
* 获取网络拥堵状态 (简化版本)
src/services/external/JupiterService.v6.ts:677
↓ 2 callersMethodgetPixelForValue
(t,e)
web/public/js/libs/chart.min.js:13
← previousnext →701–800 of 3,742, ranked by callers