@paraswap/dex-lib 4.1.20 → 4.1.21

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 (1211) hide show
  1. package/build/abi/aave-gsm/Pool.json +1459 -0
  2. package/build/dex/aave-gsm/aave-gsm-pool.d.ts +7 -1
  3. package/build/dex/aave-gsm/aave-gsm-pool.js +46 -4
  4. package/build/dex/aave-gsm/aave-gsm-pool.js.map +1 -1
  5. package/build/dex/aave-gsm/aave-gsm.js +37 -30
  6. package/build/dex/aave-gsm/aave-gsm.js.map +1 -1
  7. package/build/dex/aave-gsm/config.js +6 -5
  8. package/build/dex/aave-gsm/config.js.map +1 -1
  9. package/build/dex/aave-gsm/types.d.ts +5 -2
  10. package/build/dex/pancakeswap-v3/config.js +1 -1
  11. package/build/dex/pancakeswap-v3/config.js.map +1 -1
  12. package/build/dex/uniswap-v3/config.js +2 -2
  13. package/build/dex/uniswap-v3/config.js.map +1 -1
  14. package/build/dex/wombat/wombat.d.ts +0 -1
  15. package/build/dex/wombat/wombat.js +2 -44
  16. package/build/dex/wombat/wombat.js.map +1 -1
  17. package/build/dex/woo-fi-v2/config.js +16 -15
  18. package/build/dex/woo-fi-v2/config.js.map +1 -1
  19. package/package.json +1 -1
  20. package/.env.example +0 -15
  21. package/.eslintrc.js +0 -65
  22. package/.github/workflows/ci.yaml +0 -22
  23. package/.husky/pre-commit +0 -4
  24. package/.prettierrc +0 -10
  25. package/dex-template/__DexName__-e2e.test.ts.template +0 -155
  26. package/dex-template/__DexName__-events.test.ts.template +0 -110
  27. package/dex-template/__DexName__-integration.test.ts.template +0 -251
  28. package/dex-template/__DexName__-pool.ts.template +0 -91
  29. package/dex-template/__DexName__.ts.template +0 -156
  30. package/dex-template/config.ts.template +0 -9
  31. package/dex-template/types.ts.template +0 -22
  32. package/funding.json +0 -5
  33. package/jest.config.js +0 -10
  34. package/scripts/dex-integration.ts +0 -164
  35. package/scripts/fetch-event-blocknumber.ts +0 -51
  36. package/scripts/generate-bytecode.ts +0 -11
  37. package/scripts/run-dex-integration-v3.ts +0 -78
  38. package/scripts/run-dex-integration.ts +0 -95
  39. package/src/abi/AaveV2_lending_pool.json +0 -53
  40. package/src/abi/AaveV3_lending_pool.json +0 -1715
  41. package/src/abi/Balancer.json +0 -257
  42. package/src/abi/BalancerCustomMulticall.json +0 -26
  43. package/src/abi/BalancerV1ExchangeProxy.json +0 -377
  44. package/src/abi/BalancerV1Pool.json +0 -1630
  45. package/src/abi/BalancerV2.json +0 -1179
  46. package/src/abi/Bancor.json +0 -392
  47. package/src/abi/Compound_CETH.json +0 -12
  48. package/src/abi/Curve.json +0 -54
  49. package/src/abi/CurveV2.json +0 -700
  50. package/src/abi/DirectSwap.json +0 -1018
  51. package/src/abi/ERC1155.abi.json +0 -459
  52. package/src/abi/ERC1271.abi.json +0 -25
  53. package/src/abi/ERC20.abi.json +0 -288
  54. package/src/abi/ERC4626.json +0 -791
  55. package/src/abi/ERC721.abi.json +0 -165
  56. package/src/abi/IParaswap.json +0 -3059
  57. package/src/abi/RamsesV2Pool.abi.json +0 -1554
  58. package/src/abi/RamsesV2Quoter.abi.json +0 -274
  59. package/src/abi/RamsesV2StateMulticall.abi.json +0 -891
  60. package/src/abi/Redstone.json +0 -739
  61. package/src/abi/SSPM.json +0 -829
  62. package/src/abi/SimpleSwapHelperRouter.json +0 -38
  63. package/src/abi/Smoothy.json +0 -1049
  64. package/src/abi/StablePool.json +0 -1035
  65. package/src/abi/StaderOracle.json +0 -2170
  66. package/src/abi/TraderJoeV21Router.json +0 -1489
  67. package/src/abi/USDM.json +0 -807
  68. package/src/abi/UniswapV2ExchangeRouter.json +0 -84
  69. package/src/abi/UniswapV2Router.json +0 -397
  70. package/src/abi/UniswapV3Router.json +0 -274
  71. package/src/abi/aave-gsm/Aave_GSM.json +0 -751
  72. package/src/abi/aave-gsm/IFeeStrategy.json +0 -78
  73. package/src/abi/aave-v3-weth-gateway.json +0 -290
  74. package/src/abi/aave-weth-gateway-avalanche.json +0 -242
  75. package/src/abi/aave-weth-gateway-polygon.json +0 -242
  76. package/src/abi/aave-weth-gateway.json +0 -38
  77. package/src/abi/aavev3stata/Factory.json +0 -128
  78. package/src/abi/aavev3stata/Token.json +0 -735
  79. package/src/abi/aavev3statav2/Factory.json +0 -131
  80. package/src/abi/aavev3statav2/Pool.json +0 -1459
  81. package/src/abi/aavev3statav2/Token.json +0 -997
  82. package/src/abi/aerodrome/aerodrome-pool-factory.json +0 -586
  83. package/src/abi/algebra/AlgebraFactory-v1_1.abi.json +0 -250
  84. package/src/abi/algebra/AlgebraPool-v1_1.abi.json +0 -727
  85. package/src/abi/algebra/AlgebraPool-v1_9.abi.json +0 -756
  86. package/src/abi/algebra/AlgebraQuoter.abi.json +0 -138
  87. package/src/abi/algebra/AlgebraStateMulticall.abi.json +0 -801
  88. package/src/abi/algebra/SwapRouter.json +0 -281
  89. package/src/abi/angle/stagToken.json +0 -963
  90. package/src/abi/angle-transmuter/ChainlinkAccessControlledOffchainAggregator.json +0 -1246
  91. package/src/abi/angle-transmuter/ChainlinkEACAggregatorProxy.json +0 -509
  92. package/src/abi/angle-transmuter/MorphoOracle.json +0 -193
  93. package/src/abi/angle-transmuter/MorphoVault.json +0 -2506
  94. package/src/abi/angle-transmuter/Pyth.json +0 -1534
  95. package/src/abi/angle-transmuter/Transmuter.json +0 -1711
  96. package/src/abi/angle-transmuter/TransmuterSidechain.json +0 -1798
  97. package/src/abi/api3-proxy.json +0 -53
  98. package/src/abi/api3-server-v1.json +0 -463
  99. package/src/abi/augustus-v6/ABI.json +0 -1572
  100. package/src/abi/augustus.json +0 -375
  101. package/src/abi/balancer-v2/ComposableStable.json +0 -1391
  102. package/src/abi/balancer-v2/gyro-e.abi.json +0 -1595
  103. package/src/abi/balancer-v2/linearPoolAbi.json +0 -1062
  104. package/src/abi/balancer-v2/meta-stable-pool.json +0 -1437
  105. package/src/abi/balancer-v2/stable-pool.json +0 -1053
  106. package/src/abi/balancer-v2/vault.json +0 -918
  107. package/src/abi/balancer-v2/weighted-pool.json +0 -1142
  108. package/src/abi/balancer-v3/batch-router.json +0 -989
  109. package/src/abi/balancer-v3/directionalFeeHook.json +0 -684
  110. package/src/abi/balancer-v3/router.json +0 -1792
  111. package/src/abi/balancer-v3/stableSurgeHook.json +0 -976
  112. package/src/abi/balancer-v3/vault-extension.json +0 -2834
  113. package/src/abi/bebop/BebopSettlement.abi.json +0 -2137
  114. package/src/abi/benqi/staked-avax.json +0 -954
  115. package/src/abi/cables/CablesMainnetRFQ.json +0 -1083
  116. package/src/abi/camelot/CamelotFactory.json +0 -494
  117. package/src/abi/camelot/CamelotPair.json +0 -1027
  118. package/src/abi/chainlink.json +0 -323
  119. package/src/abi/concentrator/arUSD.json +0 -568
  120. package/src/abi/concentrator/arUSD5115.json +0 -1746
  121. package/src/abi/curve-v1/CurveBUSDv2.abi.json +0 -1356
  122. package/src/abi/curve-v1/CurveTokenV1.json +0 -305
  123. package/src/abi/curve-v1/CurveTokenV2.json +0 -318
  124. package/src/abi/curve-v1/CurveV1StableNg.json +0 -1452
  125. package/src/abi/curve-v1/CurveV2Swap.json +0 -700
  126. package/src/abi/curve-v1/FactoryCryptoRegistry.json +0 -316
  127. package/src/abi/curve-v1/FactoryRegistry.json +0 -508
  128. package/src/abi/curve-v1/StableSwap3Pool.json +0 -838
  129. package/src/abi/curve-v1/StableSwapAave.json +0 -1152
  130. package/src/abi/curve-v1/StableSwapBBTC.json +0 -1017
  131. package/src/abi/curve-v1/StableSwapBUSD.json +0 -814
  132. package/src/abi/curve-v1/StableSwapCompound.json +0 -814
  133. package/src/abi/curve-v1/StableSwapDUSD.json +0 -1004
  134. package/src/abi/curve-v1/StableSwapEURS.json +0 -868
  135. package/src/abi/curve-v1/StableSwapGUSD.json +0 -1004
  136. package/src/abi/curve-v1/StableSwapHBTC.json +0 -838
  137. package/src/abi/curve-v1/StableSwapHUSD.json +0 -1004
  138. package/src/abi/curve-v1/StableSwapIDLE.json +0 -1253
  139. package/src/abi/curve-v1/StableSwapLinkUSD.json +0 -1004
  140. package/src/abi/curve-v1/StableSwapMUSD.json +0 -1004
  141. package/src/abi/curve-v1/StableSwapOBTC.json +0 -1017
  142. package/src/abi/curve-v1/StableSwapPBTC.json +0 -1017
  143. package/src/abi/curve-v1/StableSwapPax.json +0 -865
  144. package/src/abi/curve-v1/StableSwapRSV.json +0 -1004
  145. package/src/abi/curve-v1/StableSwapRen.json +0 -851
  146. package/src/abi/curve-v1/StableSwapSBTC.json +0 -851
  147. package/src/abi/curve-v1/StableSwapSETH.json +0 -850
  148. package/src/abi/curve-v1/StableSwapSLINK.json +0 -899
  149. package/src/abi/curve-v1/StableSwapSTETH.json +0 -895
  150. package/src/abi/curve-v1/StableSwapSUSD.json +0 -760
  151. package/src/abi/curve-v1/StableSwapSnow.json +0 -900
  152. package/src/abi/curve-v1/StableSwapTBTC.json +0 -1017
  153. package/src/abi/curve-v1/StableSwapUSDK.json +0 -1004
  154. package/src/abi/curve-v1/StableSwapUSDN.json +0 -1004
  155. package/src/abi/curve-v1/StableSwapUSDT.json +0 -814
  156. package/src/abi/curve-v1/StableSwapUST.json +0 -1017
  157. package/src/abi/curve-v1/StableSwapY.json +0 -814
  158. package/src/abi/curve-v1-factory/CurveV1Router.abi.json +0 -331
  159. package/src/abi/curve-v1-factory/FactoryCurveV1.json +0 -508
  160. package/src/abi/curve-v1-factory/ThreePool.json +0 -468
  161. package/src/abi/curve-v2/GenericFactoryZap.json +0 -233
  162. package/src/abi/dexalot/DexalotMainnetRFQ.json +0 -952
  163. package/src/abi/dodo-v2-proxy.json +0 -565
  164. package/src/abi/ekubo/core.json +0 -1266
  165. package/src/abi/ekubo/data-fetcher.json +0 -161
  166. package/src/abi/ekubo/router.json +0 -803
  167. package/src/abi/erc20.json +0 -308
  168. package/src/abi/etherfi/eETHPool.json +0 -9
  169. package/src/abi/etherfi/weETH.json +0 -20
  170. package/src/abi/fluid-dex/dexFactory.abi.json +0 -506
  171. package/src/abi/fluid-dex/fluid-dex.abi.json +0 -1476
  172. package/src/abi/fluid-dex/liquidityUserModule.abi.json +0 -145
  173. package/src/abi/fluid-dex/resolver.abi.json +0 -2030
  174. package/src/abi/fx-protocol/FxMarket.json +0 -1284
  175. package/src/abi/fx-protocol/FxUSD.json +0 -1227
  176. package/src/abi/fx-protocol/weETHOralce.json +0 -676
  177. package/src/abi/gmx/fast-price-events.json +0 -70
  178. package/src/abi/gmx/fast-price-feed.json +0 -748
  179. package/src/abi/gmx/reader.json +0 -337
  180. package/src/abi/gmx/vault-price-feed.json +0 -477
  181. package/src/abi/gmx/vault.json +0 -2002
  182. package/src/abi/hashflow/HashflowRouter.abi.json +0 -1539
  183. package/src/abi/idle-dao/idle-cdo-factory.json +0 -38
  184. package/src/abi/idle-dao/idle-cdo.json +0 -1245
  185. package/src/abi/infusion/InfusionFactory.json +0 -147
  186. package/src/abi/infusion/InfusionPair.json +0 -658
  187. package/src/abi/infusion/InfusionRouter.json +0 -442
  188. package/src/abi/jarvis/ChainlinkAccessControlledOffchainAggregator.json +0 -1009
  189. package/src/abi/jarvis/SynthereumPriceFeed.json +0 -381
  190. package/src/abi/jarvis/jarvis-v6-pool.json +0 -1041
  191. package/src/abi/kyberdmm/kyber-dmm-exchange-router.abi.json +0 -1148
  192. package/src/abi/kyberdmm/kyber-dmm-factory.abi.json +0 -335
  193. package/src/abi/kyberdmm/kyber-dmm-pool.abi.json +0 -803
  194. package/src/abi/kyberdmm/kyber-storage.abi.json +0 -824
  195. package/src/abi/kyberdmm.abi.json +0 -1148
  196. package/src/abi/lite-psm/dai.json +0 -333
  197. package/src/abi/lite-psm/psm.json +0 -468
  198. package/src/abi/lite-psm/usdc.json +0 -814
  199. package/src/abi/lite-psm/usdsPsm.json +0 -163
  200. package/src/abi/m-token/WrappedM.abi.json +0 -1708
  201. package/src/abi/maker-psm/pot.json +0 -322
  202. package/src/abi/maker-psm/psm.json +0 -243
  203. package/src/abi/maker-psm/vat.json +0 -363
  204. package/src/abi/maverick-v1/pool-inspector.json +0 -216
  205. package/src/abi/maverick-v1/pool.json +0 -1111
  206. package/src/abi/maverick-v1/router.json +0 -389
  207. package/src/abi/maverick-v2/MaverickV2Pool.json +0 -1234
  208. package/src/abi/maverick-v2/MaverickV2PoolLens.json +0 -1232
  209. package/src/abi/maverick-v2/MaverickV2Quoter.json +0 -278
  210. package/src/abi/maverick-v2/MaverickV2Router.json +0 -778
  211. package/src/abi/multi-v2.json +0 -313
  212. package/src/abi/nerve/axial-pool.json +0 -693
  213. package/src/abi/nerve/iron-v2-pool.json +0 -785
  214. package/src/abi/nerve/nerve-metapool.json +0 -790
  215. package/src/abi/nerve/nerve-pool.json +0 -1035
  216. package/src/abi/nomiswap-v2/nomiswap-v2-pool.json +0 -773
  217. package/src/abi/oswap/oswap.abi.json +0 -452
  218. package/src/abi/pancakeswap-v3/PancakeV3StateMulticall.abi.json +0 -781
  219. package/src/abi/pancakeswap-v3/PancakeswapV3Factory.abi.json +0 -300
  220. package/src/abi/pancakeswap-v3/PancakeswapV3Pool.abi.json +0 -1039
  221. package/src/abi/pancakeswap-v3/PancakeswapV3Quoter.abi.json +0 -285
  222. package/src/abi/pancakeswap-v3/PancakeswapV3Router.abi.json +0 -583
  223. package/src/abi/paraswap-limit-orders/AugustusRFQ.abi.json +0 -1081
  224. package/src/abi/permit/IERC20Permit.json +0 -45
  225. package/src/abi/permit/IERC20PermitLegacy.json +0 -50
  226. package/src/abi/permit2.json +0 -581
  227. package/src/abi/polygon-migration/PolygonMigration.abi.json +0 -364
  228. package/src/abi/quick-perps/fast-price-events.json +0 -70
  229. package/src/abi/quick-perps/fast-price-feed.json +0 -741
  230. package/src/abi/quick-perps/reader.json +0 -313
  231. package/src/abi/quick-perps/vault-price-feed.json +0 -323
  232. package/src/abi/quick-perps/vault.json +0 -1953
  233. package/src/abi/ramses-v2/RamsesV2Pool.abi.json +0 -1599
  234. package/src/abi/rswETH.json +0 -1142
  235. package/src/abi/sdai/PSM3.abi.json +0 -721
  236. package/src/abi/sdai/SSRAuthOracle.abi.json +0 -522
  237. package/src/abi/sdai/SavingsDai.abi.json +0 -877
  238. package/src/abi/sdai/SavingsUSDS.abi.json +0 -720
  239. package/src/abi/sky-converter/DaiUsdsConverter.json +0 -116
  240. package/src/abi/sky-converter/MkrSkyConverter.json +0 -118
  241. package/src/abi/solidly/SolidlyFactory.json +0 -147
  242. package/src/abi/solidly/SolidlyPair.json +0 -658
  243. package/src/abi/solidly-v3/SolidlyV3Pool.abi.json +0 -738
  244. package/src/abi/solidly-v3/SolidlyV3StateMulticall.abi.json +0 -375
  245. package/src/abi/stETH.json +0 -735
  246. package/src/abi/stkGHO.json +0 -1131
  247. package/src/abi/swETH.json +0 -1086
  248. package/src/abi/swaap-v2/vault.json +0 -918
  249. package/src/abi/synthetix/CombinedSynthetix.abi.json +0 -422
  250. package/src/abi/uniswap-v2/biswap-pool.json +0 -501
  251. package/src/abi/uniswap-v2/excalibur-pool.json +0 -881
  252. package/src/abi/uniswap-v2/mdex-factory.json +0 -759
  253. package/src/abi/uniswap-v2/uniswap-v2-factory.json +0 -125
  254. package/src/abi/uniswap-v2/uniswap-v2-pool.json +0 -461
  255. package/src/abi/uniswap-v3/UniswapMulti.abi.json +0 -52
  256. package/src/abi/uniswap-v3/UniswapV3Factory.abi.json +0 -148
  257. package/src/abi/uniswap-v3/UniswapV3Pool.abi.json +0 -988
  258. package/src/abi/uniswap-v3/UniswapV3Quoter.abi.json +0 -193
  259. package/src/abi/uniswap-v3/UniswapV3QuoterV2.abi.json +0 -155
  260. package/src/abi/uniswap-v3/UniswapV3Router.abi.json +0 -274
  261. package/src/abi/uniswap-v3/UniswapV3StateMulticall.abi.json +0 -781
  262. package/src/abi/usual-bond/usd0pp.abi.json +0 -867
  263. package/src/abi/usual-m-usd0/usualCollateralDao.abi.json +0 -681
  264. package/src/abi/usual-m-wrapped-m/usualM.abi.json +0 -509
  265. package/src/abi/usual-pp/abi.json +0 -750
  266. package/src/abi/velodrome-slipstream/VelodromeSlipstreamFactory.abi.json +0 -579
  267. package/src/abi/velodrome-slipstream/VelodromeSlipstreamPool.abi.json +0 -1275
  268. package/src/abi/velodrome-slipstream/VelodromeSlipstreamQuoterV2.abi.json +0 -267
  269. package/src/abi/velodrome-slipstream/VelodromeSlipstreamStateMulticall.abi.json +0 -766
  270. package/src/abi/weth.abi.json +0 -153
  271. package/src/abi/wombat/asset.json +0 -743
  272. package/src/abi/wombat/bmw.json +0 -1247
  273. package/src/abi/wombat/pool-v2.json +0 -1289
  274. package/src/abi/wombat/pool-v3.json +0 -2013
  275. package/src/abi/woo-fi-v2/IntegrationHelper.abi.json +0 -116
  276. package/src/abi/woo-fi-v2/WooOracleV2.abi.json +0 -358
  277. package/src/abi/woo-fi-v2/WooPPV2.abi.json +0 -580
  278. package/src/abi/wstETH.json +0 -252
  279. package/src/bigint-constants.ts +0 -21
  280. package/src/bignumber-constants.ts +0 -20
  281. package/src/calldata-gas-cost.ts +0 -26
  282. package/src/composed-event-subscriber.ts +0 -131
  283. package/src/config.ts +0 -580
  284. package/src/constants.ts +0 -74
  285. package/src/dex/aave-gsm/aave-gsm-e2e.test.ts +0 -110
  286. package/src/dex/aave-gsm/aave-gsm-events.test.ts +0 -82
  287. package/src/dex/aave-gsm/aave-gsm-gas-estimation.test.ts +0 -32
  288. package/src/dex/aave-gsm/aave-gsm-integration.test.ts +0 -522
  289. package/src/dex/aave-gsm/aave-gsm-pool.ts +0 -225
  290. package/src/dex/aave-gsm/aave-gsm.ts +0 -431
  291. package/src/dex/aave-gsm/config.ts +0 -16
  292. package/src/dex/aave-gsm/types.ts +0 -24
  293. package/src/dex/aave-v2/aave-v2-e2e.test.ts +0 -287
  294. package/src/dex/aave-v2/aave-v2-gas-estimation.test.ts +0 -28
  295. package/src/dex/aave-v2/aave-v2-integration.test.ts +0 -100
  296. package/src/dex/aave-v2/aave-v2.ts +0 -409
  297. package/src/dex/aave-v2/config.ts +0 -56
  298. package/src/dex/aave-v2/tokenlist.json +0 -904
  299. package/src/dex/aave-v2/tokens.ts +0 -76
  300. package/src/dex/aave-v2/types.ts +0 -43
  301. package/src/dex/aave-v3/aave-v3-e2e.test.ts +0 -578
  302. package/src/dex/aave-v3/aave-v3-gas-estimation.test.ts +0 -66
  303. package/src/dex/aave-v3/aave-v3-integration.test.ts +0 -148
  304. package/src/dex/aave-v3/aave-v3.ts +0 -331
  305. package/src/dex/aave-v3/config.ts +0 -157
  306. package/src/dex/aave-v3/tokens.ts +0 -68
  307. package/src/dex/aave-v3/types.ts +0 -46
  308. package/src/dex/aave-v3/utils.ts +0 -153
  309. package/src/dex/aave-v3-stata/aave-v3-stata-e2e.test.ts +0 -355
  310. package/src/dex/aave-v3-stata/aave-v3-stata-gas-estimation.test.ts +0 -41
  311. package/src/dex/aave-v3-stata/aave-v3-stata-integration.test.ts +0 -282
  312. package/src/dex/aave-v3-stata/aave-v3-stata.ts +0 -530
  313. package/src/dex/aave-v3-stata/config.ts +0 -61
  314. package/src/dex/aave-v3-stata/tokens.ts +0 -48
  315. package/src/dex/aave-v3-stata/types.ts +0 -69
  316. package/src/dex/aave-v3-stata/utils.ts +0 -84
  317. package/src/dex/aave-v3-stata-v2/aave-v3-stata-v2-e2e.test.ts +0 -376
  318. package/src/dex/aave-v3-stata-v2/aave-v3-stata-v2-gas-estimation.test.ts +0 -41
  319. package/src/dex/aave-v3-stata-v2/aave-v3-stata-v2-integration.test.ts +0 -600
  320. package/src/dex/aave-v3-stata-v2/aave-v3-stata-v2.ts +0 -477
  321. package/src/dex/aave-v3-stata-v2/config.ts +0 -47
  322. package/src/dex/aave-v3-stata-v2/tokens.ts +0 -48
  323. package/src/dex/aave-v3-stata-v2/types.ts +0 -42
  324. package/src/dex/aave-v3-stata-v2/utils.ts +0 -96
  325. package/src/dex/algebra/algebra-e2e.test.ts +0 -313
  326. package/src/dex/algebra/algebra-events.test.ts +0 -186
  327. package/src/dex/algebra/algebra-factory.ts +0 -77
  328. package/src/dex/algebra/algebra-integration.test.ts +0 -558
  329. package/src/dex/algebra/algebra-pool-v1_1.ts +0 -853
  330. package/src/dex/algebra/algebra-pool-v1_9.ts +0 -614
  331. package/src/dex/algebra/algebra-pool-v1_9_bidirectional_fee.ts +0 -55
  332. package/src/dex/algebra/algebra.ts +0 -1141
  333. package/src/dex/algebra/config.ts +0 -128
  334. package/src/dex/algebra/constants.ts +0 -17
  335. package/src/dex/algebra/lib/AlgebraMath.ts +0 -706
  336. package/src/dex/algebra/lib/Constants.ts +0 -5
  337. package/src/dex/algebra/lib/TickManager.ts +0 -91
  338. package/src/dex/algebra/lib/TickTable.ts +0 -227
  339. package/src/dex/algebra/lib/yul-helper.ts +0 -29
  340. package/src/dex/algebra/scripts/validate-state.ts +0 -292
  341. package/src/dex/algebra/types.ts +0 -146
  342. package/src/dex/algebra/utils.ts +0 -217
  343. package/src/dex/angle-staked-stable/angle-staked-stable-e2e.test.ts +0 -146
  344. package/src/dex/angle-staked-stable/angle-staked-stable-events.test.ts +0 -95
  345. package/src/dex/angle-staked-stable/angle-staked-stable-gas-estimation.test.ts +0 -29
  346. package/src/dex/angle-staked-stable/angle-staked-stable-integration.test.ts +0 -476
  347. package/src/dex/angle-staked-stable/angle-staked-stable-pool.ts +0 -325
  348. package/src/dex/angle-staked-stable/angle-staked-stable.ts +0 -356
  349. package/src/dex/angle-staked-stable/config.ts +0 -139
  350. package/src/dex/angle-staked-stable/types.ts +0 -16
  351. package/src/dex/angle-transmuter/angle-transmuter-e2e.test.ts +0 -156
  352. package/src/dex/angle-transmuter/angle-transmuter-events.test.ts +0 -365
  353. package/src/dex/angle-transmuter/angle-transmuter-gas-estimation.test.ts +0 -41
  354. package/src/dex/angle-transmuter/angle-transmuter-integration.test.ts +0 -390
  355. package/src/dex/angle-transmuter/angle-transmuter-pool.ts +0 -895
  356. package/src/dex/angle-transmuter/angle-transmuter.ts +0 -407
  357. package/src/dex/angle-transmuter/backedOracle.ts +0 -91
  358. package/src/dex/angle-transmuter/config.ts +0 -50
  359. package/src/dex/angle-transmuter/constants.ts +0 -138
  360. package/src/dex/angle-transmuter/morphoOracle.ts +0 -335
  361. package/src/dex/angle-transmuter/morphoVault.ts +0 -134
  362. package/src/dex/angle-transmuter/pyth.ts +0 -105
  363. package/src/dex/angle-transmuter/redstone.ts +0 -105
  364. package/src/dex/angle-transmuter/transmuter.ts +0 -619
  365. package/src/dex/angle-transmuter/types.ts +0 -203
  366. package/src/dex/angle-transmuter/utils.ts +0 -358
  367. package/src/dex/augustus-approvals.ts +0 -208
  368. package/src/dex/augustus-rfq.ts +0 -180
  369. package/src/dex/balancer-v1/balancer-pools.json +0 -33333
  370. package/src/dex/balancer-v1/balancer-v1-e2e.test.ts +0 -119
  371. package/src/dex/balancer-v1/balancer-v1-events.test.ts +0 -83
  372. package/src/dex/balancer-v1/balancer-v1-gas-estimation.test.ts +0 -29
  373. package/src/dex/balancer-v1/balancer-v1-integration.test.ts +0 -307
  374. package/src/dex/balancer-v1/balancer-v1-math.ts +0 -154
  375. package/src/dex/balancer-v1/balancer-v1-pool.ts +0 -232
  376. package/src/dex/balancer-v1/balancer-v1.ts +0 -578
  377. package/src/dex/balancer-v1/config.ts +0 -29
  378. package/src/dex/balancer-v1/optimizer.ts +0 -76
  379. package/src/dex/balancer-v1/types.ts +0 -100
  380. package/src/dex/balancer-v1/utils.ts +0 -57
  381. package/src/dex/balancer-v2/balancer-v2-e2e.test.ts +0 -1612
  382. package/src/dex/balancer-v2/balancer-v2-events.test.ts +0 -132
  383. package/src/dex/balancer-v2/balancer-v2-gas-estimation.test.ts +0 -98
  384. package/src/dex/balancer-v2/balancer-v2-gyro3.test.ts +0 -268
  385. package/src/dex/balancer-v2/balancer-v2-gyroE.test.ts +0 -401
  386. package/src/dex/balancer-v2/balancer-v2-integration.test.ts +0 -931
  387. package/src/dex/balancer-v2/balancer-v2-math.ts +0 -592
  388. package/src/dex/balancer-v2/balancer-v2.ts +0 -1724
  389. package/src/dex/balancer-v2/config.ts +0 -81
  390. package/src/dex/balancer-v2/constants.ts +0 -20
  391. package/src/dex/balancer-v2/optimizer.ts +0 -70
  392. package/src/dex/balancer-v2/pools/balancer-v2-pool.ts +0 -274
  393. package/src/dex/balancer-v2/pools/gyro/Gyro3Pool.ts +0 -255
  394. package/src/dex/balancer-v2/pools/gyro/GyroEPool.ts +0 -402
  395. package/src/dex/balancer-v2/pools/gyro/gyro-helpers.ts +0 -15
  396. package/src/dex/balancer-v2/pools/linear/LinearMath.ts +0 -286
  397. package/src/dex/balancer-v2/pools/linear/LinearPool.ts +0 -639
  398. package/src/dex/balancer-v2/pools/phantom-stable/PhantomStableMath.ts +0 -494
  399. package/src/dex/balancer-v2/pools/phantom-stable/PhantomStablePool.ts +0 -581
  400. package/src/dex/balancer-v2/pools/stable/StableMath.ts +0 -203
  401. package/src/dex/balancer-v2/pools/stable/StablePool.ts +0 -223
  402. package/src/dex/balancer-v2/pools/weighted/WeightedMath.ts +0 -84
  403. package/src/dex/balancer-v2/pools/weighted/WeightedPool.ts +0 -188
  404. package/src/dex/balancer-v2/queryOnChain.ts +0 -48
  405. package/src/dex/balancer-v2/types.ts +0 -215
  406. package/src/dex/balancer-v2/utils.ts +0 -212
  407. package/src/dex/balancer-v3/balancer-api.test.ts +0 -122
  408. package/src/dex/balancer-v3/balancer-buffer.test.ts +0 -75
  409. package/src/dex/balancer-v3/balancer-gyroECLP.test.ts +0 -76
  410. package/src/dex/balancer-v3/balancer-hooks-events.test.ts +0 -166
  411. package/src/dex/balancer-v3/balancer-stableSurge.test.ts +0 -112
  412. package/src/dex/balancer-v3/balancer-test-helpers.ts +0 -251
  413. package/src/dex/balancer-v3/balancer-test-weighted.test.ts +0 -96
  414. package/src/dex/balancer-v3/balancer-v3-e2e.test.ts +0 -476
  415. package/src/dex/balancer-v3/balancer-v3-events.test.ts +0 -457
  416. package/src/dex/balancer-v3/balancer-v3-gas-estimation.test.ts +0 -30
  417. package/src/dex/balancer-v3/balancer-v3-integration.test.ts +0 -1008
  418. package/src/dex/balancer-v3/balancer-v3-pool.ts +0 -796
  419. package/src/dex/balancer-v3/balancer-v3.ts +0 -665
  420. package/src/dex/balancer-v3/config.ts +0 -100
  421. package/src/dex/balancer-v3/getGasCost.ts +0 -40
  422. package/src/dex/balancer-v3/getOnChainState.ts +0 -486
  423. package/src/dex/balancer-v3/getPoolsApi.ts +0 -191
  424. package/src/dex/balancer-v3/getTopPoolsApi.ts +0 -130
  425. package/src/dex/balancer-v3/gyroECLPPool.ts +0 -17
  426. package/src/dex/balancer-v3/hooks/balancer-hook-event-subscriber.ts +0 -212
  427. package/src/dex/balancer-v3/hooks/directionalFeeHook.ts +0 -53
  428. package/src/dex/balancer-v3/hooks/loadHooksConfig.ts +0 -12
  429. package/src/dex/balancer-v3/hooks/stableSurgeHook.ts +0 -200
  430. package/src/dex/balancer-v3/optimizer.ts +0 -66
  431. package/src/dex/balancer-v3/stablePool.ts +0 -78
  432. package/src/dex/balancer-v3/types.ts +0 -93
  433. package/src/dex/balancer-v3/utils.ts +0 -11
  434. package/src/dex/balancer-v3/weightedPool.ts +0 -2
  435. package/src/dex/bancor/bancor-e2e.test.ts +0 -91
  436. package/src/dex/bancor/bancor-gas-estimation.test.ts +0 -30
  437. package/src/dex/bancor/bancor.ts +0 -128
  438. package/src/dex/bancor/config.ts +0 -9
  439. package/src/dex/bancor/types.ts +0 -19
  440. package/src/dex/bebop/bebop-e2e.test.ts +0 -228
  441. package/src/dex/bebop/bebop-gas-estimation.test.ts +0 -30
  442. package/src/dex/bebop/bebop-integration.test.ts +0 -182
  443. package/src/dex/bebop/bebop.json +0 -72
  444. package/src/dex/bebop/bebop.proto +0 -15
  445. package/src/dex/bebop/bebop.ts +0 -930
  446. package/src/dex/bebop/config.ts +0 -42
  447. package/src/dex/bebop/constants.ts +0 -20
  448. package/src/dex/bebop/rate-fetcher.ts +0 -168
  449. package/src/dex/bebop/types.ts +0 -95
  450. package/src/dex/bebop/validators.ts +0 -39
  451. package/src/dex/cables/cables-e2e.test.ts +0 -207
  452. package/src/dex/cables/cables-integration.test.ts +0 -391
  453. package/src/dex/cables/cables.ts +0 -857
  454. package/src/dex/cables/config.ts +0 -13
  455. package/src/dex/cables/constants.ts +0 -33
  456. package/src/dex/cables/rate-fetcher.ts +0 -212
  457. package/src/dex/cables/types.ts +0 -113
  458. package/src/dex/cables/validators.test.ts +0 -151
  459. package/src/dex/cables/validators.ts +0 -61
  460. package/src/dex/camelot/camelot-e2e.test.ts +0 -161
  461. package/src/dex/camelot/camelot-integration.test.ts +0 -215
  462. package/src/dex/camelot/camelot-pool-discovery.test.ts +0 -149
  463. package/src/dex/camelot/camelot.ts +0 -882
  464. package/src/dex/camelot/config.ts +0 -23
  465. package/src/dex/camelot/types.ts +0 -15
  466. package/src/dex/compound/compound-e2e.test.ts +0 -91
  467. package/src/dex/compound/compound.ts +0 -112
  468. package/src/dex/compound/types.ts +0 -10
  469. package/src/dex/concentrator-arusd/concentrator-arusd-e2e.test.ts +0 -92
  470. package/src/dex/concentrator-arusd/concentrator-arusd-event.ts +0 -100
  471. package/src/dex/concentrator-arusd/concentrator-arusd-gas-estimation.test.ts +0 -29
  472. package/src/dex/concentrator-arusd/concentrator-arusd-integration.test.ts +0 -104
  473. package/src/dex/concentrator-arusd/concentrator-arusd.ts +0 -269
  474. package/src/dex/concentrator-arusd/concetrator-arusd-events.test.ts +0 -97
  475. package/src/dex/concentrator-arusd/config.ts +0 -13
  476. package/src/dex/concentrator-arusd/types.ts +0 -16
  477. package/src/dex/concentrator-arusd/utils.ts +0 -36
  478. package/src/dex/curve-v1/config.ts +0 -1181
  479. package/src/dex/curve-v1/constants.ts +0 -12
  480. package/src/dex/curve-v1/curve-v1-e2e.test.ts +0 -587
  481. package/src/dex/curve-v1/curve-v1-events.test.ts +0 -335
  482. package/src/dex/curve-v1/curve-v1-gas-estimation.test.ts +0 -29
  483. package/src/dex/curve-v1/curve-v1-integration.test.ts +0 -143
  484. package/src/dex/curve-v1/curve-v1.ts +0 -1315
  485. package/src/dex/curve-v1/forks/curve-forks/config.ts +0 -177
  486. package/src/dex/curve-v1/forks/curve-forks/curve-forks.ts +0 -73
  487. package/src/dex/curve-v1/forks/swerve/config.ts +0 -47
  488. package/src/dex/curve-v1/forks/swerve/swerve.ts +0 -68
  489. package/src/dex/curve-v1/packer.ts +0 -17
  490. package/src/dex/curve-v1/pools/3pool.ts +0 -313
  491. package/src/dex/curve-v1/pools/DUSDpool.ts +0 -52
  492. package/src/dex/curve-v1/pools/EURSpool.ts +0 -37
  493. package/src/dex/curve-v1/pools/GUSDpool.ts +0 -52
  494. package/src/dex/curve-v1/pools/HUSDpool.ts +0 -52
  495. package/src/dex/curve-v1/pools/LinkUSDpool.ts +0 -52
  496. package/src/dex/curve-v1/pools/MUSDpool.ts +0 -52
  497. package/src/dex/curve-v1/pools/bBTCpool.ts +0 -52
  498. package/src/dex/curve-v1/pools/curve-metapool.ts +0 -1113
  499. package/src/dex/curve-v1/pools/curve-pool.ts +0 -489
  500. package/src/dex/curve-v1/pools/getstate-multicall.ts +0 -156
  501. package/src/dex/curve-v1/pools/hBTCpool.ts +0 -37
  502. package/src/dex/curve-v1/pools/oBTCpool.ts +0 -52
  503. package/src/dex/curve-v1/pools/pBTCpool.ts +0 -52
  504. package/src/dex/curve-v1/pools/renpool.ts +0 -38
  505. package/src/dex/curve-v1/pools/rsvpool.ts +0 -52
  506. package/src/dex/curve-v1/pools/sBTCpool.ts +0 -38
  507. package/src/dex/curve-v1/pools/sETHpool.ts +0 -69
  508. package/src/dex/curve-v1/pools/sLinkpool.ts +0 -37
  509. package/src/dex/curve-v1/pools/sUSDpool.ts +0 -133
  510. package/src/dex/curve-v1/pools/stETHpool.ts +0 -52
  511. package/src/dex/curve-v1/pools/tBTCpool.ts +0 -52
  512. package/src/dex/curve-v1/pools/usdkpool.ts +0 -52
  513. package/src/dex/curve-v1/pools/usdnpool.ts +0 -59
  514. package/src/dex/curve-v1/pools/ustpool.ts +0 -52
  515. package/src/dex/curve-v1/types.ts +0 -88
  516. package/src/dex/curve-v1-factory/config.ts +0 -1004
  517. package/src/dex/curve-v1-factory/constants.ts +0 -41
  518. package/src/dex/curve-v1-factory/curve-v1-factory-e2e.test.ts +0 -441
  519. package/src/dex/curve-v1-factory/curve-v1-factory-integration.test.ts +0 -827
  520. package/src/dex/curve-v1-factory/curve-v1-factory-node-cache.ts +0 -10
  521. package/src/dex/curve-v1-factory/curve-v1-factory.ts +0 -1567
  522. package/src/dex/curve-v1-factory/curve-v1-pool-manager.ts +0 -449
  523. package/src/dex/curve-v1-factory/optimizer.ts +0 -57
  524. package/src/dex/curve-v1-factory/price-handlers/functions/_calc_withdraw_one_coin.ts +0 -292
  525. package/src/dex/curve-v1-factory/price-handlers/functions/_dynamic_fee.ts +0 -103
  526. package/src/dex/curve-v1-factory/price-handlers/functions/_rates.ts +0 -116
  527. package/src/dex/curve-v1-factory/price-handlers/functions/_xp.ts +0 -114
  528. package/src/dex/curve-v1-factory/price-handlers/functions/_xp_mem.ts +0 -103
  529. package/src/dex/curve-v1-factory/price-handlers/functions/calc_token_amount.ts +0 -230
  530. package/src/dex/curve-v1-factory/price-handlers/functions/calc_withdraw_one_coin.ts +0 -90
  531. package/src/dex/curve-v1-factory/price-handlers/functions/constants.ts +0 -604
  532. package/src/dex/curve-v1-factory/price-handlers/functions/get_D.ts +0 -386
  533. package/src/dex/curve-v1-factory/price-handlers/functions/get_D_mem.ts +0 -148
  534. package/src/dex/curve-v1-factory/price-handlers/functions/get_D_precisions.ts +0 -120
  535. package/src/dex/curve-v1-factory/price-handlers/functions/get_dx.ts +0 -145
  536. package/src/dex/curve-v1-factory/price-handlers/functions/get_dy.ts +0 -327
  537. package/src/dex/curve-v1-factory/price-handlers/functions/get_dy_underlying.ts +0 -293
  538. package/src/dex/curve-v1-factory/price-handlers/functions/get_y.ts +0 -262
  539. package/src/dex/curve-v1-factory/price-handlers/functions/get_y_D.ts +0 -183
  540. package/src/dex/curve-v1-factory/price-handlers/functions/utils.ts +0 -76
  541. package/src/dex/curve-v1-factory/price-handlers/price-handler.ts +0 -130
  542. package/src/dex/curve-v1-factory/price-handlers/types.ts +0 -142
  543. package/src/dex/curve-v1-factory/state-polling-pools/custom-pool-polling.ts +0 -301
  544. package/src/dex/curve-v1-factory/state-polling-pools/factory-pool-polling.ts +0 -227
  545. package/src/dex/curve-v1-factory/state-polling-pools/polling-manager.ts +0 -266
  546. package/src/dex/curve-v1-factory/state-polling-pools/pool-polling-base.ts +0 -181
  547. package/src/dex/curve-v1-factory/types.ts +0 -286
  548. package/src/dex/curve-v1-stable-ng/config.ts +0 -315
  549. package/src/dex/curve-v1-stable-ng/curve-v1-stable-ng-e2e.test.ts +0 -219
  550. package/src/dex/curve-v1-stable-ng/curve-v1-stable-ng-integration.test.ts +0 -567
  551. package/src/dex/curve-v1-stable-ng/curve-v1-stable-ng.ts +0 -33
  552. package/src/dex/curve-v2/constants.ts +0 -1
  553. package/src/dex/curve-v2/curve-v2-e2e.test.ts +0 -104
  554. package/src/dex/curve-v2/curve-v2-gas-estimation.test.ts +0 -29
  555. package/src/dex/curve-v2/curve-v2.ts +0 -440
  556. package/src/dex/curve-v2/types.ts +0 -27
  557. package/src/dex/dexalot/config.ts +0 -28
  558. package/src/dex/dexalot/constants.ts +0 -32
  559. package/src/dex/dexalot/dexalot-e2e.test.ts +0 -260
  560. package/src/dex/dexalot/dexalot-integration.test.ts +0 -431
  561. package/src/dex/dexalot/dexalot.ts +0 -1114
  562. package/src/dex/dexalot/rate-fetcher.ts +0 -197
  563. package/src/dex/dexalot/types.ts +0 -131
  564. package/src/dex/dexalot/validators.ts +0 -46
  565. package/src/dex/dodo-v1/config.ts +0 -15
  566. package/src/dex/dodo-v1/dodo-v1-e2e.test.ts +0 -101
  567. package/src/dex/dodo-v1/dodo-v1.ts +0 -132
  568. package/src/dex/dodo-v1/types.ts +0 -25
  569. package/src/dex/dodo-v2.ts +0 -266
  570. package/src/dex/ekubo/config.ts +0 -15
  571. package/src/dex/ekubo/ekubo-e2e.test.ts +0 -124
  572. package/src/dex/ekubo/ekubo-events.test.ts +0 -209
  573. package/src/dex/ekubo/ekubo-integration.test.ts +0 -243
  574. package/src/dex/ekubo/ekubo.ts +0 -628
  575. package/src/dex/ekubo/pools/base-pool.ts +0 -267
  576. package/src/dex/ekubo/pools/math/constants.ts +0 -5
  577. package/src/dex/ekubo/pools/math/delta.test.ts +0 -131
  578. package/src/dex/ekubo/pools/math/delta.ts +0 -68
  579. package/src/dex/ekubo/pools/math/price.test.ts +0 -54
  580. package/src/dex/ekubo/pools/math/price.ts +0 -129
  581. package/src/dex/ekubo/pools/math/swap.test.ts +0 -215
  582. package/src/dex/ekubo/pools/math/swap.ts +0 -161
  583. package/src/dex/ekubo/pools/math/tick.test.ts +0 -72
  584. package/src/dex/ekubo/pools/math/tick.ts +0 -120
  585. package/src/dex/ekubo/pools/oracle-pool.ts +0 -46
  586. package/src/dex/ekubo/pools/pool-utils.ts +0 -348
  587. package/src/dex/ekubo/types.test.ts +0 -552
  588. package/src/dex/ekubo/types.ts +0 -55
  589. package/src/dex/ekubo/utils.ts +0 -34
  590. package/src/dex/erc4626/config.ts +0 -41
  591. package/src/dex/erc4626/constants.ts +0 -6
  592. package/src/dex/erc4626/erc-4626-pool.ts +0 -132
  593. package/src/dex/erc4626/erc4626-e2e.test.ts +0 -224
  594. package/src/dex/erc4626/erc4626-event.test.ts +0 -128
  595. package/src/dex/erc4626/erc4626-gas-estimation.test.ts +0 -41
  596. package/src/dex/erc4626/erc4626-integration.test.ts +0 -164
  597. package/src/dex/erc4626/erc4626.ts +0 -333
  598. package/src/dex/erc4626/types.ts +0 -26
  599. package/src/dex/etherfi.ts +0 -244
  600. package/src/dex/fluid-dex/config.ts +0 -27
  601. package/src/dex/fluid-dex/constants.ts +0 -2
  602. package/src/dex/fluid-dex/fluid-dex-e2e.test.ts +0 -311
  603. package/src/dex/fluid-dex/fluid-dex-events.test.ts +0 -179
  604. package/src/dex/fluid-dex/fluid-dex-factory.ts +0 -151
  605. package/src/dex/fluid-dex/fluid-dex-gas-estimation.test.ts +0 -29
  606. package/src/dex/fluid-dex/fluid-dex-integration.test.ts +0 -355
  607. package/src/dex/fluid-dex/fluid-dex-liquidity-proxy.ts +0 -210
  608. package/src/dex/fluid-dex/fluid-dex-pool.ts +0 -138
  609. package/src/dex/fluid-dex/fluid-dex.ts +0 -1169
  610. package/src/dex/fluid-dex/types.ts +0 -104
  611. package/src/dex/fluid-dex/utils.ts +0 -15
  612. package/src/dex/fx-protocol-rusd/config.ts +0 -14
  613. package/src/dex/fx-protocol-rusd/fx-protocol-e2e.test.ts +0 -96
  614. package/src/dex/fx-protocol-rusd/fx-protocol-events.test.ts +0 -101
  615. package/src/dex/fx-protocol-rusd/fx-protocol-integration.test.ts +0 -104
  616. package/src/dex/fx-protocol-rusd/fx-protocol-rusd-event.ts +0 -112
  617. package/src/dex/fx-protocol-rusd/fx-protocol-rusd-gas-estimation.test.ts +0 -29
  618. package/src/dex/fx-protocol-rusd/fx-protocol-rusd.ts +0 -282
  619. package/src/dex/fx-protocol-rusd/types.ts +0 -16
  620. package/src/dex/fx-protocol-rusd/utils.ts +0 -47
  621. package/src/dex/generic-rfq/e2e-test-config.ts +0 -25
  622. package/src/dex/generic-rfq/example-api.test.ts +0 -233
  623. package/src/dex/generic-rfq/fetch-mm-api.ts +0 -284
  624. package/src/dex/generic-rfq/generic-rfq-e2e.test.ts +0 -118
  625. package/src/dex/generic-rfq/generic-rfq-integration.test.ts +0 -235
  626. package/src/dex/generic-rfq/generic-rfq-local-e2e.test.ts +0 -107
  627. package/src/dex/generic-rfq/generic-rfq.ts +0 -463
  628. package/src/dex/generic-rfq/rate-fetcher.ts +0 -491
  629. package/src/dex/generic-rfq/security.ts +0 -55
  630. package/src/dex/generic-rfq/types.ts +0 -120
  631. package/src/dex/generic-rfq/utils.ts +0 -74
  632. package/src/dex/generic-rfq/validators.test.ts +0 -245
  633. package/src/dex/generic-rfq/validators.ts +0 -189
  634. package/src/dex/gmx/config.ts +0 -81
  635. package/src/dex/gmx/fast-price-feed.ts +0 -279
  636. package/src/dex/gmx/gmx-e2e.test.ts +0 -322
  637. package/src/dex/gmx/gmx-events.test.ts +0 -114
  638. package/src/dex/gmx/gmx-integration.test.ts +0 -211
  639. package/src/dex/gmx/gmx.ts +0 -321
  640. package/src/dex/gmx/pool.ts +0 -360
  641. package/src/dex/gmx/types.ts +0 -94
  642. package/src/dex/gmx/usdg.ts +0 -83
  643. package/src/dex/gmx/vault-price-feed.ts +0 -384
  644. package/src/dex/gmx/vault-utils.ts +0 -53
  645. package/src/dex/gmx/vault.ts +0 -290
  646. package/src/dex/hashflow/config.ts +0 -56
  647. package/src/dex/hashflow/constants.ts +0 -54
  648. package/src/dex/hashflow/hashflow-e2e.test.ts +0 -351
  649. package/src/dex/hashflow/hashflow-gas-estimation.test.ts +0 -30
  650. package/src/dex/hashflow/hashflow-integration.test.ts +0 -157
  651. package/src/dex/hashflow/hashflow.ts +0 -1119
  652. package/src/dex/hashflow/rate-fetcher.ts +0 -118
  653. package/src/dex/hashflow/types.ts +0 -83
  654. package/src/dex/hashflow/validators.ts +0 -38
  655. package/src/dex/idex.ts +0 -268
  656. package/src/dex/idle-dao/config.ts +0 -26
  657. package/src/dex/idle-dao/idle-dao--gas-estimation.test.ts +0 -30
  658. package/src/dex/idle-dao/idle-dao-e2e.test.ts +0 -112
  659. package/src/dex/idle-dao/idle-dao-integration.test.ts +0 -155
  660. package/src/dex/idle-dao/idle-dao.ts +0 -402
  661. package/src/dex/idle-dao/token_list.ts +0 -287
  662. package/src/dex/idle-dao/tokens.ts +0 -99
  663. package/src/dex/idle-dao/types.ts +0 -43
  664. package/src/dex/idle-dao/utils.ts +0 -216
  665. package/src/dex/index.ts +0 -402
  666. package/src/dex/infusion/config.ts +0 -21
  667. package/src/dex/infusion/infusion-e2e.test.ts +0 -110
  668. package/src/dex/infusion/infusion-integration.test.ts +0 -232
  669. package/src/dex/infusion/infusion-stable-pool.ts +0 -91
  670. package/src/dex/infusion/infusion.ts +0 -652
  671. package/src/dex/infusion/types.ts +0 -60
  672. package/src/dex/infusion/utils/isStablePair.ts +0 -18
  673. package/src/dex/jarvis-v6/chainLinkpriceFeed-event.ts +0 -76
  674. package/src/dex/jarvis-v6/config.ts +0 -261
  675. package/src/dex/jarvis-v6/jarvis-v6-e2e.test.ts +0 -113
  676. package/src/dex/jarvis-v6/jarvis-v6-events.test.ts +0 -67
  677. package/src/dex/jarvis-v6/jarvis-v6-events.ts +0 -67
  678. package/src/dex/jarvis-v6/jarvis-v6-integration.test.ts +0 -111
  679. package/src/dex/jarvis-v6/jarvis-v6.ts +0 -509
  680. package/src/dex/jarvis-v6/syntheteumPool-event.ts +0 -68
  681. package/src/dex/jarvis-v6/types.ts +0 -59
  682. package/src/dex/jarvis-v6/utils.ts +0 -127
  683. package/src/dex/kyberdmm/config.ts +0 -61
  684. package/src/dex/kyberdmm/fee-formula.ts +0 -113
  685. package/src/dex/kyberdmm/kyberdmm-e2e.test.ts +0 -325
  686. package/src/dex/kyberdmm/kyberdmm-events.test.ts +0 -123
  687. package/src/dex/kyberdmm/kyberdmm-integration.test.ts +0 -93
  688. package/src/dex/kyberdmm/kyberdmm.ts +0 -649
  689. package/src/dex/kyberdmm/math-ext.ts +0 -29
  690. package/src/dex/kyberdmm/pool.ts +0 -226
  691. package/src/dex/kyberdmm/types.ts +0 -85
  692. package/src/dex/lido/config.ts +0 -5
  693. package/src/dex/lido/lido-e2e.test.ts +0 -81
  694. package/src/dex/lido/lido-gas-estimation.test.ts +0 -29
  695. package/src/dex/lido/lido.ts +0 -110
  696. package/src/dex/lido/types.ts +0 -5
  697. package/src/dex/limit-order-exchange.ts +0 -40
  698. package/src/dex/lite-psm/config.ts +0 -33
  699. package/src/dex/lite-psm/lite-psm-e2e.test.ts +0 -146
  700. package/src/dex/lite-psm/lite-psm-event-pool.ts +0 -216
  701. package/src/dex/lite-psm/lite-psm-events.test.ts +0 -61
  702. package/src/dex/lite-psm/lite-psm-gas-estimation.test.ts +0 -34
  703. package/src/dex/lite-psm/lite-psm-integration.test.ts +0 -99
  704. package/src/dex/lite-psm/lite-psm.ts +0 -540
  705. package/src/dex/lite-psm/types.ts +0 -47
  706. package/src/dex/maker-psm/config.ts +0 -59
  707. package/src/dex/maker-psm/maker-psm-e2e.test.ts +0 -83
  708. package/src/dex/maker-psm/maker-psm-events.test.ts +0 -63
  709. package/src/dex/maker-psm/maker-psm-gas-estimation.test.ts +0 -34
  710. package/src/dex/maker-psm/maker-psm-integration.test.ts +0 -99
  711. package/src/dex/maker-psm/maker-psm.ts +0 -722
  712. package/src/dex/maker-psm/types.ts +0 -45
  713. package/src/dex/maverick-v1/config.ts +0 -33
  714. package/src/dex/maverick-v1/constants.ts +0 -1
  715. package/src/dex/maverick-v1/maverick-math/maverick-basic-math.ts +0 -187
  716. package/src/dex/maverick-v1/maverick-math/maverick-bin-map.ts +0 -182
  717. package/src/dex/maverick-v1/maverick-math/maverick-pool-math.test.ts +0 -680
  718. package/src/dex/maverick-v1/maverick-math/maverick-pool-math.ts +0 -562
  719. package/src/dex/maverick-v1/maverick-v1-e2e.test.ts +0 -346
  720. package/src/dex/maverick-v1/maverick-v1-events.test.ts +0 -112
  721. package/src/dex/maverick-v1/maverick-v1-gas-estimation.test.ts +0 -29
  722. package/src/dex/maverick-v1/maverick-v1-integration.test.ts +0 -170
  723. package/src/dex/maverick-v1/maverick-v1-pool.ts +0 -394
  724. package/src/dex/maverick-v1/maverick-v1.ts +0 -536
  725. package/src/dex/maverick-v1/subgraph-queries.ts +0 -60
  726. package/src/dex/maverick-v1/types.ts +0 -83
  727. package/src/dex/maverick-v2/config.ts +0 -32
  728. package/src/dex/maverick-v2/maverick-math/maverick-basic-math.ts +0 -152
  729. package/src/dex/maverick-v2/maverick-math/maverick-bin-math.ts +0 -288
  730. package/src/dex/maverick-v2/maverick-math/maverick-delta-math.ts +0 -32
  731. package/src/dex/maverick-v2/maverick-math/maverick-math.ts +0 -30
  732. package/src/dex/maverick-v2/maverick-math/maverick-pool-lib.ts +0 -42
  733. package/src/dex/maverick-v2/maverick-math/maverick-pool-math.ts +0 -714
  734. package/src/dex/maverick-v2/maverick-math/maverick-swap-math.ts +0 -199
  735. package/src/dex/maverick-v2/maverick-math/maverick-tick-math.ts +0 -171
  736. package/src/dex/maverick-v2/maverick-math/maverick-twa-math.ts +0 -54
  737. package/src/dex/maverick-v2/maverick-v2-e2e.test.ts +0 -171
  738. package/src/dex/maverick-v2/maverick-v2-events.test.ts +0 -112
  739. package/src/dex/maverick-v2/maverick-v2-gas-estimation.test.ts +0 -29
  740. package/src/dex/maverick-v2/maverick-v2-integration.test.ts +0 -287
  741. package/src/dex/maverick-v2/maverick-v2-pool.ts +0 -369
  742. package/src/dex/maverick-v2/maverick-v2.ts +0 -409
  743. package/src/dex/maverick-v2/types.ts +0 -155
  744. package/src/dex/nerve/config.ts +0 -635
  745. package/src/dex/nerve/nerve-e2e.test.ts +0 -731
  746. package/src/dex/nerve/nerve-events.test.ts +0 -911
  747. package/src/dex/nerve/nerve-integration.test.ts +0 -73
  748. package/src/dex/nerve/nerve-math.ts +0 -304
  749. package/src/dex/nerve/nerve-metapool.ts +0 -203
  750. package/src/dex/nerve/nerve-pool.ts +0 -425
  751. package/src/dex/nerve/nerve.ts +0 -467
  752. package/src/dex/nerve/types.ts +0 -65
  753. package/src/dex/nerve/utils.ts +0 -39
  754. package/src/dex/oswap/config.ts +0 -32
  755. package/src/dex/oswap/oswap-e2e.test.ts +0 -91
  756. package/src/dex/oswap/oswap-events.test.ts +0 -88
  757. package/src/dex/oswap/oswap-integration.test.ts +0 -291
  758. package/src/dex/oswap/oswap-pool.ts +0 -190
  759. package/src/dex/oswap/oswap.ts +0 -414
  760. package/src/dex/oswap/types.ts +0 -29
  761. package/src/dex/pancakeswap-v3/config.ts +0 -119
  762. package/src/dex/pancakeswap-v3/constants.ts +0 -36
  763. package/src/dex/pancakeswap-v3/contract-math/BitMath.ts +0 -90
  764. package/src/dex/pancakeswap-v3/contract-math/FixedPoint128.ts +0 -3
  765. package/src/dex/pancakeswap-v3/contract-math/FixedPoint96.ts +0 -4
  766. package/src/dex/pancakeswap-v3/contract-math/FullMath.ts +0 -30
  767. package/src/dex/pancakeswap-v3/contract-math/LiquidityMath.ts +0 -17
  768. package/src/dex/pancakeswap-v3/contract-math/Oracle.ts +0 -226
  769. package/src/dex/pancakeswap-v3/contract-math/SqrtPriceMath.ts +0 -226
  770. package/src/dex/pancakeswap-v3/contract-math/SwapMath.ts +0 -139
  771. package/src/dex/pancakeswap-v3/contract-math/Tick.ts +0 -82
  772. package/src/dex/pancakeswap-v3/contract-math/TickBitMap.ts +0 -128
  773. package/src/dex/pancakeswap-v3/contract-math/TickMath.ts +0 -211
  774. package/src/dex/pancakeswap-v3/contract-math/UnsafeMath.ts +0 -5
  775. package/src/dex/pancakeswap-v3/contract-math/pancakeswap-v3-math.ts +0 -687
  776. package/src/dex/pancakeswap-v3/contract-math/utils.ts +0 -11
  777. package/src/dex/pancakeswap-v3/pancakeswap-v3-e2e.test.ts +0 -459
  778. package/src/dex/pancakeswap-v3/pancakeswap-v3-events.test.ts +0 -124
  779. package/src/dex/pancakeswap-v3/pancakeswap-v3-factory.ts +0 -80
  780. package/src/dex/pancakeswap-v3/pancakeswap-v3-gas-estimation.test.ts +0 -29
  781. package/src/dex/pancakeswap-v3/pancakeswap-v3-integration.test.ts +0 -529
  782. package/src/dex/pancakeswap-v3/pancakeswap-v3-pool.ts +0 -555
  783. package/src/dex/pancakeswap-v3/pancakeswap-v3.ts +0 -1161
  784. package/src/dex/pancakeswap-v3/utils.ts +0 -65
  785. package/src/dex/paraswap-limit-orders/config.ts +0 -60
  786. package/src/dex/paraswap-limit-orders/constant.ts +0 -32
  787. package/src/dex/paraswap-limit-orders/paraswap-limit-orders-e2e.test.ts +0 -221
  788. package/src/dex/paraswap-limit-orders/paraswap-limit-orders-integration.test.ts +0 -328
  789. package/src/dex/paraswap-limit-orders/paraswap-limit-orders.ts +0 -634
  790. package/src/dex/paraswap-limit-orders/types.ts +0 -84
  791. package/src/dex/paraswap-limit-orders/utils.ts +0 -52
  792. package/src/dex/polygon-migrator/config.ts +0 -25
  793. package/src/dex/polygon-migrator/constants.ts +0 -1
  794. package/src/dex/polygon-migrator/polygon-migrator-e2e.test.ts +0 -98
  795. package/src/dex/polygon-migrator/polygon-migrator-gas-estimation.test.ts +0 -41
  796. package/src/dex/polygon-migrator/polygon-migrator-integration.test.ts +0 -139
  797. package/src/dex/polygon-migrator/polygon-migrator.ts +0 -194
  798. package/src/dex/polygon-migrator/types.ts +0 -14
  799. package/src/dex/quick-perps/config.ts +0 -31
  800. package/src/dex/quick-perps/fast-price-feed.ts +0 -279
  801. package/src/dex/quick-perps/pool.ts +0 -407
  802. package/src/dex/quick-perps/quick-perps-e2e.test.ts +0 -66
  803. package/src/dex/quick-perps/quick-perps-events.test.ts +0 -100
  804. package/src/dex/quick-perps/quick-perps-integration.test.ts +0 -153
  805. package/src/dex/quick-perps/quick-perps.ts +0 -337
  806. package/src/dex/quick-perps/types.ts +0 -97
  807. package/src/dex/quick-perps/usdq.ts +0 -83
  808. package/src/dex/quick-perps/vault-price-feed.ts +0 -322
  809. package/src/dex/quick-perps/vault-utils.ts +0 -53
  810. package/src/dex/quick-perps/vault.ts +0 -290
  811. package/src/dex/quickswap/config.ts +0 -16
  812. package/src/dex/quickswap/quickswap-e2e.test.ts +0 -384
  813. package/src/dex/quickswap/quickswap-v3.ts +0 -74
  814. package/src/dex/quickswap/thena-fusion.ts +0 -19
  815. package/src/dex/quickswap/types.ts +0 -5
  816. package/src/dex/simple-exchange.ts +0 -146
  817. package/src/dex/sky-converter/config.ts +0 -31
  818. package/src/dex/sky-converter/sky-converter-e2e.test.ts +0 -113
  819. package/src/dex/sky-converter/sky-converter-gas-estimation.test.ts +0 -78
  820. package/src/dex/sky-converter/sky-converter-integration.test.ts +0 -135
  821. package/src/dex/sky-converter/sky-converter.ts +0 -221
  822. package/src/dex/sky-converter/types.ts +0 -14
  823. package/src/dex/smoothy/smoothy-e2e.test.ts +0 -81
  824. package/src/dex/smoothy/smoothy.ts +0 -110
  825. package/src/dex/smoothy/types.ts +0 -18
  826. package/src/dex/solidly/config.ts +0 -218
  827. package/src/dex/solidly/forks-override/aerodrome.ts +0 -53
  828. package/src/dex/solidly/forks-override/chronos.ts +0 -231
  829. package/src/dex/solidly/forks-override/equalizer.ts +0 -58
  830. package/src/dex/solidly/forks-override/pharaohV1.ts +0 -10
  831. package/src/dex/solidly/forks-override/ramses.ts +0 -253
  832. package/src/dex/solidly/forks-override/spiritSwapV2.ts +0 -61
  833. package/src/dex/solidly/forks-override/thena.ts +0 -58
  834. package/src/dex/solidly/forks-override/usdfi.ts +0 -10
  835. package/src/dex/solidly/forks-override/velocimeter.ts +0 -58
  836. package/src/dex/solidly/forks-override/velodrome.ts +0 -58
  837. package/src/dex/solidly/forks-override/velodromeV2.ts +0 -63
  838. package/src/dex/solidly/solidly-e2e.test.ts +0 -1421
  839. package/src/dex/solidly/solidly-ethereum.ts +0 -61
  840. package/src/dex/solidly/solidly-gas-estimation.test.ts +0 -29
  841. package/src/dex/solidly/solidly-integration.test.ts +0 -1753
  842. package/src/dex/solidly/solidly-stable-pool.ts +0 -91
  843. package/src/dex/solidly/solidly.ts +0 -708
  844. package/src/dex/solidly/types.ts +0 -38
  845. package/src/dex/solidly-v3/config.ts +0 -118
  846. package/src/dex/solidly-v3/constants.ts +0 -42
  847. package/src/dex/solidly-v3/contract-math/BitMath.ts +0 -90
  848. package/src/dex/solidly-v3/contract-math/FixedPoint128.ts +0 -3
  849. package/src/dex/solidly-v3/contract-math/FixedPoint96.ts +0 -4
  850. package/src/dex/solidly-v3/contract-math/FullMath.ts +0 -30
  851. package/src/dex/solidly-v3/contract-math/LiquidityMath.ts +0 -17
  852. package/src/dex/solidly-v3/contract-math/SqrtPriceMath.ts +0 -226
  853. package/src/dex/solidly-v3/contract-math/SwapMath.ts +0 -139
  854. package/src/dex/solidly-v3/contract-math/Tick.ts +0 -63
  855. package/src/dex/solidly-v3/contract-math/TickBitMap.ts +0 -123
  856. package/src/dex/solidly-v3/contract-math/TickMath.ts +0 -211
  857. package/src/dex/solidly-v3/contract-math/UnsafeMath.ts +0 -5
  858. package/src/dex/solidly-v3/contract-math/uniswap-v3-math.ts +0 -562
  859. package/src/dex/solidly-v3/contract-math/utils.ts +0 -50
  860. package/src/dex/solidly-v3/solidly-v3-e2e.test.ts +0 -270
  861. package/src/dex/solidly-v3/solidly-v3-events.test.ts +0 -146
  862. package/src/dex/solidly-v3/solidly-v3-factory.ts +0 -80
  863. package/src/dex/solidly-v3/solidly-v3-gas-estimation.test.ts +0 -29
  864. package/src/dex/solidly-v3/solidly-v3-integration.test.ts +0 -358
  865. package/src/dex/solidly-v3/solidly-v3-pool.ts +0 -502
  866. package/src/dex/solidly-v3/solidly-v3.ts +0 -976
  867. package/src/dex/solidly-v3/types.ts +0 -157
  868. package/src/dex/solidly-v3/utils.ts +0 -71
  869. package/src/dex/spark/config.ts +0 -69
  870. package/src/dex/spark/constants.ts +0 -2
  871. package/src/dex/spark/scripts/validate-state.ts +0 -145
  872. package/src/dex/spark/spark-e2e.test.ts +0 -225
  873. package/src/dex/spark/spark-events.test.ts +0 -214
  874. package/src/dex/spark/spark-gas-estimation.test.ts +0 -29
  875. package/src/dex/spark/spark-integration.test.ts +0 -690
  876. package/src/dex/spark/spark-psm.ts +0 -361
  877. package/src/dex/spark/spark-sdai-pool.ts +0 -116
  878. package/src/dex/spark/spark.ts +0 -323
  879. package/src/dex/spark/types.ts +0 -54
  880. package/src/dex/spark/utils.ts +0 -151
  881. package/src/dex/stable-pool/stable-pool.ts +0 -129
  882. package/src/dex/stable-pool/stablepool-e2e.test.ts +0 -73
  883. package/src/dex/stable-pool/types.ts +0 -20
  884. package/src/dex/stader/config.ts +0 -13
  885. package/src/dex/stader/stader-e2e.test.ts +0 -74
  886. package/src/dex/stader/stader-events.test.ts +0 -64
  887. package/src/dex/stader/stader-gas-estimation.test.ts +0 -29
  888. package/src/dex/stader/stader-integration.test.ts +0 -240
  889. package/src/dex/stader/stader-pool.ts +0 -77
  890. package/src/dex/stader/stader.ts +0 -240
  891. package/src/dex/stader/types.ts +0 -16
  892. package/src/dex/stader/utils.ts +0 -34
  893. package/src/dex/stkgho/config.ts +0 -14
  894. package/src/dex/stkgho/stkgho-e2e.test.ts +0 -77
  895. package/src/dex/stkgho/stkgho-events.test.ts +0 -79
  896. package/src/dex/stkgho/stkgho-gas-estimation.test.ts +0 -29
  897. package/src/dex/stkgho/stkgho-integration.test.ts +0 -226
  898. package/src/dex/stkgho/stkgho-pool.ts +0 -111
  899. package/src/dex/stkgho/stkgho.ts +0 -223
  900. package/src/dex/stkgho/types.ts +0 -14
  901. package/src/dex/swaap-v2/config.ts +0 -42
  902. package/src/dex/swaap-v2/constants.ts +0 -52
  903. package/src/dex/swaap-v2/rate-fetcher.ts +0 -267
  904. package/src/dex/swaap-v2/stable-coins.ts +0 -25
  905. package/src/dex/swaap-v2/swaap-v2-e2e.test.ts +0 -584
  906. package/src/dex/swaap-v2/swaap-v2-estimation.test.ts +0 -29
  907. package/src/dex/swaap-v2/swaap-v2-integration.test.ts +0 -219
  908. package/src/dex/swaap-v2/swaap-v2.ts +0 -1067
  909. package/src/dex/swaap-v2/types.ts +0 -105
  910. package/src/dex/swaap-v2/utils.ts +0 -46
  911. package/src/dex/swaap-v2/validators.ts +0 -131
  912. package/src/dex/swell/config.ts +0 -29
  913. package/src/dex/swell/rsweth-pool.ts +0 -58
  914. package/src/dex/swell/swell-e2e.test.ts +0 -56
  915. package/src/dex/swell/swell-estimation.test.ts +0 -29
  916. package/src/dex/swell/swell.ts +0 -312
  917. package/src/dex/swell/sweth-pool.ts +0 -58
  918. package/src/dex/swell/type.ts +0 -7
  919. package/src/dex/swell/utils.ts +0 -53
  920. package/src/dex/synthetix/config.ts +0 -55
  921. package/src/dex/synthetix/constants.ts +0 -36
  922. package/src/dex/synthetix/contract-math/DexPriceAggregatorUniswapV3.ts +0 -276
  923. package/src/dex/synthetix/contract-math/ExchangeRates.ts +0 -117
  924. package/src/dex/synthetix/contract-math/ExchangeRatesWithDexPricing.ts +0 -278
  925. package/src/dex/synthetix/contract-math/FullMath.ts +0 -17
  926. package/src/dex/synthetix/contract-math/OracleLibrary.ts +0 -109
  927. package/src/dex/synthetix/contract-math/SafeDecimalMath.ts +0 -49
  928. package/src/dex/synthetix/contract-math/TickMath.ts +0 -72
  929. package/src/dex/synthetix/contract-math/synthetix-math.ts +0 -266
  930. package/src/dex/synthetix/synthetix-e2e.test.ts +0 -174
  931. package/src/dex/synthetix/synthetix-integration.test.ts +0 -293
  932. package/src/dex/synthetix/synthetix-state.ts +0 -970
  933. package/src/dex/synthetix/synthetix.ts +0 -420
  934. package/src/dex/synthetix/types.ts +0 -121
  935. package/src/dex/synthetix/utils.ts +0 -125
  936. package/src/dex/trader-joe-v2.1/base.ts +0 -167
  937. package/src/dex/trader-joe-v2.1/config.ts +0 -14
  938. package/src/dex/trader-joe-v2.1/trader-joe-v2.1-e2e.test.ts +0 -101
  939. package/src/dex/trader-joe-v2.1/trader-joe-v2.1-gas-estimation.test.ts +0 -29
  940. package/src/dex/trader-joe-v2.1/trader-joe-v2.1.ts +0 -23
  941. package/src/dex/trader-joe-v2.1/trader-joe-v2.2.ts +0 -23
  942. package/src/dex/trader-joe-v2.1/types.ts +0 -38
  943. package/src/dex/uniswap-v2/biswap.ts +0 -61
  944. package/src/dex/uniswap-v2/config.ts +0 -626
  945. package/src/dex/uniswap-v2/constants.ts +0 -58
  946. package/src/dex/uniswap-v2/dfyn.ts +0 -128
  947. package/src/dex/uniswap-v2/excalibur.ts +0 -63
  948. package/src/dex/uniswap-v2/mdex.ts +0 -66
  949. package/src/dex/uniswap-v2/nomiswap-v2.ts +0 -73
  950. package/src/dex/uniswap-v2/optimizer.ts +0 -66
  951. package/src/dex/uniswap-v2/types.ts +0 -164
  952. package/src/dex/uniswap-v2/uniswap-v2-constant-product-pool.ts +0 -40
  953. package/src/dex/uniswap-v2/uniswap-v2-e2e-arbitrum.test.ts +0 -438
  954. package/src/dex/uniswap-v2/uniswap-v2-e2e-avalanche.test.ts +0 -1361
  955. package/src/dex/uniswap-v2/uniswap-v2-e2e-base.test.ts +0 -42
  956. package/src/dex/uniswap-v2/uniswap-v2-e2e-bsc.test.ts +0 -1295
  957. package/src/dex/uniswap-v2/uniswap-v2-e2e-fantom.test.ts +0 -1428
  958. package/src/dex/uniswap-v2/uniswap-v2-e2e-gnosis.test.ts +0 -283
  959. package/src/dex/uniswap-v2/uniswap-v2-e2e-mainnet.test.ts +0 -1834
  960. package/src/dex/uniswap-v2/uniswap-v2-e2e-optimism.test.ts +0 -282
  961. package/src/dex/uniswap-v2/uniswap-v2-e2e-polygon.test.ts +0 -871
  962. package/src/dex/uniswap-v2/uniswap-v2-factory.ts +0 -70
  963. package/src/dex/uniswap-v2/uniswap-v2-gas-estimation.test.ts +0 -98
  964. package/src/dex/uniswap-v2/uniswap-v2-integration.test.ts +0 -63
  965. package/src/dex/uniswap-v2/uniswap-v2.ts +0 -1122
  966. package/src/dex/uniswap-v3/config.ts +0 -453
  967. package/src/dex/uniswap-v3/constants.ts +0 -56
  968. package/src/dex/uniswap-v3/contract-math/BitMath.ts +0 -90
  969. package/src/dex/uniswap-v3/contract-math/FixedPoint128.ts +0 -3
  970. package/src/dex/uniswap-v3/contract-math/FixedPoint96.ts +0 -4
  971. package/src/dex/uniswap-v3/contract-math/FullMath.ts +0 -30
  972. package/src/dex/uniswap-v3/contract-math/LiquidityMath.ts +0 -17
  973. package/src/dex/uniswap-v3/contract-math/Oracle.ts +0 -226
  974. package/src/dex/uniswap-v3/contract-math/SqrtPriceMath.ts +0 -226
  975. package/src/dex/uniswap-v3/contract-math/SwapMath.ts +0 -139
  976. package/src/dex/uniswap-v3/contract-math/Tick.ts +0 -82
  977. package/src/dex/uniswap-v3/contract-math/TickBitMap.ts +0 -143
  978. package/src/dex/uniswap-v3/contract-math/TickMath.ts +0 -211
  979. package/src/dex/uniswap-v3/contract-math/UnsafeMath.ts +0 -5
  980. package/src/dex/uniswap-v3/contract-math/uniswap-v3-math.ts +0 -668
  981. package/src/dex/uniswap-v3/contract-math/utils.ts +0 -55
  982. package/src/dex/uniswap-v3/forks/ramses-v2/ramses-v2-pool.ts +0 -157
  983. package/src/dex/uniswap-v3/forks/ramses-v2/utils.ts +0 -72
  984. package/src/dex/uniswap-v3/forks/velodrome-slipstream/utils.ts +0 -65
  985. package/src/dex/uniswap-v3/forks/velodrome-slipstream/velodrome-slipstream-factory.ts +0 -16
  986. package/src/dex/uniswap-v3/forks/velodrome-slipstream/velodrome-slipstream-pool.ts +0 -198
  987. package/src/dex/uniswap-v3/forks/velodrome-slipstream/velodrome-slipstream.ts +0 -243
  988. package/src/dex/uniswap-v3/scripts/check-pool-bitmap-ranges.ts +0 -238
  989. package/src/dex/uniswap-v3/scripts/measure-calc-time.ts +0 -172
  990. package/src/dex/uniswap-v3/types.ts +0 -213
  991. package/src/dex/uniswap-v3/uniswap-v3-e2e.test.ts +0 -1391
  992. package/src/dex/uniswap-v3/uniswap-v3-events.test.ts +0 -185
  993. package/src/dex/uniswap-v3/uniswap-v3-factory.ts +0 -80
  994. package/src/dex/uniswap-v3/uniswap-v3-gas-estimation.test.ts +0 -98
  995. package/src/dex/uniswap-v3/uniswap-v3-integration.test.ts +0 -2734
  996. package/src/dex/uniswap-v3/uniswap-v3-pool.ts +0 -564
  997. package/src/dex/uniswap-v3/uniswap-v3.ts +0 -1493
  998. package/src/dex/uniswap-v3/utils.ts +0 -83
  999. package/src/dex/uniswap-v3.ts +0 -242
  1000. package/src/dex/usual/m-wrapped-m.ts +0 -76
  1001. package/src/dex/usual/types.ts +0 -10
  1002. package/src/dex/usual/usual-bond.ts +0 -69
  1003. package/src/dex/usual/usual-e2e.test.ts +0 -169
  1004. package/src/dex/usual/usual-gas-estimation.test.ts +0 -54
  1005. package/src/dex/usual/usual-integration.test.ts +0 -515
  1006. package/src/dex/usual/usual-m-usd0.ts +0 -76
  1007. package/src/dex/usual/usual-m-wrapped-m.ts +0 -71
  1008. package/src/dex/usual/usual.ts +0 -156
  1009. package/src/dex/usual/wrapped-m-m.ts +0 -76
  1010. package/src/dex/usual-pp/config.ts +0 -18
  1011. package/src/dex/usual-pp/pool.ts +0 -77
  1012. package/src/dex/usual-pp/types.ts +0 -12
  1013. package/src/dex/usual-pp/usual-events.test.ts +0 -70
  1014. package/src/dex/usual-pp/usual-integration.test.ts +0 -143
  1015. package/src/dex/usual-pp/usual-pp-gas-estimation.test.ts +0 -29
  1016. package/src/dex/usual-pp/usual-pp.e2e.test.ts +0 -76
  1017. package/src/dex/usual-pp/usual-pp.ts +0 -207
  1018. package/src/dex/usual-pp/utils.ts +0 -27
  1019. package/src/dex/weth/config.ts +0 -87
  1020. package/src/dex/weth/types.ts +0 -34
  1021. package/src/dex/weth/weth-e2e-v6.test.ts +0 -117
  1022. package/src/dex/weth/weth-e2e.test.ts +0 -1032
  1023. package/src/dex/weth/weth-gas-estimation.test.ts +0 -42
  1024. package/src/dex/weth/weth-integration.test.ts +0 -80
  1025. package/src/dex/weth/weth.ts +0 -232
  1026. package/src/dex/wombat/config.ts +0 -77
  1027. package/src/dex/wombat/types.ts +0 -55
  1028. package/src/dex/wombat/utils.ts +0 -82
  1029. package/src/dex/wombat/wombat-bmw.ts +0 -186
  1030. package/src/dex/wombat/wombat-e2e.test.ts +0 -272
  1031. package/src/dex/wombat/wombat-events.test.ts +0 -147
  1032. package/src/dex/wombat/wombat-gas-estimation.test.ts +0 -29
  1033. package/src/dex/wombat/wombat-integration.test.ts +0 -217
  1034. package/src/dex/wombat/wombat-pool.ts +0 -688
  1035. package/src/dex/wombat/wombat-quoter.ts +0 -269
  1036. package/src/dex/wombat/wombat.ts +0 -467
  1037. package/src/dex/woo-fi-v2/config.ts +0 -100
  1038. package/src/dex/woo-fi-v2/constants.ts +0 -22
  1039. package/src/dex/woo-fi-v2/decoders.ts +0 -45
  1040. package/src/dex/woo-fi-v2/types.ts +0 -64
  1041. package/src/dex/woo-fi-v2/utils.ts +0 -19
  1042. package/src/dex/woo-fi-v2/woo-fi-v2-e2e.test.ts +0 -282
  1043. package/src/dex/woo-fi-v2/woo-fi-v2-integration.test.ts +0 -495
  1044. package/src/dex/woo-fi-v2/woo-fi-v2-math.ts +0 -228
  1045. package/src/dex/woo-fi-v2/woo-fi-v2-pool.ts +0 -143
  1046. package/src/dex/woo-fi-v2/woo-fi-v2.ts +0 -528
  1047. package/src/dex/wsteth/config.ts +0 -16
  1048. package/src/dex/wsteth/types.ts +0 -13
  1049. package/src/dex/wsteth/wsteth-e2e.test.ts +0 -96
  1050. package/src/dex/wsteth/wsteth-gas-estimation.test.ts +0 -41
  1051. package/src/dex/wsteth/wsteth-integration.test.ts +0 -200
  1052. package/src/dex/wsteth/wsteth.ts +0 -304
  1053. package/src/dex-helper/dummy-dex-helper.ts +0 -379
  1054. package/src/dex-helper/dummy-limit-order-provider.ts +0 -74
  1055. package/src/dex-helper/iblock-manager.ts +0 -60
  1056. package/src/dex-helper/icache.ts +0 -85
  1057. package/src/dex-helper/idex-helper.ts +0 -27
  1058. package/src/dex-helper/ilimit-order-provider.ts +0 -27
  1059. package/src/dex-helper/index.ts +0 -16
  1060. package/src/dex-helper/irequest-wrapper.ts +0 -67
  1061. package/src/executor/Executor01BytecodeBuilder.ts +0 -479
  1062. package/src/executor/Executor02BytecodeBuilder.ts +0 -1419
  1063. package/src/executor/Executor03BytecodeBuilder.ts +0 -473
  1064. package/src/executor/ExecutorBytecodeBuilder.ts +0 -453
  1065. package/src/executor/ExecutorDetector.ts +0 -131
  1066. package/src/executor/WETHBytecodeBuilder.ts +0 -58
  1067. package/src/executor/__snapshots__/executor01-bytecode-builder-snapshot.test.ts.snap +0 -35
  1068. package/src/executor/__snapshots__/executor02-bytecode-builder-snapshot.test.ts.snap +0 -23
  1069. package/src/executor/constants.ts +0 -66
  1070. package/src/executor/executor01-bytecode-builder-e2e.test.ts +0 -1503
  1071. package/src/executor/executor01-bytecode-builder-snapshot.test.ts +0 -271
  1072. package/src/executor/executor02-bytecode-builder-e2e.test.ts +0 -1578
  1073. package/src/executor/executor02-bytecode-builder-snapshot.test.ts +0 -188
  1074. package/src/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -16
  1075. package/src/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -16
  1076. package/src/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -16
  1077. package/src/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -16
  1078. package/src/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -16
  1079. package/src/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -16
  1080. package/src/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -16
  1081. package/src/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -16
  1082. package/src/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -9
  1083. package/src/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -9
  1084. package/src/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -9
  1085. package/src/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-eth-steth.json +0 -9
  1086. package/src/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-steth-eth.json +0 -9
  1087. package/src/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -9
  1088. package/src/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-eth-usdc.json +0 -9
  1089. package/src/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-eth.json +0 -9
  1090. package/src/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-usdt.json +0 -9
  1091. package/src/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -12
  1092. package/src/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -7
  1093. package/src/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -7
  1094. package/src/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -7
  1095. package/src/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -7
  1096. package/src/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -12
  1097. package/src/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-eth-usdc.json +0 -7
  1098. package/src/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-usdc-eth.json +0 -7
  1099. package/src/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -78
  1100. package/src/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -81
  1101. package/src/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -78
  1102. package/src/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -78
  1103. package/src/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -81
  1104. package/src/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -81
  1105. package/src/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -81
  1106. package/src/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -81
  1107. package/src/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -64
  1108. package/src/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -85
  1109. package/src/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -64
  1110. package/src/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-eth-steth.json +0 -52
  1111. package/src/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-steth-eth.json +0 -52
  1112. package/src/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -52
  1113. package/src/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-eth-usdc.json +0 -55
  1114. package/src/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-eth.json +0 -55
  1115. package/src/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-usdt.json +0 -55
  1116. package/src/executor/fixtures/executor02/exchange-params/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -23
  1117. package/src/executor/fixtures/executor02/exchange-params/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -37
  1118. package/src/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -23
  1119. package/src/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -23
  1120. package/src/executor/fixtures/executor02/exchange-params/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -51
  1121. package/src/executor/fixtures/executor02/exchange-params/price-route-multiswap-univ3-usdt-dai-eth.json +0 -58
  1122. package/src/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -23
  1123. package/src/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -23
  1124. package/src/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -9
  1125. package/src/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -16
  1126. package/src/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -23
  1127. package/src/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -12
  1128. package/src/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -7
  1129. package/src/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -12
  1130. package/src/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -12
  1131. package/src/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -7
  1132. package/src/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-univ3-usdt-dai-eth.json +0 -7
  1133. package/src/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -7
  1134. package/src/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -7
  1135. package/src/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -7
  1136. package/src/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -7
  1137. package/src/executor/fixtures/executor02/routes/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -130
  1138. package/src/executor/fixtures/executor02/routes/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -136
  1139. package/src/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -100
  1140. package/src/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -100
  1141. package/src/executor/fixtures/executor02/routes/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -166
  1142. package/src/executor/fixtures/executor02/routes/price-route-multiswap-univ3-usdt-dai-eth.json +0 -190
  1143. package/src/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -114
  1144. package/src/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -114
  1145. package/src/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -55
  1146. package/src/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -73
  1147. package/src/executor/fixtures/executor02/routes/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -82
  1148. package/src/executor/types.ts +0 -45
  1149. package/src/executor/utils.ts +0 -62
  1150. package/src/generic-swap-transaction-builder.ts +0 -753
  1151. package/src/implementations/local-paraswap-sdk.ts +0 -342
  1152. package/src/index.ts +0 -38
  1153. package/src/lens.ts +0 -8
  1154. package/src/lib/api3-feed.ts +0 -175
  1155. package/src/lib/benqi/staked-avax.ts +0 -123
  1156. package/src/lib/chainlink.ts +0 -113
  1157. package/src/lib/curve/encoder.ts +0 -19
  1158. package/src/lib/decoders.ts +0 -199
  1159. package/src/lib/erc1271-utils.ts +0 -24
  1160. package/src/lib/fetcher/fetcher.ts +0 -183
  1161. package/src/lib/fetcher/wsFetcher.ts +0 -158
  1162. package/src/lib/generics-events-subscribers/erc20-event-subscriber-factory.ts +0 -18
  1163. package/src/lib/generics-events-subscribers/erc20-event-subscriber.test.ts +0 -126
  1164. package/src/lib/generics-events-subscribers/erc20-event-subscriber.ts +0 -261
  1165. package/src/lib/generics-events-subscribers/types.ts +0 -41
  1166. package/src/lib/generics-events-subscribers/utils.ts +0 -37
  1167. package/src/lib/log-messages-suppressor.ts +0 -173
  1168. package/src/lib/log4js.ts +0 -88
  1169. package/src/lib/multi-wrapper.ts +0 -108
  1170. package/src/lib/promise-scheduler.ts +0 -55
  1171. package/src/lib/pub-sub.ts +0 -232
  1172. package/src/lib/stateful-rpc-poller/state-polling-manager.ts +0 -320
  1173. package/src/lib/stateful-rpc-poller/stateful-rpc-poller.ts +0 -604
  1174. package/src/lib/stateful-rpc-poller/types.ts +0 -66
  1175. package/src/lib/stateful-rpc-poller/utils.ts +0 -23
  1176. package/src/lib/task-scheduler.ts +0 -64
  1177. package/src/lib/token-transfer-fee.ts +0 -42
  1178. package/src/lib/tokens/balancer-fetcher.ts +0 -283
  1179. package/src/lib/tokens/types.ts +0 -102
  1180. package/src/lib/tokens/utils.ts +0 -179
  1181. package/src/lib/utils-interfaces.ts +0 -4
  1182. package/src/lib/validators.ts +0 -34
  1183. package/src/pools-helper.ts +0 -58
  1184. package/src/pricing-helper.ts +0 -328
  1185. package/src/rebase-tokens.json +0 -17
  1186. package/src/router/buy.ts +0 -101
  1187. package/src/router/directswap.ts +0 -101
  1188. package/src/router/index.ts +0 -48
  1189. package/src/router/irouter.ts +0 -20
  1190. package/src/router/megaswap.ts +0 -88
  1191. package/src/router/multiswap.ts +0 -96
  1192. package/src/router/payload-encoder.ts +0 -293
  1193. package/src/router/simpleswap.ts +0 -369
  1194. package/src/router/simpleswapnft.ts +0 -138
  1195. package/src/stateful-event-subscriber.ts +0 -512
  1196. package/src/transaction-builder.ts +0 -129
  1197. package/src/types.ts +0 -357
  1198. package/src/utils.ts +0 -410
  1199. package/tests/constants-e2e.ts +0 -2230
  1200. package/tests/debug-price-route.test.ts +0 -55
  1201. package/tests/generate-new-limit-order.ts +0 -107
  1202. package/tests/payload-encoder.test.ts +0 -49
  1203. package/tests/tenderly-simulation.test.ts +0 -151
  1204. package/tests/tenderly-simulation.ts +0 -698
  1205. package/tests/token-storage-slots.json +0 -738
  1206. package/tests/transaction-builder.test.ts +0 -234
  1207. package/tests/utils-e2e.ts +0 -651
  1208. package/tests/utils-events.ts +0 -186
  1209. package/tests/utils.ts +0 -127
  1210. package/tests/v6/utils-e2e-v6.ts +0 -103
  1211. package/tsconfig.json +0 -23
