@paraswap/dex-lib 2.31.2 → 2.31.4-zkevm-revive.0

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 (72) hide show
  1. package/build/dex/aave-v3/tokens/arbitrum.json +20 -20
  2. package/build/dex/aave-v3/tokens/avalanche.json +44 -20
  3. package/build/dex/aave-v3/tokens/fantom.json +30 -30
  4. package/build/dex/aave-v3/tokens/optimism.json +18 -18
  5. package/build/dex/aave-v3/tokens/polygon.json +60 -42
  6. package/build/dex/algebra/algebra.js +1 -1
  7. package/build/dex/algebra/algebra.js.map +1 -1
  8. package/build/dex/generic-rfq/generic-rfq.js +1 -1
  9. package/build/dex/generic-rfq/generic-rfq.js.map +1 -1
  10. package/build/dex/generic-rfq/rate-fetcher.d.ts +1 -1
  11. package/build/dex/generic-rfq/rate-fetcher.js +2 -1
  12. package/build/dex/generic-rfq/rate-fetcher.js.map +1 -1
  13. package/build/dex/generic-rfq/types.d.ts +1 -0
  14. package/build/dex/generic-rfq/types.js.map +1 -1
  15. package/build/dex/{test-aave-v3 → test-dex}/config.d.ts +1 -1
  16. package/build/dex/{test-aave-v3 → test-dex}/config.js +3 -3
  17. package/build/dex/test-dex/config.js.map +1 -0
  18. package/build/dex/{test-aave-v3/test-aave-v3-pool.d.ts → test-dex/test-dex-pool.d.ts} +3 -3
  19. package/build/dex/{test-aave-v3/test-aave-v3-pool.js → test-dex/test-dex-pool.js} +7 -7
  20. package/build/dex/test-dex/test-dex-pool.js.map +1 -0
  21. package/build/dex/{test-aave-v3/test-aave-v3.d.ts → test-dex/test-dex.d.ts} +8 -8
  22. package/build/dex/{test-aave-v3/test-aave-v3.js → test-dex/test-dex.js} +7 -7
  23. package/build/dex/test-dex/test-dex.js.map +1 -0
  24. package/build/dex/{test-aave-v3 → test-dex}/types.d.ts +1 -1
  25. package/build/dex/{test-aave-v3 → test-dex}/types.js.map +1 -1
  26. package/build/dex/woo-fi-v2/woo-fi-math.d.ts +16 -0
  27. package/build/dex/woo-fi-v2/woo-fi-math.js +137 -0
  28. package/build/dex/woo-fi-v2/woo-fi-math.js.map +1 -0
  29. package/build/stateful-event-subscriber.d.ts +1 -0
  30. package/build/stateful-event-subscriber.js +6 -0
  31. package/build/stateful-event-subscriber.js.map +1 -1
  32. package/build/types.d.ts +1 -0
  33. package/package.json +1 -1
  34. package/src/dex/algebra/algebra.ts +1 -1
  35. package/src/dex/generic-rfq/generic-rfq.ts +1 -0
  36. package/src/dex/generic-rfq/rate-fetcher.ts +4 -2
  37. package/src/dex/generic-rfq/types.ts +1 -0
  38. package/src/stateful-event-subscriber.ts +8 -0
  39. package/src/types.ts +1 -0
  40. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  41. package/.idea/misc.xml +0 -6
  42. package/.idea/modules.xml +0 -8
  43. package/.idea/vcs.xml +0 -6
  44. package/.vscode/launch.json +0 -21
  45. package/build/abi/AugustusRFQRouter.abi.json +0 -1248
  46. package/build/abi/algebra/AlgebraPool.abi.json +0 -727
  47. package/build/dex/aave-v3/tokens/mainnet.json +0 -44
  48. package/build/dex/algebra/algebra-pool.d.ts +0 -41
  49. package/build/dex/algebra/algebra-pool.js +0 -277
  50. package/build/dex/algebra/algebra-pool.js.map +0 -1
  51. package/build/dex/algebra/lib/AlgebraXUniV3.d.ts +0 -5
  52. package/build/dex/algebra/lib/AlgebraXUniV3.js +0 -45
  53. package/build/dex/algebra/lib/AlgebraXUniV3.js.map +0 -1
  54. package/build/dex/algebra/lib/DataStorage.d.ts +0 -24
  55. package/build/dex/algebra/lib/DataStorage.js +0 -397
  56. package/build/dex/algebra/lib/DataStorage.js.map +0 -1
  57. package/build/dex/algebra/lib/DataStorageOperator.d.ts +0 -9
  58. package/build/dex/algebra/lib/DataStorageOperator.js +0 -66
  59. package/build/dex/algebra/lib/DataStorageOperator.js.map +0 -1
  60. package/build/dex/algebra/lib/Sqrt.d.ts +0 -3
  61. package/build/dex/algebra/lib/Sqrt.js +0 -60
  62. package/build/dex/algebra/lib/Sqrt.js.map +0 -1
  63. package/build/dex/balancer-v2/VirtualBoostedPool.d.ts +0 -79
  64. package/build/dex/balancer-v2/VirtualBoostedPool.js +0 -382
  65. package/build/dex/balancer-v2/VirtualBoostedPool.js.map +0 -1
  66. package/build/dex/generic-rfq/constants.d.ts +0 -1
  67. package/build/dex/generic-rfq/constants.js +0 -5
  68. package/build/dex/generic-rfq/constants.js.map +0 -1
  69. package/build/dex/test-aave-v3/config.js.map +0 -1
  70. package/build/dex/test-aave-v3/test-aave-v3-pool.js.map +0 -1
  71. package/build/dex/test-aave-v3/test-aave-v3.js.map +0 -1
  72. /package/build/dex/{test-aave-v3 → test-dex}/types.js +0 -0
package/.idea/modules.xml DELETED
@@ -1,8 +0,0 @@
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 DELETED
@@ -1,6 +0,0 @@
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>
@@ -1,21 +0,0 @@
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
- }