dexbot 1.4.11 → 1.4.13

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.
Files changed (1774) hide show
  1. package/README.md +19 -15
  2. package/claw/data/positions.json +144646 -0
  3. package/claw/docs/AI_BOT_LIBRARY_API.md +632 -0
  4. package/claw/docs/DEXBOT2_TUNING_CHEAT_SHEET.md +243 -0
  5. package/claw/docs/POSITION_HEALTH.md +117 -0
  6. package/claw/docs/RUNTIME_COMPARISON.md +256 -0
  7. package/claw/ecosystem.config.cjs +29 -0
  8. package/claw/examples/claw_consumer_example.ts +54 -0
  9. package/claw/examples/claw_infra_example.ts +53 -0
  10. package/claw/examples/claw_profiles_example.ts +44 -0
  11. package/claw/examples/connection_test.ts +40 -0
  12. package/claw/examples/honest_ecosystem_example.ts +35 -0
  13. package/claw/examples/memu_integration_example.ts +92 -0
  14. package/claw/examples/position_manager_cli.ts +129 -0
  15. package/claw/examples/short_mpa_bts_strategy.ts +127 -0
  16. package/claw/examples/tsconfig.json +28 -0
  17. package/claw/index.ts +64 -0
  18. package/claw/modules/bitshares_client.ts +97 -0
  19. package/claw/modules/chain_actions.ts +352 -0
  20. package/claw/modules/chain_broadcast.ts +353 -0
  21. package/claw/modules/chain_queries.ts +157 -0
  22. package/claw/modules/claw_bridge.ts +423 -0
  23. package/claw/modules/claw_catalog.ts +804 -0
  24. package/claw/modules/claw_infra.ts +326 -0
  25. package/claw/modules/claw_launcher.ts +452 -0
  26. package/claw/modules/claw_manifest.ts +55 -0
  27. package/claw/modules/claw_runtime_matrix.ts +104 -0
  28. package/claw/modules/claw_skill_md.ts +313 -0
  29. package/claw/modules/credit_runtime_adapter.ts +144 -0
  30. package/claw/modules/decision_loop.ts +184 -0
  31. package/claw/modules/dexbot_bridge.ts +82 -0
  32. package/claw/modules/dexbot_credential_client.ts +55 -0
  33. package/claw/modules/dexbot_profiles.ts +1340 -0
  34. package/claw/modules/feed_price_source.ts +134 -0
  35. package/claw/modules/honest_ecosystem.ts +337 -0
  36. package/claw/modules/kibana_price_source.ts +133 -0
  37. package/claw/modules/launcher_mode_detector.ts +192 -0
  38. package/claw/modules/launcher_paths.ts +69 -0
  39. package/claw/modules/liquidity_pools.ts +51 -0
  40. package/claw/modules/mcp_utils.ts +108 -0
  41. package/claw/modules/memu_bridge.ts +505 -0
  42. package/claw/modules/mpa_utils.ts +31 -0
  43. package/claw/modules/position_discovery.ts +163 -0
  44. package/claw/modules/position_health.ts +360 -0
  45. package/claw/modules/position_manager.ts +730 -0
  46. package/claw/modules/position_manager_watch.ts +252 -0
  47. package/claw/modules/short_mpa_strategy.ts +185 -0
  48. package/claw/modules/skill_utils.ts +74 -0
  49. package/claw/modules/types.ts +225 -0
  50. package/claw/modules/utils.ts +9 -0
  51. package/claw/node_modules/.package-lock.json +935 -0
  52. package/claw/node_modules/@babel/runtime/LICENSE +22 -0
  53. package/claw/node_modules/@babel/runtime/README.md +19 -0
  54. package/claw/node_modules/@babel/runtime/helpers/AwaitValue.js +4 -0
  55. package/claw/node_modules/@babel/runtime/helpers/OverloadYield.js +4 -0
  56. package/claw/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +9 -0
  57. package/claw/node_modules/@babel/runtime/helpers/applyDecs.js +236 -0
  58. package/claw/node_modules/@babel/runtime/helpers/applyDecs2203.js +184 -0
  59. package/claw/node_modules/@babel/runtime/helpers/applyDecs2203R.js +191 -0
  60. package/claw/node_modules/@babel/runtime/helpers/applyDecs2301.js +222 -0
  61. package/claw/node_modules/@babel/runtime/helpers/applyDecs2305.js +133 -0
  62. package/claw/node_modules/@babel/runtime/helpers/applyDecs2311.js +124 -0
  63. package/claw/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +6 -0
  64. package/claw/node_modules/@babel/runtime/helpers/arrayWithHoles.js +4 -0
  65. package/claw/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +5 -0
  66. package/claw/node_modules/@babel/runtime/helpers/assertClassBrand.js +5 -0
  67. package/claw/node_modules/@babel/runtime/helpers/assertThisInitialized.js +5 -0
  68. package/claw/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +24 -0
  69. package/claw/node_modules/@babel/runtime/helpers/asyncIterator.js +45 -0
  70. package/claw/node_modules/@babel/runtime/helpers/asyncToGenerator.js +26 -0
  71. package/claw/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +5 -0
  72. package/claw/node_modules/@babel/runtime/helpers/callSuper.js +7 -0
  73. package/claw/node_modules/@babel/runtime/helpers/checkInRHS.js +6 -0
  74. package/claw/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +4 -0
  75. package/claw/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +10 -0
  76. package/claw/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +4 -0
  77. package/claw/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +7 -0
  78. package/claw/node_modules/@babel/runtime/helpers/classCallCheck.js +4 -0
  79. package/claw/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +5 -0
  80. package/claw/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +4 -0
  81. package/claw/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +5 -0
  82. package/claw/node_modules/@babel/runtime/helpers/classNameTDZError.js +4 -0
  83. package/claw/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +7 -0
  84. package/claw/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +7 -0
  85. package/claw/node_modules/@babel/runtime/helpers/classPrivateFieldGet2.js +5 -0
  86. package/claw/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +5 -0
  87. package/claw/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +5 -0
  88. package/claw/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +5 -0
  89. package/claw/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +7 -0
  90. package/claw/node_modules/@babel/runtime/helpers/classPrivateFieldSet2.js +5 -0
  91. package/claw/node_modules/@babel/runtime/helpers/classPrivateGetter.js +5 -0
  92. package/claw/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +5 -0
  93. package/claw/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +5 -0
  94. package/claw/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +4 -0
  95. package/claw/node_modules/@babel/runtime/helpers/classPrivateSetter.js +5 -0
  96. package/claw/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +7 -0
  97. package/claw/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +7 -0
  98. package/claw/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +7 -0
  99. package/claw/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +5 -0
  100. package/claw/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +4 -0
  101. package/claw/node_modules/@babel/runtime/helpers/construct.js +10 -0
  102. package/claw/node_modules/@babel/runtime/helpers/createClass.js +13 -0
  103. package/claw/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +50 -0
  104. package/claw/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +19 -0
  105. package/claw/node_modules/@babel/runtime/helpers/createSuper.js +16 -0
  106. package/claw/node_modules/@babel/runtime/helpers/decorate.js +250 -0
  107. package/claw/node_modules/@babel/runtime/helpers/defaults.js +9 -0
  108. package/claw/node_modules/@babel/runtime/helpers/defineAccessor.js +8 -0
  109. package/claw/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +12 -0
  110. package/claw/node_modules/@babel/runtime/helpers/defineProperty.js +10 -0
  111. package/claw/node_modules/@babel/runtime/helpers/dispose.js +28 -0
  112. package/claw/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +4 -0
  113. package/claw/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +4 -0
  114. package/claw/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +9 -0
  115. package/claw/node_modules/@babel/runtime/helpers/esm/applyDecs.js +236 -0
  116. package/claw/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +184 -0
  117. package/claw/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js +191 -0
  118. package/claw/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js +222 -0
  119. package/claw/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js +133 -0
  120. package/claw/node_modules/@babel/runtime/helpers/esm/applyDecs2311.js +124 -0
  121. package/claw/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +6 -0
  122. package/claw/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +4 -0
  123. package/claw/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +5 -0
  124. package/claw/node_modules/@babel/runtime/helpers/esm/assertClassBrand.js +5 -0
  125. package/claw/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +5 -0
  126. package/claw/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +24 -0
  127. package/claw/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +45 -0
  128. package/claw/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +26 -0
  129. package/claw/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +5 -0
  130. package/claw/node_modules/@babel/runtime/helpers/esm/callSuper.js +7 -0
  131. package/claw/node_modules/@babel/runtime/helpers/esm/checkInRHS.js +6 -0
  132. package/claw/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +4 -0
  133. package/claw/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +10 -0
  134. package/claw/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +4 -0
  135. package/claw/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +7 -0
  136. package/claw/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +4 -0
  137. package/claw/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +5 -0
  138. package/claw/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +4 -0
  139. package/claw/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +5 -0
  140. package/claw/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +4 -0
  141. package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +7 -0
  142. package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +7 -0
  143. package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js +5 -0
  144. package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +5 -0
  145. package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +5 -0
  146. package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +5 -0
  147. package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +7 -0
  148. package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js +5 -0
  149. package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js +5 -0
  150. package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +5 -0
  151. package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +5 -0
  152. package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +4 -0
  153. package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateSetter.js +5 -0
  154. package/claw/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +7 -0
  155. package/claw/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +7 -0
  156. package/claw/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +7 -0
  157. package/claw/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +5 -0
  158. package/claw/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +4 -0
  159. package/claw/node_modules/@babel/runtime/helpers/esm/construct.js +10 -0
  160. package/claw/node_modules/@babel/runtime/helpers/esm/createClass.js +13 -0
  161. package/claw/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +50 -0
  162. package/claw/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +19 -0
  163. package/claw/node_modules/@babel/runtime/helpers/esm/createSuper.js +16 -0
  164. package/claw/node_modules/@babel/runtime/helpers/esm/decorate.js +250 -0
  165. package/claw/node_modules/@babel/runtime/helpers/esm/defaults.js +9 -0
  166. package/claw/node_modules/@babel/runtime/helpers/esm/defineAccessor.js +8 -0
  167. package/claw/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +12 -0
  168. package/claw/node_modules/@babel/runtime/helpers/esm/defineProperty.js +10 -0
  169. package/claw/node_modules/@babel/runtime/helpers/esm/dispose.js +28 -0
  170. package/claw/node_modules/@babel/runtime/helpers/esm/extends.js +10 -0
  171. package/claw/node_modules/@babel/runtime/helpers/esm/get.js +11 -0
  172. package/claw/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +6 -0
  173. package/claw/node_modules/@babel/runtime/helpers/esm/identity.js +4 -0
  174. package/claw/node_modules/@babel/runtime/helpers/esm/importDeferProxy.js +27 -0
  175. package/claw/node_modules/@babel/runtime/helpers/esm/inherits.js +14 -0
  176. package/claw/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +5 -0
  177. package/claw/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +9 -0
  178. package/claw/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +4 -0
  179. package/claw/node_modules/@babel/runtime/helpers/esm/instanceof.js +4 -0
  180. package/claw/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +6 -0
  181. package/claw/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +22 -0
  182. package/claw/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +8 -0
  183. package/claw/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +9 -0
  184. package/claw/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +4 -0
  185. package/claw/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +28 -0
  186. package/claw/node_modules/@babel/runtime/helpers/esm/jsx.js +22 -0
  187. package/claw/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +9 -0
  188. package/claw/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +4 -0
  189. package/claw/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +4 -0
  190. package/claw/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +4 -0
  191. package/claw/node_modules/@babel/runtime/helpers/esm/nullishReceiverError.js +4 -0
  192. package/claw/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +4 -0
  193. package/claw/node_modules/@babel/runtime/helpers/esm/objectSpread.js +14 -0
  194. package/claw/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +23 -0
  195. package/claw/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +13 -0
  196. package/claw/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +10 -0
  197. package/claw/node_modules/@babel/runtime/helpers/esm/package.json +3 -0
  198. package/claw/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +8 -0
  199. package/claw/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +4 -0
  200. package/claw/node_modules/@babel/runtime/helpers/esm/regenerator.js +89 -0
  201. package/claw/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js +8 -0
  202. package/claw/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js +6 -0
  203. package/claw/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js +33 -0
  204. package/claw/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js +22 -0
  205. package/claw/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js +10 -0
  206. package/claw/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +77 -0
  207. package/claw/node_modules/@babel/runtime/helpers/esm/regeneratorValues.js +19 -0
  208. package/claw/node_modules/@babel/runtime/helpers/esm/set.js +22 -0
  209. package/claw/node_modules/@babel/runtime/helpers/esm/setFunctionName.js +12 -0
  210. package/claw/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +6 -0
  211. package/claw/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +7 -0
  212. package/claw/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +8 -0
  213. package/claw/node_modules/@babel/runtime/helpers/esm/superPropBase.js +6 -0
  214. package/claw/node_modules/@babel/runtime/helpers/esm/superPropGet.js +9 -0
  215. package/claw/node_modules/@babel/runtime/helpers/esm/superPropSet.js +6 -0
  216. package/claw/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +8 -0
  217. package/claw/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +4 -0
  218. package/claw/node_modules/@babel/runtime/helpers/esm/tdz.js +4 -0
  219. package/claw/node_modules/@babel/runtime/helpers/esm/temporalRef.js +6 -0
  220. package/claw/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +2 -0
  221. package/claw/node_modules/@babel/runtime/helpers/esm/toArray.js +8 -0
  222. package/claw/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +8 -0
  223. package/claw/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +12 -0
  224. package/claw/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +7 -0
  225. package/claw/node_modules/@babel/runtime/helpers/esm/toSetter.js +10 -0
  226. package/claw/node_modules/@babel/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +6 -0
  227. package/claw/node_modules/@babel/runtime/helpers/esm/typeof.js +10 -0
  228. package/claw/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +9 -0
  229. package/claw/node_modules/@babel/runtime/helpers/esm/using.js +12 -0
  230. package/claw/node_modules/@babel/runtime/helpers/esm/usingCtx.js +59 -0
  231. package/claw/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +56 -0
  232. package/claw/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +27 -0
  233. package/claw/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +52 -0
  234. package/claw/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +4 -0
  235. package/claw/node_modules/@babel/runtime/helpers/extends.js +10 -0
  236. package/claw/node_modules/@babel/runtime/helpers/get.js +11 -0
  237. package/claw/node_modules/@babel/runtime/helpers/getPrototypeOf.js +6 -0
  238. package/claw/node_modules/@babel/runtime/helpers/identity.js +4 -0
  239. package/claw/node_modules/@babel/runtime/helpers/importDeferProxy.js +27 -0
  240. package/claw/node_modules/@babel/runtime/helpers/inherits.js +14 -0
  241. package/claw/node_modules/@babel/runtime/helpers/inheritsLoose.js +5 -0
  242. package/claw/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +9 -0
  243. package/claw/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +4 -0
  244. package/claw/node_modules/@babel/runtime/helpers/instanceof.js +4 -0
  245. package/claw/node_modules/@babel/runtime/helpers/interopRequireDefault.js +6 -0
  246. package/claw/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +22 -0
  247. package/claw/node_modules/@babel/runtime/helpers/isNativeFunction.js +8 -0
  248. package/claw/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +9 -0
  249. package/claw/node_modules/@babel/runtime/helpers/iterableToArray.js +4 -0
  250. package/claw/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +28 -0
  251. package/claw/node_modules/@babel/runtime/helpers/jsx.js +22 -0
  252. package/claw/node_modules/@babel/runtime/helpers/maybeArrayLike.js +9 -0
  253. package/claw/node_modules/@babel/runtime/helpers/newArrowCheck.js +4 -0
  254. package/claw/node_modules/@babel/runtime/helpers/nonIterableRest.js +4 -0
  255. package/claw/node_modules/@babel/runtime/helpers/nonIterableSpread.js +4 -0
  256. package/claw/node_modules/@babel/runtime/helpers/nullishReceiverError.js +4 -0
  257. package/claw/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +4 -0
  258. package/claw/node_modules/@babel/runtime/helpers/objectSpread.js +14 -0
  259. package/claw/node_modules/@babel/runtime/helpers/objectSpread2.js +23 -0
  260. package/claw/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +13 -0
  261. package/claw/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +10 -0
  262. package/claw/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +8 -0
  263. package/claw/node_modules/@babel/runtime/helpers/readOnlyError.js +4 -0
  264. package/claw/node_modules/@babel/runtime/helpers/regenerator.js +89 -0
  265. package/claw/node_modules/@babel/runtime/helpers/regeneratorAsync.js +8 -0
  266. package/claw/node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js +6 -0
  267. package/claw/node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js +33 -0
  268. package/claw/node_modules/@babel/runtime/helpers/regeneratorDefine.js +22 -0
  269. package/claw/node_modules/@babel/runtime/helpers/regeneratorKeys.js +10 -0
  270. package/claw/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +77 -0
  271. package/claw/node_modules/@babel/runtime/helpers/regeneratorValues.js +19 -0
  272. package/claw/node_modules/@babel/runtime/helpers/set.js +22 -0
  273. package/claw/node_modules/@babel/runtime/helpers/setFunctionName.js +12 -0
  274. package/claw/node_modules/@babel/runtime/helpers/setPrototypeOf.js +6 -0
  275. package/claw/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +7 -0
  276. package/claw/node_modules/@babel/runtime/helpers/slicedToArray.js +8 -0
  277. package/claw/node_modules/@babel/runtime/helpers/superPropBase.js +6 -0
  278. package/claw/node_modules/@babel/runtime/helpers/superPropGet.js +9 -0
  279. package/claw/node_modules/@babel/runtime/helpers/superPropSet.js +6 -0
  280. package/claw/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +8 -0
  281. package/claw/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +4 -0
  282. package/claw/node_modules/@babel/runtime/helpers/tdz.js +4 -0
  283. package/claw/node_modules/@babel/runtime/helpers/temporalRef.js +6 -0
  284. package/claw/node_modules/@babel/runtime/helpers/temporalUndefined.js +2 -0
  285. package/claw/node_modules/@babel/runtime/helpers/toArray.js +8 -0
  286. package/claw/node_modules/@babel/runtime/helpers/toConsumableArray.js +8 -0
  287. package/claw/node_modules/@babel/runtime/helpers/toPrimitive.js +12 -0
  288. package/claw/node_modules/@babel/runtime/helpers/toPropertyKey.js +7 -0
  289. package/claw/node_modules/@babel/runtime/helpers/toSetter.js +10 -0
  290. package/claw/node_modules/@babel/runtime/helpers/tsRewriteRelativeImportExtensions.js +6 -0
  291. package/claw/node_modules/@babel/runtime/helpers/typeof.js +10 -0
  292. package/claw/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +9 -0
  293. package/claw/node_modules/@babel/runtime/helpers/using.js +12 -0
  294. package/claw/node_modules/@babel/runtime/helpers/usingCtx.js +59 -0
  295. package/claw/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +56 -0
  296. package/claw/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +27 -0
  297. package/claw/node_modules/@babel/runtime/helpers/wrapRegExp.js +52 -0
  298. package/claw/node_modules/@babel/runtime/helpers/writeOnlyError.js +4 -0
  299. package/claw/node_modules/@babel/runtime/package.json +1107 -0
  300. package/claw/node_modules/@babel/runtime/regenerator/index.js +15 -0
  301. package/claw/node_modules/assert/.github/FUNDING.yml +12 -0
  302. package/claw/node_modules/assert/.github/SECURITY.md +10 -0
  303. package/claw/node_modules/assert/.travis.yml +30 -0
  304. package/claw/node_modules/assert/.zuul.yml +13 -0
  305. package/claw/node_modules/assert/CHANGELOG.md +11 -0
  306. package/claw/node_modules/assert/LICENSE +18 -0
  307. package/claw/node_modules/assert/README.md +105 -0
  308. package/claw/node_modules/assert/assert.js +506 -0
  309. package/claw/node_modules/assert/package.json +32 -0
  310. package/claw/node_modules/assert/test.js +360 -0
  311. package/claw/node_modules/async-limiter/.eslintignore +2 -0
  312. package/claw/node_modules/async-limiter/.nycrc +10 -0
  313. package/claw/node_modules/async-limiter/.travis.yml +9 -0
  314. package/claw/node_modules/async-limiter/LICENSE +8 -0
  315. package/claw/node_modules/async-limiter/index.js +67 -0
  316. package/claw/node_modules/async-limiter/package.json +35 -0
  317. package/claw/node_modules/async-limiter/readme.md +132 -0
  318. package/claw/node_modules/available-typed-arrays/.eslintrc +5 -0
  319. package/claw/node_modules/available-typed-arrays/.github/FUNDING.yml +12 -0
  320. package/claw/node_modules/available-typed-arrays/.nycrc +9 -0
  321. package/claw/node_modules/available-typed-arrays/CHANGELOG.md +100 -0
  322. package/claw/node_modules/available-typed-arrays/LICENSE +21 -0
  323. package/claw/node_modules/available-typed-arrays/README.md +55 -0
  324. package/claw/node_modules/available-typed-arrays/index.d.ts +8 -0
  325. package/claw/node_modules/available-typed-arrays/index.js +17 -0
  326. package/claw/node_modules/available-typed-arrays/package.json +93 -0
  327. package/claw/node_modules/available-typed-arrays/test/index.js +18 -0
  328. package/claw/node_modules/available-typed-arrays/tsconfig.json +49 -0
  329. package/claw/node_modules/base-x/LICENSE.md +22 -0
  330. package/claw/node_modules/base-x/README.md +67 -0
  331. package/claw/node_modules/base-x/package.json +49 -0
  332. package/claw/node_modules/base-x/src/index.d.ts +10 -0
  333. package/claw/node_modules/base-x/src/index.js +123 -0
  334. package/claw/node_modules/bigi/CHANGELOG.md +85 -0
  335. package/claw/node_modules/bigi/LICENSE.md +30 -0
  336. package/claw/node_modules/bigi/README.md +14 -0
  337. package/claw/node_modules/bigi/lib/bigi.js +1509 -0
  338. package/claw/node_modules/bigi/lib/convert.js +91 -0
  339. package/claw/node_modules/bigi/lib/index.js +6 -0
  340. package/claw/node_modules/bigi/package.json +55 -0
  341. package/claw/node_modules/bignumber.js/CHANGELOG.md +222 -0
  342. package/claw/node_modules/bignumber.js/LICENCE +23 -0
  343. package/claw/node_modules/bignumber.js/README.md +266 -0
  344. package/claw/node_modules/bignumber.js/bignumber.d.ts +1797 -0
  345. package/claw/node_modules/bignumber.js/bignumber.js +2814 -0
  346. package/claw/node_modules/bignumber.js/bignumber.js.map +1 -0
  347. package/claw/node_modules/bignumber.js/bignumber.min.js +3 -0
  348. package/claw/node_modules/bignumber.js/bignumber.mjs +2793 -0
  349. package/claw/node_modules/bignumber.js/bower.json +36 -0
  350. package/claw/node_modules/bignumber.js/doc/API.html +2118 -0
  351. package/claw/node_modules/bignumber.js/package.json +39 -0
  352. package/claw/node_modules/bs58/CHANGELOG.md +61 -0
  353. package/claw/node_modules/bs58/README.md +71 -0
  354. package/claw/node_modules/bs58/index.js +4 -0
  355. package/claw/node_modules/bs58/package.json +37 -0
  356. package/claw/node_modules/btsdex/.babelrc +17 -0
  357. package/claw/node_modules/btsdex/.github/workflows/check-style.yml +16 -0
  358. package/claw/node_modules/btsdex/LICENSE +21 -0
  359. package/claw/node_modules/btsdex/README.md +467 -0
  360. package/claw/node_modules/btsdex/cli.js +165 -0
  361. package/claw/node_modules/btsdex/lib/account.js +60 -0
  362. package/claw/node_modules/btsdex/lib/asset.js +78 -0
  363. package/claw/node_modules/btsdex/lib/bitshares.js +363 -0
  364. package/claw/node_modules/btsdex/lib/event.js +137 -0
  365. package/claw/node_modules/btsdex/lib/fees.js +34 -0
  366. package/claw/node_modules/btsdex/lib/index.js +3 -0
  367. package/claw/node_modules/btsdex/lib/transaction/TransactionBuilder.js +797 -0
  368. package/claw/node_modules/btsdex/lib/transaction/index.js +64 -0
  369. package/claw/node_modules/btsdex/package.json +54 -0
  370. package/claw/node_modules/btsdex/yarn-error.log +3483 -0
  371. package/claw/node_modules/btsdex-api/.babelrc +14 -0
  372. package/claw/node_modules/btsdex-api/README.md +3 -0
  373. package/claw/node_modules/btsdex-api/lib/apis.js +59 -0
  374. package/claw/node_modules/btsdex-api/lib/config.js +39 -0
  375. package/claw/node_modules/btsdex-api/lib/connection.js +188 -0
  376. package/claw/node_modules/btsdex-api/lib/index.js +86 -0
  377. package/claw/node_modules/btsdex-api/lib/logger.js +45 -0
  378. package/claw/node_modules/btsdex-api/lib/servers.js +30 -0
  379. package/claw/node_modules/btsdex-api/package.json +29 -0
  380. package/claw/node_modules/btsdex-ecc/.babelrc +13 -0
  381. package/claw/node_modules/btsdex-ecc/lib/BrainKey.js +15 -0
  382. package/claw/node_modules/btsdex-ecc/lib/KeyUtils.js +205 -0
  383. package/claw/node_modules/btsdex-ecc/lib/PrivateKey.js +198 -0
  384. package/claw/node_modules/btsdex-ecc/lib/PublicKey.js +197 -0
  385. package/claw/node_modules/btsdex-ecc/lib/address.js +84 -0
  386. package/claw/node_modules/btsdex-ecc/lib/addressPrefix.js +15 -0
  387. package/claw/node_modules/btsdex-ecc/lib/aes.js +294 -0
  388. package/claw/node_modules/btsdex-ecc/lib/ecdsa.js +194 -0
  389. package/claw/node_modules/btsdex-ecc/lib/ecsignature.js +131 -0
  390. package/claw/node_modules/btsdex-ecc/lib/enforce_types.js +54 -0
  391. package/claw/node_modules/btsdex-ecc/lib/hash.js +60 -0
  392. package/claw/node_modules/btsdex-ecc/lib/index.js +84 -0
  393. package/claw/node_modules/btsdex-ecc/lib/signature.js +185 -0
  394. package/claw/node_modules/btsdex-ecc/package.json +37 -0
  395. package/claw/node_modules/btsdex-serializer/.babelrc +13 -0
  396. package/claw/node_modules/btsdex-serializer/lib/ChainTypes.js +154 -0
  397. package/claw/node_modules/btsdex-serializer/lib/FastParser.js +75 -0
  398. package/claw/node_modules/btsdex-serializer/lib/ObjectId.js +65 -0
  399. package/claw/node_modules/btsdex-serializer/lib/SerializerValidation.js +377 -0
  400. package/claw/node_modules/btsdex-serializer/lib/convert.js +54 -0
  401. package/claw/node_modules/btsdex-serializer/lib/error_with_cause.js +43 -0
  402. package/claw/node_modules/btsdex-serializer/lib/index.js +72 -0
  403. package/claw/node_modules/btsdex-serializer/lib/operations.js +1359 -0
  404. package/claw/node_modules/btsdex-serializer/lib/precision.js +108 -0
  405. package/claw/node_modules/btsdex-serializer/lib/serializer.js +205 -0
  406. package/claw/node_modules/btsdex-serializer/lib/template.js +23 -0
  407. package/claw/node_modules/btsdex-serializer/lib/types.js +1209 -0
  408. package/claw/node_modules/btsdex-serializer/package-lock.json +238 -0
  409. package/claw/node_modules/btsdex-serializer/package.json +32 -0
  410. package/claw/node_modules/bytebuffer/.travis.yml +5 -0
  411. package/claw/node_modules/bytebuffer/LICENSE +202 -0
  412. package/claw/node_modules/bytebuffer/README.md +64 -0
  413. package/claw/node_modules/bytebuffer/bower.json +12 -0
  414. package/claw/node_modules/bytebuffer/bytebuffer.png +0 -0
  415. package/claw/node_modules/bytebuffer/dist/README.md +47 -0
  416. package/claw/node_modules/bytebuffer/dist/bytebuffer-dataview.js +3461 -0
  417. package/claw/node_modules/bytebuffer/dist/bytebuffer-dataview.min.js +88 -0
  418. package/claw/node_modules/bytebuffer/dist/bytebuffer-dataview.min.js.gz +0 -0
  419. package/claw/node_modules/bytebuffer/dist/bytebuffer-dataview.min.map +8 -0
  420. package/claw/node_modules/bytebuffer/dist/bytebuffer-node.js +3454 -0
  421. package/claw/node_modules/bytebuffer/dist/bytebuffer.js +3746 -0
  422. package/claw/node_modules/bytebuffer/dist/bytebuffer.min.js +93 -0
  423. package/claw/node_modules/bytebuffer/dist/bytebuffer.min.js.gz +0 -0
  424. package/claw/node_modules/bytebuffer/dist/bytebuffer.min.map +8 -0
  425. package/claw/node_modules/bytebuffer/donate.png +0 -0
  426. package/claw/node_modules/bytebuffer/externs/bytebuffer.js +862 -0
  427. package/claw/node_modules/bytebuffer/externs/minimal-env.js +52 -0
  428. package/claw/node_modules/bytebuffer/index.js +1 -0
  429. package/claw/node_modules/bytebuffer/jsdoc.json +13 -0
  430. package/claw/node_modules/bytebuffer/package.json +51 -0
  431. package/claw/node_modules/bytebuffer/scripts/build.js +113 -0
  432. package/claw/node_modules/bytebuffer/src/bower.json +12 -0
  433. package/claw/node_modules/bytebuffer/src/bytebuffer.js +220 -0
  434. package/claw/node_modules/bytebuffer/src/encodings/base64.js +88 -0
  435. package/claw/node_modules/bytebuffer/src/encodings/binary.js +74 -0
  436. package/claw/node_modules/bytebuffer/src/encodings/debug.js +211 -0
  437. package/claw/node_modules/bytebuffer/src/encodings/hex.js +75 -0
  438. package/claw/node_modules/bytebuffer/src/encodings/impl/base64.js +3 -0
  439. package/claw/node_modules/bytebuffer/src/encodings/impl/binary.js +65 -0
  440. package/claw/node_modules/bytebuffer/src/encodings/impl/debug.js +3 -0
  441. package/claw/node_modules/bytebuffer/src/encodings/impl/hex.js +101 -0
  442. package/claw/node_modules/bytebuffer/src/encodings/impl/utf8.js +126 -0
  443. package/claw/node_modules/bytebuffer/src/encodings/utf8.js +71 -0
  444. package/claw/node_modules/bytebuffer/src/helpers.js +143 -0
  445. package/claw/node_modules/bytebuffer/src/macros.js +222 -0
  446. package/claw/node_modules/bytebuffer/src/methods/append.js +58 -0
  447. package/claw/node_modules/bytebuffer/src/methods/assert.js +12 -0
  448. package/claw/node_modules/bytebuffer/src/methods/capacity.js +8 -0
  449. package/claw/node_modules/bytebuffer/src/methods/clear.js +13 -0
  450. package/claw/node_modules/bytebuffer/src/methods/clone.js +34 -0
  451. package/claw/node_modules/bytebuffer/src/methods/compact.js +49 -0
  452. package/claw/node_modules/bytebuffer/src/methods/copy.js +73 -0
  453. package/claw/node_modules/bytebuffer/src/methods/ensureCapacity.js +15 -0
  454. package/claw/node_modules/bytebuffer/src/methods/fill.js +35 -0
  455. package/claw/node_modules/bytebuffer/src/methods/flip.js +11 -0
  456. package/claw/node_modules/bytebuffer/src/methods/mark.js +17 -0
  457. package/claw/node_modules/bytebuffer/src/methods/order.js +36 -0
  458. package/claw/node_modules/bytebuffer/src/methods/prepend.js +87 -0
  459. package/claw/node_modules/bytebuffer/src/methods/printDebug.js +16 -0
  460. package/claw/node_modules/bytebuffer/src/methods/remaining.js +9 -0
  461. package/claw/node_modules/bytebuffer/src/methods/reset.js +17 -0
  462. package/claw/node_modules/bytebuffer/src/methods/resize.js +39 -0
  463. package/claw/node_modules/bytebuffer/src/methods/reverse.js +25 -0
  464. package/claw/node_modules/bytebuffer/src/methods/skip.js +19 -0
  465. package/claw/node_modules/bytebuffer/src/methods/slice.js +18 -0
  466. package/claw/node_modules/bytebuffer/src/methods/static/accessor.js +13 -0
  467. package/claw/node_modules/bytebuffer/src/methods/static/allocate.js +14 -0
  468. package/claw/node_modules/bytebuffer/src/methods/static/concat.js +55 -0
  469. package/claw/node_modules/bytebuffer/src/methods/static/isByteBuffer.js +9 -0
  470. package/claw/node_modules/bytebuffer/src/methods/static/type.js +11 -0
  471. package/claw/node_modules/bytebuffer/src/methods/static/wrap.js +125 -0
  472. package/claw/node_modules/bytebuffer/src/methods/toBuffer.js +77 -0
  473. package/claw/node_modules/bytebuffer/src/methods/toString.js +43 -0
  474. package/claw/node_modules/bytebuffer/src/types/bytes/bitset.js +89 -0
  475. package/claw/node_modules/bytebuffer/src/types/bytes/bytes.js +34 -0
  476. package/claw/node_modules/bytebuffer/src/types/floats/float32.js +81 -0
  477. package/claw/node_modules/bytebuffer/src/types/floats/float64.js +77 -0
  478. package/claw/node_modules/bytebuffer/src/types/floats/ieee754.js +130 -0
  479. package/claw/node_modules/bytebuffer/src/types/ints/int16.js +167 -0
  480. package/claw/node_modules/bytebuffer/src/types/ints/int32.js +125 -0
  481. package/claw/node_modules/bytebuffer/src/types/ints/int64.js +194 -0
  482. package/claw/node_modules/bytebuffer/src/types/ints/int8.js +137 -0
  483. package/claw/node_modules/bytebuffer/src/types/strings/cstring.js +110 -0
  484. package/claw/node_modules/bytebuffer/src/types/strings/istring.js +81 -0
  485. package/claw/node_modules/bytebuffer/src/types/strings/utf8string.js +214 -0
  486. package/claw/node_modules/bytebuffer/src/types/strings/vstring.js +78 -0
  487. package/claw/node_modules/bytebuffer/src/types/varints/varint32.js +164 -0
  488. package/claw/node_modules/bytebuffer/src/types/varints/varint64.js +208 -0
  489. package/claw/node_modules/bytebuffer/src/wrap-node.js +50 -0
  490. package/claw/node_modules/bytebuffer/src/wrap.js +43 -0
  491. package/claw/node_modules/bytebuffer/tests/bench.js +99 -0
  492. package/claw/node_modules/bytebuffer/tests/suite.js +1005 -0
  493. package/claw/node_modules/call-bind/.eslintignore +1 -0
  494. package/claw/node_modules/call-bind/.eslintrc +16 -0
  495. package/claw/node_modules/call-bind/.github/FUNDING.yml +12 -0
  496. package/claw/node_modules/call-bind/.nycrc +9 -0
  497. package/claw/node_modules/call-bind/CHANGELOG.md +106 -0
  498. package/claw/node_modules/call-bind/LICENSE +21 -0
  499. package/claw/node_modules/call-bind/README.md +64 -0
  500. package/claw/node_modules/call-bind/callBound.js +15 -0
  501. package/claw/node_modules/call-bind/index.js +24 -0
  502. package/claw/node_modules/call-bind/package.json +93 -0
  503. package/claw/node_modules/call-bind/test/callBound.js +54 -0
  504. package/claw/node_modules/call-bind/test/index.js +74 -0
  505. package/claw/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
  506. package/claw/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
  507. package/claw/node_modules/call-bind-apply-helpers/.nycrc +9 -0
  508. package/claw/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
  509. package/claw/node_modules/call-bind-apply-helpers/LICENSE +21 -0
  510. package/claw/node_modules/call-bind-apply-helpers/README.md +62 -0
  511. package/claw/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
  512. package/claw/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
  513. package/claw/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
  514. package/claw/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
  515. package/claw/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
  516. package/claw/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
  517. package/claw/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
  518. package/claw/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
  519. package/claw/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
  520. package/claw/node_modules/call-bind-apply-helpers/index.js +15 -0
  521. package/claw/node_modules/call-bind-apply-helpers/package.json +85 -0
  522. package/claw/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
  523. package/claw/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
  524. package/claw/node_modules/call-bind-apply-helpers/test/index.js +63 -0
  525. package/claw/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
  526. package/claw/node_modules/call-bound/.eslintrc +13 -0
  527. package/claw/node_modules/call-bound/.github/FUNDING.yml +12 -0
  528. package/claw/node_modules/call-bound/.nycrc +9 -0
  529. package/claw/node_modules/call-bound/CHANGELOG.md +42 -0
  530. package/claw/node_modules/call-bound/LICENSE +21 -0
  531. package/claw/node_modules/call-bound/README.md +53 -0
  532. package/claw/node_modules/call-bound/index.d.ts +94 -0
  533. package/claw/node_modules/call-bound/index.js +19 -0
  534. package/claw/node_modules/call-bound/package.json +99 -0
  535. package/claw/node_modules/call-bound/test/index.js +61 -0
  536. package/claw/node_modules/call-bound/tsconfig.json +10 -0
  537. package/claw/node_modules/cipher-base/.eslintrc +26 -0
  538. package/claw/node_modules/cipher-base/.github/FUNDING.yml +12 -0
  539. package/claw/node_modules/cipher-base/CHANGELOG.md +73 -0
  540. package/claw/node_modules/cipher-base/LICENSE +21 -0
  541. package/claw/node_modules/cipher-base/README.md +17 -0
  542. package/claw/node_modules/cipher-base/index.js +103 -0
  543. package/claw/node_modules/cipher-base/package.json +63 -0
  544. package/claw/node_modules/cipher-base/test/index.js +221 -0
  545. package/claw/node_modules/core-util-is/LICENSE +19 -0
  546. package/claw/node_modules/core-util-is/README.md +3 -0
  547. package/claw/node_modules/core-util-is/lib/util.js +107 -0
  548. package/claw/node_modules/core-util-is/package.json +38 -0
  549. package/claw/node_modules/create-hash/.travis.yml +17 -0
  550. package/claw/node_modules/create-hash/LICENSE +21 -0
  551. package/claw/node_modules/create-hash/README.md +19 -0
  552. package/claw/node_modules/create-hash/browser.js +30 -0
  553. package/claw/node_modules/create-hash/index.js +1 -0
  554. package/claw/node_modules/create-hash/md5.js +5 -0
  555. package/claw/node_modules/create-hash/package.json +39 -0
  556. package/claw/node_modules/create-hash/test.js +41 -0
  557. package/claw/node_modules/create-hmac/LICENSE +21 -0
  558. package/claw/node_modules/create-hmac/README.md +20 -0
  559. package/claw/node_modules/create-hmac/browser.js +62 -0
  560. package/claw/node_modules/create-hmac/index.js +1 -0
  561. package/claw/node_modules/create-hmac/legacy.js +46 -0
  562. package/claw/node_modules/create-hmac/package.json +45 -0
  563. package/claw/node_modules/crypto-js/CONTRIBUTING.md +28 -0
  564. package/claw/node_modules/crypto-js/LICENSE +24 -0
  565. package/claw/node_modules/crypto-js/README.md +241 -0
  566. package/claw/node_modules/crypto-js/aes.js +232 -0
  567. package/claw/node_modules/crypto-js/bower.json +35 -0
  568. package/claw/node_modules/crypto-js/cipher-core.js +880 -0
  569. package/claw/node_modules/crypto-js/core.js +760 -0
  570. package/claw/node_modules/crypto-js/crypto-js.js +5988 -0
  571. package/claw/node_modules/crypto-js/docs/QuickStartGuide.wiki +470 -0
  572. package/claw/node_modules/crypto-js/enc-base64.js +135 -0
  573. package/claw/node_modules/crypto-js/enc-hex.js +18 -0
  574. package/claw/node_modules/crypto-js/enc-latin1.js +18 -0
  575. package/claw/node_modules/crypto-js/enc-utf16.js +149 -0
  576. package/claw/node_modules/crypto-js/enc-utf8.js +18 -0
  577. package/claw/node_modules/crypto-js/evpkdf.js +132 -0
  578. package/claw/node_modules/crypto-js/format-hex.js +66 -0
  579. package/claw/node_modules/crypto-js/format-openssl.js +18 -0
  580. package/claw/node_modules/crypto-js/hmac-md5.js +18 -0
  581. package/claw/node_modules/crypto-js/hmac-ripemd160.js +18 -0
  582. package/claw/node_modules/crypto-js/hmac-sha1.js +18 -0
  583. package/claw/node_modules/crypto-js/hmac-sha224.js +18 -0
  584. package/claw/node_modules/crypto-js/hmac-sha256.js +18 -0
  585. package/claw/node_modules/crypto-js/hmac-sha3.js +18 -0
  586. package/claw/node_modules/crypto-js/hmac-sha384.js +18 -0
  587. package/claw/node_modules/crypto-js/hmac-sha512.js +18 -0
  588. package/claw/node_modules/crypto-js/hmac.js +143 -0
  589. package/claw/node_modules/crypto-js/index.js +18 -0
  590. package/claw/node_modules/crypto-js/lib-typedarrays.js +76 -0
  591. package/claw/node_modules/crypto-js/md5.js +268 -0
  592. package/claw/node_modules/crypto-js/mode-cfb.js +78 -0
  593. package/claw/node_modules/crypto-js/mode-ctr-gladman.js +116 -0
  594. package/claw/node_modules/crypto-js/mode-ctr.js +58 -0
  595. package/claw/node_modules/crypto-js/mode-ecb.js +40 -0
  596. package/claw/node_modules/crypto-js/mode-ofb.js +54 -0
  597. package/claw/node_modules/crypto-js/package.json +38 -0
  598. package/claw/node_modules/crypto-js/pad-ansix923.js +49 -0
  599. package/claw/node_modules/crypto-js/pad-iso10126.js +44 -0
  600. package/claw/node_modules/crypto-js/pad-iso97971.js +40 -0
  601. package/claw/node_modules/crypto-js/pad-nopadding.js +30 -0
  602. package/claw/node_modules/crypto-js/pad-pkcs7.js +18 -0
  603. package/claw/node_modules/crypto-js/pad-zeropadding.js +45 -0
  604. package/claw/node_modules/crypto-js/pbkdf2.js +145 -0
  605. package/claw/node_modules/crypto-js/rabbit-legacy.js +190 -0
  606. package/claw/node_modules/crypto-js/rabbit.js +192 -0
  607. package/claw/node_modules/crypto-js/rc4.js +139 -0
  608. package/claw/node_modules/crypto-js/ripemd160.js +267 -0
  609. package/claw/node_modules/crypto-js/sha1.js +150 -0
  610. package/claw/node_modules/crypto-js/sha224.js +80 -0
  611. package/claw/node_modules/crypto-js/sha256.js +199 -0
  612. package/claw/node_modules/crypto-js/sha3.js +323 -0
  613. package/claw/node_modules/crypto-js/sha384.js +83 -0
  614. package/claw/node_modules/crypto-js/sha512.js +323 -0
  615. package/claw/node_modules/crypto-js/tripledes.js +770 -0
  616. package/claw/node_modules/crypto-js/x64-core.js +304 -0
  617. package/claw/node_modules/deep-equal/.editorconfig +20 -0
  618. package/claw/node_modules/deep-equal/.eslintrc +28 -0
  619. package/claw/node_modules/deep-equal/.nycrc +17 -0
  620. package/claw/node_modules/deep-equal/.travis.yml +12 -0
  621. package/claw/node_modules/deep-equal/CHANGELOG.md +320 -0
  622. package/claw/node_modules/deep-equal/LICENSE +21 -0
  623. package/claw/node_modules/deep-equal/assert.js +3 -0
  624. package/claw/node_modules/deep-equal/example/cmp.js +11 -0
  625. package/claw/node_modules/deep-equal/index.js +112 -0
  626. package/claw/node_modules/deep-equal/lib/is_arguments.js +1 -0
  627. package/claw/node_modules/deep-equal/lib/keys.js +1 -0
  628. package/claw/node_modules/deep-equal/package.json +109 -0
  629. package/claw/node_modules/deep-equal/readme.markdown +73 -0
  630. package/claw/node_modules/deep-equal/test/_tape.js +42 -0
  631. package/claw/node_modules/deep-equal/test/cmp.js +1343 -0
  632. package/claw/node_modules/define-data-property/.eslintrc +24 -0
  633. package/claw/node_modules/define-data-property/.github/FUNDING.yml +12 -0
  634. package/claw/node_modules/define-data-property/.nycrc +13 -0
  635. package/claw/node_modules/define-data-property/CHANGELOG.md +70 -0
  636. package/claw/node_modules/define-data-property/LICENSE +21 -0
  637. package/claw/node_modules/define-data-property/README.md +67 -0
  638. package/claw/node_modules/define-data-property/index.d.ts +12 -0
  639. package/claw/node_modules/define-data-property/index.js +56 -0
  640. package/claw/node_modules/define-data-property/package.json +106 -0
  641. package/claw/node_modules/define-data-property/test/index.js +392 -0
  642. package/claw/node_modules/define-data-property/tsconfig.json +59 -0
  643. package/claw/node_modules/define-properties/.editorconfig +13 -0
  644. package/claw/node_modules/define-properties/.eslintrc +19 -0
  645. package/claw/node_modules/define-properties/.github/FUNDING.yml +12 -0
  646. package/claw/node_modules/define-properties/.nycrc +9 -0
  647. package/claw/node_modules/define-properties/CHANGELOG.md +91 -0
  648. package/claw/node_modules/define-properties/LICENSE +21 -0
  649. package/claw/node_modules/define-properties/README.md +84 -0
  650. package/claw/node_modules/define-properties/index.js +47 -0
  651. package/claw/node_modules/define-properties/package.json +88 -0
  652. package/claw/node_modules/dunder-proto/.eslintrc +5 -0
  653. package/claw/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
  654. package/claw/node_modules/dunder-proto/.nycrc +13 -0
  655. package/claw/node_modules/dunder-proto/CHANGELOG.md +24 -0
  656. package/claw/node_modules/dunder-proto/LICENSE +21 -0
  657. package/claw/node_modules/dunder-proto/README.md +54 -0
  658. package/claw/node_modules/dunder-proto/get.d.ts +5 -0
  659. package/claw/node_modules/dunder-proto/get.js +30 -0
  660. package/claw/node_modules/dunder-proto/package.json +76 -0
  661. package/claw/node_modules/dunder-proto/set.d.ts +5 -0
  662. package/claw/node_modules/dunder-proto/set.js +35 -0
  663. package/claw/node_modules/dunder-proto/test/get.js +34 -0
  664. package/claw/node_modules/dunder-proto/test/index.js +4 -0
  665. package/claw/node_modules/dunder-proto/test/set.js +50 -0
  666. package/claw/node_modules/dunder-proto/tsconfig.json +9 -0
  667. package/claw/node_modules/ecurve/.min-wd +7 -0
  668. package/claw/node_modules/ecurve/.travis.yml +14 -0
  669. package/claw/node_modules/ecurve/CHANGELOG.md +154 -0
  670. package/claw/node_modules/ecurve/README.md +11 -0
  671. package/claw/node_modules/ecurve/lib/curve.js +77 -0
  672. package/claw/node_modules/ecurve/lib/curves.json +65 -0
  673. package/claw/node_modules/ecurve/lib/index.js +10 -0
  674. package/claw/node_modules/ecurve/lib/names.js +21 -0
  675. package/claw/node_modules/ecurve/lib/point.js +244 -0
  676. package/claw/node_modules/ecurve/package.json +32 -0
  677. package/claw/node_modules/es-define-property/.eslintrc +13 -0
  678. package/claw/node_modules/es-define-property/.github/FUNDING.yml +12 -0
  679. package/claw/node_modules/es-define-property/.nycrc +9 -0
  680. package/claw/node_modules/es-define-property/CHANGELOG.md +29 -0
  681. package/claw/node_modules/es-define-property/LICENSE +21 -0
  682. package/claw/node_modules/es-define-property/README.md +49 -0
  683. package/claw/node_modules/es-define-property/index.d.ts +3 -0
  684. package/claw/node_modules/es-define-property/index.js +14 -0
  685. package/claw/node_modules/es-define-property/package.json +81 -0
  686. package/claw/node_modules/es-define-property/test/index.js +56 -0
  687. package/claw/node_modules/es-define-property/tsconfig.json +10 -0
  688. package/claw/node_modules/es-errors/.eslintrc +5 -0
  689. package/claw/node_modules/es-errors/.github/FUNDING.yml +12 -0
  690. package/claw/node_modules/es-errors/CHANGELOG.md +40 -0
  691. package/claw/node_modules/es-errors/LICENSE +21 -0
  692. package/claw/node_modules/es-errors/README.md +55 -0
  693. package/claw/node_modules/es-errors/eval.d.ts +3 -0
  694. package/claw/node_modules/es-errors/eval.js +4 -0
  695. package/claw/node_modules/es-errors/index.d.ts +3 -0
  696. package/claw/node_modules/es-errors/index.js +4 -0
  697. package/claw/node_modules/es-errors/package.json +80 -0
  698. package/claw/node_modules/es-errors/range.d.ts +3 -0
  699. package/claw/node_modules/es-errors/range.js +4 -0
  700. package/claw/node_modules/es-errors/ref.d.ts +3 -0
  701. package/claw/node_modules/es-errors/ref.js +4 -0
  702. package/claw/node_modules/es-errors/syntax.d.ts +3 -0
  703. package/claw/node_modules/es-errors/syntax.js +4 -0
  704. package/claw/node_modules/es-errors/test/index.js +19 -0
  705. package/claw/node_modules/es-errors/tsconfig.json +49 -0
  706. package/claw/node_modules/es-errors/type.d.ts +3 -0
  707. package/claw/node_modules/es-errors/type.js +4 -0
  708. package/claw/node_modules/es-errors/uri.d.ts +3 -0
  709. package/claw/node_modules/es-errors/uri.js +4 -0
  710. package/claw/node_modules/es-object-atoms/.eslintrc +16 -0
  711. package/claw/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
  712. package/claw/node_modules/es-object-atoms/CHANGELOG.md +37 -0
  713. package/claw/node_modules/es-object-atoms/LICENSE +21 -0
  714. package/claw/node_modules/es-object-atoms/README.md +63 -0
  715. package/claw/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
  716. package/claw/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
  717. package/claw/node_modules/es-object-atoms/ToObject.d.ts +7 -0
  718. package/claw/node_modules/es-object-atoms/ToObject.js +10 -0
  719. package/claw/node_modules/es-object-atoms/index.d.ts +3 -0
  720. package/claw/node_modules/es-object-atoms/index.js +4 -0
  721. package/claw/node_modules/es-object-atoms/isObject.d.ts +3 -0
  722. package/claw/node_modules/es-object-atoms/isObject.js +6 -0
  723. package/claw/node_modules/es-object-atoms/package.json +80 -0
  724. package/claw/node_modules/es-object-atoms/test/index.js +38 -0
  725. package/claw/node_modules/es-object-atoms/tsconfig.json +6 -0
  726. package/claw/node_modules/for-each/.editorconfig +20 -0
  727. package/claw/node_modules/for-each/.eslintrc +30 -0
  728. package/claw/node_modules/for-each/.github/FUNDING.yml +12 -0
  729. package/claw/node_modules/for-each/.github/SECURITY.md +3 -0
  730. package/claw/node_modules/for-each/.nycrc +8 -0
  731. package/claw/node_modules/for-each/CHANGELOG.md +107 -0
  732. package/claw/node_modules/for-each/LICENSE +22 -0
  733. package/claw/node_modules/for-each/README.md +39 -0
  734. package/claw/node_modules/for-each/index.d.ts +35 -0
  735. package/claw/node_modules/for-each/index.js +69 -0
  736. package/claw/node_modules/for-each/package.json +76 -0
  737. package/claw/node_modules/for-each/test/test.js +224 -0
  738. package/claw/node_modules/for-each/tsconfig.json +8 -0
  739. package/claw/node_modules/function-bind/.eslintrc +21 -0
  740. package/claw/node_modules/function-bind/.github/FUNDING.yml +12 -0
  741. package/claw/node_modules/function-bind/.github/SECURITY.md +3 -0
  742. package/claw/node_modules/function-bind/.nycrc +13 -0
  743. package/claw/node_modules/function-bind/CHANGELOG.md +136 -0
  744. package/claw/node_modules/function-bind/LICENSE +20 -0
  745. package/claw/node_modules/function-bind/README.md +46 -0
  746. package/claw/node_modules/function-bind/implementation.js +84 -0
  747. package/claw/node_modules/function-bind/index.js +5 -0
  748. package/claw/node_modules/function-bind/package.json +87 -0
  749. package/claw/node_modules/function-bind/test/.eslintrc +9 -0
  750. package/claw/node_modules/function-bind/test/index.js +252 -0
  751. package/claw/node_modules/functions-have-names/.editorconfig +20 -0
  752. package/claw/node_modules/functions-have-names/.eslintrc +19 -0
  753. package/claw/node_modules/functions-have-names/.github/FUNDING.yml +12 -0
  754. package/claw/node_modules/functions-have-names/.nycrc +9 -0
  755. package/claw/node_modules/functions-have-names/CHANGELOG.md +89 -0
  756. package/claw/node_modules/functions-have-names/LICENSE +21 -0
  757. package/claw/node_modules/functions-have-names/README.md +40 -0
  758. package/claw/node_modules/functions-have-names/index.js +31 -0
  759. package/claw/node_modules/functions-have-names/package.json +55 -0
  760. package/claw/node_modules/functions-have-names/test/index.js +65 -0
  761. package/claw/node_modules/get-intrinsic/.eslintrc +42 -0
  762. package/claw/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
  763. package/claw/node_modules/get-intrinsic/.nycrc +9 -0
  764. package/claw/node_modules/get-intrinsic/CHANGELOG.md +186 -0
  765. package/claw/node_modules/get-intrinsic/LICENSE +21 -0
  766. package/claw/node_modules/get-intrinsic/README.md +71 -0
  767. package/claw/node_modules/get-intrinsic/index.js +378 -0
  768. package/claw/node_modules/get-intrinsic/package.json +97 -0
  769. package/claw/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
  770. package/claw/node_modules/get-proto/.eslintrc +10 -0
  771. package/claw/node_modules/get-proto/.github/FUNDING.yml +12 -0
  772. package/claw/node_modules/get-proto/.nycrc +9 -0
  773. package/claw/node_modules/get-proto/CHANGELOG.md +21 -0
  774. package/claw/node_modules/get-proto/LICENSE +21 -0
  775. package/claw/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
  776. package/claw/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
  777. package/claw/node_modules/get-proto/README.md +50 -0
  778. package/claw/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
  779. package/claw/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
  780. package/claw/node_modules/get-proto/index.d.ts +5 -0
  781. package/claw/node_modules/get-proto/index.js +27 -0
  782. package/claw/node_modules/get-proto/package.json +81 -0
  783. package/claw/node_modules/get-proto/test/index.js +68 -0
  784. package/claw/node_modules/get-proto/tsconfig.json +9 -0
  785. package/claw/node_modules/gopd/.eslintrc +16 -0
  786. package/claw/node_modules/gopd/.github/FUNDING.yml +12 -0
  787. package/claw/node_modules/gopd/CHANGELOG.md +45 -0
  788. package/claw/node_modules/gopd/LICENSE +21 -0
  789. package/claw/node_modules/gopd/README.md +40 -0
  790. package/claw/node_modules/gopd/gOPD.d.ts +1 -0
  791. package/claw/node_modules/gopd/gOPD.js +4 -0
  792. package/claw/node_modules/gopd/index.d.ts +5 -0
  793. package/claw/node_modules/gopd/index.js +15 -0
  794. package/claw/node_modules/gopd/package.json +77 -0
  795. package/claw/node_modules/gopd/test/index.js +36 -0
  796. package/claw/node_modules/gopd/tsconfig.json +9 -0
  797. package/claw/node_modules/has-property-descriptors/.eslintrc +13 -0
  798. package/claw/node_modules/has-property-descriptors/.github/FUNDING.yml +12 -0
  799. package/claw/node_modules/has-property-descriptors/.nycrc +9 -0
  800. package/claw/node_modules/has-property-descriptors/CHANGELOG.md +35 -0
  801. package/claw/node_modules/has-property-descriptors/LICENSE +21 -0
  802. package/claw/node_modules/has-property-descriptors/README.md +43 -0
  803. package/claw/node_modules/has-property-descriptors/index.js +22 -0
  804. package/claw/node_modules/has-property-descriptors/package.json +77 -0
  805. package/claw/node_modules/has-property-descriptors/test/index.js +57 -0
  806. package/claw/node_modules/has-symbols/.eslintrc +11 -0
  807. package/claw/node_modules/has-symbols/.github/FUNDING.yml +12 -0
  808. package/claw/node_modules/has-symbols/.nycrc +9 -0
  809. package/claw/node_modules/has-symbols/CHANGELOG.md +91 -0
  810. package/claw/node_modules/has-symbols/LICENSE +21 -0
  811. package/claw/node_modules/has-symbols/README.md +46 -0
  812. package/claw/node_modules/has-symbols/index.d.ts +3 -0
  813. package/claw/node_modules/has-symbols/index.js +14 -0
  814. package/claw/node_modules/has-symbols/package.json +111 -0
  815. package/claw/node_modules/has-symbols/shams.d.ts +3 -0
  816. package/claw/node_modules/has-symbols/shams.js +45 -0
  817. package/claw/node_modules/has-symbols/test/index.js +22 -0
  818. package/claw/node_modules/has-symbols/test/shams/core-js.js +29 -0
  819. package/claw/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
  820. package/claw/node_modules/has-symbols/test/tests.js +58 -0
  821. package/claw/node_modules/has-symbols/tsconfig.json +10 -0
  822. package/claw/node_modules/has-tostringtag/.eslintrc +5 -0
  823. package/claw/node_modules/has-tostringtag/.github/FUNDING.yml +12 -0
  824. package/claw/node_modules/has-tostringtag/.nycrc +13 -0
  825. package/claw/node_modules/has-tostringtag/CHANGELOG.md +42 -0
  826. package/claw/node_modules/has-tostringtag/LICENSE +21 -0
  827. package/claw/node_modules/has-tostringtag/README.md +46 -0
  828. package/claw/node_modules/has-tostringtag/index.d.ts +3 -0
  829. package/claw/node_modules/has-tostringtag/index.js +8 -0
  830. package/claw/node_modules/has-tostringtag/package.json +108 -0
  831. package/claw/node_modules/has-tostringtag/shams.d.ts +3 -0
  832. package/claw/node_modules/has-tostringtag/shams.js +8 -0
  833. package/claw/node_modules/has-tostringtag/test/index.js +21 -0
  834. package/claw/node_modules/has-tostringtag/test/shams/core-js.js +31 -0
  835. package/claw/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +30 -0
  836. package/claw/node_modules/has-tostringtag/test/tests.js +15 -0
  837. package/claw/node_modules/has-tostringtag/tsconfig.json +49 -0
  838. package/claw/node_modules/hash-base/.github/FUNDING.yml +12 -0
  839. package/claw/node_modules/hash-base/CHANGELOG.md +166 -0
  840. package/claw/node_modules/hash-base/LICENSE +21 -0
  841. package/claw/node_modules/hash-base/README.md +48 -0
  842. package/claw/node_modules/hash-base/index.js +109 -0
  843. package/claw/node_modules/hash-base/package.json +64 -0
  844. package/claw/node_modules/hash-base/to-buffer.js +20 -0
  845. package/claw/node_modules/hasown/.eslintrc +5 -0
  846. package/claw/node_modules/hasown/.github/FUNDING.yml +12 -0
  847. package/claw/node_modules/hasown/.nycrc +13 -0
  848. package/claw/node_modules/hasown/CHANGELOG.md +40 -0
  849. package/claw/node_modules/hasown/LICENSE +21 -0
  850. package/claw/node_modules/hasown/README.md +40 -0
  851. package/claw/node_modules/hasown/index.d.ts +3 -0
  852. package/claw/node_modules/hasown/index.js +8 -0
  853. package/claw/node_modules/hasown/package.json +92 -0
  854. package/claw/node_modules/hasown/tsconfig.json +6 -0
  855. package/claw/node_modules/inherits/LICENSE +16 -0
  856. package/claw/node_modules/inherits/README.md +42 -0
  857. package/claw/node_modules/inherits/inherits.js +9 -0
  858. package/claw/node_modules/inherits/inherits_browser.js +27 -0
  859. package/claw/node_modules/inherits/package.json +29 -0
  860. package/claw/node_modules/is-arguments/.editorconfig +20 -0
  861. package/claw/node_modules/is-arguments/.eslintrc +9 -0
  862. package/claw/node_modules/is-arguments/.github/FUNDING.yml +12 -0
  863. package/claw/node_modules/is-arguments/.nycrc +9 -0
  864. package/claw/node_modules/is-arguments/CHANGELOG.md +201 -0
  865. package/claw/node_modules/is-arguments/LICENSE +20 -0
  866. package/claw/node_modules/is-arguments/README.md +47 -0
  867. package/claw/node_modules/is-arguments/index.d.ts +6 -0
  868. package/claw/node_modules/is-arguments/index.js +44 -0
  869. package/claw/node_modules/is-arguments/package.json +105 -0
  870. package/claw/node_modules/is-arguments/test/index.js +47 -0
  871. package/claw/node_modules/is-arguments/tsconfig.json +9 -0
  872. package/claw/node_modules/is-callable/.editorconfig +31 -0
  873. package/claw/node_modules/is-callable/.eslintrc +10 -0
  874. package/claw/node_modules/is-callable/.github/FUNDING.yml +12 -0
  875. package/claw/node_modules/is-callable/.nycrc +9 -0
  876. package/claw/node_modules/is-callable/CHANGELOG.md +158 -0
  877. package/claw/node_modules/is-callable/LICENSE +22 -0
  878. package/claw/node_modules/is-callable/README.md +83 -0
  879. package/claw/node_modules/is-callable/index.js +101 -0
  880. package/claw/node_modules/is-callable/package.json +106 -0
  881. package/claw/node_modules/is-callable/test/index.js +244 -0
  882. package/claw/node_modules/is-date-object/.editorconfig +20 -0
  883. package/claw/node_modules/is-date-object/.eslintrc +9 -0
  884. package/claw/node_modules/is-date-object/.github/FUNDING.yml +12 -0
  885. package/claw/node_modules/is-date-object/.nycrc +10 -0
  886. package/claw/node_modules/is-date-object/CHANGELOG.md +134 -0
  887. package/claw/node_modules/is-date-object/LICENSE +22 -0
  888. package/claw/node_modules/is-date-object/README.md +52 -0
  889. package/claw/node_modules/is-date-object/index.d.ts +3 -0
  890. package/claw/node_modules/is-date-object/index.js +27 -0
  891. package/claw/node_modules/is-date-object/package.json +99 -0
  892. package/claw/node_modules/is-date-object/test/index.js +38 -0
  893. package/claw/node_modules/is-date-object/tsconfig.json +6 -0
  894. package/claw/node_modules/is-regex/.editorconfig +23 -0
  895. package/claw/node_modules/is-regex/.eslintrc +10 -0
  896. package/claw/node_modules/is-regex/.nycrc +10 -0
  897. package/claw/node_modules/is-regex/CHANGELOG.md +233 -0
  898. package/claw/node_modules/is-regex/LICENSE +20 -0
  899. package/claw/node_modules/is-regex/README.md +52 -0
  900. package/claw/node_modules/is-regex/index.d.ts +3 -0
  901. package/claw/node_modules/is-regex/index.js +69 -0
  902. package/claw/node_modules/is-regex/package.json +104 -0
  903. package/claw/node_modules/is-regex/test/index.js +121 -0
  904. package/claw/node_modules/is-regex/tsconfig.json +9 -0
  905. package/claw/node_modules/is-typed-array/.editorconfig +20 -0
  906. package/claw/node_modules/is-typed-array/.eslintrc +13 -0
  907. package/claw/node_modules/is-typed-array/.github/FUNDING.yml +12 -0
  908. package/claw/node_modules/is-typed-array/.nycrc +9 -0
  909. package/claw/node_modules/is-typed-array/CHANGELOG.md +166 -0
  910. package/claw/node_modules/is-typed-array/LICENSE +22 -0
  911. package/claw/node_modules/is-typed-array/README.md +70 -0
  912. package/claw/node_modules/is-typed-array/index.d.ts +9 -0
  913. package/claw/node_modules/is-typed-array/index.js +8 -0
  914. package/claw/node_modules/is-typed-array/package.json +129 -0
  915. package/claw/node_modules/is-typed-array/test/index.js +111 -0
  916. package/claw/node_modules/is-typed-array/tsconfig.json +6 -0
  917. package/claw/node_modules/isarray/.travis.yml +4 -0
  918. package/claw/node_modules/isarray/Makefile +6 -0
  919. package/claw/node_modules/isarray/README.md +60 -0
  920. package/claw/node_modules/isarray/component.json +19 -0
  921. package/claw/node_modules/isarray/index.js +5 -0
  922. package/claw/node_modules/isarray/package.json +45 -0
  923. package/claw/node_modules/isarray/test.js +20 -0
  924. package/claw/node_modules/isomorphic-ws/LICENSE +21 -0
  925. package/claw/node_modules/isomorphic-ws/README.md +58 -0
  926. package/claw/node_modules/isomorphic-ws/browser.js +17 -0
  927. package/claw/node_modules/isomorphic-ws/index.d.ts +8 -0
  928. package/claw/node_modules/isomorphic-ws/node.js +3 -0
  929. package/claw/node_modules/isomorphic-ws/package.json +34 -0
  930. package/claw/node_modules/long/.travis.yml +5 -0
  931. package/claw/node_modules/long/LICENSE +202 -0
  932. package/claw/node_modules/long/README.md +513 -0
  933. package/claw/node_modules/long/bower.json +9 -0
  934. package/claw/node_modules/long/dist/README.md +16 -0
  935. package/claw/node_modules/long/dist/long.js +1209 -0
  936. package/claw/node_modules/long/dist/long.min.js +20 -0
  937. package/claw/node_modules/long/dist/long.min.js.gz +0 -0
  938. package/claw/node_modules/long/dist/long.min.map +8 -0
  939. package/claw/node_modules/long/doco/INDEX.md +6 -0
  940. package/claw/node_modules/long/doco/Long.md +473 -0
  941. package/claw/node_modules/long/donate.png +0 -0
  942. package/claw/node_modules/long/externs/long.js +416 -0
  943. package/claw/node_modules/long/index.js +1 -0
  944. package/claw/node_modules/long/jsdoc.json +13 -0
  945. package/claw/node_modules/long/long.png +0 -0
  946. package/claw/node_modules/long/package.json +33 -0
  947. package/claw/node_modules/long/scripts/build.js +28 -0
  948. package/claw/node_modules/long/src/bower.json +9 -0
  949. package/claw/node_modules/long/src/long.js +1172 -0
  950. package/claw/node_modules/long/src/wrap.js +38 -0
  951. package/claw/node_modules/long/tests/goog.math.long.js +807 -0
  952. package/claw/node_modules/long/tests/suite.js +195 -0
  953. package/claw/node_modules/lzma/.travis.yml +9 -0
  954. package/claw/node_modules/lzma/LICENSE +20 -0
  955. package/claw/node_modules/lzma/THANKS +7 -0
  956. package/claw/node_modules/lzma/bin/lzma.js +362 -0
  957. package/claw/node_modules/lzma/index.js +19 -0
  958. package/claw/node_modules/lzma/package.json +30 -0
  959. package/claw/node_modules/lzma/readme.md +149 -0
  960. package/claw/node_modules/lzma/src/lzma-c-min.js +1 -0
  961. package/claw/node_modules/lzma/src/lzma-c.js +2021 -0
  962. package/claw/node_modules/lzma/src/lzma-d-min.js +1 -0
  963. package/claw/node_modules/lzma/src/lzma-d.js +878 -0
  964. package/claw/node_modules/lzma/src/lzma-min.js +2 -0
  965. package/claw/node_modules/lzma/src/lzma.js +153 -0
  966. package/claw/node_modules/lzma/src/lzma_worker-min.js +2 -0
  967. package/claw/node_modules/lzma/src/lzma_worker.js +2668 -0
  968. package/claw/node_modules/math-intrinsics/.eslintrc +16 -0
  969. package/claw/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
  970. package/claw/node_modules/math-intrinsics/CHANGELOG.md +24 -0
  971. package/claw/node_modules/math-intrinsics/LICENSE +21 -0
  972. package/claw/node_modules/math-intrinsics/README.md +50 -0
  973. package/claw/node_modules/math-intrinsics/abs.d.ts +1 -0
  974. package/claw/node_modules/math-intrinsics/abs.js +4 -0
  975. package/claw/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
  976. package/claw/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
  977. package/claw/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
  978. package/claw/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
  979. package/claw/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
  980. package/claw/node_modules/math-intrinsics/constants/maxValue.js +5 -0
  981. package/claw/node_modules/math-intrinsics/floor.d.ts +1 -0
  982. package/claw/node_modules/math-intrinsics/floor.js +4 -0
  983. package/claw/node_modules/math-intrinsics/isFinite.d.ts +3 -0
  984. package/claw/node_modules/math-intrinsics/isFinite.js +12 -0
  985. package/claw/node_modules/math-intrinsics/isInteger.d.ts +3 -0
  986. package/claw/node_modules/math-intrinsics/isInteger.js +16 -0
  987. package/claw/node_modules/math-intrinsics/isNaN.d.ts +1 -0
  988. package/claw/node_modules/math-intrinsics/isNaN.js +6 -0
  989. package/claw/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
  990. package/claw/node_modules/math-intrinsics/isNegativeZero.js +6 -0
  991. package/claw/node_modules/math-intrinsics/max.d.ts +1 -0
  992. package/claw/node_modules/math-intrinsics/max.js +4 -0
  993. package/claw/node_modules/math-intrinsics/min.d.ts +1 -0
  994. package/claw/node_modules/math-intrinsics/min.js +4 -0
  995. package/claw/node_modules/math-intrinsics/mod.d.ts +3 -0
  996. package/claw/node_modules/math-intrinsics/mod.js +9 -0
  997. package/claw/node_modules/math-intrinsics/package.json +86 -0
  998. package/claw/node_modules/math-intrinsics/pow.d.ts +1 -0
  999. package/claw/node_modules/math-intrinsics/pow.js +4 -0
  1000. package/claw/node_modules/math-intrinsics/round.d.ts +1 -0
  1001. package/claw/node_modules/math-intrinsics/round.js +4 -0
  1002. package/claw/node_modules/math-intrinsics/sign.d.ts +3 -0
  1003. package/claw/node_modules/math-intrinsics/sign.js +11 -0
  1004. package/claw/node_modules/math-intrinsics/test/index.js +192 -0
  1005. package/claw/node_modules/math-intrinsics/tsconfig.json +3 -0
  1006. package/claw/node_modules/md5.js/LICENSE +21 -0
  1007. package/claw/node_modules/md5.js/README.md +29 -0
  1008. package/claw/node_modules/md5.js/index.js +146 -0
  1009. package/claw/node_modules/md5.js/package.json +38 -0
  1010. package/claw/node_modules/object-is/.eslintrc +5 -0
  1011. package/claw/node_modules/object-is/.nycrc +9 -0
  1012. package/claw/node_modules/object-is/CHANGELOG.md +175 -0
  1013. package/claw/node_modules/object-is/LICENSE +20 -0
  1014. package/claw/node_modules/object-is/README.md +60 -0
  1015. package/claw/node_modules/object-is/auto.js +3 -0
  1016. package/claw/node_modules/object-is/implementation.js +19 -0
  1017. package/claw/node_modules/object-is/index.js +18 -0
  1018. package/claw/node_modules/object-is/package.json +96 -0
  1019. package/claw/node_modules/object-is/polyfill.js +7 -0
  1020. package/claw/node_modules/object-is/shim.js +14 -0
  1021. package/claw/node_modules/object-is/test/implementation.js +12 -0
  1022. package/claw/node_modules/object-is/test/index.js +12 -0
  1023. package/claw/node_modules/object-is/test/shimmed.js +28 -0
  1024. package/claw/node_modules/object-is/test/tests.js +57 -0
  1025. package/claw/node_modules/object-keys/.editorconfig +13 -0
  1026. package/claw/node_modules/object-keys/.eslintrc +17 -0
  1027. package/claw/node_modules/object-keys/.travis.yml +277 -0
  1028. package/claw/node_modules/object-keys/CHANGELOG.md +232 -0
  1029. package/claw/node_modules/object-keys/LICENSE +21 -0
  1030. package/claw/node_modules/object-keys/README.md +76 -0
  1031. package/claw/node_modules/object-keys/implementation.js +122 -0
  1032. package/claw/node_modules/object-keys/index.js +32 -0
  1033. package/claw/node_modules/object-keys/isArguments.js +17 -0
  1034. package/claw/node_modules/object-keys/package.json +88 -0
  1035. package/claw/node_modules/object-keys/test/index.js +5 -0
  1036. package/claw/node_modules/object.assign/.editorconfig +20 -0
  1037. package/claw/node_modules/object.assign/.eslintrc +28 -0
  1038. package/claw/node_modules/object.assign/.github/FUNDING.yml +12 -0
  1039. package/claw/node_modules/object.assign/.nycrc +9 -0
  1040. package/claw/node_modules/object.assign/CHANGELOG.md +246 -0
  1041. package/claw/node_modules/object.assign/LICENSE +21 -0
  1042. package/claw/node_modules/object.assign/README.md +136 -0
  1043. package/claw/node_modules/object.assign/auto.js +3 -0
  1044. package/claw/node_modules/object.assign/dist/browser.js +1304 -0
  1045. package/claw/node_modules/object.assign/hasSymbols.js +43 -0
  1046. package/claw/node_modules/object.assign/implementation.js +46 -0
  1047. package/claw/node_modules/object.assign/index.js +22 -0
  1048. package/claw/node_modules/object.assign/package.json +96 -0
  1049. package/claw/node_modules/object.assign/polyfill.js +55 -0
  1050. package/claw/node_modules/object.assign/shim.js +14 -0
  1051. package/claw/node_modules/object.assign/test/implementation.js +19 -0
  1052. package/claw/node_modules/object.assign/test/index.js +17 -0
  1053. package/claw/node_modules/object.assign/test/native.js +49 -0
  1054. package/claw/node_modules/object.assign/test/ses-compat.js +12 -0
  1055. package/claw/node_modules/object.assign/test/shimmed.js +52 -0
  1056. package/claw/node_modules/object.assign/test/tests.js +232 -0
  1057. package/claw/node_modules/possible-typed-array-names/.eslintrc +5 -0
  1058. package/claw/node_modules/possible-typed-array-names/.github/FUNDING.yml +12 -0
  1059. package/claw/node_modules/possible-typed-array-names/CHANGELOG.md +29 -0
  1060. package/claw/node_modules/possible-typed-array-names/LICENSE +21 -0
  1061. package/claw/node_modules/possible-typed-array-names/README.md +50 -0
  1062. package/claw/node_modules/possible-typed-array-names/index.d.ts +16 -0
  1063. package/claw/node_modules/possible-typed-array-names/index.js +17 -0
  1064. package/claw/node_modules/possible-typed-array-names/package.json +84 -0
  1065. package/claw/node_modules/possible-typed-array-names/test/index.js +19 -0
  1066. package/claw/node_modules/possible-typed-array-names/tsconfig.json +9 -0
  1067. package/claw/node_modules/process-nextick-args/index.js +45 -0
  1068. package/claw/node_modules/process-nextick-args/license.md +19 -0
  1069. package/claw/node_modules/process-nextick-args/package.json +25 -0
  1070. package/claw/node_modules/process-nextick-args/readme.md +18 -0
  1071. package/claw/node_modules/readable-stream/.travis.yml +34 -0
  1072. package/claw/node_modules/readable-stream/CONTRIBUTING.md +38 -0
  1073. package/claw/node_modules/readable-stream/GOVERNANCE.md +136 -0
  1074. package/claw/node_modules/readable-stream/LICENSE +47 -0
  1075. package/claw/node_modules/readable-stream/README.md +58 -0
  1076. package/claw/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
  1077. package/claw/node_modules/readable-stream/duplex-browser.js +1 -0
  1078. package/claw/node_modules/readable-stream/duplex.js +1 -0
  1079. package/claw/node_modules/readable-stream/lib/_stream_duplex.js +131 -0
  1080. package/claw/node_modules/readable-stream/lib/_stream_passthrough.js +47 -0
  1081. package/claw/node_modules/readable-stream/lib/_stream_readable.js +1019 -0
  1082. package/claw/node_modules/readable-stream/lib/_stream_transform.js +214 -0
  1083. package/claw/node_modules/readable-stream/lib/_stream_writable.js +685 -0
  1084. package/claw/node_modules/readable-stream/lib/internal/streams/BufferList.js +78 -0
  1085. package/claw/node_modules/readable-stream/lib/internal/streams/destroy.js +84 -0
  1086. package/claw/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
  1087. package/claw/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
  1088. package/claw/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +21 -0
  1089. package/claw/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
  1090. package/claw/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
  1091. package/claw/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
  1092. package/claw/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
  1093. package/claw/node_modules/readable-stream/package.json +52 -0
  1094. package/claw/node_modules/readable-stream/passthrough.js +1 -0
  1095. package/claw/node_modules/readable-stream/readable-browser.js +7 -0
  1096. package/claw/node_modules/readable-stream/readable.js +19 -0
  1097. package/claw/node_modules/readable-stream/transform.js +1 -0
  1098. package/claw/node_modules/readable-stream/writable-browser.js +1 -0
  1099. package/claw/node_modules/readable-stream/writable.js +8 -0
  1100. package/claw/node_modules/regexp.prototype.flags/.editorconfig +13 -0
  1101. package/claw/node_modules/regexp.prototype.flags/.eslintrc +20 -0
  1102. package/claw/node_modules/regexp.prototype.flags/.nycrc +9 -0
  1103. package/claw/node_modules/regexp.prototype.flags/CHANGELOG.md +249 -0
  1104. package/claw/node_modules/regexp.prototype.flags/LICENSE +22 -0
  1105. package/claw/node_modules/regexp.prototype.flags/README.md +55 -0
  1106. package/claw/node_modules/regexp.prototype.flags/auto.js +3 -0
  1107. package/claw/node_modules/regexp.prototype.flags/implementation.js +39 -0
  1108. package/claw/node_modules/regexp.prototype.flags/index.js +18 -0
  1109. package/claw/node_modules/regexp.prototype.flags/package.json +105 -0
  1110. package/claw/node_modules/regexp.prototype.flags/polyfill.js +39 -0
  1111. package/claw/node_modules/regexp.prototype.flags/shim.js +26 -0
  1112. package/claw/node_modules/regexp.prototype.flags/test/builtin.js +46 -0
  1113. package/claw/node_modules/regexp.prototype.flags/test/implementation.js +20 -0
  1114. package/claw/node_modules/regexp.prototype.flags/test/index.js +17 -0
  1115. package/claw/node_modules/regexp.prototype.flags/test/shimmed.js +48 -0
  1116. package/claw/node_modules/regexp.prototype.flags/test/tests.js +143 -0
  1117. package/claw/node_modules/ripemd160/.github/FUNDING.yml +12 -0
  1118. package/claw/node_modules/ripemd160/CHANGELOG.md +109 -0
  1119. package/claw/node_modules/ripemd160/LICENSE +21 -0
  1120. package/claw/node_modules/ripemd160/README.md +27 -0
  1121. package/claw/node_modules/ripemd160/index.js +167 -0
  1122. package/claw/node_modules/ripemd160/package.json +64 -0
  1123. package/claw/node_modules/safe-buffer/LICENSE +21 -0
  1124. package/claw/node_modules/safe-buffer/README.md +584 -0
  1125. package/claw/node_modules/safe-buffer/index.d.ts +187 -0
  1126. package/claw/node_modules/safe-buffer/index.js +65 -0
  1127. package/claw/node_modules/safe-buffer/package.json +51 -0
  1128. package/claw/node_modules/secure-random/CHANGELOG.md +51 -0
  1129. package/claw/node_modules/secure-random/Makefile +8 -0
  1130. package/claw/node_modules/secure-random/README.md +133 -0
  1131. package/claw/node_modules/secure-random/lib/secure-random.js +83 -0
  1132. package/claw/node_modules/secure-random/package.json +45 -0
  1133. package/claw/node_modules/set-function-length/.eslintrc +27 -0
  1134. package/claw/node_modules/set-function-length/.github/FUNDING.yml +12 -0
  1135. package/claw/node_modules/set-function-length/.nycrc +13 -0
  1136. package/claw/node_modules/set-function-length/CHANGELOG.md +70 -0
  1137. package/claw/node_modules/set-function-length/LICENSE +21 -0
  1138. package/claw/node_modules/set-function-length/README.md +56 -0
  1139. package/claw/node_modules/set-function-length/env.d.ts +9 -0
  1140. package/claw/node_modules/set-function-length/env.js +25 -0
  1141. package/claw/node_modules/set-function-length/index.d.ts +7 -0
  1142. package/claw/node_modules/set-function-length/index.js +42 -0
  1143. package/claw/node_modules/set-function-length/package.json +102 -0
  1144. package/claw/node_modules/set-function-length/tsconfig.json +9 -0
  1145. package/claw/node_modules/set-function-name/.eslintrc +21 -0
  1146. package/claw/node_modules/set-function-name/.github/FUNDING.yml +12 -0
  1147. package/claw/node_modules/set-function-name/CHANGELOG.md +48 -0
  1148. package/claw/node_modules/set-function-name/LICENSE +21 -0
  1149. package/claw/node_modules/set-function-name/README.md +61 -0
  1150. package/claw/node_modules/set-function-name/index.d.ts +5 -0
  1151. package/claw/node_modules/set-function-name/index.js +23 -0
  1152. package/claw/node_modules/set-function-name/package.json +99 -0
  1153. package/claw/node_modules/set-function-name/tsconfig.json +59 -0
  1154. package/claw/node_modules/sha.js/.eslintrc +76 -0
  1155. package/claw/node_modules/sha.js/CHANGELOG.md +423 -0
  1156. package/claw/node_modules/sha.js/LICENSE +49 -0
  1157. package/claw/node_modules/sha.js/README.md +44 -0
  1158. package/claw/node_modules/sha.js/bin.js +44 -0
  1159. package/claw/node_modules/sha.js/hash.js +84 -0
  1160. package/claw/node_modules/sha.js/index.js +19 -0
  1161. package/claw/node_modules/sha.js/package.json +58 -0
  1162. package/claw/node_modules/sha.js/sha.js +104 -0
  1163. package/claw/node_modules/sha.js/sha1.js +109 -0
  1164. package/claw/node_modules/sha.js/sha224.js +55 -0
  1165. package/claw/node_modules/sha.js/sha256.js +189 -0
  1166. package/claw/node_modules/sha.js/sha384.js +59 -0
  1167. package/claw/node_modules/sha.js/sha512.js +382 -0
  1168. package/claw/node_modules/sha.js/test/hash.js +80 -0
  1169. package/claw/node_modules/sha.js/test/test.js +138 -0
  1170. package/claw/node_modules/sha.js/test/vectors.js +72 -0
  1171. package/claw/node_modules/string_decoder/.travis.yml +50 -0
  1172. package/claw/node_modules/string_decoder/LICENSE +48 -0
  1173. package/claw/node_modules/string_decoder/README.md +47 -0
  1174. package/claw/node_modules/string_decoder/lib/string_decoder.js +296 -0
  1175. package/claw/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
  1176. package/claw/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
  1177. package/claw/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
  1178. package/claw/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
  1179. package/claw/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
  1180. package/claw/node_modules/string_decoder/package.json +31 -0
  1181. package/claw/node_modules/to-buffer/.github/FUNDING.yml +12 -0
  1182. package/claw/node_modules/to-buffer/CHANGELOG.md +81 -0
  1183. package/claw/node_modules/to-buffer/LICENSE +21 -0
  1184. package/claw/node_modules/to-buffer/README.md +44 -0
  1185. package/claw/node_modules/to-buffer/index.js +109 -0
  1186. package/claw/node_modules/to-buffer/node_modules/isarray/LICENSE +21 -0
  1187. package/claw/node_modules/to-buffer/node_modules/isarray/README.md +38 -0
  1188. package/claw/node_modules/to-buffer/node_modules/isarray/index.js +5 -0
  1189. package/claw/node_modules/to-buffer/node_modules/isarray/package.json +48 -0
  1190. package/claw/node_modules/to-buffer/package.json +62 -0
  1191. package/claw/node_modules/typed-array-buffer/.eslintrc +13 -0
  1192. package/claw/node_modules/typed-array-buffer/.github/FUNDING.yml +12 -0
  1193. package/claw/node_modules/typed-array-buffer/.nycrc +13 -0
  1194. package/claw/node_modules/typed-array-buffer/CHANGELOG.md +50 -0
  1195. package/claw/node_modules/typed-array-buffer/LICENSE +21 -0
  1196. package/claw/node_modules/typed-array-buffer/README.md +42 -0
  1197. package/claw/node_modules/typed-array-buffer/index.d.ts +9 -0
  1198. package/claw/node_modules/typed-array-buffer/index.js +19 -0
  1199. package/claw/node_modules/typed-array-buffer/package.json +82 -0
  1200. package/claw/node_modules/typed-array-buffer/test/index.js +23 -0
  1201. package/claw/node_modules/typed-array-buffer/tsconfig.json +9 -0
  1202. package/claw/node_modules/util/LICENSE +18 -0
  1203. package/claw/node_modules/util/README.md +15 -0
  1204. package/claw/node_modules/util/node_modules/inherits/LICENSE +16 -0
  1205. package/claw/node_modules/util/node_modules/inherits/README.md +42 -0
  1206. package/claw/node_modules/util/node_modules/inherits/inherits.js +7 -0
  1207. package/claw/node_modules/util/node_modules/inherits/inherits_browser.js +23 -0
  1208. package/claw/node_modules/util/node_modules/inherits/package.json +29 -0
  1209. package/claw/node_modules/util/package.json +35 -0
  1210. package/claw/node_modules/util/support/isBuffer.js +3 -0
  1211. package/claw/node_modules/util/support/isBufferBrowser.js +6 -0
  1212. package/claw/node_modules/util/util.js +586 -0
  1213. package/claw/node_modules/util-deprecate/History.md +16 -0
  1214. package/claw/node_modules/util-deprecate/LICENSE +24 -0
  1215. package/claw/node_modules/util-deprecate/README.md +53 -0
  1216. package/claw/node_modules/util-deprecate/browser.js +67 -0
  1217. package/claw/node_modules/util-deprecate/node.js +6 -0
  1218. package/claw/node_modules/util-deprecate/package.json +27 -0
  1219. package/claw/node_modules/which-typed-array/.editorconfig +20 -0
  1220. package/claw/node_modules/which-typed-array/.eslintrc +10 -0
  1221. package/claw/node_modules/which-typed-array/.github/FUNDING.yml +12 -0
  1222. package/claw/node_modules/which-typed-array/.nycrc +13 -0
  1223. package/claw/node_modules/which-typed-array/CHANGELOG.md +269 -0
  1224. package/claw/node_modules/which-typed-array/LICENSE +22 -0
  1225. package/claw/node_modules/which-typed-array/README.md +70 -0
  1226. package/claw/node_modules/which-typed-array/index.d.ts +66 -0
  1227. package/claw/node_modules/which-typed-array/index.js +122 -0
  1228. package/claw/node_modules/which-typed-array/package.json +130 -0
  1229. package/claw/node_modules/which-typed-array/test/index.js +105 -0
  1230. package/claw/node_modules/which-typed-array/tsconfig.json +9 -0
  1231. package/claw/node_modules/ws/LICENSE +21 -0
  1232. package/claw/node_modules/ws/README.md +449 -0
  1233. package/claw/node_modules/ws/browser.js +8 -0
  1234. package/claw/node_modules/ws/index.js +9 -0
  1235. package/claw/node_modules/ws/lib/buffer-util.js +144 -0
  1236. package/claw/node_modules/ws/lib/constants.js +10 -0
  1237. package/claw/node_modules/ws/lib/event-target.js +170 -0
  1238. package/claw/node_modules/ws/lib/extension.js +222 -0
  1239. package/claw/node_modules/ws/lib/permessage-deflate.js +502 -0
  1240. package/claw/node_modules/ws/lib/receiver.js +492 -0
  1241. package/claw/node_modules/ws/lib/sender.js +358 -0
  1242. package/claw/node_modules/ws/lib/validation.js +30 -0
  1243. package/claw/node_modules/ws/lib/websocket-server.js +415 -0
  1244. package/claw/node_modules/ws/lib/websocket.js +895 -0
  1245. package/claw/node_modules/ws/package.json +45 -0
  1246. package/claw/openclaw.plugin.json +13 -0
  1247. package/claw/package.json +58 -0
  1248. package/claw/runtimes/openclaw-plugin/index.ts +38 -0
  1249. package/claw/runtimes/openclaw-plugin/openclaw.plugin.json +14 -0
  1250. package/claw/runtimes/openclaw-plugin/package.json +7 -0
  1251. package/claw/runtimes/openclaw-plugin/plugin-entry.d.ts +10 -0
  1252. package/claw/runtimes/openclaw-plugin/skills/bitshares-claw/SKILL.md +20 -0
  1253. package/claw/scripts/claw_bridge.ts +139 -0
  1254. package/claw/scripts/claw_mcp_server.ts +133 -0
  1255. package/claw/scripts/claw_skill_md.ts +92 -0
  1256. package/claw/scripts/honest_assets_report.ts +405 -0
  1257. package/claw/scripts/memu_mcp_server.ts +438 -0
  1258. package/claw/tests/package.json +3 -0
  1259. package/claw/tests/test_claw_bridge.ts +542 -0
  1260. package/claw/tests/test_claw_catalog_and_credentials.ts +152 -0
  1261. package/claw/tests/test_claw_chain_layer.ts +719 -0
  1262. package/claw/tests/test_claw_data_flow.ts +515 -0
  1263. package/claw/tests/test_claw_domain_logic.ts +465 -0
  1264. package/claw/tests/test_claw_manifest_and_matrix.ts +202 -0
  1265. package/claw/tests/test_claw_mcp_transport.ts +238 -0
  1266. package/claw/tests/test_claw_regressions.ts +580 -0
  1267. package/claw/tests/test_claw_skill_generation.ts +103 -0
  1268. package/claw/tests/test_claw_state_store.ts +44 -0
  1269. package/claw/tests/test_dexbot_profiles.ts +572 -0
  1270. package/claw/tests/test_memu_bridge.ts +189 -0
  1271. package/claw/tests/test_nullclaw_tmp_integration.ts +58 -0
  1272. package/claw/tests/test_position_health.ts +419 -0
  1273. package/claw/tests/test_position_manager.ts +427 -0
  1274. package/claw/tests/test_position_manager_watch_health.ts +104 -0
  1275. package/claw/tests/test_short_mpa_strategy.ts +229 -0
  1276. package/claw/tsconfig.json +35 -0
  1277. package/dist/analysis/chart_utils.d.ts.map +1 -1
  1278. package/dist/analysis/chart_utils.js +9 -18
  1279. package/dist/analysis/chart_utils.js.map +1 -1
  1280. package/dist/analysis/math_utils.d.ts.map +1 -1
  1281. package/dist/analysis/math_utils.js +6 -16
  1282. package/dist/analysis/math_utils.js.map +1 -1
  1283. package/dist/analysis/tradingview/tradingview_uplot_chart_generator.d.ts +1 -1
  1284. package/dist/analysis/tradingview/tradingview_uplot_chart_generator.d.ts.map +1 -1
  1285. package/dist/analysis/tradingview/tradingview_uplot_chart_generator.js +31 -38
  1286. package/dist/analysis/tradingview/tradingview_uplot_chart_generator.js.map +1 -1
  1287. package/dist/analysis/trend_detection/hurst_analyzer.js +7 -10
  1288. package/dist/analysis/trend_detection/hurst_analyzer.js.map +1 -1
  1289. package/dist/analysis/trend_detection/kalman_trend_analyzer.js +10 -14
  1290. package/dist/analysis/trend_detection/kalman_trend_analyzer.js.map +1 -1
  1291. package/dist/analysis/trend_detection/kalman_velocity_smoothing.js +10 -15
  1292. package/dist/analysis/trend_detection/kalman_velocity_smoothing.js.map +1 -1
  1293. package/dist/analysis/trend_detection/permutation_entropy_analyzer.js +7 -10
  1294. package/dist/analysis/trend_detection/permutation_entropy_analyzer.js.map +1 -1
  1295. package/dist/bot.d.ts.map +1 -1
  1296. package/dist/bot.js +4 -12
  1297. package/dist/bot.js.map +1 -1
  1298. package/dist/credential-daemon.d.ts +1 -2
  1299. package/dist/credential-daemon.d.ts.map +1 -1
  1300. package/dist/credential-daemon.js +4 -124
  1301. package/dist/credential-daemon.js.map +1 -1
  1302. package/dist/dexbot.d.ts +0 -87
  1303. package/dist/dexbot.d.ts.map +1 -1
  1304. package/dist/dexbot.js +20 -23
  1305. package/dist/dexbot.js.map +1 -1
  1306. package/dist/market_adapter/ama_signal_runner.js +8 -9
  1307. package/dist/market_adapter/ama_signal_runner.js.map +1 -1
  1308. package/dist/market_adapter/candle_utils.js +1 -7
  1309. package/dist/market_adapter/candle_utils.js.map +1 -1
  1310. package/dist/market_adapter/core/asymmetric_bounds.js +1 -4
  1311. package/dist/market_adapter/core/asymmetric_bounds.js.map +1 -1
  1312. package/dist/market_adapter/core/config_normalizers.js +5 -9
  1313. package/dist/market_adapter/core/config_normalizers.js.map +1 -1
  1314. package/dist/market_adapter/core/kibana_candles.js +8 -15
  1315. package/dist/market_adapter/core/kibana_candles.js.map +1 -1
  1316. package/dist/market_adapter/core/kibana_client.js +7 -13
  1317. package/dist/market_adapter/core/kibana_client.js.map +1 -1
  1318. package/dist/market_adapter/core/kibana_market_candles.js +6 -12
  1319. package/dist/market_adapter/core/kibana_market_candles.js.map +1 -1
  1320. package/dist/market_adapter/core/market_adapter_service.js +92 -102
  1321. package/dist/market_adapter/core/market_adapter_service.js.map +1 -1
  1322. package/dist/market_adapter/core/strategies/ama.js +5 -10
  1323. package/dist/market_adapter/core/strategies/ama.js.map +1 -1
  1324. package/dist/market_adapter/core/strategies/ama_slope_model.js +21 -24
  1325. package/dist/market_adapter/core/strategies/ama_slope_model.js.map +1 -1
  1326. package/dist/market_adapter/core/strategies/atr/calculator.js +3 -5
  1327. package/dist/market_adapter/core/strategies/atr/calculator.js.map +1 -1
  1328. package/dist/market_adapter/core/strategies/collateral_manager.js +4 -6
  1329. package/dist/market_adapter/core/strategies/collateral_manager.js.map +1 -1
  1330. package/dist/market_adapter/core/strategies/regime_gate.js +15 -22
  1331. package/dist/market_adapter/core/strategies/regime_gate.js.map +1 -1
  1332. package/dist/market_adapter/index.d.ts +23 -23
  1333. package/dist/market_adapter/index.d.ts.map +1 -1
  1334. package/dist/market_adapter/index.js +24 -82
  1335. package/dist/market_adapter/index.js.map +1 -1
  1336. package/dist/market_adapter/inputs/fetch_cex_synthetic_data.js +2 -1
  1337. package/dist/market_adapter/inputs/fetch_cex_synthetic_data.js.map +1 -1
  1338. package/dist/market_adapter/inputs/fetch_lp_data.d.ts.map +1 -1
  1339. package/dist/market_adapter/inputs/fetch_lp_data.js +59 -98
  1340. package/dist/market_adapter/inputs/fetch_lp_data.js.map +1 -1
  1341. package/dist/market_adapter/inputs/kibana_source.js +11 -17
  1342. package/dist/market_adapter/inputs/kibana_source.js.map +1 -1
  1343. package/dist/market_adapter/interval_utils.js +1 -2
  1344. package/dist/market_adapter/interval_utils.js.map +1 -1
  1345. package/dist/market_adapter/log_format.js +1 -7
  1346. package/dist/market_adapter/log_format.js.map +1 -1
  1347. package/dist/market_adapter/lp_chart_core.js +20 -22
  1348. package/dist/market_adapter/lp_chart_core.js.map +1 -1
  1349. package/dist/market_adapter/lp_chart_runner.d.ts +1 -1
  1350. package/dist/market_adapter/lp_chart_runner.d.ts.map +1 -1
  1351. package/dist/market_adapter/lp_chart_runner.js +41 -57
  1352. package/dist/market_adapter/lp_chart_runner.js.map +1 -1
  1353. package/dist/market_adapter/lp_chart_strategy_loader.js +30 -34
  1354. package/dist/market_adapter/lp_chart_strategy_loader.js.map +1 -1
  1355. package/dist/market_adapter/market_adapter.d.ts +2 -2
  1356. package/dist/market_adapter/market_adapter.d.ts.map +1 -1
  1357. package/dist/market_adapter/market_adapter.js +157 -221
  1358. package/dist/market_adapter/market_adapter.js.map +1 -1
  1359. package/dist/market_adapter/merge_lp_data.js +17 -18
  1360. package/dist/market_adapter/merge_lp_data.js.map +1 -1
  1361. package/dist/market_adapter/test_helpers.js +3 -14
  1362. package/dist/market_adapter/test_helpers.js.map +1 -1
  1363. package/dist/market_adapter/utils/adapter_client.js +7 -16
  1364. package/dist/market_adapter/utils/adapter_client.js.map +1 -1
  1365. package/dist/market_adapter/utils/atomic_write.js +3 -5
  1366. package/dist/market_adapter/utils/atomic_write.js.map +1 -1
  1367. package/dist/market_adapter/utils/chain.d.ts.map +1 -1
  1368. package/dist/market_adapter/utils/chain.js +9 -17
  1369. package/dist/market_adapter/utils/chain.js.map +1 -1
  1370. package/dist/market_adapter/utils/data_discovery.js +8 -10
  1371. package/dist/market_adapter/utils/data_discovery.js.map +1 -1
  1372. package/dist/market_adapter/utils/dynamic_grid_snapshot.d.ts.map +1 -1
  1373. package/dist/market_adapter/utils/dynamic_grid_snapshot.js +11 -14
  1374. package/dist/market_adapter/utils/dynamic_grid_snapshot.js.map +1 -1
  1375. package/dist/market_adapter/utils/file_lock.js +14 -19
  1376. package/dist/market_adapter/utils/file_lock.js.map +1 -1
  1377. package/dist/market_adapter/utils/native_history.js +8 -14
  1378. package/dist/market_adapter/utils/native_history.js.map +1 -1
  1379. package/dist/market_adapter/utils/paths.js +3 -6
  1380. package/dist/market_adapter/utils/paths.js.map +1 -1
  1381. package/dist/modules/account_bots.d.ts +1 -1
  1382. package/dist/modules/account_bots.d.ts.map +1 -1
  1383. package/dist/modules/account_bots.js +90 -97
  1384. package/dist/modules/account_bots.js.map +1 -1
  1385. package/dist/modules/account_orders.d.ts +0 -9
  1386. package/dist/modules/account_orders.d.ts.map +1 -1
  1387. package/dist/modules/account_orders.js +26 -121
  1388. package/dist/modules/account_orders.js.map +1 -1
  1389. package/dist/modules/authority_resolver.js +12 -18
  1390. package/dist/modules/authority_resolver.js.map +1 -1
  1391. package/dist/modules/bitshares-native/chain_client.js +16 -21
  1392. package/dist/modules/bitshares-native/chain_client.js.map +1 -1
  1393. package/dist/modules/bitshares-native/crypto/ecc.browser.js +12 -72
  1394. package/dist/modules/bitshares-native/crypto/ecc.browser.js.map +1 -1
  1395. package/dist/modules/bitshares-native/crypto/ecc.js +13 -40
  1396. package/dist/modules/bitshares-native/crypto/ecc.js.map +1 -1
  1397. package/dist/modules/bitshares-native/crypto/ecc_selector.d.ts.map +1 -1
  1398. package/dist/modules/bitshares-native/crypto/ecc_selector.js +5 -6
  1399. package/dist/modules/bitshares-native/crypto/ecc_selector.js.map +1 -1
  1400. package/dist/modules/bitshares-native/index.d.ts +8 -8
  1401. package/dist/modules/bitshares-native/index.d.ts.map +1 -1
  1402. package/dist/modules/bitshares-native/index.js +11 -68
  1403. package/dist/modules/bitshares-native/index.js.map +1 -1
  1404. package/dist/modules/bitshares-native/lru_cache.js +3 -6
  1405. package/dist/modules/bitshares-native/lru_cache.js.map +1 -1
  1406. package/dist/modules/bitshares-native/resolvers.js +9 -11
  1407. package/dist/modules/bitshares-native/resolvers.js.map +1 -1
  1408. package/dist/modules/bitshares-native/serial/chain_constants.js +3 -28
  1409. package/dist/modules/bitshares-native/serial/chain_constants.js.map +1 -1
  1410. package/dist/modules/bitshares-native/serial/index.d.ts +4 -4
  1411. package/dist/modules/bitshares-native/serial/index.d.ts.map +1 -1
  1412. package/dist/modules/bitshares-native/serial/index.js +5 -46
  1413. package/dist/modules/bitshares-native/serial/index.js.map +1 -1
  1414. package/dist/modules/bitshares-native/serial/operations.d.ts +98 -98
  1415. package/dist/modules/bitshares-native/serial/operations.d.ts.map +1 -1
  1416. package/dist/modules/bitshares-native/serial/operations.js +372 -473
  1417. package/dist/modules/bitshares-native/serial/operations.js.map +1 -1
  1418. package/dist/modules/bitshares-native/serial/serializer.js +3 -8
  1419. package/dist/modules/bitshares-native/serial/serializer.js.map +1 -1
  1420. package/dist/modules/bitshares-native/serial/types.js +9 -74
  1421. package/dist/modules/bitshares-native/serial/types.js.map +1 -1
  1422. package/dist/modules/bitshares-native/signing_client.d.ts.map +1 -1
  1423. package/dist/modules/bitshares-native/signing_client.js +11 -48
  1424. package/dist/modules/bitshares-native/signing_client.js.map +1 -1
  1425. package/dist/modules/bitshares-native/subscriptions.d.ts.map +1 -1
  1426. package/dist/modules/bitshares-native/subscriptions.js +24 -27
  1427. package/dist/modules/bitshares-native/subscriptions.js.map +1 -1
  1428. package/dist/modules/bitshares-native/transport.d.ts.map +1 -1
  1429. package/dist/modules/bitshares-native/transport.js +14 -26
  1430. package/dist/modules/bitshares-native/transport.js.map +1 -1
  1431. package/dist/modules/bitshares-native/tx/builder.js +29 -72
  1432. package/dist/modules/bitshares-native/tx/builder.js.map +1 -1
  1433. package/dist/modules/bitshares-native/tx/tx_cache.js +12 -21
  1434. package/dist/modules/bitshares-native/tx/tx_cache.js.map +1 -1
  1435. package/dist/modules/bitshares_client.d.ts +21 -0
  1436. package/dist/modules/bitshares_client.d.ts.map +1 -1
  1437. package/dist/modules/bitshares_client.js +32 -86
  1438. package/dist/modules/bitshares_client.js.map +1 -1
  1439. package/dist/modules/bot_settings.d.ts.map +1 -1
  1440. package/dist/modules/bot_settings.js +30 -49
  1441. package/dist/modules/bot_settings.js.map +1 -1
  1442. package/dist/modules/bots_file_lock.d.ts.map +1 -1
  1443. package/dist/modules/bots_file_lock.js +5 -13
  1444. package/dist/modules/bots_file_lock.js.map +1 -1
  1445. package/dist/modules/broadcast_failure.js +1 -3
  1446. package/dist/modules/broadcast_failure.js.map +1 -1
  1447. package/dist/modules/chain_keys.d.ts +4 -9
  1448. package/dist/modules/chain_keys.d.ts.map +1 -1
  1449. package/dist/modules/chain_keys.js +77 -182
  1450. package/dist/modules/chain_keys.js.map +1 -1
  1451. package/dist/modules/chain_orders.d.ts +2 -2
  1452. package/dist/modules/chain_orders.d.ts.map +1 -1
  1453. package/dist/modules/chain_orders.js +81 -144
  1454. package/dist/modules/chain_orders.js.map +1 -1
  1455. package/dist/modules/config.d.ts.map +1 -1
  1456. package/dist/modules/config.js +23 -28
  1457. package/dist/modules/config.js.map +1 -1
  1458. package/dist/modules/constants.d.ts +2 -9
  1459. package/dist/modules/constants.d.ts.map +1 -1
  1460. package/dist/modules/constants.js +39 -74
  1461. package/dist/modules/constants.js.map +1 -1
  1462. package/dist/modules/cr_planner.js +15 -26
  1463. package/dist/modules/cr_planner.js.map +1 -1
  1464. package/dist/modules/credential_policy.d.ts +3 -6
  1465. package/dist/modules/credential_policy.d.ts.map +1 -1
  1466. package/dist/modules/credential_policy.js +62 -153
  1467. package/dist/modules/credential_policy.js.map +1 -1
  1468. package/dist/modules/credential_runtime.d.ts +1 -1
  1469. package/dist/modules/credential_runtime.d.ts.map +1 -1
  1470. package/dist/modules/credential_runtime.js +34 -41
  1471. package/dist/modules/credential_runtime.js.map +1 -1
  1472. package/dist/modules/credential_session_cache.d.ts +1 -1
  1473. package/dist/modules/credential_session_cache.d.ts.map +1 -1
  1474. package/dist/modules/credential_session_cache.js +5 -42
  1475. package/dist/modules/credential_session_cache.js.map +1 -1
  1476. package/dist/modules/credit_runtime.d.ts.map +1 -1
  1477. package/dist/modules/credit_runtime.js +126 -162
  1478. package/dist/modules/credit_runtime.js.map +1 -1
  1479. package/dist/modules/crypto/browser_provider.d.ts +1 -1
  1480. package/dist/modules/crypto/browser_provider.d.ts.map +1 -1
  1481. package/dist/modules/crypto/browser_provider.js +7 -11
  1482. package/dist/modules/crypto/browser_provider.js.map +1 -1
  1483. package/dist/modules/crypto/index.d.ts +6 -6
  1484. package/dist/modules/crypto/index.d.ts.map +1 -1
  1485. package/dist/modules/crypto/index.js +12 -30
  1486. package/dist/modules/crypto/index.js.map +1 -1
  1487. package/dist/modules/crypto/node_provider.d.ts +1 -1
  1488. package/dist/modules/crypto/node_provider.d.ts.map +1 -1
  1489. package/dist/modules/crypto/node_provider.js +3 -5
  1490. package/dist/modules/crypto/node_provider.js.map +1 -1
  1491. package/dist/modules/crypto/provider.js +1 -2
  1492. package/dist/modules/crypto/pure_ripemd160.js +1 -3
  1493. package/dist/modules/crypto/pure_ripemd160.js.map +1 -1
  1494. package/dist/modules/crypto/pure_scrypt.js +1 -4
  1495. package/dist/modules/crypto/pure_scrypt.js.map +1 -1
  1496. package/dist/modules/crypto/pure_secp256k1.d.ts +1 -1
  1497. package/dist/modules/crypto/pure_secp256k1.d.ts.map +1 -1
  1498. package/dist/modules/crypto/pure_secp256k1.js +1 -16
  1499. package/dist/modules/crypto/pure_secp256k1.js.map +1 -1
  1500. package/dist/modules/crypto/sync.d.ts.map +1 -1
  1501. package/dist/modules/crypto/sync.js +16 -17
  1502. package/dist/modules/crypto/sync.js.map +1 -1
  1503. package/dist/modules/daemon_node_health.js +14 -16
  1504. package/dist/modules/daemon_node_health.js.map +1 -1
  1505. package/dist/modules/dexbot_class.d.ts +38 -15
  1506. package/dist/modules/dexbot_class.d.ts.map +1 -1
  1507. package/dist/modules/dexbot_class.js +134 -164
  1508. package/dist/modules/dexbot_class.js.map +1 -1
  1509. package/dist/modules/dexbot_cow_runtime.d.ts +46 -28
  1510. package/dist/modules/dexbot_cow_runtime.d.ts.map +1 -1
  1511. package/dist/modules/dexbot_cow_runtime.js +127 -52
  1512. package/dist/modules/dexbot_cow_runtime.js.map +1 -1
  1513. package/dist/modules/dexbot_credential_client.d.ts +6 -2
  1514. package/dist/modules/dexbot_credential_client.d.ts.map +1 -1
  1515. package/dist/modules/dexbot_credential_client.js +21 -31
  1516. package/dist/modules/dexbot_credential_client.js.map +1 -1
  1517. package/dist/modules/dexbot_fill_runtime.d.ts +23 -23
  1518. package/dist/modules/dexbot_fill_runtime.d.ts.map +1 -1
  1519. package/dist/modules/dexbot_fill_runtime.js +119 -77
  1520. package/dist/modules/dexbot_fill_runtime.js.map +1 -1
  1521. package/dist/modules/dexbot_maintenance_runtime.d.ts +52 -38
  1522. package/dist/modules/dexbot_maintenance_runtime.d.ts.map +1 -1
  1523. package/dist/modules/dexbot_maintenance_runtime.js +107 -86
  1524. package/dist/modules/dexbot_maintenance_runtime.js.map +1 -1
  1525. package/dist/modules/dexbot_startup_runtime.d.ts +3 -3
  1526. package/dist/modules/dexbot_startup_runtime.d.ts.map +1 -1
  1527. package/dist/modules/dexbot_startup_runtime.js +43 -81
  1528. package/dist/modules/dexbot_startup_runtime.js.map +1 -1
  1529. package/dist/modules/dexbot_state_recovery.d.ts +11 -11
  1530. package/dist/modules/dexbot_state_recovery.js +32 -78
  1531. package/dist/modules/dexbot_state_recovery.js.map +1 -1
  1532. package/dist/modules/env.js +3 -7
  1533. package/dist/modules/env.js.map +1 -1
  1534. package/dist/modules/fund_registry.d.ts.map +1 -1
  1535. package/dist/modules/fund_registry.js +12 -24
  1536. package/dist/modules/fund_registry.js.map +1 -1
  1537. package/dist/modules/general_settings.js +10 -16
  1538. package/dist/modules/general_settings.js.map +1 -1
  1539. package/dist/modules/graceful_shutdown.d.ts.map +1 -1
  1540. package/dist/modules/graceful_shutdown.js +12 -19
  1541. package/dist/modules/graceful_shutdown.js.map +1 -1
  1542. package/dist/modules/key_store.d.ts.map +1 -1
  1543. package/dist/modules/key_store.js +27 -65
  1544. package/dist/modules/key_store.js.map +1 -1
  1545. package/dist/modules/launcher/bot_supervisor.d.ts +1 -1
  1546. package/dist/modules/launcher/bot_supervisor.d.ts.map +1 -1
  1547. package/dist/modules/launcher/bot_supervisor.js +89 -118
  1548. package/dist/modules/launcher/bot_supervisor.js.map +1 -1
  1549. package/dist/modules/launcher/child_env.js +1 -5
  1550. package/dist/modules/launcher/child_env.js.map +1 -1
  1551. package/dist/modules/launcher/credential_bootstrap.js +22 -31
  1552. package/dist/modules/launcher/credential_bootstrap.js.map +1 -1
  1553. package/dist/modules/launcher/credential_daemon.js +37 -75
  1554. package/dist/modules/launcher/credential_daemon.js.map +1 -1
  1555. package/dist/modules/launcher/credential_secret.js +2 -37
  1556. package/dist/modules/launcher/credential_secret.js.map +1 -1
  1557. package/dist/modules/launcher/foreign_cred_daemon.d.ts +1 -1
  1558. package/dist/modules/launcher/foreign_cred_daemon.js +26 -32
  1559. package/dist/modules/launcher/foreign_cred_daemon.js.map +1 -1
  1560. package/dist/modules/launcher/headless_password.js +10 -12
  1561. package/dist/modules/launcher/headless_password.js.map +1 -1
  1562. package/dist/modules/launcher/launch_modes.js +3 -9
  1563. package/dist/modules/launcher/launch_modes.js.map +1 -1
  1564. package/dist/modules/launcher/market_adapter_runtime.d.ts +1 -1
  1565. package/dist/modules/launcher/market_adapter_runtime.d.ts.map +1 -1
  1566. package/dist/modules/launcher/market_adapter_runtime.js +25 -35
  1567. package/dist/modules/launcher/market_adapter_runtime.js.map +1 -1
  1568. package/dist/modules/launcher/market_adapter_watchdog.d.ts.map +1 -1
  1569. package/dist/modules/launcher/market_adapter_watchdog.js +42 -45
  1570. package/dist/modules/launcher/market_adapter_watchdog.js.map +1 -1
  1571. package/dist/modules/launcher/monolithic_runtime.d.ts +1 -1
  1572. package/dist/modules/launcher/monolithic_runtime.d.ts.map +1 -1
  1573. package/dist/modules/launcher/monolithic_runtime.js +67 -138
  1574. package/dist/modules/launcher/monolithic_runtime.js.map +1 -1
  1575. package/dist/modules/launcher/runtime_entry.d.ts +1 -11
  1576. package/dist/modules/launcher/runtime_entry.d.ts.map +1 -1
  1577. package/dist/modules/launcher/runtime_entry.js +12 -15
  1578. package/dist/modules/launcher/runtime_entry.js.map +1 -1
  1579. package/dist/modules/launcher/status_reporting.d.ts +1 -1
  1580. package/dist/modules/launcher/status_reporting.d.ts.map +1 -1
  1581. package/dist/modules/launcher/status_reporting.js +15 -36
  1582. package/dist/modules/launcher/status_reporting.js.map +1 -1
  1583. package/dist/modules/launcher/supervisor_control.js +5 -10
  1584. package/dist/modules/launcher/supervisor_control.js.map +1 -1
  1585. package/dist/modules/logger.d.ts +1 -1
  1586. package/dist/modules/logger.d.ts.map +1 -1
  1587. package/dist/modules/logger.js +3 -38
  1588. package/dist/modules/logger.js.map +1 -1
  1589. package/dist/modules/market_adapter_whitelist.js +9 -18
  1590. package/dist/modules/market_adapter_whitelist.js.map +1 -1
  1591. package/dist/modules/node_failure_ledger.js +1 -3
  1592. package/dist/modules/node_failure_ledger.js.map +1 -1
  1593. package/dist/modules/node_health_cache.d.ts.map +1 -1
  1594. package/dist/modules/node_health_cache.js +15 -25
  1595. package/dist/modules/node_health_cache.js.map +1 -1
  1596. package/dist/modules/node_manager.d.ts +1 -1
  1597. package/dist/modules/node_manager.d.ts.map +1 -1
  1598. package/dist/modules/node_manager.js +44 -43
  1599. package/dist/modules/node_manager.js.map +1 -1
  1600. package/dist/modules/order/accounting.d.ts.map +1 -1
  1601. package/dist/modules/order/accounting.js +102 -118
  1602. package/dist/modules/order/accounting.js.map +1 -1
  1603. package/dist/modules/order/async_lock.d.ts +28 -16
  1604. package/dist/modules/order/async_lock.d.ts.map +1 -1
  1605. package/dist/modules/order/async_lock.js +73 -32
  1606. package/dist/modules/order/async_lock.js.map +1 -1
  1607. package/dist/modules/order/export.js +34 -75
  1608. package/dist/modules/order/export.js.map +1 -1
  1609. package/dist/modules/order/format.d.ts +1 -3
  1610. package/dist/modules/order/format.d.ts.map +1 -1
  1611. package/dist/modules/order/format.js +4 -24
  1612. package/dist/modules/order/format.js.map +1 -1
  1613. package/dist/modules/order/grid.d.ts +3 -3
  1614. package/dist/modules/order/grid.d.ts.map +1 -1
  1615. package/dist/modules/order/grid.js +206 -262
  1616. package/dist/modules/order/grid.js.map +1 -1
  1617. package/dist/modules/order/grid_reconcile.d.ts.map +1 -1
  1618. package/dist/modules/order/grid_reconcile.js +77 -94
  1619. package/dist/modules/order/grid_reconcile.js.map +1 -1
  1620. package/dist/modules/order/grid_reconcile_internal.d.ts.map +1 -1
  1621. package/dist/modules/order/grid_reconcile_internal.js +117 -149
  1622. package/dist/modules/order/grid_reconcile_internal.js.map +1 -1
  1623. package/dist/modules/order/index.d.ts.map +1 -1
  1624. package/dist/modules/order/index.js +11 -45
  1625. package/dist/modules/order/index.js.map +1 -1
  1626. package/dist/modules/order/logger.js +28 -69
  1627. package/dist/modules/order/logger.js.map +1 -1
  1628. package/dist/modules/order/logger_state.d.ts.map +1 -1
  1629. package/dist/modules/order/logger_state.js +3 -4
  1630. package/dist/modules/order/logger_state.js.map +1 -1
  1631. package/dist/modules/order/manager.d.ts +10 -0
  1632. package/dist/modules/order/manager.d.ts.map +1 -1
  1633. package/dist/modules/order/manager.js +131 -151
  1634. package/dist/modules/order/manager.js.map +1 -1
  1635. package/dist/modules/order/processed_fill_store.js +2 -7
  1636. package/dist/modules/order/processed_fill_store.js.map +1 -1
  1637. package/dist/modules/order/strategy.js +23 -25
  1638. package/dist/modules/order/strategy.js.map +1 -1
  1639. package/dist/modules/order/sync_engine.d.ts +27 -0
  1640. package/dist/modules/order/sync_engine.d.ts.map +1 -1
  1641. package/dist/modules/order/sync_engine.js +232 -181
  1642. package/dist/modules/order/sync_engine.js.map +1 -1
  1643. package/dist/modules/order/utils/math.d.ts +1 -25
  1644. package/dist/modules/order/utils/math.d.ts.map +1 -1
  1645. package/dist/modules/order/utils/math.js +49 -172
  1646. package/dist/modules/order/utils/math.js.map +1 -1
  1647. package/dist/modules/order/utils/order.d.ts +46 -2
  1648. package/dist/modules/order/utils/order.d.ts.map +1 -1
  1649. package/dist/modules/order/utils/order.js +165 -143
  1650. package/dist/modules/order/utils/order.js.map +1 -1
  1651. package/dist/modules/order/utils/system.d.ts +3 -1
  1652. package/dist/modules/order/utils/system.d.ts.map +1 -1
  1653. package/dist/modules/order/utils/system.js +152 -211
  1654. package/dist/modules/order/utils/system.js.map +1 -1
  1655. package/dist/modules/order/utils/timeout.js +1 -4
  1656. package/dist/modules/order/utils/timeout.js.map +1 -1
  1657. package/dist/modules/order/utils/validate.js +91 -142
  1658. package/dist/modules/order/utils/validate.js.map +1 -1
  1659. package/dist/modules/order/utils/withPoolRef.js +21 -61
  1660. package/dist/modules/order/utils/withPoolRef.js.map +1 -1
  1661. package/dist/modules/order/working_grid.js +6 -9
  1662. package/dist/modules/order/working_grid.js.map +1 -1
  1663. package/dist/modules/path_api.d.ts.map +1 -1
  1664. package/dist/modules/path_api.js +8 -11
  1665. package/dist/modules/path_api.js.map +1 -1
  1666. package/dist/modules/paths.d.ts.map +1 -1
  1667. package/dist/modules/paths.js +61 -67
  1668. package/dist/modules/paths.js.map +1 -1
  1669. package/dist/modules/process_discovery.js +13 -21
  1670. package/dist/modules/process_discovery.js.map +1 -1
  1671. package/dist/modules/runtime.js +7 -11
  1672. package/dist/modules/runtime.js.map +1 -1
  1673. package/dist/modules/runtime_settings.d.ts.map +1 -1
  1674. package/dist/modules/runtime_settings.js +14 -16
  1675. package/dist/modules/runtime_settings.js.map +1 -1
  1676. package/dist/modules/settings_merge.js +1 -3
  1677. package/dist/modules/settings_merge.js.map +1 -1
  1678. package/dist/modules/socket_json_client.js +3 -5
  1679. package/dist/modules/socket_json_client.js.map +1 -1
  1680. package/dist/modules/storage/browser_adapter.js +1 -4
  1681. package/dist/modules/storage/browser_adapter.js.map +1 -1
  1682. package/dist/modules/storage/index.d.ts +3 -2
  1683. package/dist/modules/storage/index.d.ts.map +1 -1
  1684. package/dist/modules/storage/index.js +5 -8
  1685. package/dist/modules/storage/index.js.map +1 -1
  1686. package/dist/modules/storage/node_adapter.d.ts +3 -4
  1687. package/dist/modules/storage/node_adapter.d.ts.map +1 -1
  1688. package/dist/modules/storage/node_adapter.js +12 -16
  1689. package/dist/modules/storage/node_adapter.js.map +1 -1
  1690. package/dist/modules/storage/types.js +1 -2
  1691. package/dist/modules/types.d.ts +0 -6
  1692. package/dist/modules/types.d.ts.map +1 -1
  1693. package/dist/modules/types.js +1 -2
  1694. package/dist/modules/types.js.map +1 -1
  1695. package/dist/modules/utils/base58check.js +8 -15
  1696. package/dist/modules/utils/base58check.js.map +1 -1
  1697. package/dist/modules/utils/build_dir.js +3 -7
  1698. package/dist/modules/utils/build_dir.js.map +1 -1
  1699. package/dist/modules/utils/errors.js +1 -5
  1700. package/dist/modules/utils/errors.js.map +1 -1
  1701. package/dist/modules/utils/math_utils.d.ts +1 -1
  1702. package/dist/modules/utils/math_utils.d.ts.map +1 -1
  1703. package/dist/modules/utils/math_utils.js +2 -7
  1704. package/dist/modules/utils/math_utils.js.map +1 -1
  1705. package/dist/modules/validate_profiles.d.ts.map +1 -1
  1706. package/dist/modules/validate_profiles.js +18 -25
  1707. package/dist/modules/validate_profiles.js.map +1 -1
  1708. package/dist/pm2.d.ts +4 -70
  1709. package/dist/pm2.d.ts.map +1 -1
  1710. package/dist/pm2.js +106 -132
  1711. package/dist/pm2.js.map +1 -1
  1712. package/dist/scripts/analyze-git.js +13 -17
  1713. package/dist/scripts/analyze-git.js.map +1 -1
  1714. package/dist/scripts/analyze-orders.d.ts.map +1 -1
  1715. package/dist/scripts/analyze-orders.js +48 -63
  1716. package/dist/scripts/analyze-orders.js.map +1 -1
  1717. package/dist/scripts/diagnose-kibana-candles.d.ts.map +1 -1
  1718. package/dist/scripts/diagnose-kibana-candles.js +2 -1
  1719. package/dist/scripts/diagnose-kibana-candles.js.map +1 -1
  1720. package/dist/scripts/diagnose-pool-history.d.ts.map +1 -1
  1721. package/dist/scripts/diagnose-pool-history.js +2 -1
  1722. package/dist/scripts/diagnose-pool-history.js.map +1 -1
  1723. package/dist/scripts/divergence-calc.d.ts.map +1 -1
  1724. package/dist/scripts/divergence-calc.js +2 -2
  1725. package/dist/scripts/divergence-calc.js.map +1 -1
  1726. package/dist/scripts/fix-err-message.js +17 -22
  1727. package/dist/scripts/fix-err-message.js.map +1 -1
  1728. package/dist/scripts/generate_lp_chart.d.ts.map +1 -1
  1729. package/dist/scripts/generate_lp_chart.js +7 -15
  1730. package/dist/scripts/generate_lp_chart.js.map +1 -1
  1731. package/dist/scripts/generate_mainnet_corpus_report.d.ts.map +1 -1
  1732. package/dist/scripts/generate_mainnet_corpus_report.js +3 -2
  1733. package/dist/scripts/generate_mainnet_corpus_report.js.map +1 -1
  1734. package/dist/scripts/generate_market_adapter_whitelist.d.ts.map +1 -1
  1735. package/dist/scripts/generate_market_adapter_whitelist.js +18 -24
  1736. package/dist/scripts/generate_market_adapter_whitelist.js.map +1 -1
  1737. package/dist/scripts/native_release_gates.js +15 -19
  1738. package/dist/scripts/native_release_gates.js.map +1 -1
  1739. package/dist/scripts/print_grid.d.ts.map +1 -1
  1740. package/dist/scripts/print_grid.js +2 -2
  1741. package/dist/scripts/print_grid.js.map +1 -1
  1742. package/dist/scripts/run-tests.js +12 -17
  1743. package/dist/scripts/run-tests.js.map +1 -1
  1744. package/dist/scripts/runner.d.ts.map +1 -1
  1745. package/dist/scripts/runner.js +18 -20
  1746. package/dist/scripts/runner.js.map +1 -1
  1747. package/dist/scripts/sync-version.js +2 -2
  1748. package/dist/scripts/sync-version.js.map +1 -1
  1749. package/dist/scripts/test-credit-renewal.d.ts.map +1 -1
  1750. package/dist/scripts/test-credit-renewal.js +4 -3
  1751. package/dist/scripts/test-credit-renewal.js.map +1 -1
  1752. package/dist/scripts/update.js +82 -94
  1753. package/dist/scripts/update.js.map +1 -1
  1754. package/dist/scripts/validate_bots.d.ts.map +1 -1
  1755. package/dist/scripts/validate_bots.js +2 -2
  1756. package/dist/scripts/validate_bots.js.map +1 -1
  1757. package/dist/scripts/verify-browser-bundle.js +12 -17
  1758. package/dist/scripts/verify-browser-bundle.js.map +1 -1
  1759. package/dist/unlock.d.ts +0 -30
  1760. package/dist/unlock.d.ts.map +1 -1
  1761. package/dist/unlock.js +110 -157
  1762. package/dist/unlock.js.map +1 -1
  1763. package/package.json +18 -10
  1764. package/scripts/README.md +1 -1
  1765. package/scripts/create-bot-symlinks.sh +2 -2
  1766. package/scripts/postinstall.js +1 -1
  1767. package/dist/modules/utils/fs_utils.d.ts +0 -18
  1768. package/dist/modules/utils/fs_utils.d.ts.map +0 -1
  1769. package/dist/modules/utils/fs_utils.js +0 -32
  1770. package/dist/modules/utils/fs_utils.js.map +0 -1
  1771. package/dist/scripts/migrate_bot_keys.d.ts +0 -3
  1772. package/dist/scripts/migrate_bot_keys.d.ts.map +0 -1
  1773. package/dist/scripts/migrate_bot_keys.js +0 -225
  1774. package/dist/scripts/migrate_bot_keys.js.map +0 -1
