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
↓ 4 callers
Method
setButtonLoading
* 设置按钮加载状态 * @param {string} buttonId 按钮ID * @param {boolean} loading 是否加载中
web/public/js/components/jupiter/jupiter-ui.js:771
↓ 4 callers
Method
setFieldError
(fieldName, message)
web/public/js/components/simple-y-create/SimpleYCreator.js:1402
↓ 4 callers
Method
setNestedValue
* 设置嵌套值
web/public/js/components/strategy-create/ChainPositionCreator.js:970
↓ 4 callers
Method
shortenAddress
* 缩短地址显示
web/public/js/utils/formatter.js:189
↓ 4 callers
Method
show
(type, title, message, duration = 5000)
web/public/js/app.js:49
↓ 4 callers
Function
showError
(title, message)
web/public/js/components/wallet/wallet-manager.js:72
↓ 4 callers
Method
showNotification
* 显示通知
web/public/js/components/strategy-monitor/StrategyMonitor.js:349
↓ 4 callers
Method
showNotification
* 显示通知
web/public/js/components/simple-y-monitor/SimpleYStrategyMonitor.js:350
↓ 4 callers
Method
showNotification
* 显示通知
web/public/js/components/position/position-manager.js:307
↓ 4 callers
Method
showSuccess
(title, message, duration)
web/public/js/app.js:99
↓ 4 callers
Function
ss
(t,e,i,s)
web/public/js/libs/chart.min.js:13
↓ 4 callers
Method
stopInstance
(instanceId: string)
src/services/strategy/StrategyManager.ts:32
↓ 4 callers
Method
unlockWallet
(password: string)
src/types/interfaces.ts:317
↓ 4 callers
Method
update
(t)
web/public/js/libs/chart.min.js:13
↓ 4 callers
Method
updateAlerts
* 更新预警列表
web/public/js/components/monitor/monitor-ui.js:496
↓ 4 callers
Method
updateCreateButtonState
* 更新创建按钮状态
web/public/js/components/strategy-create/ChainPositionCreator.js:1188
↓ 4 callers
Method
updateLogs
* 更新日志列表
web/public/js/components/monitor/monitor-ui.js:537
↓ 4 callers
Method
updateStrategyInList
* 更新策略列表中的策略
web/public/js/components/strategy-monitor/StrategyController.js:525
↓ 4 callers
Method
updateStrategyInList
* 更新策略列表中的策略
web/public/js/components/simple-y-monitor/StrategyController.js:525
↓ 4 callers
Method
validate
* 验证配置 * @returns {Object} 验证结果
web/public/js/strategies/base/StrategyConfig.js:253
↓ 4 callers
Method
waitForWalletManager
(timeout = 2000)
web/public/js/app.js:1045
↓ 4 callers
Function
ze
(t)
web/public/js/libs/chart.min.js:13
↓ 3 callers
Function
Bs
web/public/js/libs/chart.min.js:13
↓ 3 callers
Function
Fs
(t,e)
web/public/js/libs/chart.min.js:13
↓ 3 callers
Function
Ft
(t,e,i)
web/public/js/libs/chart.min.js:13
↓ 3 callers
Function
It
(t)
web/public/js/libs/chart.min.js:13
↓ 3 callers
Function
Je
(t,e,i,s)
web/public/js/libs/chart.min.js:13
↓ 3 callers
Function
Jt
(t)
web/public/js/libs/chart.min.js:13
↓ 3 callers
Function
Le
(t,e,i,s)
web/public/js/libs/chart.min.js:13
↓ 3 callers
Function
So
(t)
web/public/js/libs/chart.min.js:13
↓ 3 callers
Function
Vn
(t)
web/public/js/libs/chart.min.js:13
↓ 3 callers
Function
Xe
(t,e)
web/public/js/libs/chart.min.js:13
↓ 3 callers
Function
Y
(t)
web/public/js/libs/chart.min.js:7
↓ 3 callers
Function
Yi
(t,e,i,s,n,o)
web/public/js/libs/chart.min.js:13
↓ 3 callers
Function
Yt
web/public/js/libs/chart.min.js:13
↓ 3 callers
Method
_getAnims
(t)
web/public/js/libs/chart.min.js:7
↓ 3 callers
Method
_getSortedDatasetMetas
(t)
web/public/js/libs/chart.min.js:13
↓ 3 callers
Method
_getXAxisLabelAlignment
()
web/public/js/libs/chart.min.js:13
↓ 3 callers
Method
_getYAxisLabelAlignment
(t)
web/public/js/libs/chart.min.js:13
↓ 3 callers
Method
_notify
(t,e,i,s)
web/public/js/libs/chart.min.js:7
↓ 3 callers
Method
_notify
(t)
web/public/js/libs/chart.min.js:13
↓ 3 callers
Method
_resize
(t,e)
web/public/js/libs/chart.min.js:13
↓ 3 callers
Method
_updateHoverStyles
(t,e,i)
web/public/js/libs/chart.min.js:13
↓ 3 callers
Method
active
()
web/public/js/libs/chart.min.js:13
↓ 3 callers
Method
addLiquidity
* 通用流动性添加方法 * 支持Meteora SDK的3种策略模式: * - spot: 均匀分布,适合任何市场条件 * - bidask: 直角三角形分布,资金集中在活跃价格附近 * - curve: 反向直角三角形分布,资金集中在价格边界
src/services/business/LiquidityOperationService.ts:110
↓ 3 callers
Method
addTheme
* 添加主题 * @param {string} name - 主题名称 * @param {Object} theme - 主题配置
web/public/js/forms/FormRenderer.js:517
↓ 3 callers
Function
an
(t,e)
web/public/js/libs/chart.min.js:13
↓ 3 callers
Method
applyStack
(t,e,i)
web/public/js/libs/chart.min.js:13
↓ 3 callers
Method
broadcastStrategyStatusUpdate
* 📡 广播策略状态更新到前端
src/services/strategy/executors/SimpleYExecutor.ts:894
↓ 3 callers
Method
calculateAverageBenchmark
* 🆕 计算指定时间范围内的平均基准收益率 * @param timeframeMinutes 时间范围(分钟) * @returns 平均基准收益率
src/services/business/analytics/UnifiedDataProvider.ts:1201
↓ 3 callers
Method
calculateBinPrice
(poolAddress: string, binId: number)
src/types/interfaces.ts:538
↓ 3 callers
Method
calculateChainPositionBinRange
* 🎯 获取连锁头寸的bin范围(从创建时保存的数据)
src/services/strategy/executors/ChainPositionExecutor.ts:907
↓ 3 callers
Method
calculateDualYieldRates
* 双重收益率计算核心方法 * * 计算两种不同维度的收益率: * 1. 真实盈亏百分比:总体投资表现,包含头寸价值变化 * 2. 手续费收益效率:纯手续费收益的时间效率,转换为日化收益率 * * 数据就近计算原则: * -
src/services/business/analytics/UnifiedDataProvider.ts:852
↓ 3 callers
Method
calculateFeeYieldRate
* 手续费收益率计算(日化转换) * * 计算逻辑: * 1. 获取指定时间段内的收益增长 * 2. 计算该时间段的收益率 * 3. 通过倍数转换为日化收益率 * * @param timeframeMinutes 时间段长度
src/services/business/analytics/UnifiedDataProvider.ts:932
↓ 3 callers
Function
ce
(t,e,i)
web/public/js/libs/chart.min.js:13
↓ 3 callers
Method
checkAndRecoverChainPositionPage
* 🔧 添加组件状态检查和恢复机制
web/public/js/app.js:1303
↓ 3 callers
Method
checkRateLimit
* 检查频率限制
src/services/external/HeliusService.ts:375
↓ 3 callers
Method
cleanupInstanceState
* 🔧 清理实例状态(用于策略停止时)
src/services/modules/PositionRecreationModule.ts:377
↓ 3 callers
Method
cleanupRecreationModule
* 🆕 清理头寸重建模块状态 - 重建完成后调用
src/services/strategy/executors/simple-y-modules/SimpleYPositionService.ts:848
↓ 3 callers
Method
clear
()
src/infrastructure/StateService.ts:16
↓ 3 callers
Method
clear
* 清空所有状态
src/services/internal/StateService.ts:188
↓ 3 callers
Method
clearData
()
src/types/pool-crawler-types.ts:294
↓ 3 callers
Method
clearFieldError
* 清除字段错误
web/public/js/components/wallet/wallet-forms.js:537
↓ 3 callers
Method
clearSavedFormData
* 清除保存的表单数据
web/public/js/components/strategy-create/ChainPositionCreator.js:1963
↓ 3 callers
Method
closePosition
(positionAddress: string, password?: string)
src/types/interfaces.ts:363
↓ 3 callers
Method
connect
* 连接Socket.IO服务器
web/public/js/components/strategy-monitor/StrategyMonitor.js:174
↓ 3 callers
Method
createModal
* 创建模态框基础结构
web/public/js/components/wallet/wallet-forms.js:43
↓ 3 callers
Method
createStrategy
(config: StrategyConfig)
src/types/interfaces.ts:754
↓ 3 callers
Function
da
(t,e,i)
web/public/js/libs/chart.min.js:13
↓ 3 callers
Method
deleteInstance
(instanceId: string)
src/services/strategy/StrategyManager.ts:35
↓ 3 callers
Method
deleteStrategy
(instanceId: string)
src/types/interfaces.ts:759
↓ 3 callers
Method
deserialize
* 反序列化配置 * @param {string} json - JSON字符串
web/public/js/strategies/base/StrategyConfig.js:354
↓ 3 callers
Function
ea
(t,e,i)
web/public/js/libs/chart.min.js:13
↓ 3 callers
Method
emit
* 触发事件
web/public/js/components/strategy-monitor/UIManager.js:1222
↓ 3 callers
Method
emit
* 触发事件
web/public/js/components/simple-y-monitor/UIManager.js:1222
↓ 3 callers
Function
eo
(t)
web/public/js/libs/chart.min.js:13
↓ 3 callers
Function
et
(t,e,i)
web/public/js/libs/chart.min.js:7
↓ 3 callers
Method
executeListeners
* 🔧 修复:执行监听器的核心逻辑(从emit方法提取)
src/infrastructure/EventBus.ts:362
↓ 3 callers
Method
extractDataValue
* 提取数据值(全部为百分比)
web/public/js/components/analytics/simple-analytics.js:837
↓ 3 callers
Function
fe
()
web/public/js/libs/chart.min.js:13
↓ 3 callers
Method
fetchAllMarketData
(params: DataFetchParams)
src/services/business/analytics/UnifiedDataProvider.ts:141
↓ 3 callers
Method
format
* 格式化时间为 MM/DD HH:MM:SS 格式 * @param date 日期对象,默认当前时间 * @returns 格式化的时间字符串
src/infrastructure/logging/TimeFormatter.ts:11
↓ 3 callers
Method
formatAddress
* 格式化地址显示
web/public/js/components/strategy-monitor/UIManager.js:1140
↓ 3 callers
Method
formatAddress
* 格式化地址显示
web/public/js/components/simple-y-monitor/UIManager.js:1140
↓ 3 callers
Method
formatAddress
* 格式化地址
web/public/js/components/pool-crawler/PoolCrawlerMonitor.js:1821
↓ 3 callers
Method
formatCurrency
* 格式化货币
web/public/js/components/strategy-monitor/UIManager.js:1107
↓ 3 callers
Method
formatCurrency
(amount)
web/public/js/components/monitor/monitor-ui.js:767
↓ 3 callers
Method
formatCurrency
* 格式化货币
web/public/js/components/simple-y-monitor/UIManager.js:1107
↓ 3 callers
Method
formatDate
* 格式化日期
web/public/js/utils/formatter.js:127
↓ 3 callers
Method
formatTime
* 格式化时间
web/public/js/components/strategy-monitor/UIManager.js:1123
↓ 3 callers
Method
formatTime
(timestamp)
web/public/js/components/monitor/monitor-ui.js:777
↓ 3 callers
Method
formatTime
* 格式化时间
web/public/js/components/simple-y-monitor/UIManager.js:1123
↓ 3 callers
Function
ge
(t)
web/public/js/libs/chart.min.js:13
↓ 3 callers
Method
generateTrackerId
(poolAddress: string, positionAddresses: string[])
src/services/business/analytics/AccumulatedYieldManager.ts:168
↓ 3 callers
Method
getAllParsedValues
(t)
web/public/js/libs/chart.min.js:13
↓ 3 callers
Method
getBaseValue
()
web/public/js/libs/chart.min.js:13
↓ 3 callers
Method
getBinRange
(poolAddress: string, startBin: number, endBin: number)
src/types/interfaces.ts:526
↓ 3 callers
Method
getCenterPoint
(t)
web/public/js/libs/chart.min.js:13
↓ 3 callers
Method
getContext
()
web/public/js/libs/chart.min.js:13
↓ 3 callers
Method
getCurrentGasSettings
()
src/types/interfaces.ts:891
← previous
next →
401–500 of 3,742, ranked by callers