@@ -1,2137 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- {
5
- "internalType": "address",
6
- "name": "_wrappedNativeToken",
7
- "type": "address"
8
- },
9
- {
10
- "internalType": "address",
11
- "name": "_permit2",
12
- "type": "address"
13
- },
14
- {
15
- "internalType": "address",
16
- "name": "_daiAddress",
17
- "type": "address"
18
- }
19
- ],
20
- "stateMutability": "nonpayable",
21
- "type": "constructor"
22
- },
23
- {
24
- "inputs": [],
25
- "name": "CommandsLengthsMismatch",
26
- "type": "error"
27
- },
28
- {
29
- "inputs": [],
30
- "name": "FailedToSendNativeToken",
31
- "type": "error"
32
- },
33
- {
34
- "inputs": [],
35
- "name": "InvalidCommand",
36
- "type": "error"
37
- },
38
- {
39
- "inputs": [],
40
- "name": "InvalidCommandsLength",
41
- "type": "error"
42
- },
43
- {
44
- "inputs": [],
45
- "name": "InvalidEIP1271Signature",
46
- "type": "error"
47
- },
48
- {
49
- "inputs": [],
50
- "name": "InvalidEIP721Signature",
51
- "type": "error"
52
- },
53
- {
54
- "inputs": [],
55
- "name": "InvalidETHSIGNSignature",
56
- "type": "error"
57
- },
58
- {
59
- "inputs": [],
60
- "name": "InvalidFlags",
61
- "type": "error"
62
- },
63
- {
64
- "inputs": [],
65
- "name": "InvalidNonce",
66
- "type": "error"
67
- },
68
- {
69
- "inputs": [],
70
- "name": "InvalidPendingTransfersLength",
71
- "type": "error"
72
- },
73
- {
74
- "inputs": [],
75
- "name": "InvalidPermit2Commands",
76
- "type": "error"
77
- },
78
- {
79
- "inputs": [],
80
- "name": "InvalidPermit2TransfersLength",
81
- "type": "error"
82
- },
83
- {
84
- "inputs": [],
85
- "name": "InvalidSender",
86
- "type": "error"
87
- },
88
- {
89
- "inputs": [],
90
- "name": "InvalidSignatureLength",
91
- "type": "error"
92
- },
93
- {
94
- "inputs": [],
95
- "name": "InvalidSignatureType",
96
- "type": "error"
97
- },
98
- {
99
- "inputs": [],
100
- "name": "InvalidSignatureValueS",
101
- "type": "error"
102
- },
103
- {
104
- "inputs": [],
105
- "name": "InvalidSignatureValueV",
106
- "type": "error"
107
- },
108
- {
109
- "inputs": [],
110
- "name": "MakerAmountsLengthsMismatch",
111
- "type": "error"
112
- },
113
- {
114
- "inputs": [],
115
- "name": "ManyToManyNotSupported",
116
- "type": "error"
117
- },
118
- {
119
- "inputs": [],
120
- "name": "NotEnoughNativeToken",
121
- "type": "error"
122
- },
123
- {
124
- "inputs": [],
125
- "name": "NullBeneficiary",
126
- "type": "error"
127
- },
128
- {
129
- "inputs": [],
130
- "name": "OrderExpired",
131
- "type": "error"
132
- },
133
- {
134
- "inputs": [],
135
- "name": "OrderInvalidSigner",
136
- "type": "error"
137
- },
138
- {
139
- "inputs": [],
140
- "name": "OrdersLengthsMismatch",
141
- "type": "error"
142
- },
143
- {
144
- "inputs": [],
145
- "name": "PartialFillNotSupported",
146
- "type": "error"
147
- },
148
- {
149
- "inputs": [],
150
- "name": "PartnerAlreadyRegistered",
151
- "type": "error"
152
- },
153
- {
154
- "inputs": [],
155
- "name": "PartnerFeeTooHigh",
156
- "type": "error"
157
- },
158
- {
159
- "inputs": [],
160
- "name": "TokensLengthsMismatch",
161
- "type": "error"
162
- },
163
- {
164
- "inputs": [],
165
- "name": "UnsafeCast",
166
- "type": "error"
167
- },
168
- {
169
- "inputs": [],
170
- "name": "UpdatedMakerAmountsTooLow",
171
- "type": "error"
172
- },
173
- {
174
- "inputs": [],
175
- "name": "WrongWrappedTokenAddress",
176
- "type": "error"
177
- },
178
- {
179
- "inputs": [],
180
- "name": "ZeroMakerAmount",
181
- "type": "error"
182
- },
183
- {
184
- "inputs": [],
185
- "name": "ZeroNonce",
186
- "type": "error"
187
- },
188
- {
189
- "anonymous": false,
190
- "inputs": [
191
- {
192
- "indexed": true,
193
- "internalType": "uint128",
194
- "name": "eventId",
195
- "type": "uint128"
196
- }
197
- ],
198
- "name": "BebopOrder",
199
- "type": "event"
200
- },
201
- {
202
- "anonymous": false,
203
- "inputs": [
204
- {
205
- "indexed": false,
206
- "internalType": "address",
207
- "name": "maker",
208
- "type": "address"
209
- },
210
- {
211
- "indexed": false,
212
- "internalType": "address",
213
- "name": "signer",
214
- "type": "address"
215
- },
216
- {
217
- "indexed": false,
218
- "internalType": "bool",
219
- "name": "allowed",
220
- "type": "bool"
221
- }
222
- ],
223
- "name": "OrderSignerRegistered",
224
- "type": "event"
225
- },
226
- {
227
- "inputs": [],
228
- "name": "DOMAIN_SEPARATOR",
229
- "outputs": [
230
- {
231
- "internalType": "bytes32",
232
- "name": "",
233
- "type": "bytes32"
234
- }
235
- ],
236
- "stateMutability": "view",
237
- "type": "function"
238
- },
239
- {
240
- "inputs": [
241
- {
242
- "components": [
243
- {
244
- "internalType": "uint256",
245
- "name": "expiry",
246
- "type": "uint256"
247
- },
248
- {
249
- "internalType": "address",
250
- "name": "taker_address",
251
- "type": "address"
252
- },
253
- {
254
- "internalType": "address[]",
255
- "name": "maker_addresses",
256
- "type": "address[]"
257
- },
258
- {
259
- "internalType": "uint256[]",
260
- "name": "maker_nonces",
261
- "type": "uint256[]"
262
- },
263
- {
264
- "internalType": "address[][]",
265
- "name": "taker_tokens",
266
- "type": "address[][]"
267
- },
268
- {
269
- "internalType": "address[][]",
270
- "name": "maker_tokens",
271
- "type": "address[][]"
272
- },
273
- {
274
- "internalType": "uint256[][]",
275
- "name": "taker_amounts",
276
- "type": "uint256[][]"
277
- },
278
- {
279
- "internalType": "uint256[][]",
280
- "name": "maker_amounts",
281
- "type": "uint256[][]"
282
- },
283
- {
284
- "internalType": "address",
285
- "name": "receiver",
286
- "type": "address"
287
- },
288
- {
289
- "internalType": "bytes",
290
- "name": "commands",
291
- "type": "bytes"
292
- },
293
- {
294
- "internalType": "uint256",
295
- "name": "flags",
296
- "type": "uint256"
297
- }
298
- ],
299
- "internalType": "struct Order.Aggregate",
300
- "name": "order",
301
- "type": "tuple"
302
- },
303
- {
304
- "internalType": "uint64",
305
- "name": "partnerId",
306
- "type": "uint64"
307
- },
308
- {
309
- "internalType": "uint256[][]",
310
- "name": "updatedMakerAmounts",
311
- "type": "uint256[][]"
312
- },
313
- {
314
- "internalType": "uint256[]",
315
- "name": "updatedMakerNonces",
316
- "type": "uint256[]"
317
- }
318
- ],
319
- "name": "hashAggregateOrder",
320
- "outputs": [
321
- {
322
- "internalType": "bytes32",
323
- "name": "",
324
- "type": "bytes32"
325
- }
326
- ],
327
- "stateMutability": "view",
328
- "type": "function"
329
- },
330
- {
331
- "inputs": [
332
- {
333
- "components": [
334
- {
335
- "internalType": "uint256",
336
- "name": "expiry",
337
- "type": "uint256"
338
- },
339
- {
340
- "internalType": "address",
341
- "name": "taker_address",
342
- "type": "address"
343
- },
344
- {
345
- "internalType": "address",
346
- "name": "maker_address",
347
- "type": "address"
348
- },
349
- {
350
- "internalType": "uint256",
351
- "name": "maker_nonce",
352
- "type": "uint256"
353
- },
354
- {
355
- "internalType": "address[]",
356
- "name": "taker_tokens",
357
- "type": "address[]"
358
- },
359
- {
360
- "internalType": "address[]",
361
- "name": "maker_tokens",
362
- "type": "address[]"
363
- },
364
- {
365
- "internalType": "uint256[]",
366
- "name": "taker_amounts",
367
- "type": "uint256[]"
368
- },
369
- {
370
- "internalType": "uint256[]",
371
- "name": "maker_amounts",
372
- "type": "uint256[]"
373
- },
374
- {
375
- "internalType": "address",
376
- "name": "receiver",
377
- "type": "address"
378
- },
379
- {
380
- "internalType": "bytes",
381
- "name": "commands",
382
- "type": "bytes"
383
- },
384
- {
385
- "internalType": "uint256",
386
- "name": "flags",
387
- "type": "uint256"
388
- }
389
- ],
390
- "internalType": "struct Order.Multi",
391
- "name": "order",
392
- "type": "tuple"
393
- },
394
- {
395
- "internalType": "uint64",
396
- "name": "partnerId",
397
- "type": "uint64"
398
- },
399
- {
400
- "internalType": "uint256[]",
401
- "name": "updatedMakerAmounts",
402
- "type": "uint256[]"
403
- },
404
- {
405
- "internalType": "uint256",
406
- "name": "updatedMakerNonce",
407
- "type": "uint256"
408
- }
409
- ],
410
- "name": "hashMultiOrder",
411
- "outputs": [
412
- {
413
- "internalType": "bytes32",
414
- "name": "",
415
- "type": "bytes32"
416
- }
417
- ],
418
- "stateMutability": "view",
419
- "type": "function"
420
- },
421
- {
422
- "inputs": [
423
- {
424
- "components": [
425
- {
426
- "internalType": "uint256",
427
- "name": "expiry",
428
- "type": "uint256"
429
- },
430
- {
431
- "internalType": "address",
432
- "name": "taker_address",
433
- "type": "address"
434
- },
435
- {
436
- "internalType": "address",
437
- "name": "maker_address",
438
- "type": "address"
439
- },
440
- {
441
- "internalType": "uint256",
442
- "name": "maker_nonce",
443
- "type": "uint256"
444
- },
445
- {
446
- "internalType": "address",
447
- "name": "taker_token",
448
- "type": "address"
449
- },
450
- {
451
- "internalType": "address",
452
- "name": "maker_token",
453
- "type": "address"
454
- },
455
- {
456
- "internalType": "uint256",
457
- "name": "taker_amount",
458
- "type": "uint256"
459
- },
460
- {
461
- "internalType": "uint256",
462
- "name": "maker_amount",
463
- "type": "uint256"
464
- },
465
- {
466
- "internalType": "address",
467
- "name": "receiver",
468
- "type": "address"
469
- },
470
- {
471
- "internalType": "uint256",
472
- "name": "packed_commands",
473
- "type": "uint256"
474
- },
475
- {
476
- "internalType": "uint256",
477
- "name": "flags",
478
- "type": "uint256"
479
- }
480
- ],
481
- "internalType": "struct Order.Single",
482
- "name": "order",
483
- "type": "tuple"
484
- },
485
- {
486
- "internalType": "uint64",
487
- "name": "partnerId",
488
- "type": "uint64"
489
- },
490
- {
491
- "internalType": "uint256",
492
- "name": "updatedMakerAmount",
493
- "type": "uint256"
494
- },
495
- {
496
- "internalType": "uint256",
497
- "name": "updatedMakerNonce",
498
- "type": "uint256"
499
- }
500
- ],
501
- "name": "hashSingleOrder",
502
- "outputs": [
503
- {
504
- "internalType": "bytes32",
505
- "name": "",
506
- "type": "bytes32"
507
- }
508
- ],
509
- "stateMutability": "view",
510
- "type": "function"
511
- },
512
- {
513
- "inputs": [
514
- {
515
- "internalType": "uint64",
516
- "name": "",
517
- "type": "uint64"
518
- }
519
- ],
520
- "name": "partners",
521
- "outputs": [
522
- {
523
- "internalType": "uint16",
524
- "name": "fee",
525
- "type": "uint16"
526
- },
527
- {
528
- "internalType": "address",
529
- "name": "beneficiary",
530
- "type": "address"
531
- },
532
- {
533
- "internalType": "bool",
534
- "name": "registered",
535
- "type": "bool"
536
- }
537
- ],
538
- "stateMutability": "view",
539
- "type": "function"
540
- },
541
- {
542
- "inputs": [
543
- {
544
- "internalType": "address",
545
- "name": "signer",
546
- "type": "address"
547
- },
548
- {
549
- "internalType": "bool",
550
- "name": "allowed",
551
- "type": "bool"
552
- }
553
- ],
554
- "name": "registerAllowedOrderSigner",
555
- "outputs": [],
556
- "stateMutability": "nonpayable",
557
- "type": "function"
558
- },
559
- {
560
- "inputs": [
561
- {
562
- "internalType": "uint64",
563
- "name": "partnerId",
564
- "type": "uint64"
565
- },
566
- {
567
- "internalType": "uint16",
568
- "name": "fee",
569
- "type": "uint16"
570
- },
571
- {
572
- "internalType": "address",
573
- "name": "beneficiary",
574
- "type": "address"
575
- }
576
- ],
577
- "name": "registerPartner",
578
- "outputs": [],
579
- "stateMutability": "nonpayable",
580
- "type": "function"
581
- },
582
- {
583
- "inputs": [
584
- {
585
- "components": [
586
- {
587
- "internalType": "uint256",
588
- "name": "expiry",
589
- "type": "uint256"
590
- },
591
- {
592
- "internalType": "address",
593
- "name": "taker_address",
594
- "type": "address"
595
- },
596
- {
597
- "internalType": "address[]",
598
- "name": "maker_addresses",
599
- "type": "address[]"
600
- },
601
- {
602
- "internalType": "uint256[]",
603
- "name": "maker_nonces",
604
- "type": "uint256[]"
605
- },
606
- {
607
- "internalType": "address[][]",
608
- "name": "taker_tokens",
609
- "type": "address[][]"
610
- },
611
- {
612
- "internalType": "address[][]",
613
- "name": "maker_tokens",
614
- "type": "address[][]"
615
- },
616
- {
617
- "internalType": "uint256[][]",
618
- "name": "taker_amounts",
619
- "type": "uint256[][]"
620
- },
621
- {
622
- "internalType": "uint256[][]",
623
- "name": "maker_amounts",
624
- "type": "uint256[][]"
625
- },
626
- {
627
- "internalType": "address",
628
- "name": "receiver",
629
- "type": "address"
630
- },
631
- {
632
- "internalType": "bytes",
633
- "name": "commands",
634
- "type": "bytes"
635
- },
636
- {
637
- "internalType": "uint256",
638
- "name": "flags",
639
- "type": "uint256"
640
- }
641
- ],
642
- "internalType": "struct Order.Aggregate",
643
- "name": "order",
644
- "type": "tuple"
645
- },
646
- {
647
- "components": [
648
- {
649
- "internalType": "bytes",
650
- "name": "signatureBytes",
651
- "type": "bytes"
652
- },
653
- {
654
- "internalType": "uint256",
655
- "name": "flags",
656
- "type": "uint256"
657
- }
658
- ],
659
- "internalType": "struct Signature.MakerSignature[]",
660
- "name": "makersSignatures",
661
- "type": "tuple[]"
662
- },
663
- {
664
- "internalType": "uint256",
665
- "name": "filledTakerAmount",
666
- "type": "uint256"
667
- },
668
- {
669
- "components": [
670
- {
671
- "internalType": "bool",
672
- "name": "useOldAmount",
673
- "type": "bool"
674
- },
675
- {
676
- "internalType": "uint256[][]",
677
- "name": "makerAmounts",
678
- "type": "uint256[][]"
679
- },
680
- {
681
- "internalType": "uint256[]",
682
- "name": "makerNonces",
683
- "type": "uint256[]"
684
- }
685
- ],
686
- "internalType": "struct Transfer.OldAggregateQuote",
687
- "name": "takerQuoteInfo",
688
- "type": "tuple"
689
- },
690
- {
691
- "internalType": "bytes",
692
- "name": "takerSignature",
693
- "type": "bytes"
694
- }
695
- ],
696
- "name": "settleAggregate",
697
- "outputs": [],
698
- "stateMutability": "payable",
699
- "type": "function"
700
- },
701
- {
702
- "inputs": [
703
- {
704
- "components": [
705
- {
706
- "internalType": "uint256",
707
- "name": "expiry",
708
- "type": "uint256"
709
- },
710
- {
711
- "internalType": "address",
712
- "name": "taker_address",
713
- "type": "address"
714
- },
715
- {
716
- "internalType": "address[]",
717
- "name": "maker_addresses",
718
- "type": "address[]"
719
- },
720
- {
721
- "internalType": "uint256[]",
722
- "name": "maker_nonces",
723
- "type": "uint256[]"
724
- },
725
- {
726
- "internalType": "address[][]",
727
- "name": "taker_tokens",
728
- "type": "address[][]"
729
- },
730
- {
731
- "internalType": "address[][]",
732
- "name": "maker_tokens",
733
- "type": "address[][]"
734
- },
735
- {
736
- "internalType": "uint256[][]",
737
- "name": "taker_amounts",
738
- "type": "uint256[][]"
739
- },
740
- {
741
- "internalType": "uint256[][]",
742
- "name": "maker_amounts",
743
- "type": "uint256[][]"
744
- },
745
- {
746
- "internalType": "address",
747
- "name": "receiver",
748
- "type": "address"
749
- },
750
- {
751
- "internalType": "bytes",
752
- "name": "commands",
753
- "type": "bytes"
754
- },
755
- {
756
- "internalType": "uint256",
757
- "name": "flags",
758
- "type": "uint256"
759
- }
760
- ],
761
- "internalType": "struct Order.Aggregate",
762
- "name": "order",
763
- "type": "tuple"
764
- },
765
- {
766
- "components": [
767
- {
768
- "internalType": "bytes",
769
- "name": "signatureBytes",
770
- "type": "bytes"
771
- },
772
- {
773
- "internalType": "uint256",
774
- "name": "flags",
775
- "type": "uint256"
776
- }
777
- ],
778
- "internalType": "struct Signature.MakerSignature[]",
779
- "name": "makersSignatures",
780
- "type": "tuple[]"
781
- },
782
- {
783
- "internalType": "uint256",
784
- "name": "filledTakerAmount",
785
- "type": "uint256"
786
- },
787
- {
788
- "components": [
789
- {
790
- "internalType": "bool",
791
- "name": "useOldAmount",
792
- "type": "bool"
793
- },
794
- {
795
- "internalType": "uint256[][]",
796
- "name": "makerAmounts",
797
- "type": "uint256[][]"
798
- },
799
- {
800
- "internalType": "uint256[]",
801
- "name": "makerNonces",
802
- "type": "uint256[]"
803
- }
804
- ],
805
- "internalType": "struct Transfer.OldAggregateQuote",
806
- "name": "takerQuoteInfo",
807
- "type": "tuple"
808
- },
809
- {
810
- "internalType": "bytes",
811
- "name": "takerSignature",
812
- "type": "bytes"
813
- },
814
- {
815
- "components": [
816
- {
817
- "internalType": "bytes",
818
- "name": "signatureBytes",
819
- "type": "bytes"
820
- },
821
- {
822
- "internalType": "uint256",
823
- "name": "deadline",
824
- "type": "uint256"
825
- }
826
- ],
827
- "internalType": "struct Signature.PermitSignature",
828
- "name": "takerPermitSignature",
829
- "type": "tuple"
830
- }
831
- ],
832
- "name": "settleAggregateAndSignPermit",
833
- "outputs": [],
834
- "stateMutability": "payable",
835
- "type": "function"
836
- },
837
- {
838
- "inputs": [
839
- {
840
- "components": [
841
- {
842
- "internalType": "uint256",
843
- "name": "expiry",
844
- "type": "uint256"
845
- },
846
- {
847
- "internalType": "address",
848
- "name": "taker_address",
849
- "type": "address"
850
- },
851
- {
852
- "internalType": "address[]",
853
- "name": "maker_addresses",
854
- "type": "address[]"
855
- },
856
- {
857
- "internalType": "uint256[]",
858
- "name": "maker_nonces",
859
- "type": "uint256[]"
860
- },
861
- {
862
- "internalType": "address[][]",
863
- "name": "taker_tokens",
864
- "type": "address[][]"
865
- },
866
- {
867
- "internalType": "address[][]",
868
- "name": "maker_tokens",
869
- "type": "address[][]"
870
- },
871
- {
872
- "internalType": "uint256[][]",
873
- "name": "taker_amounts",
874
- "type": "uint256[][]"
875
- },
876
- {
877
- "internalType": "uint256[][]",
878
- "name": "maker_amounts",
879
- "type": "uint256[][]"
880
- },
881
- {
882
- "internalType": "address",
883
- "name": "receiver",
884
- "type": "address"
885
- },
886
- {
887
- "internalType": "bytes",
888
- "name": "commands",
889
- "type": "bytes"
890
- },
891
- {
892
- "internalType": "uint256",
893
- "name": "flags",
894
- "type": "uint256"
895
- }
896
- ],
897
- "internalType": "struct Order.Aggregate",
898
- "name": "order",
899
- "type": "tuple"
900
- },
901
- {
902
- "components": [
903
- {
904
- "internalType": "bytes",
905
- "name": "signatureBytes",
906
- "type": "bytes"
907
- },
908
- {
909
- "internalType": "uint256",
910
- "name": "flags",
911
- "type": "uint256"
912
- }
913
- ],
914
- "internalType": "struct Signature.MakerSignature[]",
915
- "name": "makersSignatures",
916
- "type": "tuple[]"
917
- },
918
- {
919
- "internalType": "uint256",
920
- "name": "filledTakerAmount",
921
- "type": "uint256"
922
- },
923
- {
924
- "components": [
925
- {
926
- "internalType": "bool",
927
- "name": "useOldAmount",
928
- "type": "bool"
929
- },
930
- {
931
- "internalType": "uint256[][]",
932
- "name": "makerAmounts",
933
- "type": "uint256[][]"
934
- },
935
- {
936
- "internalType": "uint256[]",
937
- "name": "makerNonces",
938
- "type": "uint256[]"
939
- }
940
- ],
941
- "internalType": "struct Transfer.OldAggregateQuote",
942
- "name": "takerQuoteInfo",
943
- "type": "tuple"
944
- },
945
- {
946
- "internalType": "bytes",
947
- "name": "takerSignature",
948
- "type": "bytes"
949
- },
950
- {
951
- "components": [
952
- {
953
- "internalType": "bytes",
954
- "name": "signatureBytes",
955
- "type": "bytes"
956
- },
957
- {
958
- "internalType": "uint48",
959
- "name": "deadline",
960
- "type": "uint48"
961
- },
962
- {
963
- "internalType": "uint48[]",
964
- "name": "nonces",
965
- "type": "uint48[]"
966
- }
967
- ],
968
- "internalType": "struct Signature.MultiTokensPermit2Signature",
969
- "name": "infoPermit2",
970
- "type": "tuple"
971
- }
972
- ],
973
- "name": "settleAggregateAndSignPermit2",
974
- "outputs": [],
975
- "stateMutability": "payable",
976
- "type": "function"
977
- },
978
- {
979
- "inputs": [
980
- {
981
- "components": [
982
- {
983
- "internalType": "uint256",
984
- "name": "expiry",
985
- "type": "uint256"
986
- },
987
- {
988
- "internalType": "address",
989
- "name": "taker_address",
990
- "type": "address"
991
- },
992
- {
993
- "internalType": "address",
994
- "name": "maker_address",
995
- "type": "address"
996
- },
997
- {
998
- "internalType": "uint256",
999
- "name": "maker_nonce",
1000
- "type": "uint256"
1001
- },
1002
- {
1003
- "internalType": "address[]",
1004
- "name": "taker_tokens",
1005
- "type": "address[]"
1006
- },
1007
- {
1008
- "internalType": "address[]",
1009
- "name": "maker_tokens",
1010
- "type": "address[]"
1011
- },
1012
- {
1013
- "internalType": "uint256[]",
1014
- "name": "taker_amounts",
1015
- "type": "uint256[]"
1016
- },
1017
- {
1018
- "internalType": "uint256[]",
1019
- "name": "maker_amounts",
1020
- "type": "uint256[]"
1021
- },
1022
- {
1023
- "internalType": "address",
1024
- "name": "receiver",
1025
- "type": "address"
1026
- },
1027
- {
1028
- "internalType": "bytes",
1029
- "name": "commands",
1030
- "type": "bytes"
1031
- },
1032
- {
1033
- "internalType": "uint256",
1034
- "name": "flags",
1035
- "type": "uint256"
1036
- }
1037
- ],
1038
- "internalType": "struct Order.Multi",
1039
- "name": "order",
1040
- "type": "tuple"
1041
- },
1042
- {
1043
- "components": [
1044
- {
1045
- "internalType": "bytes",
1046
- "name": "signatureBytes",
1047
- "type": "bytes"
1048
- },
1049
- {
1050
- "internalType": "uint256",
1051
- "name": "flags",
1052
- "type": "uint256"
1053
- }
1054
- ],
1055
- "internalType": "struct Signature.MakerSignature",
1056
- "name": "makerSignature",
1057
- "type": "tuple"
1058
- },
1059
- {
1060
- "internalType": "uint256",
1061
- "name": "filledTakerAmount",
1062
- "type": "uint256"
1063
- },
1064
- {
1065
- "components": [
1066
- {
1067
- "internalType": "bool",
1068
- "name": "useOldAmount",
1069
- "type": "bool"
1070
- },
1071
- {
1072
- "internalType": "uint256[]",
1073
- "name": "makerAmounts",
1074
- "type": "uint256[]"
1075
- },
1076
- {
1077
- "internalType": "uint256",
1078
- "name": "makerNonce",
1079
- "type": "uint256"
1080
- }
1081
- ],
1082
- "internalType": "struct Transfer.OldMultiQuote",
1083
- "name": "takerQuoteInfo",
1084
- "type": "tuple"
1085
- },
1086
- {
1087
- "internalType": "bytes",
1088
- "name": "takerSignature",
1089
- "type": "bytes"
1090
- }
1091
- ],
1092
- "name": "settleMulti",
1093
- "outputs": [],
1094
- "stateMutability": "payable",
1095
- "type": "function"
1096
- },
1097
- {
1098
- "inputs": [
1099
- {
1100
- "components": [
1101
- {
1102
- "internalType": "uint256",
1103
- "name": "expiry",
1104
- "type": "uint256"
1105
- },
1106
- {
1107
- "internalType": "address",
1108
- "name": "taker_address",
1109
- "type": "address"
1110
- },
1111
- {
1112
- "internalType": "address",
1113
- "name": "maker_address",
1114
- "type": "address"
1115
- },
1116
- {
1117
- "internalType": "uint256",
1118
- "name": "maker_nonce",
1119
- "type": "uint256"
1120
- },
1121
- {
1122
- "internalType": "address[]",
1123
- "name": "taker_tokens",
1124
- "type": "address[]"
1125
- },
1126
- {
1127
- "internalType": "address[]",
1128
- "name": "maker_tokens",
1129
- "type": "address[]"
1130
- },
1131
- {
1132
- "internalType": "uint256[]",
1133
- "name": "taker_amounts",
1134
- "type": "uint256[]"
1135
- },
1136
- {
1137
- "internalType": "uint256[]",
1138
- "name": "maker_amounts",
1139
- "type": "uint256[]"
1140
- },
1141
- {
1142
- "internalType": "address",
1143
- "name": "receiver",
1144
- "type": "address"
1145
- },
1146
- {
1147
- "internalType": "bytes",
1148
- "name": "commands",
1149
- "type": "bytes"
1150
- },
1151
- {
1152
- "internalType": "uint256",
1153
- "name": "flags",
1154
- "type": "uint256"
1155
- }
1156
- ],
1157
- "internalType": "struct Order.Multi",
1158
- "name": "order",
1159
- "type": "tuple"
1160
- },
1161
- {
1162
- "components": [
1163
- {
1164
- "internalType": "bytes",
1165
- "name": "signatureBytes",
1166
- "type": "bytes"
1167
- },
1168
- {
1169
- "internalType": "uint256",
1170
- "name": "flags",
1171
- "type": "uint256"
1172
- }
1173
- ],
1174
- "internalType": "struct Signature.MakerSignature",
1175
- "name": "makerSignature",
1176
- "type": "tuple"
1177
- },
1178
- {
1179
- "internalType": "uint256",
1180
- "name": "filledTakerAmount",
1181
- "type": "uint256"
1182
- },
1183
- {
1184
- "components": [
1185
- {
1186
- "internalType": "bool",
1187
- "name": "useOldAmount",
1188
- "type": "bool"
1189
- },
1190
- {
1191
- "internalType": "uint256[]",
1192
- "name": "makerAmounts",
1193
- "type": "uint256[]"
1194
- },
1195
- {
1196
- "internalType": "uint256",
1197
- "name": "makerNonce",
1198
- "type": "uint256"
1199
- }
1200
- ],
1201
- "internalType": "struct Transfer.OldMultiQuote",
1202
- "name": "takerQuoteInfo",
1203
- "type": "tuple"
1204
- },
1205
- {
1206
- "internalType": "bytes",
1207
- "name": "takerSignature",
1208
- "type": "bytes"
1209
- },
1210
- {
1211
- "components": [
1212
- {
1213
- "internalType": "bytes",
1214
- "name": "signatureBytes",
1215
- "type": "bytes"
1216
- },
1217
- {
1218
- "internalType": "uint256",
1219
- "name": "deadline",
1220
- "type": "uint256"
1221
- }
1222
- ],
1223
- "internalType": "struct Signature.PermitSignature",
1224
- "name": "takerPermitSignature",
1225
- "type": "tuple"
1226
- }
1227
- ],
1228
- "name": "settleMultiAndSignPermit",
1229
- "outputs": [],
1230
- "stateMutability": "payable",
1231
- "type": "function"
1232
- },
1233
- {
1234
- "inputs": [
1235
- {
1236
- "components": [
1237
- {
1238
- "internalType": "uint256",
1239
- "name": "expiry",
1240
- "type": "uint256"
1241
- },
1242
- {
1243
- "internalType": "address",
1244
- "name": "taker_address",
1245
- "type": "address"
1246
- },
1247
- {
1248
- "internalType": "address",
1249
- "name": "maker_address",
1250
- "type": "address"
1251
- },
1252
- {
1253
- "internalType": "uint256",
1254
- "name": "maker_nonce",
1255
- "type": "uint256"
1256
- },
1257
- {
1258
- "internalType": "address[]",
1259
- "name": "taker_tokens",
1260
- "type": "address[]"
1261
- },
1262
- {
1263
- "internalType": "address[]",
1264
- "name": "maker_tokens",
1265
- "type": "address[]"
1266
- },
1267
- {
1268
- "internalType": "uint256[]",
1269
- "name": "taker_amounts",
1270
- "type": "uint256[]"
1271
- },
1272
- {
1273
- "internalType": "uint256[]",
1274
- "name": "maker_amounts",
1275
- "type": "uint256[]"
1276
- },
1277
- {
1278
- "internalType": "address",
1279
- "name": "receiver",
1280
- "type": "address"
1281
- },
1282
- {
1283
- "internalType": "bytes",
1284
- "name": "commands",
1285
- "type": "bytes"
1286
- },
1287
- {
1288
- "internalType": "uint256",
1289
- "name": "flags",
1290
- "type": "uint256"
1291
- }
1292
- ],
1293
- "internalType": "struct Order.Multi",
1294
- "name": "order",
1295
- "type": "tuple"
1296
- },
1297
- {
1298
- "components": [
1299
- {
1300
- "internalType": "bytes",
1301
- "name": "signatureBytes",
1302
- "type": "bytes"
1303
- },
1304
- {
1305
- "internalType": "uint256",
1306
- "name": "flags",
1307
- "type": "uint256"
1308
- }
1309
- ],
1310
- "internalType": "struct Signature.MakerSignature",
1311
- "name": "makerSignature",
1312
- "type": "tuple"
1313
- },
1314
- {
1315
- "internalType": "uint256",
1316
- "name": "filledTakerAmount",
1317
- "type": "uint256"
1318
- },
1319
- {
1320
- "components": [
1321
- {
1322
- "internalType": "bool",
1323
- "name": "useOldAmount",
1324
- "type": "bool"
1325
- },
1326
- {
1327
- "internalType": "uint256[]",
1328
- "name": "makerAmounts",
1329
- "type": "uint256[]"
1330
- },
1331
- {
1332
- "internalType": "uint256",
1333
- "name": "makerNonce",
1334
- "type": "uint256"
1335
- }
1336
- ],
1337
- "internalType": "struct Transfer.OldMultiQuote",
1338
- "name": "takerQuoteInfo",
1339
- "type": "tuple"
1340
- },
1341
- {
1342
- "internalType": "bytes",
1343
- "name": "takerSignature",
1344
- "type": "bytes"
1345
- },
1346
- {
1347
- "components": [
1348
- {
1349
- "internalType": "bytes",
1350
- "name": "signatureBytes",
1351
- "type": "bytes"
1352
- },
1353
- {
1354
- "internalType": "uint48",
1355
- "name": "deadline",
1356
- "type": "uint48"
1357
- },
1358
- {
1359
- "internalType": "uint48[]",
1360
- "name": "nonces",
1361
- "type": "uint48[]"
1362
- }
1363
- ],
1364
- "internalType": "struct Signature.MultiTokensPermit2Signature",
1365
- "name": "infoPermit2",
1366
- "type": "tuple"
1367
- }
1368
- ],
1369
- "name": "settleMultiAndSignPermit2",
1370
- "outputs": [],
1371
- "stateMutability": "payable",
1372
- "type": "function"
1373
- },
1374
- {
1375
- "inputs": [
1376
- {
1377
- "components": [
1378
- {
1379
- "internalType": "uint256",
1380
- "name": "expiry",
1381
- "type": "uint256"
1382
- },
1383
- {
1384
- "internalType": "address",
1385
- "name": "taker_address",
1386
- "type": "address"
1387
- },
1388
- {
1389
- "internalType": "address",
1390
- "name": "maker_address",
1391
- "type": "address"
1392
- },
1393
- {
1394
- "internalType": "uint256",
1395
- "name": "maker_nonce",
1396
- "type": "uint256"
1397
- },
1398
- {
1399
- "internalType": "address",
1400
- "name": "taker_token",
1401
- "type": "address"
1402
- },
1403
- {
1404
- "internalType": "address",
1405
- "name": "maker_token",
1406
- "type": "address"
1407
- },
1408
- {
1409
- "internalType": "uint256",
1410
- "name": "taker_amount",
1411
- "type": "uint256"
1412
- },
1413
- {
1414
- "internalType": "uint256",
1415
- "name": "maker_amount",
1416
- "type": "uint256"
1417
- },
1418
- {
1419
- "internalType": "address",
1420
- "name": "receiver",
1421
- "type": "address"
1422
- },
1423
- {
1424
- "internalType": "uint256",
1425
- "name": "packed_commands",
1426
- "type": "uint256"
1427
- },
1428
- {
1429
- "internalType": "uint256",
1430
- "name": "flags",
1431
- "type": "uint256"
1432
- }
1433
- ],
1434
- "internalType": "struct Order.Single",
1435
- "name": "order",
1436
- "type": "tuple"
1437
- },
1438
- {
1439
- "components": [
1440
- {
1441
- "internalType": "bytes",
1442
- "name": "signatureBytes",
1443
- "type": "bytes"
1444
- },
1445
- {
1446
- "internalType": "uint256",
1447
- "name": "flags",
1448
- "type": "uint256"
1449
- }
1450
- ],
1451
- "internalType": "struct Signature.MakerSignature",
1452
- "name": "makerSignature",
1453
- "type": "tuple"
1454
- },
1455
- {
1456
- "internalType": "uint256",
1457
- "name": "filledTakerAmount",
1458
- "type": "uint256"
1459
- },
1460
- {
1461
- "components": [
1462
- {
1463
- "internalType": "bool",
1464
- "name": "useOldAmount",
1465
- "type": "bool"
1466
- },
1467
- {
1468
- "internalType": "uint256",
1469
- "name": "makerAmount",
1470
- "type": "uint256"
1471
- },
1472
- {
1473
- "internalType": "uint256",
1474
- "name": "makerNonce",
1475
- "type": "uint256"
1476
- }
1477
- ],
1478
- "internalType": "struct Transfer.OldSingleQuote",
1479
- "name": "takerQuoteInfo",
1480
- "type": "tuple"
1481
- },
1482
- {
1483
- "internalType": "bytes",
1484
- "name": "takerSignature",
1485
- "type": "bytes"
1486
- }
1487
- ],
1488
- "name": "settleSingle",
1489
- "outputs": [],
1490
- "stateMutability": "payable",
1491
- "type": "function"
1492
- },
1493
- {
1494
- "inputs": [
1495
- {
1496
- "components": [
1497
- {
1498
- "internalType": "uint256",
1499
- "name": "expiry",
1500
- "type": "uint256"
1501
- },
1502
- {
1503
- "internalType": "address",
1504
- "name": "taker_address",
1505
- "type": "address"
1506
- },
1507
- {
1508
- "internalType": "address",
1509
- "name": "maker_address",
1510
- "type": "address"
1511
- },
1512
- {
1513
- "internalType": "uint256",
1514
- "name": "maker_nonce",
1515
- "type": "uint256"
1516
- },
1517
- {
1518
- "internalType": "address",
1519
- "name": "taker_token",
1520
- "type": "address"
1521
- },
1522
- {
1523
- "internalType": "address",
1524
- "name": "maker_token",
1525
- "type": "address"
1526
- },
1527
- {
1528
- "internalType": "uint256",
1529
- "name": "taker_amount",
1530
- "type": "uint256"
1531
- },
1532
- {
1533
- "internalType": "uint256",
1534
- "name": "maker_amount",
1535
- "type": "uint256"
1536
- },
1537
- {
1538
- "internalType": "address",
1539
- "name": "receiver",
1540
- "type": "address"
1541
- },
1542
- {
1543
- "internalType": "uint256",
1544
- "name": "packed_commands",
1545
- "type": "uint256"
1546
- },
1547
- {
1548
- "internalType": "uint256",
1549
- "name": "flags",
1550
- "type": "uint256"
1551
- }
1552
- ],
1553
- "internalType": "struct Order.Single",
1554
- "name": "order",
1555
- "type": "tuple"
1556
- },
1557
- {
1558
- "components": [
1559
- {
1560
- "internalType": "bytes",
1561
- "name": "signatureBytes",
1562
- "type": "bytes"
1563
- },
1564
- {
1565
- "internalType": "uint256",
1566
- "name": "flags",
1567
- "type": "uint256"
1568
- }
1569
- ],
1570
- "internalType": "struct Signature.MakerSignature",
1571
- "name": "makerSignature",
1572
- "type": "tuple"
1573
- },
1574
- {
1575
- "internalType": "uint256",
1576
- "name": "filledTakerAmount",
1577
- "type": "uint256"
1578
- },
1579
- {
1580
- "components": [
1581
- {
1582
- "internalType": "bool",
1583
- "name": "useOldAmount",
1584
- "type": "bool"
1585
- },
1586
- {
1587
- "internalType": "uint256",
1588
- "name": "makerAmount",
1589
- "type": "uint256"
1590
- },
1591
- {
1592
- "internalType": "uint256",
1593
- "name": "makerNonce",
1594
- "type": "uint256"
1595
- }
1596
- ],
1597
- "internalType": "struct Transfer.OldSingleQuote",
1598
- "name": "takerQuoteInfo",
1599
- "type": "tuple"
1600
- },
1601
- {
1602
- "internalType": "bytes",
1603
- "name": "takerSignature",
1604
- "type": "bytes"
1605
- },
1606
- {
1607
- "components": [
1608
- {
1609
- "internalType": "bytes",
1610
- "name": "signatureBytes",
1611
- "type": "bytes"
1612
- },
1613
- {
1614
- "internalType": "uint256",
1615
- "name": "deadline",
1616
- "type": "uint256"
1617
- }
1618
- ],
1619
- "internalType": "struct Signature.PermitSignature",
1620
- "name": "takerPermitSignature",
1621
- "type": "tuple"
1622
- }
1623
- ],
1624
- "name": "settleSingleAndSignPermit",
1625
- "outputs": [],
1626
- "stateMutability": "payable",
1627
- "type": "function"
1628
- },
1629
- {
1630
- "inputs": [
1631
- {
1632
- "components": [
1633
- {
1634
- "internalType": "uint256",
1635
- "name": "expiry",
1636
- "type": "uint256"
1637
- },
1638
- {
1639
- "internalType": "address",
1640
- "name": "taker_address",
1641
- "type": "address"
1642
- },
1643
- {
1644
- "internalType": "address",
1645
- "name": "maker_address",
1646
- "type": "address"
1647
- },
1648
- {
1649
- "internalType": "uint256",
1650
- "name": "maker_nonce",
1651
- "type": "uint256"
1652
- },
1653
- {
1654
- "internalType": "address",
1655
- "name": "taker_token",
1656
- "type": "address"
1657
- },
1658
- {
1659
- "internalType": "address",
1660
- "name": "maker_token",
1661
- "type": "address"
1662
- },
1663
- {
1664
- "internalType": "uint256",
1665
- "name": "taker_amount",
1666
- "type": "uint256"
1667
- },
1668
- {
1669
- "internalType": "uint256",
1670
- "name": "maker_amount",
1671
- "type": "uint256"
1672
- },
1673
- {
1674
- "internalType": "address",
1675
- "name": "receiver",
1676
- "type": "address"
1677
- },
1678
- {
1679
- "internalType": "uint256",
1680
- "name": "packed_commands",
1681
- "type": "uint256"
1682
- },
1683
- {
1684
- "internalType": "uint256",
1685
- "name": "flags",
1686
- "type": "uint256"
1687
- }
1688
- ],
1689
- "internalType": "struct Order.Single",
1690
- "name": "order",
1691
- "type": "tuple"
1692
- },
1693
- {
1694
- "components": [
1695
- {
1696
- "internalType": "bytes",
1697
- "name": "signatureBytes",
1698
- "type": "bytes"
1699
- },
1700
- {
1701
- "internalType": "uint256",
1702
- "name": "flags",
1703
- "type": "uint256"
1704
- }
1705
- ],
1706
- "internalType": "struct Signature.MakerSignature",
1707
- "name": "makerSignature",
1708
- "type": "tuple"
1709
- },
1710
- {
1711
- "internalType": "uint256",
1712
- "name": "filledTakerAmount",
1713
- "type": "uint256"
1714
- },
1715
- {
1716
- "components": [
1717
- {
1718
- "internalType": "bool",
1719
- "name": "useOldAmount",
1720
- "type": "bool"
1721
- },
1722
- {
1723
- "internalType": "uint256",
1724
- "name": "makerAmount",
1725
- "type": "uint256"
1726
- },
1727
- {
1728
- "internalType": "uint256",
1729
- "name": "makerNonce",
1730
- "type": "uint256"
1731
- }
1732
- ],
1733
- "internalType": "struct Transfer.OldSingleQuote",
1734
- "name": "takerQuoteInfo",
1735
- "type": "tuple"
1736
- },
1737
- {
1738
- "internalType": "bytes",
1739
- "name": "takerSignature",
1740
- "type": "bytes"
1741
- },
1742
- {
1743
- "components": [
1744
- {
1745
- "internalType": "bytes",
1746
- "name": "signatureBytes",
1747
- "type": "bytes"
1748
- },
1749
- {
1750
- "internalType": "uint48",
1751
- "name": "deadline",
1752
- "type": "uint48"
1753
- },
1754
- {
1755
- "internalType": "uint48",
1756
- "name": "nonce",
1757
- "type": "uint48"
1758
- }
1759
- ],
1760
- "internalType": "struct Signature.Permit2Signature",
1761
- "name": "takerPermit2Signature",
1762
- "type": "tuple"
1763
- }
1764
- ],
1765
- "name": "settleSingleAndSignPermit2",
1766
- "outputs": [],
1767
- "stateMutability": "payable",
1768
- "type": "function"
1769
- },
1770
- {
1771
- "inputs": [
1772
- {
1773
- "components": [
1774
- {
1775
- "internalType": "uint256",
1776
- "name": "expiry",
1777
- "type": "uint256"
1778
- },
1779
- {
1780
- "internalType": "address",
1781
- "name": "taker_address",
1782
- "type": "address"
1783
- },
1784
- {
1785
- "internalType": "address[]",
1786
- "name": "maker_addresses",
1787
- "type": "address[]"
1788
- },
1789
- {
1790
- "internalType": "uint256[]",
1791
- "name": "maker_nonces",
1792
- "type": "uint256[]"
1793
- },
1794
- {
1795
- "internalType": "address[][]",
1796
- "name": "taker_tokens",
1797
- "type": "address[][]"
1798
- },
1799
- {
1800
- "internalType": "address[][]",
1801
- "name": "maker_tokens",
1802
- "type": "address[][]"
1803
- },
1804
- {
1805
- "internalType": "uint256[][]",
1806
- "name": "taker_amounts",
1807
- "type": "uint256[][]"
1808
- },
1809
- {
1810
- "internalType": "uint256[][]",
1811
- "name": "maker_amounts",
1812
- "type": "uint256[][]"
1813
- },
1814
- {
1815
- "internalType": "address",
1816
- "name": "receiver",
1817
- "type": "address"
1818
- },
1819
- {
1820
- "internalType": "bytes",
1821
- "name": "commands",
1822
- "type": "bytes"
1823
- },
1824
- {
1825
- "internalType": "uint256",
1826
- "name": "flags",
1827
- "type": "uint256"
1828
- }
1829
- ],
1830
- "internalType": "struct Order.Aggregate",
1831
- "name": "order",
1832
- "type": "tuple"
1833
- },
1834
- {
1835
- "components": [
1836
- {
1837
- "internalType": "bytes",
1838
- "name": "signatureBytes",
1839
- "type": "bytes"
1840
- },
1841
- {
1842
- "internalType": "uint256",
1843
- "name": "flags",
1844
- "type": "uint256"
1845
- }
1846
- ],
1847
- "internalType": "struct Signature.MakerSignature[]",
1848
- "name": "makersSignatures",
1849
- "type": "tuple[]"
1850
- },
1851
- {
1852
- "internalType": "uint256",
1853
- "name": "filledTakerAmount",
1854
- "type": "uint256"
1855
- }
1856
- ],
1857
- "name": "swapAggregate",
1858
- "outputs": [],
1859
- "stateMutability": "payable",
1860
- "type": "function"
1861
- },
1862
- {
1863
- "inputs": [
1864
- {
1865
- "components": [
1866
- {
1867
- "internalType": "uint256",
1868
- "name": "expiry",
1869
- "type": "uint256"
1870
- },
1871
- {
1872
- "internalType": "address",
1873
- "name": "taker_address",
1874
- "type": "address"
1875
- },
1876
- {
1877
- "internalType": "address",
1878
- "name": "maker_address",
1879
- "type": "address"
1880
- },
1881
- {
1882
- "internalType": "uint256",
1883
- "name": "maker_nonce",
1884
- "type": "uint256"
1885
- },
1886
- {
1887
- "internalType": "address[]",
1888
- "name": "taker_tokens",
1889
- "type": "address[]"
1890
- },
1891
- {
1892
- "internalType": "address[]",
1893
- "name": "maker_tokens",
1894
- "type": "address[]"
1895
- },
1896
- {
1897
- "internalType": "uint256[]",
1898
- "name": "taker_amounts",
1899
- "type": "uint256[]"
1900
- },
1901
- {
1902
- "internalType": "uint256[]",
1903
- "name": "maker_amounts",
1904
- "type": "uint256[]"
1905
- },
1906
- {
1907
- "internalType": "address",
1908
- "name": "receiver",
1909
- "type": "address"
1910
- },
1911
- {
1912
- "internalType": "bytes",
1913
- "name": "commands",
1914
- "type": "bytes"
1915
- },
1916
- {
1917
- "internalType": "uint256",
1918
- "name": "flags",
1919
- "type": "uint256"
1920
- }
1921
- ],
1922
- "internalType": "struct Order.Multi",
1923
- "name": "order",
1924
- "type": "tuple"
1925
- },
1926
- {
1927
- "components": [
1928
- {
1929
- "internalType": "bytes",
1930
- "name": "signatureBytes",
1931
- "type": "bytes"
1932
- },
1933
- {
1934
- "internalType": "uint256",
1935
- "name": "flags",
1936
- "type": "uint256"
1937
- }
1938
- ],
1939
- "internalType": "struct Signature.MakerSignature",
1940
- "name": "makerSignature",
1941
- "type": "tuple"
1942
- },
1943
- {
1944
- "internalType": "uint256",
1945
- "name": "filledTakerAmount",
1946
- "type": "uint256"
1947
- }
1948
- ],
1949
- "name": "swapMulti",
1950
- "outputs": [],
1951
- "stateMutability": "payable",
1952
- "type": "function"
1953
- },
1954
- {
1955
- "inputs": [
1956
- {
1957
- "components": [
1958
- {
1959
- "internalType": "uint256",
1960
- "name": "expiry",
1961
- "type": "uint256"
1962
- },
1963
- {
1964
- "internalType": "address",
1965
- "name": "taker_address",
1966
- "type": "address"
1967
- },
1968
- {
1969
- "internalType": "address",
1970
- "name": "maker_address",
1971
- "type": "address"
1972
- },
1973
- {
1974
- "internalType": "uint256",
1975
- "name": "maker_nonce",
1976
- "type": "uint256"
1977
- },
1978
- {
1979
- "internalType": "address",
1980
- "name": "taker_token",
1981
- "type": "address"
1982
- },
1983
- {
1984
- "internalType": "address",
1985
- "name": "maker_token",
1986
- "type": "address"
1987
- },
1988
- {
1989
- "internalType": "uint256",
1990
- "name": "taker_amount",
1991
- "type": "uint256"
1992
- },
1993
- {
1994
- "internalType": "uint256",
1995
- "name": "maker_amount",
1996
- "type": "uint256"
1997
- },
1998
- {
1999
- "internalType": "address",
2000
- "name": "receiver",
2001
- "type": "address"
2002
- },
2003
- {
2004
- "internalType": "uint256",
2005
- "name": "packed_commands",
2006
- "type": "uint256"
2007
- },
2008
- {
2009
- "internalType": "uint256",
2010
- "name": "flags",
2011
- "type": "uint256"
2012
- }
2013
- ],
2014
- "internalType": "struct Order.Single",
2015
- "name": "order",
2016
- "type": "tuple"
2017
- },
2018
- {
2019
- "components": [
2020
- {
2021
- "internalType": "bytes",
2022
- "name": "signatureBytes",
2023
- "type": "bytes"
2024
- },
2025
- {
2026
- "internalType": "uint256",
2027
- "name": "flags",
2028
- "type": "uint256"
2029
- }
2030
- ],
2031
- "internalType": "struct Signature.MakerSignature",
2032
- "name": "makerSignature",
2033
- "type": "tuple"
2034
- },
2035
- {
2036
- "internalType": "uint256",
2037
- "name": "filledTakerAmount",
2038
- "type": "uint256"
2039
- }
2040
- ],
2041
- "name": "swapSingle",
2042
- "outputs": [],
2043
- "stateMutability": "payable",
2044
- "type": "function"
2045
- },
2046
- {
2047
- "inputs": [
2048
- {
2049
- "components": [
2050
- {
2051
- "internalType": "uint256",
2052
- "name": "expiry",
2053
- "type": "uint256"
2054
- },
2055
- {
2056
- "internalType": "address",
2057
- "name": "taker_address",
2058
- "type": "address"
2059
- },
2060
- {
2061
- "internalType": "address",
2062
- "name": "maker_address",
2063
- "type": "address"
2064
- },
2065
- {
2066
- "internalType": "uint256",
2067
- "name": "maker_nonce",
2068
- "type": "uint256"
2069
- },
2070
- {
2071
- "internalType": "address",
2072
- "name": "taker_token",
2073
- "type": "address"
2074
- },
2075
- {
2076
- "internalType": "address",
2077
- "name": "maker_token",
2078
- "type": "address"
2079
- },
2080
- {
2081
- "internalType": "uint256",
2082
- "name": "taker_amount",
2083
- "type": "uint256"
2084
- },
2085
- {
2086
- "internalType": "uint256",
2087
- "name": "maker_amount",
2088
- "type": "uint256"
2089
- },
2090
- {
2091
- "internalType": "address",
2092
- "name": "receiver",
2093
- "type": "address"
2094
- },
2095
- {
2096
- "internalType": "uint256",
2097
- "name": "packed_commands",
2098
- "type": "uint256"
2099
- },
2100
- {
2101
- "internalType": "uint256",
2102
- "name": "flags",
2103
- "type": "uint256"
2104
- }
2105
- ],
2106
- "internalType": "struct Order.Single",
2107
- "name": "order",
2108
- "type": "tuple"
2109
- },
2110
- {
2111
- "components": [
2112
- {
2113
- "internalType": "bytes",
2114
- "name": "signatureBytes",
2115
- "type": "bytes"
2116
- },
2117
- {
2118
- "internalType": "uint256",
2119
- "name": "flags",
2120
- "type": "uint256"
2121
- }
2122
- ],
2123
- "internalType": "struct Signature.MakerSignature",
2124
- "name": "makerSignature",
2125
- "type": "tuple"
2126
- }
2127
- ],
2128
- "name": "swapSingleFromContract",
2129
- "outputs": [],
2130
- "stateMutability": "payable",
2131
- "type": "function"
2132
- },
2133
- {
2134
- "stateMutability": "payable",
2135
- "type": "receive"
2136
- }
2137
- ]