@@ -1,28 +1,15 @@
1
- "use strict";
2
1
  /** Fill processing runtime - handles order fill events and replay-safe accounting */
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.wireProcessedFillTracking = wireProcessedFillTracking;
5
- exports.flushProcessedFillPersistence = flushProcessedFillPersistence;
6
- exports.flushProcessedFillPersistenceForKeys = flushProcessedFillPersistenceForKeys;
7
- exports.discardPendingProcessedFillPersistence = discardPendingProcessedFillPersistence;
8
- exports.buildOrphanFillFallbackKey = buildOrphanFillFallbackKey;
9
- exports.applyReplaySafeFillAccounting = applyReplaySafeFillAccounting;
10
- exports.applyReplaySafeTrackedFillAccounting = applyReplaySafeTrackedFillAccounting;
11
- exports.applyReplaySafeOrphanFillAccounting = applyReplaySafeOrphanFillAccounting;
12
- exports.processSweepOrphanFill = processSweepOrphanFill;
13
- exports.createFillCallback = createFillCallback;
14
- exports.maxConsecutiveFillConsumerFailures = maxConsecutiveFillConsumerFailures;
15
- exports.computeFillConsumerBackoffMs = computeFillConsumerBackoffMs;
16
- exports.scheduleFillConsumerRestart = scheduleFillConsumerRestart;
17
- exports.consumeFillQueue = consumeFillQueue;
18
- exports.processFillsWithBootstrapMode = processFillsWithBootstrapMode;
19
- const processed_fill_store_1 = require("./order/processed_fill_store");
20
- const constants_1 = require("./constants");
21
- const errors_1 = require("./utils/errors");
2
+ import { createRequire } from 'node:module';
3
+ const require = createRequire(import.meta.url);
4
+ import * as chainOrders from './chain_orders.js';
5
+ import { PROCESSED_FILL_PERSISTENCE_MODES } from './order/processed_fill_store.js';
6
+ import { NATIVE_CLIENT, FILL_PROCESSING, TIMING, MAINTENANCE, ORDER_TYPES } from './constants.js';
7
+ import { getErrorMessage } from './utils/errors.js';
8
+ import { isOrderDoesNotExistError } from './dexbot_maintenance_runtime.js';
22
9
  function buildFillKey(...args) { return require('./order/utils/order').buildFillKey(...args); }
