@paraswap/dex-lib 4.2.3-0 → 4.2.3-10

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 (372) hide show
  1. package/build/abi/miro-migrator/MiroMigrator.abi.json +540 -0
  2. package/build/dex/maverick-v1/maverick-v1.d.ts +1 -0
  3. package/build/dex/maverick-v1/maverick-v1.js +73 -4
  4. package/build/dex/maverick-v1/maverick-v1.js.map +1 -1
  5. package/build/dex/{usual-m-smart-m → miro-migrator}/config.d.ts +1 -1
  6. package/build/dex/miro-migrator/config.js +14 -0
  7. package/build/dex/miro-migrator/config.js.map +1 -0
  8. package/build/dex/miro-migrator/constants.d.ts +2 -0
  9. package/build/dex/miro-migrator/constants.js +6 -0
  10. package/build/dex/miro-migrator/constants.js.map +1 -0
  11. package/build/dex/miro-migrator/miro-migrator-pool.d.ts +27 -0
  12. package/build/dex/miro-migrator/miro-migrator-pool.js +89 -0
  13. package/build/dex/miro-migrator/miro-migrator-pool.js.map +1 -0
  14. package/build/dex/{aave-v1/aave-v1.d.ts → miro-migrator/miro-migrator.d.ts} +23 -15
  15. package/build/dex/miro-migrator/miro-migrator.js +174 -0
  16. package/build/dex/miro-migrator/miro-migrator.js.map +1 -0
  17. package/build/dex/miro-migrator/types.d.ts +13 -0
  18. package/build/dex/miro-migrator/types.js +8 -0
  19. package/build/dex/miro-migrator/types.js.map +1 -0
  20. package/build/dex/nerve/nerve.d.ts +4 -2
  21. package/build/dex/nerve/nerve.js +29 -7
  22. package/build/dex/nerve/nerve.js.map +1 -1
  23. package/build/dex/solidly/config.js +4 -3
  24. package/build/dex/solidly/config.js.map +1 -1
  25. package/build/dex/solidly/forks-override/equalizer.d.ts +5 -2
  26. package/build/dex/solidly/forks-override/equalizer.js +31 -2
  27. package/build/dex/solidly/forks-override/equalizer.js.map +1 -1
  28. package/build/dex/solidly/forks-override/pharaohV1.d.ts +5 -2
  29. package/build/dex/solidly/forks-override/pharaohV1.js +35 -2
  30. package/build/dex/solidly/forks-override/pharaohV1.js.map +1 -1
  31. package/build/dex/solidly/forks-override/velocimeter.d.ts +5 -2
  32. package/build/dex/solidly/forks-override/velocimeter.js +31 -2
  33. package/build/dex/solidly/forks-override/velocimeter.js.map +1 -1
  34. package/build/dex/solidly/forks-override/velodromeV2.d.ts +15 -2
  35. package/build/dex/solidly/forks-override/velodromeV2.js +32 -2
  36. package/build/dex/solidly/forks-override/velodromeV2.js.map +1 -1
  37. package/build/dex/solidly/rpc-pool-tracker.d.ts +26 -0
  38. package/build/dex/solidly/rpc-pool-tracker.js +228 -0
  39. package/build/dex/solidly/rpc-pool-tracker.js.map +1 -0
  40. package/build/dex/uniswap-v3/uniswap-v3.d.ts +1 -0
  41. package/build/dex/uniswap-v3/uniswap-v3.js +74 -4
  42. package/build/dex/uniswap-v3/uniswap-v3.js.map +1 -1
  43. package/build/dex/uniswap-v4/optimizer.d.ts +2 -0
  44. package/build/dex/uniswap-v4/optimizer.js +47 -0
  45. package/build/dex/uniswap-v4/optimizer.js.map +1 -0
  46. package/build/dex-helper/dummy-dex-helper.d.ts +1 -0
  47. package/build/dex-helper/dummy-dex-helper.js +8 -0
  48. package/build/dex-helper/dummy-dex-helper.js.map +1 -1
  49. package/build/dex-helper/idex-helper.d.ts +2 -0
  50. package/build/pools-helper.js +1 -1
  51. package/build/pools-helper.js.map +1 -1
  52. package/package.json +1 -1
  53. package/build/abi/AaveV1_lending_pool.json +0 -27
  54. package/build/abi/BProtocol.json +0 -1155
  55. package/build/abi/Jarvis.json +0 -1172
  56. package/build/abi/MStableAsset.json +0 -1545
  57. package/build/abi/OneInchLp.json +0 -1304
  58. package/build/abi/Onebit.json +0 -736
  59. package/build/abi/Shell.json +0 -1294
  60. package/build/abi/TraderJoeV2Router.json +0 -50
  61. package/build/abi/inception/inception-ineth-pool.json +0 -1062
  62. package/build/abi/inception/inception-ratio-feed.json +0 -329
  63. package/build/abi/inception/inception-vault.json +0 -991
  64. package/build/abi/platypus/asset.json +0 -490
  65. package/build/abi/platypus/avax-pool.json +0 -820
  66. package/build/abi/platypus/oracle.json +0 -119
  67. package/build/abi/platypus/pool.json +0 -677
  68. package/build/abi/smardex/all/smardex-router.json +0 -648
  69. package/build/abi/smardex/layer-1/smardex-factory.json +0 -242
  70. package/build/abi/smardex/layer-1/smardex-pool.json +0 -506
  71. package/build/abi/smardex/layer-2/smardex-factory.json +0 -185
  72. package/build/abi/smardex/layer-2/smardex-pool.json +0 -578
  73. package/build/abi/swaap-v1/pool.json +0 -1346
  74. package/build/abi/uniswap-v3/AlienBaseV3Router.abi.json +0 -52
  75. package/build/abi/usual-m-smart-m/usualM.abi.json +0 -483
  76. package/build/abi/wUSDM.json +0 -757
  77. package/build/abi/wombat/pool.json +0 -1289
  78. package/build/abi/zrx.v2.json +0 -1967
  79. package/build/abi/zrx.v3.json +0 -3454
  80. package/build/abi/zrx.v4.json +0 -2193
  81. package/build/dex/OneInchLp.d.ts +0 -24
  82. package/build/dex/OneInchLp.js +0 -43
  83. package/build/dex/OneInchLp.js.map +0 -1
  84. package/build/dex/aave-v1/aave-v1.js +0 -181
  85. package/build/dex/aave-v1/aave-v1.js.map +0 -1
  86. package/build/dex/aave-v1/config.d.ts +0 -11
  87. package/build/dex/aave-v1/config.js +0 -20
  88. package/build/dex/aave-v1/config.js.map +0 -1
  89. package/build/dex/aave-v1/tokens-mainnet.json +0 -134
  90. package/build/dex/aave-v1/tokens.d.ts +0 -3
  91. package/build/dex/aave-v1/tokens.js +0 -50
  92. package/build/dex/aave-v1/tokens.js.map +0 -1
  93. package/build/dex/aave-v1/types.d.ts +0 -12
  94. package/build/dex/aave-v1/types.js +0 -3
  95. package/build/dex/aave-v1/types.js.map +0 -1
  96. package/build/dex/aave-v2/tokens-avalanche.json +0 -44
  97. package/build/dex/aave-v2/tokens-mainnet.json +0 -188
  98. package/build/dex/aave-v2/tokens-polygon.json +0 -44
  99. package/build/dex/bProtocol/bProtocol.d.ts +0 -15
  100. package/build/dex/bProtocol/bProtocol.js +0 -56
  101. package/build/dex/bProtocol/bProtocol.js.map +0 -1
  102. package/build/dex/bProtocol/types.d.ts +0 -11
  103. package/build/dex/bProtocol/types.js +0 -8
  104. package/build/dex/bProtocol/types.js.map +0 -1
  105. package/build/dex/bProtocol.d.ts +0 -18
  106. package/build/dex/bProtocol.js +0 -39
  107. package/build/dex/bProtocol.js.map +0 -1
  108. package/build/dex/balancer-v3/abi/balancerBatchRouter.d.ts +0 -729
  109. package/build/dex/balancer-v3/abi/balancerBatchRouter.js +0 -732
  110. package/build/dex/balancer-v3/abi/balancerBatchRouter.js.map +0 -1
  111. package/build/dex/balancer-v3/abi/balancerRouter.d.ts +0 -1406
  112. package/build/dex/balancer-v3/abi/balancerRouter.js +0 -1175
  113. package/build/dex/balancer-v3/abi/balancerRouter.js.map +0 -1
  114. package/build/dex/balancer-v3/abi/vaultExtension.V3.d.ts +0 -2081
  115. package/build/dex/balancer-v3/abi/vaultExtension.V3.js +0 -1851
  116. package/build/dex/balancer-v3/abi/vaultExtension.V3.js.map +0 -1
  117. package/build/dex/balancer-v3/balancer-v3-sepolia-pools.d.ts +0 -34
  118. package/build/dex/balancer-v3/balancer-v3-sepolia-pools.js +0 -406
  119. package/build/dex/balancer-v3/balancer-v3-sepolia-pools.js.map +0 -1
  120. package/build/dex/bancor.d.ts +0 -26
  121. package/build/dex/bancor.js +0 -58
  122. package/build/dex/bancor.js.map +0 -1
  123. package/build/dex/compound.d.ts +0 -18
  124. package/build/dex/compound.js +0 -46
  125. package/build/dex/compound.js.map +0 -1
  126. package/build/dex/curve-v2.d.ts +0 -58
  127. package/build/dex/curve-v2.js +0 -180
  128. package/build/dex/curve-v2.js.map +0 -1
  129. package/build/dex/dodo-v1.d.ts +0 -33
  130. package/build/dex/dodo-v1.js +0 -63
  131. package/build/dex/dodo-v1.js.map +0 -1
  132. package/build/dex/erc4626/scripts/validate-state.d.ts +0 -0
  133. package/build/dex/erc4626/scripts/validate-state.js +0 -146
  134. package/build/dex/erc4626/scripts/validate-state.js.map +0 -1
  135. package/build/dex/inception/config.d.ts +0 -4
  136. package/build/dex/inception/config.js +0 -109
  137. package/build/dex/inception/config.js.map +0 -1
  138. package/build/dex/inception/inception-event-pool.d.ts +0 -16
  139. package/build/dex/inception/inception-event-pool.js +0 -49
  140. package/build/dex/inception/inception-event-pool.js.map +0 -1
  141. package/build/dex/inception/inception.d.ts +0 -43
  142. package/build/dex/inception/inception.js +0 -180
  143. package/build/dex/inception/inception.js.map +0 -1
  144. package/build/dex/inception/tokens.d.ts +0 -9
  145. package/build/dex/inception/tokens.js +0 -28
  146. package/build/dex/inception/tokens.js.map +0 -1
  147. package/build/dex/inception/types.d.ts +0 -22
  148. package/build/dex/inception/types.js +0 -3
  149. package/build/dex/inception/types.js.map +0 -1
  150. package/build/dex/inception/utils.d.ts +0 -7
  151. package/build/dex/inception/utils.js +0 -58
  152. package/build/dex/inception/utils.js.map +0 -1
  153. package/build/dex/jarvis.d.ts +0 -56
  154. package/build/dex/jarvis.js +0 -163
  155. package/build/dex/jarvis.js.map +0 -1
  156. package/build/dex/lido.d.ts +0 -19
  157. package/build/dex/lido.js +0 -42
  158. package/build/dex/lido.js.map +0 -1
  159. package/build/dex/mStable.d.ts +0 -44
  160. package/build/dex/mStable.js +0 -75
  161. package/build/dex/mStable.js.map +0 -1
  162. package/build/dex/maker-psm/scripts/gem.abi.json +0 -136
  163. package/build/dex/maker-psm/scripts/validate-state.d.ts +0 -0
  164. package/build/dex/maker-psm/scripts/validate-state.js +0 -185
  165. package/build/dex/maker-psm/scripts/validate-state.js.map +0 -1
  166. package/build/dex/maker-psm/scripts/vat.abi.json +0 -243
  167. package/build/dex/onebit/onebit.d.ts +0 -16
  168. package/build/dex/onebit/onebit.js +0 -61
  169. package/build/dex/onebit/onebit.js.map +0 -1
  170. package/build/dex/onebit/types.d.ts +0 -14
  171. package/build/dex/onebit/types.js +0 -8
  172. package/build/dex/onebit/types.js.map +0 -1
  173. package/build/dex/onebit.d.ts +0 -25
  174. package/build/dex/onebit.js +0 -42
  175. package/build/dex/onebit.js.map +0 -1
  176. package/build/dex/platypus/asset.d.ts +0 -14
  177. package/build/dex/platypus/asset.js +0 -97
  178. package/build/dex/platypus/asset.js.map +0 -1
  179. package/build/dex/platypus/config.d.ts +0 -11
  180. package/build/dex/platypus/config.js +0 -69
  181. package/build/dex/platypus/config.js.map +0 -1
  182. package/build/dex/platypus/platypus.d.ts +0 -63
  183. package/build/dex/platypus/platypus.js +0 -487
  184. package/build/dex/platypus/platypus.js.map +0 -1
  185. package/build/dex/platypus/pool-avax.d.ts +0 -8
  186. package/build/dex/platypus/pool-avax.js +0 -54
  187. package/build/dex/platypus/pool-avax.js.map +0 -1
  188. package/build/dex/platypus/pool-base.d.ts +0 -19
  189. package/build/dex/platypus/pool-base.js +0 -86
  190. package/build/dex/platypus/pool-base.js.map +0 -1
  191. package/build/dex/platypus/pool-pure.d.ts +0 -8
  192. package/build/dex/platypus/pool-pure.js +0 -37
  193. package/build/dex/platypus/pool-pure.js.map +0 -1
  194. package/build/dex/platypus/pool-subscriber.d.ts +0 -14
  195. package/build/dex/platypus/pool-subscriber.js +0 -167
  196. package/build/dex/platypus/pool-subscriber.js.map +0 -1
  197. package/build/dex/platypus/pool.d.ts +0 -8
  198. package/build/dex/platypus/pool.js +0 -58
  199. package/build/dex/platypus/pool.js.map +0 -1
  200. package/build/dex/platypus/types.d.ts +0 -92
  201. package/build/dex/platypus/types.js +0 -10
  202. package/build/dex/platypus/types.js.map +0 -1
  203. package/build/dex/quickswap/spiritswap-v3.d.ts +0 -6
  204. package/build/dex/quickswap/spiritswap-v3.js +0 -19
  205. package/build/dex/quickswap/spiritswap-v3.js.map +0 -1
  206. package/build/dex/shell.d.ts +0 -25
  207. package/build/dex/shell.js +0 -41
  208. package/build/dex/shell.js.map +0 -1
  209. package/build/dex/smardex/config.d.ts +0 -4
  210. package/build/dex/smardex/config.js +0 -64
  211. package/build/dex/smardex/config.js.map +0 -1
  212. package/build/dex/smardex/constants.d.ts +0 -18
  213. package/build/dex/smardex/constants.js +0 -33
  214. package/build/dex/smardex/constants.js.map +0 -1
  215. package/build/dex/smardex/sdk/constants.d.ts +0 -6
  216. package/build/dex/smardex/sdk/constants.js +0 -13
  217. package/build/dex/smardex/sdk/constants.js.map +0 -1
  218. package/build/dex/smardex/sdk/core.d.ts +0 -113
  219. package/build/dex/smardex/sdk/core.js +0 -499
  220. package/build/dex/smardex/sdk/core.js.map +0 -1
  221. package/build/dex/smardex/sdk/errors.d.ts +0 -15
  222. package/build/dex/smardex/sdk/errors.js +0 -22
  223. package/build/dex/smardex/sdk/errors.js.map +0 -1
  224. package/build/dex/smardex/sdk/types.d.ts +0 -62
  225. package/build/dex/smardex/sdk/types.js +0 -3
  226. package/build/dex/smardex/sdk/types.js.map +0 -1
  227. package/build/dex/smardex/sdk/utils.d.ts +0 -44
  228. package/build/dex/smardex/sdk/utils.js +0 -133
  229. package/build/dex/smardex/sdk/utils.js.map +0 -1
  230. package/build/dex/smardex/smardex-event-pool.d.ts +0 -28
  231. package/build/dex/smardex/smardex-event-pool.js +0 -119
  232. package/build/dex/smardex/smardex-event-pool.js.map +0 -1
  233. package/build/dex/smardex/smardex.d.ts +0 -65
  234. package/build/dex/smardex/smardex.js +0 -519
  235. package/build/dex/smardex/smardex.js.map +0 -1
  236. package/build/dex/smardex/types.d.ts +0 -55
  237. package/build/dex/smardex/types.js +0 -3
  238. package/build/dex/smardex/types.js.map +0 -1
  239. package/build/dex/smoothy.d.ts +0 -26
  240. package/build/dex/smoothy.js +0 -48
  241. package/build/dex/smoothy.js.map +0 -1
  242. package/build/dex/solidly/forks-override/cone.d.ts +0 -22
  243. package/build/dex/solidly/forks-override/cone.js +0 -53
  244. package/build/dex/solidly/forks-override/cone.js.map +0 -1
  245. package/build/dex/solidly/forks-override/solisnek.d.ts +0 -8
  246. package/build/dex/solidly/forks-override/solisnek.js +0 -15
  247. package/build/dex/solidly/forks-override/solisnek.js.map +0 -1
  248. package/build/dex/solidly-v3/scripts/check-event-pool-event.d.ts +0 -1
  249. package/build/dex/solidly-v3/scripts/check-event-pool-event.js +0 -53
  250. package/build/dex/solidly-v3/scripts/check-event-pool-event.js.map +0 -1
  251. package/build/dex/stable-pool.d.ts +0 -28
  252. package/build/dex/stable-pool.js +0 -55
  253. package/build/dex/stable-pool.js.map +0 -1
  254. package/build/dex/swaap-v1/config.d.ts +0 -17
  255. package/build/dex/swaap-v1/config.js +0 -56
  256. package/build/dex/swaap-v1/config.js.map +0 -1
  257. package/build/dex/swaap-v1/constants.d.ts +0 -6
  258. package/build/dex/swaap-v1/constants.js +0 -17
  259. package/build/dex/swaap-v1/constants.js.map +0 -1
  260. package/build/dex/swaap-v1/libraries/ChainlinkUtils.d.ts +0 -25
  261. package/build/dex/swaap-v1/libraries/ChainlinkUtils.js +0 -62
  262. package/build/dex/swaap-v1/libraries/ChainlinkUtils.js.map +0 -1
  263. package/build/dex/swaap-v1/libraries/Const.d.ts +0 -18
  264. package/build/dex/swaap-v1/libraries/Const.js +0 -26
  265. package/build/dex/swaap-v1/libraries/Const.js.map +0 -1
  266. package/build/dex/swaap-v1/libraries/GeometricBrownianMotion.d.ts +0 -77
  267. package/build/dex/swaap-v1/libraries/GeometricBrownianMotion.js +0 -316
  268. package/build/dex/swaap-v1/libraries/GeometricBrownianMotion.js.map +0 -1
  269. package/build/dex/swaap-v1/libraries/LogExpMath.d.ts +0 -75
  270. package/build/dex/swaap-v1/libraries/LogExpMath.js +0 -418
  271. package/build/dex/swaap-v1/libraries/LogExpMath.js.map +0 -1
  272. package/build/dex/swaap-v1/libraries/MathMMM.d.ts +0 -185
  273. package/build/dex/swaap-v1/libraries/MathMMM.js +0 -453
  274. package/build/dex/swaap-v1/libraries/MathMMM.js.map +0 -1
  275. package/build/dex/swaap-v1/libraries/Num.d.ts +0 -31
  276. package/build/dex/swaap-v1/libraries/Num.js +0 -167
  277. package/build/dex/swaap-v1/libraries/Num.js.map +0 -1
  278. package/build/dex/swaap-v1/libraries/PoolQuotations.d.ts +0 -23
  279. package/build/dex/swaap-v1/libraries/PoolQuotations.js +0 -131
  280. package/build/dex/swaap-v1/libraries/PoolQuotations.js.map +0 -1
  281. package/build/dex/swaap-v1/libraries/Struct.d.ts +0 -56
  282. package/build/dex/swaap-v1/libraries/Struct.js +0 -3
  283. package/build/dex/swaap-v1/libraries/Struct.js.map +0 -1
  284. package/build/dex/swaap-v1/swaap-v1-pool.d.ts +0 -45
  285. package/build/dex/swaap-v1/swaap-v1-pool.js +0 -656
  286. package/build/dex/swaap-v1/swaap-v1-pool.js.map +0 -1
  287. package/build/dex/swaap-v1/swaap-v1.d.ts +0 -62
  288. package/build/dex/swaap-v1/swaap-v1.js +0 -383
  289. package/build/dex/swaap-v1/swaap-v1.js.map +0 -1
  290. package/build/dex/swaap-v1/types.d.ts +0 -106
  291. package/build/dex/swaap-v1/types.js +0 -9
  292. package/build/dex/swaap-v1/types.js.map +0 -1
  293. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.d.ts +0 -7
  294. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js +0 -20
  295. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js.map +0 -1
  296. package/build/dex/trader-joe-v2.1.d.ts +0 -43
  297. package/build/dex/trader-joe-v2.1.js +0 -79
  298. package/build/dex/trader-joe-v2.1.js.map +0 -1
  299. package/build/dex/trader-joe-v2.d.ts +0 -40
  300. package/build/dex/trader-joe-v2.js +0 -74
  301. package/build/dex/trader-joe-v2.js.map +0 -1
  302. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.d.ts +0 -17
  303. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js +0 -64
  304. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js.map +0 -1
  305. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.d.ts +0 -17
  306. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js +0 -79
  307. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js.map +0 -1
  308. package/build/dex/uniswap-v3/uniswap-v3-pricing.d.ts +0 -4
  309. package/build/dex/uniswap-v3/uniswap-v3-pricing.js +0 -43
  310. package/build/dex/uniswap-v3/uniswap-v3-pricing.js.map +0 -1
  311. package/build/dex/uniswap-v3/uniswap-v3-worker.d.ts +0 -1
  312. package/build/dex/uniswap-v3/uniswap-v3-worker.js +0 -10
  313. package/build/dex/uniswap-v3/uniswap-v3-worker.js.map +0 -1
  314. package/build/dex/usual/usual-m-smart-m.d.ts +0 -17
  315. package/build/dex/usual/usual-m-smart-m.js +0 -50
  316. package/build/dex/usual/usual-m-smart-m.js.map +0 -1
  317. package/build/dex/usual-bond/config.d.ts +0 -3
  318. package/build/dex/usual-bond/config.js +0 -13
  319. package/build/dex/usual-bond/config.js.map +0 -1
  320. package/build/dex/usual-bond/types.d.ts +0 -7
  321. package/build/dex/usual-bond/types.js +0 -3
  322. package/build/dex/usual-bond/types.js.map +0 -1
  323. package/build/dex/usual-bond/usual-bond.d.ts +0 -35
  324. package/build/dex/usual-bond/usual-bond.js +0 -176
  325. package/build/dex/usual-bond/usual-bond.js.map +0 -1
  326. package/build/dex/usual-m-smart-m/config.js +0 -13
  327. package/build/dex/usual-m-smart-m/config.js.map +0 -1
  328. package/build/dex/usual-m-smart-m/types.d.ts +0 -7
  329. package/build/dex/usual-m-smart-m/types.js +0 -3
  330. package/build/dex/usual-m-smart-m/types.js.map +0 -1
  331. package/build/dex/usual-m-smart-m/usual-m-smart-m.d.ts +0 -35
  332. package/build/dex/usual-m-smart-m/usual-m-smart-m.js +0 -161
  333. package/build/dex/usual-m-smart-m/usual-m-smart-m.js.map +0 -1
  334. package/build/dex/usual-m-usd0/config.d.ts +0 -3
  335. package/build/dex/usual-m-usd0/config.js +0 -14
  336. package/build/dex/usual-m-usd0/config.js.map +0 -1
  337. package/build/dex/usual-m-usd0/types.d.ts +0 -8
  338. package/build/dex/usual-m-usd0/types.js +0 -3
  339. package/build/dex/usual-m-usd0/types.js.map +0 -1
  340. package/build/dex/usual-m-usd0/usual-m-usd0.d.ts +0 -35
  341. package/build/dex/usual-m-usd0/usual-m-usd0.js +0 -159
  342. package/build/dex/usual-m-usd0/usual-m-usd0.js.map +0 -1
  343. package/build/dex/wusdm/config.d.ts +0 -3
  344. package/build/dex/wusdm/config.js +0 -43
  345. package/build/dex/wusdm/config.js.map +0 -1
  346. package/build/dex/wusdm/constants.d.ts +0 -2
  347. package/build/dex/wusdm/constants.js +0 -6
  348. package/build/dex/wusdm/constants.js.map +0 -1
  349. package/build/dex/wusdm/types.d.ts +0 -18
  350. package/build/dex/wusdm/types.js +0 -11
  351. package/build/dex/wusdm/types.js.map +0 -1
  352. package/build/dex/wusdm/wusdm-pool.d.ts +0 -21
  353. package/build/dex/wusdm/wusdm-pool.js +0 -74
  354. package/build/dex/wusdm/wusdm-pool.js.map +0 -1
  355. package/build/dex/wusdm/wusdm.d.ts +0 -46
  356. package/build/dex/wusdm/wusdm.js +0 -243
  357. package/build/dex/wusdm/wusdm.js.map +0 -1
  358. package/build/dex/zerox/config.d.ts +0 -2
  359. package/build/dex/zerox/config.js +0 -33
  360. package/build/dex/zerox/config.js.map +0 -1
  361. package/build/dex/zerox/index.d.ts +0 -22
  362. package/build/dex/zerox/index.js +0 -225
  363. package/build/dex/zerox/index.js.map +0 -1
  364. package/build/dex/zerox/order.d.ts +0 -88
  365. package/build/dex/zerox/order.js +0 -53
  366. package/build/dex/zerox/order.js.map +0 -1
  367. package/build/dex/zerox/types.d.ts +0 -73
  368. package/build/dex/zerox/types.js +0 -21
  369. package/build/dex/zerox/types.js.map +0 -1
  370. /package/build/dex/uniswap-v4/contract-math/{TickBitmap.d.ts → TickBitMap.d.ts} +0 -0
  371. /package/build/dex/uniswap-v4/contract-math/{TickBitmap.js → TickBitMap.js} +0 -0
  372. /package/build/dex/uniswap-v4/contract-math/{TickBitmap.js.map → TickBitMap.js.map} +0 -0
