@paraswap/dex-lib 2.31.1 → 2.31.2

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 (56) hide show
  1. package/.idea/codeStyles/codeStyleConfig.xml +5 -0
  2. package/.idea/misc.xml +6 -0
  3. package/.idea/modules.xml +8 -0
  4. package/.idea/vcs.xml +6 -0
  5. package/.vscode/launch.json +21 -0
  6. package/build/abi/AugustusRFQRouter.abi.json +1248 -0
  7. package/build/abi/algebra/AlgebraPool.abi.json +727 -0
  8. package/build/dex/aave-v3/tokens/arbitrum.json +20 -20
  9. package/build/dex/aave-v3/tokens/avalanche.json +20 -44
  10. package/build/dex/aave-v3/tokens/fantom.json +30 -30
  11. package/build/dex/aave-v3/tokens/mainnet.json +44 -0
  12. package/build/dex/aave-v3/tokens/optimism.json +18 -18
  13. package/build/dex/aave-v3/tokens/polygon.json +42 -60
  14. package/build/dex/algebra/algebra-pool.d.ts +41 -0
  15. package/build/dex/algebra/algebra-pool.js +277 -0
  16. package/build/dex/algebra/algebra-pool.js.map +1 -0
  17. package/build/dex/algebra/lib/AlgebraXUniV3.d.ts +5 -0
  18. package/build/dex/algebra/lib/AlgebraXUniV3.js +45 -0
  19. package/build/dex/algebra/lib/AlgebraXUniV3.js.map +1 -0
  20. package/build/dex/algebra/lib/DataStorage.d.ts +24 -0
  21. package/build/dex/algebra/lib/DataStorage.js +397 -0
  22. package/build/dex/algebra/lib/DataStorage.js.map +1 -0
  23. package/build/dex/algebra/lib/DataStorageOperator.d.ts +9 -0
  24. package/build/dex/algebra/lib/DataStorageOperator.js +66 -0
  25. package/build/dex/algebra/lib/DataStorageOperator.js.map +1 -0
  26. package/build/dex/algebra/lib/Sqrt.d.ts +3 -0
  27. package/build/dex/algebra/lib/Sqrt.js +60 -0
  28. package/build/dex/algebra/lib/Sqrt.js.map +1 -0
  29. package/build/dex/balancer-v2/VirtualBoostedPool.d.ts +79 -0
  30. package/build/dex/balancer-v2/VirtualBoostedPool.js +382 -0
  31. package/build/dex/balancer-v2/VirtualBoostedPool.js.map +1 -0
  32. package/build/dex/generic-rfq/constants.d.ts +1 -0
  33. package/build/dex/generic-rfq/constants.js +5 -0
  34. package/build/dex/generic-rfq/constants.js.map +1 -0
  35. package/build/dex/generic-rfq/generic-rfq.js +3 -0
  36. package/build/dex/generic-rfq/generic-rfq.js.map +1 -1
  37. package/build/dex/{test-dex → test-aave-v3}/config.d.ts +1 -1
  38. package/build/dex/{test-dex → test-aave-v3}/config.js +3 -3
  39. package/build/dex/test-aave-v3/config.js.map +1 -0
  40. package/build/dex/{test-dex/test-dex-pool.d.ts → test-aave-v3/test-aave-v3-pool.d.ts} +3 -3
  41. package/build/dex/{test-dex/test-dex-pool.js → test-aave-v3/test-aave-v3-pool.js} +7 -7
  42. package/build/dex/test-aave-v3/test-aave-v3-pool.js.map +1 -0
  43. package/build/dex/{test-dex/test-dex.d.ts → test-aave-v3/test-aave-v3.d.ts} +8 -8
  44. package/build/dex/{test-dex/test-dex.js → test-aave-v3/test-aave-v3.js} +7 -7
  45. package/build/dex/test-aave-v3/test-aave-v3.js.map +1 -0
  46. package/build/dex/{test-dex → test-aave-v3}/types.d.ts +1 -1
  47. package/build/dex/{test-dex → test-aave-v3}/types.js.map +1 -1
  48. package/package.json +1 -1
  49. package/src/dex/generic-rfq/generic-rfq.ts +4 -0
  50. package/build/dex/test-dex/config.js.map +0 -1
  51. package/build/dex/test-dex/test-dex-pool.js.map +0 -1
  52. package/build/dex/test-dex/test-dex.js.map +0 -1
  53. package/build/dex/woo-fi-v2/woo-fi-math.d.ts +0 -16
  54. package/build/dex/woo-fi-v2/woo-fi-math.js +0 -137
  55. package/build/dex/woo-fi-v2/woo-fi-math.js.map +0 -1
  56. /package/build/dex/{test-dex → test-aave-v3}/types.js +0 -0
@@ -0,0 +1,5 @@
1
+ <component name="ProjectCodeStyleConfiguration">
2
+ <state>
3
+ <option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
4
+ </state>
5
+ </component>
package/.idea/misc.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectRootManager">
4
+ <output url="file://$PROJECT_DIR$/out" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/paraswap-dex-lib.iml" filepath="$PROJECT_DIR$/paraswap-dex-lib.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
package/.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="" vcs="Git" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,21 @@
1
+ {
2
+ // Use IntelliSense to learn about possible attributes.
3
+ // Hover to view descriptions of existing attributes.
4
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
+ "version": "0.2.0",
6
+ "configurations": [
7
+ {
8
+ "type": "node",
9
+ "request": "launch",
10
+ "name": "Launch Program",
11
+ "skipFiles": [
12
+ "<node_internals>/**"
13
+ ],
14
+ "program": "${workspaceFolder}/build/index.js",
15
+ "preLaunchTask": "tsc: build - tsconfig.json",
16
+ "outFiles": [
17
+ "${workspaceFolder}/build/**/*.js"
18
+ ]
19
+ }
20
+ ]
21
+ }