dexbot 1.4.16 โ 1.4.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5019 -0
- package/README.md +4 -6
- package/analysis/README.md +468 -0
- package/analysis/ama_fitting/README.md +258 -0
- package/analysis/ama_fitting/analyze_ama_price_changes.ts +151 -0
- package/analysis/ama_fitting/analyze_lambda_vs_slow.ts +407 -0
- package/analysis/ama_fitting/calibrate_convergence_er.ts +199 -0
- package/analysis/ama_fitting/fetch_lp_candles.ts +187 -0
- package/analysis/ama_fitting/generate_unified_comparison_chart.ts +269 -0
- package/analysis/ama_fitting/optimizer_high_resolution.ts +792 -0
- package/analysis/ama_fitting/package.json +12 -0
- package/analysis/analyze_derivatives.ts +318 -0
- package/analysis/analyze_dynamic_weight.ts +219 -0
- package/analysis/analyze_kalman.ts +126 -0
- package/analysis/analyze_regime.ts +156 -0
- package/analysis/analyze_regime_windows.ts +460 -0
- package/analysis/analyze_risk_profile.ts +199 -0
- package/analysis/analyze_trade_heatmap.ts +362 -0
- package/analysis/analyze_volatility.ts +182 -0
- package/analysis/bot_fitting/README.md +124 -0
- package/analysis/bot_fitting/backtest_ama_sweep.ts +816 -0
- package/analysis/bot_fitting/backtest_bot_fitting.ts +421 -0
- package/analysis/bot_fitting/shared_utils.ts +46 -0
- package/analysis/bot_key_utils.ts +154 -0
- package/analysis/bot_usage/discover_bot_accounts.ts +579 -0
- package/analysis/bot_usage/kibana_bot_queries.ts +427 -0
- package/analysis/chart_css.ts +60 -0
- package/analysis/chart_ui.ts +106 -0
- package/analysis/chart_utils.ts +161 -0
- package/analysis/derivative_chart_generator.ts +874 -0
- package/analysis/math_utils.ts +60 -0
- package/analysis/price_sources.ts +130 -0
- package/analysis/resolve_source.ts +89 -0
- package/analysis/trade_profitability.ts +1412 -0
- package/analysis/tradingview/README.md +161 -0
- package/analysis/tradingview/analyze_tradingview.ts +160 -0
- package/analysis/tradingview/tradingview_uplot_chart_generator.ts +1718 -0
- package/analysis/trend_detection/DYNAMIC_WEIGHT_RESEARCH.md +437 -0
- package/analysis/trend_detection/README.md +27 -0
- package/analysis/trend_detection/SIGNAL_DOCUMENTATION.md +403 -0
- package/analysis/trend_detection/derivative_analyzer.ts +1050 -0
- package/analysis/trend_detection/dynamic_weight_chart_generator.ts +1376 -0
- package/analysis/trend_detection/hurst_analyzer.ts +7 -0
- package/analysis/trend_detection/kalman_chart_generator.ts +371 -0
- package/analysis/trend_detection/kalman_trend_analyzer.ts +9 -0
- package/analysis/trend_detection/kalman_velocity_smoothing.ts +7 -0
- package/analysis/trend_detection/package.json +23 -0
- package/analysis/trend_detection/permutation_entropy_analyzer.ts +7 -0
- package/analysis/trend_detection/regime_chart_generator.ts +319 -0
- package/analysis/trend_detection/tests/test_kalman_trend.ts +153 -0
- package/analysis/trend_detection/tests/test_kalman_velocity_smoothing.ts +64 -0
- package/analysis/trend_detection/volatility_chart_generator.ts +655 -0
- package/analysis/tsconfig.json +29 -0
- package/analysis/uplot/index.d.ts +128 -0
- package/analysis/uplot/uPlot.iife.min.js +2 -0
- package/analysis/uplot/uPlot.min.css +1 -0
- package/claw/README.md +49 -45
- package/claw/docs/AI_BOT_LIBRARY_API.md +6 -6
- package/claw/examples/claw_profiles_example.ts +1 -1
- package/claw/examples/memu_integration_example.ts +1 -1
- package/claw/examples/short_mpa_bts_strategy.ts +3 -3
- package/claw/modules/bitshares_client.ts +47 -7
- package/claw/modules/chain_actions.ts +10 -1
- package/claw/modules/claw_infra.ts +13 -3
- package/claw/modules/claw_launcher.ts +41 -7
- package/claw/modules/claw_manifest.ts +9 -1
- package/claw/modules/claw_skill_md.ts +34 -13
- package/claw/modules/credit_runtime_adapter.ts +24 -5
- package/claw/modules/decision_loop.ts +10 -2
- package/claw/modules/dexbot_profiles.ts +1 -24
- package/claw/modules/feed_price_source.ts +1 -1
- package/claw/modules/honest_ecosystem.ts +32 -8
- package/claw/modules/kibana_price_source.ts +6 -2
- package/claw/modules/launcher_mode_detector.ts +10 -13
- package/claw/modules/liquidity_pools.ts +2 -2
- package/claw/modules/mcp_utils.ts +46 -5
- package/claw/modules/memu_bridge.ts +17 -1
- package/claw/modules/position_discovery.ts +1 -1
- package/claw/modules/position_health.ts +1 -1
- package/claw/modules/position_manager.ts +39 -13
- package/claw/modules/skill_utils.ts +4 -8
- package/claw/modules/types.ts +20 -1
- package/claw/package.json +21 -21
- package/claw/runtimes/openclaw-plugin/openclaw.plugin.json +1 -1
- package/claw/runtimes/openclaw-plugin/package.json +1 -1
- package/claw/scripts/claw_bridge.ts +24 -5
- package/claw/scripts/claw_mcp_server.ts +28 -13
- package/claw/scripts/claw_skill_md.ts +1 -1
- package/claw/scripts/honest_assets_report.ts +3 -1
- package/claw/scripts/memu_mcp_server.ts +15 -4
- package/claw/skills/launcher-ops/references/launcher-workflow.md +5 -5
- package/claw/skills/margin-trading/references/honest-asset-list.md +1 -1
- package/claw/skills/memu-memory/SKILL.md +3 -3
- package/claw/tests/test_claw_data_flow.ts +4 -2
- package/claw/tests/test_claw_mcp_transport.ts +2 -2
- package/claw/tests/test_claw_regressions.ts +5 -0
- package/claw/tests/test_claw_skill_generation.ts +3 -3
- package/claw/tests/test_nullclaw_tmp_integration.ts +1 -1
- package/claw/tsconfig.json +1 -2
- package/dist/analysis/ama_fitting/analyze_ama_price_changes.d.ts +3 -0
- package/dist/analysis/ama_fitting/analyze_ama_price_changes.d.ts.map +1 -0
- package/dist/analysis/ama_fitting/analyze_ama_price_changes.js +148 -0
- package/dist/analysis/ama_fitting/analyze_ama_price_changes.js.map +1 -0
- package/dist/analysis/ama_fitting/analyze_lambda_vs_slow.d.ts +12 -0
- package/dist/analysis/ama_fitting/analyze_lambda_vs_slow.d.ts.map +1 -0
- package/dist/analysis/ama_fitting/analyze_lambda_vs_slow.js +389 -0
- package/dist/analysis/ama_fitting/analyze_lambda_vs_slow.js.map +1 -0
- package/dist/analysis/ama_fitting/calibrate_convergence_er.d.ts +3 -0
- package/dist/analysis/ama_fitting/calibrate_convergence_er.d.ts.map +1 -0
- package/dist/analysis/ama_fitting/calibrate_convergence_er.js +200 -0
- package/dist/analysis/ama_fitting/calibrate_convergence_er.js.map +1 -0
- package/dist/analysis/ama_fitting/fetch_lp_candles.d.ts +3 -0
- package/dist/analysis/ama_fitting/fetch_lp_candles.d.ts.map +1 -0
- package/dist/analysis/ama_fitting/fetch_lp_candles.js +213 -0
- package/dist/analysis/ama_fitting/fetch_lp_candles.js.map +1 -0
- package/dist/analysis/ama_fitting/generate_unified_comparison_chart.d.ts +25 -0
- package/dist/analysis/ama_fitting/generate_unified_comparison_chart.d.ts.map +1 -0
- package/dist/analysis/ama_fitting/generate_unified_comparison_chart.js +247 -0
- package/dist/analysis/ama_fitting/generate_unified_comparison_chart.js.map +1 -0
- package/dist/analysis/ama_fitting/optimizer_high_resolution.d.ts +35 -0
- package/dist/analysis/ama_fitting/optimizer_high_resolution.d.ts.map +1 -0
- package/dist/analysis/ama_fitting/optimizer_high_resolution.js +782 -0
- package/dist/analysis/ama_fitting/optimizer_high_resolution.js.map +1 -0
- package/dist/analysis/analyze_derivatives.d.ts +86 -0
- package/dist/analysis/analyze_derivatives.d.ts.map +1 -0
- package/dist/analysis/analyze_derivatives.js +285 -0
- package/dist/analysis/analyze_derivatives.js.map +1 -0
- package/dist/analysis/analyze_dynamic_weight.d.ts +14 -0
- package/dist/analysis/analyze_dynamic_weight.d.ts.map +1 -0
- package/dist/analysis/analyze_dynamic_weight.js +197 -0
- package/dist/analysis/analyze_dynamic_weight.js.map +1 -0
- package/dist/analysis/analyze_kalman.d.ts +13 -0
- package/dist/analysis/analyze_kalman.d.ts.map +1 -0
- package/dist/analysis/analyze_kalman.js +118 -0
- package/dist/analysis/analyze_kalman.js.map +1 -0
- package/dist/analysis/analyze_regime.d.ts +20 -0
- package/dist/analysis/analyze_regime.d.ts.map +1 -0
- package/dist/analysis/analyze_regime.js +139 -0
- package/dist/analysis/analyze_regime.js.map +1 -0
- package/dist/analysis/analyze_regime_windows.d.ts +19 -0
- package/dist/analysis/analyze_regime_windows.d.ts.map +1 -0
- package/dist/analysis/analyze_regime_windows.js +414 -0
- package/dist/analysis/analyze_regime_windows.js.map +1 -0
- package/dist/analysis/analyze_risk_profile.d.ts +3 -0
- package/dist/analysis/analyze_risk_profile.d.ts.map +1 -0
- package/dist/analysis/analyze_risk_profile.js +186 -0
- package/dist/analysis/analyze_risk_profile.js.map +1 -0
- package/dist/analysis/analyze_trade_heatmap.d.ts +3 -0
- package/dist/analysis/analyze_trade_heatmap.d.ts.map +1 -0
- package/dist/analysis/analyze_trade_heatmap.js +358 -0
- package/dist/analysis/analyze_trade_heatmap.js.map +1 -0
- package/dist/analysis/analyze_volatility.d.ts +22 -0
- package/dist/analysis/analyze_volatility.d.ts.map +1 -0
- package/dist/analysis/analyze_volatility.js +165 -0
- package/dist/analysis/analyze_volatility.js.map +1 -0
- package/dist/analysis/bot_fitting/backtest_ama_sweep.d.ts +91 -0
- package/dist/analysis/bot_fitting/backtest_ama_sweep.d.ts.map +1 -0
- package/dist/analysis/bot_fitting/backtest_ama_sweep.js +792 -0
- package/dist/analysis/bot_fitting/backtest_ama_sweep.js.map +1 -0
- package/dist/analysis/bot_fitting/backtest_bot_fitting.d.ts +2 -0
- package/dist/analysis/bot_fitting/backtest_bot_fitting.d.ts.map +1 -0
- package/dist/analysis/bot_fitting/backtest_bot_fitting.js +380 -0
- package/dist/analysis/bot_fitting/backtest_bot_fitting.js.map +1 -0
- package/dist/analysis/bot_fitting/shared_utils.d.ts +26 -0
- package/dist/analysis/bot_fitting/shared_utils.d.ts.map +1 -0
- package/dist/analysis/bot_fitting/shared_utils.js +42 -0
- package/dist/analysis/bot_fitting/shared_utils.js.map +1 -0
- package/dist/analysis/bot_key_utils.d.ts +11 -0
- package/dist/analysis/bot_key_utils.d.ts.map +1 -0
- package/dist/analysis/bot_key_utils.js +153 -0
- package/dist/analysis/bot_key_utils.js.map +1 -0
- package/dist/analysis/bot_usage/discover_bot_accounts.d.ts +3 -0
- package/dist/analysis/bot_usage/discover_bot_accounts.d.ts.map +1 -0
- package/dist/analysis/bot_usage/discover_bot_accounts.js +499 -0
- package/dist/analysis/bot_usage/discover_bot_accounts.js.map +1 -0
- package/dist/analysis/bot_usage/kibana_bot_queries.d.ts +531 -0
- package/dist/analysis/bot_usage/kibana_bot_queries.d.ts.map +1 -0
- package/dist/analysis/bot_usage/kibana_bot_queries.js +399 -0
- package/dist/analysis/bot_usage/kibana_bot_queries.js.map +1 -0
- package/dist/analysis/chart_css.d.ts +17 -0
- package/dist/analysis/chart_css.d.ts.map +1 -0
- package/dist/analysis/chart_css.js +49 -0
- package/dist/analysis/chart_css.js.map +1 -0
- package/dist/analysis/chart_ui.d.ts +45 -0
- package/dist/analysis/chart_ui.d.ts.map +1 -0
- package/dist/analysis/chart_ui.js +97 -0
- package/dist/analysis/chart_ui.js.map +1 -0
- package/dist/analysis/derivative_chart_generator.d.ts +12 -0
- package/dist/analysis/derivative_chart_generator.d.ts.map +1 -0
- package/dist/analysis/derivative_chart_generator.js +891 -0
- package/dist/analysis/derivative_chart_generator.js.map +1 -0
- package/dist/analysis/price_sources.d.ts +40 -0
- package/dist/analysis/price_sources.d.ts.map +1 -0
- package/dist/analysis/price_sources.js +94 -0
- package/dist/analysis/price_sources.js.map +1 -0
- package/dist/analysis/resolve_source.d.ts +25 -0
- package/dist/analysis/resolve_source.d.ts.map +1 -0
- package/dist/analysis/resolve_source.js +69 -0
- package/dist/analysis/resolve_source.js.map +1 -0
- package/dist/analysis/trade_profitability.d.ts +115 -0
- package/dist/analysis/trade_profitability.d.ts.map +1 -0
- package/dist/analysis/trade_profitability.js +1240 -0
- package/dist/analysis/trade_profitability.js.map +1 -0
- package/dist/analysis/tradingview/analyze_tradingview.d.ts +31 -0
- package/dist/analysis/tradingview/analyze_tradingview.d.ts.map +1 -0
- package/dist/analysis/tradingview/analyze_tradingview.js +146 -0
- package/dist/analysis/tradingview/analyze_tradingview.js.map +1 -0
- package/dist/analysis/trend_detection/derivative_analyzer.d.ts +247 -0
- package/dist/analysis/trend_detection/derivative_analyzer.d.ts.map +1 -0
- package/dist/analysis/trend_detection/derivative_analyzer.js +901 -0
- package/dist/analysis/trend_detection/derivative_analyzer.js.map +1 -0
- package/dist/analysis/trend_detection/dynamic_weight_chart_generator.d.ts +3 -0
- package/dist/analysis/trend_detection/dynamic_weight_chart_generator.d.ts.map +1 -0
- package/dist/analysis/trend_detection/dynamic_weight_chart_generator.js +1361 -0
- package/dist/analysis/trend_detection/dynamic_weight_chart_generator.js.map +1 -0
- package/dist/analysis/trend_detection/hurst_analyzer.d.ts +6 -0
- package/dist/analysis/trend_detection/hurst_analyzer.d.ts.map +1 -0
- package/dist/analysis/trend_detection/hurst_analyzer.js +7 -0
- package/dist/analysis/trend_detection/hurst_analyzer.js.map +1 -0
- package/dist/analysis/trend_detection/kalman_chart_generator.d.ts +3 -0
- package/dist/analysis/trend_detection/kalman_chart_generator.d.ts.map +1 -0
- package/dist/analysis/trend_detection/kalman_chart_generator.js +360 -0
- package/dist/analysis/trend_detection/kalman_chart_generator.js.map +1 -0
- package/dist/analysis/trend_detection/kalman_trend_analyzer.d.ts +8 -0
- package/dist/analysis/trend_detection/kalman_trend_analyzer.d.ts.map +1 -0
- package/dist/analysis/trend_detection/kalman_trend_analyzer.js +8 -0
- package/dist/analysis/trend_detection/kalman_trend_analyzer.js.map +1 -0
- package/dist/analysis/trend_detection/kalman_velocity_smoothing.d.ts +6 -0
- package/dist/analysis/trend_detection/kalman_velocity_smoothing.d.ts.map +1 -0
- package/dist/analysis/trend_detection/kalman_velocity_smoothing.js +7 -0
- package/dist/analysis/trend_detection/kalman_velocity_smoothing.js.map +1 -0
- package/dist/analysis/trend_detection/permutation_entropy_analyzer.d.ts +6 -0
- package/dist/analysis/trend_detection/permutation_entropy_analyzer.d.ts.map +1 -0
- package/dist/analysis/trend_detection/permutation_entropy_analyzer.js +7 -0
- package/dist/analysis/trend_detection/permutation_entropy_analyzer.js.map +1 -0
- package/dist/analysis/trend_detection/regime_chart_generator.d.ts +3 -0
- package/dist/analysis/trend_detection/regime_chart_generator.d.ts.map +1 -0
- package/dist/analysis/trend_detection/regime_chart_generator.js +310 -0
- package/dist/analysis/trend_detection/regime_chart_generator.js.map +1 -0
- package/dist/analysis/trend_detection/tests/test_kalman_trend.d.ts +2 -0
- package/dist/analysis/trend_detection/tests/test_kalman_trend.d.ts.map +1 -0
- package/dist/analysis/trend_detection/tests/test_kalman_trend.js +128 -0
- package/dist/analysis/trend_detection/tests/test_kalman_trend.js.map +1 -0
- package/dist/analysis/trend_detection/tests/test_kalman_velocity_smoothing.d.ts +2 -0
- package/dist/analysis/trend_detection/tests/test_kalman_velocity_smoothing.d.ts.map +1 -0
- package/dist/analysis/trend_detection/tests/test_kalman_velocity_smoothing.js +37 -0
- package/dist/analysis/trend_detection/tests/test_kalman_velocity_smoothing.js.map +1 -0
- package/dist/analysis/trend_detection/volatility_chart_generator.d.ts +3 -0
- package/dist/analysis/trend_detection/volatility_chart_generator.d.ts.map +1 -0
- package/dist/analysis/trend_detection/volatility_chart_generator.js +646 -0
- package/dist/analysis/trend_detection/volatility_chart_generator.js.map +1 -0
- package/dist/bot.js +2 -2
- package/dist/bot.js.map +1 -1
- package/dist/credential-daemon.js +1 -1
- package/dist/credential-daemon.js.map +1 -1
- package/dist/market_adapter/ama_signal_runner.js +1 -1
- package/dist/market_adapter/ama_signal_runner.js.map +1 -1
- package/dist/market_adapter/core/market_adapter_service.js +2 -2
- package/dist/market_adapter/core/market_adapter_service.js.map +1 -1
- package/dist/market_adapter/core/signals/hurst_analyzer.js +1 -1
- package/dist/market_adapter/core/signals/kalman_trend_analyzer.js +1 -1
- package/dist/market_adapter/core/signals/permutation_entropy_analyzer.js +1 -1
- package/dist/market_adapter/core/strategies/ama_slope_model.js +1 -1
- package/dist/market_adapter/core/strategies/collateral_manager.js +1 -1
- package/dist/market_adapter/core/strategies/regime_gate.js +1 -1
- package/dist/market_adapter/inputs/fetch_cex_synthetic_data.js +1 -1
- package/dist/market_adapter/lp_chart_core.js +1 -1
- package/dist/market_adapter/market_adapter.js +2 -2
- package/dist/market_adapter/market_adapter.js.map +1 -1
- package/dist/modules/account_bots.d.ts.map +1 -1
- package/dist/modules/account_bots.js +7 -17
- package/dist/modules/account_bots.js.map +1 -1
- package/dist/modules/account_orders.d.ts +8 -1
- package/dist/modules/account_orders.d.ts.map +1 -1
- package/dist/modules/account_orders.js +3 -11
- package/dist/modules/account_orders.js.map +1 -1
- package/dist/modules/authority_resolver.js +1 -1
- package/dist/modules/authority_resolver.js.map +1 -1
- package/dist/modules/bitshares-native/crypto/ecc.browser.d.ts +1 -2
- package/dist/modules/bitshares-native/crypto/ecc.browser.d.ts.map +1 -1
- package/dist/modules/bitshares-native/crypto/ecc.browser.js +19 -58
- package/dist/modules/bitshares-native/crypto/ecc.browser.js.map +1 -1
- package/dist/modules/bitshares-native/crypto/ecc.d.ts +2 -9
- package/dist/modules/bitshares-native/crypto/ecc.d.ts.map +1 -1
- package/dist/modules/bitshares-native/crypto/ecc.js +6 -145
- package/dist/modules/bitshares-native/crypto/ecc.js.map +1 -1
- package/dist/modules/bitshares-native/serial/chain_constants.d.ts +1 -17
- package/dist/modules/bitshares-native/serial/chain_constants.d.ts.map +1 -1
- package/dist/modules/bitshares-native/serial/chain_constants.js +1 -30
- package/dist/modules/bitshares-native/serial/chain_constants.js.map +1 -1
- package/dist/modules/bitshares-native/serial/types.d.ts +1 -30
- package/dist/modules/bitshares-native/serial/types.d.ts.map +1 -1
- package/dist/modules/bitshares-native/serial/types.js +1 -169
- package/dist/modules/bitshares-native/serial/types.js.map +1 -1
- package/dist/modules/bitshares-native/signing_client.js +1 -1
- package/dist/modules/bitshares-native/signing_client.js.map +1 -1
- package/dist/modules/bitshares-native/subscriptions.js +7 -7
- package/dist/modules/bitshares-native/subscriptions.js.map +1 -1
- package/dist/modules/bitshares-native/transport.js +1 -1
- package/dist/modules/bitshares-native/transport.js.map +1 -1
- package/dist/modules/bitshares-native/tx/builder.d.ts +1 -6
- package/dist/modules/bitshares-native/tx/builder.d.ts.map +1 -1
- package/dist/modules/bitshares-native/tx/builder.js +2 -11
- package/dist/modules/bitshares-native/tx/builder.js.map +1 -1
- package/dist/modules/bitshares-native/tx/tx_cache.js +1 -1
- package/dist/modules/bitshares-native/tx/tx_cache.js.map +1 -1
- package/dist/modules/bitshares_client.js +1 -1
- package/dist/modules/bitshares_client.js.map +1 -1
- package/dist/modules/bot_settings.js +1 -1
- package/dist/modules/bot_settings.js.map +1 -1
- package/dist/modules/chain_keys.d.ts +2 -2
- package/dist/modules/chain_keys.js +2 -2
- package/dist/modules/chain_orders.d.ts.map +1 -1
- package/dist/modules/chain_orders.js +7 -23
- package/dist/modules/chain_orders.js.map +1 -1
- package/dist/modules/constants.js +1 -1
- package/dist/modules/constants.js.map +1 -1
- package/dist/modules/cr_planner.js +3 -3
- package/dist/modules/cr_planner.js.map +1 -1
- package/dist/modules/credential_policy.d.ts.map +1 -1
- package/dist/modules/credential_policy.js +5 -11
- package/dist/modules/credential_policy.js.map +1 -1
- package/dist/modules/credit_runtime.d.ts.map +1 -1
- package/dist/modules/credit_runtime.js +18 -27
- package/dist/modules/credit_runtime.js.map +1 -1
- package/dist/modules/crypto/pure_secp256k1.d.ts +4 -1
- package/dist/modules/crypto/pure_secp256k1.d.ts.map +1 -1
- package/dist/modules/crypto/pure_secp256k1.js +1 -1
- package/dist/modules/crypto/pure_secp256k1.js.map +1 -1
- package/dist/modules/crypto/sync.d.ts +0 -3
- package/dist/modules/crypto/sync.d.ts.map +1 -1
- package/dist/modules/crypto/sync.js +0 -3
- package/dist/modules/crypto/sync.js.map +1 -1
- package/dist/modules/dexbot_class.d.ts +9 -9
- package/dist/modules/dexbot_class.js +9 -9
- package/dist/modules/dexbot_cow_runtime.d.ts +3 -3
- package/dist/modules/dexbot_cow_runtime.d.ts.map +1 -1
- package/dist/modules/dexbot_cow_runtime.js +4 -9
- package/dist/modules/dexbot_cow_runtime.js.map +1 -1
- package/dist/modules/dexbot_fill_runtime.d.ts +10 -10
- package/dist/modules/dexbot_fill_runtime.js +10 -10
- package/dist/modules/dexbot_maintenance_runtime.d.ts +7 -7
- package/dist/modules/dexbot_maintenance_runtime.d.ts.map +1 -1
- package/dist/modules/dexbot_maintenance_runtime.js +16 -15
- package/dist/modules/dexbot_maintenance_runtime.js.map +1 -1
- package/dist/modules/env.d.ts +0 -1
- package/dist/modules/env.d.ts.map +1 -1
- package/dist/modules/env.js +0 -34
- package/dist/modules/env.js.map +1 -1
- package/dist/modules/graceful_shutdown.js +1 -1
- package/dist/modules/graceful_shutdown.js.map +1 -1
- package/dist/modules/launcher/launch_modes.d.ts +1 -2
- package/dist/modules/launcher/launch_modes.d.ts.map +1 -1
- package/dist/modules/launcher/launch_modes.js +1 -2
- package/dist/modules/launcher/launch_modes.js.map +1 -1
- package/dist/modules/launcher/market_adapter_runtime.d.ts +1 -2
- package/dist/modules/launcher/market_adapter_runtime.d.ts.map +1 -1
- package/dist/modules/launcher/market_adapter_runtime.js +1 -4
- package/dist/modules/launcher/market_adapter_runtime.js.map +1 -1
- package/dist/modules/launcher/monolithic_runtime.d.ts +1 -2
- package/dist/modules/launcher/monolithic_runtime.d.ts.map +1 -1
- package/dist/modules/launcher/monolithic_runtime.js +1 -15
- package/dist/modules/launcher/monolithic_runtime.js.map +1 -1
- package/dist/modules/launcher/runtime_entry.d.ts +1 -2
- package/dist/modules/launcher/runtime_entry.d.ts.map +1 -1
- package/dist/modules/launcher/runtime_entry.js +1 -14
- package/dist/modules/launcher/runtime_entry.js.map +1 -1
- package/dist/modules/launcher/status_reporting.d.ts +1 -3
- package/dist/modules/launcher/status_reporting.d.ts.map +1 -1
- package/dist/modules/launcher/status_reporting.js +1 -10
- package/dist/modules/launcher/status_reporting.js.map +1 -1
- package/dist/modules/node_manager.d.ts.map +1 -1
- package/dist/modules/node_manager.js +4 -3
- package/dist/modules/node_manager.js.map +1 -1
- package/dist/modules/order/export.d.ts.map +1 -1
- package/dist/modules/order/export.js +4 -3
- package/dist/modules/order/export.js.map +1 -1
- package/dist/modules/order/format.d.ts +1 -10
- package/dist/modules/order/format.d.ts.map +1 -1
- package/dist/modules/order/format.js +1 -22
- package/dist/modules/order/format.js.map +1 -1
- package/dist/modules/order/grid.d.ts +19 -19
- package/dist/modules/order/grid.d.ts.map +1 -1
- package/dist/modules/order/grid.js +25 -25
- package/dist/modules/order/grid.js.map +1 -1
- package/dist/modules/order/grid_reconcile_internal.d.ts +1 -83
- package/dist/modules/order/grid_reconcile_internal.d.ts.map +1 -1
- package/dist/modules/order/grid_reconcile_internal.js +1 -1
- package/dist/modules/order/grid_reconcile_internal.js.map +1 -1
- package/dist/modules/order/manager.d.ts +15 -15
- package/dist/modules/order/manager.js +15 -15
- package/dist/modules/order/processed_fill_store.d.ts +1 -1
- package/dist/modules/order/processed_fill_store.js +1 -1
- package/dist/modules/order/sync_engine.d.ts +4 -4
- package/dist/modules/order/sync_engine.js +4 -4
- package/dist/modules/order/utils/math.d.ts +7 -2
- package/dist/modules/order/utils/math.d.ts.map +1 -1
- package/dist/modules/order/utils/math.js +10 -3
- package/dist/modules/order/utils/math.js.map +1 -1
- package/dist/modules/order/utils/order.js +3 -3
- package/dist/modules/order/utils/order.js.map +1 -1
- package/dist/modules/order/utils/system.d.ts +17 -1
- package/dist/modules/order/utils/system.d.ts.map +1 -1
- package/dist/modules/order/utils/system.js +45 -3
- package/dist/modules/order/utils/system.js.map +1 -1
- package/dist/modules/order/utils/validate.d.ts +3 -3
- package/dist/modules/order/utils/validate.d.ts.map +1 -1
- package/dist/modules/order/utils/validate.js +5 -5
- package/dist/modules/order/utils/validate.js.map +1 -1
- package/dist/modules/order/utils/withPoolRef.js +1 -1
- package/dist/modules/order/utils/withPoolRef.js.map +1 -1
- package/dist/modules/paths.d.ts +4 -2
- package/dist/modules/paths.d.ts.map +1 -1
- package/dist/modules/paths.js +5 -3
- package/dist/modules/paths.js.map +1 -1
- package/dist/modules/runtime.d.ts +1 -0
- package/dist/modules/runtime.d.ts.map +1 -1
- package/dist/modules/runtime_settings.d.ts.map +1 -1
- package/dist/modules/runtime_settings.js +26 -30
- package/dist/modules/runtime_settings.js.map +1 -1
- package/dist/modules/settings_merge.d.ts +7 -1
- package/dist/modules/settings_merge.d.ts.map +1 -1
- package/dist/modules/settings_merge.js +10 -6
- package/dist/modules/settings_merge.js.map +1 -1
- package/dist/modules/types.d.ts +0 -753
- package/dist/modules/types.d.ts.map +1 -1
- package/dist/modules/types.js +0 -15
- package/dist/modules/types.js.map +1 -1
- package/dist/modules/utils/base58check.js +4 -4
- package/dist/modules/utils/base58check.js.map +1 -1
- package/dist/modules/validate_profiles.d.ts +1 -11
- package/dist/modules/validate_profiles.d.ts.map +1 -1
- package/dist/modules/validate_profiles.js +1 -1
- package/dist/modules/validate_profiles.js.map +1 -1
- package/dist/scripts/generate_lp_chart.js +1 -1
- package/dist/scripts/test-credit-renewal.js +1 -1
- package/dist/scripts/update.d.ts +3 -0
- package/dist/scripts/update.d.ts.map +1 -1
- package/dist/scripts/update.js +91 -6
- package/dist/scripts/update.js.map +1 -1
- package/docs/BITSHARES_ONBOARDING.md +435 -0
- package/docs/COPY_ON_WRITE_MASTER_PLAN.md +514 -0
- package/docs/COW_INVARIANTS.md +309 -0
- package/docs/CREDENTIAL_SECURITY.md +450 -0
- package/docs/DEXBOT_COMPARISON.md +922 -0
- package/docs/EVOLUTION.md +211 -0
- package/docs/FUND_MOVEMENT_AND_ACCOUNTING.md +851 -0
- package/docs/GRID_RECALCULATION.md +624 -0
- package/docs/GRID_RECONCILE.md +259 -0
- package/docs/LOGGING.md +318 -0
- package/docs/MPA_CREDIT_USAGE.md +353 -0
- package/docs/README.md +199 -0
- package/docs/WORKFLOW.md +369 -0
- package/docs/architecture.md +1466 -0
- package/docs/developer_guide.md +1929 -0
- package/docs/docker.md +141 -0
- package/market_adapter/README.md +1003 -0
- package/modules/README.md +176 -0
- package/package.json +49 -18
- package/scripts/README.md +67 -44
- package/scripts/bots +16 -0
- package/scripts/clean-dist.js +9 -0
- package/scripts/clear-market-adapter.sh +1 -1
- package/scripts/create-bot-symlinks.sh +3 -3
- package/scripts/dexbot +15 -0
- package/scripts/git-viewer.sh +489 -0
- package/scripts/keys +16 -0
- package/scripts/pdev.sh +38 -0
- package/scripts/pm2 +15 -0
- package/scripts/pmain.sh +45 -0
- package/scripts/ptest.sh +26 -0
- package/scripts/repo-stats.html +480 -0
- package/scripts/unlock +15 -0
- package/scripts/update.js +12 -0
- package/tests/README.md +135 -0
- package/claw/data/positions.json +0 -150070
- package/claw/node_modules/.package-lock.json +0 -935
- package/claw/node_modules/@babel/runtime/LICENSE +0 -22
- package/claw/node_modules/@babel/runtime/README.md +0 -19
- package/claw/node_modules/@babel/runtime/helpers/AwaitValue.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/OverloadYield.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +0 -9
- package/claw/node_modules/@babel/runtime/helpers/applyDecs.js +0 -236
- package/claw/node_modules/@babel/runtime/helpers/applyDecs2203.js +0 -184
- package/claw/node_modules/@babel/runtime/helpers/applyDecs2203R.js +0 -191
- package/claw/node_modules/@babel/runtime/helpers/applyDecs2301.js +0 -222
- package/claw/node_modules/@babel/runtime/helpers/applyDecs2305.js +0 -133
- package/claw/node_modules/@babel/runtime/helpers/applyDecs2311.js +0 -124
- package/claw/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -6
- package/claw/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/assertClassBrand.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +0 -24
- package/claw/node_modules/@babel/runtime/helpers/asyncIterator.js +0 -45
- package/claw/node_modules/@babel/runtime/helpers/asyncToGenerator.js +0 -26
- package/claw/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/callSuper.js +0 -7
- package/claw/node_modules/@babel/runtime/helpers/checkInRHS.js +0 -6
- package/claw/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +0 -10
- package/claw/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +0 -7
- package/claw/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/classNameTDZError.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +0 -7
- package/claw/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +0 -7
- package/claw/node_modules/@babel/runtime/helpers/classPrivateFieldGet2.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +0 -7
- package/claw/node_modules/@babel/runtime/helpers/classPrivateFieldSet2.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/classPrivateGetter.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/classPrivateSetter.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +0 -7
- package/claw/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +0 -7
- package/claw/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +0 -7
- package/claw/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/construct.js +0 -10
- package/claw/node_modules/@babel/runtime/helpers/createClass.js +0 -13
- package/claw/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +0 -50
- package/claw/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +0 -19
- package/claw/node_modules/@babel/runtime/helpers/createSuper.js +0 -16
- package/claw/node_modules/@babel/runtime/helpers/decorate.js +0 -250
- package/claw/node_modules/@babel/runtime/helpers/defaults.js +0 -9
- package/claw/node_modules/@babel/runtime/helpers/defineAccessor.js +0 -8
- package/claw/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +0 -12
- package/claw/node_modules/@babel/runtime/helpers/defineProperty.js +0 -10
- package/claw/node_modules/@babel/runtime/helpers/dispose.js +0 -28
- package/claw/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -9
- package/claw/node_modules/@babel/runtime/helpers/esm/applyDecs.js +0 -236
- package/claw/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +0 -184
- package/claw/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js +0 -191
- package/claw/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js +0 -222
- package/claw/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js +0 -133
- package/claw/node_modules/@babel/runtime/helpers/esm/applyDecs2311.js +0 -124
- package/claw/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -6
- package/claw/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/esm/assertClassBrand.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -24
- package/claw/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +0 -45
- package/claw/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +0 -26
- package/claw/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/esm/callSuper.js +0 -7
- package/claw/node_modules/@babel/runtime/helpers/esm/checkInRHS.js +0 -6
- package/claw/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +0 -10
- package/claw/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +0 -7
- package/claw/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +0 -7
- package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +0 -7
- package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +0 -7
- package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateSetter.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +0 -7
- package/claw/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +0 -7
- package/claw/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +0 -7
- package/claw/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/esm/construct.js +0 -10
- package/claw/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -13
- package/claw/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +0 -50
- package/claw/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -19
- package/claw/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -16
- package/claw/node_modules/@babel/runtime/helpers/esm/decorate.js +0 -250
- package/claw/node_modules/@babel/runtime/helpers/esm/defaults.js +0 -9
- package/claw/node_modules/@babel/runtime/helpers/esm/defineAccessor.js +0 -8
- package/claw/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +0 -12
- package/claw/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -10
- package/claw/node_modules/@babel/runtime/helpers/esm/dispose.js +0 -28
- package/claw/node_modules/@babel/runtime/helpers/esm/extends.js +0 -10
- package/claw/node_modules/@babel/runtime/helpers/esm/get.js +0 -11
- package/claw/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -6
- package/claw/node_modules/@babel/runtime/helpers/esm/identity.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/esm/importDeferProxy.js +0 -27
- package/claw/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -14
- package/claw/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +0 -9
- package/claw/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/esm/instanceof.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +0 -6
- package/claw/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +0 -22
- package/claw/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +0 -8
- package/claw/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -9
- package/claw/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -28
- package/claw/node_modules/@babel/runtime/helpers/esm/jsx.js +0 -22
- package/claw/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +0 -9
- package/claw/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/esm/nullishReceiverError.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/esm/objectSpread.js +0 -14
- package/claw/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -23
- package/claw/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -13
- package/claw/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -10
- package/claw/node_modules/@babel/runtime/helpers/esm/package.json +0 -3
- package/claw/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -8
- package/claw/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/esm/regenerator.js +0 -89
- package/claw/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js +0 -8
- package/claw/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js +0 -6
- package/claw/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js +0 -33
- package/claw/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js +0 -22
- package/claw/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js +0 -10
- package/claw/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +0 -77
- package/claw/node_modules/@babel/runtime/helpers/esm/regeneratorValues.js +0 -19
- package/claw/node_modules/@babel/runtime/helpers/esm/set.js +0 -22
- package/claw/node_modules/@babel/runtime/helpers/esm/setFunctionName.js +0 -12
- package/claw/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -6
- package/claw/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -7
- package/claw/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -8
- package/claw/node_modules/@babel/runtime/helpers/esm/superPropBase.js +0 -6
- package/claw/node_modules/@babel/runtime/helpers/esm/superPropGet.js +0 -9
- package/claw/node_modules/@babel/runtime/helpers/esm/superPropSet.js +0 -6
- package/claw/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -8
- package/claw/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/esm/tdz.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/esm/temporalRef.js +0 -6
- package/claw/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +0 -2
- package/claw/node_modules/@babel/runtime/helpers/esm/toArray.js +0 -8
- package/claw/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -8
- package/claw/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -12
- package/claw/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -7
- package/claw/node_modules/@babel/runtime/helpers/esm/toSetter.js +0 -10
- package/claw/node_modules/@babel/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +0 -6
- package/claw/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -10
- package/claw/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -9
- package/claw/node_modules/@babel/runtime/helpers/esm/using.js +0 -12
- package/claw/node_modules/@babel/runtime/helpers/esm/usingCtx.js +0 -59
- package/claw/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +0 -56
- package/claw/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +0 -27
- package/claw/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +0 -52
- package/claw/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/extends.js +0 -10
- package/claw/node_modules/@babel/runtime/helpers/get.js +0 -11
- package/claw/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -6
- package/claw/node_modules/@babel/runtime/helpers/identity.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/importDeferProxy.js +0 -27
- package/claw/node_modules/@babel/runtime/helpers/inherits.js +0 -14
- package/claw/node_modules/@babel/runtime/helpers/inheritsLoose.js +0 -5
- package/claw/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +0 -9
- package/claw/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/instanceof.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -6
- package/claw/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +0 -22
- package/claw/node_modules/@babel/runtime/helpers/isNativeFunction.js +0 -8
- package/claw/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +0 -9
- package/claw/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -28
- package/claw/node_modules/@babel/runtime/helpers/jsx.js +0 -22
- package/claw/node_modules/@babel/runtime/helpers/maybeArrayLike.js +0 -9
- package/claw/node_modules/@babel/runtime/helpers/newArrowCheck.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/nullishReceiverError.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/objectSpread.js +0 -14
- package/claw/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -23
- package/claw/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +0 -13
- package/claw/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -10
- package/claw/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -8
- package/claw/node_modules/@babel/runtime/helpers/readOnlyError.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/regenerator.js +0 -89
- package/claw/node_modules/@babel/runtime/helpers/regeneratorAsync.js +0 -8
- package/claw/node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js +0 -6
- package/claw/node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js +0 -33
- package/claw/node_modules/@babel/runtime/helpers/regeneratorDefine.js +0 -22
- package/claw/node_modules/@babel/runtime/helpers/regeneratorKeys.js +0 -10
- package/claw/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +0 -77
- package/claw/node_modules/@babel/runtime/helpers/regeneratorValues.js +0 -19
- package/claw/node_modules/@babel/runtime/helpers/set.js +0 -22
- package/claw/node_modules/@babel/runtime/helpers/setFunctionName.js +0 -12
- package/claw/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -6
- package/claw/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +0 -7
- package/claw/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -8
- package/claw/node_modules/@babel/runtime/helpers/superPropBase.js +0 -6
- package/claw/node_modules/@babel/runtime/helpers/superPropGet.js +0 -9
- package/claw/node_modules/@babel/runtime/helpers/superPropSet.js +0 -6
- package/claw/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +0 -8
- package/claw/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/tdz.js +0 -4
- package/claw/node_modules/@babel/runtime/helpers/temporalRef.js +0 -6
- package/claw/node_modules/@babel/runtime/helpers/temporalUndefined.js +0 -2
- package/claw/node_modules/@babel/runtime/helpers/toArray.js +0 -8
- package/claw/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -8
- package/claw/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -12
- package/claw/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -7
- package/claw/node_modules/@babel/runtime/helpers/toSetter.js +0 -10
- package/claw/node_modules/@babel/runtime/helpers/tsRewriteRelativeImportExtensions.js +0 -6
- package/claw/node_modules/@babel/runtime/helpers/typeof.js +0 -10
- package/claw/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -9
- package/claw/node_modules/@babel/runtime/helpers/using.js +0 -12
- package/claw/node_modules/@babel/runtime/helpers/usingCtx.js +0 -59
- package/claw/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +0 -56
- package/claw/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +0 -27
- package/claw/node_modules/@babel/runtime/helpers/wrapRegExp.js +0 -52
- package/claw/node_modules/@babel/runtime/helpers/writeOnlyError.js +0 -4
- package/claw/node_modules/@babel/runtime/package.json +0 -1107
- package/claw/node_modules/@babel/runtime/regenerator/index.js +0 -15
- package/claw/node_modules/assert/.github/FUNDING.yml +0 -12
- package/claw/node_modules/assert/.github/SECURITY.md +0 -10
- package/claw/node_modules/assert/.travis.yml +0 -30
- package/claw/node_modules/assert/.zuul.yml +0 -13
- package/claw/node_modules/assert/CHANGELOG.md +0 -11
- package/claw/node_modules/assert/LICENSE +0 -18
- package/claw/node_modules/assert/README.md +0 -105
- package/claw/node_modules/assert/assert.js +0 -506
- package/claw/node_modules/assert/package.json +0 -32
- package/claw/node_modules/assert/test.js +0 -360
- package/claw/node_modules/async-limiter/.eslintignore +0 -2
- package/claw/node_modules/async-limiter/.nycrc +0 -10
- package/claw/node_modules/async-limiter/.travis.yml +0 -9
- package/claw/node_modules/async-limiter/LICENSE +0 -8
- package/claw/node_modules/async-limiter/index.js +0 -67
- package/claw/node_modules/async-limiter/package.json +0 -35
- package/claw/node_modules/async-limiter/readme.md +0 -132
- package/claw/node_modules/available-typed-arrays/.eslintrc +0 -5
- package/claw/node_modules/available-typed-arrays/.github/FUNDING.yml +0 -12
- package/claw/node_modules/available-typed-arrays/.nycrc +0 -9
- package/claw/node_modules/available-typed-arrays/CHANGELOG.md +0 -100
- package/claw/node_modules/available-typed-arrays/LICENSE +0 -21
- package/claw/node_modules/available-typed-arrays/README.md +0 -55
- package/claw/node_modules/available-typed-arrays/index.d.ts +0 -8
- package/claw/node_modules/available-typed-arrays/index.js +0 -17
- package/claw/node_modules/available-typed-arrays/package.json +0 -93
- package/claw/node_modules/available-typed-arrays/test/index.js +0 -18
- package/claw/node_modules/available-typed-arrays/tsconfig.json +0 -49
- package/claw/node_modules/base-x/LICENSE.md +0 -22
- package/claw/node_modules/base-x/README.md +0 -67
- package/claw/node_modules/base-x/package.json +0 -49
- package/claw/node_modules/base-x/src/index.d.ts +0 -10
- package/claw/node_modules/base-x/src/index.js +0 -123
- package/claw/node_modules/bigi/CHANGELOG.md +0 -85
- package/claw/node_modules/bigi/LICENSE.md +0 -30
- package/claw/node_modules/bigi/README.md +0 -14
- package/claw/node_modules/bigi/lib/bigi.js +0 -1509
- package/claw/node_modules/bigi/lib/convert.js +0 -91
- package/claw/node_modules/bigi/lib/index.js +0 -6
- package/claw/node_modules/bigi/package.json +0 -55
- package/claw/node_modules/bignumber.js/CHANGELOG.md +0 -222
- package/claw/node_modules/bignumber.js/LICENCE +0 -23
- package/claw/node_modules/bignumber.js/README.md +0 -266
- package/claw/node_modules/bignumber.js/bignumber.d.ts +0 -1797
- package/claw/node_modules/bignumber.js/bignumber.js +0 -2814
- package/claw/node_modules/bignumber.js/bignumber.js.map +0 -1
- package/claw/node_modules/bignumber.js/bignumber.min.js +0 -3
- package/claw/node_modules/bignumber.js/bignumber.mjs +0 -2793
- package/claw/node_modules/bignumber.js/bower.json +0 -36
- package/claw/node_modules/bignumber.js/doc/API.html +0 -2118
- package/claw/node_modules/bignumber.js/package.json +0 -39
- package/claw/node_modules/bs58/CHANGELOG.md +0 -61
- package/claw/node_modules/bs58/README.md +0 -71
- package/claw/node_modules/bs58/index.js +0 -4
- package/claw/node_modules/bs58/package.json +0 -37
- package/claw/node_modules/btsdex/.babelrc +0 -17
- package/claw/node_modules/btsdex/.github/workflows/check-style.yml +0 -16
- package/claw/node_modules/btsdex/LICENSE +0 -21
- package/claw/node_modules/btsdex/README.md +0 -467
- package/claw/node_modules/btsdex/cli.js +0 -165
- package/claw/node_modules/btsdex/lib/account.js +0 -60
- package/claw/node_modules/btsdex/lib/asset.js +0 -78
- package/claw/node_modules/btsdex/lib/bitshares.js +0 -363
- package/claw/node_modules/btsdex/lib/event.js +0 -137
- package/claw/node_modules/btsdex/lib/fees.js +0 -34
- package/claw/node_modules/btsdex/lib/index.js +0 -3
- package/claw/node_modules/btsdex/lib/transaction/TransactionBuilder.js +0 -797
- package/claw/node_modules/btsdex/lib/transaction/index.js +0 -64
- package/claw/node_modules/btsdex/package.json +0 -54
- package/claw/node_modules/btsdex/yarn-error.log +0 -3483
- package/claw/node_modules/btsdex-api/.babelrc +0 -14
- package/claw/node_modules/btsdex-api/README.md +0 -3
- package/claw/node_modules/btsdex-api/lib/apis.js +0 -59
- package/claw/node_modules/btsdex-api/lib/config.js +0 -39
- package/claw/node_modules/btsdex-api/lib/connection.js +0 -188
- package/claw/node_modules/btsdex-api/lib/index.js +0 -86
- package/claw/node_modules/btsdex-api/lib/logger.js +0 -45
- package/claw/node_modules/btsdex-api/lib/servers.js +0 -30
- package/claw/node_modules/btsdex-api/package.json +0 -29
- package/claw/node_modules/btsdex-ecc/.babelrc +0 -13
- package/claw/node_modules/btsdex-ecc/lib/BrainKey.js +0 -15
- package/claw/node_modules/btsdex-ecc/lib/KeyUtils.js +0 -205
- package/claw/node_modules/btsdex-ecc/lib/PrivateKey.js +0 -198
- package/claw/node_modules/btsdex-ecc/lib/PublicKey.js +0 -197
- package/claw/node_modules/btsdex-ecc/lib/address.js +0 -84
- package/claw/node_modules/btsdex-ecc/lib/addressPrefix.js +0 -15
- package/claw/node_modules/btsdex-ecc/lib/aes.js +0 -294
- package/claw/node_modules/btsdex-ecc/lib/ecdsa.js +0 -194
- package/claw/node_modules/btsdex-ecc/lib/ecsignature.js +0 -131
- package/claw/node_modules/btsdex-ecc/lib/enforce_types.js +0 -54
- package/claw/node_modules/btsdex-ecc/lib/hash.js +0 -60
- package/claw/node_modules/btsdex-ecc/lib/index.js +0 -84
- package/claw/node_modules/btsdex-ecc/lib/signature.js +0 -185
- package/claw/node_modules/btsdex-ecc/package.json +0 -37
- package/claw/node_modules/btsdex-serializer/.babelrc +0 -13
- package/claw/node_modules/btsdex-serializer/lib/ChainTypes.js +0 -154
- package/claw/node_modules/btsdex-serializer/lib/FastParser.js +0 -75
- package/claw/node_modules/btsdex-serializer/lib/ObjectId.js +0 -65
- package/claw/node_modules/btsdex-serializer/lib/SerializerValidation.js +0 -377
- package/claw/node_modules/btsdex-serializer/lib/convert.js +0 -54
- package/claw/node_modules/btsdex-serializer/lib/error_with_cause.js +0 -43
- package/claw/node_modules/btsdex-serializer/lib/index.js +0 -72
- package/claw/node_modules/btsdex-serializer/lib/operations.js +0 -1359
- package/claw/node_modules/btsdex-serializer/lib/precision.js +0 -108
- package/claw/node_modules/btsdex-serializer/lib/serializer.js +0 -205
- package/claw/node_modules/btsdex-serializer/lib/template.js +0 -23
- package/claw/node_modules/btsdex-serializer/lib/types.js +0 -1209
- package/claw/node_modules/btsdex-serializer/package-lock.json +0 -238
- package/claw/node_modules/btsdex-serializer/package.json +0 -32
- package/claw/node_modules/bytebuffer/.travis.yml +0 -5
- package/claw/node_modules/bytebuffer/LICENSE +0 -202
- package/claw/node_modules/bytebuffer/README.md +0 -64
- package/claw/node_modules/bytebuffer/bower.json +0 -12
- package/claw/node_modules/bytebuffer/bytebuffer.png +0 -0
- package/claw/node_modules/bytebuffer/dist/README.md +0 -47
- package/claw/node_modules/bytebuffer/dist/bytebuffer-dataview.js +0 -3461
- package/claw/node_modules/bytebuffer/dist/bytebuffer-dataview.min.js +0 -88
- package/claw/node_modules/bytebuffer/dist/bytebuffer-dataview.min.js.gz +0 -0
- package/claw/node_modules/bytebuffer/dist/bytebuffer-dataview.min.map +0 -8
- package/claw/node_modules/bytebuffer/dist/bytebuffer-node.js +0 -3454
- package/claw/node_modules/bytebuffer/dist/bytebuffer.js +0 -3746
- package/claw/node_modules/bytebuffer/dist/bytebuffer.min.js +0 -93
- package/claw/node_modules/bytebuffer/dist/bytebuffer.min.js.gz +0 -0
- package/claw/node_modules/bytebuffer/dist/bytebuffer.min.map +0 -8
- package/claw/node_modules/bytebuffer/donate.png +0 -0
- package/claw/node_modules/bytebuffer/externs/bytebuffer.js +0 -862
- package/claw/node_modules/bytebuffer/externs/minimal-env.js +0 -52
- package/claw/node_modules/bytebuffer/index.js +0 -1
- package/claw/node_modules/bytebuffer/jsdoc.json +0 -13
- package/claw/node_modules/bytebuffer/package.json +0 -51
- package/claw/node_modules/bytebuffer/scripts/build.js +0 -113
- package/claw/node_modules/bytebuffer/src/bower.json +0 -12
- package/claw/node_modules/bytebuffer/src/bytebuffer.js +0 -220
- package/claw/node_modules/bytebuffer/src/encodings/base64.js +0 -88
- package/claw/node_modules/bytebuffer/src/encodings/binary.js +0 -74
- package/claw/node_modules/bytebuffer/src/encodings/debug.js +0 -211
- package/claw/node_modules/bytebuffer/src/encodings/hex.js +0 -75
- package/claw/node_modules/bytebuffer/src/encodings/impl/base64.js +0 -3
- package/claw/node_modules/bytebuffer/src/encodings/impl/binary.js +0 -65
- package/claw/node_modules/bytebuffer/src/encodings/impl/debug.js +0 -3
- package/claw/node_modules/bytebuffer/src/encodings/impl/hex.js +0 -101
- package/claw/node_modules/bytebuffer/src/encodings/impl/utf8.js +0 -126
- package/claw/node_modules/bytebuffer/src/encodings/utf8.js +0 -71
- package/claw/node_modules/bytebuffer/src/helpers.js +0 -143
- package/claw/node_modules/bytebuffer/src/macros.js +0 -222
- package/claw/node_modules/bytebuffer/src/methods/append.js +0 -58
- package/claw/node_modules/bytebuffer/src/methods/assert.js +0 -12
- package/claw/node_modules/bytebuffer/src/methods/capacity.js +0 -8
- package/claw/node_modules/bytebuffer/src/methods/clear.js +0 -13
- package/claw/node_modules/bytebuffer/src/methods/clone.js +0 -34
- package/claw/node_modules/bytebuffer/src/methods/compact.js +0 -49
- package/claw/node_modules/bytebuffer/src/methods/copy.js +0 -73
- package/claw/node_modules/bytebuffer/src/methods/ensureCapacity.js +0 -15
- package/claw/node_modules/bytebuffer/src/methods/fill.js +0 -35
- package/claw/node_modules/bytebuffer/src/methods/flip.js +0 -11
- package/claw/node_modules/bytebuffer/src/methods/mark.js +0 -17
- package/claw/node_modules/bytebuffer/src/methods/order.js +0 -36
- package/claw/node_modules/bytebuffer/src/methods/prepend.js +0 -87
- package/claw/node_modules/bytebuffer/src/methods/printDebug.js +0 -16
- package/claw/node_modules/bytebuffer/src/methods/remaining.js +0 -9
- package/claw/node_modules/bytebuffer/src/methods/reset.js +0 -17
- package/claw/node_modules/bytebuffer/src/methods/resize.js +0 -39
- package/claw/node_modules/bytebuffer/src/methods/reverse.js +0 -25
- package/claw/node_modules/bytebuffer/src/methods/skip.js +0 -19
- package/claw/node_modules/bytebuffer/src/methods/slice.js +0 -18
- package/claw/node_modules/bytebuffer/src/methods/static/accessor.js +0 -13
- package/claw/node_modules/bytebuffer/src/methods/static/allocate.js +0 -14
- package/claw/node_modules/bytebuffer/src/methods/static/concat.js +0 -55
- package/claw/node_modules/bytebuffer/src/methods/static/isByteBuffer.js +0 -9
- package/claw/node_modules/bytebuffer/src/methods/static/type.js +0 -11
- package/claw/node_modules/bytebuffer/src/methods/static/wrap.js +0 -125
- package/claw/node_modules/bytebuffer/src/methods/toBuffer.js +0 -77
- package/claw/node_modules/bytebuffer/src/methods/toString.js +0 -43
- package/claw/node_modules/bytebuffer/src/types/bytes/bitset.js +0 -89
- package/claw/node_modules/bytebuffer/src/types/bytes/bytes.js +0 -34
- package/claw/node_modules/bytebuffer/src/types/floats/float32.js +0 -81
- package/claw/node_modules/bytebuffer/src/types/floats/float64.js +0 -77
- package/claw/node_modules/bytebuffer/src/types/floats/ieee754.js +0 -130
- package/claw/node_modules/bytebuffer/src/types/ints/int16.js +0 -167
- package/claw/node_modules/bytebuffer/src/types/ints/int32.js +0 -125
- package/claw/node_modules/bytebuffer/src/types/ints/int64.js +0 -194
- package/claw/node_modules/bytebuffer/src/types/ints/int8.js +0 -137
- package/claw/node_modules/bytebuffer/src/types/strings/cstring.js +0 -110
- package/claw/node_modules/bytebuffer/src/types/strings/istring.js +0 -81
- package/claw/node_modules/bytebuffer/src/types/strings/utf8string.js +0 -214
- package/claw/node_modules/bytebuffer/src/types/strings/vstring.js +0 -78
- package/claw/node_modules/bytebuffer/src/types/varints/varint32.js +0 -164
- package/claw/node_modules/bytebuffer/src/types/varints/varint64.js +0 -208
- package/claw/node_modules/bytebuffer/src/wrap-node.js +0 -50
- package/claw/node_modules/bytebuffer/src/wrap.js +0 -43
- package/claw/node_modules/bytebuffer/tests/bench.js +0 -99
- package/claw/node_modules/bytebuffer/tests/suite.js +0 -1005
- package/claw/node_modules/call-bind/.eslintignore +0 -1
- package/claw/node_modules/call-bind/.eslintrc +0 -16
- package/claw/node_modules/call-bind/.github/FUNDING.yml +0 -12
- package/claw/node_modules/call-bind/.nycrc +0 -9
- package/claw/node_modules/call-bind/CHANGELOG.md +0 -106
- package/claw/node_modules/call-bind/LICENSE +0 -21
- package/claw/node_modules/call-bind/README.md +0 -64
- package/claw/node_modules/call-bind/callBound.js +0 -15
- package/claw/node_modules/call-bind/index.js +0 -24
- package/claw/node_modules/call-bind/package.json +0 -93
- package/claw/node_modules/call-bind/test/callBound.js +0 -54
- package/claw/node_modules/call-bind/test/index.js +0 -74
- package/claw/node_modules/call-bind-apply-helpers/.eslintrc +0 -17
- package/claw/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +0 -12
- package/claw/node_modules/call-bind-apply-helpers/.nycrc +0 -9
- package/claw/node_modules/call-bind-apply-helpers/CHANGELOG.md +0 -30
- package/claw/node_modules/call-bind-apply-helpers/LICENSE +0 -21
- package/claw/node_modules/call-bind-apply-helpers/README.md +0 -62
- package/claw/node_modules/call-bind-apply-helpers/actualApply.d.ts +0 -1
- package/claw/node_modules/call-bind-apply-helpers/actualApply.js +0 -10
- package/claw/node_modules/call-bind-apply-helpers/applyBind.d.ts +0 -19
- package/claw/node_modules/call-bind-apply-helpers/applyBind.js +0 -10
- package/claw/node_modules/call-bind-apply-helpers/functionApply.d.ts +0 -1
- package/claw/node_modules/call-bind-apply-helpers/functionApply.js +0 -4
- package/claw/node_modules/call-bind-apply-helpers/functionCall.d.ts +0 -1
- package/claw/node_modules/call-bind-apply-helpers/functionCall.js +0 -4
- package/claw/node_modules/call-bind-apply-helpers/index.d.ts +0 -64
- package/claw/node_modules/call-bind-apply-helpers/index.js +0 -15
- package/claw/node_modules/call-bind-apply-helpers/package.json +0 -85
- package/claw/node_modules/call-bind-apply-helpers/reflectApply.d.ts +0 -3
- package/claw/node_modules/call-bind-apply-helpers/reflectApply.js +0 -4
- package/claw/node_modules/call-bind-apply-helpers/test/index.js +0 -63
- package/claw/node_modules/call-bind-apply-helpers/tsconfig.json +0 -9
- package/claw/node_modules/call-bound/.eslintrc +0 -13
- package/claw/node_modules/call-bound/.github/FUNDING.yml +0 -12
- package/claw/node_modules/call-bound/.nycrc +0 -9
- package/claw/node_modules/call-bound/CHANGELOG.md +0 -42
- package/claw/node_modules/call-bound/LICENSE +0 -21
- package/claw/node_modules/call-bound/README.md +0 -53
- package/claw/node_modules/call-bound/index.d.ts +0 -94
- package/claw/node_modules/call-bound/index.js +0 -19
- package/claw/node_modules/call-bound/package.json +0 -99
- package/claw/node_modules/call-bound/test/index.js +0 -61
- package/claw/node_modules/call-bound/tsconfig.json +0 -10
- package/claw/node_modules/cipher-base/.eslintrc +0 -26
- package/claw/node_modules/cipher-base/.github/FUNDING.yml +0 -12
- package/claw/node_modules/cipher-base/CHANGELOG.md +0 -73
- package/claw/node_modules/cipher-base/LICENSE +0 -21
- package/claw/node_modules/cipher-base/README.md +0 -17
- package/claw/node_modules/cipher-base/index.js +0 -103
- package/claw/node_modules/cipher-base/package.json +0 -63
- package/claw/node_modules/cipher-base/test/index.js +0 -221
- package/claw/node_modules/core-util-is/LICENSE +0 -19
- package/claw/node_modules/core-util-is/README.md +0 -3
- package/claw/node_modules/core-util-is/lib/util.js +0 -107
- package/claw/node_modules/core-util-is/package.json +0 -38
- package/claw/node_modules/create-hash/.travis.yml +0 -17
- package/claw/node_modules/create-hash/LICENSE +0 -21
- package/claw/node_modules/create-hash/README.md +0 -19
- package/claw/node_modules/create-hash/browser.js +0 -30
- package/claw/node_modules/create-hash/index.js +0 -1
- package/claw/node_modules/create-hash/md5.js +0 -5
- package/claw/node_modules/create-hash/package.json +0 -39
- package/claw/node_modules/create-hash/test.js +0 -41
- package/claw/node_modules/create-hmac/LICENSE +0 -21
- package/claw/node_modules/create-hmac/README.md +0 -20
- package/claw/node_modules/create-hmac/browser.js +0 -62
- package/claw/node_modules/create-hmac/index.js +0 -1
- package/claw/node_modules/create-hmac/legacy.js +0 -46
- package/claw/node_modules/create-hmac/package.json +0 -45
- package/claw/node_modules/crypto-js/CONTRIBUTING.md +0 -28
- package/claw/node_modules/crypto-js/LICENSE +0 -24
- package/claw/node_modules/crypto-js/README.md +0 -241
- package/claw/node_modules/crypto-js/aes.js +0 -232
- package/claw/node_modules/crypto-js/bower.json +0 -35
- package/claw/node_modules/crypto-js/cipher-core.js +0 -880
- package/claw/node_modules/crypto-js/core.js +0 -760
- package/claw/node_modules/crypto-js/crypto-js.js +0 -5988
- package/claw/node_modules/crypto-js/docs/QuickStartGuide.wiki +0 -470
- package/claw/node_modules/crypto-js/enc-base64.js +0 -135
- package/claw/node_modules/crypto-js/enc-hex.js +0 -18
- package/claw/node_modules/crypto-js/enc-latin1.js +0 -18
- package/claw/node_modules/crypto-js/enc-utf16.js +0 -149
- package/claw/node_modules/crypto-js/enc-utf8.js +0 -18
- package/claw/node_modules/crypto-js/evpkdf.js +0 -132
- package/claw/node_modules/crypto-js/format-hex.js +0 -66
- package/claw/node_modules/crypto-js/format-openssl.js +0 -18
- package/claw/node_modules/crypto-js/hmac-md5.js +0 -18
- package/claw/node_modules/crypto-js/hmac-ripemd160.js +0 -18
- package/claw/node_modules/crypto-js/hmac-sha1.js +0 -18
- package/claw/node_modules/crypto-js/hmac-sha224.js +0 -18
- package/claw/node_modules/crypto-js/hmac-sha256.js +0 -18
- package/claw/node_modules/crypto-js/hmac-sha3.js +0 -18
- package/claw/node_modules/crypto-js/hmac-sha384.js +0 -18
- package/claw/node_modules/crypto-js/hmac-sha512.js +0 -18
- package/claw/node_modules/crypto-js/hmac.js +0 -143
- package/claw/node_modules/crypto-js/index.js +0 -18
- package/claw/node_modules/crypto-js/lib-typedarrays.js +0 -76
- package/claw/node_modules/crypto-js/md5.js +0 -268
- package/claw/node_modules/crypto-js/mode-cfb.js +0 -78
- package/claw/node_modules/crypto-js/mode-ctr-gladman.js +0 -116
- package/claw/node_modules/crypto-js/mode-ctr.js +0 -58
- package/claw/node_modules/crypto-js/mode-ecb.js +0 -40
- package/claw/node_modules/crypto-js/mode-ofb.js +0 -54
- package/claw/node_modules/crypto-js/package.json +0 -38
- package/claw/node_modules/crypto-js/pad-ansix923.js +0 -49
- package/claw/node_modules/crypto-js/pad-iso10126.js +0 -44
- package/claw/node_modules/crypto-js/pad-iso97971.js +0 -40
- package/claw/node_modules/crypto-js/pad-nopadding.js +0 -30
- package/claw/node_modules/crypto-js/pad-pkcs7.js +0 -18
- package/claw/node_modules/crypto-js/pad-zeropadding.js +0 -45
- package/claw/node_modules/crypto-js/pbkdf2.js +0 -145
- package/claw/node_modules/crypto-js/rabbit-legacy.js +0 -190
- package/claw/node_modules/crypto-js/rabbit.js +0 -192
- package/claw/node_modules/crypto-js/rc4.js +0 -139
- package/claw/node_modules/crypto-js/ripemd160.js +0 -267
- package/claw/node_modules/crypto-js/sha1.js +0 -150
- package/claw/node_modules/crypto-js/sha224.js +0 -80
- package/claw/node_modules/crypto-js/sha256.js +0 -199
- package/claw/node_modules/crypto-js/sha3.js +0 -323
- package/claw/node_modules/crypto-js/sha384.js +0 -83
- package/claw/node_modules/crypto-js/sha512.js +0 -323
- package/claw/node_modules/crypto-js/tripledes.js +0 -770
- package/claw/node_modules/crypto-js/x64-core.js +0 -304
- package/claw/node_modules/deep-equal/.editorconfig +0 -20
- package/claw/node_modules/deep-equal/.eslintrc +0 -28
- package/claw/node_modules/deep-equal/.nycrc +0 -17
- package/claw/node_modules/deep-equal/.travis.yml +0 -12
- package/claw/node_modules/deep-equal/CHANGELOG.md +0 -320
- package/claw/node_modules/deep-equal/LICENSE +0 -21
- package/claw/node_modules/deep-equal/assert.js +0 -3
- package/claw/node_modules/deep-equal/example/cmp.js +0 -11
- package/claw/node_modules/deep-equal/index.js +0 -112
- package/claw/node_modules/deep-equal/lib/is_arguments.js +0 -1
- package/claw/node_modules/deep-equal/lib/keys.js +0 -1
- package/claw/node_modules/deep-equal/package.json +0 -109
- package/claw/node_modules/deep-equal/readme.markdown +0 -73
- package/claw/node_modules/deep-equal/test/_tape.js +0 -42
- package/claw/node_modules/deep-equal/test/cmp.js +0 -1343
- package/claw/node_modules/define-data-property/.eslintrc +0 -24
- package/claw/node_modules/define-data-property/.github/FUNDING.yml +0 -12
- package/claw/node_modules/define-data-property/.nycrc +0 -13
- package/claw/node_modules/define-data-property/CHANGELOG.md +0 -70
- package/claw/node_modules/define-data-property/LICENSE +0 -21
- package/claw/node_modules/define-data-property/README.md +0 -67
- package/claw/node_modules/define-data-property/index.d.ts +0 -12
- package/claw/node_modules/define-data-property/index.js +0 -56
- package/claw/node_modules/define-data-property/package.json +0 -106
- package/claw/node_modules/define-data-property/test/index.js +0 -392
- package/claw/node_modules/define-data-property/tsconfig.json +0 -59
- package/claw/node_modules/define-properties/.editorconfig +0 -13
- package/claw/node_modules/define-properties/.eslintrc +0 -19
- package/claw/node_modules/define-properties/.github/FUNDING.yml +0 -12
- package/claw/node_modules/define-properties/.nycrc +0 -9
- package/claw/node_modules/define-properties/CHANGELOG.md +0 -91
- package/claw/node_modules/define-properties/LICENSE +0 -21
- package/claw/node_modules/define-properties/README.md +0 -84
- package/claw/node_modules/define-properties/index.js +0 -47
- package/claw/node_modules/define-properties/package.json +0 -88
- package/claw/node_modules/dunder-proto/.eslintrc +0 -5
- package/claw/node_modules/dunder-proto/.github/FUNDING.yml +0 -12
- package/claw/node_modules/dunder-proto/.nycrc +0 -13
- package/claw/node_modules/dunder-proto/CHANGELOG.md +0 -24
- package/claw/node_modules/dunder-proto/LICENSE +0 -21
- package/claw/node_modules/dunder-proto/README.md +0 -54
- package/claw/node_modules/dunder-proto/get.d.ts +0 -5
- package/claw/node_modules/dunder-proto/get.js +0 -30
- package/claw/node_modules/dunder-proto/package.json +0 -76
- package/claw/node_modules/dunder-proto/set.d.ts +0 -5
- package/claw/node_modules/dunder-proto/set.js +0 -35
- package/claw/node_modules/dunder-proto/test/get.js +0 -34
- package/claw/node_modules/dunder-proto/test/index.js +0 -4
- package/claw/node_modules/dunder-proto/test/set.js +0 -50
- package/claw/node_modules/dunder-proto/tsconfig.json +0 -9
- package/claw/node_modules/ecurve/.min-wd +0 -7
- package/claw/node_modules/ecurve/.travis.yml +0 -14
- package/claw/node_modules/ecurve/CHANGELOG.md +0 -154
- package/claw/node_modules/ecurve/README.md +0 -11
- package/claw/node_modules/ecurve/lib/curve.js +0 -77
- package/claw/node_modules/ecurve/lib/curves.json +0 -65
- package/claw/node_modules/ecurve/lib/index.js +0 -10
- package/claw/node_modules/ecurve/lib/names.js +0 -21
- package/claw/node_modules/ecurve/lib/point.js +0 -244
- package/claw/node_modules/ecurve/package.json +0 -32
- package/claw/node_modules/es-define-property/.eslintrc +0 -13
- package/claw/node_modules/es-define-property/.github/FUNDING.yml +0 -12
- package/claw/node_modules/es-define-property/.nycrc +0 -9
- package/claw/node_modules/es-define-property/CHANGELOG.md +0 -29
- package/claw/node_modules/es-define-property/LICENSE +0 -21
- package/claw/node_modules/es-define-property/README.md +0 -49
- package/claw/node_modules/es-define-property/index.d.ts +0 -3
- package/claw/node_modules/es-define-property/index.js +0 -14
- package/claw/node_modules/es-define-property/package.json +0 -81
- package/claw/node_modules/es-define-property/test/index.js +0 -56
- package/claw/node_modules/es-define-property/tsconfig.json +0 -10
- package/claw/node_modules/es-errors/.eslintrc +0 -5
- package/claw/node_modules/es-errors/.github/FUNDING.yml +0 -12
- package/claw/node_modules/es-errors/CHANGELOG.md +0 -40
- package/claw/node_modules/es-errors/LICENSE +0 -21
- package/claw/node_modules/es-errors/README.md +0 -55
- package/claw/node_modules/es-errors/eval.d.ts +0 -3
- package/claw/node_modules/es-errors/eval.js +0 -4
- package/claw/node_modules/es-errors/index.d.ts +0 -3
- package/claw/node_modules/es-errors/index.js +0 -4
- package/claw/node_modules/es-errors/package.json +0 -80
- package/claw/node_modules/es-errors/range.d.ts +0 -3
- package/claw/node_modules/es-errors/range.js +0 -4
- package/claw/node_modules/es-errors/ref.d.ts +0 -3
- package/claw/node_modules/es-errors/ref.js +0 -4
- package/claw/node_modules/es-errors/syntax.d.ts +0 -3
- package/claw/node_modules/es-errors/syntax.js +0 -4
- package/claw/node_modules/es-errors/test/index.js +0 -19
- package/claw/node_modules/es-errors/tsconfig.json +0 -49
- package/claw/node_modules/es-errors/type.d.ts +0 -3
- package/claw/node_modules/es-errors/type.js +0 -4
- package/claw/node_modules/es-errors/uri.d.ts +0 -3
- package/claw/node_modules/es-errors/uri.js +0 -4
- package/claw/node_modules/es-object-atoms/.eslintrc +0 -16
- package/claw/node_modules/es-object-atoms/.github/FUNDING.yml +0 -12
- package/claw/node_modules/es-object-atoms/CHANGELOG.md +0 -37
- package/claw/node_modules/es-object-atoms/LICENSE +0 -21
- package/claw/node_modules/es-object-atoms/README.md +0 -63
- package/claw/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +0 -3
- package/claw/node_modules/es-object-atoms/RequireObjectCoercible.js +0 -11
- package/claw/node_modules/es-object-atoms/ToObject.d.ts +0 -7
- package/claw/node_modules/es-object-atoms/ToObject.js +0 -10
- package/claw/node_modules/es-object-atoms/index.d.ts +0 -3
- package/claw/node_modules/es-object-atoms/index.js +0 -4
- package/claw/node_modules/es-object-atoms/isObject.d.ts +0 -3
- package/claw/node_modules/es-object-atoms/isObject.js +0 -6
- package/claw/node_modules/es-object-atoms/package.json +0 -80
- package/claw/node_modules/es-object-atoms/test/index.js +0 -38
- package/claw/node_modules/es-object-atoms/tsconfig.json +0 -6
- package/claw/node_modules/for-each/.editorconfig +0 -20
- package/claw/node_modules/for-each/.eslintrc +0 -30
- package/claw/node_modules/for-each/.github/FUNDING.yml +0 -12
- package/claw/node_modules/for-each/.github/SECURITY.md +0 -3
- package/claw/node_modules/for-each/.nycrc +0 -8
- package/claw/node_modules/for-each/CHANGELOG.md +0 -107
- package/claw/node_modules/for-each/LICENSE +0 -22
- package/claw/node_modules/for-each/README.md +0 -39
- package/claw/node_modules/for-each/index.d.ts +0 -35
- package/claw/node_modules/for-each/index.js +0 -69
- package/claw/node_modules/for-each/package.json +0 -76
- package/claw/node_modules/for-each/test/test.js +0 -224
- package/claw/node_modules/for-each/tsconfig.json +0 -8
- package/claw/node_modules/function-bind/.eslintrc +0 -21
- package/claw/node_modules/function-bind/.github/FUNDING.yml +0 -12
- package/claw/node_modules/function-bind/.github/SECURITY.md +0 -3
- package/claw/node_modules/function-bind/.nycrc +0 -13
- package/claw/node_modules/function-bind/CHANGELOG.md +0 -136
- package/claw/node_modules/function-bind/LICENSE +0 -20
- package/claw/node_modules/function-bind/README.md +0 -46
- package/claw/node_modules/function-bind/implementation.js +0 -84
- package/claw/node_modules/function-bind/index.js +0 -5
- package/claw/node_modules/function-bind/package.json +0 -87
- package/claw/node_modules/function-bind/test/.eslintrc +0 -9
- package/claw/node_modules/function-bind/test/index.js +0 -252
- package/claw/node_modules/functions-have-names/.editorconfig +0 -20
- package/claw/node_modules/functions-have-names/.eslintrc +0 -19
- package/claw/node_modules/functions-have-names/.github/FUNDING.yml +0 -12
- package/claw/node_modules/functions-have-names/.nycrc +0 -9
- package/claw/node_modules/functions-have-names/CHANGELOG.md +0 -89
- package/claw/node_modules/functions-have-names/LICENSE +0 -21
- package/claw/node_modules/functions-have-names/README.md +0 -40
- package/claw/node_modules/functions-have-names/index.js +0 -31
- package/claw/node_modules/functions-have-names/package.json +0 -55
- package/claw/node_modules/functions-have-names/test/index.js +0 -65
- package/claw/node_modules/get-intrinsic/.eslintrc +0 -42
- package/claw/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
- package/claw/node_modules/get-intrinsic/.nycrc +0 -9
- package/claw/node_modules/get-intrinsic/CHANGELOG.md +0 -186
- package/claw/node_modules/get-intrinsic/LICENSE +0 -21
- package/claw/node_modules/get-intrinsic/README.md +0 -71
- package/claw/node_modules/get-intrinsic/index.js +0 -378
- package/claw/node_modules/get-intrinsic/package.json +0 -97
- package/claw/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
- package/claw/node_modules/get-proto/.eslintrc +0 -10
- package/claw/node_modules/get-proto/.github/FUNDING.yml +0 -12
- package/claw/node_modules/get-proto/.nycrc +0 -9
- package/claw/node_modules/get-proto/CHANGELOG.md +0 -21
- package/claw/node_modules/get-proto/LICENSE +0 -21
- package/claw/node_modules/get-proto/Object.getPrototypeOf.d.ts +0 -5
- package/claw/node_modules/get-proto/Object.getPrototypeOf.js +0 -6
- package/claw/node_modules/get-proto/README.md +0 -50
- package/claw/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +0 -3
- package/claw/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -4
- package/claw/node_modules/get-proto/index.d.ts +0 -5
- package/claw/node_modules/get-proto/index.js +0 -27
- package/claw/node_modules/get-proto/package.json +0 -81
- package/claw/node_modules/get-proto/test/index.js +0 -68
- package/claw/node_modules/get-proto/tsconfig.json +0 -9
- package/claw/node_modules/gopd/.eslintrc +0 -16
- package/claw/node_modules/gopd/.github/FUNDING.yml +0 -12
- package/claw/node_modules/gopd/CHANGELOG.md +0 -45
- package/claw/node_modules/gopd/LICENSE +0 -21
- package/claw/node_modules/gopd/README.md +0 -40
- package/claw/node_modules/gopd/gOPD.d.ts +0 -1
- package/claw/node_modules/gopd/gOPD.js +0 -4
- package/claw/node_modules/gopd/index.d.ts +0 -5
- package/claw/node_modules/gopd/index.js +0 -15
- package/claw/node_modules/gopd/package.json +0 -77
- package/claw/node_modules/gopd/test/index.js +0 -36
- package/claw/node_modules/gopd/tsconfig.json +0 -9
- package/claw/node_modules/has-property-descriptors/.eslintrc +0 -13
- package/claw/node_modules/has-property-descriptors/.github/FUNDING.yml +0 -12
- package/claw/node_modules/has-property-descriptors/.nycrc +0 -9
- package/claw/node_modules/has-property-descriptors/CHANGELOG.md +0 -35
- package/claw/node_modules/has-property-descriptors/LICENSE +0 -21
- package/claw/node_modules/has-property-descriptors/README.md +0 -43
- package/claw/node_modules/has-property-descriptors/index.js +0 -22
- package/claw/node_modules/has-property-descriptors/package.json +0 -77
- package/claw/node_modules/has-property-descriptors/test/index.js +0 -57
- package/claw/node_modules/has-symbols/.eslintrc +0 -11
- package/claw/node_modules/has-symbols/.github/FUNDING.yml +0 -12
- package/claw/node_modules/has-symbols/.nycrc +0 -9
- package/claw/node_modules/has-symbols/CHANGELOG.md +0 -91
- package/claw/node_modules/has-symbols/LICENSE +0 -21
- package/claw/node_modules/has-symbols/README.md +0 -46
- package/claw/node_modules/has-symbols/index.d.ts +0 -3
- package/claw/node_modules/has-symbols/index.js +0 -14
- package/claw/node_modules/has-symbols/package.json +0 -111
- package/claw/node_modules/has-symbols/shams.d.ts +0 -3
- package/claw/node_modules/has-symbols/shams.js +0 -45
- package/claw/node_modules/has-symbols/test/index.js +0 -22
- package/claw/node_modules/has-symbols/test/shams/core-js.js +0 -29
- package/claw/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -29
- package/claw/node_modules/has-symbols/test/tests.js +0 -58
- package/claw/node_modules/has-symbols/tsconfig.json +0 -10
- package/claw/node_modules/has-tostringtag/.eslintrc +0 -5
- package/claw/node_modules/has-tostringtag/.github/FUNDING.yml +0 -12
- package/claw/node_modules/has-tostringtag/.nycrc +0 -13
- package/claw/node_modules/has-tostringtag/CHANGELOG.md +0 -42
- package/claw/node_modules/has-tostringtag/LICENSE +0 -21
- package/claw/node_modules/has-tostringtag/README.md +0 -46
- package/claw/node_modules/has-tostringtag/index.d.ts +0 -3
- package/claw/node_modules/has-tostringtag/index.js +0 -8
- package/claw/node_modules/has-tostringtag/package.json +0 -108
- package/claw/node_modules/has-tostringtag/shams.d.ts +0 -3
- package/claw/node_modules/has-tostringtag/shams.js +0 -8
- package/claw/node_modules/has-tostringtag/test/index.js +0 -21
- package/claw/node_modules/has-tostringtag/test/shams/core-js.js +0 -31
- package/claw/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +0 -30
- package/claw/node_modules/has-tostringtag/test/tests.js +0 -15
- package/claw/node_modules/has-tostringtag/tsconfig.json +0 -49
- package/claw/node_modules/hash-base/.github/FUNDING.yml +0 -12
- package/claw/node_modules/hash-base/CHANGELOG.md +0 -166
- package/claw/node_modules/hash-base/LICENSE +0 -21
- package/claw/node_modules/hash-base/README.md +0 -48
- package/claw/node_modules/hash-base/index.js +0 -109
- package/claw/node_modules/hash-base/package.json +0 -64
- package/claw/node_modules/hash-base/to-buffer.js +0 -20
- package/claw/node_modules/hasown/.eslintrc +0 -5
- package/claw/node_modules/hasown/.github/FUNDING.yml +0 -12
- package/claw/node_modules/hasown/.nycrc +0 -13
- package/claw/node_modules/hasown/CHANGELOG.md +0 -40
- package/claw/node_modules/hasown/LICENSE +0 -21
- package/claw/node_modules/hasown/README.md +0 -40
- package/claw/node_modules/hasown/index.d.ts +0 -3
- package/claw/node_modules/hasown/index.js +0 -8
- package/claw/node_modules/hasown/package.json +0 -92
- package/claw/node_modules/hasown/tsconfig.json +0 -6
- package/claw/node_modules/inherits/LICENSE +0 -16
- package/claw/node_modules/inherits/README.md +0 -42
- package/claw/node_modules/inherits/inherits.js +0 -9
- package/claw/node_modules/inherits/inherits_browser.js +0 -27
- package/claw/node_modules/inherits/package.json +0 -29
- package/claw/node_modules/is-arguments/.editorconfig +0 -20
- package/claw/node_modules/is-arguments/.eslintrc +0 -9
- package/claw/node_modules/is-arguments/.github/FUNDING.yml +0 -12
- package/claw/node_modules/is-arguments/.nycrc +0 -9
- package/claw/node_modules/is-arguments/CHANGELOG.md +0 -201
- package/claw/node_modules/is-arguments/LICENSE +0 -20
- package/claw/node_modules/is-arguments/README.md +0 -47
- package/claw/node_modules/is-arguments/index.d.ts +0 -6
- package/claw/node_modules/is-arguments/index.js +0 -44
- package/claw/node_modules/is-arguments/package.json +0 -105
- package/claw/node_modules/is-arguments/test/index.js +0 -47
- package/claw/node_modules/is-arguments/tsconfig.json +0 -9
- package/claw/node_modules/is-callable/.editorconfig +0 -31
- package/claw/node_modules/is-callable/.eslintrc +0 -10
- package/claw/node_modules/is-callable/.github/FUNDING.yml +0 -12
- package/claw/node_modules/is-callable/.nycrc +0 -9
- package/claw/node_modules/is-callable/CHANGELOG.md +0 -158
- package/claw/node_modules/is-callable/LICENSE +0 -22
- package/claw/node_modules/is-callable/README.md +0 -83
- package/claw/node_modules/is-callable/index.js +0 -101
- package/claw/node_modules/is-callable/package.json +0 -106
- package/claw/node_modules/is-callable/test/index.js +0 -244
- package/claw/node_modules/is-date-object/.editorconfig +0 -20
- package/claw/node_modules/is-date-object/.eslintrc +0 -9
- package/claw/node_modules/is-date-object/.github/FUNDING.yml +0 -12
- package/claw/node_modules/is-date-object/.nycrc +0 -10
- package/claw/node_modules/is-date-object/CHANGELOG.md +0 -134
- package/claw/node_modules/is-date-object/LICENSE +0 -22
- package/claw/node_modules/is-date-object/README.md +0 -52
- package/claw/node_modules/is-date-object/index.d.ts +0 -3
- package/claw/node_modules/is-date-object/index.js +0 -27
- package/claw/node_modules/is-date-object/package.json +0 -99
- package/claw/node_modules/is-date-object/test/index.js +0 -38
- package/claw/node_modules/is-date-object/tsconfig.json +0 -6
- package/claw/node_modules/is-regex/.editorconfig +0 -23
- package/claw/node_modules/is-regex/.eslintrc +0 -10
- package/claw/node_modules/is-regex/.nycrc +0 -10
- package/claw/node_modules/is-regex/CHANGELOG.md +0 -233
- package/claw/node_modules/is-regex/LICENSE +0 -20
- package/claw/node_modules/is-regex/README.md +0 -52
- package/claw/node_modules/is-regex/index.d.ts +0 -3
- package/claw/node_modules/is-regex/index.js +0 -69
- package/claw/node_modules/is-regex/package.json +0 -104
- package/claw/node_modules/is-regex/test/index.js +0 -121
- package/claw/node_modules/is-regex/tsconfig.json +0 -9
- package/claw/node_modules/is-typed-array/.editorconfig +0 -20
- package/claw/node_modules/is-typed-array/.eslintrc +0 -13
- package/claw/node_modules/is-typed-array/.github/FUNDING.yml +0 -12
- package/claw/node_modules/is-typed-array/.nycrc +0 -9
- package/claw/node_modules/is-typed-array/CHANGELOG.md +0 -166
- package/claw/node_modules/is-typed-array/LICENSE +0 -22
- package/claw/node_modules/is-typed-array/README.md +0 -70
- package/claw/node_modules/is-typed-array/index.d.ts +0 -9
- package/claw/node_modules/is-typed-array/index.js +0 -8
- package/claw/node_modules/is-typed-array/package.json +0 -129
- package/claw/node_modules/is-typed-array/test/index.js +0 -111
- package/claw/node_modules/is-typed-array/tsconfig.json +0 -6
- package/claw/node_modules/isarray/.travis.yml +0 -4
- package/claw/node_modules/isarray/Makefile +0 -6
- package/claw/node_modules/isarray/README.md +0 -60
- package/claw/node_modules/isarray/component.json +0 -19
- package/claw/node_modules/isarray/index.js +0 -5
- package/claw/node_modules/isarray/package.json +0 -45
- package/claw/node_modules/isarray/test.js +0 -20
- package/claw/node_modules/isomorphic-ws/LICENSE +0 -21
- package/claw/node_modules/isomorphic-ws/README.md +0 -58
- package/claw/node_modules/isomorphic-ws/browser.js +0 -17
- package/claw/node_modules/isomorphic-ws/index.d.ts +0 -8
- package/claw/node_modules/isomorphic-ws/node.js +0 -3
- package/claw/node_modules/isomorphic-ws/package.json +0 -34
- package/claw/node_modules/long/.travis.yml +0 -5
- package/claw/node_modules/long/LICENSE +0 -202
- package/claw/node_modules/long/README.md +0 -513
- package/claw/node_modules/long/bower.json +0 -9
- package/claw/node_modules/long/dist/README.md +0 -16
- package/claw/node_modules/long/dist/long.js +0 -1209
- package/claw/node_modules/long/dist/long.min.js +0 -20
- package/claw/node_modules/long/dist/long.min.js.gz +0 -0
- package/claw/node_modules/long/dist/long.min.map +0 -8
- package/claw/node_modules/long/doco/INDEX.md +0 -6
- package/claw/node_modules/long/doco/Long.md +0 -473
- package/claw/node_modules/long/donate.png +0 -0
- package/claw/node_modules/long/externs/long.js +0 -416
- package/claw/node_modules/long/index.js +0 -1
- package/claw/node_modules/long/jsdoc.json +0 -13
- package/claw/node_modules/long/long.png +0 -0
- package/claw/node_modules/long/package.json +0 -33
- package/claw/node_modules/long/scripts/build.js +0 -28
- package/claw/node_modules/long/src/bower.json +0 -9
- package/claw/node_modules/long/src/long.js +0 -1172
- package/claw/node_modules/long/src/wrap.js +0 -38
- package/claw/node_modules/long/tests/goog.math.long.js +0 -807
- package/claw/node_modules/long/tests/suite.js +0 -195
- package/claw/node_modules/lzma/.travis.yml +0 -9
- package/claw/node_modules/lzma/LICENSE +0 -20
- package/claw/node_modules/lzma/THANKS +0 -7
- package/claw/node_modules/lzma/bin/lzma.js +0 -362
- package/claw/node_modules/lzma/index.js +0 -19
- package/claw/node_modules/lzma/package.json +0 -30
- package/claw/node_modules/lzma/readme.md +0 -149
- package/claw/node_modules/lzma/src/lzma-c-min.js +0 -1
- package/claw/node_modules/lzma/src/lzma-c.js +0 -2021
- package/claw/node_modules/lzma/src/lzma-d-min.js +0 -1
- package/claw/node_modules/lzma/src/lzma-d.js +0 -878
- package/claw/node_modules/lzma/src/lzma-min.js +0 -2
- package/claw/node_modules/lzma/src/lzma.js +0 -153
- package/claw/node_modules/lzma/src/lzma_worker-min.js +0 -2
- package/claw/node_modules/lzma/src/lzma_worker.js +0 -2668
- package/claw/node_modules/math-intrinsics/.eslintrc +0 -16
- package/claw/node_modules/math-intrinsics/.github/FUNDING.yml +0 -12
- package/claw/node_modules/math-intrinsics/CHANGELOG.md +0 -24
- package/claw/node_modules/math-intrinsics/LICENSE +0 -21
- package/claw/node_modules/math-intrinsics/README.md +0 -50
- package/claw/node_modules/math-intrinsics/abs.d.ts +0 -1
- package/claw/node_modules/math-intrinsics/abs.js +0 -4
- package/claw/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +0 -3
- package/claw/node_modules/math-intrinsics/constants/maxArrayLength.js +0 -4
- package/claw/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +0 -3
- package/claw/node_modules/math-intrinsics/constants/maxSafeInteger.js +0 -5
- package/claw/node_modules/math-intrinsics/constants/maxValue.d.ts +0 -3
- package/claw/node_modules/math-intrinsics/constants/maxValue.js +0 -5
- package/claw/node_modules/math-intrinsics/floor.d.ts +0 -1
- package/claw/node_modules/math-intrinsics/floor.js +0 -4
- package/claw/node_modules/math-intrinsics/isFinite.d.ts +0 -3
- package/claw/node_modules/math-intrinsics/isFinite.js +0 -12
- package/claw/node_modules/math-intrinsics/isInteger.d.ts +0 -3
- package/claw/node_modules/math-intrinsics/isInteger.js +0 -16
- package/claw/node_modules/math-intrinsics/isNaN.d.ts +0 -1
- package/claw/node_modules/math-intrinsics/isNaN.js +0 -6
- package/claw/node_modules/math-intrinsics/isNegativeZero.d.ts +0 -3
- package/claw/node_modules/math-intrinsics/isNegativeZero.js +0 -6
- package/claw/node_modules/math-intrinsics/max.d.ts +0 -1
- package/claw/node_modules/math-intrinsics/max.js +0 -4
- package/claw/node_modules/math-intrinsics/min.d.ts +0 -1
- package/claw/node_modules/math-intrinsics/min.js +0 -4
- package/claw/node_modules/math-intrinsics/mod.d.ts +0 -3
- package/claw/node_modules/math-intrinsics/mod.js +0 -9
- package/claw/node_modules/math-intrinsics/package.json +0 -86
- package/claw/node_modules/math-intrinsics/pow.d.ts +0 -1
- package/claw/node_modules/math-intrinsics/pow.js +0 -4
- package/claw/node_modules/math-intrinsics/round.d.ts +0 -1
- package/claw/node_modules/math-intrinsics/round.js +0 -4
- package/claw/node_modules/math-intrinsics/sign.d.ts +0 -3
- package/claw/node_modules/math-intrinsics/sign.js +0 -11
- package/claw/node_modules/math-intrinsics/test/index.js +0 -192
- package/claw/node_modules/math-intrinsics/tsconfig.json +0 -3
- package/claw/node_modules/md5.js/LICENSE +0 -21
- package/claw/node_modules/md5.js/README.md +0 -29
- package/claw/node_modules/md5.js/index.js +0 -146
- package/claw/node_modules/md5.js/package.json +0 -38
- package/claw/node_modules/object-is/.eslintrc +0 -5
- package/claw/node_modules/object-is/.nycrc +0 -9
- package/claw/node_modules/object-is/CHANGELOG.md +0 -175
- package/claw/node_modules/object-is/LICENSE +0 -20
- package/claw/node_modules/object-is/README.md +0 -60
- package/claw/node_modules/object-is/auto.js +0 -3
- package/claw/node_modules/object-is/implementation.js +0 -19
- package/claw/node_modules/object-is/index.js +0 -18
- package/claw/node_modules/object-is/package.json +0 -96
- package/claw/node_modules/object-is/polyfill.js +0 -7
- package/claw/node_modules/object-is/shim.js +0 -14
- package/claw/node_modules/object-is/test/implementation.js +0 -12
- package/claw/node_modules/object-is/test/index.js +0 -12
- package/claw/node_modules/object-is/test/shimmed.js +0 -28
- package/claw/node_modules/object-is/test/tests.js +0 -57
- package/claw/node_modules/object-keys/.editorconfig +0 -13
- package/claw/node_modules/object-keys/.eslintrc +0 -17
- package/claw/node_modules/object-keys/.travis.yml +0 -277
- package/claw/node_modules/object-keys/CHANGELOG.md +0 -232
- package/claw/node_modules/object-keys/LICENSE +0 -21
- package/claw/node_modules/object-keys/README.md +0 -76
- package/claw/node_modules/object-keys/implementation.js +0 -122
- package/claw/node_modules/object-keys/index.js +0 -32
- package/claw/node_modules/object-keys/isArguments.js +0 -17
- package/claw/node_modules/object-keys/package.json +0 -88
- package/claw/node_modules/object-keys/test/index.js +0 -5
- package/claw/node_modules/object.assign/.editorconfig +0 -20
- package/claw/node_modules/object.assign/.eslintrc +0 -28
- package/claw/node_modules/object.assign/.github/FUNDING.yml +0 -12
- package/claw/node_modules/object.assign/.nycrc +0 -9
- package/claw/node_modules/object.assign/CHANGELOG.md +0 -246
- package/claw/node_modules/object.assign/LICENSE +0 -21
- package/claw/node_modules/object.assign/README.md +0 -136
- package/claw/node_modules/object.assign/auto.js +0 -3
- package/claw/node_modules/object.assign/dist/browser.js +0 -1304
- package/claw/node_modules/object.assign/hasSymbols.js +0 -43
- package/claw/node_modules/object.assign/implementation.js +0 -46
- package/claw/node_modules/object.assign/index.js +0 -22
- package/claw/node_modules/object.assign/package.json +0 -96
- package/claw/node_modules/object.assign/polyfill.js +0 -55
- package/claw/node_modules/object.assign/shim.js +0 -14
- package/claw/node_modules/object.assign/test/implementation.js +0 -19
- package/claw/node_modules/object.assign/test/index.js +0 -17
- package/claw/node_modules/object.assign/test/native.js +0 -49
- package/claw/node_modules/object.assign/test/ses-compat.js +0 -12
- package/claw/node_modules/object.assign/test/shimmed.js +0 -52
- package/claw/node_modules/object.assign/test/tests.js +0 -232
- package/claw/node_modules/possible-typed-array-names/.eslintrc +0 -5
- package/claw/node_modules/possible-typed-array-names/.github/FUNDING.yml +0 -12
- package/claw/node_modules/possible-typed-array-names/CHANGELOG.md +0 -29
- package/claw/node_modules/possible-typed-array-names/LICENSE +0 -21
- package/claw/node_modules/possible-typed-array-names/README.md +0 -50
- package/claw/node_modules/possible-typed-array-names/index.d.ts +0 -16
- package/claw/node_modules/possible-typed-array-names/index.js +0 -17
- package/claw/node_modules/possible-typed-array-names/package.json +0 -84
- package/claw/node_modules/possible-typed-array-names/test/index.js +0 -19
- package/claw/node_modules/possible-typed-array-names/tsconfig.json +0 -9
- package/claw/node_modules/process-nextick-args/index.js +0 -45
- package/claw/node_modules/process-nextick-args/license.md +0 -19
- package/claw/node_modules/process-nextick-args/package.json +0 -25
- package/claw/node_modules/process-nextick-args/readme.md +0 -18
- package/claw/node_modules/readable-stream/.travis.yml +0 -34
- package/claw/node_modules/readable-stream/CONTRIBUTING.md +0 -38
- package/claw/node_modules/readable-stream/GOVERNANCE.md +0 -136
- package/claw/node_modules/readable-stream/LICENSE +0 -47
- package/claw/node_modules/readable-stream/README.md +0 -58
- package/claw/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -60
- package/claw/node_modules/readable-stream/duplex-browser.js +0 -1
- package/claw/node_modules/readable-stream/duplex.js +0 -1
- package/claw/node_modules/readable-stream/lib/_stream_duplex.js +0 -131
- package/claw/node_modules/readable-stream/lib/_stream_passthrough.js +0 -47
- package/claw/node_modules/readable-stream/lib/_stream_readable.js +0 -1019
- package/claw/node_modules/readable-stream/lib/_stream_transform.js +0 -214
- package/claw/node_modules/readable-stream/lib/_stream_writable.js +0 -685
- package/claw/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -78
- package/claw/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -84
- package/claw/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
- package/claw/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
- package/claw/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +0 -21
- package/claw/node_modules/readable-stream/node_modules/safe-buffer/README.md +0 -584
- package/claw/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +0 -187
- package/claw/node_modules/readable-stream/node_modules/safe-buffer/index.js +0 -62
- package/claw/node_modules/readable-stream/node_modules/safe-buffer/package.json +0 -37
- package/claw/node_modules/readable-stream/package.json +0 -52
- package/claw/node_modules/readable-stream/passthrough.js +0 -1
- package/claw/node_modules/readable-stream/readable-browser.js +0 -7
- package/claw/node_modules/readable-stream/readable.js +0 -19
- package/claw/node_modules/readable-stream/transform.js +0 -1
- package/claw/node_modules/readable-stream/writable-browser.js +0 -1
- package/claw/node_modules/readable-stream/writable.js +0 -8
- package/claw/node_modules/regexp.prototype.flags/.editorconfig +0 -13
- package/claw/node_modules/regexp.prototype.flags/.eslintrc +0 -20
- package/claw/node_modules/regexp.prototype.flags/.nycrc +0 -9
- package/claw/node_modules/regexp.prototype.flags/CHANGELOG.md +0 -249
- package/claw/node_modules/regexp.prototype.flags/LICENSE +0 -22
- package/claw/node_modules/regexp.prototype.flags/README.md +0 -55
- package/claw/node_modules/regexp.prototype.flags/auto.js +0 -3
- package/claw/node_modules/regexp.prototype.flags/implementation.js +0 -39
- package/claw/node_modules/regexp.prototype.flags/index.js +0 -18
- package/claw/node_modules/regexp.prototype.flags/package.json +0 -105
- package/claw/node_modules/regexp.prototype.flags/polyfill.js +0 -39
- package/claw/node_modules/regexp.prototype.flags/shim.js +0 -26
- package/claw/node_modules/regexp.prototype.flags/test/builtin.js +0 -46
- package/claw/node_modules/regexp.prototype.flags/test/implementation.js +0 -20
- package/claw/node_modules/regexp.prototype.flags/test/index.js +0 -17
- package/claw/node_modules/regexp.prototype.flags/test/shimmed.js +0 -48
- package/claw/node_modules/regexp.prototype.flags/test/tests.js +0 -143
- package/claw/node_modules/ripemd160/.github/FUNDING.yml +0 -12
- package/claw/node_modules/ripemd160/CHANGELOG.md +0 -109
- package/claw/node_modules/ripemd160/LICENSE +0 -21
- package/claw/node_modules/ripemd160/README.md +0 -27
- package/claw/node_modules/ripemd160/index.js +0 -167
- package/claw/node_modules/ripemd160/package.json +0 -64
- package/claw/node_modules/safe-buffer/LICENSE +0 -21
- package/claw/node_modules/safe-buffer/README.md +0 -584
- package/claw/node_modules/safe-buffer/index.d.ts +0 -187
- package/claw/node_modules/safe-buffer/index.js +0 -65
- package/claw/node_modules/safe-buffer/package.json +0 -51
- package/claw/node_modules/secure-random/CHANGELOG.md +0 -51
- package/claw/node_modules/secure-random/Makefile +0 -8
- package/claw/node_modules/secure-random/README.md +0 -133
- package/claw/node_modules/secure-random/lib/secure-random.js +0 -83
- package/claw/node_modules/secure-random/package.json +0 -45
- package/claw/node_modules/set-function-length/.eslintrc +0 -27
- package/claw/node_modules/set-function-length/.github/FUNDING.yml +0 -12
- package/claw/node_modules/set-function-length/.nycrc +0 -13
- package/claw/node_modules/set-function-length/CHANGELOG.md +0 -70
- package/claw/node_modules/set-function-length/LICENSE +0 -21
- package/claw/node_modules/set-function-length/README.md +0 -56
- package/claw/node_modules/set-function-length/env.d.ts +0 -9
- package/claw/node_modules/set-function-length/env.js +0 -25
- package/claw/node_modules/set-function-length/index.d.ts +0 -7
- package/claw/node_modules/set-function-length/index.js +0 -42
- package/claw/node_modules/set-function-length/package.json +0 -102
- package/claw/node_modules/set-function-length/tsconfig.json +0 -9
- package/claw/node_modules/set-function-name/.eslintrc +0 -21
- package/claw/node_modules/set-function-name/.github/FUNDING.yml +0 -12
- package/claw/node_modules/set-function-name/CHANGELOG.md +0 -48
- package/claw/node_modules/set-function-name/LICENSE +0 -21
- package/claw/node_modules/set-function-name/README.md +0 -61
- package/claw/node_modules/set-function-name/index.d.ts +0 -5
- package/claw/node_modules/set-function-name/index.js +0 -23
- package/claw/node_modules/set-function-name/package.json +0 -99
- package/claw/node_modules/set-function-name/tsconfig.json +0 -59
- package/claw/node_modules/sha.js/.eslintrc +0 -76
- package/claw/node_modules/sha.js/CHANGELOG.md +0 -423
- package/claw/node_modules/sha.js/LICENSE +0 -49
- package/claw/node_modules/sha.js/README.md +0 -44
- package/claw/node_modules/sha.js/bin.js +0 -44
- package/claw/node_modules/sha.js/hash.js +0 -84
- package/claw/node_modules/sha.js/index.js +0 -19
- package/claw/node_modules/sha.js/package.json +0 -58
- package/claw/node_modules/sha.js/sha.js +0 -104
- package/claw/node_modules/sha.js/sha1.js +0 -109
- package/claw/node_modules/sha.js/sha224.js +0 -55
- package/claw/node_modules/sha.js/sha256.js +0 -189
- package/claw/node_modules/sha.js/sha384.js +0 -59
- package/claw/node_modules/sha.js/sha512.js +0 -382
- package/claw/node_modules/sha.js/test/hash.js +0 -80
- package/claw/node_modules/sha.js/test/test.js +0 -138
- package/claw/node_modules/sha.js/test/vectors.js +0 -72
- package/claw/node_modules/string_decoder/.travis.yml +0 -50
- package/claw/node_modules/string_decoder/LICENSE +0 -48
- package/claw/node_modules/string_decoder/README.md +0 -47
- package/claw/node_modules/string_decoder/lib/string_decoder.js +0 -296
- package/claw/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +0 -21
- package/claw/node_modules/string_decoder/node_modules/safe-buffer/README.md +0 -584
- package/claw/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +0 -187
- package/claw/node_modules/string_decoder/node_modules/safe-buffer/index.js +0 -62
- package/claw/node_modules/string_decoder/node_modules/safe-buffer/package.json +0 -37
- package/claw/node_modules/string_decoder/package.json +0 -31
- package/claw/node_modules/to-buffer/.github/FUNDING.yml +0 -12
- package/claw/node_modules/to-buffer/CHANGELOG.md +0 -81
- package/claw/node_modules/to-buffer/LICENSE +0 -21
- package/claw/node_modules/to-buffer/README.md +0 -44
- package/claw/node_modules/to-buffer/index.js +0 -109
- package/claw/node_modules/to-buffer/node_modules/isarray/LICENSE +0 -21
- package/claw/node_modules/to-buffer/node_modules/isarray/README.md +0 -38
- package/claw/node_modules/to-buffer/node_modules/isarray/index.js +0 -5
- package/claw/node_modules/to-buffer/node_modules/isarray/package.json +0 -48
- package/claw/node_modules/to-buffer/package.json +0 -62
- package/claw/node_modules/typed-array-buffer/.eslintrc +0 -13
- package/claw/node_modules/typed-array-buffer/.github/FUNDING.yml +0 -12
- package/claw/node_modules/typed-array-buffer/.nycrc +0 -13
- package/claw/node_modules/typed-array-buffer/CHANGELOG.md +0 -50
- package/claw/node_modules/typed-array-buffer/LICENSE +0 -21
- package/claw/node_modules/typed-array-buffer/README.md +0 -42
- package/claw/node_modules/typed-array-buffer/index.d.ts +0 -9
- package/claw/node_modules/typed-array-buffer/index.js +0 -19
- package/claw/node_modules/typed-array-buffer/package.json +0 -82
- package/claw/node_modules/typed-array-buffer/test/index.js +0 -23
- package/claw/node_modules/typed-array-buffer/tsconfig.json +0 -9
- package/claw/node_modules/util/LICENSE +0 -18
- package/claw/node_modules/util/README.md +0 -15
- package/claw/node_modules/util/node_modules/inherits/LICENSE +0 -16
- package/claw/node_modules/util/node_modules/inherits/README.md +0 -42
- package/claw/node_modules/util/node_modules/inherits/inherits.js +0 -7
- package/claw/node_modules/util/node_modules/inherits/inherits_browser.js +0 -23
- package/claw/node_modules/util/node_modules/inherits/package.json +0 -29
- package/claw/node_modules/util/package.json +0 -35
- package/claw/node_modules/util/support/isBuffer.js +0 -3
- package/claw/node_modules/util/support/isBufferBrowser.js +0 -6
- package/claw/node_modules/util/util.js +0 -586
- package/claw/node_modules/util-deprecate/History.md +0 -16
- package/claw/node_modules/util-deprecate/LICENSE +0 -24
- package/claw/node_modules/util-deprecate/README.md +0 -53
- package/claw/node_modules/util-deprecate/browser.js +0 -67
- package/claw/node_modules/util-deprecate/node.js +0 -6
- package/claw/node_modules/util-deprecate/package.json +0 -27
- package/claw/node_modules/which-typed-array/.editorconfig +0 -20
- package/claw/node_modules/which-typed-array/.eslintrc +0 -10
- package/claw/node_modules/which-typed-array/.github/FUNDING.yml +0 -12
- package/claw/node_modules/which-typed-array/.nycrc +0 -13
- package/claw/node_modules/which-typed-array/CHANGELOG.md +0 -269
- package/claw/node_modules/which-typed-array/LICENSE +0 -22
- package/claw/node_modules/which-typed-array/README.md +0 -70
- package/claw/node_modules/which-typed-array/index.d.ts +0 -66
- package/claw/node_modules/which-typed-array/index.js +0 -122
- package/claw/node_modules/which-typed-array/package.json +0 -130
- package/claw/node_modules/which-typed-array/test/index.js +0 -105
- package/claw/node_modules/which-typed-array/tsconfig.json +0 -9
- package/claw/node_modules/ws/LICENSE +0 -21
- package/claw/node_modules/ws/README.md +0 -449
- package/claw/node_modules/ws/browser.js +0 -8
- package/claw/node_modules/ws/index.js +0 -9
- package/claw/node_modules/ws/lib/buffer-util.js +0 -144
- package/claw/node_modules/ws/lib/constants.js +0 -10
- package/claw/node_modules/ws/lib/event-target.js +0 -170
- package/claw/node_modules/ws/lib/extension.js +0 -222
- package/claw/node_modules/ws/lib/permessage-deflate.js +0 -502
- package/claw/node_modules/ws/lib/receiver.js +0 -492
- package/claw/node_modules/ws/lib/sender.js +0 -358
- package/claw/node_modules/ws/lib/validation.js +0 -30
- package/claw/node_modules/ws/lib/websocket-server.js +0 -415
- package/claw/node_modules/ws/lib/websocket.js +0 -895
- package/claw/node_modules/ws/package.json +0 -45
- package/dist/modules/logger.d.ts +0 -4
- package/dist/modules/logger.d.ts.map +0 -1
- package/dist/modules/logger.js +0 -5
- package/dist/modules/logger.js.map +0 -1
- package/dist/modules/utils/math_utils.d.ts +0 -3
- package/dist/modules/utils/math_utils.d.ts.map +0 -1
- package/dist/modules/utils/math_utils.js +0 -3
- package/dist/modules/utils/math_utils.js.map +0 -1
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
# MPA and Credit Usage
|
|
2
|
+
|
|
3
|
+
DEXBot2 supports native BitShares debt workflows through the bot-level `debtPolicy` config block. Each lending item declares its own collateral asset, and the runtime groups items by collateral to compute independent distributions. For the related AMA/grid side, see [Market Adapter](../market_adapter/README.md).
|
|
4
|
+
|
|
5
|
+
## Contents
|
|
6
|
+
|
|
7
|
+
- [Configuration Format](#configuration-format)
|
|
8
|
+
- [Credit-Only Mode](#credit-only-mode)
|
|
9
|
+
- [Collateral Distribution](#collateral-distribution)
|
|
10
|
+
- [Runtime Timing](#runtime-timing)
|
|
11
|
+
- [MPA Maintenance](#mpa-maintenance)
|
|
12
|
+
- [Credit Offer Maintenance](#credit-offer-maintenance)
|
|
13
|
+
- [LP-Backed Credit Collateral](#lp-backed-credit-collateral)
|
|
14
|
+
- [State Files](#state-files)
|
|
15
|
+
- [Operational Notes](#operational-notes)
|
|
16
|
+
- [Related Files](#related-files)
|
|
17
|
+
|
|
18
|
+
## Which section do I need?
|
|
19
|
+
|
|
20
|
+
| If you want toโฆ | Read this | Key file / field |
|
|
21
|
+
|-----------------|-----------|-------------------|
|
|
22
|
+
| Configure a bot to borrow MPAs or credit offers | [Configuration Format](#configuration-format) | `debtPolicy.lending` in `bots.json` |
|
|
23
|
+
| Understand how collateral is split across lending items | [Collateral Distribution](#collateral-distribution) | `outputWeight` |
|
|
24
|
+
| Change how often the credit watchdog runs | [Runtime Timing](#runtime-timing) | `TIMING` in `constants.ts` |
|
|
25
|
+
| Know what happens when MPA CR drops below minimum | [MPA Maintenance](#mpa-maintenance) | `minCollateralRatio` |
|
|
26
|
+
| Know how credit deals are renewed and repaid | [Credit Offer Maintenance](#credit-offer-maintenance) | `autoReborrow` / `autoRepay` |
|
|
27
|
+
| Cap the size of a single borrow, or split oversized deals | [Credit Offer Maintenance](#credit-offer-maintenance) | `maxBorrowAmountPerOperation` |
|
|
28
|
+
| Use LP shares as credit-offer collateral | [LP-Backed Credit Collateral](#lp-backed-credit-collateral) | automatic valuation |
|
|
29
|
+
| Diagnose pending reborrow or renewal issues | [State Files](#state-files) | `profiles/credit_runtime/<botKey>.json` |
|
|
30
|
+
| Safe operating practices | [Operational Notes](#operational-notes) | โ |
|
|
31
|
+
|
|
32
|
+
## Configuration Format
|
|
33
|
+
|
|
34
|
+
Add `debtPolicy` to a bot entry in `profiles/bots.json`:
|
|
35
|
+
|
|
36
|
+
```json
|
|
37
|
+
{
|
|
38
|
+
"name": "credit-bot-1",
|
|
39
|
+
"preferredAccount": "my-account",
|
|
40
|
+
"active": true,
|
|
41
|
+
|
|
42
|
+
"creditOnly": true,
|
|
43
|
+
|
|
44
|
+
"debtPolicy": {
|
|
45
|
+
"maxCollateralAmount": "80%",
|
|
46
|
+
"lending": [
|
|
47
|
+
{
|
|
48
|
+
"asset": "HONEST.USD",
|
|
49
|
+
"collateralAsset": "BTS",
|
|
50
|
+
"type": "mpa",
|
|
51
|
+
"outputWeight": 1,
|
|
52
|
+
"maxBorrowAmount": 1000,
|
|
53
|
+
"maxCollateralAmount": 5000,
|
|
54
|
+
"minCollateralRatio": 2.0,
|
|
55
|
+
"maxCollateralRatio": 2.5,
|
|
56
|
+
"targetCollateralRatio": 2.2
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"asset": "HONEST.CNY",
|
|
60
|
+
"collateralAsset": "BTS",
|
|
61
|
+
"type": "creditOffer",
|
|
62
|
+
"outputWeight": 1,
|
|
63
|
+
"maxBorrowAmount": 1000,
|
|
64
|
+
"maxCollateralRatio": 2.5,
|
|
65
|
+
"maxFeeRatePerDay": 0.05,
|
|
66
|
+
"autoReborrow": true,
|
|
67
|
+
"autoRepay": 2
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### Field Reference
|
|
75
|
+
|
|
76
|
+
<details><summary>All config fields (click to expand)</summary>
|
|
77
|
+
|
|
78
|
+
**Required Fields:**
|
|
79
|
+
|
|
80
|
+
| Field | Type | Description |
|
|
81
|
+
|-------|------|-------------|
|
|
82
|
+
| `lending` | `array` | Non-empty array of lending items. Each item maps a debt asset to a debt type and collateral asset. |
|
|
83
|
+
|
|
84
|
+
**Lending Item Fields** (every item must have):
|
|
85
|
+
|
|
86
|
+
| Field | Type | Required | Description |
|
|
87
|
+
|-------|------|----------|-------------|
|
|
88
|
+
| `asset` | `string` | Yes | Debt asset symbol or ID (e.g. `"HONEST.USD"`). |
|
|
89
|
+
| `collateralAsset` | `string` | Yes | Collateral asset (e.g. `"BTS"`). Multiple items may share the same collateral asset. |
|
|
90
|
+
| `type` | `string` | Yes | `"mpa"` (BitShares MPA call order) or `"creditOffer"` (credit offer deal). |
|
|
91
|
+
|
|
92
|
+
**Shared Optional Fields** (both `"mpa"` and `"creditOffer"`):
|
|
93
|
+
|
|
94
|
+
| Field | Type | Required | Description |
|
|
95
|
+
|-------|------|----------|-------------|
|
|
96
|
+
| `outputWeight` | `number` | No | Output weight for this asset. Controls the proportion of debt value across lending items (not collateral). Defaults to `1`. See **Collateral Distribution** below. |
|
|
97
|
+
| `maxBorrowAmount` | `number` | No | **Fixed** total debt ceiling. Must be a positive number (not a percentage). |
|
|
98
|
+
| `maxBorrowAmountPerOperation` | `number` | No | **Per-operation borrow cap**. Any single credit-offer accept operation whose borrow amount exceeds this is rejected. For MPA, the planner clamps each `debtDelta` by this cap on top of `maxBorrowAmount`. When set, oversized credit deals are split into equal pieces via repay+reborrow cycles during maintenance (see [Credit Offer Maintenance](#credit-offer-maintenance)). Must be a positive number. |
|
|
99
|
+
| `maxCollateralAmount` | `number \| percentage string` | No | Total collateral ceiling. Use a number for an absolute collateral amount, e.g. `5000`, or a percentage string of total available collateral, e.g. `"80%"`. |
|
|
100
|
+
| `minCollateralIncreaseThreshold` | `number \| percentage string` | No | Minimum unused collateral allocation before increasing debt. Use a number for an absolute collateral amount, e.g. `25`, or a percentage string of assigned collateral budget, e.g. `"5%"`. `0` means no minimum. |
|
|
101
|
+
| `maxCollateralRatio` | `number` | No\* | Behavior differs by type: MPA โ hard CR ceiling above which debt is increased first; creditOffer โ maximum effective ratio when accepting offers. **Required** for `creditOffer`. |
|
|
102
|
+
|
|
103
|
+
**MPA-Specific Fields:**
|
|
104
|
+
|
|
105
|
+
| Field | Type | Required | Description |
|
|
106
|
+
|-------|------|----------|-------------|
|
|
107
|
+
| `targetCollateralRatio` | `number` | No | Preferred operating CR. If omitted, midpoint of min/max is used. |
|
|
108
|
+
| `minCollateralRatio` | `number` | No | Hard minimum CR floor. Below this, debt is reduced first. |
|
|
109
|
+
| `debtOnly` | `boolean` | No | If `true`, the bot only adjusts debt to manage the collateral ratio โ collateral is never added or withdrawn. Combined with `minCollateralRatio`/`maxCollateralRatio`, this keeps the position size constant while maintaining CR bounds. |
|
|
110
|
+
|
|
111
|
+
**Credit-Offer-Specific Fields:**
|
|
112
|
+
|
|
113
|
+
| Field | Type | Required | Description |
|
|
114
|
+
|-------|------|----------|-------------|
|
|
115
|
+
| `maxFeeRatePerDay` | `number` | No | Maximum acceptable daily fee rate. Defaults to `1/2900` (~0.034%/day). |
|
|
116
|
+
| `autoReborrow` | `boolean` | No | If `true`, the bot reborrows from the same offer after repayment. |
|
|
117
|
+
| `autoRepay` | `number` | No | On-chain auto-repay mode: `0` (off), `1` (full only), `2` (partial allowed). |
|
|
118
|
+
| `allowedOfferIds` | `string[]` | No | Whitelist of credit offer object IDs (1.21.x) the bot may accept. |
|
|
119
|
+
| `disallowedDealIds` | `string[]` | No | Denylist of credit deal object IDs (1.22.x) the bot must not reborrow from. Repay is unaffected โ the bot can still repay deals in this list. |
|
|
120
|
+
| `renewOnly` | `boolean` | No | If `true`, the bot only reborrows existing deals โ standalone credit borrows are refused. Default `false`. |
|
|
121
|
+
| `minDurationSeconds` | `number` | No | Minimum acceptable offer duration in seconds. Offers with `duration_seconds` below this value are skipped. |
|
|
122
|
+
|
|
123
|
+
**Global Fields:**
|
|
124
|
+
|
|
125
|
+
| Field | Type | Description |
|
|
126
|
+
|-------|------|-------------|
|
|
127
|
+
| `maxCollateralAmount` | `number \| percentage string` | **Global** collateral cap across all lending items. Use a number for an absolute collateral amount, e.g. `10000`, or a percentage string of total available collateral, e.g. `"80%"`. |
|
|
128
|
+
|
|
129
|
+
</details>
|
|
130
|
+
|
|
131
|
+
There is no separate enable switch. If `debtPolicy.lending` is present, non-empty, and every item has a valid `collateralAsset`, the credit runtime loads for that bot.
|
|
132
|
+
|
|
133
|
+
## Credit-Only Mode
|
|
134
|
+
|
|
135
|
+
Set `creditOnly: true` on a bot entry to run only the credit runtime โ no grid trading, order management, or fill processing.
|
|
136
|
+
|
|
137
|
+
```json
|
|
138
|
+
{ "name": "Credit", "active": true, "creditOnly": true,
|
|
139
|
+
"preferredAccount": "my-account", "debtPolicy": { "lending": [...] } }
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
No trading fields (`assetA`, `assetB`, `startPrice`, `incrementPercent`, `activeOrders`, `botFunds`) are needed.
|
|
143
|
+
|
|
144
|
+
```bash
|
|
145
|
+
dexbot start credit # Background daemon โ runs only the credit worker
|
|
146
|
+
dexbot start <bot-name> # Start a named bot directly
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
### Collateral Increase Thresholds
|
|
150
|
+
|
|
151
|
+
`minCollateralIncreaseThreshold` is evaluated in collateral-asset units against the unused assigned collateral for that lending item:
|
|
152
|
+
|
|
153
|
+
- `25` means at least 25 units of the collateral asset, such as `25 BTS`.
|
|
154
|
+
- `"5%"` means at least 5% of that itemโs assigned collateral budget.
|
|
155
|
+
- `0` means no minimum; any positive unused assigned collateral may trigger an increase.
|
|
156
|
+
- Omitted on credit-offer items leaves proactive credit increases disabled for backward compatibility.
|
|
157
|
+
|
|
158
|
+
## Collateral Distribution
|
|
159
|
+
|
|
160
|
+
The runtime calculates required collateral for each lending item **backwards from the desired debt output ratio**. The `outputWeight` field controls the proportion of debt value (not collateral) each item receives.
|
|
161
|
+
|
|
162
|
+
### Formulas
|
|
163
|
+
|
|
164
|
+
```
|
|
165
|
+
MPA weight_i = outputWeight_i * feedPrice_i * targetCR_i
|
|
166
|
+
Credit weight_i = (outputWeight_i * maxCR_i) / conversionRate_i
|
|
167
|
+
C_total = min(availableCollateral, globalMaxCollateral)
|
|
168
|
+
C_i = C_total * weight_i / sum(all weights)
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
- **MPA**: `feedPrice_i` is the current settlement feed price (collateral per debt asset), discovered from the chain and cached per position.
|
|
172
|
+
- **Credit**: `conversionRate_i` is the offer's `acceptable_collateral` price (debt asset per collateral unit), discovered from existing deals or `allowedOfferIds`.
|
|
173
|
+
- **Fallback**: If the price cannot be discovered, `weight = outputWeight * targetCR` and a warning is logged.
|
|
174
|
+
- `outputWeight` is the user's output proportion. Equal weights produce **equal economic debt value** across all lending items, regardless of price or CR differences.
|
|
175
|
+
|
|
176
|
+
### Examples
|
|
177
|
+
|
|
178
|
+
**Two assets, equal weight** โ collateral split 50:50.
|
|
179
|
+
|
|
180
|
+
**Two assets, 80% output on USD** โ USD receives a proportionally smaller share of the configured collateral pool, CNY receives the remaining larger share.
|
|
181
|
+
|
|
182
|
+
**Three assets, equal weight** โ collateral split 1/3 : 1/3 : 1/3.
|
|
183
|
+
|
|
184
|
+
## Runtime Timing
|
|
185
|
+
|
|
186
|
+
Credit and MPA maintenance are separated from periodic grid checks. DEXBot2 starts a dedicated credit watchdog interval during bot startup.
|
|
187
|
+
|
|
188
|
+
Timing defaults live in `modules/constants.ts`:
|
|
189
|
+
|
|
190
|
+
```json
|
|
191
|
+
{
|
|
192
|
+
"TIMING": {
|
|
193
|
+
"CREDIT_DEAL_CHECK_INTERVAL_MIN": 60,
|
|
194
|
+
"CREDIT_DEAL_EXPIRY_THRESHOLD_HOURS": 12,
|
|
195
|
+
"CREDIT_DEAL_SPLIT_MAX_PIECES": 48,
|
|
196
|
+
"BLOCKCHAIN_SETTLE_DELAY_MS": 6000
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
- `CREDIT_DEAL_CHECK_INTERVAL_MIN`: how often the credit watchdog runs. Set to `0` or negative to disable.
|
|
202
|
+
- `CREDIT_DEAL_EXPIRY_THRESHOLD_HOURS`: how far before `latest_repay_time` the bot proactively repays and reborrows.
|
|
203
|
+
- `CREDIT_DEAL_SPLIT_MAX_PIECES`: hard cap on pieces per `_splitOversizedCreditDeals` cycle (default 48; ~4.8min at 6s/piece). Prevents one maintenance run from exceeding the watchdog interval.
|
|
204
|
+
- `BLOCKCHAIN_SETTLE_DELAY_MS`: pause between split pieces (default 6000ms). Resolved from the `TIMING` constant โ per-bot `bots.json` overrides for this field are **not** honoured for split pacing.
|
|
205
|
+
|
|
206
|
+
## MPA Maintenance
|
|
207
|
+
|
|
208
|
+
For each `type: "mpa"` lending item:
|
|
209
|
+
|
|
210
|
+
- If CR is below `minCollateralRatio`, **reduce debt first**, then add collateral if needed.
|
|
211
|
+
- If CR is above `maxCollateralRatio`, **increase debt first**, then withdraw collateral if allowed.
|
|
212
|
+
- Debt increases are calculated from the current feed price and current call-order collateral, capped by the total outstanding debt ceiling in `maxBorrowAmount`.
|
|
213
|
+
- `minCollateralIncreaseThreshold` suppresses dust-sized increases when unused assigned collateral is below the configured absolute or percentage threshold.
|
|
214
|
+
- If the debt-first leg fails (e.g. insufficient free MPA to repay), the runtime attempts a collateral-only fallback.
|
|
215
|
+
- If `targetCollateralRatio` is not set, the midpoint of the min/max band is used.
|
|
216
|
+
- After any successful CR adjustment, the bot requests a grid reset so order sizing reflects the new capital base.
|
|
217
|
+
- `maxBorrowAmount` only prevents additional debt above the configured total; it does not block debt reduction. Must be a **fixed positive number** (no percentages).
|
|
218
|
+
|
|
219
|
+
## Credit Offer Maintenance
|
|
220
|
+
|
|
221
|
+
For each `type: "creditOffer"` lending item, the runtime:
|
|
222
|
+
|
|
223
|
+
- **Phase 0 โ Split oversized deals**: if `maxBorrowAmountPerOperation` is set, scans existing credit deals and splits any whose debt exceeds the per-op cap into equal pieces via repay+reborrow cycles (see [Oversized Credit Deal Splitter](#oversized-credit-deal-splitter)). This keeps each individual deal below the per-op cap and makes future renewals easier with less liquidity per operation.
|
|
224
|
+
- Discovers active credit deals on-chain.
|
|
225
|
+
- Validates deals against the per-item policy (`maxCollateralRatio`, `maxFeeRatePerDay`, `allowedOfferIds`, `disallowedDealIds`, etc.).
|
|
226
|
+
- Gates increases on unused assigned collateral. If the collateral shortfall is at least `minCollateralIncreaseThreshold`, it accepts an additional credit deal from the cheapest acceptable offer; the selected offer's price derives the borrow amount, capped by `maxBorrowAmount` and, when set, `maxBorrowAmountPerOperation`. A borrow-cap-capped increase is skipped if the actual collateral used would fall below `minCollateralIncreaseThreshold`.
|
|
227
|
+
- Proactively repays deals nearing expiration (within `CREDIT_DEAL_EXPIRY_THRESHOLD_HOURS`) and reborrows when `autoReborrow` is enabled.
|
|
228
|
+
- Ensures `auto_repay` on-chain matches the policy's `autoRepay` setting, updating local state after each successful broadcast.
|
|
229
|
+
|
|
230
|
+
### Oversized Credit Deal Splitter
|
|
231
|
+
|
|
232
|
+
When `maxBorrowAmountPerOperation` is set, each credit-maintenance cycle runs `_splitOversizedCreditDeals` as Phase 0. The splitter:
|
|
233
|
+
|
|
234
|
+
- Discovers deals whose `debtAmount` exceeds `maxBorrowAmountPerOperation`.
|
|
235
|
+
- Splits each oversized deal into `ceil(debt / maxPerOp)` equal pieces via atomic repay+reborrow transactions. Total debt across the new deals is preserved; only deal granularity changes.
|
|
236
|
+
- Skips a deal if any piece would fall below the offer's `min_deal_amount` (the offer is cached for the runtime lifetime, so on-chain `min_deal_amount` changes mid-split are not re-read).
|
|
237
|
+
- Pauses `BLOCKCHAIN_SETTLE_DELAY_MS` between pieces; aborts on shutdown.
|
|
238
|
+
- Stops once `CREDIT_DEAL_SPLIT_MAX_PIECES` pieces have been emitted in the current cycle. Remaining oversized deals are deferred to the next maintenance cycle.
|
|
239
|
+
- Uses an in-process `_splitInFlight` guard so `runMaintenance` and `runCreditWatchdog` cannot start overlapping splits.
|
|
240
|
+
|
|
241
|
+
The split pieces are normal credit deals โ they appear in `profiles/credit_runtime/<botKey>.json` alongside other deals and are subject to the usual renewal, `auto_repay`, and collateral-switching flows.
|
|
242
|
+
|
|
243
|
+
### Amount Cap Semantics
|
|
244
|
+
|
|
245
|
+
| Policy | Field | Scope |
|
|
246
|
+
|--------|-------|-------|
|
|
247
|
+
| MPA | `maxBorrowAmount` | **Total debt ceiling** โ call order debt cannot exceed this. |
|
|
248
|
+
| MPA | `maxBorrowAmountPerOperation` | **Per-op borrow cap** โ clamps each `debtDelta` increment during CR-band adjustments. Ignored on debt-reduction moves. |
|
|
249
|
+
| MPA | `maxCollateralAmount` | **Total collateral ceiling** โ call order collateral cannot exceed this. Withdrawals still allowed. |
|
|
250
|
+
| Credit | `maxBorrowAmount` | **Total debt ceiling** โ total credit debt for the asset cannot exceed this. |
|
|
251
|
+
| Credit | `maxBorrowAmountPerOperation` | **Per-op borrow cap** โ rejects any single `credit_offer_accept` whose borrow amount exceeds this. Oversized existing deals are split during maintenance (see [Oversized Credit Deal Splitter](#oversized-credit-deal-splitter)). |
|
|
252
|
+
| Credit | `maxCollateralAmount` | **Total collateral ceiling** โ total credit collateral for the asset cannot exceed this. |
|
|
253
|
+
|
|
254
|
+
`maxBorrowAmount` is always a **fixed number** (no percentages). `maxCollateralAmount` may be a fixed number or a percentage.
|
|
255
|
+
|
|
256
|
+
### Credit Deal Renewal
|
|
257
|
+
|
|
258
|
+
When `renewOnly` is `true`, the bot refuses standalone credit borrows and only renews existing deals via repay+reborrow. This is useful when you want the bot to maintain existing positions but not open new ones.
|
|
259
|
+
|
|
260
|
+
When a deal's `latest_repay_time` is within `CREDIT_DEAL_EXPIRY_THRESHOLD_HOURS`:
|
|
261
|
+
|
|
262
|
+
1. Repay the deal.
|
|
263
|
+
2. Reborrow from the same offer when `autoReborrow` is enabled, using the full `assignedCollateralBudget`.
|
|
264
|
+
3. Preserve configured `autoRepay` on the new credit-offer accept operation.
|
|
265
|
+
|
|
266
|
+
If inline reborrow cannot be built safely, the runtime stores a deferred reborrow request in `profiles/credit_runtime/<botKey>.json` and retries later.
|
|
267
|
+
|
|
268
|
+
### Collateral Switching on Renewal
|
|
269
|
+
|
|
270
|
+
You can switch a credit deal's collateral to a different asset on its next renewal by changing `lendingItem.collateralAsset` to the new asset in `bots.json`. The runtime detects existing deals whose collateral no longer matches the policy and migrates them during proactive expiry repay+reborrow. Requirements:
|
|
271
|
+
|
|
272
|
+
- The new asset must be listed in the credit offer's `acceptable_collateral`. The runtime rejects mismatched collateral with a specific error message.
|
|
273
|
+
- The bot must hold enough of the new collateral asset before the deal is repaid. The offer's minimum required collateral is computed from the borrow amount and the new collateral price โ the old deal's collateral amount is not carried forward.
|
|
274
|
+
- Only applies to `type: "creditOffer"` items โ MPA collateral is fixed by the call order asset.
|
|
275
|
+
- Deferred reborrow requests from before the switch may fail; drop stale pending reborrows by clearing `profiles/credit_runtime/<botKey>.json` or letting them expire naturally.
|
|
276
|
+
- If the switch produces no active reborrow (e.g., insufficient balance for the new collateral), the deal is repaid and the reborrow is deferred to the pending queue for later retry.
|
|
277
|
+
|
|
278
|
+
### auto_repay Enforcement
|
|
279
|
+
|
|
280
|
+
On each maintenance cycle, the runtime compares each deal's on-chain `auto_repay` against the policy's `autoRepay` value. If they differ, a `credit_deal_update` operation is broadcast. After a successful update, the local deal state is updated to prevent redundant broadcasts on the next cycle.
|
|
281
|
+
|
|
282
|
+
<details><summary>BitShares auto-repay modes (click to expand)</summary>
|
|
283
|
+
|
|
284
|
+
BitShares core 7.0.2 defines three auto-repay modes:
|
|
285
|
+
|
|
286
|
+
| Value | Mode | Behavior at `latest_repay_time` |
|
|
287
|
+
|-------|------|--------------------------------|
|
|
288
|
+
| `0` | `no_auto_repayment` | No auto-repay. Deal expires; collateral is liquidated to the offer owner. |
|
|
289
|
+
| `1` | `only_full_repayment` | Full repay if borrower balance >= debt + fee; otherwise deal expires. |
|
|
290
|
+
| `2` | `allow_partial_repayment` | Repay as much as possible with available balance; any remaining debt triggers expiry with proportional collateral liquidation. |
|
|
291
|
+
|
|
292
|
+
</details>
|
|
293
|
+
|
|
294
|
+
### Important Distinction
|
|
295
|
+
|
|
296
|
+
- `autoReborrow` is **DEXBot2 behavior** โ the bot re-accepts the same offer after a repay.
|
|
297
|
+
- `autoRepay` is **BitShares chain behavior** โ the chain attempts automatic repayment at deal expiry.
|
|
298
|
+
|
|
299
|
+
## LP-Backed Credit Collateral
|
|
300
|
+
|
|
301
|
+
Credit offers may accept liquidity-pool share assets as collateral. Before accepting an offer, DEXBot2:
|
|
302
|
+
|
|
303
|
+
1. Resolves the LP pool for the share asset.
|
|
304
|
+
2. Reads pool balances and share supply.
|
|
305
|
+
3. Computes the collateral value from the underlying reserves.
|
|
306
|
+
4. Converts that value into the debt asset denomination.
|
|
307
|
+
5. Rejects the borrow if the effective ratio exceeds the lending item's `maxCollateralRatio`.
|
|
308
|
+
|
|
309
|
+
If pool lookup, supply lookup, or valuation cannot be resolved, the runtime fails closed and does not sign the borrow.
|
|
310
|
+
|
|
311
|
+
## State Files
|
|
312
|
+
|
|
313
|
+
The runtime persists one state file per bot:
|
|
314
|
+
|
|
315
|
+
```text
|
|
316
|
+
profiles/credit_runtime/<botKey>.json
|
|
317
|
+
```
|
|
318
|
+
|
|
319
|
+
The file tracks discovered chain state and pending work, including:
|
|
320
|
+
|
|
321
|
+
- `positions` โ per-position state map keyed as `debtAssetId:collateralAssetId`
|
|
322
|
+
- Active MPA call-order state and credit deal IDs per position
|
|
323
|
+
- `assignedCollateralBudget` per position
|
|
324
|
+
- Pending reborrow requests (including deferred split pieces when an oversized-deal cycle hits `CREDIT_DEAL_SPLIT_MAX_PIECES`)
|
|
325
|
+
- Last repay timestamp and grid reset request
|
|
326
|
+
- Debt snapshot across all assets
|
|
327
|
+
|
|
328
|
+
Treat this file as runtime state, not primary configuration. The source of truth for enabled policy is `profiles/bots.json`.
|
|
329
|
+
|
|
330
|
+
## Operational Notes
|
|
331
|
+
|
|
332
|
+
- Keep `debtPolicy` narrow. Only list assets and offers the bot is allowed to use.
|
|
333
|
+
- Use conservative CR bands. `minCollateralRatio` is a hard safety floor, not a target.
|
|
334
|
+
- Keep `maxFeeRatePerDay` explicit for credit offers.
|
|
335
|
+
- Credit-offer collateral ratio and MPA call-order CR are validated in separate paths.
|
|
336
|
+
- After editing `profiles/bots.json`, restart the bot so the runtime picks up the new policy.
|
|
337
|
+
- Review `profiles/credit_runtime/<botKey>.json` when diagnosing pending reborrow or renewal behavior.
|
|
338
|
+
|
|
339
|
+
## Related Files
|
|
340
|
+
|
|
341
|
+
<details><summary>Source files and tests (click to expand)</summary>
|
|
342
|
+
|
|
343
|
+
- `modules/credit_runtime.ts`: debt workflow executor (Phase 0 oversized-deal splitter lives here)
|
|
344
|
+
- `modules/cr_planner.ts`: MPA debt-first planner; clamps `debtDelta` by `maxBorrowAmountPerOperation`
|
|
345
|
+
- `modules/types.ts`: `LendingEntryBase` โ shared `mpa` / `creditOffer` type including `maxBorrowAmountPerOperation`
|
|
346
|
+
- `modules/dexbot_class.ts`: runtime startup and watchdog lifecycle
|
|
347
|
+
- `modules/bot_settings.ts`: `debtPolicy` validation
|
|
348
|
+
- `market_adapter/README.md`: AMA pricing, grid triggers, and dynamic-weight runtime
|
|
349
|
+
- `modules/credential_policy.ts`: signing constraints for credit and call-order operations
|
|
350
|
+
- `tests/test_credit_runtime.ts`: credit runtime behavior coverage (including 6 oversized-deal splitter tests)
|
|
351
|
+
- `tests/test_multi_asset_distribution.ts`: collateral distribution and multi-asset state coverage
|
|
352
|
+
|
|
353
|
+
</details>
|
package/docs/README.md
ADDED
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
# DEXBot2 Documentation
|
|
2
|
+
|
|
3
|
+
This directory contains the comprehensive technical documentation for the DEXBot2 trading bot. It is designed to guide developers from high-level architecture down to the nuances of fund accounting and state management.
|
|
4
|
+
|
|
5
|
+
**Version context:** v1.4.17 (released).
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## User-Facing Workflows
|
|
10
|
+
|
|
11
|
+
### ๐ [BitShares Onboarding](BITSHARES_ONBOARDING.md)
|
|
12
|
+
*Beginner tutorial for new BitShares users getting started with DEXBot2.*
|
|
13
|
+
- **Account Setup**: Register and fund a BitShares account
|
|
14
|
+
- **Keys Explained**: Owner vs active vs memo vs login key โ and which one the bot needs
|
|
15
|
+
- **First Bot**: Import keys, create a bot config, and run a dry run
|
|
16
|
+
- **Troubleshooting**: The most common first-run mistakes and how to fix them
|
|
17
|
+
|
|
18
|
+
### ๐ก [Market Adapter](../market_adapter/README.md)
|
|
19
|
+
*Live AMA pricing, dynamic weights, and recalc trigger orchestration.*
|
|
20
|
+
- **Quick Start**: Enable AMA, generate the whitelist, and start DEXBot2
|
|
21
|
+
- **Settings**: Global, pair, and bot-specific adapter overrides
|
|
22
|
+
- **Dynamic Weights**: How adapter signals write live weight snapshots
|
|
23
|
+
- **Troubleshooting**: Common adapter startup and trigger issues
|
|
24
|
+
|
|
25
|
+
### ๐ณ [MPA and Credit Usage](MPA_CREDIT_USAGE.md)
|
|
26
|
+
*User-facing MPA and credit offer workflow guide.*
|
|
27
|
+
- **Debt Policy**: Per-bot `debtPolicy.lending` configuration where each item declares its own `collateralAsset`
|
|
28
|
+
- **Credit-Only Mode**: Run credit runtime without grid trading (`creditOnly: true`, `dexbot start credit` runs just that worker as a background daemon)
|
|
29
|
+
- **MPA Borrowing**: Call-order updates with debt-first CR planning
|
|
30
|
+
- **Credit Offers**: Accept/repay with auto-reborrow and LP-backed collateral valuation
|
|
31
|
+
- **Watchdog Timing**: Dedicated credit deal renewal interval and expiry threshold settings
|
|
32
|
+
|
|
33
|
+
### ๐ [Analysis](../analysis/README.md)
|
|
34
|
+
*Research runners, chart generators, and tuning helpers.*
|
|
35
|
+
- **Trend Detection**: SMA, MACD, RSI, Hurst, Kalman, and regime analysis tools
|
|
36
|
+
- **AMA Fitting**: Parameter fitting, comparison charts, and LP data workflows
|
|
37
|
+
- **Bot Fitting**: Grid parameter sweep backtests for AMA winners
|
|
38
|
+
- **TradingView Exports**: Chart export utilities for visual analysis
|
|
39
|
+
- **Trade Profitability**: FIFO-based PnL analysis from Kibana fill data (`trade_profitability.ts`)
|
|
40
|
+
- **Bot Usage Discovery**: On-chain bot account finder and Kibana query helpers (`bot_usage/`)
|
|
41
|
+
|
|
42
|
+
### ๐ฆ [Claw](../claw/README.md)
|
|
43
|
+
*Bridge between DEXBot2 and external runtimes.*
|
|
44
|
+
- **Purpose**: Exposes BitShares capabilities and DEXBot2 infrastructure through JSON/CLI bridges, MCP, and runtime-native skill packaging for OpenClaw and compatible runtimes (see [claw/README.md](../claw/README.md) for the full list).
|
|
45
|
+
- **API Boundary**: Responsibility split between the AI decision layer and the DEXBot2 execution substrate ([AI_BOT_LIBRARY_API.md](../claw/docs/AI_BOT_LIBRARY_API.md))
|
|
46
|
+
- **Tuning Reference**: Practical grid-tuning baselines ([DEXBOT2_TUNING_CHEAT_SHEET.md](../claw/docs/DEXBOT2_TUNING_CHEAT_SHEET.md))
|
|
47
|
+
- **Position Management**: Health monitoring, margin planner, and dynamic weight policy
|
|
48
|
+
- **Skills**: Presentation-only, concept-reference, and launcher-orchestration skill packs for bitshares-guide, margin-trading, launcher-ops, and shared references
|
|
49
|
+
|
|
50
|
+
## Operational & Security
|
|
51
|
+
|
|
52
|
+
### ๐ [Credential Security](CREDENTIAL_SECURITY.md)
|
|
53
|
+
*How private keys are protected at rest, in transit, and in RAM.*
|
|
54
|
+
- **Vault v2**: scrypt (N=2ยนโท) key derivation, per-record HKDF isolation, AES-256-GCM encryption
|
|
55
|
+
- **Daemon-backed signing**: primary bot flow uses signing tokens; all signing happens inside the daemon, raw keys never exported
|
|
56
|
+
- **Session cache**: encrypted HKDF re-encryption with a random salt that is never persisted
|
|
57
|
+
- **Runtime hardening**: lstat + owner/mode/type checks on all sockets and ready files; bootstrap socket destroyed after first use
|
|
58
|
+
|
|
59
|
+
### ๐ [Grid Recalculation](GRID_RECALCULATION.md)
|
|
60
|
+
*When and why the grid resets.*
|
|
61
|
+
- **Reset Sources**: Market-adapter bootstrap, AMA delta, AMA-slope range reset, RMS divergence correction, and fund regeneration
|
|
62
|
+
- **Configuration**: Per-source thresholds, whitelist requirements, and defaults
|
|
63
|
+
- **Trigger Execution**: How `profiles/recalculate.<botKey>.trigger` is consumed under the fill-processing lock
|
|
64
|
+
|
|
65
|
+
### ๐ [Grid Reconciliation](GRID_RECONCILE.md)
|
|
66
|
+
*How the bot re-aligns its intended grid with on-chain reality at startup.*
|
|
67
|
+
- **3-Phase Plan-then-Execute**: Phase 1 pure in-memory planning under `_gridLock`, Phase 2 blockchain execution outside the lock, Phase 3 fresh re-read and stale surplus cleanup
|
|
68
|
+
- **Safety Guardrails**: Fresh-grid `matchedOnGrid > 0` guard, 5ร duplicate tolerance, freshly-assigned deferral, and truncated-read ambiguity handling
|
|
69
|
+
- **Partial Failure State**: No rollback on partial Phase 2 success; remaining mismatches caught by the next maintenance or startup cycle
|
|
70
|
+
- **Lock Hierarchy**: Canonical `_syncLock`/`_gridLock` level reference and the 1.4.6 ABBA deadlock correction
|
|
71
|
+
|
|
72
|
+
### ๐ [Logging System](LOGGING.md)
|
|
73
|
+
*Configuration reference for log levels, rotation, JSON output, and categories.*
|
|
74
|
+
- **5 Severity Levels**: `debug`, `info`, `warn`, `error`, `critical`.
|
|
75
|
+
- **Rotation**: Size-based (1GB default), auto-prune (5 files).
|
|
76
|
+
- **JSON Output**: Structured lines for log aggregators (opt-in).
|
|
77
|
+
- **Categories**: 6 independently enablable category groups.
|
|
78
|
+
- **Change Detection**: Skips redundant logs (40-50% reduction).
|
|
79
|
+
- **Batch Processing Logs**: Fill batching, recovery retry, and orphan-fill deduplication messages.
|
|
80
|
+
- **Fill History Scans**: The `Subscriptions` logger emits `fetchFillHistoryEntries: maxPages (X) reached` at `info` level when the history scan hits its page cap โ normal on busy accounts; see LOGGING.md for the `--partial-operations` diagnostic.
|
|
81
|
+
|
|
82
|
+
### ๐ณ [Docker](docker.md)
|
|
83
|
+
*Container build, release images, and secure startup.*
|
|
84
|
+
- **Build Flow**: Docker-based packaging for the bot runtime
|
|
85
|
+
- **Release Images**: Container release and startup guidance
|
|
86
|
+
- **Security**: Notes on secure container launch behavior
|
|
87
|
+
|
|
88
|
+
### ๐ ๏ธ [Scripts](../scripts/README.md)
|
|
89
|
+
*CLI maintenance and diagnostic utilities.*
|
|
90
|
+
- **Update**: Safe production update via `dexbot update`
|
|
91
|
+
- **Reset & Cleanup**: Log wiping, setting resets, PM2 ecosystem regeneration
|
|
92
|
+
- **Analysis Helpers**: Diagnostic connection tests and health probes
|
|
93
|
+
|
|
94
|
+
## Reference Docs
|
|
95
|
+
|
|
96
|
+
### ๐๏ธ [Architecture](architecture.md)
|
|
97
|
+
*The blueprint of the system.*
|
|
98
|
+
- **Design Philosophy**: Simplicity, constant spread, minimal blockchain interaction, and closed-loop market dynamics.
|
|
99
|
+
- **System Design**: High-level overview of how the bot components interact.
|
|
100
|
+
- **Module Responsibilities**: Detailed breakdown of the **Manager**, **Accountant**, **Strategy**, **Grid**, **FillRuntime**, and **MaintenanceRuntime** modules.
|
|
101
|
+
- **Copy-on-Write Pattern**: Safe concurrent rebalancing with isolated working grids (see [COPY_ON_WRITE_MASTER_PLAN.md](COPY_ON_WRITE_MASTER_PLAN.md))
|
|
102
|
+
- **Fill Processing Pipeline**: Fixed-cap batch fill processing (1-4 fills per broadcast; documented Feb 7 29-fill scenario: ~24s)
|
|
103
|
+
- **Fund-Driven Boundary Sync**: Automatic grid alignment with inventory distribution
|
|
104
|
+
- **Spread Correction**: Conservative, fund-aware maintenance of constant spread width
|
|
105
|
+
- **Periodic Market Price Refresh**: Background 4-hour price updates
|
|
106
|
+
- **Pipeline Safety & Diagnostics**: 5-minute timeout safeguard and health monitoring
|
|
107
|
+
- **Data Flow**: Visualization of how market data becomes trading operations and then blockchain transactions.
|
|
108
|
+
- **Zero-Dependency Policy**: Formal policy rationale, trading-bot special-case justification, and practical implications (native blockchain client, crypto, testing, persistence)
|
|
109
|
+
- **Market Adapter Signal Pipeline**: AMA center, dynamic weights, regime detection, and collateral advisories
|
|
110
|
+
- **Credit/Debt Runtime**: Native MPA and credit offer workflows with CR planning and grid reset coupling; `creditOnly` mode for runtime-only operation without grid trading
|
|
111
|
+
|
|
112
|
+
### ๐ [Developer Guide](developer_guide.md)
|
|
113
|
+
*Your daily companion for coding.*
|
|
114
|
+
- **Quick Start**: How to get the development environment running.
|
|
115
|
+
- **Module Deep-Dive**: In-depth analysis of the internal logic of each primary module.
|
|
116
|
+
- **Copy-on-Write Pattern**: How to work safely within the COW rebalance pipeline; `WorkingGrid` usage and master-grid commit rules (see [COPY_ON_WRITE_MASTER_PLAN.md](COPY_ON_WRITE_MASTER_PLAN.md))
|
|
117
|
+
- **Startup Sequence & Lock Ordering**: Consolidated startup with deadlock prevention
|
|
118
|
+
- **Zero-Amount Order Prevention**: Validation gates for healthy order sizes
|
|
119
|
+
- **Configurable startPrice & gridPrice**: Fixed numeric, pool, book-derived, or AMA keyword pricing modes
|
|
120
|
+
- **Pool ID Caching**: Optimization for price derivation
|
|
121
|
+
- **Order State Helper Functions**: Centralized predicate functions for state checking
|
|
122
|
+
- **Signal Concepts**: Dynamic weights, regime detection, derivative signals, and market adapter integration
|
|
123
|
+
- **Debt Policy**: Native MPA and credit offer configuration and runtime rules
|
|
124
|
+
- **Common Tasks**: Practical "how-to" guides for adding features or fixing bugs.
|
|
125
|
+
- **Glossary**: Definitions of project-specific terminology (e.g., "Virtual Orders", "Rotation", "Pipeline Safety", "Fund-Driven Boundary", "WorkingGrid", "COW Commit", "Dynamic Weight", "Regime Detection").
|
|
126
|
+
|
|
127
|
+
### ๐ [Workflow](WORKFLOW.md)
|
|
128
|
+
*How we build and release.*
|
|
129
|
+
- **Branching Strategy**: Explanation of the `test` โ `dev` โ `main` lifecycle.
|
|
130
|
+
- **CI/CD Patterns**: Standards for merging and ensuring code quality across branches.
|
|
131
|
+
|
|
132
|
+
### ๐งฎ [DEXBot vs DEXBot2 Comparison](DEXBOT_COMPARISON.md)
|
|
133
|
+
*Architectural, functional, and operational comparison with the original Python DEXBot.*
|
|
134
|
+
- **Scope**: Full side-by-side of technology stack, architecture, trading strategies, order management, configuration, blockchain integration, fund accounting, and concurrency safety
|
|
135
|
+
- **Audience**: Developers and operators evaluating or migrating between the two projects
|
|
136
|
+
|
|
137
|
+
### ๐งญ [Evolution Report](EVOLUTION.md)
|
|
138
|
+
*Project timeline and major architecture phases.*
|
|
139
|
+
- **Coverage**: Historical milestones from the initial December 2025 bootstrap through the v1.4.18 stable release (grid persistence safety, dust pipeline fix, net inventory lots); credit/debt runtime and maintenance hardening are covered under Phase 5 (MarโJun 2026)
|
|
140
|
+
- **Focus**: Architecture evolution, release history, test growth, and documentation changes
|
|
141
|
+
|
|
142
|
+
### ๐๏ธ [Changelog](../CHANGELOG.md)
|
|
143
|
+
*Release notes and documentation history.*
|
|
144
|
+
- **Scope**: Versioned notes for patch releases and the current unreleased documentation refresh
|
|
145
|
+
|
|
146
|
+
### ๐งฉ [Copy-on-Write Master Plan](COPY_ON_WRITE_MASTER_PLAN.md)
|
|
147
|
+
*COW design, phases, and state machine details.*
|
|
148
|
+
- **Architecture**: Master-grid projection model and rebalance flow
|
|
149
|
+
- **Lifecycle**: Implementation phases, commit boundaries, and test coverage
|
|
150
|
+
- **Safety**: Invariants and guardrails for concurrent updates
|
|
151
|
+
|
|
152
|
+
### ๐ [COW Invariants](COW_INVARIANTS.md)
|
|
153
|
+
*Stable theory contract for COW pipeline.*
|
|
154
|
+
- **Non-negotiable invariants**: Master immutability, commit atomicity, projection rules, accounting separation
|
|
155
|
+
- **Test mapping**: Links each invariant to regression tests
|
|
156
|
+
- **Review checklist**: Quick-use verification for COW/accounting changes
|
|
157
|
+
|
|
158
|
+
### ๐งช [Test Suite](../tests/README.md)
|
|
159
|
+
*Test organization, categories, and key architectural patterns tested.*
|
|
160
|
+
- **Test Layout**: Directory structure, helpers, and quick-start commands
|
|
161
|
+
- **Categories**: Core infrastructure, order management, COW rebalancing, fees/accounting, integration, edge cases, and more
|
|
162
|
+
- **Architectural Patterns**: COW rebalancing, RMS divergence, and fund invariants with doc cross-references
|
|
163
|
+
|
|
164
|
+
### ๐ฐ [Fund Movement & Accounting](FUND_MOVEMENT_AND_ACCOUNTING.md)
|
|
165
|
+
*The most critical part of the bot: safe capital management.*
|
|
166
|
+
- **Single Source of Truth**: How the bot avoids double-spending and out-of-sync balances.
|
|
167
|
+
- **Optimistic ChainFree**: The mechanism that allows the bot to trade with fill proceeds before they are finalized on-chain.
|
|
168
|
+
- **Fill Batch Processing**: Fixed-cap batching for efficient fill processing (`<=4` unified, `>4` chunked)
|
|
169
|
+
- **Partial Order Consolidation**: Simplified, direct consolidation through grid rebuilding (no merge/split mechanics)
|
|
170
|
+
- **Dust Detection & Management**: Partials below the dust threshold are cancelled on-chain immediately on detection (no delay, no timer)
|
|
171
|
+
- **BTS Fee Object Structure**: `netProceeds` field for accounting precision
|
|
172
|
+
- **BUY Side Sizing & Fee Accounting**: Correct fee application by order side
|
|
173
|
+
- **Mixed Order Fund Validation**: Separate validation for BUY vs SELL order fund checks
|
|
174
|
+
- **Fee Management**: Detailed logic for BTS fee reservations and market fee deductions.
|
|
175
|
+
|
|
176
|
+
---
|
|
177
|
+
|
|
178
|
+
## Source Code Map
|
|
179
|
+
|
|
180
|
+
While these docs explain the *why*, the *how* lives in the code. See the full [module index](../modules/README.md) for a complete directory walkthrough. Key source modules:
|
|
181
|
+
|
|
182
|
+
- **`modules/dexbot_class.ts`**: Bot initialization, account setup, lifecycle orchestration, credit runtime startup, and shared runtime wiring
|
|
183
|
+
- **`modules/dexbot_fill_runtime.ts`**: Fill processing, replay-safe accounting, and fill queue handling
|
|
184
|
+
- **`modules/dexbot_maintenance_runtime.ts`**: Open-orders sync loop, blockchain fetch loop, grid maintenance, trigger handling, and market adapter watchdog
|
|
185
|
+
- **`modules/order/manager.ts`**: Central controller with Copy-on-Write rebalancing pattern (see [COPY_ON_WRITE_MASTER_PLAN.md](COPY_ON_WRITE_MASTER_PLAN.md))
|
|
186
|
+
- **`modules/order/working_grid.ts`**: COW grid wrapper enabling safe concurrent rebalancing with isolated modifications
|
|
187
|
+
- **`modules/order/grid.ts`**: Grid generation, sizing, divergence detection, and spread management
|
|
188
|
+
- **`modules/order/accounting.ts`**: Fund tracking, available balance calculation, fee deduction, and committed fund management
|
|
189
|
+
- **`modules/order/processed_fill_store.ts`**: Processed fill dedupe tracker and persistence batching
|
|
190
|
+
- **`modules/order/strategy.ts`**: Grid rebalancing, order activation, consolidation, rotation, and spread management
|
|
191
|
+
- **`modules/order/sync_engine.ts`**: Blockchain synchronization, fill detection, order reconciliation
|
|
192
|
+
- **`modules/credit_runtime.ts`**: Bot-scoped debt workflow executor (MPA and credit offer accept/repay/reborrow)
|
|
193
|
+
- **`modules/cr_planner.ts`**: Shared collateral-ratio math layer for debt-first planning
|
|
194
|
+
- **`modules/order/utils/math.ts`**: Precision conversions, RMS divergence calculation, fund allocation math
|
|
195
|
+
- **`modules/order/utils/order.ts`**: Order state predicates, grid indexing, reconciliation helpers, delta building, index utilities
|
|
196
|
+
- **`modules/order/utils/validate.ts`**: Order validation, grid reconciliation, COW action building
|
|
197
|
+
- **`modules/order/utils/system.ts`**: System utilities, price derivation, fill deduplication
|
|
198
|
+
- **`modules/order/grid_reconcile.ts`**: Startup grid reconciliation and offline fill detection ([GRID_RECONCILE.md](GRID_RECONCILE.md))
|
|
199
|
+
- **`modules/credential_policy.ts`**: Signing policy validation and operation allowlists
|