@@ -1,52 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- {
5
- "components": [
6
- { "internalType": "bytes", "name": "path", "type": "bytes" },
7
- { "internalType": "address", "name": "recipient", "type": "address" },
8
- { "internalType": "uint256", "name": "amountIn", "type": "uint256" },
9
- {
10
- "internalType": "uint256",
11
- "name": "amountOutMinimum",
12
- "type": "uint256"
13
- }
14
- ],
15
- "internalType": "struct ISwapRouter.ExactInputParams",
16
- "name": "params",
17
- "type": "tuple"
18
- }
19
- ],
20
- "name": "exactInput",
21
- "outputs": [
22
- { "internalType": "uint256", "name": "amountOut", "type": "uint256" }
23
- ],
24
- "stateMutability": "payable",
25
- "type": "function"
26
- },
27
- {
28
- "inputs": [
29
- {
30
- "components": [
31
- { "internalType": "bytes", "name": "path", "type": "bytes" },
32
- { "internalType": "address", "name": "recipient", "type": "address" },
33
- { "internalType": "uint256", "name": "amountOut", "type": "uint256" },
34
- {
35
- "internalType": "uint256",
36
- "name": "amountInMaximum",
37
- "type": "uint256"
38
- }
39
- ],
40
- "internalType": "struct ISwapRouter.ExactOutputParams",
41
- "name": "params",
42
- "type": "tuple"
43
- }
44
- ],
45
- "name": "exactOutput",
46
- "outputs": [
47
- { "internalType": "uint256", "name": "amountIn", "type": "uint256" }
48
- ],
49
- "stateMutability": "payable",
50
- "type": "function"
51
- }
52
- ]
@@ -1,483 +0,0 @@
1
- [
2
- { "type": "constructor", "inputs": [], "stateMutability": "nonpayable" },
3
- {
4
- "type": "function",
5
- "name": "DOMAIN_SEPARATOR",
6
- "inputs": [],
7
- "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }],
8
- "stateMutability": "view"
9
- },
10
- {
11
- "type": "function",
12
- "name": "UsualMStorageV0Location",
13
- "inputs": [],
14
- "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }],
15
- "stateMutability": "view"
16
- },
17
- {
18
- "type": "function",
19
- "name": "allowance",
20
- "inputs": [
21
- { "name": "owner", "type": "address", "internalType": "address" },
22
- { "name": "spender", "type": "address", "internalType": "address" }
23
- ],
24
- "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }],
25
- "stateMutability": "view"
26
- },
27
- {
28
- "type": "function",
29
- "name": "approve",
30
- "inputs": [
31
- { "name": "spender", "type": "address", "internalType": "address" },
32
- { "name": "value", "type": "uint256", "internalType": "uint256" }
33
- ],
34
- "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }],
35
- "stateMutability": "nonpayable"
36
- },
37
- {
38
- "type": "function",
39
- "name": "balanceOf",
40
- "inputs": [
41
- { "name": "account", "type": "address", "internalType": "address" }
42
- ],
43
- "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }],
44
- "stateMutability": "view"
45
- },
46
- {
47
- "type": "function",
48
- "name": "blacklist",
49
- "inputs": [
50
- { "name": "account", "type": "address", "internalType": "address" }
51
- ],
52
- "outputs": [],
53
- "stateMutability": "nonpayable"
54
- },
55
- {
56
- "type": "function",
57
- "name": "decimals",
58
- "inputs": [],
59
- "outputs": [{ "name": "", "type": "uint8", "internalType": "uint8" }],
60
- "stateMutability": "pure"
61
- },
62
- {
63
- "type": "function",
64
- "name": "eip712Domain",
65
- "inputs": [],
66
- "outputs": [
67
- { "name": "fields", "type": "bytes1", "internalType": "bytes1" },
68
- { "name": "name", "type": "string", "internalType": "string" },
69
- { "name": "version", "type": "string", "internalType": "string" },
70
- { "name": "chainId", "type": "uint256", "internalType": "uint256" },
71
- {
72
- "name": "verifyingContract",
73
- "type": "address",
74
- "internalType": "address"
75
- },
76
- { "name": "salt", "type": "bytes32", "internalType": "bytes32" },
77
- {
78
- "name": "extensions",
79
- "type": "uint256[]",
80
- "internalType": "uint256[]"
81
- }
82
- ],
83
- "stateMutability": "view"
84
- },
85
- {
86
- "type": "function",
87
- "name": "initialize",
88
- "inputs": [
89
- { "name": "smartM_", "type": "address", "internalType": "address" },
90
- {
91
- "name": "registryAccess_",
92
- "type": "address",
93
- "internalType": "address"
94
- }
95
- ],
96
- "outputs": [],
97
- "stateMutability": "nonpayable"
98
- },
99
- {
100
- "type": "function",
101
- "name": "isBlacklisted",
102
- "inputs": [
103
- { "name": "account", "type": "address", "internalType": "address" }
104
- ],
105
- "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }],
106
- "stateMutability": "view"
107
- },
108
- {
109
- "type": "function",
110
- "name": "name",
111
- "inputs": [],
112
- "outputs": [{ "name": "", "type": "string", "internalType": "string" }],
113
- "stateMutability": "view"
114
- },
115
- {
116
- "type": "function",
117
- "name": "nonces",
118
- "inputs": [
119
- { "name": "owner", "type": "address", "internalType": "address" }
120
- ],
121
- "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }],
122
- "stateMutability": "view"
123
- },
124
- {
125
- "type": "function",
126
- "name": "pause",
127
- "inputs": [],
128
- "outputs": [],
129
- "stateMutability": "nonpayable"
130
- },
131
- {
132
- "type": "function",
133
- "name": "paused",
134
- "inputs": [],
135
- "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }],
136
- "stateMutability": "view"
137
- },
138
- {
139
- "type": "function",
140
- "name": "permit",
141
- "inputs": [
142
- { "name": "owner", "type": "address", "internalType": "address" },
143
- { "name": "spender", "type": "address", "internalType": "address" },
144
- { "name": "value", "type": "uint256", "internalType": "uint256" },
145
- { "name": "deadline", "type": "uint256", "internalType": "uint256" },
146
- { "name": "v", "type": "uint8", "internalType": "uint8" },
147
- { "name": "r", "type": "bytes32", "internalType": "bytes32" },
148
- { "name": "s", "type": "bytes32", "internalType": "bytes32" }
149
- ],
150
- "outputs": [],
151
- "stateMutability": "nonpayable"
152
- },
153
- {
154
- "type": "function",
155
- "name": "registryAccess",
156
- "inputs": [],
157
- "outputs": [{ "name": "", "type": "address", "internalType": "address" }],
158
- "stateMutability": "view"
159
- },
160
- {
161
- "type": "function",
162
- "name": "smartM",
163
- "inputs": [],
164
- "outputs": [{ "name": "", "type": "address", "internalType": "address" }],
165
- "stateMutability": "view"
166
- },
167
- {
168
- "type": "function",
169
- "name": "symbol",
170
- "inputs": [],
171
- "outputs": [{ "name": "", "type": "string", "internalType": "string" }],
172
- "stateMutability": "view"
173
- },
174
- {
175
- "type": "function",
176
- "name": "totalSupply",
177
- "inputs": [],
178
- "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }],
179
- "stateMutability": "view"
180
- },
181
- {
182
- "type": "function",
183
- "name": "transfer",
184
- "inputs": [
185
- { "name": "to", "type": "address", "internalType": "address" },
186
- { "name": "value", "type": "uint256", "internalType": "uint256" }
187
- ],
188
- "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }],
189
- "stateMutability": "nonpayable"
190
- },
191
- {
192
- "type": "function",
193
- "name": "transferFrom",
194
- "inputs": [
195
- { "name": "from", "type": "address", "internalType": "address" },
196
- { "name": "to", "type": "address", "internalType": "address" },
197
- { "name": "value", "type": "uint256", "internalType": "uint256" }
198
- ],
199
- "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }],
200
- "stateMutability": "nonpayable"
201
- },
202
- {
203
- "type": "function",
204
- "name": "unBlacklist",
205
- "inputs": [
206
- { "name": "account", "type": "address", "internalType": "address" }
207
- ],
208
- "outputs": [],
209
- "stateMutability": "nonpayable"
210
- },
211
- {
212
- "type": "function",
213
- "name": "unpause",
214
- "inputs": [],
215
- "outputs": [],
216
- "stateMutability": "nonpayable"
217
- },
218
- {
219
- "type": "function",
220
- "name": "unwrap",
221
- "inputs": [
222
- { "name": "recipient", "type": "address", "internalType": "address" },
223
- { "name": "amount", "type": "uint256", "internalType": "uint256" }
224
- ],
225
- "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }],
226
- "stateMutability": "nonpayable"
227
- },
228
- {
229
- "type": "function",
230
- "name": "unwrap",
231
- "inputs": [
232
- { "name": "recipient", "type": "address", "internalType": "address" }
233
- ],
234
- "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }],
235
- "stateMutability": "nonpayable"
236
- },
237
- {
238
- "type": "function",
239
- "name": "wrap",
240
- "inputs": [
241
- { "name": "recipient", "type": "address", "internalType": "address" }
242
- ],
243
- "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }],
244
- "stateMutability": "nonpayable"
245
- },
246
- {
247
- "type": "function",
248
- "name": "wrap",
249
- "inputs": [
250
- { "name": "recipient", "type": "address", "internalType": "address" },
251
- { "name": "amount", "type": "uint256", "internalType": "uint256" }
252
- ],
253
- "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }],
254
- "stateMutability": "nonpayable"
255
- },
256
- {
257
- "type": "function",
258
- "name": "wrapWithPermit",
259
- "inputs": [
260
- { "name": "recipient", "type": "address", "internalType": "address" },
261
- { "name": "amount", "type": "uint256", "internalType": "uint256" },
262
- { "name": "deadline", "type": "uint256", "internalType": "uint256" },
263
- { "name": "v", "type": "uint8", "internalType": "uint8" },
264
- { "name": "r", "type": "bytes32", "internalType": "bytes32" },
265
- { "name": "s", "type": "bytes32", "internalType": "bytes32" }
266
- ],
267
- "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }],
268
- "stateMutability": "nonpayable"
269
- },
270
- {
271
- "type": "event",
272
- "name": "Approval",
273
- "inputs": [
274
- {
275
- "name": "owner",
276
- "type": "address",
277
- "indexed": true,
278
- "internalType": "address"
279
- },
280
- {
281
- "name": "spender",
282
- "type": "address",
283
- "indexed": true,
284
- "internalType": "address"
285
- },
286
- {
287
- "name": "value",
288
- "type": "uint256",
289
- "indexed": false,
290
- "internalType": "uint256"
291
- }
292
- ],
293
- "anonymous": false
294
- },
295
- {
296
- "type": "event",
297
- "name": "Blacklist",
298
- "inputs": [
299
- {
300
- "name": "account",
301
- "type": "address",
302
- "indexed": true,
303
- "internalType": "address"
304
- }
305
- ],
306
- "anonymous": false
307
- },
308
- {
309
- "type": "event",
310
- "name": "EIP712DomainChanged",
311
- "inputs": [],
312
- "anonymous": false
313
- },
314
- {
315
- "type": "event",
316
- "name": "Initialized",
317
- "inputs": [
318
- {
319
- "name": "version",
320
- "type": "uint64",
321
- "indexed": false,
322
- "internalType": "uint64"
323
- }
324
- ],
325
- "anonymous": false
326
- },
327
- {
328
- "type": "event",
329
- "name": "Paused",
330
- "inputs": [
331
- {
332
- "name": "account",
333
- "type": "address",
334
- "indexed": false,
335
- "internalType": "address"
336
- }
337
- ],
338
- "anonymous": false
339
- },
340
- {
341
- "type": "event",
342
- "name": "Transfer",
343
- "inputs": [
344
- {
345
- "name": "from",
346
- "type": "address",
347
- "indexed": true,
348
- "internalType": "address"
349
- },
350
- {
351
- "name": "to",
352
- "type": "address",
353
- "indexed": true,
354
- "internalType": "address"
355
- },
356
- {
357
- "name": "value",
358
- "type": "uint256",
359
- "indexed": false,
360
- "internalType": "uint256"
361
- }
362
- ],
363
- "anonymous": false
364
- },
365
- {
366
- "type": "event",
367
- "name": "UnBlacklist",
368
- "inputs": [
369
- {
370
- "name": "account",
371
- "type": "address",
372
- "indexed": true,
373
- "internalType": "address"
374
- }
375
- ],
376
- "anonymous": false
377
- },
378
- {
379
- "type": "event",
380
- "name": "Unpaused",
381
- "inputs": [
382
- {
383
- "name": "account",
384
- "type": "address",
385
- "indexed": false,
386
- "internalType": "address"
387
- }
388
- ],
389
- "anonymous": false
390
- },
391
- { "type": "error", "name": "Blacklisted", "inputs": [] },
392
- { "type": "error", "name": "ECDSAInvalidSignature", "inputs": [] },
393
- {
394
- "type": "error",
395
- "name": "ECDSAInvalidSignatureLength",
396
- "inputs": [
397
- { "name": "length", "type": "uint256", "internalType": "uint256" }
398
- ]
399
- },
400
- {
401
- "type": "error",
402
- "name": "ECDSAInvalidSignatureS",
403
- "inputs": [{ "name": "s", "type": "bytes32", "internalType": "bytes32" }]
404
- },
405
- {
406
- "type": "error",
407
- "name": "ERC20InsufficientAllowance",
408
- "inputs": [
409
- { "name": "spender", "type": "address", "internalType": "address" },
410
- { "name": "allowance", "type": "uint256", "internalType": "uint256" },
411
- { "name": "needed", "type": "uint256", "internalType": "uint256" }
412
- ]
413
- },
414
- {
415
- "type": "error",
416
- "name": "ERC20InsufficientBalance",
417
- "inputs": [
418
- { "name": "sender", "type": "address", "internalType": "address" },
419
- { "name": "balance", "type": "uint256", "internalType": "uint256" },
420
- { "name": "needed", "type": "uint256", "internalType": "uint256" }
421
- ]
422
- },
423
- {
424
- "type": "error",
425
- "name": "ERC20InvalidApprover",
426
- "inputs": [
427
- { "name": "approver", "type": "address", "internalType": "address" }
428
- ]
429
- },
430
- {
431
- "type": "error",
432
- "name": "ERC20InvalidReceiver",
433
- "inputs": [
434
- { "name": "receiver", "type": "address", "internalType": "address" }
435
- ]
436
- },
437
- {
438
- "type": "error",
439
- "name": "ERC20InvalidSender",
440
- "inputs": [
441
- { "name": "sender", "type": "address", "internalType": "address" }
442
- ]
443
- },
444
- {
445
- "type": "error",
446
- "name": "ERC20InvalidSpender",
447
- "inputs": [
448
- { "name": "spender", "type": "address", "internalType": "address" }
449
- ]
450
- },
451
- {
452
- "type": "error",
453
- "name": "ERC2612ExpiredSignature",
454
- "inputs": [
455
- { "name": "deadline", "type": "uint256", "internalType": "uint256" }
456
- ]
457
- },
458
- {
459
- "type": "error",
460
- "name": "ERC2612InvalidSigner",
461
- "inputs": [
462
- { "name": "signer", "type": "address", "internalType": "address" },
463
- { "name": "owner", "type": "address", "internalType": "address" }
464
- ]
465
- },
466
- { "type": "error", "name": "EnforcedPause", "inputs": [] },
467
- { "type": "error", "name": "ExpectedPause", "inputs": [] },
468
- {
469
- "type": "error",
470
- "name": "InvalidAccountNonce",
471
- "inputs": [
472
- { "name": "account", "type": "address", "internalType": "address" },
473
- { "name": "currentNonce", "type": "uint256", "internalType": "uint256" }
474
- ]
475
- },
476
- { "type": "error", "name": "InvalidInitialization", "inputs": [] },
477
- { "type": "error", "name": "NotAuthorized", "inputs": [] },
478
- { "type": "error", "name": "NotInitializing", "inputs": [] },
479
- { "type": "error", "name": "SameValue", "inputs": [] },
480
- { "type": "error", "name": "ZeroAddress", "inputs": [] },
481
- { "type": "error", "name": "ZeroRegistryAccess", "inputs": [] },
482
- { "type": "error", "name": "ZeroSmartM", "inputs": [] }
483
- ]