23
10
  function correctAllPriceMismatches(...args) { return require('./order/utils/order').correctAllPriceMismatches(...args); }
24
11
  function retryPersistenceIfNeeded(...args) { return require('./order/utils/system').retryPersistenceIfNeeded(...args); }
25
- const { readOpenOrdersGuarded } = require('./chain_orders');
12
+ const { readOpenOrdersGuarded } = chainOrders;
26
13
  /**
27
14
  * Handle a sweep fill whose grid order could not be resolved (orphan): derive a
28
15
  * replay-safe key (with degraded fallback), skip already-processed fills, credit
@@ -57,9 +44,39 @@ function wireProcessedFillTracking(bot) {
57
44
  bot.manager.processedFillTracker = bot._recentlyProcessedFills;
58
45
  bot.manager.processedFillStore = bot._processedFillStore;
59
46
  }
47
+ /**
48
+ * Explicitly cancel residual orders that the chain still holds after a fill was
49
+ * treated as a full fill (other-side rounds to 0). The chain only auto-culls an
50
+ * order when its residual value in the QUOTE asset truncates to 0 (bitshares-core
51
+ * maybe_cull_small_order); a residual of >= 1 base unit with non-zero quote value
52
+ * is NOT culled and would be stranded once the slot is virtualized. Best-effort:
53
+ * tolerates "order does not exist"
54
+ * (already culled), logs other failures for the next cycle's reconciliation.
55
+ */
56
+ async function cancelResidualOrders(bot, residualCancels) {
57
+ if (!residualCancels || residualCancels.length === 0)
58
+ return;
59
+ for (const rc of residualCancels) {
60
+ if (!rc || !rc.orderId)
61
+ continue;
62
+ try {
63
+ await chainOrders.cancelOrder(bot.account, bot.privateKey, rc.orderId);
64
+ bot.manager.logger.log(`[RESIDUAL] Cancelled residual order ${rc.orderId}${rc.id ? ` (slot ${rc.id})` : ''} left on chain after sub-dust fill`, 'warn');
65
+ }
66
+ catch (err) {
67
+ const errMsg = getErrorMessage(err) || '';
68
+ if (isOrderDoesNotExistError(errMsg, rc.orderId)) {
69
+ bot.manager.logger.log(`[RESIDUAL] Residual order ${rc.orderId} already gone from chain; nothing to cancel`, 'debug');
70
+ }
71
+ else {
72
+ bot.manager.logger.log(`[RESIDUAL] Failed to cancel residual order ${rc.orderId}: ${errMsg}`, 'warn');
73
+ }
74
+ }
75
+ }
76
+ }
60
77
  /**
61
78
  * Flush all pending processed fill writes to persistent storage.
62
- * @param {import('./dexbot_class').DEXBot} bot
79
+ * @param {import('./dexbot_class.js').DEXBot} bot
63
80
  * @param {string} [reason='manual'] - Reason label for the flush
64
81
  * @param {Object} [options] - Flush options forwarded to ProcessedFillStore.flush
65
82
  * @returns {Promise<void>}
@@ -70,7 +87,7 @@ async function flushProcessedFillPersistence(bot, reason = 'manual', options = {
70
87
  }
71
88
  /**
72
89
  * Flush pending processed fill writes for specific fill keys.
73
- * @param {import('./dexbot_class').DEXBot} bot
90
+ * @param {import('./dexbot_class.js').DEXBot} bot
74
91
  * @param {string[]|Set<string>} fillKeys - Fill keys to flush
75
92
  * @param {string} [reason='manual-selected'] - Reason label for the flush
76
93
  * @param {Object} [options] - Flush options forwarded to ProcessedFillStore.flushKeys
@@ -82,7 +99,7 @@ async function flushProcessedFillPersistenceForKeys(bot, fillKeys, reason = 'man
82
99
  }
83
100
  /**
84
101
  * Discard pending processed fill writes for specific fill keys from the queue.
85
- * @param {import('./dexbot_class').DEXBot} bot
102
+ * @param {import('./dexbot_class.js').DEXBot} bot
86
103
  * @param {string[]|Set<string>} fillKeys - Fill keys to discard
87
104
  */
