@paraswap/dex-lib 2.50.7 → 2.50.9

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 (3176) hide show
  1. package/.env.example +6 -6
  2. package/.eslintrc.js +57 -57
  3. package/.github/workflows/ci.yaml +22 -22
  4. package/.husky/pre-commit +4 -4
  5. package/.prettierrc +10 -10
  6. package/LICENSE +674 -674
  7. package/README.md +60 -60
  8. package/build/abi/AaveV1_lending_pool.json +27 -27
  9. package/build/abi/AaveV2_lending_pool.json +53 -53
  10. package/build/abi/AaveV3_lending_pool.json +1715 -1715
  11. package/build/abi/BProtocol.json +1155 -1155
  12. package/build/abi/BalancerCustomMulticall.json +26 -26
  13. package/build/abi/BalancerV1ExchangeProxy.json +377 -377
  14. package/build/abi/BalancerV1Pool.json +1630 -1630
  15. package/build/abi/Bancor.json +392 -392
  16. package/build/abi/Compound_CETH.json +12 -12
  17. package/build/abi/Curve.json +54 -54
  18. package/build/abi/CurveV2.json +700 -700
  19. package/build/abi/DirectSwap.json +1018 -1018
  20. package/build/abi/ERC1155.abi.json +459 -459
  21. package/build/abi/ERC1271.abi.json +25 -25
  22. package/build/abi/ERC20.abi.json +288 -288
  23. package/build/abi/ERC721.abi.json +165 -165
  24. package/build/abi/IParaswap.json +3059 -3059
  25. package/build/abi/Jarvis.json +1172 -1172
  26. package/build/abi/MStableAsset.json +1545 -1545
  27. package/build/abi/OneInchLp.json +1304 -1304
  28. package/build/abi/Onebit.json +736 -736
  29. package/build/abi/RamsesV2StateMulticall.abi.json +891 -891
  30. package/build/abi/Redstone.json +739 -0
  31. package/build/abi/Shell.json +1294 -1294
  32. package/build/abi/SimpleSwapHelperRouter.json +38 -38
  33. package/build/abi/Smoothy.json +1049 -1049
  34. package/build/abi/StablePool.json +1035 -1035
  35. package/build/abi/TraderJoeV21Router.json +1489 -1489
  36. package/build/abi/TraderJoeV2Router.json +50 -50
  37. package/build/abi/UniswapV2ExchangeRouter.json +84 -84
  38. package/build/abi/UniswapV3Router.json +274 -274
  39. package/build/abi/aave-v3-weth-gateway.json +290 -290
  40. package/build/abi/aave-weth-gateway-avalanche.json +242 -242
  41. package/build/abi/aave-weth-gateway-polygon.json +242 -242
  42. package/build/abi/aave-weth-gateway.json +38 -38
  43. package/build/abi/aerodrome/aerodrome-pool-factory.json +586 -586
  44. package/build/abi/algebra/AlgebraFactory-v1_1.abi.json +250 -250
  45. package/build/abi/algebra/AlgebraPool-v1_1.abi.json +727 -727
  46. package/build/abi/algebra/AlgebraPool-v1_9.abi.json +756 -756
  47. package/build/abi/algebra/AlgebraQuoter.abi.json +138 -138
  48. package/build/abi/algebra/AlgebraStateMulticall.abi.json +801 -801
  49. package/build/abi/algebra/SwapRouter.json +281 -281
  50. package/build/abi/angle/stagToken.json +963 -0
  51. package/build/abi/angle-transmuter/MorphoOracle.json +193 -0
  52. package/build/abi/angle-transmuter/MorphoVault.json +2506 -0
  53. package/build/abi/angle-transmuter/Pyth.json +1534 -0
  54. package/build/abi/angle-transmuter/Transmuter.json +1711 -0
  55. package/build/abi/api3-proxy.json +53 -53
  56. package/build/abi/api3-server-v1.json +463 -463
  57. package/build/abi/augustus.json +375 -375
  58. package/build/abi/balancer-v2/ComposableStable.json +1391 -1391
  59. package/build/abi/balancer-v2/gyro-e.abi.json +1595 -1595
  60. package/build/abi/balancer-v2/linearPoolAbi.json +1062 -1062
  61. package/build/abi/balancer-v2/meta-stable-pool.json +1437 -1437
  62. package/build/abi/balancer-v2/stable-pool.json +1053 -1053
  63. package/build/abi/balancer-v2/vault.json +918 -918
  64. package/build/abi/balancer-v2/weighted-pool.json +1142 -1142
  65. package/build/abi/benqi/staked-avax.json +954 -954
  66. package/build/abi/camelot/CamelotFactory.json +494 -494
  67. package/build/abi/camelot/CamelotPair.json +1027 -1027
  68. package/build/abi/chainlink.json +323 -323
  69. package/build/abi/curve-v1/StableSwap3Pool.json +838 -838
  70. package/build/abi/curve-v1/StableSwapBBTC.json +1017 -1017
  71. package/build/abi/curve-v1/StableSwapDUSD.json +1004 -1004
  72. package/build/abi/curve-v1/StableSwapEURS.json +868 -868
  73. package/build/abi/curve-v1/StableSwapGUSD.json +1004 -1004
  74. package/build/abi/curve-v1/StableSwapHBTC.json +838 -838
  75. package/build/abi/curve-v1/StableSwapHUSD.json +1004 -1004
  76. package/build/abi/curve-v1/StableSwapLinkUSD.json +1004 -1004
  77. package/build/abi/curve-v1/StableSwapMUSD.json +1004 -1004
  78. package/build/abi/curve-v1/StableSwapOBTC.json +1017 -1017
  79. package/build/abi/curve-v1/StableSwapPBTC.json +1017 -1017
  80. package/build/abi/curve-v1/StableSwapRSV.json +1004 -1004
  81. package/build/abi/curve-v1/StableSwapRen.json +851 -851
  82. package/build/abi/curve-v1/StableSwapSBTC.json +851 -851
  83. package/build/abi/curve-v1/StableSwapSETH.json +850 -850
  84. package/build/abi/curve-v1/StableSwapSLINK.json +899 -899
  85. package/build/abi/curve-v1/StableSwapSTETH.json +895 -895
  86. package/build/abi/curve-v1/StableSwapSUSD.json +760 -760
  87. package/build/abi/curve-v1/StableSwapTBTC.json +1017 -1017
  88. package/build/abi/curve-v1/StableSwapUSDK.json +1004 -1004
  89. package/build/abi/curve-v1/StableSwapUST.json +1017 -1017
  90. package/build/abi/curve-v1-factory/FactoryCurveV1.json +508 -508
  91. package/build/abi/curve-v1-factory/ThreePool.json +468 -468
  92. package/build/abi/curve-v2/GenericFactoryZap.json +233 -233
  93. package/build/abi/dexalot/DexalotMainnetRFQ.json +952 -952
  94. package/build/abi/dodo-v2-proxy.json +565 -565
  95. package/build/abi/erc20.json +308 -308
  96. package/build/abi/etherfi/eETHPool.json +9 -9
  97. package/build/abi/etherfi/weETH.json +20 -20
  98. package/build/abi/gmx/fast-price-events.json +70 -70
  99. package/build/abi/gmx/fast-price-feed.json +748 -748
  100. package/build/abi/gmx/reader.json +337 -337
  101. package/build/abi/gmx/vault-price-feed.json +477 -477
  102. package/build/abi/gmx/vault.json +2002 -2002
  103. package/build/abi/hashflow/HashflowRouter.abi.json +1539 -1539
  104. package/build/abi/jarvis/ChainlinkAccessControlledOffchainAggregator.json +1009 -1009
  105. package/build/abi/jarvis/SynthereumPriceFeed.json +381 -381
  106. package/build/abi/jarvis/jarvis-v6-pool.json +1041 -1041
  107. package/build/abi/kyberdmm/kyber-dmm-exchange-router.abi.json +1148 -1148
  108. package/build/abi/kyberdmm/kyber-dmm-factory.abi.json +335 -335
  109. package/build/abi/kyberdmm/kyber-dmm-pool.abi.json +803 -803
  110. package/build/abi/maker-psm/pot.json +322 -0
  111. package/build/abi/maker-psm/psm.json +243 -243
  112. package/build/abi/maker-psm/vat.json +363 -363
  113. package/build/abi/maverick-v1/pool-inspector.json +216 -216
  114. package/build/abi/maverick-v1/pool.json +1111 -1111
  115. package/build/abi/maverick-v1/router.json +389 -389
  116. package/build/abi/multi-v2.json +313 -313
  117. package/build/abi/nerve/axial-pool.json +693 -693
  118. package/build/abi/nerve/iron-v2-pool.json +785 -785
  119. package/build/abi/nerve/nerve-pool.json +1035 -1035
  120. package/build/abi/nomiswap-v2/nomiswap-v2-pool.json +773 -773
  121. package/build/abi/pancakeswap-v3/PancakeV3StateMulticall.abi.json +781 -781
  122. package/build/abi/pancakeswap-v3/PancakeswapV3Factory.abi.json +300 -300
  123. package/build/abi/pancakeswap-v3/PancakeswapV3Pool.abi.json +1039 -1039
  124. package/build/abi/pancakeswap-v3/PancakeswapV3Quoter.abi.json +285 -285
  125. package/build/abi/pancakeswap-v3/PancakeswapV3Router.abi.json +583 -583
  126. package/build/abi/paraswap-limit-orders/AugustusRFQ.abi.json +1081 -1081
  127. package/build/abi/permit/IERC20Permit.json +45 -45
  128. package/build/abi/permit/IERC20PermitLegacy.json +50 -50
  129. package/build/abi/pharaoh/PharaohPool.abi.json +1582 -0
  130. package/build/abi/platypus/asset.json +490 -490
  131. package/build/abi/platypus/avax-pool.json +820 -820
  132. package/build/abi/platypus/oracle.json +119 -119
  133. package/build/abi/platypus/pool.json +677 -677
  134. package/build/abi/polygon-migration/PolygonMigration.abi.json +364 -364
  135. package/build/abi/quick-perps/fast-price-events.json +70 -70
  136. package/build/abi/quick-perps/fast-price-feed.json +741 -741
  137. package/build/abi/quick-perps/reader.json +313 -313
  138. package/build/abi/quick-perps/vault-price-feed.json +323 -323
  139. package/build/abi/quick-perps/vault.json +1953 -1953
  140. package/build/abi/ramses-v2/RamsesV2Pool.abi.json +1599 -1599
  141. package/build/abi/sdai/SavingsDai.abi.json +877 -0
  142. package/build/abi/smardex/all/smardex-router.json +648 -648
  143. package/build/abi/smardex/layer-1/smardex-factory.json +242 -242
  144. package/build/abi/smardex/layer-1/smardex-pool.json +506 -506
  145. package/build/abi/smardex/layer-2/smardex-factory.json +185 -185
  146. package/build/abi/smardex/layer-2/smardex-pool.json +578 -578
  147. package/build/abi/smardex/smardex-factory.json +185 -0
  148. package/build/abi/smardex/smardex-pool.json +578 -0
  149. package/build/abi/smardex/smardex-router.json +648 -0
  150. package/build/abi/solidly/SolidlyFactory.json +147 -147
  151. package/build/abi/solidly/SolidlyPair.json +658 -658
  152. package/build/abi/solidly-v3/SolidlyV3Pool.abi.json +738 -738
  153. package/build/abi/solidly-v3/SolidlyV3StateMulticall.abi.json +375 -375
  154. package/build/abi/stETH.json +735 -735
  155. package/build/abi/swETH.json +1086 -1086
  156. package/build/abi/swaap-v1/pool.json +1346 -1346
  157. package/build/abi/swaap-v2/vault.json +918 -918
  158. package/build/abi/synthetix/CombinedSynthetix.abi.json +422 -422
  159. package/build/abi/trader-joe-v2_1/FactoryABI.json +1208 -0
  160. package/build/abi/trader-joe-v2_1/PairABI.json +1493 -0
  161. package/build/abi/trader-joe-v2_1/RouterABI.json +1489 -0
  162. package/build/abi/trader-joe-v2_1/StateMulticall.json +193 -0
  163. package/build/abi/uniswap-v2/biswap-pool.json +501 -501
  164. package/build/abi/uniswap-v2/excalibur-pool.json +881 -881
  165. package/build/abi/uniswap-v2/mdex-factory.json +759 -759
  166. package/build/abi/uniswap-v2/uniswap-v2-factory.json +125 -125
  167. package/build/abi/uniswap-v2/uniswap-v2-pool.json +461 -461
  168. package/build/abi/uniswap-v3/UniswapMulti.abi.json +52 -52
  169. package/build/abi/uniswap-v3/UniswapV3Factory.abi.json +148 -148
  170. package/build/abi/uniswap-v3/UniswapV3Pool.abi.json +988 -988
  171. package/build/abi/uniswap-v3/UniswapV3QuoterV2.abi.json +155 -155
  172. package/build/abi/uniswap-v3/UniswapV3Router.abi.json +274 -274
  173. package/build/abi/uniswap-v3/UniswapV3StateMulticall.abi.json +781 -781
  174. package/build/abi/weth.abi.json +153 -153
  175. package/build/abi/wombat/asset.json +743 -743
  176. package/build/abi/wombat/bmw.json +1247 -1247
  177. package/build/abi/wombat/pool-v2.json +1289 -1289
  178. package/build/abi/wombat/pool-v3.json +2013 -2013
  179. package/build/abi/wombat/pool.json +1289 -0
  180. package/build/abi/woo-fi-v2/IntegrationHelper.abi.json +116 -116
  181. package/build/abi/woo-fi-v2/WooOracleV2.abi.json +358 -358
  182. package/build/abi/woo-fi-v2/WooPPV2.abi.json +580 -580
  183. package/build/abi/wstETH.json +252 -252
  184. package/build/abi/zrx.v2.json +1967 -1967
  185. package/build/abi/zrx.v3.json +3454 -3454
  186. package/build/abi/zrx.v4.json +2193 -2193
  187. package/build/bigint-constants.d.ts +11 -11
  188. package/build/bigint-constants.js +19 -19
  189. package/build/bignumber-constants.d.ts +10 -10
  190. package/build/bignumber-constants.js +24 -24
  191. package/build/calldata-gas-cost.d.ts +19 -19
  192. package/build/calldata-gas-cost.js +26 -26
  193. package/build/composed-event-subscriber.d.ts +26 -26
  194. package/build/composed-event-subscriber.js +71 -71
  195. package/build/config.d.ts +11 -11
  196. package/build/config.js +406 -404
  197. package/build/config.js.map +1 -1
  198. package/build/constants.d.ts +35 -35
  199. package/build/constants.js +47 -47
  200. package/build/dex/OneInchLp.d.ts +24 -24
  201. package/build/dex/OneInchLp.js +42 -42
  202. package/build/dex/aave-v1/aave-v1.d.ts +33 -33
  203. package/build/dex/aave-v1/aave-v1.js +157 -157
  204. package/build/dex/aave-v1/config.d.ts +11 -11
  205. package/build/dex/aave-v1/config.js +19 -19
  206. package/build/dex/aave-v1/tokens-mainnet.json +134 -134
  207. package/build/dex/aave-v1/tokens.d.ts +3 -3
  208. package/build/dex/aave-v1/tokens.js +49 -49
  209. package/build/dex/aave-v1/types.d.ts +12 -12
  210. package/build/dex/aave-v1/types.js +2 -2
  211. package/build/dex/aave-v2/aave-v2.d.ts +32 -32
  212. package/build/dex/aave-v2/aave-v2.js +228 -228
  213. package/build/dex/aave-v2/config.d.ts +14 -14
  214. package/build/dex/aave-v2/config.js +48 -48
  215. package/build/dex/aave-v2/tokens-avalanche.json +44 -0
  216. package/build/dex/aave-v2/tokens-mainnet.json +188 -0
  217. package/build/dex/aave-v2/tokens-polygon.json +44 -0
  218. package/build/dex/aave-v2/tokens.d.ts +8 -8
  219. package/build/dex/aave-v2/tokens.js +62 -62
  220. package/build/dex/aave-v2/types.d.ts +33 -33
  221. package/build/dex/aave-v2/types.js +10 -10
  222. package/build/dex/aave-v3/aave-v3.d.ts +45 -45
  223. package/build/dex/aave-v3/aave-v3.js +165 -165
  224. package/build/dex/aave-v3/config.d.ts +11 -11
  225. package/build/dex/aave-v3/config.js +138 -138
  226. package/build/dex/aave-v3/tokens.d.ts +11 -11
  227. package/build/dex/aave-v3/tokens.js +50 -50
  228. package/build/dex/aave-v3/types.d.ts +37 -37
  229. package/build/dex/aave-v3/types.js +10 -10
  230. package/build/dex/aave-v3/utils.d.ts +7 -7
  231. package/build/dex/aave-v3/utils.js +84 -84
  232. package/build/dex/algebra/algebra-factory.d.ts +25 -25
  233. package/build/dex/algebra/algebra-factory.js +42 -42
  234. package/build/dex/algebra/algebra-pool-v1_1.d.ts +69 -69
  235. package/build/dex/algebra/algebra-pool-v1_1.js +509 -509
  236. package/build/dex/algebra/algebra-pool-v1_9.d.ts +54 -54
  237. package/build/dex/algebra/algebra-pool-v1_9.js +355 -355
  238. package/build/dex/algebra/algebra-pool-v1_9_bidirectional_fee.d.ts +16 -16
  239. package/build/dex/algebra/algebra-pool-v1_9_bidirectional_fee.js +25 -25
  240. package/build/dex/algebra/algebra.d.ts +64 -64
  241. package/build/dex/algebra/algebra.js +702 -702
  242. package/build/dex/algebra/config.d.ts +4 -4
  243. package/build/dex/algebra/config.js +101 -117
  244. package/build/dex/algebra/config.js.map +1 -1
  245. package/build/dex/algebra/constants.d.ts +5 -5
  246. package/build/dex/algebra/constants.js +14 -14
  247. package/build/dex/algebra/lib/AlgebraMath.d.ts +13 -13
  248. package/build/dex/algebra/lib/AlgebraMath.js +446 -446
  249. package/build/dex/algebra/lib/Constants.d.ts +5 -5
  250. package/build/dex/algebra/lib/Constants.js +9 -9
  251. package/build/dex/algebra/lib/TickManager.d.ts +4 -4
  252. package/build/dex/algebra/lib/TickManager.js +59 -59
  253. package/build/dex/algebra/lib/TickTable.d.ts +10 -10
  254. package/build/dex/algebra/lib/TickTable.js +159 -159
  255. package/build/dex/algebra/lib/yul-helper.d.ts +9 -9
  256. package/build/dex/algebra/lib/yul-helper.js +27 -27
  257. package/build/dex/algebra/scripts/validate-state.d.ts +1 -1
  258. package/build/dex/algebra/scripts/validate-state.js +194 -194
  259. package/build/dex/algebra/types.d.ts +126 -126
  260. package/build/dex/algebra/types.js +9 -9
  261. package/build/dex/algebra/utils.d.ts +7 -7
  262. package/build/dex/algebra/utils.js +171 -171
  263. package/build/dex/angle-staked-stable/angle-staked-stable-pool.d.ts +56 -0
  264. package/build/dex/angle-staked-stable/angle-staked-stable-pool.js +197 -0
  265. package/build/dex/angle-staked-stable/angle-staked-stable-pool.js.map +1 -0
  266. package/build/dex/angle-staked-stable/angle-staked-stable.d.ts +48 -0
  267. package/build/dex/angle-staked-stable/angle-staked-stable.js +222 -0
  268. package/build/dex/angle-staked-stable/angle-staked-stable.js.map +1 -0
  269. package/build/dex/angle-staked-stable/config.d.ts +4 -0
  270. package/build/dex/angle-staked-stable/config.js +139 -0
  271. package/build/dex/angle-staked-stable/config.js.map +1 -0
  272. package/build/dex/angle-staked-stable/types.d.ts +15 -0
  273. package/build/dex/angle-staked-stable/types.js +3 -0
  274. package/build/dex/angle-staked-stable/types.js.map +1 -0
  275. package/build/dex/angle-transmuter/angle-transmuter-pool.d.ts +61 -0
  276. package/build/dex/angle-transmuter/angle-transmuter-pool.js +415 -0
  277. package/build/dex/angle-transmuter/angle-transmuter-pool.js.map +1 -0
  278. package/build/dex/angle-transmuter/angle-transmuter.d.ts +59 -0
  279. package/build/dex/angle-transmuter/angle-transmuter.js +262 -0
  280. package/build/dex/angle-transmuter/angle-transmuter.js.map +1 -0
  281. package/build/dex/angle-transmuter/backedOracle.d.ts +19 -0
  282. package/build/dex/angle-transmuter/backedOracle.js +56 -0
  283. package/build/dex/angle-transmuter/backedOracle.js.map +1 -0
  284. package/build/dex/angle-transmuter/config.d.ts +4 -0
  285. package/build/dex/angle-transmuter/config.js +30 -0
  286. package/build/dex/angle-transmuter/config.js.map +1 -0
  287. package/build/dex/angle-transmuter/constants.d.ts +77 -0
  288. package/build/dex/angle-transmuter/constants.js +94 -0
  289. package/build/dex/angle-transmuter/constants.js.map +1 -0
  290. package/build/dex/angle-transmuter/morphoOracle.d.ts +42 -0
  291. package/build/dex/angle-transmuter/morphoOracle.js +179 -0
  292. package/build/dex/angle-transmuter/morphoOracle.js.map +1 -0
  293. package/build/dex/angle-transmuter/morphoVault.d.ts +19 -0
  294. package/build/dex/angle-transmuter/morphoVault.js +78 -0
  295. package/build/dex/angle-transmuter/morphoVault.js.map +1 -0
  296. package/build/dex/angle-transmuter/pyth.d.ts +19 -0
  297. package/build/dex/angle-transmuter/pyth.js +70 -0
  298. package/build/dex/angle-transmuter/pyth.js.map +1 -0
  299. package/build/dex/angle-transmuter/redstone.d.ts +20 -0
  300. package/build/dex/angle-transmuter/redstone.js +73 -0
  301. package/build/dex/angle-transmuter/redstone.js.map +1 -0
  302. package/build/dex/angle-transmuter/transmuter.d.ts +52 -0
  303. package/build/dex/angle-transmuter/transmuter.js +374 -0
  304. package/build/dex/angle-transmuter/transmuter.js.map +1 -0
  305. package/build/dex/angle-transmuter/types.d.ts +188 -0
  306. package/build/dex/angle-transmuter/types.js +33 -0
  307. package/build/dex/angle-transmuter/types.js.map +1 -0
  308. package/build/dex/angle-transmuter/utils.d.ts +9 -0
  309. package/build/dex/angle-transmuter/utils.js +252 -0
  310. package/build/dex/angle-transmuter/utils.js.map +1 -0
  311. package/build/dex/augustus-rfq.d.ts +54 -54
  312. package/build/dex/augustus-rfq.js +100 -100
  313. package/build/dex/bProtocol.d.ts +18 -18
  314. package/build/dex/bProtocol.js +38 -38
  315. package/build/dex/balancer-v1/balancer-v1-math.d.ts +2 -2
  316. package/build/dex/balancer-v1/balancer-v1-math.js +115 -115
  317. package/build/dex/balancer-v1/balancer-v1-pool.d.ts +50 -50
  318. package/build/dex/balancer-v1/balancer-v1-pool.js +149 -149
  319. package/build/dex/balancer-v1/balancer-v1.d.ts +45 -45
  320. package/build/dex/balancer-v1/balancer-v1.js +327 -327
  321. package/build/dex/balancer-v1/config.d.ts +9 -9
  322. package/build/dex/balancer-v1/config.js +25 -25
  323. package/build/dex/balancer-v1/optimizer.d.ts +2 -2
  324. package/build/dex/balancer-v1/optimizer.js +65 -65
  325. package/build/dex/balancer-v1/types.d.ts +84 -84
  326. package/build/dex/balancer-v1/types.js +12 -12
  327. package/build/dex/balancer-v1/utils.d.ts +3 -3
  328. package/build/dex/balancer-v1/utils.js +43 -43
  329. package/build/dex/balancer-v2/balancer-v2-math.d.ts +36 -36
  330. package/build/dex/balancer-v2/balancer-v2-math.js +477 -477
  331. package/build/dex/balancer-v2/balancer-v2.d.ts +100 -100
  332. package/build/dex/balancer-v2/balancer-v2.js +873 -873
  333. package/build/dex/balancer-v2/config.d.ts +4 -4
  334. package/build/dex/balancer-v2/config.js +76 -76
  335. package/build/dex/balancer-v2/constants.d.ts +7 -7
  336. package/build/dex/balancer-v2/constants.js +15 -15
  337. package/build/dex/balancer-v2/optimizer.d.ts +2 -2
  338. package/build/dex/balancer-v2/optimizer.js +56 -56
  339. package/build/dex/balancer-v2/pools/balancer-v2-pool.d.ts +25 -25
  340. package/build/dex/balancer-v2/pools/balancer-v2-pool.js +106 -106
  341. package/build/dex/balancer-v2/pools/gyro/Gyro3Pool.d.ts +32 -32
  342. package/build/dex/balancer-v2/pools/gyro/Gyro3Pool.js +148 -148
  343. package/build/dex/balancer-v2/pools/gyro/GyroEPool.d.ts +37 -37
  344. package/build/dex/balancer-v2/pools/gyro/GyroEPool.js +221 -221
  345. package/build/dex/balancer-v2/pools/gyro/gyro-helpers.d.ts +2 -2
  346. package/build/dex/balancer-v2/pools/gyro/gyro-helpers.js +18 -18
  347. package/build/dex/balancer-v2/pools/linear/LinearMath.d.ts +20 -20
  348. package/build/dex/balancer-v2/pools/linear/LinearMath.js +178 -178
  349. package/build/dex/balancer-v2/pools/linear/LinearPool.d.ts +50 -50
  350. package/build/dex/balancer-v2/pools/linear/LinearPool.js +457 -457
  351. package/build/dex/balancer-v2/pools/phantom-stable/PhantomStableMath.d.ts +10 -10
  352. package/build/dex/balancer-v2/pools/phantom-stable/PhantomStableMath.js +313 -313
  353. package/build/dex/balancer-v2/pools/phantom-stable/PhantomStablePool.d.ts +50 -50
  354. package/build/dex/balancer-v2/pools/phantom-stable/PhantomStablePool.js +366 -366
  355. package/build/dex/balancer-v2/pools/stable/StableMath.d.ts +7 -7
  356. package/build/dex/balancer-v2/pools/stable/StableMath.js +109 -109
  357. package/build/dex/balancer-v2/pools/stable/StablePool.d.ts +30 -30
  358. package/build/dex/balancer-v2/pools/stable/StablePool.js +129 -129
  359. package/build/dex/balancer-v2/pools/weighted/WeightedMath.d.ts +6 -6
  360. package/build/dex/balancer-v2/pools/weighted/WeightedMath.js +60 -60
  361. package/build/dex/balancer-v2/pools/weighted/WeightedPool.d.ts +30 -30
  362. package/build/dex/balancer-v2/pools/weighted/WeightedPool.js +111 -111
  363. package/build/dex/balancer-v2/queryOnChain.d.ts +1 -1
  364. package/build/dex/balancer-v2/queryOnChain.js +39 -39
  365. package/build/dex/balancer-v2/types.d.ts +160 -160
  366. package/build/dex/balancer-v2/types.js +31 -31
  367. package/build/dex/balancer-v2/utils.d.ts +26 -26
  368. package/build/dex/balancer-v2/utils.js +144 -144
  369. package/build/dex/bancor.d.ts +26 -26
  370. package/build/dex/bancor.js +57 -57
  371. package/build/dex/camelot/camelot.d.ts +112 -112
  372. package/build/dex/camelot/camelot.js +543 -543
  373. package/build/dex/camelot/config.d.ts +4 -4
  374. package/build/dex/camelot/config.js +21 -21
  375. package/build/dex/camelot/types.d.ts +11 -11
  376. package/build/dex/camelot/types.js +2 -2
  377. package/build/dex/compound.d.ts +18 -18
  378. package/build/dex/compound.js +45 -45
  379. package/build/dex/curve-v1/config.d.ts +4 -4
  380. package/build/dex/curve-v1/config.js +1233 -1233
  381. package/build/dex/curve-v1/constants.d.ts +2 -2
  382. package/build/dex/curve-v1/constants.js +12 -12
  383. package/build/dex/curve-v1/curve-v1.d.ts +77 -77
  384. package/build/dex/curve-v1/curve-v1.js +797 -797
  385. package/build/dex/curve-v1/forks/curve-forks/config.d.ts +4 -4
  386. package/build/dex/curve-v1/forks/curve-forks/config.js +176 -176
  387. package/build/dex/curve-v1/forks/curve-forks/curve-forks.d.ts +13 -13
  388. package/build/dex/curve-v1/forks/curve-forks/curve-forks.js +52 -52
  389. package/build/dex/curve-v1/forks/swerve/config.d.ts +4 -4
  390. package/build/dex/curve-v1/forks/swerve/config.js +46 -46
  391. package/build/dex/curve-v1/forks/swerve/swerve.d.ts +16 -16
  392. package/build/dex/curve-v1/forks/swerve/swerve.js +45 -45
  393. package/build/dex/curve-v1/pools/3pool.d.ts +19 -19
  394. package/build/dex/curve-v1/pools/3pool.js +195 -195
  395. package/build/dex/curve-v1/pools/DUSDpool.d.ts +8 -8
  396. package/build/dex/curve-v1/pools/DUSDpool.js +27 -27
  397. package/build/dex/curve-v1/pools/EURSpool.d.ts +7 -7
  398. package/build/dex/curve-v1/pools/EURSpool.js +26 -26
  399. package/build/dex/curve-v1/pools/GUSDpool.d.ts +8 -8
  400. package/build/dex/curve-v1/pools/GUSDpool.js +27 -27
  401. package/build/dex/curve-v1/pools/HUSDpool.d.ts +8 -8
  402. package/build/dex/curve-v1/pools/HUSDpool.js +27 -27
  403. package/build/dex/curve-v1/pools/LinkUSDpool.d.ts +8 -8
  404. package/build/dex/curve-v1/pools/LinkUSDpool.js +27 -27
  405. package/build/dex/curve-v1/pools/MUSDpool.d.ts +8 -8
  406. package/build/dex/curve-v1/pools/MUSDpool.js +27 -27
  407. package/build/dex/curve-v1/pools/bBTCpool.d.ts +8 -8
  408. package/build/dex/curve-v1/pools/bBTCpool.js +27 -27
  409. package/build/dex/curve-v1/pools/curve-metapool.d.ts +76 -76
  410. package/build/dex/curve-v1/pools/curve-metapool.js +742 -742
  411. package/build/dex/curve-v1/pools/curve-pool.d.ts +57 -57
  412. package/build/dex/curve-v1/pools/curve-pool.js +367 -367
  413. package/build/dex/curve-v1/pools/getstate-multicall.d.ts +3 -3
  414. package/build/dex/curve-v1/pools/getstate-multicall.js +89 -89
  415. package/build/dex/curve-v1/pools/hBTCpool.d.ts +7 -7
  416. package/build/dex/curve-v1/pools/hBTCpool.js +26 -26
  417. package/build/dex/curve-v1/pools/oBTCpool.d.ts +8 -8
  418. package/build/dex/curve-v1/pools/oBTCpool.js +27 -27
  419. package/build/dex/curve-v1/pools/pBTCpool.d.ts +8 -8
  420. package/build/dex/curve-v1/pools/pBTCpool.js +27 -27
  421. package/build/dex/curve-v1/pools/renpool.d.ts +7 -7
  422. package/build/dex/curve-v1/pools/renpool.js +27 -27
  423. package/build/dex/curve-v1/pools/rsvpool.d.ts +8 -8
  424. package/build/dex/curve-v1/pools/rsvpool.js +27 -27
  425. package/build/dex/curve-v1/pools/sBTCpool.d.ts +7 -7
  426. package/build/dex/curve-v1/pools/sBTCpool.js +27 -27
  427. package/build/dex/curve-v1/pools/sETHpool.d.ts +11 -11
  428. package/build/dex/curve-v1/pools/sETHpool.js +38 -38
  429. package/build/dex/curve-v1/pools/sLinkpool.d.ts +7 -7
  430. package/build/dex/curve-v1/pools/sLinkpool.js +26 -26
  431. package/build/dex/curve-v1/pools/sUSDpool.d.ts +12 -12
  432. package/build/dex/curve-v1/pools/sUSDpool.js +82 -82
  433. package/build/dex/curve-v1/pools/stETHpool.d.ts +10 -10
  434. package/build/dex/curve-v1/pools/stETHpool.js +35 -35
  435. package/build/dex/curve-v1/pools/tBTCpool.d.ts +8 -8
  436. package/build/dex/curve-v1/pools/tBTCpool.js +27 -27
  437. package/build/dex/curve-v1/pools/usdkpool.d.ts +8 -8
  438. package/build/dex/curve-v1/pools/usdkpool.js +27 -27
  439. package/build/dex/curve-v1/pools/usdnpool.js +57 -57
  440. package/build/dex/curve-v1/pools/ustpool.d.ts +8 -8
  441. package/build/dex/curve-v1/pools/ustpool.js +27 -27
  442. package/build/dex/curve-v1/types.d.ts +63 -63
  443. package/build/dex/curve-v1/types.js +13 -13
  444. package/build/dex/curve-v1-factory/config.d.ts +5 -5
  445. package/build/dex/curve-v1-factory/config.js +991 -991
  446. package/build/dex/curve-v1-factory/constants.d.ts +14 -14
  447. package/build/dex/curve-v1-factory/constants.js +29 -29
  448. package/build/dex/curve-v1-factory/curve-v1-factory-node-cache.d.ts +3 -3
  449. package/build/dex/curve-v1-factory/curve-v1-factory-node-cache.js +14 -14
  450. package/build/dex/curve-v1-factory/curve-v1-factory.d.ts +61 -61
  451. package/build/dex/curve-v1-factory/curve-v1-factory.js +663 -663
  452. package/build/dex/curve-v1-factory/curve-v1-pool-manager.d.ts +33 -33
  453. package/build/dex/curve-v1-factory/curve-v1-pool-manager.js +269 -269
  454. package/build/dex/curve-v1-factory/price-handlers/functions/_calc_withdraw_one_coin.d.ts +4 -4
  455. package/build/dex/curve-v1-factory/price-handlers/functions/_calc_withdraw_one_coin.js +180 -180
  456. package/build/dex/curve-v1-factory/price-handlers/functions/_dynamic_fee.d.ts +4 -4
  457. package/build/dex/curve-v1-factory/price-handlers/functions/_dynamic_fee.js +67 -67
  458. package/build/dex/curve-v1-factory/price-handlers/functions/_rates.d.ts +4 -4
  459. package/build/dex/curve-v1-factory/price-handlers/functions/_rates.js +80 -80
  460. package/build/dex/curve-v1-factory/price-handlers/functions/_xp.d.ts +4 -4
  461. package/build/dex/curve-v1-factory/price-handlers/functions/_xp.js +84 -84
  462. package/build/dex/curve-v1-factory/price-handlers/functions/_xp_mem.d.ts +4 -4
  463. package/build/dex/curve-v1-factory/price-handlers/functions/_xp_mem.js +74 -74
  464. package/build/dex/curve-v1-factory/price-handlers/functions/calc_token_amount.d.ts +4 -4
  465. package/build/dex/curve-v1-factory/price-handlers/functions/calc_token_amount.js +175 -175
  466. package/build/dex/curve-v1-factory/price-handlers/functions/calc_withdraw_one_coin.d.ts +4 -4
  467. package/build/dex/curve-v1-factory/price-handlers/functions/calc_withdraw_one_coin.js +57 -57
  468. package/build/dex/curve-v1-factory/price-handlers/functions/constants.d.ts +3 -3
  469. package/build/dex/curve-v1-factory/price-handlers/functions/constants.js +483 -483
  470. package/build/dex/curve-v1-factory/price-handlers/functions/get_D.d.ts +4 -4
  471. package/build/dex/curve-v1-factory/price-handlers/functions/get_D.js +256 -256
  472. package/build/dex/curve-v1-factory/price-handlers/functions/get_D_mem.d.ts +4 -4
  473. package/build/dex/curve-v1-factory/price-handlers/functions/get_D_mem.js +82 -82
  474. package/build/dex/curve-v1-factory/price-handlers/functions/get_D_precisions.d.ts +4 -4
  475. package/build/dex/curve-v1-factory/price-handlers/functions/get_D_precisions.js +75 -75
  476. package/build/dex/curve-v1-factory/price-handlers/functions/get_dy.d.ts +4 -4
  477. package/build/dex/curve-v1-factory/price-handlers/functions/get_dy.js +177 -177
  478. package/build/dex/curve-v1-factory/price-handlers/functions/get_dy_underlying.d.ts +4 -4
  479. package/build/dex/curve-v1-factory/price-handlers/functions/get_dy_underlying.js +190 -190
  480. package/build/dex/curve-v1-factory/price-handlers/functions/get_y.d.ts +4 -4
  481. package/build/dex/curve-v1-factory/price-handlers/functions/get_y.js +208 -208
  482. package/build/dex/curve-v1-factory/price-handlers/functions/get_y_D.d.ts +4 -4
  483. package/build/dex/curve-v1-factory/price-handlers/functions/get_y_D.js +138 -138
  484. package/build/dex/curve-v1-factory/price-handlers/functions/utils.d.ts +8 -8
  485. package/build/dex/curve-v1-factory/price-handlers/functions/utils.js +52 -52
  486. package/build/dex/curve-v1-factory/price-handlers/price-handler.d.ts +12 -12
  487. package/build/dex/curve-v1-factory/price-handlers/price-handler.js +85 -85
  488. package/build/dex/curve-v1-factory/price-handlers/types.d.ts +34 -34
  489. package/build/dex/curve-v1-factory/price-handlers/types.js +2 -2
  490. package/build/dex/curve-v1-factory/state-polling-pools/custom-pool-polling.d.ts +27 -27
  491. package/build/dex/curve-v1-factory/state-polling-pools/custom-pool-polling.js +208 -208
  492. package/build/dex/curve-v1-factory/state-polling-pools/factory-pool-polling.d.ts +24 -24
  493. package/build/dex/curve-v1-factory/state-polling-pools/factory-pool-polling.js +129 -129
  494. package/build/dex/curve-v1-factory/state-polling-pools/polling-manager.d.ts +10 -10
  495. package/build/dex/curve-v1-factory/state-polling-pools/polling-manager.js +142 -142
  496. package/build/dex/curve-v1-factory/state-polling-pools/pool-polling-base.d.ts +42 -42
  497. package/build/dex/curve-v1-factory/state-polling-pools/pool-polling-base.js +114 -114
  498. package/build/dex/curve-v1-factory/types.d.ts +209 -209
  499. package/build/dex/curve-v1-factory/types.js +73 -73
  500. package/build/dex/curve-v2.d.ts +58 -58
  501. package/build/dex/curve-v2.js +179 -179
  502. package/build/dex/dexalot/config.d.ts +4 -4
  503. package/build/dex/dexalot/config.js +24 -24
  504. package/build/dex/dexalot/constants.d.ts +16 -16
  505. package/build/dex/dexalot/constants.js +22 -22
  506. package/build/dex/dexalot/dexalot.d.ts +70 -70
  507. package/build/dex/dexalot/dexalot.js +667 -667
  508. package/build/dex/dexalot/rate-fetcher.d.ts +28 -28
  509. package/build/dex/dexalot/rate-fetcher.js +99 -99
  510. package/build/dex/dexalot/types.d.ts +114 -114
  511. package/build/dex/dexalot/types.js +11 -11
  512. package/build/dex/dexalot/validators.d.ts +5 -5
  513. package/build/dex/dexalot/validators.js +44 -44
  514. package/build/dex/dodo-v1.d.ts +33 -33
  515. package/build/dex/dodo-v1.js +62 -62
  516. package/build/dex/dodo-v2.d.ts +49 -49
  517. package/build/dex/dodo-v2.js +93 -93
  518. package/build/dex/etherfi.d.ts +26 -26
  519. package/build/dex/etherfi.js +95 -95
  520. package/build/dex/generic-rfq/e2e-test-config.d.ts +9 -9
  521. package/build/dex/generic-rfq/e2e-test-config.js +32 -32
  522. package/build/dex/generic-rfq/fetch-mm-api.d.ts +1 -1
  523. package/build/dex/generic-rfq/fetch-mm-api.js +195 -195
  524. package/build/dex/generic-rfq/generic-rfq.d.ts +34 -34
  525. package/build/dex/generic-rfq/generic-rfq.js +197 -197
  526. package/build/dex/generic-rfq/rate-fetcher.d.ts +39 -39
  527. package/build/dex/generic-rfq/rate-fetcher.js +281 -281
  528. package/build/dex/generic-rfq/security.d.ts +3 -3
  529. package/build/dex/generic-rfq/security.js +36 -36
  530. package/build/dex/generic-rfq/types.d.ts +87 -87
  531. package/build/dex/generic-rfq/types.js +9 -9
  532. package/build/dex/generic-rfq/utils.d.ts +6 -6
  533. package/build/dex/generic-rfq/utils.js +53 -53
  534. package/build/dex/generic-rfq/validators.d.ts +11 -11
  535. package/build/dex/generic-rfq/validators.js +173 -173
  536. package/build/dex/gmx/config.d.ts +11 -11
  537. package/build/dex/gmx/config.js +76 -76
  538. package/build/dex/gmx/fast-price-feed.d.ts +26 -26
  539. package/build/dex/gmx/fast-price-feed.js +175 -175
  540. package/build/dex/gmx/gmx.d.ts +52 -52
  541. package/build/dex/gmx/gmx.js +203 -203
  542. package/build/dex/gmx/pool.d.ts +21 -21
  543. package/build/dex/gmx/pool.js +207 -207
  544. package/build/dex/gmx/types.d.ts +100 -100
  545. package/build/dex/gmx/types.js +2 -2
  546. package/build/dex/gmx/usdg.d.ts +15 -15
  547. package/build/dex/gmx/usdg.js +60 -60
  548. package/build/dex/gmx/vault-price-feed.d.ts +47 -47
  549. package/build/dex/gmx/vault-price-feed.js +232 -232
  550. package/build/dex/gmx/vault-utils.d.ts +8 -8
  551. package/build/dex/gmx/vault-utils.js +40 -40
  552. package/build/dex/gmx/vault.d.ts +46 -46
  553. package/build/dex/gmx/vault.js +165 -165
  554. package/build/dex/hashflow/config.d.ts +4 -4
  555. package/build/dex/hashflow/config.js +52 -52
  556. package/build/dex/hashflow/constants.d.ts +38 -38
  557. package/build/dex/hashflow/constants.js +45 -45
  558. package/build/dex/hashflow/hashflow.d.ts +77 -77
  559. package/build/dex/hashflow/hashflow.js +657 -657
  560. package/build/dex/hashflow/rate-fetcher.d.ts +21 -21
  561. package/build/dex/hashflow/rate-fetcher.js +64 -64
  562. package/build/dex/hashflow/types.d.ts +68 -68
  563. package/build/dex/hashflow/types.js +23 -23
  564. package/build/dex/hashflow/validators.d.ts +4 -4
  565. package/build/dex/hashflow/validators.js +37 -37
  566. package/build/dex/idex.d.ts +49 -49
  567. package/build/dex/idex.js +2 -2
  568. package/build/dex/index.d.ts +38 -38
  569. package/build/dex/index.js +302 -298
  570. package/build/dex/index.js.map +1 -1
  571. package/build/dex/jarvis-v6/chainLinkpriceFeed-event.d.ts +15 -15
  572. package/build/dex/jarvis-v6/chainLinkpriceFeed-event.js +49 -49
  573. package/build/dex/jarvis-v6/config.d.ts +4 -4
  574. package/build/dex/jarvis-v6/config.js +243 -243
  575. package/build/dex/jarvis-v6/jarvis-v6-events.d.ts +27 -27
  576. package/build/dex/jarvis-v6/jarvis-v6-events.js +47 -47
  577. package/build/dex/jarvis-v6/jarvis-v6.d.ts +48 -48
  578. package/build/dex/jarvis-v6/jarvis-v6.js +277 -277
  579. package/build/dex/jarvis-v6/syntheteumPool-event.d.ts +15 -15
  580. package/build/dex/jarvis-v6/syntheteumPool-event.js +46 -46
  581. package/build/dex/jarvis-v6/types.d.ts +48 -48
  582. package/build/dex/jarvis-v6/types.js +8 -8
  583. package/build/dex/jarvis-v6/utils.d.ts +13 -13
  584. package/build/dex/jarvis-v6/utils.js +74 -74
  585. package/build/dex/jarvis.d.ts +55 -55
  586. package/build/dex/jarvis.js +104 -104
  587. package/build/dex/kyberdmm/config.d.ts +9 -9
  588. package/build/dex/kyberdmm/config.js +58 -58
  589. package/build/dex/kyberdmm/fee-formula.d.ts +15 -15
  590. package/build/dex/kyberdmm/fee-formula.js +87 -87
  591. package/build/dex/kyberdmm/kyberdmm.d.ts +54 -54
  592. package/build/dex/kyberdmm/kyberdmm.js +405 -405
  593. package/build/dex/kyberdmm/math-ext.d.ts +2 -2
  594. package/build/dex/kyberdmm/math-ext.js +26 -26
  595. package/build/dex/kyberdmm/pool.d.ts +50 -50
  596. package/build/dex/kyberdmm/pool.js +153 -153
  597. package/build/dex/kyberdmm/types.d.ts +81 -81
  598. package/build/dex/kyberdmm/types.js +8 -8
  599. package/build/dex/lido.d.ts +19 -19
  600. package/build/dex/lido.js +41 -41
  601. package/build/dex/limit-order-exchange.d.ts +10 -10
  602. package/build/dex/limit-order-exchange.js +19 -19
  603. package/build/dex/mStable.d.ts +44 -44
  604. package/build/dex/mStable.js +74 -74
  605. package/build/dex/maker-psm/config.d.ts +11 -11
  606. package/build/dex/maker-psm/config.js +52 -52
  607. package/build/dex/maker-psm/maker-psm.d.ts +93 -93
  608. package/build/dex/maker-psm/maker-psm.js +374 -374
  609. package/build/dex/maker-psm/types.d.ts +25 -25
  610. package/build/dex/maker-psm/types.js +2 -2
  611. package/build/dex/maverick-v1/config.d.ts +7 -7
  612. package/build/dex/maverick-v1/config.js +31 -31
  613. package/build/dex/maverick-v1/constants.d.ts +1 -1
  614. package/build/dex/maverick-v1/constants.js +4 -4
  615. package/build/dex/maverick-v1/maverick-math/maverick-basic-math.d.ts +21 -21
  616. package/build/dex/maverick-v1/maverick-math/maverick-basic-math.js +169 -169
  617. package/build/dex/maverick-v1/maverick-math/maverick-bin-map.d.ts +25 -25
  618. package/build/dex/maverick-v1/maverick-math/maverick-bin-map.js +167 -167
  619. package/build/dex/maverick-v1/maverick-math/maverick-pool-math.d.ts +42 -42
  620. package/build/dex/maverick-v1/maverick-math/maverick-pool-math.js +366 -366
  621. package/build/dex/maverick-v1/maverick-v1-pool.d.ts +59 -59
  622. package/build/dex/maverick-v1/maverick-v1-pool.js +289 -289
  623. package/build/dex/maverick-v1/maverick-v1.d.ts +45 -45
  624. package/build/dex/maverick-v1/maverick-v1.js +317 -317
  625. package/build/dex/maverick-v1/subgraph-queries.d.ts +2 -2
  626. package/build/dex/maverick-v1/subgraph-queries.js +62 -62
  627. package/build/dex/maverick-v1/types.d.ts +77 -77
  628. package/build/dex/maverick-v1/types.js +8 -8
  629. package/build/dex/nerve/config.d.ts +6 -6
  630. package/build/dex/nerve/config.js +1033 -1033
  631. package/build/dex/nerve/nerve-math.d.ts +32 -32
  632. package/build/dex/nerve/nerve-math.js +219 -219
  633. package/build/dex/nerve/nerve-metapool.js +184 -184
  634. package/build/dex/nerve/nerve-pool.d.ts +45 -45
  635. package/build/dex/nerve/nerve-pool.js +301 -301
  636. package/build/dex/nerve/nerve.d.ts +44 -44
  637. package/build/dex/nerve/nerve.js +276 -276
  638. package/build/dex/nerve/types.d.ts +53 -53
  639. package/build/dex/nerve/types.js +7 -7
  640. package/build/dex/nerve/utils.d.ts +9 -9
  641. package/build/dex/nerve/utils.js +37 -37
  642. package/build/dex/onebit.d.ts +25 -25
  643. package/build/dex/onebit.js +41 -41
  644. package/build/dex/pancakeswap-v3/config.d.ts +4 -4
  645. package/build/dex/pancakeswap-v3/config.js +111 -96
  646. package/build/dex/pancakeswap-v3/config.js.map +1 -1
  647. package/build/dex/pancakeswap-v3/constants.d.ts +24 -24
  648. package/build/dex/pancakeswap-v3/constants.js +29 -29
  649. package/build/dex/pancakeswap-v3/contract-math/BitMath.d.ts +4 -4
  650. package/build/dex/pancakeswap-v3/contract-math/BitMath.js +92 -92
  651. package/build/dex/pancakeswap-v3/contract-math/FixedPoint128.d.ts +3 -3
  652. package/build/dex/pancakeswap-v3/contract-math/FixedPoint128.js +7 -7
  653. package/build/dex/pancakeswap-v3/contract-math/FixedPoint96.d.ts +4 -4
  654. package/build/dex/pancakeswap-v3/contract-math/FixedPoint96.js +8 -8
  655. package/build/dex/pancakeswap-v3/contract-math/FullMath.d.ts +4 -4
  656. package/build/dex/pancakeswap-v3/contract-math/FullMath.js +18 -18
  657. package/build/dex/pancakeswap-v3/contract-math/LiquidityMath.d.ts +3 -3
  658. package/build/dex/pancakeswap-v3/contract-math/LiquidityMath.js +21 -21
  659. package/build/dex/pancakeswap-v3/contract-math/Oracle.d.ts +10 -10
  660. package/build/dex/pancakeswap-v3/contract-math/Oracle.js +132 -132
  661. package/build/dex/pancakeswap-v3/contract-math/SqrtPriceMath.d.ts +10 -10
  662. package/build/dex/pancakeswap-v3/contract-math/SqrtPriceMath.js +90 -90
  663. package/build/dex/pancakeswap-v3/contract-math/SwapMath.d.ts +8 -8
  664. package/build/dex/pancakeswap-v3/contract-math/SwapMath.js +69 -69
  665. package/build/dex/pancakeswap-v3/contract-math/Tick.d.ts +7 -7
  666. package/build/dex/pancakeswap-v3/contract-math/Tick.js +44 -44
  667. package/build/dex/pancakeswap-v3/contract-math/TickBitMap.d.ts +8 -8
  668. package/build/dex/pancakeswap-v3/contract-math/TickBitMap.js +86 -86
  669. package/build/dex/pancakeswap-v3/contract-math/TickMath.d.ts +8 -8
  670. package/build/dex/pancakeswap-v3/contract-math/TickMath.js +161 -161
  671. package/build/dex/pancakeswap-v3/contract-math/UnsafeMath.d.ts +3 -3
  672. package/build/dex/pancakeswap-v3/contract-math/UnsafeMath.js +9 -9
  673. package/build/dex/pancakeswap-v3/contract-math/pancakeswap-v3-math.d.ts +18 -18
  674. package/build/dex/pancakeswap-v3/contract-math/pancakeswap-v3-math.js +400 -400
  675. package/build/dex/pancakeswap-v3/contract-math/utils.d.ts +3 -3
  676. package/build/dex/pancakeswap-v3/contract-math/utils.js +15 -15
  677. package/build/dex/pancakeswap-v3/pancakeswap-v3-factory.d.ts +26 -26
  678. package/build/dex/pancakeswap-v3/pancakeswap-v3-factory.js +43 -43
  679. package/build/dex/pancakeswap-v3/pancakeswap-v3-pool.d.ts +50 -50
  680. package/build/dex/pancakeswap-v3/pancakeswap-v3-pool.js +318 -318
  681. package/build/dex/pancakeswap-v3/pancakeswap-v3.d.ts +58 -58
  682. package/build/dex/pancakeswap-v3/pancakeswap-v3.js +659 -655
  683. package/build/dex/pancakeswap-v3/pancakeswap-v3.js.map +1 -1
  684. package/build/dex/pancakeswap-v3/utils.d.ts +4 -4
  685. package/build/dex/pancakeswap-v3/utils.js +56 -56
  686. package/build/dex/paraswap-limit-orders/config.d.ts +4 -4
  687. package/build/dex/paraswap-limit-orders/config.js +66 -66
  688. package/build/dex/paraswap-limit-orders/constant.d.ts +5 -5
  689. package/build/dex/paraswap-limit-orders/constant.js +25 -25
  690. package/build/dex/paraswap-limit-orders/paraswap-limit-orders.d.ts +43 -43
  691. package/build/dex/paraswap-limit-orders/paraswap-limit-orders.js +386 -386
  692. package/build/dex/paraswap-limit-orders/types.d.ts +69 -69
  693. package/build/dex/paraswap-limit-orders/types.js +2 -2
  694. package/build/dex/paraswap-limit-orders/utils.d.ts +27 -27
  695. package/build/dex/paraswap-limit-orders/utils.js +39 -39
  696. package/build/dex/platypus/asset.d.ts +14 -14
  697. package/build/dex/platypus/asset.js +96 -96
  698. package/build/dex/platypus/config.d.ts +11 -11
  699. package/build/dex/platypus/config.js +68 -68
  700. package/build/dex/platypus/platypus.d.ts +62 -62
  701. package/build/dex/platypus/platypus.js +441 -441
  702. package/build/dex/platypus/pool-avax.d.ts +8 -8
  703. package/build/dex/platypus/pool-avax.js +53 -53
  704. package/build/dex/platypus/pool-base.d.ts +19 -19
  705. package/build/dex/platypus/pool-base.js +85 -85
  706. package/build/dex/platypus/pool-pure.d.ts +8 -8
  707. package/build/dex/platypus/pool-pure.js +36 -36
  708. package/build/dex/platypus/pool-subscriber.d.ts +14 -14
  709. package/build/dex/platypus/pool-subscriber.js +166 -166
  710. package/build/dex/platypus/pool.d.ts +8 -8
  711. package/build/dex/platypus/pool.js +57 -57
  712. package/build/dex/platypus/types.d.ts +92 -92
  713. package/build/dex/platypus/types.js +9 -9
  714. package/build/dex/polygon-migrator/config.d.ts +11 -11
  715. package/build/dex/polygon-migrator/config.js +20 -20
  716. package/build/dex/polygon-migrator/constants.d.ts +1 -1
  717. package/build/dex/polygon-migrator/constants.js +4 -4
  718. package/build/dex/polygon-migrator/polygon-migrator.d.ts +48 -48
  719. package/build/dex/polygon-migrator/polygon-migrator.js +113 -113
  720. package/build/dex/polygon-migrator/types.d.ts +11 -11
  721. package/build/dex/polygon-migrator/types.js +8 -8
  722. package/build/dex/quick-perps/config.d.ts +11 -11
  723. package/build/dex/quick-perps/config.js +26 -26
  724. package/build/dex/quick-perps/fast-price-feed.d.ts +26 -26
  725. package/build/dex/quick-perps/fast-price-feed.js +175 -175
  726. package/build/dex/quick-perps/pool.d.ts +21 -21
  727. package/build/dex/quick-perps/pool.js +224 -224
  728. package/build/dex/quick-perps/quick-perps.d.ts +52 -52
  729. package/build/dex/quick-perps/quick-perps.js +210 -210
  730. package/build/dex/quick-perps/types.d.ts +98 -98
  731. package/build/dex/quick-perps/types.js +2 -2
  732. package/build/dex/quick-perps/usdq.d.ts +15 -15
  733. package/build/dex/quick-perps/usdq.js +60 -60
  734. package/build/dex/quick-perps/vault-price-feed.d.ts +43 -43
  735. package/build/dex/quick-perps/vault-price-feed.js +193 -193
  736. package/build/dex/quick-perps/vault-utils.d.ts +8 -8
  737. package/build/dex/quick-perps/vault-utils.js +40 -40
  738. package/build/dex/quick-perps/vault.d.ts +46 -46
  739. package/build/dex/quick-perps/vault.js +165 -165
  740. package/build/dex/quickswap/config.d.ts +3 -3
  741. package/build/dex/quickswap/config.js +23 -23
  742. package/build/dex/quickswap/quickswap-v3.d.ts +21 -21
  743. package/build/dex/quickswap/quickswap-v3.js +43 -43
  744. package/build/dex/quickswap/spiritswap-v3.d.ts +6 -6
  745. package/build/dex/quickswap/spiritswap-v3.js +18 -18
  746. package/build/dex/quickswap/thena-fusion.d.ts +6 -6
  747. package/build/dex/quickswap/thena-fusion.js +18 -18
  748. package/build/dex/quickswap/types.d.ts +5 -5
  749. package/build/dex/quickswap/types.js +2 -2
  750. package/build/dex/shell.d.ts +25 -25
  751. package/build/dex/shell.js +40 -40
  752. package/build/dex/simple-exchange.d.ts +30 -30
  753. package/build/dex/simple-exchange.js +114 -114
  754. package/build/dex/smardex/config.d.ts +4 -4
  755. package/build/dex/smardex/config.js +63 -63
  756. package/build/dex/smardex/constants.d.ts +18 -18
  757. package/build/dex/smardex/constants.js +32 -32
  758. package/build/dex/smardex/sdk/constants.d.ts +6 -6
  759. package/build/dex/smardex/sdk/constants.js +12 -12
  760. package/build/dex/smardex/sdk/core.d.ts +113 -113
  761. package/build/dex/smardex/sdk/core.js +498 -498
  762. package/build/dex/smardex/sdk/errors.d.ts +15 -15
  763. package/build/dex/smardex/sdk/errors.js +21 -21
  764. package/build/dex/smardex/sdk/types.d.ts +62 -62
  765. package/build/dex/smardex/sdk/types.js +2 -2
  766. package/build/dex/smardex/sdk/utils.d.ts +44 -44
  767. package/build/dex/smardex/sdk/utils.js +132 -132
  768. package/build/dex/smardex/smardex-event-pool.d.ts +28 -28
  769. package/build/dex/smardex/smardex-event-pool.js +118 -118
  770. package/build/dex/smardex/smardex.d.ts +65 -65
  771. package/build/dex/smardex/smardex.js +518 -518
  772. package/build/dex/smardex/subgraph-queries.d.ts +1 -0
  773. package/build/dex/smardex/subgraph-queries.js +17 -0
  774. package/build/dex/smardex/subgraph-queries.js.map +1 -0
  775. package/build/dex/smardex/types.d.ts +55 -55
  776. package/build/dex/smardex/types.js +2 -2
  777. package/build/dex/smardex/usd-reserves.d.ts +23 -0
  778. package/build/dex/smardex/usd-reserves.js +86 -0
  779. package/build/dex/smardex/usd-reserves.js.map +1 -0
  780. package/build/dex/smoothy.d.ts +26 -26
  781. package/build/dex/smoothy.js +47 -47
  782. package/build/dex/solidly/config.d.ts +4 -4
  783. package/build/dex/solidly/config.js +228 -228
  784. package/build/dex/solidly/forks-override/aerodrome.d.ts +14 -14
  785. package/build/dex/solidly/forks-override/aerodrome.js +47 -47
  786. package/build/dex/solidly/forks-override/chronos.d.ts +23 -23
  787. package/build/dex/solidly/forks-override/chronos.js +138 -138
  788. package/build/dex/solidly/forks-override/cone.d.ts +22 -22
  789. package/build/dex/solidly/forks-override/cone.js +52 -52
  790. package/build/dex/solidly/forks-override/equalizer.d.ts +20 -20
  791. package/build/dex/solidly/forks-override/equalizer.js +45 -45
  792. package/build/dex/solidly/forks-override/pharaohV1.d.ts +8 -8
  793. package/build/dex/solidly/forks-override/pharaohV1.js +14 -14
  794. package/build/dex/solidly/forks-override/ramses.d.ts +44 -44
  795. package/build/dex/solidly/forks-override/ramses.js +143 -143
  796. package/build/dex/solidly/forks-override/solisnek.d.ts +8 -8
  797. package/build/dex/solidly/forks-override/solisnek.js +14 -14
  798. package/build/dex/solidly/forks-override/spiritSwapV2.d.ts +21 -21
  799. package/build/dex/solidly/forks-override/spiritSwapV2.js +48 -48
  800. package/build/dex/solidly/forks-override/thena.d.ts +20 -20
  801. package/build/dex/solidly/forks-override/thena.js +45 -45
  802. package/build/dex/solidly/forks-override/usdfi.d.ts +8 -8
  803. package/build/dex/solidly/forks-override/usdfi.js +14 -14
  804. package/build/dex/solidly/forks-override/velocimeter.d.ts +20 -20
  805. package/build/dex/solidly/forks-override/velocimeter.js +45 -45
  806. package/build/dex/solidly/forks-override/velodrome.d.ts +20 -20
  807. package/build/dex/solidly/forks-override/velodrome.js +45 -45
  808. package/build/dex/solidly/forks-override/velodromeV2.d.ts +20 -20
  809. package/build/dex/solidly/forks-override/velodromeV2.js +49 -49
  810. package/build/dex/solidly/solidly-ethereum.d.ts +22 -22
  811. package/build/dex/solidly/solidly-ethereum.js +44 -44
  812. package/build/dex/solidly/solidly-stable-pool.d.ts +4 -4
  813. package/build/dex/solidly/solidly-stable-pool.js +73 -73
  814. package/build/dex/solidly/solidly.d.ts +37 -37
  815. package/build/dex/solidly/solidly.js +436 -436
  816. package/build/dex/solidly/types.d.ts +25 -25
  817. package/build/dex/solidly/types.js +2 -2
  818. package/build/dex/solidly-v3/config.d.ts +9 -9
  819. package/build/dex/solidly-v3/config.js +69 -69
  820. package/build/dex/solidly-v3/constants.d.ts +27 -27
  821. package/build/dex/solidly-v3/constants.js +33 -33
  822. package/build/dex/solidly-v3/contract-math/BitMath.d.ts +4 -4
  823. package/build/dex/solidly-v3/contract-math/BitMath.js +92 -92
  824. package/build/dex/solidly-v3/contract-math/FixedPoint128.d.ts +3 -3
  825. package/build/dex/solidly-v3/contract-math/FixedPoint128.js +7 -7
  826. package/build/dex/solidly-v3/contract-math/FixedPoint96.d.ts +4 -4
  827. package/build/dex/solidly-v3/contract-math/FixedPoint96.js +8 -8
  828. package/build/dex/solidly-v3/contract-math/FullMath.d.ts +4 -4
  829. package/build/dex/solidly-v3/contract-math/FullMath.js +18 -18
  830. package/build/dex/solidly-v3/contract-math/LiquidityMath.d.ts +3 -3
  831. package/build/dex/solidly-v3/contract-math/LiquidityMath.js +21 -21
  832. package/build/dex/solidly-v3/contract-math/SqrtPriceMath.d.ts +10 -10
  833. package/build/dex/solidly-v3/contract-math/SqrtPriceMath.js +90 -90
  834. package/build/dex/solidly-v3/contract-math/SwapMath.d.ts +8 -8
  835. package/build/dex/solidly-v3/contract-math/SwapMath.js +69 -69
  836. package/build/dex/solidly-v3/contract-math/Tick.d.ts +7 -7
  837. package/build/dex/solidly-v3/contract-math/Tick.js +35 -35
  838. package/build/dex/solidly-v3/contract-math/TickBitMap.d.ts +7 -7
  839. package/build/dex/solidly-v3/contract-math/TickBitMap.js +83 -83
  840. package/build/dex/solidly-v3/contract-math/TickMath.d.ts +8 -8
  841. package/build/dex/solidly-v3/contract-math/TickMath.js +161 -161
  842. package/build/dex/solidly-v3/contract-math/UnsafeMath.d.ts +3 -3
  843. package/build/dex/solidly-v3/contract-math/UnsafeMath.js +9 -9
  844. package/build/dex/solidly-v3/contract-math/uniswap-v3-math.d.ts +31 -31
  845. package/build/dex/solidly-v3/contract-math/uniswap-v3-math.js +362 -362
  846. package/build/dex/solidly-v3/contract-math/utils.d.ts +7 -7
  847. package/build/dex/solidly-v3/contract-math/utils.js +38 -38
  848. package/build/dex/solidly-v3/solidly-v3-factory.d.ts +26 -26
  849. package/build/dex/solidly-v3/solidly-v3-factory.js +43 -43
  850. package/build/dex/solidly-v3/solidly-v3-pool.d.ts +49 -49
  851. package/build/dex/solidly-v3/solidly-v3-pool.js +304 -304
  852. package/build/dex/solidly-v3/solidly-v3.d.ts +66 -66
  853. package/build/dex/solidly-v3/solidly-v3.js +582 -582
  854. package/build/dex/solidly-v3/types.d.ts +131 -131
  855. package/build/dex/solidly-v3/types.js +8 -8
  856. package/build/dex/solidly-v3/utils.d.ts +6 -6
  857. package/build/dex/solidly-v3/utils.js +52 -52
  858. package/build/dex/spark/config.d.ts +11 -0
  859. package/build/dex/spark/config.js +21 -0
  860. package/build/dex/spark/config.js.map +1 -0
  861. package/build/dex/spark/constants.d.ts +2 -0
  862. package/build/dex/spark/constants.js +6 -0
  863. package/build/dex/spark/constants.js.map +1 -0
  864. package/build/dex/spark/scripts/validate-state.d.ts +1 -0
  865. package/build/dex/spark/scripts/validate-state.js +102 -0
  866. package/build/dex/spark/scripts/validate-state.js.map +1 -0
  867. package/build/dex/spark/spark-sdai-pool.d.ts +16 -0
  868. package/build/dex/spark/spark-sdai-pool.js +85 -0
  869. package/build/dex/spark/spark-sdai-pool.js.map +1 -0
  870. package/build/dex/spark/spark.d.ts +51 -0
  871. package/build/dex/spark/spark.js +172 -0
  872. package/build/dex/spark/spark.js.map +1 -0
  873. package/build/dex/spark/types.d.ts +21 -0
  874. package/build/dex/spark/types.js +11 -0
  875. package/build/dex/spark/types.js.map +1 -0
  876. package/build/dex/spark/utils.d.ts +4 -0
  877. package/build/dex/spark/utils.js +39 -0
  878. package/build/dex/spark/utils.js.map +1 -0
  879. package/build/dex/stable-pool.d.ts +28 -28
  880. package/build/dex/stable-pool.js +61 -61
  881. package/build/dex/swaap-v1/config.d.ts +17 -17
  882. package/build/dex/swaap-v1/config.js +55 -55
  883. package/build/dex/swaap-v1/constants.d.ts +6 -6
  884. package/build/dex/swaap-v1/constants.js +16 -16
  885. package/build/dex/swaap-v1/libraries/ChainlinkUtils.d.ts +25 -25
  886. package/build/dex/swaap-v1/libraries/ChainlinkUtils.js +61 -61
  887. package/build/dex/swaap-v1/libraries/Const.d.ts +18 -18
  888. package/build/dex/swaap-v1/libraries/Const.js +25 -25
  889. package/build/dex/swaap-v1/libraries/GeometricBrownianMotion.d.ts +77 -77
  890. package/build/dex/swaap-v1/libraries/GeometricBrownianMotion.js +315 -315
  891. package/build/dex/swaap-v1/libraries/LogExpMath.d.ts +75 -75
  892. package/build/dex/swaap-v1/libraries/LogExpMath.js +417 -417
  893. package/build/dex/swaap-v1/libraries/MathMMM.d.ts +185 -185
  894. package/build/dex/swaap-v1/libraries/MathMMM.js +452 -452
  895. package/build/dex/swaap-v1/libraries/Num.d.ts +31 -31
  896. package/build/dex/swaap-v1/libraries/Num.js +166 -166
  897. package/build/dex/swaap-v1/libraries/PoolQuotations.d.ts +23 -23
  898. package/build/dex/swaap-v1/libraries/PoolQuotations.js +130 -130
  899. package/build/dex/swaap-v1/libraries/Struct.d.ts +56 -56
  900. package/build/dex/swaap-v1/libraries/Struct.js +2 -2
  901. package/build/dex/swaap-v1/swaap-v1-pool.d.ts +45 -45
  902. package/build/dex/swaap-v1/swaap-v1-pool.js +655 -655
  903. package/build/dex/swaap-v1/swaap-v1.d.ts +61 -61
  904. package/build/dex/swaap-v1/swaap-v1.js +368 -368
  905. package/build/dex/swaap-v1/types.d.ts +106 -106
  906. package/build/dex/swaap-v1/types.js +8 -8
  907. package/build/dex/swaap-v2/config.d.ts +4 -4
  908. package/build/dex/swaap-v2/config.js +25 -25
  909. package/build/dex/swaap-v2/constants.d.ts +26 -26
  910. package/build/dex/swaap-v2/constants.js +32 -32
  911. package/build/dex/swaap-v2/rate-fetcher.d.ts +22 -22
  912. package/build/dex/swaap-v2/rate-fetcher.js +149 -149
  913. package/build/dex/swaap-v2/stable-coins.d.ts +5 -5
  914. package/build/dex/swaap-v2/stable-coins.js +25 -25
  915. package/build/dex/swaap-v2/swaap-v2.d.ts +63 -63
  916. package/build/dex/swaap-v2/swaap-v2.js +642 -642
  917. package/build/dex/swaap-v2/types.d.ts +91 -91
  918. package/build/dex/swaap-v2/types.js +6 -6
  919. package/build/dex/swaap-v2/utils.d.ts +7 -7
  920. package/build/dex/swaap-v2/utils.js +33 -33
  921. package/build/dex/swaap-v2/validators.d.ts +7 -7
  922. package/build/dex/swaap-v2/validators.js +129 -129
  923. package/build/dex/swell/config.d.ts +14 -14
  924. package/build/dex/swell/config.js +21 -21
  925. package/build/dex/swell/swell.d.ts +60 -60
  926. package/build/dex/swell/swell.js +152 -152
  927. package/build/dex/swell/sweth-pool.d.ts +16 -16
  928. package/build/dex/swell/sweth-pool.js +37 -37
  929. package/build/dex/swell/type.d.ts +3 -3
  930. package/build/dex/swell/type.js +2 -2
  931. package/build/dex/swell/utils.d.ts +4 -4
  932. package/build/dex/swell/utils.js +21 -21
  933. package/build/dex/synthetix/config.d.ts +4 -4
  934. package/build/dex/synthetix/config.js +52 -52
  935. package/build/dex/synthetix/constants.d.ts +23 -23
  936. package/build/dex/synthetix/constants.js +31 -31
  937. package/build/dex/synthetix/contract-math/DexPriceAggregatorUniswapV3.d.ts +17 -17
  938. package/build/dex/synthetix/contract-math/DexPriceAggregatorUniswapV3.js +101 -101
  939. package/build/dex/synthetix/contract-math/ExchangeRates.d.ts +8 -8
  940. package/build/dex/synthetix/contract-math/ExchangeRates.js +76 -76
  941. package/build/dex/synthetix/contract-math/ExchangeRatesWithDexPricing.d.ts +17 -17
  942. package/build/dex/synthetix/contract-math/ExchangeRatesWithDexPricing.js +125 -125
  943. package/build/dex/synthetix/contract-math/FullMath.d.ts +3 -3
  944. package/build/dex/synthetix/contract-math/FullMath.js +13 -13
  945. package/build/dex/synthetix/contract-math/OracleLibrary.d.ts +8 -8
  946. package/build/dex/synthetix/contract-math/OracleLibrary.js +59 -59
  947. package/build/dex/synthetix/contract-math/SafeDecimalMath.d.ts +9 -9
  948. package/build/dex/synthetix/contract-math/SafeDecimalMath.js +40 -40
  949. package/build/dex/synthetix/contract-math/TickMath.d.ts +7 -7
  950. package/build/dex/synthetix/contract-math/TickMath.js +62 -62
  951. package/build/dex/synthetix/contract-math/synthetix-math.d.ts +17 -17
  952. package/build/dex/synthetix/contract-math/synthetix-math.js +126 -126
  953. package/build/dex/synthetix/synthetix-state.d.ts +36 -36
  954. package/build/dex/synthetix/synthetix-state.js +568 -568
  955. package/build/dex/synthetix/synthetix.d.ts +45 -45
  956. package/build/dex/synthetix/synthetix.js +249 -249
  957. package/build/dex/synthetix/types.d.ts +85 -85
  958. package/build/dex/synthetix/types.js +2 -2
  959. package/build/dex/synthetix/utils.d.ts +9 -9
  960. package/build/dex/synthetix/utils.js +86 -86
  961. package/build/dex/trader-joe-v2-1-2/config.d.ts +4 -0
  962. package/build/dex/trader-joe-v2-1-2/config.js +47 -0
  963. package/build/dex/trader-joe-v2-1-2/config.js.map +1 -0
  964. package/build/dex/trader-joe-v2-1-2/constants.d.ts +20 -0
  965. package/build/dex/trader-joe-v2-1-2/constants.js +22 -0
  966. package/build/dex/trader-joe-v2-1-2/constants.js.map +1 -0
  967. package/build/dex/trader-joe-v2-1-2/math/index.d.ts +37 -0
  968. package/build/dex/trader-joe-v2-1-2/math/index.js +291 -0
  969. package/build/dex/trader-joe-v2-1-2/math/index.js.map +1 -0
  970. package/build/dex/trader-joe-v2-1-2/trader-joe-v2-1-2-pool.d.ts +60 -0
  971. package/build/dex/trader-joe-v2-1-2/trader-joe-v2-1-2-pool.js +248 -0
  972. package/build/dex/trader-joe-v2-1-2/trader-joe-v2-1-2-pool.js.map +1 -0
  973. package/build/dex/trader-joe-v2-1-2/trader-joe-v2-1-2.d.ts +53 -0
  974. package/build/dex/trader-joe-v2-1-2/trader-joe-v2-1-2.js +307 -0
  975. package/build/dex/trader-joe-v2-1-2/trader-joe-v2-1-2.js.map +1 -0
  976. package/build/dex/trader-joe-v2-1-2/types.d.ts +82 -0
  977. package/build/dex/trader-joe-v2-1-2/types.js +9 -0
  978. package/build/dex/trader-joe-v2-1-2/types.js.map +1 -0
  979. package/build/dex/trader-joe-v2.1.d.ts +43 -43
  980. package/build/dex/trader-joe-v2.1.js +78 -78
  981. package/build/dex/trader-joe-v2.d.ts +40 -40
  982. package/build/dex/trader-joe-v2.js +73 -73
  983. package/build/dex/trader-joe-v2_1/config.d.ts +4 -0
  984. package/build/dex/trader-joe-v2_1/config.js +47 -0
  985. package/build/dex/trader-joe-v2_1/config.js.map +1 -0
  986. package/build/dex/trader-joe-v2_1/constants.d.ts +20 -0
  987. package/build/dex/trader-joe-v2_1/constants.js +22 -0
  988. package/build/dex/trader-joe-v2_1/constants.js.map +1 -0
  989. package/build/dex/trader-joe-v2_1/math/index.d.ts +37 -0
  990. package/build/dex/trader-joe-v2_1/math/index.js +291 -0
  991. package/build/dex/trader-joe-v2_1/math/index.js.map +1 -0
  992. package/build/dex/trader-joe-v2_1/trader-joe-v2.1.js +384 -0
  993. package/build/dex/trader-joe-v2_1/trader-joe-v2.1.js.map +1 -0
  994. package/build/dex/trader-joe-v2_1/trader-joe-v2_1-pool.d.ts +60 -0
  995. package/build/dex/trader-joe-v2_1/trader-joe-v2_1-pool.js +247 -0
  996. package/build/dex/trader-joe-v2_1/trader-joe-v2_1-pool.js.map +1 -0
  997. package/build/dex/trader-joe-v2_1/trader-joe-v2_1.d.ts +53 -0
  998. package/build/dex/trader-joe-v2_1/trader-joe-v2_1.js +307 -0
  999. package/build/dex/trader-joe-v2_1/trader-joe-v2_1.js.map +1 -0
  1000. package/build/dex/trader-joe-v2_1/types.d.ts +82 -0
  1001. package/build/dex/trader-joe-v2_1/types.js +9 -0
  1002. package/build/dex/trader-joe-v2_1/types.js.map +1 -0
  1003. package/build/dex/uniswap-v2/biswap.d.ts +24 -24
  1004. package/build/dex/uniswap-v2/biswap.js +42 -42
  1005. package/build/dex/uniswap-v2/config.d.ts +11 -11
  1006. package/build/dex/uniswap-v2/config.js +707 -707
  1007. package/build/dex/uniswap-v2/constants.d.ts +7 -7
  1008. package/build/dex/uniswap-v2/constants.js +50 -50
  1009. package/build/dex/uniswap-v2/dfyn.d.ts +17 -17
  1010. package/build/dex/uniswap-v2/dfyn.js +45 -45
  1011. package/build/dex/uniswap-v2/excalibur.d.ts +24 -24
  1012. package/build/dex/uniswap-v2/excalibur.js +43 -43
  1013. package/build/dex/uniswap-v2/mdex.d.ts +24 -24
  1014. package/build/dex/uniswap-v2/mdex.js +46 -46
  1015. package/build/dex/uniswap-v2/nomiswap-v2.d.ts +24 -24
  1016. package/build/dex/uniswap-v2/nomiswap-v2.js +43 -43
  1017. package/build/dex/uniswap-v2/optimizer.d.ts +2 -2
  1018. package/build/dex/uniswap-v2/optimizer.js +57 -57
  1019. package/build/dex/uniswap-v2/types.d.ts +122 -122
  1020. package/build/dex/uniswap-v2/types.js +16 -16
  1021. package/build/dex/uniswap-v2/uniswap-v2-constant-product-pool.d.ts +5 -5
  1022. package/build/dex/uniswap-v2/uniswap-v2-constant-product-pool.js +25 -25
  1023. package/build/dex/uniswap-v2/uniswap-v2-factory.d.ts +25 -25
  1024. package/build/dex/uniswap-v2/uniswap-v2-factory.js +42 -42
  1025. package/build/dex/uniswap-v2/uniswap-v2.d.ts +115 -115
  1026. package/build/dex/uniswap-v2/uniswap-v2.js +608 -608
  1027. package/build/dex/uniswap-v3/config.d.ts +9 -9
  1028. package/build/dex/uniswap-v3/config.js +372 -372
  1029. package/build/dex/uniswap-v3/constants.d.ts +28 -28
  1030. package/build/dex/uniswap-v3/constants.js +34 -34
  1031. package/build/dex/uniswap-v3/contract-math/BitMath.d.ts +4 -4
  1032. package/build/dex/uniswap-v3/contract-math/BitMath.js +92 -92
  1033. package/build/dex/uniswap-v3/contract-math/FixedPoint128.d.ts +3 -3
  1034. package/build/dex/uniswap-v3/contract-math/FixedPoint128.js +7 -7
  1035. package/build/dex/uniswap-v3/contract-math/FixedPoint96.d.ts +4 -4
  1036. package/build/dex/uniswap-v3/contract-math/FixedPoint96.js +8 -8
  1037. package/build/dex/uniswap-v3/contract-math/FullMath.d.ts +4 -4
  1038. package/build/dex/uniswap-v3/contract-math/FullMath.js +18 -18
  1039. package/build/dex/uniswap-v3/contract-math/LiquidityMath.d.ts +3 -3
  1040. package/build/dex/uniswap-v3/contract-math/LiquidityMath.js +21 -21
  1041. package/build/dex/uniswap-v3/contract-math/Oracle.d.ts +10 -10
  1042. package/build/dex/uniswap-v3/contract-math/Oracle.js +132 -132
  1043. package/build/dex/uniswap-v3/contract-math/SqrtPriceMath.d.ts +10 -10
  1044. package/build/dex/uniswap-v3/contract-math/SqrtPriceMath.js +90 -90
  1045. package/build/dex/uniswap-v3/contract-math/SwapMath.d.ts +8 -8
  1046. package/build/dex/uniswap-v3/contract-math/SwapMath.js +69 -69
  1047. package/build/dex/uniswap-v3/contract-math/Tick.d.ts +7 -7
  1048. package/build/dex/uniswap-v3/contract-math/Tick.js +44 -44
  1049. package/build/dex/uniswap-v3/contract-math/TickBitMap.d.ts +7 -7
  1050. package/build/dex/uniswap-v3/contract-math/TickBitMap.js +83 -83
  1051. package/build/dex/uniswap-v3/contract-math/TickMath.d.ts +8 -8
  1052. package/build/dex/uniswap-v3/contract-math/TickMath.js +161 -161
  1053. package/build/dex/uniswap-v3/contract-math/UnsafeMath.d.ts +3 -3
  1054. package/build/dex/uniswap-v3/contract-math/UnsafeMath.js +9 -9
  1055. package/build/dex/uniswap-v3/contract-math/uniswap-v3-math.d.ts +37 -37
  1056. package/build/dex/uniswap-v3/contract-math/uniswap-v3-math.js +392 -392
  1057. package/build/dex/uniswap-v3/contract-math/utils.d.ts +7 -7
  1058. package/build/dex/uniswap-v3/contract-math/utils.js +41 -41
  1059. package/build/dex/uniswap-v3/forks/ramses-v2/ramses-v2-pool.d.ts +19 -19
  1060. package/build/dex/uniswap-v3/forks/ramses-v2/ramses-v2-pool.js +98 -98
  1061. package/build/dex/uniswap-v3/forks/ramses-v2/utils.d.ts +4 -4
  1062. package/build/dex/uniswap-v3/forks/ramses-v2/utils.js +62 -62
  1063. package/build/dex/uniswap-v3/scripts/check-pool-bitmap-ranges.js +239 -239
  1064. package/build/dex/uniswap-v3/scripts/measure-calc-time.d.ts +1 -1
  1065. package/build/dex/uniswap-v3/scripts/measure-calc-time.js +158 -158
  1066. package/build/dex/uniswap-v3/types.d.ts +164 -164
  1067. package/build/dex/uniswap-v3/types.js +8 -8
  1068. package/build/dex/uniswap-v3/uniswap-v3-factory.d.ts +26 -26
  1069. package/build/dex/uniswap-v3/uniswap-v3-factory.js +43 -43
  1070. package/build/dex/uniswap-v3/uniswap-v3-pool.d.ts +51 -51
  1071. package/build/dex/uniswap-v3/uniswap-v3-pool.js +318 -318
  1072. package/build/dex/uniswap-v3/uniswap-v3.d.ts +75 -75
  1073. package/build/dex/uniswap-v3/uniswap-v3.js +763 -763
  1074. package/build/dex/uniswap-v3/utils.d.ts +6 -6
  1075. package/build/dex/uniswap-v3/utils.js +64 -64
  1076. package/build/dex/uniswap-v3.d.ts +44 -44
  1077. package/build/dex/uniswap-v3.js +96 -96
  1078. package/build/dex/weth/config.d.ts +11 -11
  1079. package/build/dex/weth/config.js +70 -70
  1080. package/build/dex/weth/types.d.ts +22 -22
  1081. package/build/dex/weth/types.js +9 -9
  1082. package/build/dex/weth/weth.d.ts +44 -44
  1083. package/build/dex/weth/weth.js +132 -132
  1084. package/build/dex/wombat/config.d.ts +4 -4
  1085. package/build/dex/wombat/config.js +76 -76
  1086. package/build/dex/wombat/types.d.ts +33 -33
  1087. package/build/dex/wombat/types.js +2 -2
  1088. package/build/dex/wombat/utils.d.ts +10 -10
  1089. package/build/dex/wombat/utils.js +78 -78
  1090. package/build/dex/wombat/wombat-bmw.d.ts +40 -40
  1091. package/build/dex/wombat/wombat-bmw.js +129 -129
  1092. package/build/dex/wombat/wombat-pool-poller.d.ts +22 -0
  1093. package/build/dex/wombat/wombat-pool-poller.js +164 -0
  1094. package/build/dex/wombat/wombat-pool-poller.js.map +1 -0
  1095. package/build/dex/wombat/wombat-pool.d.ts +56 -56
  1096. package/build/dex/wombat/wombat-pool.js +449 -449
  1097. package/build/dex/wombat/wombat-quoter.d.ts +16 -16
  1098. package/build/dex/wombat/wombat-quoter.js +175 -175
  1099. package/build/dex/wombat/wombat.d.ts +58 -58
  1100. package/build/dex/wombat/wombat.js +301 -301
  1101. package/build/dex/woo-fi-v2/config.d.ts +4 -4
  1102. package/build/dex/woo-fi-v2/config.js +99 -99
  1103. package/build/dex/woo-fi-v2/constants.d.ts +9 -9
  1104. package/build/dex/woo-fi-v2/constants.js +20 -20
  1105. package/build/dex/woo-fi-v2/decoders.d.ts +6 -6
  1106. package/build/dex/woo-fi-v2/decoders.js +28 -28
  1107. package/build/dex/woo-fi-v2/types.d.ts +41 -41
  1108. package/build/dex/woo-fi-v2/types.js +2 -2
  1109. package/build/dex/woo-fi-v2/utils.d.ts +2 -2
  1110. package/build/dex/woo-fi-v2/utils.js +23 -23
  1111. package/build/dex/woo-fi-v2/woo-fi-v2-math.d.ts +16 -16
  1112. package/build/dex/woo-fi-v2/woo-fi-v2-math.js +136 -136
  1113. package/build/dex/woo-fi-v2/woo-fi-v2-pool.d.ts +12 -12
  1114. package/build/dex/woo-fi-v2/woo-fi-v2-pool.js +78 -78
  1115. package/build/dex/woo-fi-v2/woo-fi-v2.d.ts +53 -53
  1116. package/build/dex/woo-fi-v2/woo-fi-v2.js +319 -319
  1117. package/build/dex/wsteth/config.d.ts +4 -4
  1118. package/build/dex/wsteth/config.js +15 -15
  1119. package/build/dex/wsteth/types.d.ts +10 -10
  1120. package/build/dex/wsteth/types.js +2 -2
  1121. package/build/dex/wsteth/wsteth.d.ts +38 -38
  1122. package/build/dex/wsteth/wsteth.js +208 -208
  1123. package/build/dex/zerox/index.d.ts +44 -44
  1124. package/build/dex/zerox/index.js +216 -216
  1125. package/build/dex/zerox/order.d.ts +88 -88
  1126. package/build/dex/zerox/order.js +52 -52
  1127. package/build/dex/zerox/types.d.ts +44 -44
  1128. package/build/dex/zerox/types.js +13 -13
  1129. package/build/dex-helper/Cache.d.ts +31 -0
  1130. package/build/dex-helper/Cache.js +106 -0
  1131. package/build/dex-helper/Cache.js.map +1 -0
  1132. package/build/dex-helper/RedisBatcher.d.ts +20 -0
  1133. package/build/dex-helper/RedisBatcher.js +75 -0
  1134. package/build/dex-helper/RedisBatcher.js.map +1 -0
  1135. package/build/dex-helper/RedisWrapper.d.ts +37 -0
  1136. package/build/dex-helper/RedisWrapper.js +165 -0
  1137. package/build/dex-helper/RedisWrapper.js.map +1 -0
  1138. package/build/dex-helper/dummy-dex-helper.d.ts +33 -33
  1139. package/build/dex-helper/dummy-dex-helper.js +179 -179
  1140. package/build/dex-helper/dummy-limit-order-provider.d.ts +14 -14
  1141. package/build/dex-helper/dummy-limit-order-provider.js +32 -32
  1142. package/build/dex-helper/iblock-manager.d.ts +18 -18
  1143. package/build/dex-helper/iblock-manager.js +2 -2
  1144. package/build/dex-helper/icache.d.ts +23 -23
  1145. package/build/dex-helper/icache.js +2 -2
  1146. package/build/dex-helper/idex-helper.d.ts +24 -24
  1147. package/build/dex-helper/idex-helper.js +2 -2
  1148. package/build/dex-helper/ilimit-order-provider.d.ts +8 -8
  1149. package/build/dex-helper/ilimit-order-provider.js +2 -2
  1150. package/build/dex-helper/index.d.ts +6 -6
  1151. package/build/dex-helper/index.js +7 -7
  1152. package/build/dex-helper/irequest-wrapper.d.ts +27 -27
  1153. package/build/dex-helper/irequest-wrapper.js +2 -2
  1154. package/build/implementations/local-paraswap-sdk.d.ts +28 -28
  1155. package/build/implementations/local-paraswap-sdk.js +178 -178
  1156. package/build/index.d.ts +10 -10
  1157. package/build/index.js +17 -17
  1158. package/build/lens.d.ts +6 -6
  1159. package/build/lens.js +7 -7
  1160. package/build/lib/api3-feed.d.ts +30 -30
  1161. package/build/lib/api3-feed.js +99 -99
  1162. package/build/lib/benqi/staked-avax.d.ts +18 -18
  1163. package/build/lib/benqi/staked-avax.js +79 -79
  1164. package/build/lib/chainlink.d.ts +22 -22
  1165. package/build/lib/chainlink.js +55 -55
  1166. package/build/lib/decoders.d.ts +24 -24
  1167. package/build/lib/decoders.js +133 -133
  1168. package/build/lib/erc1271-utils.d.ts +10 -10
  1169. package/build/lib/erc1271-utils.js +11 -11
  1170. package/build/lib/fetcher/fetcher.d.ts +33 -33
  1171. package/build/lib/fetcher/fetcher.js +132 -132
  1172. package/build/lib/generics-events-subscribers/erc20-event-subscriber-factory.d.ts +3 -3
  1173. package/build/lib/generics-events-subscribers/erc20-event-subscriber-factory.js +16 -16
  1174. package/build/lib/generics-events-subscribers/erc20-event-subscriber.d.ts +22 -22
  1175. package/build/lib/generics-events-subscribers/erc20-event-subscriber.js +163 -163
  1176. package/build/lib/generics-events-subscribers/types.d.ts +33 -33
  1177. package/build/lib/generics-events-subscribers/types.js +15 -15
  1178. package/build/lib/generics-events-subscribers/utils.d.ts +6 -6
  1179. package/build/lib/generics-events-subscribers/utils.js +25 -25
  1180. package/build/lib/log-messages-suppressor.d.ts +30 -30
  1181. package/build/lib/log-messages-suppressor.js +111 -111
  1182. package/build/lib/log4js.d.ts +4 -4
  1183. package/build/lib/log4js.js +109 -109
  1184. package/build/lib/multi-wrapper.d.ts +21 -21
  1185. package/build/lib/multi-wrapper.js +67 -67
  1186. package/build/lib/promise-scheduler.d.ts +10 -10
  1187. package/build/lib/promise-scheduler.js +47 -47
  1188. package/build/lib/stateful-rpc-poller/state-polling-manager.d.ts +24 -24
  1189. package/build/lib/stateful-rpc-poller/state-polling-manager.js +192 -192
  1190. package/build/lib/stateful-rpc-poller/stateful-rpc-poller.d.ts +72 -72
  1191. package/build/lib/stateful-rpc-poller/stateful-rpc-poller.js +368 -368
  1192. package/build/lib/stateful-rpc-poller/types.d.ts +35 -35
  1193. package/build/lib/stateful-rpc-poller/types.js +9 -9
  1194. package/build/lib/stateful-rpc-poller/utils.d.ts +4 -4
  1195. package/build/lib/stateful-rpc-poller/utils.js +16 -16
  1196. package/build/lib/task-scheduler.d.ts +17 -17
  1197. package/build/lib/task-scheduler.js +54 -54
  1198. package/build/lib/token-transfer-fee.d.ts +2 -2
  1199. package/build/lib/token-transfer-fee.js +41 -41
  1200. package/build/lib/tokens/balancer-fetcher.d.ts +23 -23
  1201. package/build/lib/tokens/balancer-fetcher.js +221 -221
  1202. package/build/lib/tokens/types.d.ts +86 -86
  1203. package/build/lib/tokens/types.js +35 -35
  1204. package/build/lib/tokens/utils.d.ts +30 -30
  1205. package/build/lib/tokens/utils.js +127 -127
  1206. package/build/lib/utils-interfaces.d.ts +2 -2
  1207. package/build/lib/utils-interfaces.js +9 -9
  1208. package/build/lib/validators.d.ts +7 -7
  1209. package/build/lib/validators.js +26 -26
  1210. package/build/pools-helper.d.ts +12 -12
  1211. package/build/pools-helper.js +40 -40
  1212. package/build/pricing-helper.d.ts +23 -23
  1213. package/build/pricing-helper.js +201 -201
  1214. package/build/rebase-tokens.json +17 -17
  1215. package/build/router/buy.d.ts +15 -15
  1216. package/build/router/buy.js +62 -62
  1217. package/build/router/directswap.d.ts +10 -10
  1218. package/build/router/directswap.js +54 -54
  1219. package/build/router/index.d.ts +18 -18
  1220. package/build/router/index.js +38 -38
  1221. package/build/router/irouter.d.ts +6 -6
  1222. package/build/router/irouter.js +2 -2
  1223. package/build/router/megaswap.d.ts +15 -15
  1224. package/build/router/megaswap.js +56 -56
  1225. package/build/router/multiswap.d.ts +15 -15
  1226. package/build/router/multiswap.js +58 -58
  1227. package/build/router/payload-encoder.d.ts +31 -31
  1228. package/build/router/payload-encoder.js +193 -193
  1229. package/build/router/simpleswap.d.ts +38 -38
  1230. package/build/router/simpleswap.js +207 -207
  1231. package/build/router/simpleswapnft.d.ts +11 -11
  1232. package/build/router/simpleswapnft.js +92 -92
  1233. package/build/stateful-event-subscriber.d.ts +48 -48
  1234. package/build/stateful-event-subscriber.js +352 -352
  1235. package/build/transaction-builder.d.ts +25 -25
  1236. package/build/transaction-builder.js +34 -34
  1237. package/build/types.d.ts +261 -261
  1238. package/build/types.js +2 -2
  1239. package/build/utils.d.ts +69 -69
  1240. package/build/utils.js +315 -315
  1241. package/dex-template/__DexName__-e2e.test.ts.template +162 -162
  1242. package/dex-template/__DexName__-events.test.ts.template +110 -110
  1243. package/dex-template/__DexName__-integration.test.ts.template +251 -251
  1244. package/dex-template/__DexName__-pool.ts.template +91 -91
  1245. package/dex-template/__DexName__.ts.template +183 -183
  1246. package/dex-template/config.ts.template +15 -15
  1247. package/dex-template/types.ts.template +22 -22
  1248. package/jest.config.js +10 -10
  1249. package/package.json +81 -81
  1250. package/scripts/dex-integration.ts +164 -164
  1251. package/scripts/fetch-event-blocknumber.ts +51 -51
  1252. package/scripts/generate-bytecode.ts +11 -11
  1253. package/scripts/run-dex-integration.ts +95 -95
  1254. package/src/abi/AaveV1_lending_pool.json +27 -27
  1255. package/src/abi/AaveV2_lending_pool.json +53 -53
  1256. package/src/abi/AaveV3_lending_pool.json +1715 -1715
  1257. package/src/abi/BProtocol.json +1155 -1155
  1258. package/src/abi/Balancer.json +257 -257
  1259. package/src/abi/BalancerCustomMulticall.json +26 -26
  1260. package/src/abi/BalancerV1ExchangeProxy.json +377 -377
  1261. package/src/abi/BalancerV1Pool.json +1630 -1630
  1262. package/src/abi/BalancerV2.json +1179 -1179
  1263. package/src/abi/Bancor.json +392 -392
  1264. package/src/abi/Compound_CETH.json +12 -12
  1265. package/src/abi/Curve.json +54 -54
  1266. package/src/abi/CurveV2.json +700 -700
  1267. package/src/abi/DirectSwap.json +1018 -1018
  1268. package/src/abi/ERC1155.abi.json +459 -459
  1269. package/src/abi/ERC1271.abi.json +25 -25
  1270. package/src/abi/ERC20.abi.json +288 -288
  1271. package/src/abi/ERC721.abi.json +165 -165
  1272. package/src/abi/IParaswap.json +3059 -3059
  1273. package/src/abi/Jarvis.json +1172 -1172
  1274. package/src/abi/MStableAsset.json +1545 -1545
  1275. package/src/abi/OneInchLp.json +1304 -1304
  1276. package/src/abi/Onebit.json +736 -736
  1277. package/src/abi/RamsesV2Pool.abi.json +1554 -1554
  1278. package/src/abi/RamsesV2Quoter.abi.json +274 -274
  1279. package/src/abi/RamsesV2StateMulticall.abi.json +891 -891
  1280. package/src/abi/Shell.json +1294 -1294
  1281. package/src/abi/SimpleSwapHelperRouter.json +38 -38
  1282. package/src/abi/Smoothy.json +1049 -1049
  1283. package/src/abi/StablePool.json +1035 -1035
  1284. package/src/abi/TraderJoeV21Router.json +1489 -1489
  1285. package/src/abi/TraderJoeV2Router.json +50 -50
  1286. package/src/abi/UniswapV2ExchangeRouter.json +84 -84
  1287. package/src/abi/UniswapV2Router.json +397 -397
  1288. package/src/abi/UniswapV3Router.json +274 -274
  1289. package/src/abi/aave-v3-weth-gateway.json +290 -290
  1290. package/src/abi/aave-weth-gateway-avalanche.json +242 -242
  1291. package/src/abi/aave-weth-gateway-polygon.json +242 -242
  1292. package/src/abi/aave-weth-gateway.json +38 -38
  1293. package/src/abi/aerodrome/aerodrome-pool-factory.json +586 -586
  1294. package/src/abi/algebra/AlgebraFactory-v1_1.abi.json +250 -250
  1295. package/src/abi/algebra/AlgebraPool-v1_1.abi.json +727 -727
  1296. package/src/abi/algebra/AlgebraPool-v1_9.abi.json +756 -756
  1297. package/src/abi/algebra/AlgebraQuoter.abi.json +138 -138
  1298. package/src/abi/algebra/AlgebraStateMulticall.abi.json +801 -801
  1299. package/src/abi/algebra/SwapRouter.json +281 -281
  1300. package/src/abi/angle/stagToken.json +963 -0
  1301. package/src/abi/api3-proxy.json +53 -53
  1302. package/src/abi/api3-server-v1.json +463 -463
  1303. package/src/abi/augustus.json +375 -375
  1304. package/src/abi/balancer-v2/ComposableStable.json +1391 -1391
  1305. package/src/abi/balancer-v2/gyro-e.abi.json +1595 -1595
  1306. package/src/abi/balancer-v2/linearPoolAbi.json +1062 -1062
  1307. package/src/abi/balancer-v2/meta-stable-pool.json +1437 -1437
  1308. package/src/abi/balancer-v2/stable-pool.json +1053 -1053
  1309. package/src/abi/balancer-v2/vault.json +918 -918
  1310. package/src/abi/balancer-v2/weighted-pool.json +1142 -1142
  1311. package/src/abi/benqi/staked-avax.json +954 -954
  1312. package/src/abi/camelot/CamelotFactory.json +494 -494
  1313. package/src/abi/camelot/CamelotPair.json +1027 -1027
  1314. package/src/abi/chainlink.json +323 -323
  1315. package/src/abi/curve-v1/CurveBUSDv2.abi.json +1356 -1356
  1316. package/src/abi/curve-v1/CurveTokenV1.json +305 -305
  1317. package/src/abi/curve-v1/CurveTokenV2.json +318 -318
  1318. package/src/abi/curve-v1/CurveV2Swap.json +700 -700
  1319. package/src/abi/curve-v1/FactoryCryptoRegistry.json +316 -316
  1320. package/src/abi/curve-v1/FactoryRegistry.json +508 -508
  1321. package/src/abi/curve-v1/StableSwap3Pool.json +838 -838
  1322. package/src/abi/curve-v1/StableSwapAave.json +1152 -1152
  1323. package/src/abi/curve-v1/StableSwapBBTC.json +1017 -1017
  1324. package/src/abi/curve-v1/StableSwapBUSD.json +814 -814
  1325. package/src/abi/curve-v1/StableSwapCompound.json +814 -814
  1326. package/src/abi/curve-v1/StableSwapDUSD.json +1004 -1004
  1327. package/src/abi/curve-v1/StableSwapEURS.json +868 -868
  1328. package/src/abi/curve-v1/StableSwapGUSD.json +1004 -1004
  1329. package/src/abi/curve-v1/StableSwapHBTC.json +838 -838
  1330. package/src/abi/curve-v1/StableSwapHUSD.json +1004 -1004
  1331. package/src/abi/curve-v1/StableSwapIDLE.json +1253 -1253
  1332. package/src/abi/curve-v1/StableSwapLinkUSD.json +1004 -1004
  1333. package/src/abi/curve-v1/StableSwapMUSD.json +1004 -1004
  1334. package/src/abi/curve-v1/StableSwapOBTC.json +1017 -1017
  1335. package/src/abi/curve-v1/StableSwapPBTC.json +1017 -1017
  1336. package/src/abi/curve-v1/StableSwapPax.json +865 -865
  1337. package/src/abi/curve-v1/StableSwapRSV.json +1004 -1004
  1338. package/src/abi/curve-v1/StableSwapRen.json +851 -851
  1339. package/src/abi/curve-v1/StableSwapSBTC.json +851 -851
  1340. package/src/abi/curve-v1/StableSwapSETH.json +850 -850
  1341. package/src/abi/curve-v1/StableSwapSLINK.json +899 -899
  1342. package/src/abi/curve-v1/StableSwapSTETH.json +895 -895
  1343. package/src/abi/curve-v1/StableSwapSUSD.json +760 -760
  1344. package/src/abi/curve-v1/StableSwapSnow.json +900 -900
  1345. package/src/abi/curve-v1/StableSwapTBTC.json +1017 -1017
  1346. package/src/abi/curve-v1/StableSwapUSDK.json +1004 -1004
  1347. package/src/abi/curve-v1/StableSwapUSDN.json +1004 -1004
  1348. package/src/abi/curve-v1/StableSwapUSDT.json +814 -814
  1349. package/src/abi/curve-v1/StableSwapUST.json +1017 -1017
  1350. package/src/abi/curve-v1/StableSwapY.json +814 -814
  1351. package/src/abi/curve-v1-factory/FactoryCurveV1.json +508 -508
  1352. package/src/abi/curve-v1-factory/ThreePool.json +468 -468
  1353. package/src/abi/curve-v2/GenericFactoryZap.json +233 -233
  1354. package/src/abi/dexalot/DexalotMainnetRFQ.json +952 -952
  1355. package/src/abi/dodo-v2-proxy.json +565 -565
  1356. package/src/abi/erc20.json +308 -308
  1357. package/src/abi/etherfi/eETHPool.json +9 -9
  1358. package/src/abi/etherfi/weETH.json +20 -20
  1359. package/src/abi/gmx/fast-price-events.json +70 -70
  1360. package/src/abi/gmx/fast-price-feed.json +748 -748
  1361. package/src/abi/gmx/reader.json +337 -337
  1362. package/src/abi/gmx/vault-price-feed.json +477 -477
  1363. package/src/abi/gmx/vault.json +2002 -2002
  1364. package/src/abi/hashflow/HashflowRouter.abi.json +1539 -1539
  1365. package/src/abi/jarvis/ChainlinkAccessControlledOffchainAggregator.json +1009 -1009
  1366. package/src/abi/jarvis/SynthereumPriceFeed.json +381 -381
  1367. package/src/abi/jarvis/jarvis-v6-pool.json +1041 -1041
  1368. package/src/abi/kyberdmm/kyber-dmm-exchange-router.abi.json +1148 -1148
  1369. package/src/abi/kyberdmm/kyber-dmm-factory.abi.json +335 -335
  1370. package/src/abi/kyberdmm/kyber-dmm-pool.abi.json +803 -803
  1371. package/src/abi/kyberdmm/kyber-storage.abi.json +824 -824
  1372. package/src/abi/kyberdmm.abi.json +1148 -1148
  1373. package/src/abi/maker-psm/pot.json +322 -0
  1374. package/src/abi/maker-psm/psm.json +243 -243
  1375. package/src/abi/maker-psm/vat.json +363 -363
  1376. package/src/abi/maverick-v1/pool-inspector.json +216 -216
  1377. package/src/abi/maverick-v1/pool.json +1111 -1111
  1378. package/src/abi/maverick-v1/router.json +389 -389
  1379. package/src/abi/multi-v2.json +313 -313
  1380. package/src/abi/nerve/axial-pool.json +693 -693
  1381. package/src/abi/nerve/iron-v2-pool.json +785 -785
  1382. package/src/abi/nerve/nerve-metapool.json +790 -790
  1383. package/src/abi/nerve/nerve-pool.json +1035 -1035
  1384. package/src/abi/nomiswap-v2/nomiswap-v2-pool.json +773 -773
  1385. package/src/abi/pancakeswap-v3/PancakeV3StateMulticall.abi.json +781 -781
  1386. package/src/abi/pancakeswap-v3/PancakeswapV3Factory.abi.json +300 -300
  1387. package/src/abi/pancakeswap-v3/PancakeswapV3Pool.abi.json +1039 -1039
  1388. package/src/abi/pancakeswap-v3/PancakeswapV3Quoter.abi.json +285 -285
  1389. package/src/abi/pancakeswap-v3/PancakeswapV3Router.abi.json +583 -583
  1390. package/src/abi/paraswap-limit-orders/AugustusRFQ.abi.json +1081 -1081
  1391. package/src/abi/permit/IERC20Permit.json +45 -45
  1392. package/src/abi/permit/IERC20PermitLegacy.json +50 -50
  1393. package/src/abi/platypus/asset.json +490 -490
  1394. package/src/abi/platypus/avax-pool.json +820 -820
  1395. package/src/abi/platypus/oracle.json +119 -119
  1396. package/src/abi/platypus/pool.json +677 -677
  1397. package/src/abi/polygon-migration/PolygonMigration.abi.json +364 -364
  1398. package/src/abi/quick-perps/fast-price-events.json +70 -70
  1399. package/src/abi/quick-perps/fast-price-feed.json +741 -741
  1400. package/src/abi/quick-perps/reader.json +313 -313
  1401. package/src/abi/quick-perps/vault-price-feed.json +323 -323
  1402. package/src/abi/quick-perps/vault.json +1953 -1953
  1403. package/src/abi/ramses-v2/RamsesV2Pool.abi.json +1599 -1599
  1404. package/src/abi/sdai/SavingsDai.abi.json +877 -0
  1405. package/src/abi/smardex/all/smardex-router.json +648 -648
  1406. package/src/abi/smardex/layer-1/smardex-factory.json +242 -242
  1407. package/src/abi/smardex/layer-1/smardex-pool.json +506 -506
  1408. package/src/abi/smardex/layer-2/smardex-factory.json +185 -185
  1409. package/src/abi/smardex/layer-2/smardex-pool.json +578 -578
  1410. package/src/abi/solidly/SolidlyFactory.json +147 -147
  1411. package/src/abi/solidly/SolidlyPair.json +658 -658
  1412. package/src/abi/solidly-v3/SolidlyV3Pool.abi.json +738 -738
  1413. package/src/abi/solidly-v3/SolidlyV3StateMulticall.abi.json +375 -375
  1414. package/src/abi/stETH.json +735 -735
  1415. package/src/abi/swETH.json +1086 -1086
  1416. package/src/abi/swaap-v1/asset.json +490 -490
  1417. package/src/abi/swaap-v1/oracle.json +119 -119
  1418. package/src/abi/swaap-v1/pool.json +1346 -1346
  1419. package/src/abi/swaap-v2/vault.json +918 -918
  1420. package/src/abi/synthetix/CombinedSynthetix.abi.json +422 -422
  1421. package/src/abi/uniswap-v2/biswap-pool.json +501 -501
  1422. package/src/abi/uniswap-v2/excalibur-pool.json +881 -881
  1423. package/src/abi/uniswap-v2/mdex-factory.json +759 -759
  1424. package/src/abi/uniswap-v2/uniswap-v2-factory.json +125 -125
  1425. package/src/abi/uniswap-v2/uniswap-v2-pool.json +461 -461
  1426. package/src/abi/uniswap-v3/UniswapMulti.abi.json +52 -52
  1427. package/src/abi/uniswap-v3/UniswapV3Factory.abi.json +148 -148
  1428. package/src/abi/uniswap-v3/UniswapV3Pool.abi.json +988 -988
  1429. package/src/abi/uniswap-v3/UniswapV3Quoter.abi.json +193 -193
  1430. package/src/abi/uniswap-v3/UniswapV3QuoterV2.abi.json +155 -155
  1431. package/src/abi/uniswap-v3/UniswapV3Router.abi.json +274 -274
  1432. package/src/abi/uniswap-v3/UniswapV3StateMulticall.abi.json +781 -781
  1433. package/src/abi/weth.abi.json +153 -153
  1434. package/src/abi/wombat/asset.json +743 -743
  1435. package/src/abi/wombat/bmw.json +1247 -1247
  1436. package/src/abi/wombat/pool-v2.json +1289 -1289
  1437. package/src/abi/wombat/pool-v3.json +2013 -2013
  1438. package/src/abi/woo-fi-v2/IntegrationHelper.abi.json +116 -116
  1439. package/src/abi/woo-fi-v2/WooOracleV2.abi.json +358 -358
  1440. package/src/abi/woo-fi-v2/WooPPV2.abi.json +580 -580
  1441. package/src/abi/wstETH.json +252 -252
  1442. package/src/abi/zrx.v2.json +1967 -1967
  1443. package/src/abi/zrx.v3.json +3454 -3454
  1444. package/src/abi/zrx.v4.json +2193 -2193
  1445. package/src/bigint-constants.ts +20 -20
  1446. package/src/bignumber-constants.ts +20 -20
  1447. package/src/calldata-gas-cost.ts +26 -26
  1448. package/src/composed-event-subscriber.ts +131 -131
  1449. package/src/config.ts +473 -471
  1450. package/src/constants.ts +59 -59
  1451. package/src/dex/OneInchLp.ts +84 -84
  1452. package/src/dex/aave-v1/aave-v1-e2e.test.ts +109 -109
  1453. package/src/dex/aave-v1/aave-v1-integration.test.ts +100 -100
  1454. package/src/dex/aave-v1/aave-v1.ts +216 -216
  1455. package/src/dex/aave-v1/config.ts +22 -22
  1456. package/src/dex/aave-v1/tokens-mainnet.json +134 -134
  1457. package/src/dex/aave-v1/tokens.ts +58 -58
  1458. package/src/dex/aave-v1/types.ts +24 -24
  1459. package/src/dex/aave-v2/aave-v2-e2e.test.ts +284 -284
  1460. package/src/dex/aave-v2/aave-v2-integration.test.ts +100 -100
  1461. package/src/dex/aave-v2/aave-v2.ts +304 -304
  1462. package/src/dex/aave-v2/config.ts +56 -56
  1463. package/src/dex/aave-v2/tokens.ts +77 -77
  1464. package/src/dex/aave-v2/types.ts +43 -43
  1465. package/src/dex/aave-v3/aave-v3-e2e.test.ts +512 -512
  1466. package/src/dex/aave-v3/aave-v3-integration.test.ts +148 -148
  1467. package/src/dex/aave-v3/aave-v3.ts +256 -256
  1468. package/src/dex/aave-v3/config.ts +151 -151
  1469. package/src/dex/aave-v3/tokens.ts +68 -68
  1470. package/src/dex/aave-v3/types.ts +46 -46
  1471. package/src/dex/aave-v3/utils.ts +153 -153
  1472. package/src/dex/algebra/algebra-e2e.test.ts +321 -321
  1473. package/src/dex/algebra/algebra-events.test.ts +186 -186
  1474. package/src/dex/algebra/algebra-factory.ts +77 -77
  1475. package/src/dex/algebra/algebra-integration.test.ts +558 -558
  1476. package/src/dex/algebra/algebra-pool-v1_1.ts +853 -853
  1477. package/src/dex/algebra/algebra-pool-v1_9.ts +614 -614
  1478. package/src/dex/algebra/algebra-pool-v1_9_bidirectional_fee.ts +55 -55
  1479. package/src/dex/algebra/algebra.ts +1104 -1104
  1480. package/src/dex/algebra/config.ts +112 -112
  1481. package/src/dex/algebra/constants.ts +17 -17
  1482. package/src/dex/algebra/lib/AlgebraMath.ts +706 -706
  1483. package/src/dex/algebra/lib/Constants.ts +5 -5
  1484. package/src/dex/algebra/lib/TickManager.ts +91 -91
  1485. package/src/dex/algebra/lib/TickTable.ts +227 -227
  1486. package/src/dex/algebra/lib/yul-helper.ts +29 -29
  1487. package/src/dex/algebra/scripts/validate-state.ts +292 -292
  1488. package/src/dex/algebra/types.ts +146 -146
  1489. package/src/dex/algebra/utils.ts +217 -217
  1490. package/src/dex/angle-staked-stable/angle-staked-stable-e2e.test.ts +146 -0
  1491. package/src/dex/angle-staked-stable/angle-staked-stable-events.test.ts +95 -0
  1492. package/src/dex/angle-staked-stable/angle-staked-stable-integration.test.ts +476 -0
  1493. package/src/dex/angle-staked-stable/angle-staked-stable-pool.ts +325 -0
  1494. package/src/dex/angle-staked-stable/angle-staked-stable.ts +312 -0
  1495. package/src/dex/angle-staked-stable/config.ts +139 -0
  1496. package/src/dex/angle-staked-stable/types.ts +16 -0
  1497. package/src/dex/augustus-rfq.ts +182 -182
  1498. package/src/dex/bProtocol.ts +74 -74
  1499. package/src/dex/balancer-v1/balancer-pools.json +33333 -33333
  1500. package/src/dex/balancer-v1/balancer-v1-e2e.test.ts +117 -117
  1501. package/src/dex/balancer-v1/balancer-v1-events.test.ts +83 -83
  1502. package/src/dex/balancer-v1/balancer-v1-integration.test.ts +307 -307
  1503. package/src/dex/balancer-v1/balancer-v1-math.ts +154 -154
  1504. package/src/dex/balancer-v1/balancer-v1-pool.ts +232 -232
  1505. package/src/dex/balancer-v1/balancer-v1.ts +461 -461
  1506. package/src/dex/balancer-v1/config.ts +29 -29
  1507. package/src/dex/balancer-v1/optimizer.ts +76 -76
  1508. package/src/dex/balancer-v1/types.ts +100 -100
  1509. package/src/dex/balancer-v1/utils.ts +57 -57
  1510. package/src/dex/balancer-v2/balancer-v2-e2e.test.ts +1663 -1663
  1511. package/src/dex/balancer-v2/balancer-v2-events.test.ts +132 -132
  1512. package/src/dex/balancer-v2/balancer-v2-gyro3.test.ts +268 -268
  1513. package/src/dex/balancer-v2/balancer-v2-gyroE.test.ts +401 -401
  1514. package/src/dex/balancer-v2/balancer-v2-integration.test.ts +774 -774
  1515. package/src/dex/balancer-v2/balancer-v2-math.ts +592 -592
  1516. package/src/dex/balancer-v2/balancer-v2.ts +1404 -1404
  1517. package/src/dex/balancer-v2/config.ts +84 -84
  1518. package/src/dex/balancer-v2/constants.ts +15 -15
  1519. package/src/dex/balancer-v2/optimizer.ts +70 -70
  1520. package/src/dex/balancer-v2/pools/balancer-v2-pool.ts +274 -274
  1521. package/src/dex/balancer-v2/pools/gyro/Gyro3Pool.ts +255 -255
  1522. package/src/dex/balancer-v2/pools/gyro/GyroEPool.ts +403 -403
  1523. package/src/dex/balancer-v2/pools/gyro/gyro-helpers.ts +15 -15
  1524. package/src/dex/balancer-v2/pools/linear/LinearMath.ts +286 -286
  1525. package/src/dex/balancer-v2/pools/linear/LinearPool.ts +639 -639
  1526. package/src/dex/balancer-v2/pools/phantom-stable/PhantomStableMath.ts +494 -494
  1527. package/src/dex/balancer-v2/pools/phantom-stable/PhantomStablePool.ts +581 -581
  1528. package/src/dex/balancer-v2/pools/stable/StableMath.ts +203 -203
  1529. package/src/dex/balancer-v2/pools/stable/StablePool.ts +223 -223
  1530. package/src/dex/balancer-v2/pools/weighted/WeightedMath.ts +84 -84
  1531. package/src/dex/balancer-v2/pools/weighted/WeightedPool.ts +188 -188
  1532. package/src/dex/balancer-v2/queryOnChain.ts +48 -48
  1533. package/src/dex/balancer-v2/types.ts +184 -184
  1534. package/src/dex/balancer-v2/utils.ts +212 -212
  1535. package/src/dex/bancor.ts +107 -107
  1536. package/src/dex/camelot/camelot-e2e.test.ts +93 -93
  1537. package/src/dex/camelot/camelot-integration.test.ts +215 -215
  1538. package/src/dex/camelot/camelot-pool-discovery.test.ts +149 -149
  1539. package/src/dex/camelot/camelot.ts +822 -822
  1540. package/src/dex/camelot/config.ts +24 -24
  1541. package/src/dex/camelot/types.ts +15 -15
  1542. package/src/dex/compound.ts +84 -84
  1543. package/src/dex/curve-v1/config.ts +1235 -1235
  1544. package/src/dex/curve-v1/constants.ts +11 -11
  1545. package/src/dex/curve-v1/curve-v1-e2e.test.ts +498 -498
  1546. package/src/dex/curve-v1/curve-v1-events.test.ts +335 -335
  1547. package/src/dex/curve-v1/curve-v1-integration.test.ts +143 -143
  1548. package/src/dex/curve-v1/curve-v1.ts +1215 -1215
  1549. package/src/dex/curve-v1/forks/curve-forks/config.ts +177 -177
  1550. package/src/dex/curve-v1/forks/curve-forks/curve-forks.ts +73 -73
  1551. package/src/dex/curve-v1/forks/swerve/config.ts +47 -47
  1552. package/src/dex/curve-v1/forks/swerve/swerve.ts +68 -68
  1553. package/src/dex/curve-v1/pools/3pool.ts +313 -313
  1554. package/src/dex/curve-v1/pools/DUSDpool.ts +52 -52
  1555. package/src/dex/curve-v1/pools/EURSpool.ts +37 -37
  1556. package/src/dex/curve-v1/pools/GUSDpool.ts +52 -52
  1557. package/src/dex/curve-v1/pools/HUSDpool.ts +52 -52
  1558. package/src/dex/curve-v1/pools/LinkUSDpool.ts +52 -52
  1559. package/src/dex/curve-v1/pools/MUSDpool.ts +52 -52
  1560. package/src/dex/curve-v1/pools/bBTCpool.ts +52 -52
  1561. package/src/dex/curve-v1/pools/curve-metapool.ts +1113 -1113
  1562. package/src/dex/curve-v1/pools/curve-pool.ts +489 -489
  1563. package/src/dex/curve-v1/pools/getstate-multicall.ts +156 -156
  1564. package/src/dex/curve-v1/pools/hBTCpool.ts +37 -37
  1565. package/src/dex/curve-v1/pools/oBTCpool.ts +52 -52
  1566. package/src/dex/curve-v1/pools/pBTCpool.ts +52 -52
  1567. package/src/dex/curve-v1/pools/renpool.ts +38 -38
  1568. package/src/dex/curve-v1/pools/rsvpool.ts +52 -52
  1569. package/src/dex/curve-v1/pools/sBTCpool.ts +38 -38
  1570. package/src/dex/curve-v1/pools/sETHpool.ts +69 -69
  1571. package/src/dex/curve-v1/pools/sLinkpool.ts +37 -37
  1572. package/src/dex/curve-v1/pools/sUSDpool.ts +133 -133
  1573. package/src/dex/curve-v1/pools/stETHpool.ts +52 -52
  1574. package/src/dex/curve-v1/pools/tBTCpool.ts +52 -52
  1575. package/src/dex/curve-v1/pools/usdkpool.ts +52 -52
  1576. package/src/dex/curve-v1/pools/usdnpool.ts +59 -59
  1577. package/src/dex/curve-v1/pools/ustpool.ts +52 -52
  1578. package/src/dex/curve-v1/types.ts +70 -70
  1579. package/src/dex/curve-v1-factory/config.ts +1018 -1018
  1580. package/src/dex/curve-v1-factory/constants.ts +38 -38
  1581. package/src/dex/curve-v1-factory/curve-v1-factory-e2e.test.ts +440 -440
  1582. package/src/dex/curve-v1-factory/curve-v1-factory-integration.test.ts +1093 -1093
  1583. package/src/dex/curve-v1-factory/curve-v1-factory-node-cache.ts +10 -10
  1584. package/src/dex/curve-v1-factory/curve-v1-factory.ts +1181 -1181
  1585. package/src/dex/curve-v1-factory/curve-v1-pool-manager.ts +433 -433
  1586. package/src/dex/curve-v1-factory/price-handlers/functions/_calc_withdraw_one_coin.ts +292 -292
  1587. package/src/dex/curve-v1-factory/price-handlers/functions/_dynamic_fee.ts +103 -103
  1588. package/src/dex/curve-v1-factory/price-handlers/functions/_rates.ts +116 -116
  1589. package/src/dex/curve-v1-factory/price-handlers/functions/_xp.ts +114 -114
  1590. package/src/dex/curve-v1-factory/price-handlers/functions/_xp_mem.ts +103 -103
  1591. package/src/dex/curve-v1-factory/price-handlers/functions/calc_token_amount.ts +230 -230
  1592. package/src/dex/curve-v1-factory/price-handlers/functions/calc_withdraw_one_coin.ts +90 -90
  1593. package/src/dex/curve-v1-factory/price-handlers/functions/constants.ts +606 -606
  1594. package/src/dex/curve-v1-factory/price-handlers/functions/get_D.ts +386 -386
  1595. package/src/dex/curve-v1-factory/price-handlers/functions/get_D_mem.ts +148 -148
  1596. package/src/dex/curve-v1-factory/price-handlers/functions/get_D_precisions.ts +120 -120
  1597. package/src/dex/curve-v1-factory/price-handlers/functions/get_dy.ts +323 -323
  1598. package/src/dex/curve-v1-factory/price-handlers/functions/get_dy_underlying.ts +293 -293
  1599. package/src/dex/curve-v1-factory/price-handlers/functions/get_y.ts +262 -262
  1600. package/src/dex/curve-v1-factory/price-handlers/functions/get_y_D.ts +183 -183
  1601. package/src/dex/curve-v1-factory/price-handlers/functions/utils.ts +76 -76
  1602. package/src/dex/curve-v1-factory/price-handlers/price-handler.ts +115 -115
  1603. package/src/dex/curve-v1-factory/price-handlers/types.ts +133 -133
  1604. package/src/dex/curve-v1-factory/state-polling-pools/custom-pool-polling.ts +300 -300
  1605. package/src/dex/curve-v1-factory/state-polling-pools/factory-pool-polling.ts +226 -226
  1606. package/src/dex/curve-v1-factory/state-polling-pools/polling-manager.ts +255 -255
  1607. package/src/dex/curve-v1-factory/state-polling-pools/pool-polling-base.ts +160 -160
  1608. package/src/dex/curve-v1-factory/types.ts +236 -236
  1609. package/src/dex/curve-v2.ts +318 -318
  1610. package/src/dex/dexalot/config.ts +25 -25
  1611. package/src/dex/dexalot/constants.ts +32 -32
  1612. package/src/dex/dexalot/dexalot-e2e.test.ts +236 -236
  1613. package/src/dex/dexalot/dexalot-integration.test.ts +309 -309
  1614. package/src/dex/dexalot/dexalot.ts +1053 -1053
  1615. package/src/dex/dexalot/rate-fetcher.ts +197 -197
  1616. package/src/dex/dexalot/types.ts +131 -131
  1617. package/src/dex/dexalot/validators.ts +46 -46
  1618. package/src/dex/dodo-v1.ts +119 -119
  1619. package/src/dex/dodo-v2.ts +176 -176
  1620. package/src/dex/etherfi.ts +161 -161
  1621. package/src/dex/generic-rfq/e2e-test-config.ts +37 -37
  1622. package/src/dex/generic-rfq/example-api.test.ts +222 -222
  1623. package/src/dex/generic-rfq/fetch-mm-api.ts +286 -286
  1624. package/src/dex/generic-rfq/generic-rfq-e2e.test.ts +159 -159
  1625. package/src/dex/generic-rfq/generic-rfq-integration.test.ts +235 -235
  1626. package/src/dex/generic-rfq/generic-rfq-local-e2e.test.ts +121 -121
  1627. package/src/dex/generic-rfq/generic-rfq.ts +312 -312
  1628. package/src/dex/generic-rfq/rate-fetcher.ts +458 -458
  1629. package/src/dex/generic-rfq/security.ts +55 -55
  1630. package/src/dex/generic-rfq/types.ts +103 -103
  1631. package/src/dex/generic-rfq/utils.ts +80 -80
  1632. package/src/dex/generic-rfq/validators.test.ts +245 -245
  1633. package/src/dex/generic-rfq/validators.ts +192 -192
  1634. package/src/dex/gmx/config.ts +81 -81
  1635. package/src/dex/gmx/fast-price-feed.ts +279 -279
  1636. package/src/dex/gmx/gmx-e2e.test.ts +319 -319
  1637. package/src/dex/gmx/gmx-events.test.ts +114 -114
  1638. package/src/dex/gmx/gmx-integration.test.ts +211 -211
  1639. package/src/dex/gmx/gmx.ts +289 -289
  1640. package/src/dex/gmx/pool.ts +360 -360
  1641. package/src/dex/gmx/types.ts +94 -94
  1642. package/src/dex/gmx/usdg.ts +83 -83
  1643. package/src/dex/gmx/vault-price-feed.ts +384 -384
  1644. package/src/dex/gmx/vault-utils.ts +53 -53
  1645. package/src/dex/gmx/vault.ts +290 -290
  1646. package/src/dex/hashflow/config.ts +53 -53
  1647. package/src/dex/hashflow/constants.ts +54 -54
  1648. package/src/dex/hashflow/hashflow-e2e.test.ts +295 -295
  1649. package/src/dex/hashflow/hashflow-integration.test.ts +157 -157
  1650. package/src/dex/hashflow/hashflow.ts +1087 -1087
  1651. package/src/dex/hashflow/rate-fetcher.ts +118 -118
  1652. package/src/dex/hashflow/types.ts +83 -83
  1653. package/src/dex/hashflow/validators.ts +38 -38
  1654. package/src/dex/idex.ts +217 -217
  1655. package/src/dex/index.ts +352 -348
  1656. package/src/dex/jarvis-v6/chainLinkpriceFeed-event.ts +76 -76
  1657. package/src/dex/jarvis-v6/config.ts +261 -261
  1658. package/src/dex/jarvis-v6/jarvis-v6-e2e.test.ts +112 -112
  1659. package/src/dex/jarvis-v6/jarvis-v6-events.test.ts +67 -67
  1660. package/src/dex/jarvis-v6/jarvis-v6-events.ts +67 -67
  1661. package/src/dex/jarvis-v6/jarvis-v6-integration.test.ts +111 -111
  1662. package/src/dex/jarvis-v6/jarvis-v6.ts +471 -471
  1663. package/src/dex/jarvis-v6/syntheteumPool-event.ts +68 -68
  1664. package/src/dex/jarvis-v6/types.ts +59 -59
  1665. package/src/dex/jarvis-v6/utils.ts +127 -127
  1666. package/src/dex/jarvis.ts +181 -181
  1667. package/src/dex/kyberdmm/config.ts +65 -65
  1668. package/src/dex/kyberdmm/fee-formula.ts +113 -113
  1669. package/src/dex/kyberdmm/kyberdmm-e2e.test.ts +322 -322
  1670. package/src/dex/kyberdmm/kyberdmm-events.test.ts +123 -123
  1671. package/src/dex/kyberdmm/kyberdmm-integration.test.ts +93 -93
  1672. package/src/dex/kyberdmm/kyberdmm.ts +603 -603
  1673. package/src/dex/kyberdmm/math-ext.ts +29 -29
  1674. package/src/dex/kyberdmm/pool.ts +226 -226
  1675. package/src/dex/kyberdmm/types.ts +85 -85
  1676. package/src/dex/lido.ts +69 -69
  1677. package/src/dex/limit-order-exchange.ts +40 -40
  1678. package/src/dex/mStable.ts +147 -147
  1679. package/src/dex/maker-psm/config.ts +59 -59
  1680. package/src/dex/maker-psm/maker-psm-e2e.test.ts +78 -78
  1681. package/src/dex/maker-psm/maker-psm-events.test.ts +63 -63
  1682. package/src/dex/maker-psm/maker-psm-integration.test.ts +99 -99
  1683. package/src/dex/maker-psm/maker-psm.ts +539 -539
  1684. package/src/dex/maker-psm/types.ts +29 -29
  1685. package/src/dex/maverick-v1/config.ts +35 -35
  1686. package/src/dex/maverick-v1/constants.ts +1 -1
  1687. package/src/dex/maverick-v1/maverick-math/maverick-basic-math.ts +187 -187
  1688. package/src/dex/maverick-v1/maverick-math/maverick-bin-map.ts +182 -182
  1689. package/src/dex/maverick-v1/maverick-math/maverick-pool-math.test.ts +680 -680
  1690. package/src/dex/maverick-v1/maverick-math/maverick-pool-math.ts +562 -562
  1691. package/src/dex/maverick-v1/maverick-v1-e2e.test.ts +238 -238
  1692. package/src/dex/maverick-v1/maverick-v1-events.test.ts +112 -112
  1693. package/src/dex/maverick-v1/maverick-v1-integration.test.ts +170 -170
  1694. package/src/dex/maverick-v1/maverick-v1-pool.ts +394 -394
  1695. package/src/dex/maverick-v1/maverick-v1.ts +477 -477
  1696. package/src/dex/maverick-v1/subgraph-queries.ts +60 -60
  1697. package/src/dex/maverick-v1/types.ts +83 -83
  1698. package/src/dex/nerve/config.ts +1035 -1035
  1699. package/src/dex/nerve/nerve-e2e.test.ts +1181 -1181
  1700. package/src/dex/nerve/nerve-events.test.ts +1179 -1179
  1701. package/src/dex/nerve/nerve-integration.test.ts +73 -73
  1702. package/src/dex/nerve/nerve-math.ts +304 -304
  1703. package/src/dex/nerve/nerve-metapool.ts +203 -203
  1704. package/src/dex/nerve/nerve-pool.ts +425 -425
  1705. package/src/dex/nerve/nerve.ts +423 -423
  1706. package/src/dex/nerve/types.ts +65 -65
  1707. package/src/dex/nerve/utils.ts +39 -39
  1708. package/src/dex/onebit.ts +83 -83
  1709. package/src/dex/pancakeswap-v3/config.ts +123 -123
  1710. package/src/dex/pancakeswap-v3/constants.ts +36 -36
  1711. package/src/dex/pancakeswap-v3/contract-math/BitMath.ts +90 -90
  1712. package/src/dex/pancakeswap-v3/contract-math/FixedPoint128.ts +3 -3
  1713. package/src/dex/pancakeswap-v3/contract-math/FixedPoint96.ts +4 -4
  1714. package/src/dex/pancakeswap-v3/contract-math/FullMath.ts +30 -30
  1715. package/src/dex/pancakeswap-v3/contract-math/LiquidityMath.ts +17 -17
  1716. package/src/dex/pancakeswap-v3/contract-math/Oracle.ts +226 -226
  1717. package/src/dex/pancakeswap-v3/contract-math/SqrtPriceMath.ts +226 -226
  1718. package/src/dex/pancakeswap-v3/contract-math/SwapMath.ts +139 -139
  1719. package/src/dex/pancakeswap-v3/contract-math/Tick.ts +82 -82
  1720. package/src/dex/pancakeswap-v3/contract-math/TickBitMap.ts +128 -128
  1721. package/src/dex/pancakeswap-v3/contract-math/TickMath.ts +211 -211
  1722. package/src/dex/pancakeswap-v3/contract-math/UnsafeMath.ts +5 -5
  1723. package/src/dex/pancakeswap-v3/contract-math/pancakeswap-v3-math.ts +687 -687
  1724. package/src/dex/pancakeswap-v3/contract-math/utils.ts +11 -11
  1725. package/src/dex/pancakeswap-v3/pancakeswap-v3-e2e.test.ts +445 -445
  1726. package/src/dex/pancakeswap-v3/pancakeswap-v3-events.test.ts +124 -124
  1727. package/src/dex/pancakeswap-v3/pancakeswap-v3-factory.ts +80 -80
  1728. package/src/dex/pancakeswap-v3/pancakeswap-v3-integration.test.ts +529 -529
  1729. package/src/dex/pancakeswap-v3/pancakeswap-v3-pool.ts +527 -527
  1730. package/src/dex/pancakeswap-v3/pancakeswap-v3.ts +1091 -1091
  1731. package/src/dex/pancakeswap-v3/utils.ts +65 -65
  1732. package/src/dex/paraswap-limit-orders/config.ts +67 -67
  1733. package/src/dex/paraswap-limit-orders/constant.ts +32 -32
  1734. package/src/dex/paraswap-limit-orders/paraswap-limit-orders-e2e.test.ts +137 -137
  1735. package/src/dex/paraswap-limit-orders/paraswap-limit-orders-integration.test.ts +328 -328
  1736. package/src/dex/paraswap-limit-orders/paraswap-limit-orders.ts +596 -596
  1737. package/src/dex/paraswap-limit-orders/types.ts +83 -83
  1738. package/src/dex/paraswap-limit-orders/utils.ts +52 -52
  1739. package/src/dex/platypus/asset.ts +139 -139
  1740. package/src/dex/platypus/config.ts +72 -72
  1741. package/src/dex/platypus/platypus-e2e.test.ts +167 -167
  1742. package/src/dex/platypus/platypus-events.test.ts +167 -167
  1743. package/src/dex/platypus/platypus-integration.test.ts +256 -256
  1744. package/src/dex/platypus/platypus.ts +579 -579
  1745. package/src/dex/platypus/pool-avax.ts +92 -92
  1746. package/src/dex/platypus/pool-base.ts +155 -155
  1747. package/src/dex/platypus/pool-pure.ts +71 -71
  1748. package/src/dex/platypus/pool-subscriber.ts +239 -239
  1749. package/src/dex/platypus/pool.ts +99 -99
  1750. package/src/dex/platypus/types.ts +104 -104
  1751. package/src/dex/polygon-migrator/config.ts +25 -25
  1752. package/src/dex/polygon-migrator/constants.ts +1 -1
  1753. package/src/dex/polygon-migrator/polygon-migrator-e2e.test.ts +96 -96
  1754. package/src/dex/polygon-migrator/polygon-migrator-integration.test.ts +139 -139
  1755. package/src/dex/polygon-migrator/polygon-migrator.ts +167 -167
  1756. package/src/dex/polygon-migrator/types.ts +14 -14
  1757. package/src/dex/quick-perps/config.ts +31 -31
  1758. package/src/dex/quick-perps/fast-price-feed.ts +279 -279
  1759. package/src/dex/quick-perps/pool.ts +407 -407
  1760. package/src/dex/quick-perps/quick-perps-e2e.test.ts +65 -65
  1761. package/src/dex/quick-perps/quick-perps-events.test.ts +100 -100
  1762. package/src/dex/quick-perps/quick-perps-integration.test.ts +153 -153
  1763. package/src/dex/quick-perps/quick-perps.ts +302 -302
  1764. package/src/dex/quick-perps/types.ts +97 -97
  1765. package/src/dex/quick-perps/usdq.ts +83 -83
  1766. package/src/dex/quick-perps/vault-price-feed.ts +322 -322
  1767. package/src/dex/quick-perps/vault-utils.ts +53 -53
  1768. package/src/dex/quick-perps/vault.ts +290 -290
  1769. package/src/dex/quickswap/config.ts +25 -25
  1770. package/src/dex/quickswap/quickswap-e2e.test.ts +479 -479
  1771. package/src/dex/quickswap/quickswap-v3.ts +74 -74
  1772. package/src/dex/quickswap/spiritswap-v3.ts +19 -19
  1773. package/src/dex/quickswap/thena-fusion.ts +19 -19
  1774. package/src/dex/quickswap/types.ts +5 -5
  1775. package/src/dex/shell.ts +84 -84
  1776. package/src/dex/simple-exchange.ts +189 -189
  1777. package/src/dex/smardex/config.ts +67 -67
  1778. package/src/dex/smardex/constants.ts +35 -35
  1779. package/src/dex/smardex/sdk/constants.ts +10 -10
  1780. package/src/dex/smardex/sdk/core.ts +832 -832
  1781. package/src/dex/smardex/sdk/errors.ts +18 -18
  1782. package/src/dex/smardex/sdk/types.ts +68 -68
  1783. package/src/dex/smardex/sdk/utils.ts +156 -156
  1784. package/src/dex/smardex/smardex-e2e.test.ts +275 -275
  1785. package/src/dex/smardex/smardex-event-pool.ts +164 -164
  1786. package/src/dex/smardex/smardex-events.test.ts +297 -297
  1787. package/src/dex/smardex/smardex-integration.test.ts +258 -258
  1788. package/src/dex/smardex/smardex.ts +770 -770
  1789. package/src/dex/smardex/types.ts +69 -69
  1790. package/src/dex/smoothy.ts +99 -99
  1791. package/src/dex/solidly/config.ts +254 -254
  1792. package/src/dex/solidly/forks-override/aerodrome.ts +53 -53
  1793. package/src/dex/solidly/forks-override/chronos.ts +231 -231
  1794. package/src/dex/solidly/forks-override/cone.ts +67 -67
  1795. package/src/dex/solidly/forks-override/equalizer.ts +58 -58
  1796. package/src/dex/solidly/forks-override/pharaohV1.ts +10 -10
  1797. package/src/dex/solidly/forks-override/ramses.ts +253 -253
  1798. package/src/dex/solidly/forks-override/solisnek.ts +10 -10
  1799. package/src/dex/solidly/forks-override/spiritSwapV2.ts +61 -61
  1800. package/src/dex/solidly/forks-override/thena.ts +58 -58
  1801. package/src/dex/solidly/forks-override/usdfi.ts +10 -10
  1802. package/src/dex/solidly/forks-override/velocimeter.ts +58 -58
  1803. package/src/dex/solidly/forks-override/velodrome.ts +58 -58
  1804. package/src/dex/solidly/forks-override/velodromeV2.ts +63 -63
  1805. package/src/dex/solidly/solidly-e2e.test.ts +1579 -1579
  1806. package/src/dex/solidly/solidly-ethereum.ts +61 -61
  1807. package/src/dex/solidly/solidly-integration.test.ts +1888 -1888
  1808. package/src/dex/solidly/solidly-stable-pool.ts +91 -91
  1809. package/src/dex/solidly/solidly.ts +639 -639
  1810. package/src/dex/solidly/types.ts +35 -35
  1811. package/src/dex/solidly-v3/config.ts +78 -78
  1812. package/src/dex/solidly-v3/constants.ts +42 -42
  1813. package/src/dex/solidly-v3/contract-math/BitMath.ts +90 -90
  1814. package/src/dex/solidly-v3/contract-math/FixedPoint128.ts +3 -3
  1815. package/src/dex/solidly-v3/contract-math/FixedPoint96.ts +4 -4
  1816. package/src/dex/solidly-v3/contract-math/FullMath.ts +30 -30
  1817. package/src/dex/solidly-v3/contract-math/LiquidityMath.ts +17 -17
  1818. package/src/dex/solidly-v3/contract-math/SqrtPriceMath.ts +226 -226
  1819. package/src/dex/solidly-v3/contract-math/SwapMath.ts +139 -139
  1820. package/src/dex/solidly-v3/contract-math/Tick.ts +63 -63
  1821. package/src/dex/solidly-v3/contract-math/TickBitMap.ts +123 -123
  1822. package/src/dex/solidly-v3/contract-math/TickMath.ts +211 -211
  1823. package/src/dex/solidly-v3/contract-math/UnsafeMath.ts +5 -5
  1824. package/src/dex/solidly-v3/contract-math/uniswap-v3-math.ts +562 -562
  1825. package/src/dex/solidly-v3/contract-math/utils.ts +50 -50
  1826. package/src/dex/solidly-v3/solidly-v3-e2e.test.ts +157 -157
  1827. package/src/dex/solidly-v3/solidly-v3-events.test.ts +146 -146
  1828. package/src/dex/solidly-v3/solidly-v3-factory.ts +80 -80
  1829. package/src/dex/solidly-v3/solidly-v3-integration.test.ts +358 -358
  1830. package/src/dex/solidly-v3/solidly-v3-pool.ts +502 -502
  1831. package/src/dex/solidly-v3/solidly-v3.ts +980 -980
  1832. package/src/dex/solidly-v3/types.ts +157 -157
  1833. package/src/dex/solidly-v3/utils.ts +71 -71
  1834. package/src/dex/spark/config.ts +25 -0
  1835. package/src/dex/spark/constants.ts +2 -0
  1836. package/src/dex/spark/scripts/validate-state.ts +144 -0
  1837. package/src/dex/spark/spark-e2e.test.ts +96 -0
  1838. package/src/dex/spark/spark-events.test.ts +102 -0
  1839. package/src/dex/spark/spark-integration.test.ts +151 -0
  1840. package/src/dex/spark/spark-sdai-pool.ts +114 -0
  1841. package/src/dex/spark/spark.ts +237 -0
  1842. package/src/dex/spark/types.ts +23 -0
  1843. package/src/dex/spark/utils.ts +47 -0
  1844. package/src/dex/stable-pool.ts +115 -115
  1845. package/src/dex/swaap-v1/config.ts +62 -62
  1846. package/src/dex/swaap-v1/constants.ts +22 -22
  1847. package/src/dex/swaap-v1/libraries/ChainlinkUtils.ts +152 -152
  1848. package/src/dex/swaap-v1/libraries/Const.ts +29 -29
  1849. package/src/dex/swaap-v1/libraries/GeometricBrownianMotion.ts +433 -433
  1850. package/src/dex/swaap-v1/libraries/LogExpMath.ts +511 -511
  1851. package/src/dex/swaap-v1/libraries/MathMMM.ts +717 -717
  1852. package/src/dex/swaap-v1/libraries/Num.ts +184 -184
  1853. package/src/dex/swaap-v1/libraries/PoolQuotations.ts +322 -322
  1854. package/src/dex/swaap-v1/libraries/Struct.ts +66 -66
  1855. package/src/dex/swaap-v1/swaap-v1-e2e.test.ts +73 -73
  1856. package/src/dex/swaap-v1/swaap-v1-events.test.ts +138 -138
  1857. package/src/dex/swaap-v1/swaap-v1-integration.test.ts +232 -232
  1858. package/src/dex/swaap-v1/swaap-v1-pool.ts +919 -919
  1859. package/src/dex/swaap-v1/swaap-v1.ts +627 -627
  1860. package/src/dex/swaap-v1/types.ts +124 -124
  1861. package/src/dex/swaap-v2/config.ts +26 -26
  1862. package/src/dex/swaap-v2/constants.ts +52 -52
  1863. package/src/dex/swaap-v2/rate-fetcher.ts +264 -264
  1864. package/src/dex/swaap-v2/stable-coins.ts +25 -25
  1865. package/src/dex/swaap-v2/swaap-v2-e2e.test.ts +302 -302
  1866. package/src/dex/swaap-v2/swaap-v2-integration.test.ts +142 -142
  1867. package/src/dex/swaap-v2/swaap-v2.ts +1009 -1009
  1868. package/src/dex/swaap-v2/types.ts +105 -105
  1869. package/src/dex/swaap-v2/utils.ts +46 -46
  1870. package/src/dex/swaap-v2/validators.ts +134 -134
  1871. package/src/dex/swell/config.ts +27 -27
  1872. package/src/dex/swell/swell-e2e.test.ts +53 -53
  1873. package/src/dex/swell/swell.ts +234 -234
  1874. package/src/dex/swell/sweth-pool.ts +58 -58
  1875. package/src/dex/swell/type.ts +3 -3
  1876. package/src/dex/swell/utils.ts +29 -29
  1877. package/src/dex/synthetix/config.ts +55 -55
  1878. package/src/dex/synthetix/constants.ts +36 -36
  1879. package/src/dex/synthetix/contract-math/DexPriceAggregatorUniswapV3.ts +276 -276
  1880. package/src/dex/synthetix/contract-math/ExchangeRates.ts +117 -117
  1881. package/src/dex/synthetix/contract-math/ExchangeRatesWithDexPricing.ts +278 -278
  1882. package/src/dex/synthetix/contract-math/FullMath.ts +17 -17
  1883. package/src/dex/synthetix/contract-math/OracleLibrary.ts +109 -109
  1884. package/src/dex/synthetix/contract-math/SafeDecimalMath.ts +49 -49
  1885. package/src/dex/synthetix/contract-math/TickMath.ts +72 -72
  1886. package/src/dex/synthetix/contract-math/synthetix-math.ts +266 -266
  1887. package/src/dex/synthetix/synthetix-e2e.test.ts +173 -173
  1888. package/src/dex/synthetix/synthetix-integration.test.ts +293 -293
  1889. package/src/dex/synthetix/synthetix-state.ts +970 -970
  1890. package/src/dex/synthetix/synthetix.ts +371 -371
  1891. package/src/dex/synthetix/types.ts +121 -121
  1892. package/src/dex/synthetix/utils.ts +125 -125
  1893. package/src/dex/trader-joe-v2.1.ts +156 -156
  1894. package/src/dex/trader-joe-v2.ts +148 -148
  1895. package/src/dex/uniswap-v2/biswap.ts +61 -61
  1896. package/src/dex/uniswap-v2/config.ts +822 -822
  1897. package/src/dex/uniswap-v2/constants.ts +60 -60
  1898. package/src/dex/uniswap-v2/dfyn.ts +87 -87
  1899. package/src/dex/uniswap-v2/excalibur.ts +63 -63
  1900. package/src/dex/uniswap-v2/mdex.ts +66 -66
  1901. package/src/dex/uniswap-v2/nomiswap-v2.ts +63 -63
  1902. package/src/dex/uniswap-v2/optimizer.ts +66 -66
  1903. package/src/dex/uniswap-v2/types.ts +141 -141
  1904. package/src/dex/uniswap-v2/uniswap-v2-constant-product-pool.ts +40 -40
  1905. package/src/dex/uniswap-v2/uniswap-v2-e2e-arbitrum.test.ts +438 -438
  1906. package/src/dex/uniswap-v2/uniswap-v2-e2e-avalanche.test.ts +1526 -1526
  1907. package/src/dex/uniswap-v2/uniswap-v2-e2e-base.test.ts +48 -48
  1908. package/src/dex/uniswap-v2/uniswap-v2-e2e-bsc.test.ts +1604 -1604
  1909. package/src/dex/uniswap-v2/uniswap-v2-e2e-fantom.test.ts +1428 -1428
  1910. package/src/dex/uniswap-v2/uniswap-v2-e2e-mainnet.test.ts +1590 -1590
  1911. package/src/dex/uniswap-v2/uniswap-v2-e2e-optimism.test.ts +282 -282
  1912. package/src/dex/uniswap-v2/uniswap-v2-e2e-polygon.test.ts +1185 -1185
  1913. package/src/dex/uniswap-v2/uniswap-v2-e2e-ropsten.test.ts +481 -481
  1914. package/src/dex/uniswap-v2/uniswap-v2-factory.ts +71 -71
  1915. package/src/dex/uniswap-v2/uniswap-v2-integration.test.ts +63 -63
  1916. package/src/dex/uniswap-v2/uniswap-v2.ts +901 -901
  1917. package/src/dex/uniswap-v3/config.ts +396 -396
  1918. package/src/dex/uniswap-v3/constants.ts +41 -41
  1919. package/src/dex/uniswap-v3/contract-math/BitMath.ts +90 -90
  1920. package/src/dex/uniswap-v3/contract-math/FixedPoint128.ts +3 -3
  1921. package/src/dex/uniswap-v3/contract-math/FixedPoint96.ts +4 -4
  1922. package/src/dex/uniswap-v3/contract-math/FullMath.ts +30 -30
  1923. package/src/dex/uniswap-v3/contract-math/LiquidityMath.ts +17 -17
  1924. package/src/dex/uniswap-v3/contract-math/Oracle.ts +226 -226
  1925. package/src/dex/uniswap-v3/contract-math/SqrtPriceMath.ts +226 -226
  1926. package/src/dex/uniswap-v3/contract-math/SwapMath.ts +139 -139
  1927. package/src/dex/uniswap-v3/contract-math/Tick.ts +82 -82
  1928. package/src/dex/uniswap-v3/contract-math/TickBitMap.ts +123 -123
  1929. package/src/dex/uniswap-v3/contract-math/TickMath.ts +211 -211
  1930. package/src/dex/uniswap-v3/contract-math/UnsafeMath.ts +5 -5
  1931. package/src/dex/uniswap-v3/contract-math/uniswap-v3-math.ts +666 -666
  1932. package/src/dex/uniswap-v3/contract-math/utils.ts +55 -55
  1933. package/src/dex/uniswap-v3/forks/ramses-v2/ramses-v2-pool.ts +156 -156
  1934. package/src/dex/uniswap-v3/forks/ramses-v2/utils.ts +72 -72
  1935. package/src/dex/uniswap-v3/scripts/check-pool-bitmap-ranges.ts +238 -238
  1936. package/src/dex/uniswap-v3/scripts/measure-calc-time.ts +172 -172
  1937. package/src/dex/uniswap-v3/types.ts +191 -191
  1938. package/src/dex/uniswap-v3/uniswap-v3-e2e.test.ts +1211 -1211
  1939. package/src/dex/uniswap-v3/uniswap-v3-events.test.ts +185 -185
  1940. package/src/dex/uniswap-v3/uniswap-v3-factory.ts +80 -80
  1941. package/src/dex/uniswap-v3/uniswap-v3-integration.test.ts +2012 -2012
  1942. package/src/dex/uniswap-v3/uniswap-v3-pool.ts +527 -527
  1943. package/src/dex/uniswap-v3/uniswap-v3.ts +1256 -1256
  1944. package/src/dex/uniswap-v3/utils.ts +83 -83
  1945. package/src/dex/uniswap-v3.ts +182 -182
  1946. package/src/dex/weth/config.ts +76 -76
  1947. package/src/dex/weth/types.ts +33 -33
  1948. package/src/dex/weth/weth-e2e.test.ts +845 -845
  1949. package/src/dex/weth/weth-integration.test.ts +80 -80
  1950. package/src/dex/weth/weth.ts +199 -199
  1951. package/src/dex/wombat/config.ts +77 -77
  1952. package/src/dex/wombat/types.ts +55 -55
  1953. package/src/dex/wombat/utils.ts +82 -82
  1954. package/src/dex/wombat/wombat-bmw.ts +186 -186
  1955. package/src/dex/wombat/wombat-e2e.test.ts +271 -271
  1956. package/src/dex/wombat/wombat-events.test.ts +147 -147
  1957. package/src/dex/wombat/wombat-integration.test.ts +217 -217
  1958. package/src/dex/wombat/wombat-pool.ts +688 -688
  1959. package/src/dex/wombat/wombat-quoter.ts +269 -269
  1960. package/src/dex/wombat/wombat.ts +427 -427
  1961. package/src/dex/woo-fi-v2/config.ts +100 -100
  1962. package/src/dex/woo-fi-v2/constants.ts +22 -22
  1963. package/src/dex/woo-fi-v2/decoders.ts +45 -45
  1964. package/src/dex/woo-fi-v2/types.ts +63 -63
  1965. package/src/dex/woo-fi-v2/utils.ts +19 -19
  1966. package/src/dex/woo-fi-v2/woo-fi-v2-e2e.test.ts +280 -280
  1967. package/src/dex/woo-fi-v2/woo-fi-v2-integration.test.ts +495 -495
  1968. package/src/dex/woo-fi-v2/woo-fi-v2-math.ts +195 -195
  1969. package/src/dex/woo-fi-v2/woo-fi-v2-pool.ts +112 -112
  1970. package/src/dex/woo-fi-v2/woo-fi-v2.ts +482 -482
  1971. package/src/dex/wsteth/config.ts +16 -16
  1972. package/src/dex/wsteth/types.ts +13 -13
  1973. package/src/dex/wsteth/wsteth-e2e.test.ts +95 -95
  1974. package/src/dex/wsteth/wsteth-integration.test.ts +201 -201
  1975. package/src/dex/wsteth/wsteth.ts +274 -274
  1976. package/src/dex/zerox/index.ts +331 -331
  1977. package/src/dex/zerox/order.ts +62 -62
  1978. package/src/dex/zerox/types.ts +48 -48
  1979. package/src/dex-helper/dummy-dex-helper.ts +293 -293
  1980. package/src/dex-helper/dummy-limit-order-provider.ts +74 -74
  1981. package/src/dex-helper/iblock-manager.ts +60 -60
  1982. package/src/dex-helper/icache.ts +75 -75
  1983. package/src/dex-helper/idex-helper.ts +25 -25
  1984. package/src/dex-helper/ilimit-order-provider.ts +27 -27
  1985. package/src/dex-helper/index.ts +16 -16
  1986. package/src/dex-helper/irequest-wrapper.ts +58 -58
  1987. package/src/implementations/local-paraswap-sdk.ts +279 -279
  1988. package/src/index.ts +37 -37
  1989. package/src/lens.ts +8 -8
  1990. package/src/lib/api3-feed.ts +175 -175
  1991. package/src/lib/benqi/staked-avax.ts +123 -123
  1992. package/src/lib/chainlink.ts +98 -98
  1993. package/src/lib/decoders.ts +199 -199
  1994. package/src/lib/erc1271-utils.ts +24 -24
  1995. package/src/lib/fetcher/fetcher.ts +183 -183
  1996. package/src/lib/generics-events-subscribers/erc20-event-subscriber-factory.ts +18 -18
  1997. package/src/lib/generics-events-subscribers/erc20-event-subscriber.test.ts +126 -126
  1998. package/src/lib/generics-events-subscribers/erc20-event-subscriber.ts +261 -261
  1999. package/src/lib/generics-events-subscribers/types.ts +41 -41
  2000. package/src/lib/generics-events-subscribers/utils.ts +37 -37
  2001. package/src/lib/log-messages-suppressor.ts +173 -173
  2002. package/src/lib/log4js.ts +88 -88
  2003. package/src/lib/multi-wrapper.ts +108 -108
  2004. package/src/lib/promise-scheduler.ts +55 -55
  2005. package/src/lib/stateful-rpc-poller/state-polling-manager.ts +320 -320
  2006. package/src/lib/stateful-rpc-poller/stateful-rpc-poller.ts +604 -604
  2007. package/src/lib/stateful-rpc-poller/types.ts +66 -66
  2008. package/src/lib/stateful-rpc-poller/utils.ts +23 -23
  2009. package/src/lib/task-scheduler.ts +64 -64
  2010. package/src/lib/token-transfer-fee.ts +42 -42
  2011. package/src/lib/tokens/balancer-fetcher.ts +283 -283
  2012. package/src/lib/tokens/types.ts +102 -102
  2013. package/src/lib/tokens/utils.ts +179 -179
  2014. package/src/lib/utils-interfaces.ts +4 -4
  2015. package/src/lib/validators.ts +34 -34
  2016. package/src/pools-helper.ts +58 -58
  2017. package/src/pricing-helper.ts +320 -320
  2018. package/src/rebase-tokens.json +17 -17
  2019. package/src/router/buy.ts +101 -101
  2020. package/src/router/directswap.ts +101 -101
  2021. package/src/router/index.ts +48 -48
  2022. package/src/router/irouter.ts +20 -20
  2023. package/src/router/megaswap.ts +88 -88
  2024. package/src/router/multiswap.ts +96 -96
  2025. package/src/router/payload-encoder.ts +293 -293
  2026. package/src/router/simpleswap.ts +360 -360
  2027. package/src/router/simpleswapnft.ts +138 -138
  2028. package/src/stateful-event-subscriber.ts +495 -495
  2029. package/src/transaction-builder.ts +85 -85
  2030. package/src/types.ts +307 -307
  2031. package/src/utils.ts +410 -410
  2032. package/tests/constants-e2e.ts +1482 -1371
  2033. package/tests/generate-new-limit-order.ts +107 -107
  2034. package/tests/payload-encoder.test.ts +49 -49
  2035. package/tests/smart-tokens.ts +111 -111
  2036. package/tests/tenderly-simulation.ts +172 -172
  2037. package/tests/transaction-builder.test.ts +234 -234
  2038. package/tests/utils-e2e.ts +730 -730
  2039. package/tests/utils-events.ts +186 -186
  2040. package/tests/utils.ts +127 -127
  2041. package/tsconfig.json +23 -23
  2042. package/.idea/codeStyles/Project.xml +0 -76
  2043. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  2044. package/.idea/inspectionProfiles/Project_Default.xml +0 -6
  2045. package/.idea/modules.xml +0 -8
  2046. package/.idea/paraswap-dex-lib.iml +0 -12
  2047. package/.idea/vcs.xml +0 -6
  2048. package/.yarn/cache/@0x-typescript-typings-npm-4.3.0-e201555799-162ca209fb.zip +0 -0
  2049. package/.yarn/cache/@0x-utils-npm-4.5.2-81ca334d54-021a30b3e0.zip +0 -0
  2050. package/.yarn/cache/@adraffy-ens-normalize-npm-1.10.0-7dfdaa4813-af0540f963.zip +0 -0
  2051. package/.yarn/cache/@ampproject-remapping-npm-2.2.0-114878fa50-d74d170d06.zip +0 -0
  2052. package/.yarn/cache/@babel-code-frame-npm-7.18.6-25229a7e34-195e2be317.zip +0 -0
  2053. package/.yarn/cache/@babel-compat-data-npm-7.19.4-579e57594f-757fdaeb67.zip +0 -0
  2054. package/.yarn/cache/@babel-core-npm-7.19.6-dd0c1d6359-85c0bd38d0.zip +0 -0
  2055. package/.yarn/cache/@babel-generator-npm-7.19.6-9ce28207f1-734fcb1fbe.zip +0 -0
  2056. package/.yarn/cache/@babel-helper-compilation-targets-npm-7.19.3-ba5dbffed2-aafcb4490c.zip +0 -0
  2057. package/.yarn/cache/@babel-helper-environment-visitor-npm-7.18.9-9f5b3635a1-b25101f616.zip +0 -0
  2058. package/.yarn/cache/@babel-helper-function-name-npm-7.19.0-5bcf55236f-eac1f5db42.zip +0 -0
  2059. package/.yarn/cache/@babel-helper-hoist-variables-npm-7.18.6-6eb061f405-fd9c35bb43.zip +0 -0
  2060. package/.yarn/cache/@babel-helper-module-imports-npm-7.18.6-1031faa864-f393f8a3b3.zip +0 -0
  2061. package/.yarn/cache/@babel-helper-module-transforms-npm-7.19.6-c73ab63519-c28692b37d.zip +0 -0
  2062. package/.yarn/cache/@babel-helper-plugin-utils-npm-7.19.0-744ad0c26b-eedc996c63.zip +0 -0
  2063. package/.yarn/cache/@babel-helper-simple-access-npm-7.19.4-c02920b575-964cb1ec36.zip +0 -0
  2064. package/.yarn/cache/@babel-helper-split-export-declaration-npm-7.18.6-53ebf8ad4c-c6d3dede53.zip +0 -0
  2065. package/.yarn/cache/@babel-helper-string-parser-npm-7.19.4-0db110dc3a-b2f8a3920b.zip +0 -0
  2066. package/.yarn/cache/@babel-helper-string-parser-npm-7.24.1-0a40ece7f8-8404e865b0.zip +0 -0
  2067. package/.yarn/cache/@babel-helper-validator-identifier-npm-7.19.1-d84f19e1dc-0eca5e86a7.zip +0 -0
  2068. package/.yarn/cache/@babel-helper-validator-identifier-npm-7.24.5-d1938535fe-75d6f9f475.zip +0 -0
  2069. package/.yarn/cache/@babel-helper-validator-option-npm-7.18.6-cc7d1a3315-f9cc6eb7cc.zip +0 -0
  2070. package/.yarn/cache/@babel-helpers-npm-7.19.4-f9307ad863-e2684e9a79.zip +0 -0
  2071. package/.yarn/cache/@babel-highlight-npm-7.18.6-9d35ad2e27-92d8ee6154.zip +0 -0
  2072. package/.yarn/cache/@babel-parser-npm-7.19.6-889250e3f3-9a3dca4ee3.zip +0 -0
  2073. package/.yarn/cache/@babel-plugin-syntax-async-generators-npm-7.8.4-d10cf993c9-7ed1c1d9b9.zip +0 -0
  2074. package/.yarn/cache/@babel-plugin-syntax-bigint-npm-7.8.3-b05d971e6c-3a10849d83.zip +0 -0
  2075. package/.yarn/cache/@babel-plugin-syntax-class-properties-npm-7.12.13-002ee9d930-24f34b196d.zip +0 -0
  2076. package/.yarn/cache/@babel-plugin-syntax-import-meta-npm-7.10.4-4a0a0158bc-166ac1125d.zip +0 -0
  2077. package/.yarn/cache/@babel-plugin-syntax-json-strings-npm-7.8.3-6dc7848179-bf5aea1f31.zip +0 -0
  2078. package/.yarn/cache/@babel-plugin-syntax-jsx-npm-7.18.6-3e378d5f11-6d37ea9729.zip +0 -0
  2079. package/.yarn/cache/@babel-plugin-syntax-logical-assignment-operators-npm-7.10.4-72ae00fdf6-aff3357703.zip +0 -0
  2080. package/.yarn/cache/@babel-plugin-syntax-nullish-coalescing-operator-npm-7.8.3-8a723173b5-87aca49189.zip +0 -0
  2081. package/.yarn/cache/@babel-plugin-syntax-numeric-separator-npm-7.10.4-81444be605-01ec5547bd.zip +0 -0
  2082. package/.yarn/cache/@babel-plugin-syntax-object-rest-spread-npm-7.8.3-60bd05b6ae-fddcf581a5.zip +0 -0
  2083. package/.yarn/cache/@babel-plugin-syntax-optional-catch-binding-npm-7.8.3-ce337427d8-910d90e72b.zip +0 -0
  2084. package/.yarn/cache/@babel-plugin-syntax-optional-chaining-npm-7.8.3-f3f3c79579-eef94d53a1.zip +0 -0
  2085. package/.yarn/cache/@babel-plugin-syntax-top-level-await-npm-7.14.5-60a0a2e83b-bbd1a56b09.zip +0 -0
  2086. package/.yarn/cache/@babel-plugin-syntax-typescript-npm-7.18.6-4ad9dd7d2a-2cde73725e.zip +0 -0
  2087. package/.yarn/cache/@babel-template-npm-7.18.10-b6d6fdbaf8-93a6aa094a.zip +0 -0
  2088. package/.yarn/cache/@babel-traverse-npm-7.19.6-aede7c1d08-3fafa244f7.zip +0 -0
  2089. package/.yarn/cache/@babel-types-npm-7.19.4-9a7b64a650-4032f64070.zip +0 -0
  2090. package/.yarn/cache/@babel-types-npm-7.24.5-2710b35119-8eeeacd996.zip +0 -0
  2091. package/.yarn/cache/@balancer-labs-sor-npm-4.1.1-beta.4-d3efbf4c07-77a3e7ca7b.zip +0 -0
  2092. package/.yarn/cache/@bcoe-v8-coverage-npm-0.2.3-9e27b3c57e-850f930553.zip +0 -0
  2093. package/.yarn/cache/@bgd-labs-aave-address-book-npm-2.21.1-15abe21a02-13a3cac9e0.zip +0 -0
  2094. package/.yarn/cache/@cspotcode-source-map-support-npm-0.8.1-964f2de99d-5718f26708.zip +0 -0
  2095. package/.yarn/cache/@eslint-eslintrc-npm-1.4.0-f3a03b15bc-73e39c833d.zip +0 -0
  2096. package/.yarn/cache/@eth-optimism-contracts-bedrock-npm-0.11.3-6c66276e35-8daec2908d.zip +0 -0
  2097. package/.yarn/cache/@eth-optimism-contracts-npm-0.5.40-91418f7802-11dde466c9.zip +0 -0
  2098. package/.yarn/cache/@eth-optimism-core-utils-npm-0.12.0-79e5c05a6c-1c820107c4.zip +0 -0
  2099. package/.yarn/cache/@eth-optimism-sdk-npm-1.10.1-802c6381c7-62301c987c.zip +0 -0
  2100. package/.yarn/cache/@ethereumjs-common-npm-2.6.5-3cdacd49c9-0143386f26.zip +0 -0
  2101. package/.yarn/cache/@ethereumjs-tx-npm-3.5.2-21a88306e6-a34a7228a6.zip +0 -0
  2102. package/.yarn/cache/@ethersproject-abi-npm-5.0.7-072aa9bb6b-47bce73278.zip +0 -0
  2103. package/.yarn/cache/@ethersproject-abi-npm-5.7.0-fdd80304df-bc6962bb6c.zip +0 -0
  2104. package/.yarn/cache/@ethersproject-abstract-provider-npm-5.7.0-f94be4e0b0-74cf469624.zip +0 -0
  2105. package/.yarn/cache/@ethersproject-abstract-signer-npm-5.7.0-f61d0a970e-a823dac9cf.zip +0 -0
  2106. package/.yarn/cache/@ethersproject-address-npm-5.7.0-d27f4f2b80-64ea5ebea9.zip +0 -0
  2107. package/.yarn/cache/@ethersproject-base64-npm-5.7.0-ddf99521e0-7dd5d734d6.zip +0 -0
  2108. package/.yarn/cache/@ethersproject-basex-npm-5.7.0-78ae312582-326087b7e1.zip +0 -0
  2109. package/.yarn/cache/@ethersproject-bignumber-npm-5.7.0-cd761880ac-8c9a134b76.zip +0 -0
  2110. package/.yarn/cache/@ethersproject-bytes-npm-5.7.0-4454fe4cb0-66ad365cea.zip +0 -0
  2111. package/.yarn/cache/@ethersproject-constants-npm-5.7.0-24294ccfde-6d4b135574.zip +0 -0
  2112. package/.yarn/cache/@ethersproject-contracts-npm-5.7.0-4d3730222f-6ccf1121cb.zip +0 -0
  2113. package/.yarn/cache/@ethersproject-hash-npm-5.7.0-7c00366b4e-6e9fa8d14e.zip +0 -0
  2114. package/.yarn/cache/@ethersproject-hdnode-npm-5.7.0-c6d5c6aa1c-bfe5ca2d89.zip +0 -0
  2115. package/.yarn/cache/@ethersproject-json-wallets-npm-5.7.0-f73c4734e5-f583458d22.zip +0 -0
  2116. package/.yarn/cache/@ethersproject-keccak256-npm-5.7.0-be838547c4-ff70950d82.zip +0 -0
  2117. package/.yarn/cache/@ethersproject-logger-npm-5.7.0-63fe9c3d29-075ab2f605.zip +0 -0
  2118. package/.yarn/cache/@ethersproject-networks-npm-5.7.1-eb06956095-0339f31230.zip +0 -0
  2119. package/.yarn/cache/@ethersproject-pbkdf2-npm-5.7.0-5b8e51d4b9-b895adb9e3.zip +0 -0
  2120. package/.yarn/cache/@ethersproject-properties-npm-5.7.0-00a99c747b-6ab0ccf0c3.zip +0 -0
  2121. package/.yarn/cache/@ethersproject-providers-npm-5.7.2-88293ff29f-1754c731a5.zip +0 -0
  2122. package/.yarn/cache/@ethersproject-random-npm-5.7.0-a0466f53f9-017829c91c.zip +0 -0
  2123. package/.yarn/cache/@ethersproject-rlp-npm-5.7.0-a6c9e763ff-bce165b0f7.zip +0 -0
  2124. package/.yarn/cache/@ethersproject-sha2-npm-5.7.0-569c8bdff0-09321057c0.zip +0 -0
  2125. package/.yarn/cache/@ethersproject-signing-key-npm-5.7.0-51cfa7708e-8f8de09b0a.zip +0 -0
  2126. package/.yarn/cache/@ethersproject-solidity-npm-5.7.0-75baa4e133-9a02f37f80.zip +0 -0
  2127. package/.yarn/cache/@ethersproject-strings-npm-5.7.0-efcb671e56-5ff78693ae.zip +0 -0
  2128. package/.yarn/cache/@ethersproject-transactions-npm-5.7.0-9a32c9e61a-a31b71996d.zip +0 -0
  2129. package/.yarn/cache/@ethersproject-units-npm-5.7.0-1c1f5ec7ca-304714f848.zip +0 -0
  2130. package/.yarn/cache/@ethersproject-wallet-npm-5.7.0-f553c726b7-a4009bf733.zip +0 -0
  2131. package/.yarn/cache/@ethersproject-web-npm-5.7.1-dabb653410-7028c47103.zip +0 -0
  2132. package/.yarn/cache/@ethersproject-wordlists-npm-5.7.0-00d314bfdb-30eb6eb073.zip +0 -0
  2133. package/.yarn/cache/@hapi-hoek-npm-9.3.0-447eb8d274-4771c7a776.zip +0 -0
  2134. package/.yarn/cache/@hapi-topo-npm-5.1.0-5e0b776809-604dfd5dde.zip +0 -0
  2135. package/.yarn/cache/@hashflow-contracts-evm-npm-2.0.10-0542e1ad29-705930daaf.zip +0 -0
  2136. package/.yarn/cache/@hashflow-contracts-evm-npm-2.0.8-85fbf2e6e0-06472eca62.zip +0 -0
  2137. package/.yarn/cache/@hashflow-governance-npm-1.0.4-af20232f5e-f55d03d8fb.zip +0 -0
  2138. package/.yarn/cache/@hashflow-hashverse-contracts-evm-npm-1.0.0-24cb9b3498-93c2f9b0a1.zip +0 -0
  2139. package/.yarn/cache/@hashflow-hashverse-contracts-npm-1.0.2-4a4d0b6600-264740ce0f.zip +0 -0
  2140. package/.yarn/cache/@hashflow-hashverse-contracts-npm-1.3.1-81d17767b4-fe80f7ccde.zip +0 -0
  2141. package/.yarn/cache/@hashflow-protocol-npm-1.0.3-4e7ed66df3-da0e817705.zip +0 -0
  2142. package/.yarn/cache/@hashflow-sdk-npm-1.2.4-5e605e1eb3-f57be42833.zip +0 -0
  2143. package/.yarn/cache/@hashflow-sdk-npm-2.2.1-86b19fcaf7-aa04572145.zip +0 -0
  2144. package/.yarn/cache/@hashflow-taker-js-npm-0.3.4-d3e0f3273e-07b717e778.zip +0 -0
  2145. package/.yarn/cache/@humanwhocodes-config-array-npm-0.11.8-7955bfecc2-0fd6b3c54f.zip +0 -0
  2146. package/.yarn/cache/@humanwhocodes-module-importer-npm-1.0.1-9d07ed2e4a-0fd22007db.zip +0 -0
  2147. package/.yarn/cache/@humanwhocodes-object-schema-npm-1.2.1-eb622b5d0e-a824a1ec31.zip +0 -0
  2148. package/.yarn/cache/@isaacs-cliui-npm-8.0.2-f4364666d5-4a473b9b32.zip +0 -0
  2149. package/.yarn/cache/@istanbuljs-load-nyc-config-npm-1.1.0-42d17c9cb1-d578da5e2e.zip +0 -0
  2150. package/.yarn/cache/@istanbuljs-schema-npm-0.1.3-466bd3eaaa-5282759d96.zip +0 -0
  2151. package/.yarn/cache/@jest-console-npm-29.2.1-3ab9fdc9c3-b5f08dc60c.zip +0 -0
  2152. package/.yarn/cache/@jest-core-npm-29.2.1-ce2b44c12c-849f9287a0.zip +0 -0
  2153. package/.yarn/cache/@jest-environment-npm-29.2.1-ff40b93688-632d023c9e.zip +0 -0
  2154. package/.yarn/cache/@jest-expect-npm-29.2.1-2895175dd4-c64b939200.zip +0 -0
  2155. package/.yarn/cache/@jest-expect-utils-npm-29.2.1-d238dc1c64-7e6e156f45.zip +0 -0
  2156. package/.yarn/cache/@jest-fake-timers-npm-29.2.1-1d0070ff5e-e4f42a2677.zip +0 -0
  2157. package/.yarn/cache/@jest-globals-npm-29.2.1-92a70cfda6-4204669366.zip +0 -0
  2158. package/.yarn/cache/@jest-reporters-npm-29.2.1-2621c49b23-8f6419d67b.zip +0 -0
  2159. package/.yarn/cache/@jest-schemas-npm-29.0.0-5d6c90262d-41355c78f0.zip +0 -0
  2160. package/.yarn/cache/@jest-source-map-npm-29.2.0-cb038ff173-09f76ab63d.zip +0 -0
  2161. package/.yarn/cache/@jest-test-result-npm-29.2.1-79b07e69f2-8f5f069dcf.zip +0 -0
  2162. package/.yarn/cache/@jest-test-sequencer-npm-29.2.1-6e7aa8e35e-ff73ce30d5.zip +0 -0
  2163. package/.yarn/cache/@jest-transform-npm-29.2.1-5005852d43-bb50bfce34.zip +0 -0
  2164. package/.yarn/cache/@jest-types-npm-26.6.2-fca9877d98-a0bd3d2f22.zip +0 -0
  2165. package/.yarn/cache/@jest-types-npm-29.2.1-6fb73b9831-a83f207274.zip +0 -0
  2166. package/.yarn/cache/@jridgewell-gen-mapping-npm-0.1.1-3bad172ac6-3bcc21fe78.zip +0 -0
  2167. package/.yarn/cache/@jridgewell-gen-mapping-npm-0.3.2-c64eeb4a4e-1832707a1c.zip +0 -0
  2168. package/.yarn/cache/@jridgewell-resolve-uri-npm-3.1.0-6ff2351e61-b5ceaaf9a1.zip +0 -0
  2169. package/.yarn/cache/@jridgewell-set-array-npm-1.1.2-45b82d7fb6-69a84d5980.zip +0 -0
  2170. package/.yarn/cache/@jridgewell-sourcemap-codec-npm-1.4.14-f5f0630788-61100637b6.zip +0 -0
  2171. package/.yarn/cache/@jridgewell-trace-mapping-npm-0.3.17-57578fd48c-9d703b859c.zip +0 -0
  2172. package/.yarn/cache/@jridgewell-trace-mapping-npm-0.3.9-91625cd7fb-d89597752f.zip +0 -0
  2173. package/.yarn/cache/@metamask-eth-sig-util-npm-4.0.1-27d55ec43e-740df4c92a.zip +0 -0
  2174. package/.yarn/cache/@noble-curves-npm-1.2.0-9b40ee1239-bb798d7a66.zip +0 -0
  2175. package/.yarn/cache/@noble-hashes-npm-1.1.2-dbc15bb44d-3c2a8cb7c2.zip +0 -0
  2176. package/.yarn/cache/@noble-hashes-npm-1.1.5-e8bd4ac236-de3f095a7a.zip +0 -0
  2177. package/.yarn/cache/@noble-hashes-npm-1.3.2-1e619f9da0-fe23536b43.zip +0 -0
  2178. package/.yarn/cache/@noble-secp256k1-npm-1.6.3-d06f711103-16eb324253.zip +0 -0
  2179. package/.yarn/cache/@nodelib-fs.scandir-npm-2.1.5-89c67370dd-a970d595bd.zip +0 -0
  2180. package/.yarn/cache/@nodelib-fs.stat-npm-2.0.5-01f4dd3030-012480b5ca.zip +0 -0
  2181. package/.yarn/cache/@nodelib-fs.walk-npm-1.2.8-b4a89da548-190c643f15.zip +0 -0
  2182. package/.yarn/cache/@nomicfoundation-ethereumjs-block-npm-4.0.0-2250ae77f4-a57a33dda7.zip +0 -0
  2183. package/.yarn/cache/@nomicfoundation-ethereumjs-blockchain-npm-6.0.0-75e1d2def4-5605c1d249.zip +0 -0
  2184. package/.yarn/cache/@nomicfoundation-ethereumjs-common-npm-3.0.0-f573286e4f-6a62908e5c.zip +0 -0
  2185. package/.yarn/cache/@nomicfoundation-ethereumjs-ethash-npm-2.0.0-226553c58b-60133df2d4.zip +0 -0
  2186. package/.yarn/cache/@nomicfoundation-ethereumjs-evm-npm-1.0.0-6161f7f3a0-d1ffaa1a02.zip +0 -0
  2187. package/.yarn/cache/@nomicfoundation-ethereumjs-rlp-npm-4.0.0-f7c95bd5db-b358d239e5.zip +0 -0
  2188. package/.yarn/cache/@nomicfoundation-ethereumjs-statemanager-npm-1.0.0-a0c3142cae-fad02ea922.zip +0 -0
  2189. package/.yarn/cache/@nomicfoundation-ethereumjs-trie-npm-5.0.0-e71cd0360a-468de7ffe0.zip +0 -0
  2190. package/.yarn/cache/@nomicfoundation-ethereumjs-tx-npm-4.0.0-4c6c80449d-d2c0e3384a.zip +0 -0
  2191. package/.yarn/cache/@nomicfoundation-ethereumjs-util-npm-8.0.0-b24eb6cc50-a39be4c8d3.zip +0 -0
  2192. package/.yarn/cache/@nomicfoundation-ethereumjs-vm-npm-6.0.0-74b0744a09-3c0e10b377.zip +0 -0
  2193. package/.yarn/cache/@nomicfoundation-solidity-analyzer-npm-0.1.0-cb8d861385-42dc5ba40e.zip +0 -0
  2194. package/.yarn/cache/@nomicfoundation-solidity-analyzer-win32-x64-msvc-npm-0.1.0-571599cfc1-8.zip +0 -0
  2195. package/.yarn/cache/@npmcli-agent-npm-2.2.2-e2f559d6c0-67de7b88cc.zip +0 -0
  2196. package/.yarn/cache/@npmcli-fs-npm-3.1.1-c19bd09f3c-d960cab4b9.zip +0 -0
  2197. package/.yarn/cache/@openzeppelin-contracts-npm-4.7.3-c7d67da36c-18382fcacf.zip +0 -0
  2198. package/.yarn/cache/@openzeppelin-contracts-npm-4.8.1-1683cae58d-99acefde1a.zip +0 -0
  2199. package/.yarn/cache/@openzeppelin-contracts-npm-4.9.2-babe0162a9-0538b18fe2.zip +0 -0
  2200. package/.yarn/cache/@openzeppelin-contracts-upgradeable-npm-4.7.3-51e6d1a149-c9ffb40cb8.zip +0 -0
  2201. package/.yarn/cache/@openzeppelin-contracts-upgradeable-npm-4.8.1-2bbc3d45f4-6af2fbddf2.zip +0 -0
  2202. package/.yarn/cache/@openzeppelin-contracts-upgradeable-npm-4.9.2-1afd0c3d40-88df083e88.zip +0 -0
  2203. package/.yarn/cache/@paraswap-core-npm-2.0.0-f4d9d524d1-3334491c8c.zip +0 -0
  2204. package/.yarn/cache/@paraswap-sdk-npm-6.6.0-2edebaf0d5-83f63c188a.zip +0 -0
  2205. package/.yarn/cache/@pkgjs-parseargs-npm-0.11.0-cd2a3fe948-6ad6a00fc4.zip +0 -0
  2206. package/.yarn/cache/@scure-base-npm-1.1.1-67ec4c3f95-b4fc810b49.zip +0 -0
  2207. package/.yarn/cache/@scure-bip32-npm-1.1.0-99716ab8b2-e6102ab903.zip +0 -0
  2208. package/.yarn/cache/@scure-bip39-npm-1.1.0-b324fc574e-c4361406f0.zip +0 -0
  2209. package/.yarn/cache/@sentry-core-npm-5.30.0-eea572697f-8a2b22687e.zip +0 -0
  2210. package/.yarn/cache/@sentry-hub-npm-5.30.0-c704a1b0f7-09f778cc78.zip +0 -0
  2211. package/.yarn/cache/@sentry-minimal-npm-5.30.0-2d3c87c4cd-934650f698.zip +0 -0
  2212. package/.yarn/cache/@sentry-node-npm-5.30.0-e0febe6d16-5f0367cc52.zip +0 -0
  2213. package/.yarn/cache/@sentry-tracing-npm-5.30.0-4f6b83b5cf-720c07b111.zip +0 -0
  2214. package/.yarn/cache/@sentry-types-npm-5.30.0-2e38fc2f17-de7df77782.zip +0 -0
  2215. package/.yarn/cache/@sentry-utils-npm-5.30.0-5bb40a2852-27b259a136.zip +0 -0
  2216. package/.yarn/cache/@sideway-address-npm-4.1.4-32f94bc9f5-b9fca2a93a.zip +0 -0
  2217. package/.yarn/cache/@sideway-formula-npm-3.0.0-8688cb96b6-8ae26a0ed6.zip +0 -0
  2218. package/.yarn/cache/@sideway-pinpoint-npm-2.0.0-66d94e687e-0f4491e589.zip +0 -0
  2219. package/.yarn/cache/@sinclair-typebox-npm-0.24.47-16efbd32d9-0996569169.zip +0 -0
  2220. package/.yarn/cache/@sindresorhus-is-npm-0.14.0-9f906ea34b-971e0441dd.zip +0 -0
  2221. package/.yarn/cache/@sindresorhus-is-npm-4.6.0-7cad05c55e-83839f13da.zip +0 -0
  2222. package/.yarn/cache/@sinonjs-commons-npm-1.8.3-30cf78d93f-6159726db5.zip +0 -0
  2223. package/.yarn/cache/@sinonjs-fake-timers-npm-9.1.2-3ff37ab7fb-7d3aef54e1.zip +0 -0
  2224. package/.yarn/cache/@szmarczak-http-timer-npm-1.1.2-ea82ca2d55-4d9158061c.zip +0 -0
  2225. package/.yarn/cache/@szmarczak-http-timer-npm-4.0.6-6ace00d82d-c29df3bcec.zip +0 -0
  2226. package/.yarn/cache/@tsconfig-node10-npm-1.0.9-f2e2d20feb-a33ae4dc2a.zip +0 -0
  2227. package/.yarn/cache/@tsconfig-node12-npm-1.0.11-9710d1c61b-5ce29a41b1.zip +0 -0
  2228. package/.yarn/cache/@tsconfig-node14-npm-1.0.3-15321421d2-19275fe80c.zip +0 -0
  2229. package/.yarn/cache/@tsconfig-node16-npm-1.0.3-6a4a30eda2-3a8b657dd0.zip +0 -0
  2230. package/.yarn/cache/@types-async-eventemitter-npm-0.2.1-948dbf815e-36ba0a6f52.zip +0 -0
  2231. package/.yarn/cache/@types-async-npm-3.2.15-dfaa86b43e-c0d9dae6ca.zip +0 -0
  2232. package/.yarn/cache/@types-axios-npm-0.14.0-42f41917ea-12a230b940.zip +0 -0
  2233. package/.yarn/cache/@types-babel__core-npm-7.1.19-bd8ad53364-8c9fa87a1c.zip +0 -0
  2234. package/.yarn/cache/@types-babel__generator-npm-7.6.4-03e776f956-20effbbb5f.zip +0 -0
  2235. package/.yarn/cache/@types-babel__template-npm-7.4.1-fe1db49e53-649fe8b42c.zip +0 -0
  2236. package/.yarn/cache/@types-babel__traverse-npm-7.18.2-17d99e224e-05972775e2.zip +0 -0
  2237. package/.yarn/cache/@types-bn.js-npm-4.11.6-85f0d125f5-7f66f2c7b7.zip +0 -0
  2238. package/.yarn/cache/@types-bn.js-npm-5.1.1-346449981b-e50ed2dd3a.zip +0 -0
  2239. package/.yarn/cache/@types-body-parser-npm-1.19.2-f845b7b538-e17840c7d7.zip +0 -0
  2240. package/.yarn/cache/@types-cacheable-request-npm-6.0.2-894b6992d5-667d25808d.zip +0 -0
  2241. package/.yarn/cache/@types-connect-npm-3.4.35-7337eee0a3-fe81351470.zip +0 -0
  2242. package/.yarn/cache/@types-express-npm-4.17.14-076e1b4711-15c1af46d0.zip +0 -0
  2243. package/.yarn/cache/@types-express-serve-static-core-npm-4.17.31-846873f446-009bfbe107.zip +0 -0
  2244. package/.yarn/cache/@types-graceful-fs-npm-4.1.5-91d62e1050-d076bb61f4.zip +0 -0
  2245. package/.yarn/cache/@types-http-cache-semantics-npm-4.0.1-90863c7a3e-1048aacf62.zip +0 -0
  2246. package/.yarn/cache/@types-istanbul-lib-coverage-npm-2.0.4-734954bb56-a25d7589ee.zip +0 -0
  2247. package/.yarn/cache/@types-istanbul-lib-report-npm-3.0.0-50de3e6b3b-656398b62d.zip +0 -0
  2248. package/.yarn/cache/@types-istanbul-reports-npm-3.0.1-770e825002-f1ad54bc68.zip +0 -0
  2249. package/.yarn/cache/@types-jest-npm-26.0.24-47c570294f-ae39675412.zip +0 -0
  2250. package/.yarn/cache/@types-json-schema-npm-7.0.11-79462ae5ca-527bddfe62.zip +0 -0
  2251. package/.yarn/cache/@types-json5-npm-0.0.29-f63a7916bd-e60b153664.zip +0 -0
  2252. package/.yarn/cache/@types-keyv-npm-3.1.4-a8082ea56b-e009a2bfb5.zip +0 -0
  2253. package/.yarn/cache/@types-keyv-npm-4.2.0-82e1462555-8713da9382.zip +0 -0
  2254. package/.yarn/cache/@types-lodash-npm-4.14.178-5433b9ed68-a69a04a60b.zip +0 -0
  2255. package/.yarn/cache/@types-lru-cache-npm-5.1.1-46aaa305fe-e1d6c0085f.zip +0 -0
  2256. package/.yarn/cache/@types-mime-npm-3.0.1-dec03536dc-4040fac73f.zip +0 -0
  2257. package/.yarn/cache/@types-minimatch-npm-3.0.5-802bb0797f-c41d136f67.zip +0 -0
  2258. package/.yarn/cache/@types-node-npm-12.20.55-88487587a4-e4f86785f4.zip +0 -0
  2259. package/.yarn/cache/@types-node-npm-17.0.45-fdb38d1624-aa04366b91.zip +0 -0
  2260. package/.yarn/cache/@types-node-npm-18.11.3-0725b6dee6-3a2a9142d8.zip +0 -0
  2261. package/.yarn/cache/@types-node-npm-18.15.13-14d4d1b98f-79cc5a2b5f.zip +0 -0
  2262. package/.yarn/cache/@types-pbkdf2-npm-3.1.0-9fa74ff7fb-d15024b195.zip +0 -0
  2263. package/.yarn/cache/@types-prettier-npm-2.7.1-d46ada27e6-5e3f58e229.zip +0 -0
  2264. package/.yarn/cache/@types-prop-types-npm-15.7.5-2aa48aa177-5b43b8b154.zip +0 -0
  2265. package/.yarn/cache/@types-qs-npm-6.9.7-4a3e6ca0d0-7fd6f9c250.zip +0 -0
  2266. package/.yarn/cache/@types-range-parser-npm-1.2.4-23d797fbde-b7c0dfd508.zip +0 -0
  2267. package/.yarn/cache/@types-react-npm-18.0.21-e933f9864e-36c1a7c9d5.zip +0 -0
  2268. package/.yarn/cache/@types-responselike-npm-1.0.0-85dd08af42-e99fc7cc62.zip +0 -0
  2269. package/.yarn/cache/@types-scheduler-npm-0.16.2-ba3a7d8c68-b6b4dcfeae.zip +0 -0
  2270. package/.yarn/cache/@types-secp256k1-npm-4.0.3-945d1c398e-1bd10b9afa.zip +0 -0
  2271. package/.yarn/cache/@types-semver-npm-7.3.13-56212b60da-00c0724d54.zip +0 -0
  2272. package/.yarn/cache/@types-serve-static-npm-1.15.0-ec80a4ac87-b6ac93d471.zip +0 -0
  2273. package/.yarn/cache/@types-stack-utils-npm-2.0.1-867718ab70-205fdbe332.zip +0 -0
  2274. package/.yarn/cache/@types-uuid-npm-9.0.2-f2a5f65979-1754bcf344.zip +0 -0
  2275. package/.yarn/cache/@types-yargs-npm-15.0.14-07ba249dbb-8e358aeb8f.zip +0 -0
  2276. package/.yarn/cache/@types-yargs-npm-17.0.13-67226ed55b-0ab269abc2.zip +0 -0
  2277. package/.yarn/cache/@types-yargs-parser-npm-21.0.0-c8a3b32c52-b2f4c8d12a.zip +0 -0
  2278. package/.yarn/cache/@typescript-eslint-eslint-plugin-npm-5.47.0-777e22770f-fd867eb2b6.zip +0 -0
  2279. package/.yarn/cache/@typescript-eslint-parser-npm-5.47.0-5b98d28ddc-5c864ca74b.zip +0 -0
  2280. package/.yarn/cache/@typescript-eslint-scope-manager-npm-5.47.0-4c0e5e535c-f637268a4c.zip +0 -0
  2281. package/.yarn/cache/@typescript-eslint-type-utils-npm-5.47.0-e434bdc0f0-504b3e883a.zip +0 -0
  2282. package/.yarn/cache/@typescript-eslint-types-npm-5.47.0-e547b4cf4b-5a856e190c.zip +0 -0
  2283. package/.yarn/cache/@typescript-eslint-typescript-estree-npm-5.47.0-85e45a7397-a9adfe8955.zip +0 -0
  2284. package/.yarn/cache/@typescript-eslint-utils-npm-5.47.0-c839038696-f168920eec.zip +0 -0
  2285. package/.yarn/cache/@typescript-eslint-visitor-keys-npm-5.47.0-5d7861deb1-2191c07915.zip +0 -0
  2286. package/.yarn/cache/abbrev-npm-2.0.0-0eb38a17e5-0e994ad2aa.zip +0 -0
  2287. package/.yarn/cache/abort-controller-npm-3.0.0-2f3a9a2bcb-170bdba9b4.zip +0 -0
  2288. package/.yarn/cache/abortcontroller-polyfill-npm-1.7.5-d5260c03fd-daf4169f42.zip +0 -0
  2289. package/.yarn/cache/abstract-level-npm-1.0.3-7a868db447-70d61a3924.zip +0 -0
  2290. package/.yarn/cache/accepts-npm-1.3.8-9a812371c9-50c43d32e7.zip +0 -0
  2291. package/.yarn/cache/acorn-jsx-npm-5.3.2-d7594599ea-c3d3b2a89c.zip +0 -0
  2292. package/.yarn/cache/acorn-npm-8.8.0-9ef399ab45-7270ca82b2.zip +0 -0
  2293. package/.yarn/cache/acorn-npm-8.8.1-20e4aea981-4079b67283.zip +0 -0
  2294. package/.yarn/cache/acorn-walk-npm-8.2.0-2f2cac3177-1715e76c01.zip +0 -0
  2295. package/.yarn/cache/adm-zip-npm-0.4.16-8a2fd28feb-5ea46664d8.zip +0 -0
  2296. package/.yarn/cache/aes-js-npm-3.0.0-fdf135c6be-251e26d533.zip +0 -0
  2297. package/.yarn/cache/aes-js-npm-4.0.0-beta.5-c70da65547-cc2ea969d7.zip +0 -0
  2298. package/.yarn/cache/agent-base-npm-6.0.2-428f325a93-f52b6872cc.zip +0 -0
  2299. package/.yarn/cache/agent-base-npm-7.1.1-c9e1a4b59e-51c158769c.zip +0 -0
  2300. package/.yarn/cache/aggregate-error-npm-3.1.0-415a406f4e-1101a33f21.zip +0 -0
  2301. package/.yarn/cache/ajv-npm-6.12.6-4b5105e2b2-874972efe5.zip +0 -0
  2302. package/.yarn/cache/ansi-colors-npm-4.1.1-97ad42f223-138d04a510.zip +0 -0
  2303. package/.yarn/cache/ansi-colors-npm-4.1.3-8ffd0ae6c7-a9c2ec8420.zip +0 -0
  2304. package/.yarn/cache/ansi-escapes-npm-4.3.2-3ad173702f-93111c4218.zip +0 -0
  2305. package/.yarn/cache/ansi-regex-npm-5.0.1-c963a48615-2aa4bb54ca.zip +0 -0
  2306. package/.yarn/cache/ansi-regex-npm-6.0.1-8d663a607d-1ff8b7667c.zip +0 -0
  2307. package/.yarn/cache/ansi-styles-npm-3.2.1-8cb8107983-d85ade01c1.zip +0 -0
  2308. package/.yarn/cache/ansi-styles-npm-4.3.0-245c7d42c7-513b44c3b2.zip +0 -0
  2309. package/.yarn/cache/ansi-styles-npm-5.2.0-72fc7003e3-d7f4e97ce0.zip +0 -0
  2310. package/.yarn/cache/ansi-styles-npm-6.2.1-d43647018c-ef940f2f0c.zip +0 -0
  2311. package/.yarn/cache/anymatch-npm-3.1.2-1d5471acfa-985163db22.zip +0 -0
  2312. package/.yarn/cache/anymatch-npm-3.1.3-bc81d103b1-3e044fd6d1.zip +0 -0
  2313. package/.yarn/cache/arg-npm-4.1.3-1748b966a8-544af8dd3f.zip +0 -0
  2314. package/.yarn/cache/argparse-npm-1.0.10-528934e59d-7ca6e45583.zip +0 -0
  2315. package/.yarn/cache/argparse-npm-2.0.1-faff7999e6-83644b5649.zip +0 -0
  2316. package/.yarn/cache/array-differ-npm-3.0.0-ddc0d89007-117edd9df5.zip +0 -0
  2317. package/.yarn/cache/array-flatten-npm-1.1.1-9d94ad5f1d-a9925bf351.zip +0 -0
  2318. package/.yarn/cache/array-includes-npm-3.1.6-d0ff9d248b-f22f8cd8ba.zip +0 -0
  2319. package/.yarn/cache/array-union-npm-2.1.0-4e4852b221-5bee12395c.zip +0 -0
  2320. package/.yarn/cache/array.prototype.flat-npm-1.3.1-e9a9e389c0-5a8415949d.zip +0 -0
  2321. package/.yarn/cache/arrify-npm-2.0.1-38c408f77c-067c4c1afd.zip +0 -0
  2322. package/.yarn/cache/asn1-npm-0.2.6-bdd07356c4-39f2ae343b.zip +0 -0
  2323. package/.yarn/cache/asn1.js-npm-5.4.1-37c7edbcb0-3786a101ac.zip +0 -0
  2324. package/.yarn/cache/assert-plus-npm-1.0.0-cac95ef098-19b4340cb8.zip +0 -0
  2325. package/.yarn/cache/assertion-error-npm-1.1.0-66b893015e-fd9429d3a3.zip +0 -0
  2326. package/.yarn/cache/async-eventemitter-npm-0.2.4-0fec935369-b9e77e0f58.zip +0 -0
  2327. package/.yarn/cache/async-limiter-npm-1.0.1-7e6819bcdb-2b849695b4.zip +0 -0
  2328. package/.yarn/cache/async-npm-2.6.4-3155e80151-a52083fb32.zip +0 -0
  2329. package/.yarn/cache/async-npm-3.2.4-aba13508f9-43d07459a4.zip +0 -0
  2330. package/.yarn/cache/asynckit-npm-0.4.0-c718858525-7b78c451df.zip +0 -0
  2331. package/.yarn/cache/available-typed-arrays-npm-1.0.5-88f321e4d3-20eb47b3ce.zip +0 -0
  2332. package/.yarn/cache/aws-sign2-npm-0.7.0-656c6cb84d-b148b0bb07.zip +0 -0
  2333. package/.yarn/cache/aws4-npm-1.11.0-283476ad94-5a00d045fd.zip +0 -0
  2334. package/.yarn/cache/axios-npm-0.26.0-ae9d5291c9-d7a8b898f4.zip +0 -0
  2335. package/.yarn/cache/axios-npm-0.27.2-dbe3a48aea-38cb754046.zip +0 -0
  2336. package/.yarn/cache/axios-npm-1.1.3-4b63965ac1-cab3b17bf6.zip +0 -0
  2337. package/.yarn/cache/babel-jest-npm-29.2.1-3f5ca9b26b-c340c10d8c.zip +0 -0
  2338. package/.yarn/cache/babel-plugin-istanbul-npm-6.1.1-df824055e4-cb4fd95738.zip +0 -0
  2339. package/.yarn/cache/babel-plugin-jest-hoist-npm-29.2.0-bad358f3a4-368d271cea.zip +0 -0
  2340. package/.yarn/cache/babel-preset-current-node-syntax-npm-1.0.1-849ec71e32-d118c27424.zip +0 -0
  2341. package/.yarn/cache/babel-preset-jest-npm-29.2.0-d765a77392-1b09a2db96.zip +0 -0
  2342. package/.yarn/cache/balanced-match-npm-1.0.2-a53c126459-9706c088a2.zip +0 -0
  2343. package/.yarn/cache/base-x-npm-3.0.9-7b2588e106-957101d6fd.zip +0 -0
  2344. package/.yarn/cache/base64-js-npm-1.5.1-b2f7275641-669632eb37.zip +0 -0
  2345. package/.yarn/cache/bcrypt-pbkdf-npm-1.0.2-80db8b16ed-4edfc9fe7d.zip +0 -0
  2346. package/.yarn/cache/bech32-npm-1.1.4-87b69922f7-0e98db6191.zip +0 -0
  2347. package/.yarn/cache/bigint-crypto-utils-npm-3.1.8-1691be213a-deb004aacf.zip +0 -0
  2348. package/.yarn/cache/bigint-mod-arith-npm-3.1.2-c77f54df39-badddd745f.zip +0 -0
  2349. package/.yarn/cache/bignumber.js-npm-8.0.2-c9ba319196-bef57bc46f.zip +0 -0
  2350. package/.yarn/cache/bignumber.js-npm-9.1.0-4f54bd1083-52ec2bb5a3.zip +0 -0
  2351. package/.yarn/cache/bignumber.js-npm-9.1.1-5929e8d8dc-ad243b7e2f.zip +0 -0
  2352. package/.yarn/cache/binary-extensions-npm-2.2.0-180c33fec7-ccd267956c.zip +0 -0
  2353. package/.yarn/cache/blakejs-npm-1.2.1-b1ff783529-d699ba116c.zip +0 -0
  2354. package/.yarn/cache/bluebird-npm-3.7.2-6a54136ee3-869417503c.zip +0 -0
  2355. package/.yarn/cache/bn.js-npm-4.11.6-34a3bf8e02-db23047bf0.zip +0 -0
  2356. package/.yarn/cache/bn.js-npm-4.12.0-3ec6c884f6-39afb4f15f.zip +0 -0
  2357. package/.yarn/cache/bn.js-npm-5.2.1-dc952b1965-3dd8c8d380.zip +0 -0
  2358. package/.yarn/cache/body-parser-npm-1.20.1-759fd14db9-f1050dbac3.zip +0 -0
  2359. package/.yarn/cache/brace-expansion-npm-1.1.11-fb95eb05ad-faf34a7bb0.zip +0 -0
  2360. package/.yarn/cache/brace-expansion-npm-2.0.1-17aa2616f9-a61e7cd2e8.zip +0 -0
  2361. package/.yarn/cache/braces-npm-3.0.2-782240b28a-e2a8e769a8.zip +0 -0
  2362. package/.yarn/cache/brorand-npm-1.1.0-ea86634c4b-8a05c9f3c4.zip +0 -0
  2363. package/.yarn/cache/browser-level-npm-1.0.1-f0600225ae-67fbc77ce8.zip +0 -0
  2364. package/.yarn/cache/browser-stdout-npm-1.3.1-6b2376bf3f-b717b19b25.zip +0 -0
  2365. package/.yarn/cache/browserify-aes-npm-1.2.0-2ad4aeefbe-4a17c3eb55.zip +0 -0
  2366. package/.yarn/cache/browserify-cipher-npm-1.0.1-e00d75c093-2d8500acf1.zip +0 -0
  2367. package/.yarn/cache/browserify-des-npm-1.0.2-5d04e0cde2-b15a3e358a.zip +0 -0
  2368. package/.yarn/cache/browserify-rsa-npm-4.1.0-2a224a51bc-155f0c1358.zip +0 -0
  2369. package/.yarn/cache/browserify-sign-npm-4.2.1-9a8530ca87-0221f190e3.zip +0 -0
  2370. package/.yarn/cache/browserslist-npm-4.21.4-7d64a96afc-4af3793704.zip +0 -0
  2371. package/.yarn/cache/bs-logger-npm-0.2.6-7670f88b66-d34bdaf68c.zip +0 -0
  2372. package/.yarn/cache/bs58-npm-4.0.1-8d2a7822b1-b3c5365bb9.zip +0 -0
  2373. package/.yarn/cache/bs58check-npm-2.1.2-4e87e40195-43bdf08a5d.zip +0 -0
  2374. package/.yarn/cache/bser-npm-2.1.1-cc902055ce-9ba4dc58ce.zip +0 -0
  2375. package/.yarn/cache/buffer-from-npm-1.1.2-03d2f20d7e-0448524a56.zip +0 -0
  2376. package/.yarn/cache/buffer-npm-5.7.1-513ef8259e-e2cf8429e1.zip +0 -0
  2377. package/.yarn/cache/buffer-npm-6.0.3-cd90dfedfe-5ad23293d9.zip +0 -0
  2378. package/.yarn/cache/buffer-reverse-npm-1.0.1-2224e35393-e350872a89.zip +0 -0
  2379. package/.yarn/cache/buffer-to-arraybuffer-npm-0.0.5-338a5a371f-b2e6493a66.zip +0 -0
  2380. package/.yarn/cache/buffer-xor-npm-1.0.3-56bb81b0dd-10c520df29.zip +0 -0
  2381. package/.yarn/cache/bufferutil-npm-4.0.7-77a45bb7a3-f75aa87e3d.zip +0 -0
  2382. package/.yarn/cache/bufio-npm-1.2.0-a2d2f99a0f-c5cc000999.zip +0 -0
  2383. package/.yarn/cache/busboy-npm-1.6.0-ebb5cbb04b-32801e2c01.zip +0 -0
  2384. package/.yarn/cache/bytes-npm-3.1.2-28b8643004-e4bcd3948d.zip +0 -0
  2385. package/.yarn/cache/cacache-npm-18.0.3-7936f526c3-b717fd9b36.zip +0 -0
  2386. package/.yarn/cache/cacheable-lookup-npm-5.0.4-8f13e8b44b-763e02cf91.zip +0 -0
  2387. package/.yarn/cache/cacheable-request-npm-6.1.0-684b834873-b510b237b1.zip +0 -0
  2388. package/.yarn/cache/cacheable-request-npm-7.0.2-e64cc641fc-6152813982.zip +0 -0
  2389. package/.yarn/cache/call-bind-npm-1.0.2-c957124861-f8e31de9d1.zip +0 -0
  2390. package/.yarn/cache/callsites-npm-3.1.0-268f989910-072d17b6ab.zip +0 -0
  2391. package/.yarn/cache/camel-case-npm-4.1.2-082bf67a9a-bcbd25cd25.zip +0 -0
  2392. package/.yarn/cache/camelcase-npm-5.3.1-5db8af62c5-e6effce26b.zip +0 -0
  2393. package/.yarn/cache/camelcase-npm-6.3.0-e5e42a0d15-8c96818a90.zip +0 -0
  2394. package/.yarn/cache/caniuse-lite-npm-1.0.30001423-20d69c693b-fe443f323f.zip +0 -0
  2395. package/.yarn/cache/capital-case-npm-1.0.4-90f8a4641d-41fa8fa87f.zip +0 -0
  2396. package/.yarn/cache/caseless-npm-0.12.0-e83bc5df83-b43bd4c440.zip +0 -0
  2397. package/.yarn/cache/catering-npm-2.1.1-b116dcdfef-205daefa69.zip +0 -0
  2398. package/.yarn/cache/chai-npm-4.3.7-48fdcf2584-0bba7d2678.zip +0 -0
  2399. package/.yarn/cache/chalk-npm-2.4.2-3ea16dd91e-ec3661d38f.zip +0 -0
  2400. package/.yarn/cache/chalk-npm-3.0.0-e813208025-8e3ddf3981.zip +0 -0
  2401. package/.yarn/cache/chalk-npm-4.1.2-ba8b67ab80-fe75c9d5c7.zip +0 -0
  2402. package/.yarn/cache/change-case-npm-4.1.2-9c42f72b39-e4bc4a093a.zip +0 -0
  2403. package/.yarn/cache/char-regex-npm-1.0.2-ecade5f97f-b563e4b603.zip +0 -0
  2404. package/.yarn/cache/check-error-npm-1.0.2-00c540c6e9-d9d1065044.zip +0 -0
  2405. package/.yarn/cache/chokidar-npm-3.5.3-c5f9b0a56a-b49fcde401.zip +0 -0
  2406. package/.yarn/cache/chownr-npm-1.1.4-5bd400ab08-115648f8eb.zip +0 -0
  2407. package/.yarn/cache/chownr-npm-2.0.0-638f1c9c61-c57cf9dd07.zip +0 -0
  2408. package/.yarn/cache/ci-info-npm-2.0.0-78012236a1-3b374666a8.zip +0 -0
  2409. package/.yarn/cache/ci-info-npm-3.5.0-9f42814be7-7def378970.zip +0 -0
  2410. package/.yarn/cache/cids-npm-0.7.5-53a4e1a34a-54aa031bef.zip +0 -0
  2411. package/.yarn/cache/cipher-base-npm-1.0.4-2e98b97140-47d3568dbc.zip +0 -0
  2412. package/.yarn/cache/cjs-module-lexer-npm-1.2.2-473ce063ea-977f3f042b.zip +0 -0
  2413. package/.yarn/cache/class-is-npm-1.1.0-061e25fa9f-49024de3b2.zip +0 -0
  2414. package/.yarn/cache/classic-level-npm-1.2.0-399f00877c-88ddd12f21.zip +0 -0
  2415. package/.yarn/cache/clean-stack-npm-2.2.0-a8ce435a5c-2ac8cd2b2f.zip +0 -0
  2416. package/.yarn/cache/cliui-npm-7.0.4-d6b8a9edb6-ce2e8f578a.zip +0 -0
  2417. package/.yarn/cache/cliui-npm-8.0.1-3b029092cf-79648b3b00.zip +0 -0
  2418. package/.yarn/cache/clone-npm-2.1.2-1d491c6629-aaf106e9bc.zip +0 -0
  2419. package/.yarn/cache/clone-response-npm-1.0.3-f71cb6aff5-4e671cac39.zip +0 -0
  2420. package/.yarn/cache/co-npm-4.6.0-03f2d1feb6-5210d92230.zip +0 -0
  2421. package/.yarn/cache/collect-v8-coverage-npm-1.0.1-39dec86bad-4efe0a1fcc.zip +0 -0
  2422. package/.yarn/cache/color-convert-npm-1.9.3-1fe690075e-fd7a64a17c.zip +0 -0
  2423. package/.yarn/cache/color-convert-npm-2.0.1-79730e935b-79e6bdb9fd.zip +0 -0
  2424. package/.yarn/cache/color-name-npm-1.1.3-728b7b5d39-09c5d3e33d.zip +0 -0
  2425. package/.yarn/cache/color-name-npm-1.1.4-025792b0ea-b044585952.zip +0 -0
  2426. package/.yarn/cache/combined-stream-npm-1.0.8-dc14d4a63a-49fa4aeb49.zip +0 -0
  2427. package/.yarn/cache/command-exists-npm-1.2.9-cc51a1f78a-729ae3d88a.zip +0 -0
  2428. package/.yarn/cache/commander-npm-3.0.2-7c81f1ab98-6d14ad030d.zip +0 -0
  2429. package/.yarn/cache/concat-map-npm-0.0.1-85a921b7ee-902a9f5d89.zip +0 -0
  2430. package/.yarn/cache/confusing-browser-globals-npm-1.0.11-b3ff8e9483-3afc635abd.zip +0 -0
  2431. package/.yarn/cache/constant-case-npm-3.0.4-118b472e28-6c3346d51a.zip +0 -0
  2432. package/.yarn/cache/content-disposition-npm-0.5.4-2d93678616-afb9d545e2.zip +0 -0
  2433. package/.yarn/cache/content-hash-npm-2.5.2-565fd04df3-31869e4d13.zip +0 -0
  2434. package/.yarn/cache/content-type-npm-1.0.4-3b1a5ca16b-3d93585fda.zip +0 -0
  2435. package/.yarn/cache/convert-source-map-npm-1.9.0-e294555f4b-dc55a1f28d.zip +0 -0
  2436. package/.yarn/cache/cookie-npm-0.4.2-7761894d5f-a00833c998.zip +0 -0
  2437. package/.yarn/cache/cookie-npm-0.5.0-e2d58a161a-1f4bd2ca57.zip +0 -0
  2438. package/.yarn/cache/cookie-signature-npm-1.0.6-93f325f7f0-f4e1b0a98a.zip +0 -0
  2439. package/.yarn/cache/cookiejar-npm-2.1.3-ec18b65dd0-88259983eb.zip +0 -0
  2440. package/.yarn/cache/core-util-is-npm-1.0.2-9fc2b94dc3-7a4c925b49.zip +0 -0
  2441. package/.yarn/cache/cors-npm-2.8.5-c9935a2d12-ced838404c.zip +0 -0
  2442. package/.yarn/cache/crc-32-npm-1.2.2-28bdc12bcc-ad2d0ad0cb.zip +0 -0
  2443. package/.yarn/cache/create-ecdh-npm-4.0.4-1048ce2035-0dd7fca971.zip +0 -0
  2444. package/.yarn/cache/create-hash-npm-1.2.0-afd048e1ce-02a6ae3bb9.zip +0 -0
  2445. package/.yarn/cache/create-hmac-npm-1.1.7-b4ef32668a-ba12bb2257.zip +0 -0
  2446. package/.yarn/cache/create-require-npm-1.1.1-839884ca2e-a9a1503d43.zip +0 -0
  2447. package/.yarn/cache/cross-fetch-npm-3.1.5-e414995db9-f6b8c6ee3e.zip +0 -0
  2448. package/.yarn/cache/cross-spawn-npm-7.0.3-e4ff3e65b3-671cc7c728.zip +0 -0
  2449. package/.yarn/cache/crypto-browserify-npm-3.12.0-bed454fef0-c1609af826.zip +0 -0
  2450. package/.yarn/cache/crypto-js-npm-3.3.0-5b307000b5-193923143a.zip +0 -0
  2451. package/.yarn/cache/csstype-npm-3.1.1-3857baf48b-1f7b4f5fdd.zip +0 -0
  2452. package/.yarn/cache/d-npm-1.0.1-64afbbc689-49ca0639c7.zip +0 -0
  2453. package/.yarn/cache/dashdash-npm-1.14.1-be8f10a286-3634c24957.zip +0 -0
  2454. package/.yarn/cache/date-format-npm-4.0.14-50da5e5139-dfe5139df6.zip +0 -0
  2455. package/.yarn/cache/debug-npm-2.6.9-7d4cb597dc-d2f51589ca.zip +0 -0
  2456. package/.yarn/cache/debug-npm-3.2.7-754e818c7a-b3d8c59407.zip +0 -0
  2457. package/.yarn/cache/debug-npm-4.3.4-4513954577-3dbad3f94e.zip +0 -0
  2458. package/.yarn/cache/decamelize-npm-4.0.0-12410e3409-b7d09b8265.zip +0 -0
  2459. package/.yarn/cache/decode-uri-component-npm-0.2.0-5bcc0f3597-f3749344ab.zip +0 -0
  2460. package/.yarn/cache/decompress-response-npm-3.3.0-6e7b6375c3-952552ac3b.zip +0 -0
  2461. package/.yarn/cache/decompress-response-npm-6.0.0-359de2878c-d377cf47e0.zip +0 -0
  2462. package/.yarn/cache/dedent-npm-0.7.0-2dbb45a4c5-87de191050.zip +0 -0
  2463. package/.yarn/cache/deep-eql-npm-4.1.3-020a64f862-7f6d30cb41.zip +0 -0
  2464. package/.yarn/cache/deep-is-npm-0.1.4-88938b5a67-edb65dd0d7.zip +0 -0
  2465. package/.yarn/cache/deepmerge-npm-4.2.2-112165ced2-a8c43a1ed8.zip +0 -0
  2466. package/.yarn/cache/defer-to-connect-npm-1.1.3-5887885147-9491b301dc.zip +0 -0
  2467. package/.yarn/cache/defer-to-connect-npm-2.0.1-9005cc8c60-8a9b50d2f2.zip +0 -0
  2468. package/.yarn/cache/define-properties-npm-1.1.4-85ee575655-ce0aef3f9e.zip +0 -0
  2469. package/.yarn/cache/delayed-stream-npm-1.0.0-c5a4c4cc02-46fe6e83e2.zip +0 -0
  2470. package/.yarn/cache/depd-npm-2.0.0-b6c51a4b43-abbe19c768.zip +0 -0
  2471. package/.yarn/cache/des.js-npm-1.0.1-9f155eddb6-1ec2eedd7e.zip +0 -0
  2472. package/.yarn/cache/destroy-npm-1.2.0-6a511802e2-0acb300b74.zip +0 -0
  2473. package/.yarn/cache/detect-newline-npm-3.1.0-6d33fa8d37-ae6cd429c4.zip +0 -0
  2474. package/.yarn/cache/detect-node-npm-2.0.3-cd2ccb5126-9442cf28df.zip +0 -0
  2475. package/.yarn/cache/diff-npm-4.0.2-73133c7102-f2c09b0ce4.zip +0 -0
  2476. package/.yarn/cache/diff-npm-5.0.0-ad6900db18-f19fe29284.zip +0 -0
  2477. package/.yarn/cache/diff-sequences-npm-26.6.2-fbf1967570-79af871776.zip +0 -0
  2478. package/.yarn/cache/diff-sequences-npm-29.2.0-a03dd6ddbd-e7b874cc7a.zip +0 -0
  2479. package/.yarn/cache/diffie-hellman-npm-5.0.3-cbef8f3171-0e620f3221.zip +0 -0
  2480. package/.yarn/cache/dir-glob-npm-3.0.1-1aea628b1b-fa05e18324.zip +0 -0
  2481. package/.yarn/cache/doctrine-npm-2.1.0-ac15d049b7-a45e277f7f.zip +0 -0
  2482. package/.yarn/cache/doctrine-npm-3.0.0-c6f1615f04-fd7673ca77.zip +0 -0
  2483. package/.yarn/cache/dom-walk-npm-0.1.2-7d20a1a8d8-19eb0ce9c6.zip +0 -0
  2484. package/.yarn/cache/dot-case-npm-3.0.4-09675b5521-a65e351941.zip +0 -0
  2485. package/.yarn/cache/dotenv-npm-16.0.0-ef4a5ccded-664cebb51f.zip +0 -0
  2486. package/.yarn/cache/duplexer3-npm-0.1.5-343d4ab7e3-e677cb4c48.zip +0 -0
  2487. package/.yarn/cache/eastasianwidth-npm-0.2.0-c37eb16bd1-7d00d7cd8e.zip +0 -0
  2488. package/.yarn/cache/ecc-jsbn-npm-0.1.2-85b7a7be89-22fef4b620.zip +0 -0
  2489. package/.yarn/cache/ee-first-npm-1.1.1-33f8535b39-1b4cac778d.zip +0 -0
  2490. package/.yarn/cache/electron-to-chromium-npm-1.4.284-2fb881a7ac-be496e9dca.zip +0 -0
  2491. package/.yarn/cache/elliptic-npm-6.5.4-0ca8204a86-d56d21fd04.zip +0 -0
  2492. package/.yarn/cache/emittery-npm-0.10.2-aac10498b5-ee3e21788b.zip +0 -0
  2493. package/.yarn/cache/emoji-regex-npm-8.0.0-213764015c-d4c5c39d5a.zip +0 -0
  2494. package/.yarn/cache/emoji-regex-npm-9.2.2-e6fac8d058-8487182da7.zip +0 -0
  2495. package/.yarn/cache/encodeurl-npm-1.0.2-f8c8454c41-e50e3d508c.zip +0 -0
  2496. package/.yarn/cache/encoding-npm-0.1.13-82a1837d30-bb98632f8f.zip +0 -0
  2497. package/.yarn/cache/end-of-stream-npm-1.4.4-497fc6dee1-530a5a5a1e.zip +0 -0
  2498. package/.yarn/cache/enquirer-npm-2.3.6-7899175762-1c0911e14a.zip +0 -0
  2499. package/.yarn/cache/env-paths-npm-2.2.1-7c7577428c-65b5df55a8.zip +0 -0
  2500. package/.yarn/cache/err-code-npm-2.0.3-082e0ff9a7-8b7b1be20d.zip +0 -0
  2501. package/.yarn/cache/error-ex-npm-1.3.2-5654f80c0f-c1c2b8b65f.zip +0 -0
  2502. package/.yarn/cache/es-abstract-npm-1.20.4-543318afab-89297cc785.zip +0 -0
  2503. package/.yarn/cache/es-abstract-npm-1.20.5-48876743a4-00564779dd.zip +0 -0
  2504. package/.yarn/cache/es-shim-unscopables-npm-1.0.0-06186593f1-83e95cadbb.zip +0 -0
  2505. package/.yarn/cache/es-to-primitive-npm-1.2.1-b7a7eac6c5-4ead6671a2.zip +0 -0
  2506. package/.yarn/cache/es5-ext-npm-0.10.62-f20aca46cb-25f42f6068.zip +0 -0
  2507. package/.yarn/cache/es6-iterator-npm-2.0.3-4dadb0ccc1-6e48b1c2d9.zip +0 -0
  2508. package/.yarn/cache/es6-promise-npm-4.2.8-c9f5b11f66-95614a8887.zip +0 -0
  2509. package/.yarn/cache/es6-symbol-npm-3.1.3-34d72f2a23-cd49722c2a.zip +0 -0
  2510. package/.yarn/cache/escalade-npm-3.1.1-e02da076aa-a3e2a99f07.zip +0 -0
  2511. package/.yarn/cache/escape-html-npm-1.0.3-376c22ee74-6213ca9ae0.zip +0 -0
  2512. package/.yarn/cache/escape-string-regexp-npm-1.0.5-3284de402f-6092fda75c.zip +0 -0
  2513. package/.yarn/cache/escape-string-regexp-npm-2.0.0-aef69d2a25-9f8a2d5743.zip +0 -0
  2514. package/.yarn/cache/escape-string-regexp-npm-4.0.0-4b531d8d59-98b48897d9.zip +0 -0
  2515. package/.yarn/cache/eslint-config-airbnb-base-npm-15.0.0-802837dd26-38626bad2c.zip +0 -0
  2516. package/.yarn/cache/eslint-config-prettier-npm-8.5.0-a1dd58b6d8-0d0f5c32e7.zip +0 -0
  2517. package/.yarn/cache/eslint-import-resolver-node-npm-0.3.6-d9426786c6-6266733af1.zip +0 -0
  2518. package/.yarn/cache/eslint-module-utils-npm-2.7.4-a1640084cb-5da13645da.zip +0 -0
  2519. package/.yarn/cache/eslint-npm-8.30.0-833a1d8979-b7525bb465.zip +0 -0
  2520. package/.yarn/cache/eslint-plugin-import-npm-2.26.0-959fe14a01-0bf77ad803.zip +0 -0
  2521. package/.yarn/cache/eslint-scope-npm-5.1.1-71fe59b18a-47e4b6a3f0.zip +0 -0
  2522. package/.yarn/cache/eslint-scope-npm-7.1.1-23935eb377-9f6e974ab2.zip +0 -0
  2523. package/.yarn/cache/eslint-utils-npm-3.0.0-630b3a4013-0668fe02f5.zip +0 -0
  2524. package/.yarn/cache/eslint-visitor-keys-npm-2.1.0-c31806b6b9-e3081d7dd2.zip +0 -0
  2525. package/.yarn/cache/eslint-visitor-keys-npm-3.3.0-d329af7c8c-d59e68a7c5.zip +0 -0
  2526. package/.yarn/cache/espree-npm-9.4.1-b88faf10bc-4d266b0cf8.zip +0 -0
  2527. package/.yarn/cache/esprima-npm-4.0.1-1084e98778-b45bc805a6.zip +0 -0
  2528. package/.yarn/cache/esquery-npm-1.4.0-f39408b1a7-a0807e17ab.zip +0 -0
  2529. package/.yarn/cache/esrecurse-npm-4.3.0-10b86a887a-ebc17b1a33.zip +0 -0
  2530. package/.yarn/cache/estraverse-npm-4.3.0-920a32f3c6-a6299491f9.zip +0 -0
  2531. package/.yarn/cache/estraverse-npm-5.3.0-03284f8f63-072780882d.zip +0 -0
  2532. package/.yarn/cache/esutils-npm-2.0.3-f865beafd5-22b5b08f74.zip +0 -0
  2533. package/.yarn/cache/etag-npm-1.8.1-54a3b989d9-571aeb3dbe.zip +0 -0
  2534. package/.yarn/cache/eth-ens-namehash-npm-2.0.8-5db8adee60-40ce4aeeda.zip +0 -0
  2535. package/.yarn/cache/eth-lib-npm-0.1.29-f0336c8400-d1494fc0af.zip +0 -0
  2536. package/.yarn/cache/eth-lib-npm-0.2.8-3c025a63dd-be7efb0b08.zip +0 -0
  2537. package/.yarn/cache/ethereum-bloom-filters-npm-1.0.10-5a486457fa-4019cc6f92.zip +0 -0
  2538. package/.yarn/cache/ethereum-cryptography-npm-0.1.3-ab43fc624b-54bae7a4a9.zip +0 -0
  2539. package/.yarn/cache/ethereum-cryptography-npm-1.1.2-c16cfd7e8a-0ef55f141a.zip +0 -0
  2540. package/.yarn/cache/ethereum-types-npm-2.1.6-600ade96f4-e418e14b51.zip +0 -0
  2541. package/.yarn/cache/ethereumjs-abi-npm-0.6.8-c911e0a245-cede2a8ae7.zip +0 -0
  2542. package/.yarn/cache/ethereumjs-util-npm-5.2.1-72b39f4e7e-20db6c639d.zip +0 -0
  2543. package/.yarn/cache/ethereumjs-util-npm-6.2.1-581f80bb5a-e3cb4a2c03.zip +0 -0
  2544. package/.yarn/cache/ethereumjs-util-npm-7.1.5-5bb4d00000-27a3c79d6e.zip +0 -0
  2545. package/.yarn/cache/ethers-npm-4.0.49-8d849613e4-357115348a.zip +0 -0
  2546. package/.yarn/cache/ethers-npm-5.7.2-eba7d781ee-b7c08cf3e2.zip +0 -0
  2547. package/.yarn/cache/ethers-npm-6.9.0-62ae87444b-e7b3b912b9.zip +0 -0
  2548. package/.yarn/cache/ethjs-unit-npm-0.1.6-fb3575f27f-df6b4752ff.zip +0 -0
  2549. package/.yarn/cache/ethjs-util-npm-0.1.6-bd313edc1f-1f42959e78.zip +0 -0
  2550. package/.yarn/cache/event-target-shim-npm-5.0.1-cb48709025-1ffe3bb22a.zip +0 -0
  2551. package/.yarn/cache/eventemitter3-npm-4.0.4-46f999a6ee-7afb1cd851.zip +0 -0
  2552. package/.yarn/cache/evp_bytestokey-npm-1.0.3-4a2644aaea-ad4e1577f1.zip +0 -0
  2553. package/.yarn/cache/execa-npm-4.1.0-cc675b4189-e30d298934.zip +0 -0
  2554. package/.yarn/cache/execa-npm-5.1.1-191347acf5-fba9022c8c.zip +0 -0
  2555. package/.yarn/cache/exit-npm-0.1.2-ef3761a67d-abc407f07a.zip +0 -0
  2556. package/.yarn/cache/expect-npm-29.2.1-77e66f565d-0a1347b569.zip +0 -0
  2557. package/.yarn/cache/exponential-backoff-npm-3.1.1-04df458b30-3d21519a4f.zip +0 -0
  2558. package/.yarn/cache/express-npm-4.18.2-bb15ff679a-3c4b9b0768.zip +0 -0
  2559. package/.yarn/cache/ext-npm-1.7.0-580588ab93-ef481f9ef4.zip +0 -0
  2560. package/.yarn/cache/extend-npm-3.0.2-e1ca07ac54-a50a8309ca.zip +0 -0
  2561. package/.yarn/cache/extsprintf-npm-1.3.0-61a92b324c-cee7a4a1e3.zip +0 -0
  2562. package/.yarn/cache/extsprintf-npm-1.4.1-140b2f27ab-a2f29b2419.zip +0 -0
  2563. package/.yarn/cache/fast-deep-equal-npm-3.1.3-790edcfcf5-e21a9d8d84.zip +0 -0
  2564. package/.yarn/cache/fast-glob-npm-3.2.12-162763bbae-0b1990f6ce.zip +0 -0
  2565. package/.yarn/cache/fast-json-stable-stringify-npm-2.1.0-02e8905fda-b191531e36.zip +0 -0
  2566. package/.yarn/cache/fast-levenshtein-npm-2.0.6-fcd74b8df5-92cfec0a8d.zip +0 -0
  2567. package/.yarn/cache/fastq-npm-1.14.0-7344c77718-da2c05ec14.zip +0 -0
  2568. package/.yarn/cache/fb-watchman-npm-2.0.2-bcb6f8f831-b15a124cef.zip +0 -0
  2569. package/.yarn/cache/file-entry-cache-npm-6.0.1-31965cf0af-f49701feaa.zip +0 -0
  2570. package/.yarn/cache/fill-range-npm-7.0.1-b8b1817caa-cc283f4e65.zip +0 -0
  2571. package/.yarn/cache/finalhandler-npm-1.2.0-593d001463-92effbfd32.zip +0 -0
  2572. package/.yarn/cache/find-up-npm-2.1.0-9f6cb1765c-43284fe4da.zip +0 -0
  2573. package/.yarn/cache/find-up-npm-4.1.0-c3ccf8d855-4c172680e8.zip +0 -0
  2574. package/.yarn/cache/find-up-npm-5.0.0-e03e9b796d-07955e3573.zip +0 -0
  2575. package/.yarn/cache/flat-cache-npm-3.0.4-ee77e5911e-4fdd10ecbc.zip +0 -0
  2576. package/.yarn/cache/flat-npm-5.0.2-12748102a5-12a1536ac7.zip +0 -0
  2577. package/.yarn/cache/flatted-npm-3.2.7-0da10b7c56-427633049d.zip +0 -0
  2578. package/.yarn/cache/follow-redirects-npm-1.15.2-1ec1dd82be-faa66059b6.zip +0 -0
  2579. package/.yarn/cache/for-each-npm-0.3.3-0010ca8cdd-6c48ff2bc6.zip +0 -0
  2580. package/.yarn/cache/foreground-child-npm-3.1.1-77e78ed774-139d270bc8.zip +0 -0
  2581. package/.yarn/cache/forever-agent-npm-0.6.1-01dae53bf9-766ae6e220.zip +0 -0
  2582. package/.yarn/cache/form-data-npm-2.3.3-c016cc11c0-10c1780fa1.zip +0 -0
  2583. package/.yarn/cache/form-data-npm-4.0.0-916facec2d-01135bf867.zip +0 -0
  2584. package/.yarn/cache/forwarded-npm-0.2.0-6473dabe35-fd27e2394d.zip +0 -0
  2585. package/.yarn/cache/fp-ts-npm-1.19.3-dff3ad3fb5-eb0d4766ad.zip +0 -0
  2586. package/.yarn/cache/fp-ts-npm-1.19.5-24841190c4-67d2d9c385.zip +0 -0
  2587. package/.yarn/cache/fresh-npm-0.5.2-ad2bb4c0a2-13ea8b08f9.zip +0 -0
  2588. package/.yarn/cache/fs-extra-npm-0.30.0-897eeef4c3-6edfd65fc8.zip +0 -0
  2589. package/.yarn/cache/fs-extra-npm-4.0.3-2a1f6bc181-c5ae3c7043.zip +0 -0
  2590. package/.yarn/cache/fs-extra-npm-7.0.1-b33a5e53e9-141b9dccb2.zip +0 -0
  2591. package/.yarn/cache/fs-extra-npm-8.1.0-197473387f-bf44f0e6ce.zip +0 -0
  2592. package/.yarn/cache/fs-minipass-npm-1.2.7-0e18342ce1-40fd46a2b5.zip +0 -0
  2593. package/.yarn/cache/fs-minipass-npm-2.1.0-501ef87306-1b8d128dae.zip +0 -0
  2594. package/.yarn/cache/fs-minipass-npm-3.0.3-d148d6ac19-8722a41109.zip +0 -0
  2595. package/.yarn/cache/fs.realpath-npm-1.0.0-c8f05d8126-99ddea01a7.zip +0 -0
  2596. package/.yarn/cache/fsevents-npm-2.3.2-a881d6ac9f-97ade64e75.zip +0 -0
  2597. package/.yarn/cache/function-bind-npm-1.1.1-b56b322ae9-b32fbaebb3.zip +0 -0
  2598. package/.yarn/cache/function.prototype.name-npm-1.1.5-e776a642bb-acd21d733a.zip +0 -0
  2599. package/.yarn/cache/functional-red-black-tree-npm-1.0.1-ccfe924dcd-ca6c170f37.zip +0 -0
  2600. package/.yarn/cache/functions-have-names-npm-1.2.3-e5cf1e2208-c3f1f5ba20.zip +0 -0
  2601. package/.yarn/cache/gensync-npm-1.0.0-beta.2-224666d72f-a7437e58c6.zip +0 -0
  2602. package/.yarn/cache/get-caller-file-npm-2.0.5-80e8a86305-b9769a836d.zip +0 -0
  2603. package/.yarn/cache/get-func-name-npm-2.0.0-afbf363765-8d82e69f3e.zip +0 -0
  2604. package/.yarn/cache/get-intrinsic-npm-1.1.3-b6c7bd1010-152d79e872.zip +0 -0
  2605. package/.yarn/cache/get-package-type-npm-0.1.0-6c70cdc8ab-bba0811116.zip +0 -0
  2606. package/.yarn/cache/get-stream-npm-4.1.0-314d430a5d-443e191417.zip +0 -0
  2607. package/.yarn/cache/get-stream-npm-5.2.0-2cfd3b452b-8bc1a23174.zip +0 -0
  2608. package/.yarn/cache/get-stream-npm-6.0.1-83e51a4642-e04ecece32.zip +0 -0
  2609. package/.yarn/cache/get-symbol-description-npm-1.0.0-9c95a4bc1f-9ceff8fe96.zip +0 -0
  2610. package/.yarn/cache/getpass-npm-0.1.7-519164a3be-ab18d55661.zip +0 -0
  2611. package/.yarn/cache/glob-npm-10.3.12-f2e90133a0-2b0949d636.zip +0 -0
  2612. package/.yarn/cache/glob-npm-7.2.0-bb4644d239-78a8ea9423.zip +0 -0
  2613. package/.yarn/cache/glob-npm-7.2.3-2d866d17a5-29452e97b3.zip +0 -0
  2614. package/.yarn/cache/glob-parent-npm-5.1.2-021ab32634-f4f2bfe242.zip +0 -0
  2615. package/.yarn/cache/glob-parent-npm-6.0.2-2cbef12738-c13ee97978.zip +0 -0
  2616. package/.yarn/cache/global-npm-4.4.0-888ee8033d-9c057557c8.zip +0 -0
  2617. package/.yarn/cache/globals-npm-11.12.0-1fa7f41a6c-67051a45ec.zip +0 -0
  2618. package/.yarn/cache/globals-npm-13.19.0-a63c75a2dd-a000dbd00b.zip +0 -0
  2619. package/.yarn/cache/globby-npm-11.1.0-bdcdf20c71-b4be8885e0.zip +0 -0
  2620. package/.yarn/cache/gopd-npm-1.0.1-10c1d0b534-a5ccfb8806.zip +0 -0
  2621. package/.yarn/cache/got-npm-11.8.5-787b5e3116-2de8a1bbda.zip +0 -0
  2622. package/.yarn/cache/got-npm-9.6.0-80edc15fd0-941807bd97.zip +0 -0
  2623. package/.yarn/cache/graceful-fs-npm-4.2.10-79c70989ca-3f109d70ae.zip +0 -0
  2624. package/.yarn/cache/graceful-fs-npm-4.2.11-24bb648a68-ac85f94da9.zip +0 -0
  2625. package/.yarn/cache/grapheme-splitter-npm-1.0.4-648f2bf509-0c22ec54de.zip +0 -0
  2626. package/.yarn/cache/har-schema-npm-2.0.0-3a318c0ca5-d8946348f3.zip +0 -0
  2627. package/.yarn/cache/har-validator-npm-5.1.5-bd9ac162f5-b998a7269c.zip +0 -0
  2628. package/.yarn/cache/hardhat-npm-2.12.6-70f2bc424b-c97c5ed233.zip +0 -0
  2629. package/.yarn/cache/has-bigints-npm-1.0.2-52732e614d-390e31e7be.zip +0 -0
  2630. package/.yarn/cache/has-flag-npm-3.0.0-16ac11fe05-4a15638b45.zip +0 -0
  2631. package/.yarn/cache/has-flag-npm-4.0.0-32af9f0536-261a135703.zip +0 -0
  2632. package/.yarn/cache/has-npm-1.0.3-b7f00631c1-b9ad53d53b.zip +0 -0
  2633. package/.yarn/cache/has-property-descriptors-npm-1.0.0-56289b918d-a6d3f0a266.zip +0 -0
  2634. package/.yarn/cache/has-symbols-npm-1.0.3-1986bff2c4-a054c40c63.zip +0 -0
  2635. package/.yarn/cache/has-tostringtag-npm-1.0.0-b1fcf3ab55-cc12eb28cb.zip +0 -0
  2636. package/.yarn/cache/hash-base-npm-3.1.0-26fc5711dd-26b7e97ac3.zip +0 -0
  2637. package/.yarn/cache/hash.js-npm-1.1.3-db96f2fb97-93de6f178b.zip +0 -0
  2638. package/.yarn/cache/hash.js-npm-1.1.7-f1ad187358-e350096e65.zip +0 -0
  2639. package/.yarn/cache/he-npm-1.2.0-3b73a2ff07-3d4d6babcc.zip +0 -0
  2640. package/.yarn/cache/header-case-npm-2.0.4-7d19e19e6d-571c83eeb2.zip +0 -0
  2641. package/.yarn/cache/hmac-drbg-npm-1.0.1-3499ad31cd-bd30b6a68d.zip +0 -0
  2642. package/.yarn/cache/html-escaper-npm-2.0.2-38e51ef294-d2df2da3ad.zip +0 -0
  2643. package/.yarn/cache/http-cache-semantics-npm-4.1.0-860520a31f-974de94a81.zip +0 -0
  2644. package/.yarn/cache/http-cache-semantics-npm-4.1.1-1120131375-83ac0bc60b.zip +0 -0
  2645. package/.yarn/cache/http-errors-npm-2.0.0-3f1c503428-9b0a378266.zip +0 -0
  2646. package/.yarn/cache/http-https-npm-1.0.0-d2d5339bdb-82fc4d2e51.zip +0 -0
  2647. package/.yarn/cache/http-proxy-agent-npm-7.0.2-643ed7cc33-670858c8f8.zip +0 -0
  2648. package/.yarn/cache/http-signature-npm-1.2.0-ee92426f34-3324598712.zip +0 -0
  2649. package/.yarn/cache/http2-wrapper-npm-1.0.3-5b58ade1df-74160b862e.zip +0 -0
  2650. package/.yarn/cache/https-proxy-agent-npm-5.0.1-42d65f358e-571fccdf38.zip +0 -0
  2651. package/.yarn/cache/https-proxy-agent-npm-7.0.4-a51e13f5dc-daaab857a9.zip +0 -0
  2652. package/.yarn/cache/human-signals-npm-1.1.1-616b2586c2-d587647c9e.zip +0 -0
  2653. package/.yarn/cache/human-signals-npm-2.1.0-f75815481d-b87fd89fce.zip +0 -0
  2654. package/.yarn/cache/husky-npm-8.0.2-46c70b41ed-e101656fcb.zip +0 -0
  2655. package/.yarn/cache/iconv-lite-npm-0.4.24-c5c4ac6695-bd9f120f5a.zip +0 -0
  2656. package/.yarn/cache/iconv-lite-npm-0.6.3-24b8aae27e-3f60d47a5c.zip +0 -0
  2657. package/.yarn/cache/idna-uts46-hx-npm-2.3.1-94935d7cfd-d434c3558d.zip +0 -0
  2658. package/.yarn/cache/ieee754-npm-1.2.1-fb63b3caeb-5144c0c981.zip +0 -0
  2659. package/.yarn/cache/ignore-npm-5.2.0-fc4b58a4f3-6b1f926792.zip +0 -0
  2660. package/.yarn/cache/ignore-npm-5.2.4-fbe6e989e5-3d4c309c60.zip +0 -0
  2661. package/.yarn/cache/immutable-npm-4.2.2-613ea9d8d9-4d6437ea93.zip +0 -0
  2662. package/.yarn/cache/import-fresh-npm-3.3.0-3e34265ca9-2cacfad06e.zip +0 -0
  2663. package/.yarn/cache/import-local-npm-3.1.0-8960af5e51-bfcdb63b5e.zip +0 -0
  2664. package/.yarn/cache/imurmurhash-npm-0.1.4-610c5068a0-7cae75c8cd.zip +0 -0
  2665. package/.yarn/cache/indent-string-npm-4.0.0-7b717435b2-824cfb9929.zip +0 -0
  2666. package/.yarn/cache/inflight-npm-1.0.6-ccedb4b908-f4f76aa072.zip +0 -0
  2667. package/.yarn/cache/inherits-npm-2.0.4-c66b3957a0-4a48a73384.zip +0 -0
  2668. package/.yarn/cache/internal-slot-npm-1.0.3-9e05eea002-1944f92e98.zip +0 -0
  2669. package/.yarn/cache/io-ts-npm-1.10.4-3648e14a10-6191340067.zip +0 -0
  2670. package/.yarn/cache/ip-address-npm-9.0.5-9fa024d42a-aa15f12cfd.zip +0 -0
  2671. package/.yarn/cache/ipaddr.js-npm-1.9.1-19ae7878b4-f88d382598.zip +0 -0
  2672. package/.yarn/cache/is-arguments-npm-1.1.1-eff4f6d4d7-7f02700ec2.zip +0 -0
  2673. package/.yarn/cache/is-arrayish-npm-0.2.1-23927dfb15-eef4417e3c.zip +0 -0
  2674. package/.yarn/cache/is-bigint-npm-1.0.4-31c2eecbc9-c56edfe09b.zip +0 -0
  2675. package/.yarn/cache/is-binary-path-npm-2.1.0-e61d46f557-84192eb88c.zip +0 -0
  2676. package/.yarn/cache/is-boolean-object-npm-1.1.2-ecbd575e6a-c03b23dbaa.zip +0 -0
  2677. package/.yarn/cache/is-buffer-npm-2.0.5-17e563f277-764c9ad8b5.zip +0 -0
  2678. package/.yarn/cache/is-callable-npm-1.2.7-808a303e61-61fd57d03b.zip +0 -0
  2679. package/.yarn/cache/is-core-module-npm-2.11.0-70061e141a-f96fd490c6.zip +0 -0
  2680. package/.yarn/cache/is-date-object-npm-1.0.5-88f3d08b5e-baa9077cdf.zip +0 -0
  2681. package/.yarn/cache/is-extglob-npm-2.1.1-0870ea68b5-df033653d0.zip +0 -0
  2682. package/.yarn/cache/is-fullwidth-code-point-npm-3.0.0-1ecf4ebee5-44a30c2945.zip +0 -0
  2683. package/.yarn/cache/is-function-npm-1.0.2-90ac01927b-7d564562e0.zip +0 -0
  2684. package/.yarn/cache/is-generator-fn-npm-2.1.0-37895c2d2b-a6ad5492cf.zip +0 -0
  2685. package/.yarn/cache/is-generator-function-npm-1.0.10-1d0f3809ef-d54644e7db.zip +0 -0
  2686. package/.yarn/cache/is-glob-npm-4.0.3-cb87bf1bdb-d381c1319f.zip +0 -0
  2687. package/.yarn/cache/is-hex-prefixed-npm-1.0.0-676e6251c7-5ac58e6e52.zip +0 -0
  2688. package/.yarn/cache/is-lambda-npm-1.0.1-7ab55bc8a8-93a32f0194.zip +0 -0
  2689. package/.yarn/cache/is-negative-zero-npm-2.0.2-0adac91f15-f3232194c4.zip +0 -0
  2690. package/.yarn/cache/is-number-npm-7.0.0-060086935c-456ac6f8e0.zip +0 -0
  2691. package/.yarn/cache/is-number-object-npm-1.0.7-539d0e274d-d1e8d01bb0.zip +0 -0
  2692. package/.yarn/cache/is-path-inside-npm-3.0.3-2ea0ef44fd-abd50f0618.zip +0 -0
  2693. package/.yarn/cache/is-plain-obj-npm-2.1.0-8dffd7ae9c-cec9100678.zip +0 -0
  2694. package/.yarn/cache/is-regex-npm-1.1.4-cca193ef11-362399b335.zip +0 -0
  2695. package/.yarn/cache/is-shared-array-buffer-npm-1.0.2-32e4181fcd-9508929cf1.zip +0 -0
  2696. package/.yarn/cache/is-stream-npm-1.1.0-818ecbf6bb-063c6bec9d.zip +0 -0
  2697. package/.yarn/cache/is-stream-npm-2.0.1-c802db55e7-b8e05ccdf9.zip +0 -0
  2698. package/.yarn/cache/is-string-npm-1.0.7-9f7066daed-323b3d0462.zip +0 -0
  2699. package/.yarn/cache/is-symbol-npm-1.0.4-eb9baac703-92805812ef.zip +0 -0
  2700. package/.yarn/cache/is-typed-array-npm-1.1.9-c7c4ca7eec-11910f1e58.zip +0 -0
  2701. package/.yarn/cache/is-typedarray-npm-1.0.0-bbd99de5b6-3508c6cd0a.zip +0 -0
  2702. package/.yarn/cache/is-unicode-supported-npm-0.1.0-0833e1bbfb-a2aab86ee7.zip +0 -0
  2703. package/.yarn/cache/is-weakref-npm-1.0.2-ff80e8c314-95bd9a57cd.zip +0 -0
  2704. package/.yarn/cache/isexe-npm-2.0.0-b58870bd2e-26bf6c5480.zip +0 -0
  2705. package/.yarn/cache/isexe-npm-3.1.1-9c0061eead-7fe1931ee4.zip +0 -0
  2706. package/.yarn/cache/isomorphic-fetch-npm-2.2.1-46b4db5d7b-bb5daa7c37.zip +0 -0
  2707. package/.yarn/cache/isstream-npm-0.1.2-8581c75385-1eb2fe63a7.zip +0 -0
  2708. package/.yarn/cache/istanbul-lib-coverage-npm-3.2.0-93f84b2c8c-a2a545033b.zip +0 -0
  2709. package/.yarn/cache/istanbul-lib-instrument-npm-5.2.1-1b3ad719a9-bf16f1803b.zip +0 -0
  2710. package/.yarn/cache/istanbul-lib-report-npm-3.0.0-660f97340a-3f29eb3f53.zip +0 -0
  2711. package/.yarn/cache/istanbul-lib-source-maps-npm-4.0.1-af0f859df7-21ad3df45d.zip +0 -0
  2712. package/.yarn/cache/istanbul-reports-npm-3.1.5-fb11324e3e-7867228f83.zip +0 -0
  2713. package/.yarn/cache/jackspeak-npm-2.3.6-42e1233172-57d43ad11e.zip +0 -0
  2714. package/.yarn/cache/jest-changed-files-npm-29.2.0-e1a1846230-8ad8290324.zip +0 -0
  2715. package/.yarn/cache/jest-circus-npm-29.2.1-bb48de2990-3fe8bf27a4.zip +0 -0
  2716. package/.yarn/cache/jest-cli-npm-29.2.1-e13d8307f2-6f190450a6.zip +0 -0
  2717. package/.yarn/cache/jest-config-npm-29.2.1-af59d671b3-a2052eb47d.zip +0 -0
  2718. package/.yarn/cache/jest-diff-npm-26.6.2-06ca2a96ca-d00d297f31.zip +0 -0
  2719. package/.yarn/cache/jest-diff-npm-29.2.1-3d1e8ba84a-e3553e5bf5.zip +0 -0
  2720. package/.yarn/cache/jest-docblock-npm-29.2.0-61320ddd7c-b3f1227b7d.zip +0 -0
  2721. package/.yarn/cache/jest-each-npm-29.2.1-d12e75766e-877bd64a08.zip +0 -0
  2722. package/.yarn/cache/jest-environment-node-npm-29.2.1-e5f7ad4142-fc001e4292.zip +0 -0
  2723. package/.yarn/cache/jest-get-type-npm-26.3.0-a481f14d96-1cc6465ae4.zip +0 -0
  2724. package/.yarn/cache/jest-get-type-npm-29.2.0-47b45861f7-e396fd880a.zip +0 -0
  2725. package/.yarn/cache/jest-haste-map-npm-29.2.1-ad5b895784-1880e5dd12.zip +0 -0
  2726. package/.yarn/cache/jest-leak-detector-npm-29.2.1-71814af8e4-c30107ae58.zip +0 -0
  2727. package/.yarn/cache/jest-matcher-utils-npm-29.2.1-351cb7e187-d2a2f1ca83.zip +0 -0
  2728. package/.yarn/cache/jest-message-util-npm-29.2.1-611c868be8-1ec1341dea.zip +0 -0
  2729. package/.yarn/cache/jest-mock-npm-29.2.1-6b7fcc7ca7-fb28fc277e.zip +0 -0
  2730. package/.yarn/cache/jest-npm-29.2.1-157610b808-b19bf0b490.zip +0 -0
  2731. package/.yarn/cache/jest-pnp-resolver-npm-1.2.2-da20f8bdfe-bd85dcc0e7.zip +0 -0
  2732. package/.yarn/cache/jest-regex-util-npm-29.2.0-50cc574fb1-7c533e51c5.zip +0 -0
  2733. package/.yarn/cache/jest-resolve-dependencies-npm-29.2.1-b591286a1c-d299081952.zip +0 -0
  2734. package/.yarn/cache/jest-resolve-npm-29.2.1-62e10a2e31-d9ea07ccfa.zip +0 -0
  2735. package/.yarn/cache/jest-runner-npm-29.2.1-bd391c092d-5aaa04b80e.zip +0 -0
  2736. package/.yarn/cache/jest-runtime-npm-29.2.1-35c31724c8-bfd535ece2.zip +0 -0
  2737. package/.yarn/cache/jest-snapshot-npm-29.2.1-78130cb701-bb09952d13.zip +0 -0
  2738. package/.yarn/cache/jest-util-npm-29.2.1-9985a33765-781bd14a65.zip +0 -0
  2739. package/.yarn/cache/jest-validate-npm-29.2.1-870111abdb-33bf2671f9.zip +0 -0
  2740. package/.yarn/cache/jest-watcher-npm-29.2.1-1cdfae29af-c14224af26.zip +0 -0
  2741. package/.yarn/cache/jest-worker-npm-29.2.1-f152a67b79-10365612fa.zip +0 -0
  2742. package/.yarn/cache/joi-npm-17.7.0-24cbaab83c-767a847936.zip +0 -0
  2743. package/.yarn/cache/js-sdsl-npm-4.2.0-f34411d30f-2cd0885f72.zip +0 -0
  2744. package/.yarn/cache/js-sha3-npm-0.5.7-e4e4cb1ee3-973a28ea4b.zip +0 -0
  2745. package/.yarn/cache/js-sha3-npm-0.7.0-2becfae1ba-7a4bdd2ae0.zip +0 -0
  2746. package/.yarn/cache/js-sha3-npm-0.8.0-decf3ddcfa-75df77c1fc.zip +0 -0
  2747. package/.yarn/cache/js-tokens-npm-4.0.0-0ac852e9e2-8a95213a5a.zip +0 -0
  2748. package/.yarn/cache/js-yaml-npm-3.14.1-b968c6095e-bef146085f.zip +0 -0
  2749. package/.yarn/cache/js-yaml-npm-4.1.0-3606f32312-c7830dfd45.zip +0 -0
  2750. package/.yarn/cache/jsbn-npm-0.1.1-0eb7132404-e5ff29c1b8.zip +0 -0
  2751. package/.yarn/cache/jsbn-npm-1.1.0-1da0181838-944f924f2b.zip +0 -0
  2752. package/.yarn/cache/jsesc-npm-2.5.2-c5acb78804-4dc1907711.zip +0 -0
  2753. package/.yarn/cache/json-buffer-npm-3.0.0-21c267a314-0cecacb802.zip +0 -0
  2754. package/.yarn/cache/json-buffer-npm-3.0.1-f8f6d20603-9026b03edc.zip +0 -0
  2755. package/.yarn/cache/json-parse-even-better-errors-npm-2.3.1-144d62256e-798ed4cf33.zip +0 -0
  2756. package/.yarn/cache/json-schema-npm-0.4.0-e776313070-66389434c3.zip +0 -0
  2757. package/.yarn/cache/json-schema-traverse-npm-0.4.1-4759091693-7486074d3b.zip +0 -0
  2758. package/.yarn/cache/json-stable-stringify-without-jsonify-npm-1.0.1-b65772b28b-cff44156dd.zip +0 -0
  2759. package/.yarn/cache/json-stringify-safe-npm-5.0.1-064ddd6ab4-48ec0adad5.zip +0 -0
  2760. package/.yarn/cache/json5-npm-1.0.1-647fc8794b-e76ea23dbb.zip +0 -0
  2761. package/.yarn/cache/json5-npm-2.2.1-44675c859c-74b8a23b10.zip +0 -0
  2762. package/.yarn/cache/jsonfile-npm-2.4.0-5547489d6b-f5064aabbc.zip +0 -0
  2763. package/.yarn/cache/jsonfile-npm-4.0.0-10ce3aea15-6447d6224f.zip +0 -0
  2764. package/.yarn/cache/jsprim-npm-1.4.2-1ae6cade9a-2ad1b9fdcc.zip +0 -0
  2765. package/.yarn/cache/keccak-npm-3.0.2-6e9dec8765-39a7d6128b.zip +0 -0
  2766. package/.yarn/cache/keccak-npm-3.0.3-0a04b1d590-f08f04f5cc.zip +0 -0
  2767. package/.yarn/cache/keyv-npm-3.1.0-81c9ff4454-bb7e8f3acf.zip +0 -0
  2768. package/.yarn/cache/keyv-npm-4.5.0-57560bec53-d294873cf8.zip +0 -0
  2769. package/.yarn/cache/klaw-npm-1.3.1-0adc7be9ec-8f69e4797c.zip +0 -0
  2770. package/.yarn/cache/kleur-npm-3.0.3-f6f53649a4-df82cd1e17.zip +0 -0
  2771. package/.yarn/cache/lens.ts-npm-0.5.1-ac0ea51e8e-03af09e30c.zip +0 -0
  2772. package/.yarn/cache/level-npm-8.0.0-c35f5fe17a-13eb25bd71.zip +0 -0
  2773. package/.yarn/cache/level-supports-npm-4.0.1-78eaf0b919-d4552b42bb.zip +0 -0
  2774. package/.yarn/cache/level-transcoder-npm-1.0.1-8821d7bed1-304f08d802.zip +0 -0
  2775. package/.yarn/cache/leven-npm-3.1.0-b7697736a3-638401d534.zip +0 -0
  2776. package/.yarn/cache/levn-npm-0.4.1-d183b2d7bb-12c5021c85.zip +0 -0
  2777. package/.yarn/cache/lines-and-columns-npm-1.2.4-d6c7cc5799-0c37f9f7fa.zip +0 -0
  2778. package/.yarn/cache/locate-path-npm-2.0.0-673d28b0ea-02d581edbb.zip +0 -0
  2779. package/.yarn/cache/locate-path-npm-5.0.0-46580c43e4-83e51725e6.zip +0 -0
  2780. package/.yarn/cache/locate-path-npm-6.0.0-06a1e4c528-72eb661788.zip +0 -0
  2781. package/.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip +0 -0
  2782. package/.yarn/cache/lodash.memoize-npm-4.1.2-0e6250041f-9ff3942fee.zip +0 -0
  2783. package/.yarn/cache/lodash.merge-npm-4.6.2-77cb4416bf-ad580b4bdb.zip +0 -0
  2784. package/.yarn/cache/log-symbols-npm-4.1.0-0a13492d8b-fce1497b31.zip +0 -0
  2785. package/.yarn/cache/log4js-npm-6.6.1-00e7698906-68f29e7b8b.zip +0 -0
  2786. package/.yarn/cache/loupe-npm-2.3.6-b8b37d55e7-cc83f1b124.zip +0 -0
  2787. package/.yarn/cache/lower-case-npm-2.0.2-151055f1c2-83a0a5f159.zip +0 -0
  2788. package/.yarn/cache/lowercase-keys-npm-1.0.1-0979e653b8-4d04502659.zip +0 -0
  2789. package/.yarn/cache/lowercase-keys-npm-2.0.0-1876065a32-24d7ebd56c.zip +0 -0
  2790. package/.yarn/cache/lru-cache-npm-10.2.2-c54b721fc3-98e8fc9369.zip +0 -0
  2791. package/.yarn/cache/lru-cache-npm-5.1.1-f475882a51-c154ae1cbb.zip +0 -0
  2792. package/.yarn/cache/lru-cache-npm-6.0.0-b4c8668fe1-f97f499f89.zip +0 -0
  2793. package/.yarn/cache/lru_map-npm-0.3.3-a038bb3418-ca9dd43c65.zip +0 -0
  2794. package/.yarn/cache/make-dir-npm-3.1.0-d1d7505142-484200020a.zip +0 -0
  2795. package/.yarn/cache/make-error-npm-1.3.6-ccb85d9458-b86e5e0e25.zip +0 -0
  2796. package/.yarn/cache/make-fetch-happen-npm-13.0.1-4180f2aaa8-5c9fad6955.zip +0 -0
  2797. package/.yarn/cache/makeerror-npm-1.0.12-69abf085d7-b38a025a12.zip +0 -0
  2798. package/.yarn/cache/mcl-wasm-npm-0.7.9-adad1d76aa-6b6ed50841.zip +0 -0
  2799. package/.yarn/cache/md5.js-npm-1.3.5-130901125a-098494d885.zip +0 -0
  2800. package/.yarn/cache/media-typer-npm-0.3.0-8674f8f0f5-af1b38516c.zip +0 -0
  2801. package/.yarn/cache/memory-level-npm-1.0.0-7700adb8c7-80b1b7aeda.zip +0 -0
  2802. package/.yarn/cache/memorystream-npm-0.3.1-ae973f1d16-f18b42440d.zip +0 -0
  2803. package/.yarn/cache/merge-descriptors-npm-1.0.1-615287aaa8-5abc259d2a.zip +0 -0
  2804. package/.yarn/cache/merge-stream-npm-2.0.0-2ac83efea5-6fa4dcc8d8.zip +0 -0
  2805. package/.yarn/cache/merge2-npm-1.4.1-a2507bd06c-7268db63ed.zip +0 -0
  2806. package/.yarn/cache/merkletreejs-npm-0.2.32-79a2b236fc-041b235add.zip +0 -0
  2807. package/.yarn/cache/methods-npm-1.1.2-92f6fdb39b-0917ff4041.zip +0 -0
  2808. package/.yarn/cache/micromatch-npm-4.0.5-cfab5d7669-02a17b671c.zip +0 -0
  2809. package/.yarn/cache/miller-rabin-npm-4.0.1-3426ac0bf7-00cd1ab838.zip +0 -0
  2810. package/.yarn/cache/mime-db-npm-1.52.0-b5371d6fd2-0d99a03585.zip +0 -0
  2811. package/.yarn/cache/mime-npm-1.6.0-60ae95038a-fef25e3926.zip +0 -0
  2812. package/.yarn/cache/mime-types-npm-2.1.35-dd9ea9f3e2-89a5b7f1de.zip +0 -0
  2813. package/.yarn/cache/mimic-fn-npm-2.1.0-4fbeb3abb4-d2421a3444.zip +0 -0
  2814. package/.yarn/cache/mimic-response-npm-1.0.1-f6f85dde84-034c78753b.zip +0 -0
  2815. package/.yarn/cache/mimic-response-npm-3.1.0-a4a24b4e96-25739fee32.zip +0 -0
  2816. package/.yarn/cache/min-document-npm-2.19.0-458cdb3d84-da6437562e.zip +0 -0
  2817. package/.yarn/cache/minimalistic-assert-npm-1.0.1-dc8bb23d29-cc7974a926.zip +0 -0
  2818. package/.yarn/cache/minimalistic-crypto-utils-npm-1.0.1-e66b10822e-6e8a0422b3.zip +0 -0
  2819. package/.yarn/cache/minimatch-npm-3.1.2-9405269906-c154e56640.zip +0 -0
  2820. package/.yarn/cache/minimatch-npm-5.0.1-612724f6f0-b34b98463d.zip +0 -0
  2821. package/.yarn/cache/minimatch-npm-9.0.4-7be5a33efc-cf717f597e.zip +0 -0
  2822. package/.yarn/cache/minimist-npm-1.2.7-51d33b1371-7346574a10.zip +0 -0
  2823. package/.yarn/cache/minipass-collect-npm-2.0.1-73d3907e40-b251bceea6.zip +0 -0
  2824. package/.yarn/cache/minipass-fetch-npm-3.0.5-ed78529694-8047d27323.zip +0 -0
  2825. package/.yarn/cache/minipass-flush-npm-1.0.5-efe79d9826-56269a0b22.zip +0 -0
  2826. package/.yarn/cache/minipass-npm-2.9.0-6335fbe4af-077b66f31b.zip +0 -0
  2827. package/.yarn/cache/minipass-npm-3.3.6-b8d93a945b-a30d083c80.zip +0 -0
  2828. package/.yarn/cache/minipass-npm-5.0.0-c64fb63c92-425dab2887.zip +0 -0
  2829. package/.yarn/cache/minipass-npm-7.1.0-e8c0e30e88-c057d4b1d7.zip +0 -0
  2830. package/.yarn/cache/minipass-pipeline-npm-1.2.4-5924cb077f-b14240dac0.zip +0 -0
  2831. package/.yarn/cache/minipass-sized-npm-1.0.3-306d86f432-79076749fc.zip +0 -0
  2832. package/.yarn/cache/minizlib-npm-1.3.3-b590e5bfb8-b0425c04d2.zip +0 -0
  2833. package/.yarn/cache/minizlib-npm-2.1.2-ea89cd0cfb-f1fdeac0b0.zip +0 -0
  2834. package/.yarn/cache/mkdirp-npm-0.5.6-dcd5a6b97b-0c91b721bb.zip +0 -0
  2835. package/.yarn/cache/mkdirp-npm-1.0.4-37f6ef56b9-a96865108c.zip +0 -0
  2836. package/.yarn/cache/mkdirp-promise-npm-5.0.1-b9705bf08a-31ddc94782.zip +0 -0
  2837. package/.yarn/cache/mnemonist-npm-0.38.5-3014297e32-66080afc16.zip +0 -0
  2838. package/.yarn/cache/mocha-npm-10.2.0-87db25c7c5-406c45eab1.zip +0 -0
  2839. package/.yarn/cache/mock-fs-npm-4.14.0-c51913d559-dccd976a8d.zip +0 -0
  2840. package/.yarn/cache/module-error-npm-1.0.2-4f8221ee3c-5d653e35bd.zip +0 -0
  2841. package/.yarn/cache/mri-npm-1.2.0-8ecee0357d-83f515abbc.zip +0 -0
  2842. package/.yarn/cache/ms-npm-2.0.0-9e1101a471-0e6a22b8b7.zip +0 -0
  2843. package/.yarn/cache/ms-npm-2.1.2-ec0c1512ff-673cdb2c31.zip +0 -0
  2844. package/.yarn/cache/ms-npm-2.1.3-81ff3cfac1-aa92de6080.zip +0 -0
  2845. package/.yarn/cache/multibase-npm-0.6.1-61881fbece-0e25a978d2.zip +0 -0
  2846. package/.yarn/cache/multibase-npm-0.7.0-9e9562f6bb-3a520897d7.zip +0 -0
  2847. package/.yarn/cache/multicodec-npm-0.5.7-debf8ece85-5af1febc3b.zip +0 -0
  2848. package/.yarn/cache/multicodec-npm-1.0.4-fd6c9aa611-e6a2916fa7.zip +0 -0
  2849. package/.yarn/cache/multihashes-npm-0.4.21-073bb269b7-688731560c.zip +0 -0
  2850. package/.yarn/cache/multimatch-npm-4.0.0-8c467f035e-bdb6a98dad.zip +0 -0
  2851. package/.yarn/cache/nano-json-stream-parser-npm-0.1.2-1b11c4e9ae-5bfe146358.zip +0 -0
  2852. package/.yarn/cache/nanoid-npm-3.3.3-25d865be84-ada019402a.zip +0 -0
  2853. package/.yarn/cache/napi-macros-npm-2.0.0-f996ef3cad-3038481938.zip +0 -0
  2854. package/.yarn/cache/natural-compare-lite-npm-1.4.0-12b6b308ed-5222ac3986.zip +0 -0
  2855. package/.yarn/cache/natural-compare-npm-1.4.0-97b75b362d-23ad088b08.zip +0 -0
  2856. package/.yarn/cache/negotiator-npm-0.6.3-9d50e36171-b8ffeb1e26.zip +0 -0
  2857. package/.yarn/cache/next-tick-npm-1.1.0-e0eb60d6a4-83b5cf3602.zip +0 -0
  2858. package/.yarn/cache/no-case-npm-3.0.4-12884c3d98-0b2ebc113d.zip +0 -0
  2859. package/.yarn/cache/node-addon-api-npm-2.0.2-8c2c1e9782-31fb22d674.zip +0 -0
  2860. package/.yarn/cache/node-cache-npm-5.1.2-f65482660d-b0bdd81a6f.zip +0 -0
  2861. package/.yarn/cache/node-fetch-npm-1.7.3-eb8372f991-3bb0528c05.zip +0 -0
  2862. package/.yarn/cache/node-fetch-npm-2.6.7-777aa2a6df-8d816ffd1e.zip +0 -0
  2863. package/.yarn/cache/node-gyp-build-npm-4.5.0-2538da6152-d888bae0fb.zip +0 -0
  2864. package/.yarn/cache/node-gyp-npm-10.1.0-bdea7d2ece-72e2ab4b23.zip +0 -0
  2865. package/.yarn/cache/node-int64-npm-0.4.0-0dc04ec3b2-d0b30b1ee6.zip +0 -0
  2866. package/.yarn/cache/node-releases-npm-2.0.6-8accb3fefb-e86a926dc9.zip +0 -0
  2867. package/.yarn/cache/nopt-npm-7.2.1-635b7da949-6fa729cc77.zip +0 -0
  2868. package/.yarn/cache/normalize-path-npm-3.0.0-658ba7d77f-88eeb4da89.zip +0 -0
  2869. package/.yarn/cache/normalize-url-npm-4.5.1-603d40bc18-9a9dee01df.zip +0 -0
  2870. package/.yarn/cache/normalize-url-npm-6.1.0-b95bc12ece-4a49446311.zip +0 -0
  2871. package/.yarn/cache/npm-run-path-npm-4.0.1-7aebd8bab3-5374c0cea4.zip +0 -0
  2872. package/.yarn/cache/number-to-bn-npm-1.7.0-dce8575cfb-5b8c9dbe7b.zip +0 -0
  2873. package/.yarn/cache/oauth-sign-npm-0.9.0-7aa9422221-8f5497a127.zip +0 -0
  2874. package/.yarn/cache/object-assign-npm-4.1.1-1004ad6dec-fcc6e4ea8c.zip +0 -0
  2875. package/.yarn/cache/object-inspect-npm-1.12.2-f125a822c0-a534fc1b85.zip +0 -0
  2876. package/.yarn/cache/object-keys-npm-1.1.1-1bf2f1be93-b363c5e764.zip +0 -0
  2877. package/.yarn/cache/object.assign-npm-4.1.4-fb3deb1c3a-76cab513a5.zip +0 -0
  2878. package/.yarn/cache/object.entries-npm-1.1.6-5f9ba14b46-0f8c47517e.zip +0 -0
  2879. package/.yarn/cache/object.values-npm-1.1.6-ab9b67ccd3-f6fff9fd81.zip +0 -0
  2880. package/.yarn/cache/obliterator-npm-2.0.4-b21b355294-f28ad35b6d.zip +0 -0
  2881. package/.yarn/cache/oboe-npm-2.1.5-b50d4a548b-e6171b3364.zip +0 -0
  2882. package/.yarn/cache/on-finished-npm-2.4.1-907af70f88-d20929a25e.zip +0 -0
  2883. package/.yarn/cache/once-npm-1.4.0-ccf03ef07a-cd0a885013.zip +0 -0
  2884. package/.yarn/cache/onetime-npm-5.1.2-3ed148fa42-2478859ef8.zip +0 -0
  2885. package/.yarn/cache/optionator-npm-0.9.1-577e397aae-dbc6fa0656.zip +0 -0
  2886. package/.yarn/cache/os-tmpdir-npm-1.0.2-e305b0689b-5666560f7b.zip +0 -0
  2887. package/.yarn/cache/p-cancelable-npm-1.1.0-d147d5996f-2db3814fef.zip +0 -0
  2888. package/.yarn/cache/p-cancelable-npm-2.1.1-9388305f02-3dba12b4fb.zip +0 -0
  2889. package/.yarn/cache/p-limit-npm-1.3.0-fdb471d864-281c1c0b8c.zip +0 -0
  2890. package/.yarn/cache/p-limit-npm-2.3.0-94a0310039-84ff17f1a3.zip +0 -0
  2891. package/.yarn/cache/p-limit-npm-3.1.0-05d2ede37f-7c3690c4db.zip +0 -0
  2892. package/.yarn/cache/p-locate-npm-2.0.0-3a2ee263dd-e2dceb9b49.zip +0 -0
  2893. package/.yarn/cache/p-locate-npm-4.1.0-eec6872537-513bd14a45.zip +0 -0
  2894. package/.yarn/cache/p-locate-npm-5.0.0-92cc7c7a3e-1623088f36.zip +0 -0
  2895. package/.yarn/cache/p-map-npm-4.0.0-4677ae07c7-cb0ab21ec0.zip +0 -0
  2896. package/.yarn/cache/p-try-npm-1.0.0-7373139e40-3b5303f77e.zip +0 -0
  2897. package/.yarn/cache/p-try-npm-2.2.0-e0390dbaf8-f8a8e9a769.zip +0 -0
  2898. package/.yarn/cache/param-case-npm-3.0.4-cfb242ad97-b34227fd0f.zip +0 -0
  2899. package/.yarn/cache/parent-module-npm-1.0.1-1fae11b095-6ba8b25514.zip +0 -0
  2900. package/.yarn/cache/parse-asn1-npm-5.1.6-6cc3a6eeae-9243311d1f.zip +0 -0
  2901. package/.yarn/cache/parse-headers-npm-2.0.5-c1f2d79179-3e97f01e4c.zip +0 -0
  2902. package/.yarn/cache/parse-json-npm-5.2.0-00a63b1199-62085b17d6.zip +0 -0
  2903. package/.yarn/cache/parseurl-npm-1.3.3-1542397e00-407cee8e0a.zip +0 -0
  2904. package/.yarn/cache/pascal-case-npm-3.1.2-35f5b9bff6-ba98bfd595.zip +0 -0
  2905. package/.yarn/cache/path-case-npm-3.0.4-5a1981bc0c-61de052622.zip +0 -0
  2906. package/.yarn/cache/path-exists-npm-3.0.0-e80371aa68-96e92643aa.zip +0 -0
  2907. package/.yarn/cache/path-exists-npm-4.0.0-e9e4f63eb0-505807199d.zip +0 -0
  2908. package/.yarn/cache/path-is-absolute-npm-1.0.1-31bc695ffd-060840f92c.zip +0 -0
  2909. package/.yarn/cache/path-key-npm-3.1.1-0e66ea8321-55cd7a9dd4.zip +0 -0
  2910. package/.yarn/cache/path-parse-npm-1.0.7-09564527b7-49abf3d811.zip +0 -0
  2911. package/.yarn/cache/path-scurry-npm-1.10.2-676482c764-6739b4290f.zip +0 -0
  2912. package/.yarn/cache/path-to-regexp-npm-0.1.7-2605347373-69a14ea24d.zip +0 -0
  2913. package/.yarn/cache/path-type-npm-4.0.0-10d47fc86a-5b1e2daa24.zip +0 -0
  2914. package/.yarn/cache/pathval-npm-1.1.1-ce0311d7e0-090e314771.zip +0 -0
  2915. package/.yarn/cache/pbkdf2-npm-3.1.2-d67bbb584f-2c950a100b.zip +0 -0
  2916. package/.yarn/cache/performance-now-npm-2.1.0-45e3ce7e49-534e641aa8.zip +0 -0
  2917. package/.yarn/cache/picocolors-npm-1.0.0-d81e0b1927-a2e8092dd8.zip +0 -0
  2918. package/.yarn/cache/picomatch-npm-2.3.1-c782cfd986-050c865ce8.zip +0 -0
  2919. package/.yarn/cache/pirates-npm-4.0.5-22f8e827ce-c9994e61b8.zip +0 -0
  2920. package/.yarn/cache/pkg-dir-npm-4.2.0-2b5d0a8d32-9863e3f351.zip +0 -0
  2921. package/.yarn/cache/popper.js-npm-1.14.3-e1a7afb8fb-c645f00299.zip +0 -0
  2922. package/.yarn/cache/prelude-ls-npm-1.2.1-3e4d272a55-cd192ec0d0.zip +0 -0
  2923. package/.yarn/cache/prepend-http-npm-2.0.0-e1fc4332f2-7694a95254.zip +0 -0
  2924. package/.yarn/cache/prettier-npm-2.8.1-be60b51821-4f21a0f126.zip +0 -0
  2925. package/.yarn/cache/pretty-format-npm-26.6.2-6edfcf7149-e3b808404d.zip +0 -0
  2926. package/.yarn/cache/pretty-format-npm-29.2.1-b89d018340-d192cbd3de.zip +0 -0
  2927. package/.yarn/cache/pretty-quick-npm-3.1.3-b3fdb9cf9e-28bdc32571.zip +0 -0
  2928. package/.yarn/cache/proc-log-npm-3.0.0-a8c21c2f0f-02b64e1b39.zip +0 -0
  2929. package/.yarn/cache/proc-log-npm-4.2.0-4d65296a9d-98f6cd012d.zip +0 -0
  2930. package/.yarn/cache/process-npm-0.11.10-aeb3b641ae-bfcce49814.zip +0 -0
  2931. package/.yarn/cache/promise-retry-npm-2.0.1-871f0b01b7-f96a3f6d90.zip +0 -0
  2932. package/.yarn/cache/prompts-npm-2.4.2-f5d25d5eea-d8fd1fe638.zip +0 -0
  2933. package/.yarn/cache/proxy-addr-npm-2.0.7-dae6552872-29c6990ce9.zip +0 -0
  2934. package/.yarn/cache/proxy-from-env-npm-1.1.0-c13d07f26b-ed7fcc2ba0.zip +0 -0
  2935. package/.yarn/cache/psl-npm-1.9.0-a546edad1a-20c4277f64.zip +0 -0
  2936. package/.yarn/cache/public-encrypt-npm-4.0.3-b25e19fada-215d446e43.zip +0 -0
  2937. package/.yarn/cache/pump-npm-3.0.0-0080bf6a7a-e42e9229fb.zip +0 -0
  2938. package/.yarn/cache/punycode-npm-2.1.0-57d3205f3e-d125d8f86c.zip +0 -0
  2939. package/.yarn/cache/punycode-npm-2.1.1-26eb3e15cf-823bf443c6.zip +0 -0
  2940. package/.yarn/cache/qs-npm-6.11.0-caf1bc9dea-6e1f29dd53.zip +0 -0
  2941. package/.yarn/cache/qs-npm-6.5.3-90b2635484-6f20bf08ca.zip +0 -0
  2942. package/.yarn/cache/query-string-npm-5.1.1-86edac70d6-4ac760d977.zip +0 -0
  2943. package/.yarn/cache/queue-microtask-npm-1.2.3-fcc98e4e2d-b676f8c040.zip +0 -0
  2944. package/.yarn/cache/quick-lru-npm-5.1.1-e38e0edce3-a516faa255.zip +0 -0
  2945. package/.yarn/cache/randombytes-npm-2.1.0-e3da76bccf-d779499376.zip +0 -0
  2946. package/.yarn/cache/randomfill-npm-1.0.4-a08651a679-33734bb578.zip +0 -0
  2947. package/.yarn/cache/range-parser-npm-1.2.1-1a470fa390-0a268d4fea.zip +0 -0
  2948. package/.yarn/cache/raw-body-npm-2.5.1-9dd1d9fff9-5362adff15.zip +0 -0
  2949. package/.yarn/cache/react-is-npm-17.0.2-091bbb8db6-9d6d111d89.zip +0 -0
  2950. package/.yarn/cache/react-is-npm-18.2.0-0cc5edb910-e72d0ba81b.zip +0 -0
  2951. package/.yarn/cache/readable-stream-npm-3.6.0-23a4a5eb56-d4ea81502d.zip +0 -0
  2952. package/.yarn/cache/readdirp-npm-3.6.0-f950cc74ab-1ced032e6e.zip +0 -0
  2953. package/.yarn/cache/regexp.prototype.flags-npm-1.4.3-df1c08b65d-51228bae73.zip +0 -0
  2954. package/.yarn/cache/regexpp-npm-3.2.0-2513f32cfc-a78dc5c715.zip +0 -0
  2955. package/.yarn/cache/request-npm-2.88.2-f4a57c72c4-4e112c087f.zip +0 -0
  2956. package/.yarn/cache/require-directory-npm-2.1.1-8608aee50b-fb47e70bf0.zip +0 -0
  2957. package/.yarn/cache/require-from-string-npm-2.0.2-8557e0db12-a03ef68954.zip +0 -0
  2958. package/.yarn/cache/resolve-alpn-npm-1.2.1-af77edd28b-f558071fcb.zip +0 -0
  2959. package/.yarn/cache/resolve-cwd-npm-3.0.0-e6f4e296bf-546e081601.zip +0 -0
  2960. package/.yarn/cache/resolve-from-npm-4.0.0-f758ec21bf-f4ba0b8494.zip +0 -0
  2961. package/.yarn/cache/resolve-from-npm-5.0.0-15c9db4d33-4ceeb9113e.zip +0 -0
  2962. package/.yarn/cache/resolve-npm-1.17.0-1c4c298f09-9ceaf83b34.zip +0 -0
  2963. package/.yarn/cache/resolve-npm-1.22.1-3980488690-07af5fc1e8.zip +0 -0
  2964. package/.yarn/cache/resolve-patch-0c52e0e4f7-5656f4d0be.zip +0 -0
  2965. package/.yarn/cache/resolve-patch-2a6955419f-6fd799f282.zip +0 -0
  2966. package/.yarn/cache/resolve.exports-npm-1.1.0-81756e03ba-52865af8ed.zip +0 -0
  2967. package/.yarn/cache/responselike-npm-1.0.2-d0bf50cde4-2e9e70f1dc.zip +0 -0
  2968. package/.yarn/cache/responselike-npm-2.0.1-7f64b6e122-b122535466.zip +0 -0
  2969. package/.yarn/cache/retry-npm-0.12.0-72ac7fb4cc-623bd7d2e5.zip +0 -0
  2970. package/.yarn/cache/reusify-npm-1.0.4-95ac4aec11-c3076ebcc2.zip +0 -0
  2971. package/.yarn/cache/rfdc-npm-1.3.0-272f288ad8-fb2ba8512e.zip +0 -0
  2972. package/.yarn/cache/rimraf-npm-2.7.1-9a71f3cc37-cdc7f6eacb.zip +0 -0
  2973. package/.yarn/cache/rimraf-npm-3.0.2-2cb7dac69a-87f4164e39.zip +0 -0
  2974. package/.yarn/cache/ripemd160-npm-2.0.2-7b1fb8dc76-006accc405.zip +0 -0
  2975. package/.yarn/cache/rlp-npm-2.2.7-4cb283b8fe-3db4dfe5c7.zip +0 -0
  2976. package/.yarn/cache/run-parallel-limit-npm-1.1.0-ac1dfd4d1f-672c3b87e7.zip +0 -0
  2977. package/.yarn/cache/run-parallel-npm-1.2.0-3f47ff2034-cb4f97ad25.zip +0 -0
  2978. package/.yarn/cache/rustbn.js-npm-0.2.0-ed57934f98-2148e7ba34.zip +0 -0
  2979. package/.yarn/cache/safe-buffer-npm-5.1.2-c27fedf6c4-f2f1f7943c.zip +0 -0
  2980. package/.yarn/cache/safe-buffer-npm-5.2.1-3481c8aa9b-b99c4b41fd.zip +0 -0
  2981. package/.yarn/cache/safe-regex-test-npm-1.0.0-e94a09b84e-bc566d8beb.zip +0 -0
  2982. package/.yarn/cache/safer-buffer-npm-2.1.2-8d5c0b705e-cab8f25ae6.zip +0 -0
  2983. package/.yarn/cache/scrypt-js-npm-2.0.4-d3712b5675-679e894095.zip +0 -0
  2984. package/.yarn/cache/scrypt-js-npm-3.0.1-fd2d3fa606-b7c7d1a68d.zip +0 -0
  2985. package/.yarn/cache/secp256k1-npm-4.0.3-b4e9ce065b-21e219adc0.zip +0 -0
  2986. package/.yarn/cache/semver-npm-5.7.1-40bcea106b-57fd0acfd0.zip +0 -0
  2987. package/.yarn/cache/semver-npm-6.3.0-b3eace8bfd-1b26ecf6db.zip +0 -0
  2988. package/.yarn/cache/semver-npm-7.3.8-25a996cb4f-ba9c7cbbf2.zip +0 -0
  2989. package/.yarn/cache/send-npm-0.18.0-faadf6353f-74fc07ebb5.zip +0 -0
  2990. package/.yarn/cache/sentence-case-npm-3.0.4-ed6888d0bc-3cfe6c0143.zip +0 -0
  2991. package/.yarn/cache/serialize-javascript-npm-6.0.0-0bb8a3c88d-56f90b562a.zip +0 -0
  2992. package/.yarn/cache/serve-static-npm-1.15.0-86c81879f5-af57fc13be.zip +0 -0
  2993. package/.yarn/cache/servify-npm-0.1.12-c952112302-f90e8f4e31.zip +0 -0
  2994. package/.yarn/cache/setimmediate-npm-1.0.4-48edecde5a-1d3726183a.zip +0 -0
  2995. package/.yarn/cache/setimmediate-npm-1.0.5-54587459b6-c9a6f2c5b5.zip +0 -0
  2996. package/.yarn/cache/setprototypeof-npm-1.2.0-0fedbdcd3a-be18cbbf70.zip +0 -0
  2997. package/.yarn/cache/sha.js-npm-2.4.11-14868df4ca-ebd3f59d4b.zip +0 -0
  2998. package/.yarn/cache/shebang-command-npm-2.0.0-eb2b01921d-6b52fe8727.zip +0 -0
  2999. package/.yarn/cache/shebang-regex-npm-3.0.0-899a0cd65e-1a2bcae50d.zip +0 -0
  3000. package/.yarn/cache/side-channel-npm-1.0.4-e1f38b9e06-351e41b947.zip +0 -0
  3001. package/.yarn/cache/signal-exit-npm-3.0.7-bd270458a3-a2f098f247.zip +0 -0
  3002. package/.yarn/cache/signal-exit-npm-4.1.0-61fb957687-64c757b498.zip +0 -0
  3003. package/.yarn/cache/simple-concat-npm-1.0.1-48df70de29-4d211042cc.zip +0 -0
  3004. package/.yarn/cache/simple-get-npm-2.8.2-1def2283e8-230bd931d3.zip +0 -0
  3005. package/.yarn/cache/sisteransi-npm-1.0.5-af60cc0cfa-aba6438f46.zip +0 -0
  3006. package/.yarn/cache/slash-npm-3.0.0-b87de2279a-94a93fff61.zip +0 -0
  3007. package/.yarn/cache/smart-buffer-npm-4.2.0-5ac3f668bb-b5167a7142.zip +0 -0
  3008. package/.yarn/cache/snake-case-npm-3.0.4-67f447c30d-0a7a79900b.zip +0 -0
  3009. package/.yarn/cache/socks-npm-2.8.3-3532b59899-7a6b7f6eed.zip +0 -0
  3010. package/.yarn/cache/socks-proxy-agent-npm-8.0.3-30471cff1b-8fab38821c.zip +0 -0
  3011. package/.yarn/cache/solc-npm-0.7.3-f57bb93e36-2d8eb16c6d.zip +0 -0
  3012. package/.yarn/cache/source-map-npm-0.6.1-1a3621db16-59ce8640cf.zip +0 -0
  3013. package/.yarn/cache/source-map-support-npm-0.5.13-377dfd7321-933550047b.zip +0 -0
  3014. package/.yarn/cache/source-map-support-npm-0.5.21-09ca99e250-43e98d700d.zip +0 -0
  3015. package/.yarn/cache/sprintf-js-npm-1.0.3-73f0a322fa-19d79aec21.zip +0 -0
  3016. package/.yarn/cache/sprintf-js-npm-1.1.3-b99efd75b2-a3fdac7b49.zip +0 -0
  3017. package/.yarn/cache/sshpk-npm-1.17.0-95f17f597f-ba109f65c8.zip +0 -0
  3018. package/.yarn/cache/ssri-npm-10.0.6-6b8eaec5ce-4603d53a05.zip +0 -0
  3019. package/.yarn/cache/stack-utils-npm-2.0.5-e0438f409a-76b69da0f5.zip +0 -0
  3020. package/.yarn/cache/stacktrace-parser-npm-0.1.10-36f3e571bd-f4fbddfc09.zip +0 -0
  3021. package/.yarn/cache/statuses-npm-2.0.1-81d2b97fee-18c7623fdb.zip +0 -0
  3022. package/.yarn/cache/streamroller-npm-3.1.3-ba7123ae0e-47a6699740.zip +0 -0
  3023. package/.yarn/cache/streamsearch-npm-1.1.0-fc3ad6536d-1cce16cea8.zip +0 -0
  3024. package/.yarn/cache/strict-uri-encode-npm-1.1.0-a79c6f7f24-9466d371f7.zip +0 -0
  3025. package/.yarn/cache/string-length-npm-4.0.2-675173c7a2-ce85533ef5.zip +0 -0
  3026. package/.yarn/cache/string-width-npm-4.2.3-2c27177bae-e52c10dc3f.zip +0 -0
  3027. package/.yarn/cache/string-width-npm-5.1.2-bf60531341-7369deaa29.zip +0 -0
  3028. package/.yarn/cache/string.prototype.trimend-npm-1.0.5-2b980efa37-d44f543833.zip +0 -0
  3029. package/.yarn/cache/string.prototype.trimend-npm-1.0.6-304246ecc1-0fdc34645a.zip +0 -0
  3030. package/.yarn/cache/string.prototype.trimstart-npm-1.0.5-9e62187810-a4857c5399.zip +0 -0
  3031. package/.yarn/cache/string.prototype.trimstart-npm-1.0.6-0926caea6c-89080feef4.zip +0 -0
  3032. package/.yarn/cache/string_decoder-npm-1.3.0-2422117fd0-8417646695.zip +0 -0
  3033. package/.yarn/cache/strip-ansi-npm-6.0.1-caddc7cb40-f3cd25890a.zip +0 -0
  3034. package/.yarn/cache/strip-ansi-npm-7.1.0-7453b80b79-859c73fcf2.zip +0 -0
  3035. package/.yarn/cache/strip-bom-npm-3.0.0-71e8f81ff9-8d50ff27b7.zip +0 -0
  3036. package/.yarn/cache/strip-bom-npm-4.0.0-97d367a64d-9dbcfbaf50.zip +0 -0
  3037. package/.yarn/cache/strip-final-newline-npm-2.0.0-340c4f7c66-69412b5e25.zip +0 -0
  3038. package/.yarn/cache/strip-hex-prefix-npm-1.0.0-bf941e622d-4cafe7caee.zip +0 -0
  3039. package/.yarn/cache/strip-json-comments-npm-3.1.1-dcb2324823-492f73e272.zip +0 -0
  3040. package/.yarn/cache/supports-color-npm-5.5.0-183ac537bc-95f6f4ba5a.zip +0 -0
  3041. package/.yarn/cache/supports-color-npm-7.2.0-606bfcf7da-3dda818de0.zip +0 -0
  3042. package/.yarn/cache/supports-color-npm-8.1.1-289e937149-c052193a7e.zip +0 -0
  3043. package/.yarn/cache/supports-preserve-symlinks-flag-npm-1.0.0-f17c4d0028-53b1e247e6.zip +0 -0
  3044. package/.yarn/cache/swarm-js-npm-0.1.42-6d7bd0ca6f-bbb54b8423.zip +0 -0
  3045. package/.yarn/cache/tar-npm-4.4.19-5f8e81b87e-423c8259b1.zip +0 -0
  3046. package/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip +0 -0
  3047. package/.yarn/cache/test-exclude-npm-6.0.0-3fb03d69df-3b34a3d771.zip +0 -0
  3048. package/.yarn/cache/text-table-npm-0.2.0-d92a778b59-b6937a38c8.zip +0 -0
  3049. package/.yarn/cache/timed-out-npm-4.0.1-1fe3eee142-98efc5d6fc.zip +0 -0
  3050. package/.yarn/cache/tmp-npm-0.0.33-bcbf65df2a-902d7aceb7.zip +0 -0
  3051. package/.yarn/cache/tmpl-npm-1.0.5-d399ba37e2-cd922d9b85.zip +0 -0
  3052. package/.yarn/cache/to-fast-properties-npm-2.0.0-0dc60cc481-be2de62fe5.zip +0 -0
  3053. package/.yarn/cache/to-readable-stream-npm-1.0.0-4fa4da8130-2bd7778490.zip +0 -0
  3054. package/.yarn/cache/to-regex-range-npm-5.0.1-f1e8263b00-f76fa01b3d.zip +0 -0
  3055. package/.yarn/cache/toidentifier-npm-1.0.1-f759712599-952c29e2a8.zip +0 -0
  3056. package/.yarn/cache/tough-cookie-npm-2.5.0-79a2fe43fe-16a8cd0902.zip +0 -0
  3057. package/.yarn/cache/tr46-npm-0.0.3-de53018915-726321c5ea.zip +0 -0
  3058. package/.yarn/cache/treeify-npm-1.1.0-abf9292333-aa00dded22.zip +0 -0
  3059. package/.yarn/cache/ts-essentials-npm-9.1.2-4b4f928639-3b14d85115.zip +0 -0
  3060. package/.yarn/cache/ts-essentials-npm-9.3.0-e70047bed2-fd001aff21.zip +0 -0
  3061. package/.yarn/cache/ts-jest-npm-29.0.3-c1e6bc8a8a-541e51776d.zip +0 -0
  3062. package/.yarn/cache/ts-node-npm-10.9.1-6c268be7f4-090adff130.zip +0 -0
  3063. package/.yarn/cache/tsconfig-paths-npm-3.14.1-17a815b5c5-8afa01c673.zip +0 -0
  3064. package/.yarn/cache/tslib-npm-1.14.1-102499115e-dbe628ef87.zip +0 -0
  3065. package/.yarn/cache/tslib-npm-2.4.0-9cb6dc5030-8c4aa6a3c5.zip +0 -0
  3066. package/.yarn/cache/tsort-npm-0.0.1-940cbebb9c-581566c248.zip +0 -0
  3067. package/.yarn/cache/tsutils-npm-3.21.0-347e6636c5-1843f4c1b2.zip +0 -0
  3068. package/.yarn/cache/tunnel-agent-npm-0.6.0-64345ab7eb-05f6510358.zip +0 -0
  3069. package/.yarn/cache/tweetnacl-npm-0.14.5-a3f766c0d1-6061daba17.zip +0 -0
  3070. package/.yarn/cache/tweetnacl-npm-1.0.3-b7eef04660-e4a57cac18.zip +0 -0
  3071. package/.yarn/cache/tweetnacl-util-npm-0.15.1-1a24bc512a-ae6aa8a52c.zip +0 -0
  3072. package/.yarn/cache/type-check-npm-0.4.0-60565800ce-ec688ebfc9.zip +0 -0
  3073. package/.yarn/cache/type-detect-npm-4.0.8-8d8127b901-62b5628bff.zip +0 -0
  3074. package/.yarn/cache/type-fest-npm-0.20.2-b36432617f-4fb3272df2.zip +0 -0
  3075. package/.yarn/cache/type-fest-npm-0.21.3-5ff2a9c6fd-e6b32a3b38.zip +0 -0
  3076. package/.yarn/cache/type-fest-npm-0.7.1-7b37912923-5b1b113529.zip +0 -0
  3077. package/.yarn/cache/type-is-npm-1.6.18-6dee4d4961-2c8e47675d.zip +0 -0
  3078. package/.yarn/cache/type-npm-1.2.0-e67311c4b2-dae8c64f82.zip +0 -0
  3079. package/.yarn/cache/type-npm-2.7.2-626963ea46-0f42379a8a.zip +0 -0
  3080. package/.yarn/cache/typedarray-to-buffer-npm-3.1.5-aadc11995e-99c11aaa8f.zip +0 -0
  3081. package/.yarn/cache/typescript-npm-4.6.4-114dfa5f7e-e7bfcc39cd.zip +0 -0
  3082. package/.yarn/cache/typescript-patch-9d18892098-1cb434fbc6.zip +0 -0
  3083. package/.yarn/cache/ultron-npm-1.1.1-193641dfec-aa7b5ebb1b.zip +0 -0
  3084. package/.yarn/cache/unbox-primitive-npm-1.0.2-cb56a05066-b7a1cf5862.zip +0 -0
  3085. package/.yarn/cache/underscore-npm-1.12.1-f5ca0889f5-ec327603aa.zip +0 -0
  3086. package/.yarn/cache/undici-npm-5.16.0-8b0d0ae418-bc22e797cb.zip +0 -0
  3087. package/.yarn/cache/unique-filename-npm-3.0.0-77d68e0a45-8e2f59b356.zip +0 -0
  3088. package/.yarn/cache/unique-slug-npm-4.0.0-e6b08f28aa-0884b58365.zip +0 -0
  3089. package/.yarn/cache/universalify-npm-0.1.2-9b22d31d2d-40cdc60f6e.zip +0 -0
  3090. package/.yarn/cache/unpipe-npm-1.0.0-2ed2a3c2bf-4fa18d8d8d.zip +0 -0
  3091. package/.yarn/cache/update-browserslist-db-npm-1.0.10-676baf0b9f-12db73b4f6.zip +0 -0
  3092. package/.yarn/cache/upper-case-first-npm-2.0.2-8e0c5a851a-4487db4701.zip +0 -0
  3093. package/.yarn/cache/upper-case-npm-2.0.2-6cf3bda96c-508723a2b0.zip +0 -0
  3094. package/.yarn/cache/uri-js-npm-4.4.1-66d11cbcaf-7167432de6.zip +0 -0
  3095. package/.yarn/cache/url-parse-lax-npm-3.0.0-92aa8effa0-1040e35775.zip +0 -0
  3096. package/.yarn/cache/url-set-query-npm-1.0.0-1980accc33-5ad73525e8.zip +0 -0
  3097. package/.yarn/cache/utf-8-validate-npm-5.0.10-93e9b6f750-5579350a02.zip +0 -0
  3098. package/.yarn/cache/utf8-npm-3.0.0-7c39b5994a-cb89a69ad9.zip +0 -0
  3099. package/.yarn/cache/util-deprecate-npm-1.0.2-e3fe1a219c-474acf1146.zip +0 -0
  3100. package/.yarn/cache/util-npm-0.12.5-3668276f26-705e51f0de.zip +0 -0
  3101. package/.yarn/cache/utils-merge-npm-1.0.1-363bbdfbca-c810954932.zip +0 -0
  3102. package/.yarn/cache/uuid-npm-2.0.1-a78a0c30dd-e129e494e3.zip +0 -0
  3103. package/.yarn/cache/uuid-npm-3.3.2-62715051ac-8793629d27.zip +0 -0
  3104. package/.yarn/cache/uuid-npm-3.4.0-4fd8ef88ad-58de2feed6.zip +0 -0
  3105. package/.yarn/cache/uuid-npm-8.3.2-eca0baba53-5575a8a75c.zip +0 -0
  3106. package/.yarn/cache/uuid-npm-9.0.0-46c41e3e43-8dd2c83c43.zip +0 -0
  3107. package/.yarn/cache/v8-compile-cache-lib-npm-3.0.1-4886071ece-78089ad549.zip +0 -0
  3108. package/.yarn/cache/v8-to-istanbul-npm-9.0.1-58bbce7857-a49c34bf0a.zip +0 -0
  3109. package/.yarn/cache/varint-npm-5.0.2-fcb43e79c5-e1a66bf9a6.zip +0 -0
  3110. package/.yarn/cache/vary-npm-1.1.2-b49f70ae63-ae0123222c.zip +0 -0
  3111. package/.yarn/cache/verror-npm-1.10.0-c3f839c579-c431df0bed.zip +0 -0
  3112. package/.yarn/cache/walker-npm-1.0.8-b0a05b9478-ad7a257ea1.zip +0 -0
  3113. package/.yarn/cache/web3-bzz-npm-1.6.0-0379ad4d30-2e4e386d2c.zip +0 -0
  3114. package/.yarn/cache/web3-core-helpers-npm-1.6.0-ccb2f75fea-dfce9524e8.zip +0 -0
  3115. package/.yarn/cache/web3-core-method-npm-1.6.0-39b7ee99f4-9e87e83327.zip +0 -0
  3116. package/.yarn/cache/web3-core-npm-1.6.0-cd5724ff41-c9e2c4b7d3.zip +0 -0
  3117. package/.yarn/cache/web3-core-promievent-npm-1.6.0-8ace9d617f-edabd762ba.zip +0 -0
  3118. package/.yarn/cache/web3-core-requestmanager-npm-1.6.0-6a52d11e9f-443a27854a.zip +0 -0
  3119. package/.yarn/cache/web3-core-subscriptions-npm-1.6.0-a99f64493b-a07311f9e6.zip +0 -0
  3120. package/.yarn/cache/web3-eth-abi-npm-1.4.0-6799222198-e9bc1e7402.zip +0 -0
  3121. package/.yarn/cache/web3-eth-abi-npm-1.6.0-3bfbb5e269-a44f63feac.zip +0 -0
  3122. package/.yarn/cache/web3-eth-accounts-npm-1.6.0-2f4d951292-900f03b2ca.zip +0 -0
  3123. package/.yarn/cache/web3-eth-contract-npm-1.6.0-3397c566fa-374de3f4ba.zip +0 -0
  3124. package/.yarn/cache/web3-eth-ens-npm-1.6.0-4bc13e3ed8-b27fd4a6df.zip +0 -0
  3125. package/.yarn/cache/web3-eth-iban-npm-1.6.0-92fbb8fbfb-6bd59ce564.zip +0 -0
  3126. package/.yarn/cache/web3-eth-npm-1.6.0-e043e66126-c1ba383451.zip +0 -0
  3127. package/.yarn/cache/web3-eth-personal-npm-1.6.0-7a183bcbdd-d0b99072bd.zip +0 -0
  3128. package/.yarn/cache/web3-net-npm-1.6.0-69336db0cc-223a1e66aa.zip +0 -0
  3129. package/.yarn/cache/web3-npm-1.6.0-b6b3a37507-483c389191.zip +0 -0
  3130. package/.yarn/cache/web3-providers-http-npm-1.6.0-f422516706-7695c06ee2.zip +0 -0
  3131. package/.yarn/cache/web3-providers-ipc-npm-1.6.0-b610408e48-f5ba125490.zip +0 -0
  3132. package/.yarn/cache/web3-providers-ws-npm-1.6.0-27ce96b4f6-7e84d03bcf.zip +0 -0
  3133. package/.yarn/cache/web3-shh-npm-1.6.0-fa7d783a0d-2f70ab6c66.zip +0 -0
  3134. package/.yarn/cache/web3-utils-npm-1.4.0-d4a6a33375-060fcce2e1.zip +0 -0
  3135. package/.yarn/cache/web3-utils-npm-1.6.0-f6d206a6bf-7940be7145.zip +0 -0
  3136. package/.yarn/cache/web3-utils-npm-1.8.1-4f0bf057ee-08bb2df9cd.zip +0 -0
  3137. package/.yarn/cache/webidl-conversions-npm-3.0.1-60310f6a2b-c92a0a6ab9.zip +0 -0
  3138. package/.yarn/cache/websocket-npm-1.0.34-3aaa6c5dc0-8a0ce6d79c.zip +0 -0
  3139. package/.yarn/cache/whatwg-fetch-npm-3.6.2-4bdf324792-ee976b7249.zip +0 -0
  3140. package/.yarn/cache/whatwg-url-npm-5.0.0-374fb45e60-b8daed4ad3.zip +0 -0
  3141. package/.yarn/cache/which-boxed-primitive-npm-1.0.2-e214f9ae5a-53ce774c73.zip +0 -0
  3142. package/.yarn/cache/which-npm-2.0.2-320ddf72f7-1a5c563d3c.zip +0 -0
  3143. package/.yarn/cache/which-npm-4.0.0-dd31cd4928-f17e84c042.zip +0 -0
  3144. package/.yarn/cache/which-typed-array-npm-1.1.8-49776a7691-bedf4d30a7.zip +0 -0
  3145. package/.yarn/cache/word-wrap-npm-1.2.3-7fb15ab002-30b48f91fc.zip +0 -0
  3146. package/.yarn/cache/workerpool-npm-6.2.1-1486cb2056-c2c6eebbc5.zip +0 -0
  3147. package/.yarn/cache/wrap-ansi-npm-7.0.0-ad6e1a0554-a790b846fd.zip +0 -0
  3148. package/.yarn/cache/wrap-ansi-npm-8.1.0-26a4e6ae28-371733296d.zip +0 -0
  3149. package/.yarn/cache/wrappy-npm-1.0.2-916de4d4b3-159da4805f.zip +0 -0
  3150. package/.yarn/cache/write-file-atomic-npm-4.0.2-661baae4aa-5da60bd4ee.zip +0 -0
  3151. package/.yarn/cache/ws-npm-3.3.3-30771aa150-20b7bf34bb.zip +0 -0
  3152. package/.yarn/cache/ws-npm-7.4.6-9c9a725604-3a990b32ed.zip +0 -0
  3153. package/.yarn/cache/ws-npm-7.5.9-26f12a5ed6-c3c100a181.zip +0 -0
  3154. package/.yarn/cache/ws-npm-8.5.0-8e99728c84-76f2f90e40.zip +0 -0
  3155. package/.yarn/cache/xhr-npm-2.6.0-c4a4d64db8-a1db277e37.zip +0 -0
  3156. package/.yarn/cache/xhr-request-npm-1.1.0-9bf1725e4f-fd8186f33e.zip +0 -0
  3157. package/.yarn/cache/xhr-request-promise-npm-0.1.3-2ec03e260c-2e127c0de0.zip +0 -0
  3158. package/.yarn/cache/xhr2-cookies-npm-1.1.0-3c53c13f2e-6a9fc45f34.zip +0 -0
  3159. package/.yarn/cache/xmlhttprequest-npm-1.8.0-7ac1c8e494-c891cf0d78.zip +0 -0
  3160. package/.yarn/cache/xtend-npm-4.0.2-7f2375736e-ac5dfa738b.zip +0 -0
  3161. package/.yarn/cache/y18n-npm-5.0.8-5f3a0a7e62-54f0fb9562.zip +0 -0
  3162. package/.yarn/cache/yaeti-npm-0.0.6-cffd01e35a-6db12c152f.zip +0 -0
  3163. package/.yarn/cache/yallist-npm-3.1.1-a568a556b4-48f7bb00dc.zip +0 -0
  3164. package/.yarn/cache/yallist-npm-4.0.0-b493d9e907-343617202a.zip +0 -0
  3165. package/.yarn/cache/yargs-npm-16.2.0-547873d425-b14afbb51e.zip +0 -0
  3166. package/.yarn/cache/yargs-npm-17.6.0-6343ad1a2d-604bdb4a63.zip +0 -0
  3167. package/.yarn/cache/yargs-parser-npm-20.2.4-1de20916a6-d251998a37.zip +0 -0
  3168. package/.yarn/cache/yargs-parser-npm-20.2.9-a1d19e598d-8bb69015f2.zip +0 -0
  3169. package/.yarn/cache/yargs-parser-npm-21.1.1-8fdc003314-ed2d96a616.zip +0 -0
  3170. package/.yarn/cache/yargs-unparser-npm-2.0.0-930f3ff3f6-68f9a542c6.zip +0 -0
  3171. package/.yarn/cache/yn-npm-3.1.1-8ad4259784-2c487b0e14.zip +0 -0
  3172. package/.yarn/cache/yocto-queue-npm-0.1.0-c6c9a7db29-f77b3d8d00.zip +0 -0
  3173. package/.yarn/install-state.gz +0 -0
  3174. package/.yarn/releases/yarn-1.22.19.cjs +0 -0
  3175. package/.yarnrc.yml +0 -3
  3176. /package/{.yarn/cache/@0x-types-npm-2.4.3-b9261c898a-4e7d1b8873.zip → build/dex/trader-joe-v2_1/trader-joe-v2.1.d.ts} +0 -0
@@ -1,453 +1,453 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MathMMM = void 0;
4
- const Const_1 = require("./Const");
5
- const Num_1 = require("./Num");
6
- const LogExpMath_1 = require("./LogExpMath");
7
- const GeometricBrownianMotion_1 = require("./GeometricBrownianMotion");
8
- class MathMMM {
9
- /**********************************************************************************************
10
- // calcSpotPrice //
11
- // sP = spotPrice //
12
- // bI = tokenBalanceIn ( bI * w0 ) //
13
- // bO = tokenBalanceOut sP = ------------------------ //
14
- // wI = tokenWeightIn ( bO * wI ) * ( 1 - sF ) //
15
- // wO = tokenWeightOut //
16
- // sF = swapFee //
17
- **********************************************************************************************/
18
- static calcSpotPrice(tokenBalanceIn, tokenWeightIn, tokenBalanceOut, tokenWeightOut, swapFee) {
19
- let numer = Num_1.Num.mul(tokenBalanceIn, tokenWeightOut);
20
- let denom = Num_1.Num.mul(Num_1.Num.mul(tokenBalanceOut, tokenWeightIn), Const_1.Const.ONE - swapFee);
21
- return Num_1.Num.div(numer, denom);
22
- }
23
- /**********************************************************************************************
24
- // calcOutGivenIn //
25
- // aO = tokenAmountOut //
26
- // bO = tokenBalanceOut //
27
- // bI = tokenBalanceIn / / bI \ (wI / wO) \ //
28
- // aI = tokenAmountIn aO = bO * | 1 - | -------------------------- | ^ | //
29
- // wI = tokenWeightIn \ \ ( bI + ( aI * ( 1 - sF )) / / //
30
- // wO = tokenWeightOut //
31
- // sF = swapFee //
32
- **********************************************************************************************/
33
- static calcOutGivenIn(tokenBalanceIn, tokenWeightIn, tokenBalanceOut, tokenWeightOut, tokenAmountIn, swapFee) {
34
- const weightRatio = Num_1.Num.div(tokenWeightIn, tokenWeightOut);
35
- let adjustedIn = Const_1.Const.ONE - swapFee;
36
- adjustedIn = Num_1.Num.mul(tokenAmountIn, adjustedIn);
37
- const y = Num_1.Num.div(tokenBalanceIn, tokenBalanceIn + adjustedIn);
38
- const foo = Num_1.Num.pow(y, weightRatio);
39
- const bar = Const_1.Const.ONE - foo;
40
- const tokenAmountOut = Num_1.Num.mul(tokenBalanceOut, bar);
41
- return tokenAmountOut;
42
- }
43
- /**********************************************************************************************
44
- // calcInGivenOut //
45
- // aI = tokenAmountIn //
46
- // bO = tokenBalanceOut / / bO \ (wO / wI) \ //
47
- // bI = tokenBalanceIn bI * | | ------------ | ^ - 1 | //
48
- // aO = tokenAmountOut aI = \ \ ( bO - aO ) / / //
49
- // wI = tokenWeightIn -------------------------------------------- //
50
- // wO = tokenWeightOut ( 1 - sF ) //
51
- // sF = swapFee //
52
- **********************************************************************************************/
53
- static calcInGivenOut(tokenBalanceIn, tokenWeightIn, tokenBalanceOut, tokenWeightOut, tokenAmountOut, swapFee) {
54
- const weightRatio = Num_1.Num.div(tokenWeightOut, tokenWeightIn);
55
- const diff = tokenBalanceOut - tokenAmountOut;
56
- const y = Num_1.Num.div(tokenBalanceOut, diff);
57
- let foo = Num_1.Num.pow(y, weightRatio);
58
- foo = foo - Const_1.Const.ONE;
59
- let tokenAmountIn = Const_1.Const.ONE - swapFee;
60
- tokenAmountIn = Num_1.Num.div(Num_1.Num.mul(tokenBalanceIn, foo), tokenAmountIn);
61
- return tokenAmountIn;
62
- }
63
- /**
64
- * @notice Computes the amount of tokenIn needed in order to receive a given amount of tokenOut
65
- * @dev A spread is applied as soon as entering a "shortage of tokenOut" phase
66
- * cf whitepaper: https://www.swaap.finance/whitepaper.pdf
67
- * @param tokenGlobalIn The pool global information on tokenIn
68
- * @param tokenGlobalOut The pool global information on tokenOut
69
- * @param relativePrice The price of tokenOut in tokenIn terms
70
- * @param swapParameters Amount of token out and swap fee
71
- * @param gbmParameters The GBM forecast parameters (Z, horizon)
72
- * @param hpParameters The parameters for historical prices retrieval
73
- * @return swapResult The swap result (amount in, spread and tax base in)
74
- */
75
- static calcInGivenOutMMM(tokenGlobalIn, tokenGlobalOut, relativePrice, swapParameters, gbmParameters, hpParameters, historicalPricesIn, historicalPricesOut, currentTimestamp) {
76
- // determines the balance of tokenOut at equilibrium (cf definitions)
77
- const balanceOutAtEquilibrium = MathMMM.getTokenBalanceAtEquilibrium(tokenGlobalOut.info.balance, tokenGlobalOut.info.weight, tokenGlobalIn.info.balance, tokenGlobalIn.info.weight, Num_1.Num.div(Const_1.Const.ONE, relativePrice));
78
- // from abundance of tokenOut to abundance of tokenOut --> no spread
79
- if (tokenGlobalOut.info.balance > balanceOutAtEquilibrium &&
80
- swapParameters.amount <
81
- tokenGlobalOut.info.balance - balanceOutAtEquilibrium) {
82
- return {
83
- amount: MathMMM._calcInGivenOutMMMAbundance(tokenGlobalIn, tokenGlobalOut,
84
- // relativePrice,
85
- swapParameters.amount, swapParameters.fee),
86
- spread: 0n,
87
- taxBaseIn: 0n,
88
- };
89
- }
90
- {
91
- const gbmEstimation = GeometricBrownianMotion_1.GeometricBrownianMotion.getParametersEstimation(tokenGlobalIn.latestRound, tokenGlobalOut.latestRound, hpParameters, historicalPricesIn, historicalPricesOut);
92
- const [adjustedTokenOutWeight, spread] = MathMMM.getMMMWeight(true, swapParameters.fallbackSpread, tokenGlobalOut.info.weight, gbmEstimation, gbmParameters);
93
- if (tokenGlobalOut.info.balance <= balanceOutAtEquilibrium) {
94
- // shortage to shortage
95
- return {
96
- amount: MathMMM.calcInGivenOut(tokenGlobalIn.info.balance, tokenGlobalIn.info.weight, tokenGlobalOut.info.balance, adjustedTokenOutWeight, swapParameters.amount, swapParameters.fee),
97
- spread: spread,
98
- taxBaseIn: swapParameters.amount,
99
- };
100
- }
101
- else {
102
- // abundance to shortage
103
- const [amount, taxBaseIn] = MathMMM._calcInGivenOutMMMMixed(tokenGlobalIn, tokenGlobalOut, swapParameters, relativePrice, adjustedTokenOutWeight, balanceOutAtEquilibrium, currentTimestamp);
104
- return {
105
- amount: amount,
106
- spread: spread,
107
- taxBaseIn: taxBaseIn,
108
- };
109
- }
110
- }
111
- }
112
- /**
113
- * @notice Implements 'calcInGivenOutMMM' in the case of abundance of tokenOut
114
- * @dev Two cases to consider:
115
- * 1) amount of tokenIn won't drive the pool from abundance of tokenOut to shortage ==> 1 pricing (no spread)
116
- * 2) amount of tokenIn will drive the pool from abundance of tokenOut to shortage ==> 2 pricing, one for each phase
117
- * @param tokenGlobalIn The pool global information on tokenIn
118
- * @param tokenGlobalOut The pool global information on tokenOut
119
- * @param swapParameters The parameters of the swap
120
- * @param relativePrice The price of tokenOut in tokenIn terms
121
- * @param adjustedTokenWeightOut The spread-augmented tokenOut's weight
122
- * @return tokenAmountIn The total amount of tokenIn needed for the swap
123
- * @return taxBaseIn The amount of tokenIn swapped when in shortage of tokenOut
124
- */
125
- static _calcInGivenOutMMMMixed(tokenGlobalIn, tokenGlobalOut, swapParameters, relativePrice, adjustedTokenWeightOut, balanceOutAtEquilibrium, currentTimestamp) {
126
- const tokenOutBuyAmountForEquilibrium = tokenGlobalOut.info.balance - balanceOutAtEquilibrium;
127
- // 'abundance of tokenOut' phase --> no spread
128
- const tokenAmountInPart1 = MathMMM._calcInGivenOutMMMAbundance(tokenGlobalIn, tokenGlobalOut,
129
- // relativePrice,
130
- tokenOutBuyAmountForEquilibrium, swapParameters.fee);
131
- // 'shortage of tokenOut phase' --> apply spread
132
- const tokenAmountInPart2 = MathMMM.calcInGivenOut(tokenGlobalIn.info.balance + tokenAmountInPart1, tokenGlobalIn.info.weight, tokenGlobalOut.info.balance - tokenOutBuyAmountForEquilibrium, adjustedTokenWeightOut, swapParameters.amount - tokenOutBuyAmountForEquilibrium, // tokenAmountOut > tokenOutBuyAmountForEquilibrium
133
- swapParameters.fee);
134
- return [
135
- Num_1.Num.add(tokenAmountInPart1, tokenAmountInPart2),
136
- tokenAmountInPart2,
137
- ];
138
- }
139
- /**
140
- * @notice Implements calcOutGivenInMMM in the case of abundance of tokenOut
141
- * @dev A spread is applied as soon as entering a "shortage of tokenOut" phase
142
- * cf whitepaper: https://www.swaap.finance/whitepaper.pdf
143
- * @param tokenGlobalIn The pool global information on tokenIn
144
- * @param tokenGlobalOut The pool global information on tokenOut
145
- * @param relativePrice The price of tokenOut in tokenIn terms
146
- * @param tokenAmountOut The amount of tokenOut that will be received
147
- * @param baseFee The base fee
148
- * @param fallbackSpread The default spread in case the it couldn't be calculated using oracle prices
149
- * @return tokenAmountIn The amount of tokenIn needed for the swap
150
- */
151
- static _calcInGivenOutMMMAbundance(tokenGlobalIn, tokenGlobalOut,
152
- // relativePrice: bigint,
153
- tokenAmountOut, baseFee) {
154
- const adaptiveFees = baseFee; /*MathMMM.getAdaptiveFees(
155
- tokenGlobalIn,
156
- Num.mul(tokenAmountOut, relativePrice),
157
- tokenGlobalOut,
158
- tokenAmountOut,
159
- relativePrice,
160
- baseFee,
161
- fallbackSpread,
162
- currentTimestamp,
163
- );*/
164
- return MathMMM.calcInGivenOut(tokenGlobalIn.info.balance, tokenGlobalIn.info.weight, tokenGlobalOut.info.balance, tokenGlobalOut.info.weight, tokenAmountOut, adaptiveFees);
165
- }
166
- /**
167
- * @notice Computes the net value of a given tokenIn amount in tokenOut terms
168
- * @dev A spread is applied as soon as entering a "shortage of tokenOut" phase
169
- * cf whitepaper: https://www.swaap.finance/whitepaper.pdf
170
- * @param tokenGlobalIn The pool global information on tokenIn
171
- * @param tokenGlobalOut The pool global information on tokenOut
172
- * @param relativePrice The price of tokenOut in tokenIn terms
173
- * @param swapParameters Amount of token in and swap fee
174
- * @param gbmParameters The GBM forecast parameters (Z, horizon)
175
- * @param hpParameters The parameters for historical prices retrieval
176
- * @return swapResult The swap result (amount out, spread and tax base in)
177
- */
178
- static calcOutGivenInMMM(tokenGlobalIn, tokenGlobalOut, relativePrice, swapParameters, gbmParameters, hpParameters, historicalPricesIn, historicalPricesOut, currentTimestamp) {
179
- // determines the balance of tokenIn at equilibrium (cf definitions)
180
- const balanceInAtEquilibrium = MathMMM.getTokenBalanceAtEquilibrium(tokenGlobalIn.info.balance, tokenGlobalIn.info.weight, tokenGlobalOut.info.balance, tokenGlobalOut.info.weight, relativePrice);
181
- // from abundance of tokenOut to abundance of tokenOut --> no spread
182
- {
183
- if (tokenGlobalIn.info.balance < balanceInAtEquilibrium &&
184
- swapParameters.amount <
185
- balanceInAtEquilibrium - tokenGlobalIn.info.balance) {
186
- return {
187
- amount: MathMMM._calcOutGivenInMMMAbundance(tokenGlobalIn, tokenGlobalOut, relativePrice, swapParameters.amount, swapParameters.fee, swapParameters.fallbackSpread, currentTimestamp),
188
- spread: 0n,
189
- taxBaseIn: 0n,
190
- };
191
- }
192
- }
193
- {
194
- const gbmEstimation = GeometricBrownianMotion_1.GeometricBrownianMotion.getParametersEstimation(tokenGlobalIn.latestRound, tokenGlobalOut.latestRound, hpParameters, historicalPricesIn, historicalPricesOut);
195
- const [adjustedTokenOutWeight, spread] = MathMMM.getMMMWeight(true, swapParameters.fallbackSpread, tokenGlobalOut.info.weight, gbmEstimation, gbmParameters);
196
- if (tokenGlobalIn.info.balance >= balanceInAtEquilibrium) {
197
- // shortage to shortage
198
- return {
199
- amount: MathMMM.calcOutGivenIn(tokenGlobalIn.info.balance, tokenGlobalIn.info.weight, tokenGlobalOut.info.balance, adjustedTokenOutWeight, swapParameters.amount, swapParameters.fee),
200
- spread: spread,
201
- taxBaseIn: swapParameters.amount,
202
- };
203
- }
204
- else {
205
- // abundance to shortage
206
- const [amount, taxBaseIn] = MathMMM._calcOutGivenInMMMMixed(tokenGlobalIn, tokenGlobalOut, swapParameters, relativePrice, adjustedTokenOutWeight, balanceInAtEquilibrium, currentTimestamp);
207
- return {
208
- amount: amount,
209
- spread: spread,
210
- taxBaseIn: taxBaseIn,
211
- };
212
- }
213
- }
214
- }
215
- /**
216
- * @notice Implements 'calcOutGivenInMMM' in the case of mixed regime of tokenOut (abundance then shortage)
217
- * @param tokenGlobalIn The pool global information on tokenIn
218
- * @param tokenGlobalOut The pool global information on tokenOut
219
- * @param swapParameters The parameters of the swap
220
- * @param relativePrice The price of tokenOut in tokenIn terms
221
- * @param adjustedTokenWeightOut The spread-augmented tokenOut's weight
222
- * @param balanceInAtEquilibrium TokenIn balance at equilibrium
223
- * @return tokenAmountOut The total amount of token out
224
- * @return taxBaseIn The amount of tokenIn swapped when in shortage of tokenOut
225
- */
226
- static _calcOutGivenInMMMMixed(tokenGlobalIn, tokenGlobalOut, swapParameters, relativePrice, adjustedTokenWeightOut, balanceInAtEquilibrium, currentTimestamp) {
227
- const tokenInSellAmountForEquilibrium = balanceInAtEquilibrium - tokenGlobalIn.info.balance;
228
- const taxBaseIn = swapParameters.amount - tokenInSellAmountForEquilibrium;
229
- // 'abundance of tokenOut' phase --> no spread
230
- const tokenAmountOutPart1 = MathMMM._calcOutGivenInMMMAbundance(tokenGlobalIn, tokenGlobalOut, relativePrice, tokenInSellAmountForEquilibrium, swapParameters.fee, swapParameters.fallbackSpread, currentTimestamp);
231
- // 'shortage of tokenOut phase' --> apply spread
232
- const tokenAmountOutPart2 = MathMMM.calcOutGivenIn(Num_1.Num.add(tokenGlobalIn.info.balance, tokenInSellAmountForEquilibrium), tokenGlobalIn.info.weight, Num_1.Num.sub(tokenGlobalOut.info.balance, tokenAmountOutPart1), adjustedTokenWeightOut, taxBaseIn, // tokenAmountIn > tokenInSellAmountForEquilibrium
233
- swapParameters.fee);
234
- return [Num_1.Num.add(tokenAmountOutPart1, tokenAmountOutPart2), taxBaseIn];
235
- }
236
- /**
237
- * @notice Implements calcOutGivenInMMM in the case of abundance of tokenOut
238
- * @dev A spread is applied as soon as entering a "shortage of tokenOut" phase
239
- * cf whitepaper: https://www.swaap.finance/whitepaper.pdf
240
- * @param tokenGlobalIn The pool global information on tokenIn
241
- * @param tokenGlobalOut The pool global information on tokenOut
242
- * @param relativePrice The price of tokenOut in tokenIn terms
243
- * @param tokenAmountIn The amount of tokenIn that will be swaped
244
- * @param baseFee The base fee
245
- * @param fallbackSpread The default spread in case the it couldn't be calculated using oracle prices
246
- * @return tokenAmountOut The tokenAmountOut when the tokenOut is in abundance
247
- */
248
- static _calcOutGivenInMMMAbundance(tokenGlobalIn, tokenGlobalOut, relativePrice, tokenAmountIn, baseFee, fallbackSpread, currentTimestamp) {
249
- const adaptiveFees = baseFee; /*MathMMM.getAdaptiveFees(
250
- tokenGlobalIn,
251
- tokenAmountIn,
252
- tokenGlobalOut,
253
- Num.div(tokenAmountIn, relativePrice),
254
- relativePrice,
255
- baseFee,
256
- fallbackSpread,
257
- currentTimestamp,
258
- );*/
259
- return MathMMM.calcOutGivenIn(tokenGlobalIn.info.balance, tokenGlobalIn.info.weight, tokenGlobalOut.info.balance, tokenGlobalOut.info.weight, tokenAmountIn, adaptiveFees);
260
- }
261
- /**
262
- * @notice Computes the log spread factor
263
- * @dev We define it as the log of the p-quantile of a GBM process (log-normal distribution),
264
- * which is given by the following:
265
- * mean * horizon + z * sqrt(2 * variance * horizon)
266
- * where z = ierf(2p - 1), with ierf being the inverse error function.
267
- * GBM: https://en.wikipedia.org/wiki/Geometric_Brownian_motion
268
- * Log-normal distribution: https://en.wikipedia.org/wiki/Log-normal_distribution
269
- * erf: https://en.wikipedia.org/wiki/Error_function
270
- * @param mean The percentage drift
271
- * @param variance The percentage volatility
272
- * @param horizon The GBM forecast horizon parameter
273
- * @param z The GBM forecast z parameter
274
- * @return x The log spread factor
275
- */
276
- static getLogSpreadFactor(mean, variance, horizon, z) {
277
- if (mean == 0n && variance == 0n) {
278
- return 0n;
279
- }
280
- if (mean < 0) {
281
- mean = -Num_1.Num.mul(-mean, horizon);
282
- }
283
- else {
284
- mean = Num_1.Num.mul(mean, horizon);
285
- }
286
- let diffusion = 0n;
287
- if (variance > 0) {
288
- diffusion = Num_1.Num.mul(z, LogExpMath_1.LogExpMath.pow(Num_1.Num.mul(variance, 2n * horizon), Const_1.Const.ONE / 2n));
289
- }
290
- return diffusion + mean;
291
- }
292
- /**
293
- * @notice Apply to the tokenWeight a 'spread' factor
294
- * @dev The spread factor is defined as the maximum between:
295
- a) the expected relative tokenOut increase in tokenIn terms
296
- b) 1
297
- * The function multiplies the tokenWeight by the spread factor if
298
- * the token is in shortage, or divides it by the spread factor if it is in abundance
299
- * @param shortage true when the token is in shortage, false if in abundance
300
- * @param fallbackSpread The default spread in case the it couldn't be calculated using oracle prices
301
- * @param tokenWeight The token's weight
302
- * @param gbmEstimation The GBM's 2 first moments estimation
303
- * @param gbmParameters The GBM forecast parameters (Z, horizon)
304
- * @return adjustedWeight The adjusted weight based on spread
305
- * @return spread The spread
306
- */
307
- static getMMMWeight(shortage, fallbackSpread, tokenWeight, gbmEstimation, gbmParameters) {
308
- if (!gbmEstimation.success) {
309
- if (shortage) {
310
- return [
311
- Num_1.Num.mul(tokenWeight, Const_1.Const.ONE + fallbackSpread),
312
- fallbackSpread,
313
- ];
314
- }
315
- else {
316
- return [
317
- Num_1.Num.div(tokenWeight, Const_1.Const.ONE + fallbackSpread),
318
- fallbackSpread,
319
- ];
320
- }
321
- }
322
- if (gbmParameters.horizon == 0n) {
323
- return [tokenWeight, 0n];
324
- }
325
- const logSpreadFactor = MathMMM.getLogSpreadFactor(gbmEstimation.mean, gbmEstimation.variance, gbmParameters.horizon, gbmParameters.z);
326
- if (logSpreadFactor <= 0) {
327
- return [tokenWeight, 0n];
328
- }
329
- const spreadFactor = LogExpMath_1.LogExpMath.exp(logSpreadFactor);
330
- // if spread < 1 --> rounding error --> set to 1
331
- if (spreadFactor <= Const_1.Const.ONE) {
332
- return [tokenWeight, 0n];
333
- }
334
- let spread = spreadFactor - Const_1.Const.ONE;
335
- if (shortage) {
336
- return [Num_1.Num.mul(tokenWeight, spreadFactor), spread];
337
- }
338
- else {
339
- return [Num_1.Num.div(tokenWeight, spreadFactor), spread];
340
- }
341
- }
342
- /**
343
- * @notice Computes the fee amount that will ensure we maintain the pool's value, according to oracle prices.
344
- * @dev We apply this fee regime only if Out-In price increased in the same block as now.
345
- * @param tokenGlobalIn The pool global information on tokenIn
346
- * @param tokenAmountIn The swap desired amount for tokenIn
347
- * @param tokenGlobalOut The pool global information on tokenOut
348
- * @param tokenAmountOut The swap desired amount for tokenOut
349
- * @param relativePrice The price of tokenOut in tokenIn terms
350
- * @param baseFee The base fee amount
351
- * @param fallbackSpread The default spread in case the it couldn't be calculated using oracle prices
352
- * @return alpha The potentially augmented fee amount
353
- */
354
- /* static getAdaptiveFees(
355
- tokenGlobalIn: Struct.TokenGlobal,
356
- tokenAmountIn: bigint,
357
- tokenGlobalOut: Struct.TokenGlobal,
358
- tokenAmountOut: bigint,
359
- relativePrice: bigint,
360
- baseFee: bigint,
361
- fallbackSpread: bigint,
362
- currentTimestamp: bigint,
363
- ): bigint {
364
- let blockTimestamp = currentTimestamp;
365
-
366
- // we only consider same block as last price update
367
- if (
368
- blockTimestamp != tokenGlobalIn.latestRound.timestamp &&
369
- blockTimestamp != tokenGlobalOut.latestRound.timestamp
370
- ) {
371
- // no additional fees
372
- return baseFee;
373
- }
374
- let recentPriceUpperBound = ChainlinkUtils.getMaxRelativePriceInLastBlock(
375
- tokenGlobalIn.latestRound,
376
- tokenGlobalIn.info.decimals,
377
- tokenGlobalOut.latestRound,
378
- tokenGlobalOut.info.decimals,
379
- // historicalPricesIn,
380
- // historicalPricesOut
381
- );
382
- if (recentPriceUpperBound == 0n) {
383
- // we were not able to retrieve the previous price
384
- return fallbackSpread;
385
- } else if (recentPriceUpperBound <= relativePrice) {
386
- // no additional fees
387
- return baseFee;
388
- }
389
-
390
- return (
391
- // additional fees indexed on price increase and imbalance
392
- Num.min(
393
- Const.ONE,
394
- baseFee +
395
- MathMMM.calcAdaptiveFeeGivenInAndOut(
396
- tokenGlobalIn.info.balance,
397
- tokenAmountIn,
398
- tokenGlobalIn.info.weight,
399
- tokenGlobalOut.info.balance,
400
- tokenAmountOut,
401
- tokenGlobalOut.info.weight,
402
- ),
403
- )
404
- );
405
- }
406
- */
407
- /**
408
- * @notice Computes the balance of token1 the pool must have in order to have token1/token2 at equilibrium
409
- * while satisfying the pricing curve prod^k balance_k^w_k = K
410
- * @dev We only rely on the following equations:
411
- * a) priceTokenOutOutInTokenIn = balance_in / balance_out * w_out / w_in
412
- * b) tokenBalanceOut = (K / prod_k!=in balance_k^w_k)^(1/w_out) = (localInvariant / balance_in^w_in)^(1/w_out)
413
- * with localInvariant = balance_in^w_in * balance_out^w_out which can be computed with only In/Out
414
- * @param tokenBalance1 The balance of token1 initially
415
- * @param tokenWeight1 The weight of token1
416
- * @param tokenBalance2 The balance of token2 initially
417
- * @param tokenWeight2 The weight of token2
418
- * @param relativePrice The price of tokenOut in tokenIn terms
419
- * @return balance1AtEquilibrium The balance of token1 in order to have a token1/token2 at equilibrium
420
- */
421
- static getTokenBalanceAtEquilibrium(tokenBalance1, tokenWeight1, tokenBalance2, tokenWeight2, relativePrice) {
422
- const weightSum = tokenWeight1 + tokenWeight2;
423
- // relativePrice * weight1/weight2
424
- let foo = Num_1.Num.mul(relativePrice, Num_1.Num.div(tokenWeight1, tokenWeight2));
425
- // relativePrice * balance2 * (weight1/weight2)
426
- foo = Num_1.Num.mul(foo, tokenBalance2);
427
- const balance1AtEquilibrium = Num_1.Num.mul(LogExpMath_1.LogExpMath.pow(foo, Num_1.Num.div(tokenWeight2, weightSum)), LogExpMath_1.LogExpMath.pow(tokenBalance1, Num_1.Num.div(tokenWeight1, weightSum)));
428
- return balance1AtEquilibrium;
429
- }
430
- /**
431
- * @notice Computes the fee needed to maintain the pool's value constant
432
- * @dev We use oracle to evaluate pool's value
433
- * @param tokenBalanceIn The balance of tokenIn initially
434
- * @param tokenAmountIn The amount of tokenIn to be added
435
- * @param tokenWeightIn The weight of tokenIn
436
- * @param tokenBalanceOut The balance of tokenOut initially
437
- * @param tokenAmountOut The amount of tokenOut to be removed from the pool
438
- * @param tokenWeightOut The weight of tokenOut
439
- * @return adaptiveFee The computed adaptive fee to be added to the base fees
440
- */
441
- static calcAdaptiveFeeGivenInAndOut(tokenBalanceIn, tokenAmountIn, tokenWeightIn, tokenBalanceOut, tokenAmountOut, tokenWeightOut) {
442
- const weightRatio = Num_1.Num.div(tokenWeightOut, tokenWeightIn);
443
- const y = Num_1.Num.div(tokenBalanceOut, tokenBalanceOut - tokenAmountOut);
444
- const foo = Num_1.Num.mul(tokenBalanceIn, Num_1.Num.pow(y, weightRatio));
445
- const afterSwapTokenInBalance = tokenBalanceIn + tokenAmountIn;
446
- if (foo > afterSwapTokenInBalance) {
447
- return 0n;
448
- }
449
- return Num_1.Num.div(afterSwapTokenInBalance - foo, tokenAmountIn);
450
- }
451
- }
452
- exports.MathMMM = MathMMM;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MathMMM = void 0;
4
+ const Const_1 = require("./Const");
5
+ const Num_1 = require("./Num");
6
+ const LogExpMath_1 = require("./LogExpMath");
7
+ const GeometricBrownianMotion_1 = require("./GeometricBrownianMotion");
8
+ class MathMMM {
9
+ /**********************************************************************************************
10
+ // calcSpotPrice //
11
+ // sP = spotPrice //
12
+ // bI = tokenBalanceIn ( bI * w0 ) //
13
+ // bO = tokenBalanceOut sP = ------------------------ //
14
+ // wI = tokenWeightIn ( bO * wI ) * ( 1 - sF ) //
15
+ // wO = tokenWeightOut //
16
+ // sF = swapFee //
17
+ **********************************************************************************************/
18
+ static calcSpotPrice(tokenBalanceIn, tokenWeightIn, tokenBalanceOut, tokenWeightOut, swapFee) {
19
+ let numer = Num_1.Num.mul(tokenBalanceIn, tokenWeightOut);
20
+ let denom = Num_1.Num.mul(Num_1.Num.mul(tokenBalanceOut, tokenWeightIn), Const_1.Const.ONE - swapFee);
21
+ return Num_1.Num.div(numer, denom);
22
+ }
23
+ /**********************************************************************************************
24
+ // calcOutGivenIn //
25
+ // aO = tokenAmountOut //
26
+ // bO = tokenBalanceOut //
27
+ // bI = tokenBalanceIn / / bI \ (wI / wO) \ //
28
+ // aI = tokenAmountIn aO = bO * | 1 - | -------------------------- | ^ | //
29
+ // wI = tokenWeightIn \ \ ( bI + ( aI * ( 1 - sF )) / / //
30
+ // wO = tokenWeightOut //
31
+ // sF = swapFee //
32
+ **********************************************************************************************/
33
+ static calcOutGivenIn(tokenBalanceIn, tokenWeightIn, tokenBalanceOut, tokenWeightOut, tokenAmountIn, swapFee) {
34
+ const weightRatio = Num_1.Num.div(tokenWeightIn, tokenWeightOut);
35
+ let adjustedIn = Const_1.Const.ONE - swapFee;
36
+ adjustedIn = Num_1.Num.mul(tokenAmountIn, adjustedIn);
37
+ const y = Num_1.Num.div(tokenBalanceIn, tokenBalanceIn + adjustedIn);
38
+ const foo = Num_1.Num.pow(y, weightRatio);
39
+ const bar = Const_1.Const.ONE - foo;
40
+ const tokenAmountOut = Num_1.Num.mul(tokenBalanceOut, bar);
41
+ return tokenAmountOut;
42
+ }
43
+ /**********************************************************************************************
44
+ // calcInGivenOut //
45
+ // aI = tokenAmountIn //
46
+ // bO = tokenBalanceOut / / bO \ (wO / wI) \ //
47
+ // bI = tokenBalanceIn bI * | | ------------ | ^ - 1 | //
48
+ // aO = tokenAmountOut aI = \ \ ( bO - aO ) / / //
49
+ // wI = tokenWeightIn -------------------------------------------- //
50
+ // wO = tokenWeightOut ( 1 - sF ) //
51
+ // sF = swapFee //
52
+ **********************************************************************************************/
53
+ static calcInGivenOut(tokenBalanceIn, tokenWeightIn, tokenBalanceOut, tokenWeightOut, tokenAmountOut, swapFee) {
54
+ const weightRatio = Num_1.Num.div(tokenWeightOut, tokenWeightIn);
55
+ const diff = tokenBalanceOut - tokenAmountOut;
56
+ const y = Num_1.Num.div(tokenBalanceOut, diff);
57
+ let foo = Num_1.Num.pow(y, weightRatio);
58
+ foo = foo - Const_1.Const.ONE;
59
+ let tokenAmountIn = Const_1.Const.ONE - swapFee;
60
+ tokenAmountIn = Num_1.Num.div(Num_1.Num.mul(tokenBalanceIn, foo), tokenAmountIn);
61
+ return tokenAmountIn;
62
+ }
63
+ /**
64
+ * @notice Computes the amount of tokenIn needed in order to receive a given amount of tokenOut
65
+ * @dev A spread is applied as soon as entering a "shortage of tokenOut" phase
66
+ * cf whitepaper: https://www.swaap.finance/whitepaper.pdf
67
+ * @param tokenGlobalIn The pool global information on tokenIn
68
+ * @param tokenGlobalOut The pool global information on tokenOut
69
+ * @param relativePrice The price of tokenOut in tokenIn terms
70
+ * @param swapParameters Amount of token out and swap fee
71
+ * @param gbmParameters The GBM forecast parameters (Z, horizon)
72
+ * @param hpParameters The parameters for historical prices retrieval
73
+ * @return swapResult The swap result (amount in, spread and tax base in)
74
+ */
75
+ static calcInGivenOutMMM(tokenGlobalIn, tokenGlobalOut, relativePrice, swapParameters, gbmParameters, hpParameters, historicalPricesIn, historicalPricesOut, currentTimestamp) {
76
+ // determines the balance of tokenOut at equilibrium (cf definitions)
77
+ const balanceOutAtEquilibrium = MathMMM.getTokenBalanceAtEquilibrium(tokenGlobalOut.info.balance, tokenGlobalOut.info.weight, tokenGlobalIn.info.balance, tokenGlobalIn.info.weight, Num_1.Num.div(Const_1.Const.ONE, relativePrice));
78
+ // from abundance of tokenOut to abundance of tokenOut --> no spread
79
+ if (tokenGlobalOut.info.balance > balanceOutAtEquilibrium &&
80
+ swapParameters.amount <
81
+ tokenGlobalOut.info.balance - balanceOutAtEquilibrium) {
82
+ return {
83
+ amount: MathMMM._calcInGivenOutMMMAbundance(tokenGlobalIn, tokenGlobalOut,
84
+ // relativePrice,
85
+ swapParameters.amount, swapParameters.fee),
86
+ spread: 0n,
87
+ taxBaseIn: 0n,
88
+ };
89
+ }
90
+ {
91
+ const gbmEstimation = GeometricBrownianMotion_1.GeometricBrownianMotion.getParametersEstimation(tokenGlobalIn.latestRound, tokenGlobalOut.latestRound, hpParameters, historicalPricesIn, historicalPricesOut);
92
+ const [adjustedTokenOutWeight, spread] = MathMMM.getMMMWeight(true, swapParameters.fallbackSpread, tokenGlobalOut.info.weight, gbmEstimation, gbmParameters);
93
+ if (tokenGlobalOut.info.balance <= balanceOutAtEquilibrium) {
94
+ // shortage to shortage
95
+ return {
96
+ amount: MathMMM.calcInGivenOut(tokenGlobalIn.info.balance, tokenGlobalIn.info.weight, tokenGlobalOut.info.balance, adjustedTokenOutWeight, swapParameters.amount, swapParameters.fee),
97
+ spread: spread,
98
+ taxBaseIn: swapParameters.amount,
99
+ };
100
+ }
101
+ else {
102
+ // abundance to shortage
103
+ const [amount, taxBaseIn] = MathMMM._calcInGivenOutMMMMixed(tokenGlobalIn, tokenGlobalOut, swapParameters, relativePrice, adjustedTokenOutWeight, balanceOutAtEquilibrium, currentTimestamp);
104
+ return {
105
+ amount: amount,
106
+ spread: spread,
107
+ taxBaseIn: taxBaseIn,
108
+ };
109
+ }
110
+ }
111
+ }
112
+ /**
113
+ * @notice Implements 'calcInGivenOutMMM' in the case of abundance of tokenOut
114
+ * @dev Two cases to consider:
115
+ * 1) amount of tokenIn won't drive the pool from abundance of tokenOut to shortage ==> 1 pricing (no spread)
116
+ * 2) amount of tokenIn will drive the pool from abundance of tokenOut to shortage ==> 2 pricing, one for each phase
117
+ * @param tokenGlobalIn The pool global information on tokenIn
118
+ * @param tokenGlobalOut The pool global information on tokenOut
119
+ * @param swapParameters The parameters of the swap
120
+ * @param relativePrice The price of tokenOut in tokenIn terms
121
+ * @param adjustedTokenWeightOut The spread-augmented tokenOut's weight
122
+ * @return tokenAmountIn The total amount of tokenIn needed for the swap
123
+ * @return taxBaseIn The amount of tokenIn swapped when in shortage of tokenOut
124
+ */
125
+ static _calcInGivenOutMMMMixed(tokenGlobalIn, tokenGlobalOut, swapParameters, relativePrice, adjustedTokenWeightOut, balanceOutAtEquilibrium, currentTimestamp) {
126
+ const tokenOutBuyAmountForEquilibrium = tokenGlobalOut.info.balance - balanceOutAtEquilibrium;
127
+ // 'abundance of tokenOut' phase --> no spread
128
+ const tokenAmountInPart1 = MathMMM._calcInGivenOutMMMAbundance(tokenGlobalIn, tokenGlobalOut,
129
+ // relativePrice,
130
+ tokenOutBuyAmountForEquilibrium, swapParameters.fee);
131
+ // 'shortage of tokenOut phase' --> apply spread
132
+ const tokenAmountInPart2 = MathMMM.calcInGivenOut(tokenGlobalIn.info.balance + tokenAmountInPart1, tokenGlobalIn.info.weight, tokenGlobalOut.info.balance - tokenOutBuyAmountForEquilibrium, adjustedTokenWeightOut, swapParameters.amount - tokenOutBuyAmountForEquilibrium, // tokenAmountOut > tokenOutBuyAmountForEquilibrium
133
+ swapParameters.fee);
134
+ return [
135
+ Num_1.Num.add(tokenAmountInPart1, tokenAmountInPart2),
136
+ tokenAmountInPart2,
137
+ ];
138
+ }
139
+ /**
140
+ * @notice Implements calcOutGivenInMMM in the case of abundance of tokenOut
141
+ * @dev A spread is applied as soon as entering a "shortage of tokenOut" phase
142
+ * cf whitepaper: https://www.swaap.finance/whitepaper.pdf
143
+ * @param tokenGlobalIn The pool global information on tokenIn
144
+ * @param tokenGlobalOut The pool global information on tokenOut
145
+ * @param relativePrice The price of tokenOut in tokenIn terms
146
+ * @param tokenAmountOut The amount of tokenOut that will be received
147
+ * @param baseFee The base fee
148
+ * @param fallbackSpread The default spread in case the it couldn't be calculated using oracle prices
149
+ * @return tokenAmountIn The amount of tokenIn needed for the swap
150
+ */
151
+ static _calcInGivenOutMMMAbundance(tokenGlobalIn, tokenGlobalOut,
152
+ // relativePrice: bigint,
153
+ tokenAmountOut, baseFee) {
154
+ const adaptiveFees = baseFee; /*MathMMM.getAdaptiveFees(
155
+ tokenGlobalIn,
156
+ Num.mul(tokenAmountOut, relativePrice),
157
+ tokenGlobalOut,
158
+ tokenAmountOut,
159
+ relativePrice,
160
+ baseFee,
161
+ fallbackSpread,
162
+ currentTimestamp,
163
+ );*/
164
+ return MathMMM.calcInGivenOut(tokenGlobalIn.info.balance, tokenGlobalIn.info.weight, tokenGlobalOut.info.balance, tokenGlobalOut.info.weight, tokenAmountOut, adaptiveFees);
165
+ }
166
+ /**
167
+ * @notice Computes the net value of a given tokenIn amount in tokenOut terms
168
+ * @dev A spread is applied as soon as entering a "shortage of tokenOut" phase
169
+ * cf whitepaper: https://www.swaap.finance/whitepaper.pdf
170
+ * @param tokenGlobalIn The pool global information on tokenIn
171
+ * @param tokenGlobalOut The pool global information on tokenOut
172
+ * @param relativePrice The price of tokenOut in tokenIn terms
173
+ * @param swapParameters Amount of token in and swap fee
174
+ * @param gbmParameters The GBM forecast parameters (Z, horizon)
175
+ * @param hpParameters The parameters for historical prices retrieval
176
+ * @return swapResult The swap result (amount out, spread and tax base in)
177
+ */
178
+ static calcOutGivenInMMM(tokenGlobalIn, tokenGlobalOut, relativePrice, swapParameters, gbmParameters, hpParameters, historicalPricesIn, historicalPricesOut, currentTimestamp) {
179
+ // determines the balance of tokenIn at equilibrium (cf definitions)
180
+ const balanceInAtEquilibrium = MathMMM.getTokenBalanceAtEquilibrium(tokenGlobalIn.info.balance, tokenGlobalIn.info.weight, tokenGlobalOut.info.balance, tokenGlobalOut.info.weight, relativePrice);
181
+ // from abundance of tokenOut to abundance of tokenOut --> no spread
182
+ {
183
+ if (tokenGlobalIn.info.balance < balanceInAtEquilibrium &&
184
+ swapParameters.amount <
185
+ balanceInAtEquilibrium - tokenGlobalIn.info.balance) {
186
+ return {
187
+ amount: MathMMM._calcOutGivenInMMMAbundance(tokenGlobalIn, tokenGlobalOut, relativePrice, swapParameters.amount, swapParameters.fee, swapParameters.fallbackSpread, currentTimestamp),
188
+ spread: 0n,
189
+ taxBaseIn: 0n,
190
+ };
191
+ }
192
+ }
193
+ {
194
+ const gbmEstimation = GeometricBrownianMotion_1.GeometricBrownianMotion.getParametersEstimation(tokenGlobalIn.latestRound, tokenGlobalOut.latestRound, hpParameters, historicalPricesIn, historicalPricesOut);
195
+ const [adjustedTokenOutWeight, spread] = MathMMM.getMMMWeight(true, swapParameters.fallbackSpread, tokenGlobalOut.info.weight, gbmEstimation, gbmParameters);
196
+ if (tokenGlobalIn.info.balance >= balanceInAtEquilibrium) {
197
+ // shortage to shortage
198
+ return {
199
+ amount: MathMMM.calcOutGivenIn(tokenGlobalIn.info.balance, tokenGlobalIn.info.weight, tokenGlobalOut.info.balance, adjustedTokenOutWeight, swapParameters.amount, swapParameters.fee),
200
+ spread: spread,
201
+ taxBaseIn: swapParameters.amount,
202
+ };
203
+ }
204
+ else {
205
+ // abundance to shortage
206
+ const [amount, taxBaseIn] = MathMMM._calcOutGivenInMMMMixed(tokenGlobalIn, tokenGlobalOut, swapParameters, relativePrice, adjustedTokenOutWeight, balanceInAtEquilibrium, currentTimestamp);
207
+ return {
208
+ amount: amount,
209
+ spread: spread,
210
+ taxBaseIn: taxBaseIn,
211
+ };
212
+ }
213
+ }
214
+ }
215
+ /**
216
+ * @notice Implements 'calcOutGivenInMMM' in the case of mixed regime of tokenOut (abundance then shortage)
217
+ * @param tokenGlobalIn The pool global information on tokenIn
218
+ * @param tokenGlobalOut The pool global information on tokenOut
219
+ * @param swapParameters The parameters of the swap
220
+ * @param relativePrice The price of tokenOut in tokenIn terms
221
+ * @param adjustedTokenWeightOut The spread-augmented tokenOut's weight
222
+ * @param balanceInAtEquilibrium TokenIn balance at equilibrium
223
+ * @return tokenAmountOut The total amount of token out
224
+ * @return taxBaseIn The amount of tokenIn swapped when in shortage of tokenOut
225
+ */
226
+ static _calcOutGivenInMMMMixed(tokenGlobalIn, tokenGlobalOut, swapParameters, relativePrice, adjustedTokenWeightOut, balanceInAtEquilibrium, currentTimestamp) {
227
+ const tokenInSellAmountForEquilibrium = balanceInAtEquilibrium - tokenGlobalIn.info.balance;
228
+ const taxBaseIn = swapParameters.amount - tokenInSellAmountForEquilibrium;
229
+ // 'abundance of tokenOut' phase --> no spread
230
+ const tokenAmountOutPart1 = MathMMM._calcOutGivenInMMMAbundance(tokenGlobalIn, tokenGlobalOut, relativePrice, tokenInSellAmountForEquilibrium, swapParameters.fee, swapParameters.fallbackSpread, currentTimestamp);
231
+ // 'shortage of tokenOut phase' --> apply spread
232
+ const tokenAmountOutPart2 = MathMMM.calcOutGivenIn(Num_1.Num.add(tokenGlobalIn.info.balance, tokenInSellAmountForEquilibrium), tokenGlobalIn.info.weight, Num_1.Num.sub(tokenGlobalOut.info.balance, tokenAmountOutPart1), adjustedTokenWeightOut, taxBaseIn, // tokenAmountIn > tokenInSellAmountForEquilibrium
233
+ swapParameters.fee);
234
+ return [Num_1.Num.add(tokenAmountOutPart1, tokenAmountOutPart2), taxBaseIn];
235
+ }
236
+ /**
237
+ * @notice Implements calcOutGivenInMMM in the case of abundance of tokenOut
238
+ * @dev A spread is applied as soon as entering a "shortage of tokenOut" phase
239
+ * cf whitepaper: https://www.swaap.finance/whitepaper.pdf
240
+ * @param tokenGlobalIn The pool global information on tokenIn
241
+ * @param tokenGlobalOut The pool global information on tokenOut
242
+ * @param relativePrice The price of tokenOut in tokenIn terms
243
+ * @param tokenAmountIn The amount of tokenIn that will be swaped
244
+ * @param baseFee The base fee
245
+ * @param fallbackSpread The default spread in case the it couldn't be calculated using oracle prices
246
+ * @return tokenAmountOut The tokenAmountOut when the tokenOut is in abundance
247
+ */
248
+ static _calcOutGivenInMMMAbundance(tokenGlobalIn, tokenGlobalOut, relativePrice, tokenAmountIn, baseFee, fallbackSpread, currentTimestamp) {
249
+ const adaptiveFees = baseFee; /*MathMMM.getAdaptiveFees(
250
+ tokenGlobalIn,
251
+ tokenAmountIn,
252
+ tokenGlobalOut,
253
+ Num.div(tokenAmountIn, relativePrice),
254
+ relativePrice,
255
+ baseFee,
256
+ fallbackSpread,
257
+ currentTimestamp,
258
+ );*/
259
+ return MathMMM.calcOutGivenIn(tokenGlobalIn.info.balance, tokenGlobalIn.info.weight, tokenGlobalOut.info.balance, tokenGlobalOut.info.weight, tokenAmountIn, adaptiveFees);
260
+ }
261
+ /**
262
+ * @notice Computes the log spread factor
263
+ * @dev We define it as the log of the p-quantile of a GBM process (log-normal distribution),
264
+ * which is given by the following:
265
+ * mean * horizon + z * sqrt(2 * variance * horizon)
266
+ * where z = ierf(2p - 1), with ierf being the inverse error function.
267
+ * GBM: https://en.wikipedia.org/wiki/Geometric_Brownian_motion
268
+ * Log-normal distribution: https://en.wikipedia.org/wiki/Log-normal_distribution
269
+ * erf: https://en.wikipedia.org/wiki/Error_function
270
+ * @param mean The percentage drift
271
+ * @param variance The percentage volatility
272
+ * @param horizon The GBM forecast horizon parameter
273
+ * @param z The GBM forecast z parameter
274
+ * @return x The log spread factor
275
+ */
276
+ static getLogSpreadFactor(mean, variance, horizon, z) {
277
+ if (mean == 0n && variance == 0n) {
278
+ return 0n;
279
+ }
280
+ if (mean < 0) {
281
+ mean = -Num_1.Num.mul(-mean, horizon);
282
+ }
283
+ else {
284
+ mean = Num_1.Num.mul(mean, horizon);
285
+ }
286
+ let diffusion = 0n;
287
+ if (variance > 0) {
288
+ diffusion = Num_1.Num.mul(z, LogExpMath_1.LogExpMath.pow(Num_1.Num.mul(variance, 2n * horizon), Const_1.Const.ONE / 2n));
289
+ }
290
+ return diffusion + mean;
291
+ }
292
+ /**
293
+ * @notice Apply to the tokenWeight a 'spread' factor
294
+ * @dev The spread factor is defined as the maximum between:
295
+ a) the expected relative tokenOut increase in tokenIn terms
296
+ b) 1
297
+ * The function multiplies the tokenWeight by the spread factor if
298
+ * the token is in shortage, or divides it by the spread factor if it is in abundance
299
+ * @param shortage true when the token is in shortage, false if in abundance
300
+ * @param fallbackSpread The default spread in case the it couldn't be calculated using oracle prices
301
+ * @param tokenWeight The token's weight
302
+ * @param gbmEstimation The GBM's 2 first moments estimation
303
+ * @param gbmParameters The GBM forecast parameters (Z, horizon)
304
+ * @return adjustedWeight The adjusted weight based on spread
305
+ * @return spread The spread
306
+ */
307
+ static getMMMWeight(shortage, fallbackSpread, tokenWeight, gbmEstimation, gbmParameters) {
308
+ if (!gbmEstimation.success) {
309
+ if (shortage) {
310
+ return [
311
+ Num_1.Num.mul(tokenWeight, Const_1.Const.ONE + fallbackSpread),
312
+ fallbackSpread,
313
+ ];
314
+ }
315
+ else {
316
+ return [
317
+ Num_1.Num.div(tokenWeight, Const_1.Const.ONE + fallbackSpread),
318
+ fallbackSpread,
319
+ ];
320
+ }
321
+ }
322
+ if (gbmParameters.horizon == 0n) {
323
+ return [tokenWeight, 0n];
324
+ }
325
+ const logSpreadFactor = MathMMM.getLogSpreadFactor(gbmEstimation.mean, gbmEstimation.variance, gbmParameters.horizon, gbmParameters.z);
326
+ if (logSpreadFactor <= 0) {
327
+ return [tokenWeight, 0n];
328
+ }
329
+ const spreadFactor = LogExpMath_1.LogExpMath.exp(logSpreadFactor);
330
+ // if spread < 1 --> rounding error --> set to 1
331
+ if (spreadFactor <= Const_1.Const.ONE) {
332
+ return [tokenWeight, 0n];
333
+ }
334
+ let spread = spreadFactor - Const_1.Const.ONE;
335
+ if (shortage) {
336
+ return [Num_1.Num.mul(tokenWeight, spreadFactor), spread];
337
+ }
338
+ else {
339
+ return [Num_1.Num.div(tokenWeight, spreadFactor), spread];
340
+ }
341
+ }
342
+ /**
343
+ * @notice Computes the fee amount that will ensure we maintain the pool's value, according to oracle prices.
344
+ * @dev We apply this fee regime only if Out-In price increased in the same block as now.
345
+ * @param tokenGlobalIn The pool global information on tokenIn
346
+ * @param tokenAmountIn The swap desired amount for tokenIn
347
+ * @param tokenGlobalOut The pool global information on tokenOut
348
+ * @param tokenAmountOut The swap desired amount for tokenOut
349
+ * @param relativePrice The price of tokenOut in tokenIn terms
350
+ * @param baseFee The base fee amount
351
+ * @param fallbackSpread The default spread in case the it couldn't be calculated using oracle prices
352
+ * @return alpha The potentially augmented fee amount
353
+ */
354
+ /* static getAdaptiveFees(
355
+ tokenGlobalIn: Struct.TokenGlobal,
356
+ tokenAmountIn: bigint,
357
+ tokenGlobalOut: Struct.TokenGlobal,
358
+ tokenAmountOut: bigint,
359
+ relativePrice: bigint,
360
+ baseFee: bigint,
361
+ fallbackSpread: bigint,
362
+ currentTimestamp: bigint,
363
+ ): bigint {
364
+ let blockTimestamp = currentTimestamp;
365
+
366
+ // we only consider same block as last price update
367
+ if (
368
+ blockTimestamp != tokenGlobalIn.latestRound.timestamp &&
369
+ blockTimestamp != tokenGlobalOut.latestRound.timestamp
370
+ ) {
371
+ // no additional fees
372
+ return baseFee;
373
+ }
374
+ let recentPriceUpperBound = ChainlinkUtils.getMaxRelativePriceInLastBlock(
375
+ tokenGlobalIn.latestRound,
376
+ tokenGlobalIn.info.decimals,
377
+ tokenGlobalOut.latestRound,
378
+ tokenGlobalOut.info.decimals,
379
+ // historicalPricesIn,
380
+ // historicalPricesOut
381
+ );
382
+ if (recentPriceUpperBound == 0n) {
383
+ // we were not able to retrieve the previous price
384
+ return fallbackSpread;
385
+ } else if (recentPriceUpperBound <= relativePrice) {
386
+ // no additional fees
387
+ return baseFee;
388
+ }
389
+
390
+ return (
391
+ // additional fees indexed on price increase and imbalance
392
+ Num.min(
393
+ Const.ONE,
394
+ baseFee +
395
+ MathMMM.calcAdaptiveFeeGivenInAndOut(
396
+ tokenGlobalIn.info.balance,
397
+ tokenAmountIn,
398
+ tokenGlobalIn.info.weight,
399
+ tokenGlobalOut.info.balance,
400
+ tokenAmountOut,
401
+ tokenGlobalOut.info.weight,
402
+ ),
403
+ )
404
+ );
405
+ }
406
+ */
407
+ /**
408
+ * @notice Computes the balance of token1 the pool must have in order to have token1/token2 at equilibrium
409
+ * while satisfying the pricing curve prod^k balance_k^w_k = K
410
+ * @dev We only rely on the following equations:
411
+ * a) priceTokenOutOutInTokenIn = balance_in / balance_out * w_out / w_in
412
+ * b) tokenBalanceOut = (K / prod_k!=in balance_k^w_k)^(1/w_out) = (localInvariant / balance_in^w_in)^(1/w_out)
413
+ * with localInvariant = balance_in^w_in * balance_out^w_out which can be computed with only In/Out
414
+ * @param tokenBalance1 The balance of token1 initially
415
+ * @param tokenWeight1 The weight of token1
416
+ * @param tokenBalance2 The balance of token2 initially
417
+ * @param tokenWeight2 The weight of token2
418
+ * @param relativePrice The price of tokenOut in tokenIn terms
419
+ * @return balance1AtEquilibrium The balance of token1 in order to have a token1/token2 at equilibrium
420
+ */
421
+ static getTokenBalanceAtEquilibrium(tokenBalance1, tokenWeight1, tokenBalance2, tokenWeight2, relativePrice) {
422
+ const weightSum = tokenWeight1 + tokenWeight2;
423
+ // relativePrice * weight1/weight2
424
+ let foo = Num_1.Num.mul(relativePrice, Num_1.Num.div(tokenWeight1, tokenWeight2));
425
+ // relativePrice * balance2 * (weight1/weight2)
426
+ foo = Num_1.Num.mul(foo, tokenBalance2);
427
+ const balance1AtEquilibrium = Num_1.Num.mul(LogExpMath_1.LogExpMath.pow(foo, Num_1.Num.div(tokenWeight2, weightSum)), LogExpMath_1.LogExpMath.pow(tokenBalance1, Num_1.Num.div(tokenWeight1, weightSum)));
428
+ return balance1AtEquilibrium;
429
+ }
430
+ /**
431
+ * @notice Computes the fee needed to maintain the pool's value constant
432
+ * @dev We use oracle to evaluate pool's value
433
+ * @param tokenBalanceIn The balance of tokenIn initially
434
+ * @param tokenAmountIn The amount of tokenIn to be added
435
+ * @param tokenWeightIn The weight of tokenIn
436
+ * @param tokenBalanceOut The balance of tokenOut initially
437
+ * @param tokenAmountOut The amount of tokenOut to be removed from the pool
438
+ * @param tokenWeightOut The weight of tokenOut
439
+ * @return adaptiveFee The computed adaptive fee to be added to the base fees
440
+ */
441
+ static calcAdaptiveFeeGivenInAndOut(tokenBalanceIn, tokenAmountIn, tokenWeightIn, tokenBalanceOut, tokenAmountOut, tokenWeightOut) {
442
+ const weightRatio = Num_1.Num.div(tokenWeightOut, tokenWeightIn);
443
+ const y = Num_1.Num.div(tokenBalanceOut, tokenBalanceOut - tokenAmountOut);
444
+ const foo = Num_1.Num.mul(tokenBalanceIn, Num_1.Num.pow(y, weightRatio));
445
+ const afterSwapTokenInBalance = tokenBalanceIn + tokenAmountIn;
446
+ if (foo > afterSwapTokenInBalance) {
447
+ return 0n;
448
+ }
449
+ return Num_1.Num.div(afterSwapTokenInBalance - foo, tokenAmountIn);
450
+ }
451
+ }
452
+ exports.MathMMM = MathMMM;
453
453
  //# sourceMappingURL=MathMMM.js.map