Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cryptocj520/meteora2
/ functions
Functions
3,742 in github.com/cryptocj520/meteora2
⨍
Functions
3,742
◇
Types & classes
541
Method
format
(t,e)
web/public/js/libs/chart.min.js:13
Method
formatAmount
(amount: bigint, decimals: number)
src/services/business/PositionManager.ts:1207
Method
formatConnectionStatus
* 格式化连接状态
web/public/js/utils/formatter.js:236
Method
formatDuration
* 格式化持续时间为可读字符串 * @param durationMs 持续时间(毫秒) * @returns 格式化的持续时间字符串
src/infrastructure/logging/TimeFormatter.ts:47
Method
formatForDisplay
* 格式化显示数量 (用于UI显示) * @param tokenAmount TokenAmount对象 * @param maxDecimals 最大小数位数 * @returns 格式化的显示字符串
src/utils/TokenPrecisionConverter.ts:242
Method
formatHealthStatus
* 格式化健康状态
web/public/js/utils/formatter.js:247
Method
formatPriceImpact
* 计算价格影响百分比显示 * @param {number} priceImpact 价格影响
web/public/js/components/jupiter/jupiter-core.js:402
Method
formatStrategyFromBackend
* 🔄 格式化策略数据 - 后端格式转换为前端格式
web/public/js/services/api-service.js:243
Method
formatStrategyName
* 格式化策略名称
web/public/js/components/analytics/simple-analytics.js:1045
Method
formatStrategyStatus
* 格式化策略状态
web/public/js/utils/formatter.js:221
Method
formatTxHash
* 格式化交易哈希
web/public/js/utils/formatter.js:200
Method
formattedToRaw
* 将人类可读格式转换为原始单位 * @param formattedAmount 人类可读数量 * @param decimals 代币精度 * @returns 原始单位数量字符串
src/utils/TokenPrecisionConverter.ts:139
Method
fromObject
* 从对象导入配置 * @param {Object} obj - 配置对象
web/public/js/strategies/base/StrategyConfig.js:438
Function
fs
(t,e,i)
web/public/js/libs/chart.min.js:13
Method
g
()
web/public/js/libs/chart.min.js:13
Method
g
(t,e,s)
web/public/js/libs/chart.min.js:13
Function
generateLabels
(t)
web/public/js/libs/chart.min.js:13
Method
generateLabels
(t)
web/public/js/libs/chart.min.js:13
Method
generateLabels
(t)
web/public/js/libs/chart.min.js:13
Method
generatePerformanceReport
(instanceId: string, periodHours?: number)
src/types/interfaces.ts:630
Method
generateTickLabels
(t)
web/public/js/libs/chart.min.js:13
Method
generateTickLabels
(t)
web/public/js/libs/chart.min.js:13
Method
get
(key: string, defaultValue?: any)
src/infrastructure/ConfigService.ts:84
Method
get
(key: string)
src/infrastructure/StateService.ts:57
Method
get
(key: string, defaultValue?: T)
src/types/interfaces.ts:773
Method
get
* 获取缓存值
src/services/internal/CacheService.ts:108
Method
get
* 🔧 便捷的GET请求方法(支持查询参数)
web/public/js/services/api-service.js:100
Method
get
(t)
web/public/js/libs/chart.min.js:13
Method
get
(t)
web/public/js/libs/chart.min.js:13
Method
getAccountInfo
* 获取账户信息 - 使用新日志系统
src/services/blockchain/SolanaWeb3Service.ts:380
Method
getAccountXTokenBalance
* 🆕 获取账户X代币余额 - 从连锁头寸策略完整复制
src/services/strategy/executors/simple-y-modules/SimpleYUtilityService.ts:481
Method
getAccountYTokenBalance
* 🆕 获取账户Y代币余额 - 扩展功能
src/services/strategy/executors/simple-y-modules/SimpleYUtilityService.ts:560
Method
getAccountYTokenBalance
(context: SimpleYModuleContext)
src/services/strategy/executors/simple-y-modules/types.ts:91
Method
getActiveBin
(poolAddress: string)
src/types/interfaces.ts:662
Method
getActiveBin
* 获取活跃bin ID (实时) - 同时计算价格
src/services/external/MeteoraService.ts:166
Method
getActiveElements
()
web/public/js/libs/chart.min.js:13
Method
getActiveElements
()
web/public/js/libs/chart.min.js:13
Method
getActiveEndpoints
* 获取当前活跃(健康)的RPC端点列表 * 用于测试和监控
src/services/blockchain/MultiRPCService.ts:178
Method
getActiveStrategies
()
src/types/interfaces.ts:763
Method
getActiveStrategies
* 获取所有活跃策略
src/services/strategy/StrategyScheduler.ts:226
Method
getActiveStrategiesCount
* 获取活跃策略数量
web/public/js/components/strategy-monitor/StrategyController.js:563
Method
getActiveStrategiesCount
* 获取活跃策略数量
web/public/js/components/simple-y-monitor/StrategyController.js:563
Method
getActiveStrategyInstances
* 获取所有活跃的策略实例ID
src/infrastructure/logging/LoggerService.ts:653
Method
getActiveStrategyInstances
()
src/types/interfaces.ts:172
Method
getAlertHistory
(instanceId?: string, limit?: number)
src/types/interfaces.ts:631
Method
getAll
()
src/infrastructure/ConfigService.ts:92
Method
getAll
()
src/infrastructure/StateService.ts:17
Method
getAll
()
src/infrastructure/StateService.ts:73
Method
getAll
()
src/types/interfaces.ts:776
Method
getAll
()
src/services/internal/ConfigService.ts:63
Method
getAll
* 获取所有配置
src/services/internal/ConfigService.ts:149
Method
getAll
()
src/services/internal/StateService.ts:29
Method
getAllBalances
* 获取所有余额
web/public/js/components/wallet/wallet-manager.js:470
Method
getAllEndpoints
()
src/types/interfaces.ts:246
Method
getAllEndpoints
* 获取所有RPC端点
src/services/blockchain/MultiRPCService.ts:170
Method
getAllHarvestablePositions
(userAddress?: string)
src/types/interfaces.ts:588
Method
getAllHarvestablePositions
()
src/services/business/PositionFeeHarvester.ts:824
Method
getAllInstances
* 获取所有实例 * @returns {Array} 实例列表
web/public/js/core/StrategyFactory.js:133
Method
getAllPositionFees
(userAddress?: string)
src/types/interfaces.ts:589
Method
getAllPositionFees
()
src/services/business/PositionFeeHarvester.ts:819
Method
getAllPositions
* 获取所有头寸
web/public/js/components/position/position-manager.js:133
Method
getAllPositions
* 获取所有头寸
web/public/js/components/position/position-core.js:702
Method
getAllRuntimes
()
src/services/strategy/StrategyScheduler.ts:194
Method
getAllStrategies
* 获取所有策略
web/public/js/components/strategy-monitor/StrategyMonitor.js:338
Method
getAllStrategies
* 获取所有策略
web/public/js/components/strategy-monitor/StrategyController.js:556
Method
getAllStrategies
* 获取所有策略
web/public/js/components/simple-y-monitor/SimpleYStrategyMonitor.js:339
Method
getAllStrategies
* 获取所有策略
web/public/js/components/simple-y-monitor/StrategyController.js:556
Method
getApiBaseUrl
* 获取API基础URL
web/public/js/config.js:69
Method
getApiConfig
* 获取API相关配置
src/services/internal/ConfigService.ts:359
Method
getApp
* 获取应用实例
src/server/api-server.ts:1356
Method
getAvailableLayouts
* 获取可用布局列表 * @returns {Array} 布局名称列表
web/public/js/forms/FormRenderer.js:635
Method
getAvailableLogFiles
* 获取所有可用的日志文件
src/infrastructure/logging/LoggerService.ts:820
Method
getAvailableLogFiles
()
src/types/interfaces.ts:192
Method
getAvailableRules
* 获取所有可用的验证规则 * @returns {Array} 规则名称列表
web/public/js/forms/FormValidator.js:412
Method
getAvailableThemes
* 获取可用主题列表 * @returns {Array} 主题名称列表
web/public/js/forms/FormRenderer.js:627
Method
getBalance
* 获取账户余额 (SOL) - 使用新日志系统
src/services/blockchain/SolanaWeb3Service.ts:209
Method
getBalance
* 手动获取钱包余额 (用于交易前检查)
web/public/js/components/wallet/wallet-core.js:508
Method
getBasePixel
()
web/public/js/libs/chart.min.js:13
Method
getBasePosition
(t)
web/public/js/libs/chart.min.js:13
Method
getBatchOperationStatus
(batchId: string)
src/types/interfaces.ts:608
Method
getBatchPositionsOnChainInfo
* 🆕 批量获取多个头寸的链上信息 * @param positionAddresses 头寸地址数组 * @returns 批量头寸信息结果
src/services/business/PositionManager.ts:1455
Method
getBatchPositionsOnChainInfo
(positionAddresses: string[])
src/services/business/YPositionManager.ts:647
Method
getBatchPositionsOnChainInfo
(positionAddresses: string[])
src/services/business/XPositionManager.ts:761
Method
getBatchRoutes
* 批量获取最佳路由 - 实时版本(无缓存)
src/services/external/JupiterService.ts:628
Method
getBatchRoutes
* 批量获取最佳路由 - 实时版本(无缓存)
src/services/external/JupiterService.backup.ts:483
Method
getBatchRoutes
* 批量获取最佳路由 - 实时版本(无缓存)
src/services/external/JupiterService.v6.ts:483
Method
getBatchTransactions
(signatures: string[])
src/types/interfaces.ts:564
Method
getBatchTransactions
* 批量获取交易详情 * @param signatures 交易签名数组
src/services/external/HeliusService.ts:275
Method
getBinInfo
(poolAddress: string, binId: number)
src/types/interfaces.ts:664
Method
getBinRange
(poolAddress: string, startBin: number, endBin: number)
src/types/interfaces.ts:665
Method
getBinRange
(poolAddress: string, startBin: number, endBin: number)
src/services/external/MeteoraService.ts:428
Method
getBusinessMonitoringLogs
(limit?: number)
src/types/interfaces.ts:190
Method
getBusinessMonitoringLogs
* 获取业务监控日志
web/public/js/api.js:635
Method
getBusinessOperationLogs
(limit?: number)
src/types/interfaces.ts:189
Method
getBusinessOperationLogs
* 获取业务操作日志
web/public/js/api.js:628
Method
getByPrefix
* 按前缀获取状态
src/services/internal/StateService.ts:259
Method
getCachedData
()
src/services/business/analytics/UnifiedDataProvider.ts:142
Method
getCachedStopLossAnalysis
(instanceId: string)
src/services/strategy/executors/simple-y-modules/SimpleYRiskService.ts:542
Method
getChangeColor
* 根据值获取变化颜色
web/public/js/utils/formatter.js:283
Method
getCollectionState
* 📊 获取收集状态
src/services/modules/ChainPositionDataAdapter.ts:381
← previous
next →
2,801–2,900 of 3,742, ranked by callers