88
105
  function discardPendingProcessedFillPersistence(bot, fillKeys) {
@@ -91,8 +108,8 @@ function discardPendingProcessedFillPersistence(bot, fillKeys) {
91
108
  /**
92
109
  * Build a degraded orphan fill replay key when the standard fill history id is missing.
93
110
  * The fallback key is derived from order_id, block_num, pays/receives amounts and asset IDs.
94
- * @param {import('./dexbot_class').DEXBot} bot
95
- * @param {import('./types').FillEvent} fill - Raw fill event
111
+ * @param {import('./dexbot_class.js').DEXBot} bot
112
+ * @param {import('./types.js').FillEvent} fill - Raw fill event
96
113
  * @returns {string|null} Orphan fallback key or null if insufficient data
97
114
  */
98
115
  function buildOrphanFillFallbackKey(bot, fill) {
@@ -121,9 +138,9 @@ function buildOrphanFillFallbackKey(bot, fill) {
121
138
  /**
122
139
  * Apply fill accounting with replay-safe deduplication.
123
140
  * Prevents the same fill from being accounted twice across restarts or re-syncs.
124
- * @param {import('./dexbot_class').DEXBot} bot
125
- * @param {import('./types').FillEvent} fill - Raw fill event
126
- * @param {import('./types').FillOperationData} fillOp - Extracted fill operation data
141
+ * @param {import('./dexbot_class.js').DEXBot} bot
142
+ * @param {import('./types.js').FillEvent} fill - Raw fill event
143
+ * @param {import('./types.js').FillOperationData} fillOp - Extracted fill operation data
127
144
  * @param {Object} [options] - Options
128
145
  * @param {Function} [options.missingKeyMessage] - Callback to generate log message when fill key is missing
129
146
  * @param {Function} [options.fallbackKeyMessage] - Callback to generate log message when fallback key is used
@@ -135,9 +152,9 @@ function buildOrphanFillFallbackKey(bot, fill) {
135
152
  * @param {string} [options.replayLevel='debug'] - Log level for replay messages
136
153
  * @param {string} [options.persistenceMode='immediate'] - Processed fill persistence mode (wrappers default to 'batched')
137
154
  * @param {boolean} [options.allowOrphanFallbackKey=false] - Allow degraded orphan fallback key
138
- * @returns {Promise<import('./types').ReplaySafeFillResult>}
155
+ * @returns {Promise<import('./types.js').ReplaySafeFillResult>}
139
156
  */
140
- async function applyReplaySafeFillAccounting(bot, fill, fillOp, { missingKeyMessage, fallbackKeyMessage, replayMessage, errorMessage, logger = bot.manager?.logger, missingKeyLevel = 'warn', fallbackKeyLevel = 'warn', replayLevel = 'debug', persistenceMode = processed_fill_store_1.PROCESSED_FILL_PERSISTENCE_MODES.IMMEDIATE, allowOrphanFallbackKey = false } = {}) {
157
+ async function applyReplaySafeFillAccounting(bot, fill, fillOp, { missingKeyMessage, fallbackKeyMessage, replayMessage, errorMessage, logger = bot.manager?.logger, missingKeyLevel = 'warn', fallbackKeyLevel = 'warn', replayLevel = 'debug', persistenceMode = PROCESSED_FILL_PERSISTENCE_MODES.IMMEDIATE, allowOrphanFallbackKey = false } = {}) {
141
158
  let fillKey = buildFillKey(fill);
142
159
  let usedFallbackKey = false;
143
160
  if (!fillKey && allowOrphanFallbackKey) {
@@ -174,45 +191,45 @@ async function applyReplaySafeFillAccounting(bot, fill, fillOp, { missingKeyMess
174
191
  /**
175
192
  * Apply replay-safe fill accounting for tracked fills (with fill history id).
176
193
  * Wraps applyReplaySafeFillAccounting with context and default message builders.
177
- * @param {import('./dexbot_class').DEXBot} bot
178
- * @param {import('./types').FillEvent} fill - Raw fill event
179
- * @param {import('./types').FillOperationData} fillOp - Extracted fill operation data
194
+ * @param {import('./dexbot_class.js').DEXBot} bot
195
+ * @param {import('./types.js').FillEvent} fill - Raw fill event
196
+ * @param {import('./types.js').FillOperationData} fillOp - Extracted fill operation data
180
197
  * @param {Object} [options] - Options
181
198
  * @param {string} [options.context] - Context label for log messages
182
199
  * @param {Object} [options.logger] - Logger instance
183
200
  * @param {Function} [options.replayMessage] - Callback to generate log message on duplicate fill
184
201
  * @param {string} [options.persistenceMode='batched'] - Processed fill persistence mode
185
- * @returns {Promise<import('./types').ReplaySafeFillResult>}
202
+ * @returns {Promise<import('./types.js').ReplaySafeFillResult>}
186
203
  */
187
- async function applyReplaySafeTrackedFillAccounting(bot, fill, fillOp, { context, logger = bot.manager?.logger, replayMessage, persistenceMode = processed_fill_store_1.PROCESSED_FILL_PERSISTENCE_MODES.BATCHED } = {}) {
204
+ async function applyReplaySafeTrackedFillAccounting(bot, fill, fillOp, { context, logger = bot.manager?.logger, replayMessage, persistenceMode = PROCESSED_FILL_PERSISTENCE_MODES.BATCHED } = {}) {
188
205
  return applyReplaySafeFillAccounting(bot, fill, fillOp, {
189
206
  logger,
190
207
  missingKeyMessage: (op) => `[${context}] Missing fill history id for ${op.order_id}; deferring to open-orders sync`,
191
208
  replayMessage,
192
- errorMessage: (op, _fill, err) => `[${context}] Failed to process accounting for ${op.order_id}: ${(0, errors_1.getErrorMessage)(err)}`,
209
+ errorMessage: (op, _fill, err) => `[${context}] Failed to process accounting for ${op.order_id}: ${getErrorMessage(err)}`,
193
210
  persistenceMode
194
211
  });
195
212
  }
196
213
  /**
197
214
  * Apply replay-safe fill accounting for orphan fills (missing fill history id).
198
215
  * Uses a degraded orphan fallback key when the standard key is unavailable.
199
- * @param {import('./dexbot_class').DEXBot} bot
200
- * @param {import('./types').FillEvent} fill - Raw fill event
201
- * @param {import('./types').FillOperationData} fillOp - Extracted fill operation data
216
+ * @param {import('./dexbot_class.js').DEXBot} bot
217
+ * @param {import('./types.js').FillEvent} fill - Raw fill event
218
+ * @param {import('./types.js').FillOperationData} fillOp - Extracted fill operation data
202
219
  * @param {Object} [options] - Options
203
220
  * @param {string} [options.context] - Context label for log messages
204
221
  * @param {Object} [options.logger] - Logger instance
205
222
  * @param {Function} [options.replayMessage] - Callback to generate log message on duplicate fill
206
223
  * @param {string} [options.persistenceMode='batched'] - Processed fill persistence mode
207
- * @returns {Promise<import('./types').ReplaySafeFillResult>}
224
+ * @returns {Promise<import('./types.js').ReplaySafeFillResult>}
208
225
  */
209
- async function applyReplaySafeOrphanFillAccounting(bot, fill, fillOp, { context, logger = bot.manager?.logger, replayMessage, persistenceMode = processed_fill_store_1.PROCESSED_FILL_PERSISTENCE_MODES.BATCHED } = {}) {
226
+ async function applyReplaySafeOrphanFillAccounting(bot, fill, fillOp, { context, logger = bot.manager?.logger, replayMessage, persistenceMode = PROCESSED_FILL_PERSISTENCE_MODES.BATCHED } = {}) {
210
227
  return applyReplaySafeFillAccounting(bot, fill, fillOp, {
211
228
  logger,
212
229
  missingKeyMessage: (op) => `[${context}] Missing fill history id and orphan fallback key for ${op.order_id}; deferring to open-orders sync`,
213
230
  fallbackKeyMessage: (op) => `[${context}] Missing fill history id for orphan fill ${op.order_id}; using degraded orphan replay key for proceeds-only accounting`,
214
231
  replayMessage,
215
- errorMessage: (op, _fill, err) => `[${context}] Failed to process accounting for ${op.order_id}: ${(0, errors_1.getErrorMessage)(err)}`,
232
+ errorMessage: (op, _fill, err) => `[${context}] Failed to process accounting for ${op.order_id}: ${getErrorMessage(err)}`,
216
233
  persistenceMode,
217
234
  allowOrphanFallbackKey: true
218
235
  });
@@ -220,7 +237,7 @@ async function applyReplaySafeOrphanFillAccounting(bot, fill, fillOp, { context,
220
237
  /**
221
238
  * Create a fill callback handler for blockchain subscription events.
222
239
  * Queues incoming fills and triggers fill queue consumption.
223
- * @param {import('./dexbot_class').DEXBot} bot
240
+ * @param {import('./dexbot_class.js').DEXBot} bot
224
241
  * @param {Object} chainOrders - Chain orders module
225
242
  * @returns {Function} Async callback function accepting an array of fill events
226
243
  */
@@ -230,7 +247,7 @@ function createFillCallback(bot, chainOrders) {
230
247
  return;
231
248
  }
232
249
  if (bot.manager && !bot.config.dryRun && Array.isArray(fills) && fills.length > 0) {
233
- const maxQueueDepth = constants_1.NATIVE_CLIENT.SUBSCRIPTIONS.MAX_INCOMING_FILL_QUEUE;
250
+ const maxQueueDepth = NATIVE_CLIENT.SUBSCRIPTIONS.MAX_INCOMING_FILL_QUEUE;
234
251
  if (bot._incomingFillQueue.length + fills.length > maxQueueDepth) {
235
252
  const message = `Incoming fill queue back-pressure: ${bot._incomingFillQueue.length} queued + ${fills.length} incoming exceeds limit ${maxQueueDepth}`;
236
253
  bot._warn(message);
@@ -239,30 +256,30 @@ function createFillCallback(bot, chainOrders) {
239
256
  bot._markGridActivity?.('fill queued');
240
257
  bot._incomingFillQueue.push(...fills);
241
258
  bot._consumeFillQueue(chainOrders).catch((err) => {
242
- bot._warn(`Fill queue consume failed: ${(0, errors_1.getErrorMessage)(err)}`);
259
+ bot._warn(`Fill queue consume failed: ${getErrorMessage(err)}`);
243
260
  });
244
261
  }
245
262
  };
246
263
  }
247
264
  /**
248
265
  * Returns the maximum consecutive fill consumer failures allowed before backoff.
249
- * @param {import('./dexbot_class').DEXBot} bot
266
+ * @param {import('./dexbot_class.js').DEXBot} bot
250
267
  * @returns {number}
251
268
  */
252
269
  function maxConsecutiveFillConsumerFailures(bot) {
253
- return bot.config.fillProcessing?.MAX_CONSECUTIVE_CONSUMER_FAILURES ?? constants_1.FILL_PROCESSING.MAX_CONSECUTIVE_CONSUMER_FAILURES;
270
+ return bot.config.fillProcessing?.MAX_CONSECUTIVE_CONSUMER_FAILURES ?? FILL_PROCESSING.MAX_CONSECUTIVE_CONSUMER_FAILURES;
254
271
  }
255
272
  /**
256
273
  * Compute the backoff delay for fill-consumer retries after the failure
257
274
  * budget (MAX_CONSECUTIVE_CONSUMER_FAILURES) is exhausted. Each retry
258
275
  * doubles the previous delay, capped at CONSUMER_BACKOFF_MAX_MS. The
259
276
  * consumer NEVER permanently stops re-scheduling — it just slows down.
260
- * @param {import('./dexbot_class').DEXBot} bot
277
+ * @param {import('./dexbot_class.js').DEXBot} bot
261
278
  * @param {number} failures The current consecutive-failure count.
262
279
  * @returns {number} Delay in milliseconds before the next retry.
263
280
  */
264
281
  function computeFillConsumerBackoffMs(bot, failures) {
265
- const fp = bot.config.fillProcessing || constants_1.FILL_PROCESSING;
282
+ const fp = bot.config.fillProcessing || FILL_PROCESSING;
266
283
  const initial = fp.CONSUMER_BACKOFF_INITIAL_MS;
267
284
  const max = fp.CONSUMER_BACKOFF_MAX_MS;
268
285
  const stepAfterMax = Math.max(0, failures - maxConsecutiveFillConsumerFailures(bot));
@@ -272,7 +289,7 @@ function computeFillConsumerBackoffMs(bot, failures) {
272
289
  * Schedule a fill consumer restart with exponential backoff when the
273
290
  * failure budget is exhausted, or immediate retry via setImmediate when
274
291
  * within the budget. The consumer NEVER permanently stops re-scheduling.
275
- * @param {import('./dexbot_class').DEXBot} bot
292
+ * @param {import('./dexbot_class.js').DEXBot} bot
276
293
  * @param {Object} chainOrders - Chain orders module
277
294
  */
278
295
  function scheduleFillConsumerRestart(bot, chainOrders) {
@@ -280,7 +297,7 @@ function scheduleFillConsumerRestart(bot, chainOrders) {
280
297
  if (failures >= maxConsecutiveFillConsumerFailures(bot)) {
281
298
  const backoffMs = computeFillConsumerBackoffMs(bot, failures);
282
299
  const elapsedSec = bot._consumeFailureFirstAt
283
- ? Math.round((Date.now() - bot._consumeFailureFirstAt) / constants_1.TIMING.MILLISECONDS_PER_SECOND)
300
+ ? Math.round((Date.now() - bot._consumeFailureFirstAt) / TIMING.MILLISECONDS_PER_SECOND)
284
301
  : null;
285
302
  const elapsed = elapsedSec !== null ? `${elapsedSec}s` : 'unknown';
286
303
  const sustainedLevel = (failures >= 20 || (elapsedSec !== null && elapsedSec >= 900))
@@ -289,7 +306,7 @@ function scheduleFillConsumerRestart(bot, chainOrders) {
289
306
  ? 'error'
290
307
  : 'warn';
291
308
  bot._log(`[FILL-QUEUE] Fill consumer has failed ${failures} consecutive times over ${elapsed}; ` +
292
- `backing off ${Math.round(backoffMs / constants_1.TIMING.MILLISECONDS_PER_SECOND)}s before retry. ` +
309
+ `backing off ${Math.round(backoffMs / TIMING.MILLISECONDS_PER_SECOND)}s before retry. ` +
293
310
  `Queue: ${bot._incomingFillQueue.length} fills.`, sustainedLevel);
294
311
  setTimeout(() => {
295
312
  if (bot._shuttingDown)
@@ -301,7 +318,7 @@ function scheduleFillConsumerRestart(bot, chainOrders) {
301
318
  bot._consecutiveConsumeFailures++;
302
319
  const newFailures = bot._consecutiveConsumeFailures;
303
320
  const newElapsedSec = bot._consumeFailureFirstAt
304
- ? Math.round((Date.now() - bot._consumeFailureFirstAt) / constants_1.TIMING.MILLISECONDS_PER_SECOND)
321
+ ? Math.round((Date.now() - bot._consumeFailureFirstAt) / TIMING.MILLISECONDS_PER_SECOND)
305
322
  : null;
306
323
  const resumeLevel = (newFailures >= 20 || (newElapsedSec !== null && newElapsedSec >= 900))
307
324
  ? 'critical'
@@ -310,8 +327,8 @@ function scheduleFillConsumerRestart(bot, chainOrders) {
310
327
  : 'warn';
311
328
  bot._log(`Fill consumer resume after backoff failed ` +
312
329
  `(${newFailures} total, ` +
313
- `next backoff ${Math.round(computeFillConsumerBackoffMs(bot, newFailures) / constants_1.TIMING.MILLISECONDS_PER_SECOND)}s): ` +
314
- `${(0, errors_1.getErrorMessage)(err)}`, resumeLevel);
330
+ `next backoff ${Math.round(computeFillConsumerBackoffMs(bot, newFailures) / TIMING.MILLISECONDS_PER_SECOND)}s): ` +
331
+ `${getErrorMessage(err)}`, resumeLevel);
315
332
  bot._scheduleFillConsumerRestart(chainOrders);
316
333
  });
317
334
  }, backoffMs);
@@ -324,13 +341,13 @@ function scheduleFillConsumerRestart(bot, chainOrders) {
324
341
  bot._consecutiveConsumeFailures++;
325
342
  const remaining = maxConsecutiveFillConsumerFailures(bot) - bot._consecutiveConsumeFailures;
326
343
  bot._log(`Fill consumer failed (${bot._consecutiveConsumeFailures}/${maxConsecutiveFillConsumerFailures(bot)}, ` +
327
- `${remaining} attempts remaining): ${(0, errors_1.getErrorMessage)(err)}`, bot._consecutiveConsumeFailures >= 3 ? 'warn' : 'error');
344
+ `${remaining} attempts remaining): ${getErrorMessage(err)}`, bot._consecutiveConsumeFailures >= 3 ? 'warn' : 'error');
328
345
  }));
329
346
  }
330
347
  /**
331
348
  * Process fills during bootstrap phase using the standard fill pipeline.
332
349
  * Delegates to the same fill pipeline as the post-reset path.
333
- * @param {import('./dexbot_class').DEXBot} bot
350
+ * @param {import('./dexbot_class.js').DEXBot} bot
334
351
  * @param {Object} chainOrders - Chain orders module for blockchain operations
335
352
  * @returns {Promise<void>}
336
353
  */
@@ -343,7 +360,7 @@ async function processFillsWithBootstrapMode(bot, chainOrders) {
343
360
  const processedFillKeys = new Set();
344
361
  let requiresOpenOrdersSync = false;
345
362
  for (const fill of fills) {
346
- if (!fill || fill.op?.[0] !== 4)
363
+ if (!fill || fill.op?.[0] !== FILL_PROCESSING.OPERATION_TYPE)
347
364
  continue;
348
365
  const fillOp = fill.op[1];
349
366
  const gridOrder = bot.manager.orders.get(fillOp.order_id) ||
@@ -372,7 +389,7 @@ async function processFillsWithBootstrapMode(bot, chainOrders) {
372
389
  continue;
373
390
  }
374
391
  validFills.push({ ...fill, gridOrder });
375
- const fillType = gridOrder.type === constants_1.ORDER_TYPES.BUY ? 'BUY' : 'SELL';
392
+ const fillType = gridOrder.type === ORDER_TYPES.BUY ? 'BUY' : 'SELL';
376
393
  bot._log(`[BOOTSTRAP] Fill detected: ${fillType} order (${fillOp.is_maker !== false ? 'maker' : 'taker'})`);
377
394
  }
378
395
  finally {
@@ -416,8 +433,8 @@ async function processFillsWithBootstrapMode(bot, chainOrders) {
416
433
  bot._metrics.fillProcessingTimeMs += Date.now() - startTime;
417
434
  }
418
435
  catch (err) {
419
- bot._warn(`[BOOTSTRAP] Error processing fills: ${(0, errors_1.getErrorMessage)(err)}`);
420
- bot.manager.logger.log(`[BOOTSTRAP] Fill error: ${(0, errors_1.getErrorMessage)(err)}`, 'error');
436
+ bot._warn(`[BOOTSTRAP] Error processing fills: ${getErrorMessage(err)}`);
437
+ bot.manager.logger.log(`[BOOTSTRAP] Fill error: ${getErrorMessage(err)}`, 'error');
421
438
  }
422
439
  }
423
440
  /**
@@ -426,7 +443,7 @@ async function processFillsWithBootstrapMode(bot, chainOrders) {
426
443
  * orders from history or open orders mode, handles price mismatches, processes
427
444
  * fills sequentially with interruptible rebalancing, and periodically cleans old
428
445
  * fill records.
429
- * @param {import('./dexbot_class').DEXBot} bot
446
+ * @param {import('./dexbot_class.js').DEXBot} bot
430
447
  * @param {Object} chainOrders - Chain orders module for blockchain operations
431
448
  */
432
449
  async function consumeFillQueue(bot, chainOrders) {
@@ -482,7 +499,7 @@ async function consumeFillQueue(bot, chainOrders) {
482
499
  pendingFillKeysForCurrentCycle = new Set();
483
500
  let requiresOpenOrdersSync = false;
484
501
  for (const fill of allFills) {
485
- if (fill && fill.op && fill.op[0] === constants_1.FILL_PROCESSING.OPERATION_TYPE) {
502
+ if (fill && fill.op && fill.op[0] === FILL_PROCESSING.OPERATION_TYPE) {
486
503
  const fillOp = fill.op[1];
487
504
  const hasFillEconomics = fillOp?.pays?.asset_id && fillOp?.pays?.amount != null
488
505
  && fillOp?.receives?.asset_id && fillOp?.receives?.amount != null;
@@ -552,13 +569,14 @@ async function consumeFillQueue(bot, chainOrders) {
552
569
  let allFilledOrders = [];
553
570
  let ordersNeedingCorrection = [];
554
571
  const fillMode = chainOrders.getFillProcessingMode();
572
+ const residualCancels = [];
555
573
  const processValidFills = async (fillsToSync) => {
556
574
  let resolvedOrders = [];
557
- if (fillMode === 'history') {
575
+ if (fillMode === FILL_PROCESSING.MODE) {
558
576
  bot.manager.logger.log(`Syncing ${fillsToSync.length} fill(s) (history mode)`, 'info');
559
577
  if (fillsToSync.length >= 2) {
560
578
  const batchResult = await bot.manager.syncFromFillHistoryBatch(fillsToSync, {
561
- persistenceMode: processed_fill_store_1.PROCESSED_FILL_PERSISTENCE_MODES.BATCHED
579
+ persistenceMode: PROCESSED_FILL_PERSISTENCE_MODES.BATCHED
562
580
  });
563
581
  if (batchResult.deferred) {
564
582
  // Deferred: stale accountTotals refresh failed.
@@ -578,13 +596,15 @@ async function consumeFillQueue(bot, chainOrders) {
578
596
  }
579
597
  if (batchResult.filledOrders)
580
598
  resolvedOrders.push(...batchResult.filledOrders);
599
+ if (batchResult.residualCancels)
600
+ residualCancels.push(...batchResult.residualCancels);
581
601
  if (batchResult.requiresOpenOrdersSync)
582
602
  requiresOpenOrdersSync = true;
583
603
  }
584
604
  else {
585
605
  for (const fill of fillsToSync) {
586
606
  const resultHistory = await bot.manager.syncFromFillHistory(fill, {
587
- persistenceMode: processed_fill_store_1.PROCESSED_FILL_PERSISTENCE_MODES.BATCHED
607
+ persistenceMode: PROCESSED_FILL_PERSISTENCE_MODES.BATCHED
588
608
  });
589
609
  const fillKey = buildFillKey({
590
610
  orderId: fill?.op?.[1]?.order_id,
@@ -599,13 +619,15 @@ async function consumeFillQueue(bot, chainOrders) {
599
619
  pendingFillKeysForCurrentCycle.add(fillKey);
600
620
  if (resultHistory.filledOrders)
601
621
  resolvedOrders.push(...resultHistory.filledOrders);
622
+ if (resultHistory.residualCancels)
623
+ residualCancels.push(...resultHistory.residualCancels);
602
624
  if (resultHistory.requiresOpenOrdersSync)
603
625
  requiresOpenOrdersSync = true;
604
626
  }
605
627
  }
606
628
  }
607
- if (fillMode !== 'history' || requiresOpenOrdersSync) {
608
- if (fillMode === 'history' && requiresOpenOrdersSync) {
629
+ if (fillMode !== FILL_PROCESSING.MODE || requiresOpenOrdersSync) {
630
+ if (fillMode === FILL_PROCESSING.MODE && requiresOpenOrdersSync) {
609
631
  bot.manager.logger.log('Falling back to open-orders sync for fill(s) missing replay-safe history identifiers', 'warn');
610
632
  }
611
633
  bot.manager.logger.log(`Syncing ${fillsToSync.length} fill(s) (open orders mode)`, 'info');
@@ -688,6 +710,14 @@ async function consumeFillQueue(bot, chainOrders) {
688
710
  blockNum: filledOrder?.blockNum,
689
711
  historyId: filledOrder?.historyId
690
712
  })).filter(Boolean));
713
+ // Same-order fills are aggregated into one filled order by
714
+ // syncFromFillHistoryBatch, so the raw per-fill keys of the
715
+ // cycle must be flushed here too — otherwise the aggregated
716
+ // order only carries the last fill's key and the earlier
717
+ // same-order fills (already credited in Phase 3 accounting)
718
+ // would be re-credited on crash recovery.
719
+ for (const fillKey of pendingFillKeysForCurrentCycle)
720
+ batchFillKeys.add(fillKey);
691
721
  await bot._flushProcessedFillPersistenceForKeys(batchFillKeys, 'fill-batch-committed');
692
722
  }
693
723
  else {
@@ -713,6 +743,17 @@ async function consumeFillQueue(bot, chainOrders) {
713
743
  }
714
744
  }
715
745
  }
746
+ // Cancel residuals the chain still holds after sub-dust full
747
+ // fills were virtualized. The chain only auto-culls orders whose
748
+ // QUOTE-side residual rounds to 0; a leftover of >= 1 base unit
749
+ // is NOT culled and would otherwise sit on the book forever once
750
+ // the slot stopped referencing it. Runs BEFORE post-fill grid
751
+ // maintenance so the residual cannot be re-adopted into a slot
752
+ // first (which would turn this cancel into a ghost: a grid order
753
+ // referencing a chain order that no longer exists).
754
+ if (!abortedFillCycle && residualCancels.length > 0) {
755
+ await cancelResidualOrders(bot, residualCancels);
756
+ }
716
757
  if (shouldRunPostFillChecks && !abortedFillCycle) {
717
758
  await bot._runGridMaintenance('post-fill');
718
759
  }
@@ -723,16 +764,16 @@ async function consumeFillQueue(bot, chainOrders) {
723
764
  bot.manager._recentFillKeysSnapshot = bot._getRecentFillKeysSnapshot();
724
765
  await retryPersistenceIfNeeded(bot.manager);
725
766
  bot._fillCleanupCounter += validFills.length;
726
- const cleanupThreshold = constants_1.MAINTENANCE.CLEANUP_PROBABILITY > 0 && constants_1.MAINTENANCE.CLEANUP_PROBABILITY < 1
727
- ? Math.floor(1 / constants_1.MAINTENANCE.CLEANUP_PROBABILITY)
767
+ const cleanupThreshold = MAINTENANCE.CLEANUP_PROBABILITY > 0 && MAINTENANCE.CLEANUP_PROBABILITY < 1
768
+ ? Math.floor(1 / MAINTENANCE.CLEANUP_PROBABILITY)
728
769
  : 100;
729
770
  if (bot._fillCleanupCounter >= cleanupThreshold) {
730
771
  try {
731
- await bot.accountOrders.cleanOldProcessedFills(constants_1.TIMING.FILL_RECORD_RETENTION_MS);
772
+ await bot.accountOrders.cleanOldProcessedFills(TIMING.FILL_RECORD_RETENTION_MS);
732
773
  bot._fillCleanupCounter = 0;
733
774
  }
734
775
  catch (err) {
735
- bot.manager?.logger?.log(`Warning: Fill cleanup failed (will retry): ${(0, errors_1.getErrorMessage)(err)}`, 'warn');
776
+ bot.manager?.logger?.log(`Warning: Fill cleanup failed (will retry): ${getErrorMessage(err)}`, 'warn');
736
777
  }
737
778
  }
738
779
  bot._metrics.fillsProcessed += validFills.length;
@@ -765,7 +806,7 @@ async function consumeFillQueue(bot, chainOrders) {
765
806
  : 'fill-cycle-error-verified-fills';
766
807
  if (isCredentialOutage) {
767
808
  bot._credentialRecoveryNeeded = true;
768
- bot._suspendGridPersistenceForCredentialOutage(`credential outage during fill processing: ${(0, errors_1.getErrorMessage)(err)}`);
809
+ bot._suspendGridPersistenceForCredentialOutage(`credential outage during fill processing: ${getErrorMessage(err)}`);
769
810
  }
770
811
  try {
771
812
  await bot._flushProcessedFillPersistenceForKeys(pendingFillKeysForCurrentCycle, flushReason, { throwOnError: true });
@@ -775,14 +816,14 @@ async function consumeFillQueue(bot, chainOrders) {
775
816
  bot.manager?.logger?.log?.(`[FILL-DEDUP] Persisted ${pendingFillKeysForCurrentCycle.size} verified processed-fill write(s) after fill cycle error${credentialSuffix}.`, isCredentialOutage ? 'warn' : 'info');
776
817
  }
777
818
  catch (flushErr) {
778
- bot.manager?.logger?.log?.(`[FILL-DEDUP] Failed to persist verified fill keys during fill error handling: ${(0, errors_1.getErrorMessage)(flushErr)}`, 'warn');
819
+ bot.manager?.logger?.log?.(`[FILL-DEDUP] Failed to persist verified fill keys during fill error handling: ${getErrorMessage(flushErr)}`, 'warn');
779
820
  }
780
821
  }
781
822
  if (isCredentialOutage && pendingFillKeysForCurrentCycle.size === 0) {
782
823
  bot._credentialRecoveryNeeded = true;
783
- bot._suspendGridPersistenceForCredentialOutage(`credential outage during fill processing: ${(0, errors_1.getErrorMessage)(err)}`);
824
+ bot._suspendGridPersistenceForCredentialOutage(`credential outage during fill processing: ${getErrorMessage(err)}`);
784
825
  }
785
- bot._log(`Error processing fills: ${(0, errors_1.getErrorMessage)(err)}`, 'error');
826
+ bot._log(`Error processing fills: ${getErrorMessage(err)}`, 'error');
786
827
  if (err.stack)
787
828
  bot._log(err.stack, 'error');
788
829
  }
@@ -790,4 +831,5 @@ async function consumeFillQueue(bot, chainOrders) {
790
831
  scheduleFillConsumerRestart(bot, chainOrders);
791
832
  }
792
833
  }
834
+ export { wireProcessedFillTracking, flushProcessedFillPersistence, flushProcessedFillPersistenceForKeys, discardPendingProcessedFillPersistence, buildOrphanFillFallbackKey, applyReplaySafeFillAccounting, applyReplaySafeTrackedFillAccounting, applyReplaySafeOrphanFillAccounting, processSweepOrphanFill, createFillCallback, maxConsecutiveFillConsumerFailures, computeFillConsumerBackoffMs, scheduleFillConsumerRestart, consumeFillQueue, processFillsWithBootstrapMode };
793
835
  //# sourceMappingURL=dexbot_fill_runtime.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dexbot_fill_runtime.js","sourceRoot":"","sources":["../../modules/dexbot_fill_runtime.ts"],"names":[],"mappings":";AAAA,qFAAqF;;AAm7B5E,8DAAyB;AAAE,sEAA6B;AAAE,oFAAoC;AAAE,wFAAsC;AAAE,gEAA0B;AAAE,sEAA6B;AAAE,oFAAoC;AAAE,kFAAmC;AAAE,wDAAsB;AAAE,gDAAkB;AAAE,gFAAkC;AAA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