@paraswap/dex-lib 2.31.1-rfq-partner.0 → 2.31.1

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 (69) 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/balancer-v2/balancer-v2.js +21 -3
  7. package/build/dex/balancer-v2/balancer-v2.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 +1 -2
  12. package/build/dex/generic-rfq/rate-fetcher.js.map +1 -1
  13. package/build/dex/generic-rfq/types.d.ts +0 -1
  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/types.d.ts +0 -1
  30. package/package.json +1 -1
  31. package/src/dex/balancer-v2/balancer-v2-e2e.test.ts +14 -4
  32. package/src/dex/balancer-v2/balancer-v2.ts +22 -3
  33. package/src/dex/generic-rfq/generic-rfq.ts +0 -1
  34. package/src/dex/generic-rfq/rate-fetcher.ts +2 -4
  35. package/src/dex/generic-rfq/types.ts +0 -1
  36. package/src/types.ts +0 -1
  37. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  38. package/.idea/misc.xml +0 -6
  39. package/.idea/modules.xml +0 -8
  40. package/.idea/vcs.xml +0 -6
  41. package/.vscode/launch.json +0 -21
  42. package/build/abi/AugustusRFQRouter.abi.json +0 -1248
  43. package/build/abi/algebra/AlgebraPool.abi.json +0 -727
  44. package/build/dex/aave-v3/tokens/mainnet.json +0 -44
  45. package/build/dex/algebra/algebra-pool.d.ts +0 -41
  46. package/build/dex/algebra/algebra-pool.js +0 -277
  47. package/build/dex/algebra/algebra-pool.js.map +0 -1
  48. package/build/dex/algebra/lib/AlgebraXUniV3.d.ts +0 -5
  49. package/build/dex/algebra/lib/AlgebraXUniV3.js +0 -45
  50. package/build/dex/algebra/lib/AlgebraXUniV3.js.map +0 -1
  51. package/build/dex/algebra/lib/DataStorage.d.ts +0 -24
  52. package/build/dex/algebra/lib/DataStorage.js +0 -397
  53. package/build/dex/algebra/lib/DataStorage.js.map +0 -1
  54. package/build/dex/algebra/lib/DataStorageOperator.d.ts +0 -9
  55. package/build/dex/algebra/lib/DataStorageOperator.js +0 -66
  56. package/build/dex/algebra/lib/DataStorageOperator.js.map +0 -1
  57. package/build/dex/algebra/lib/Sqrt.d.ts +0 -3
  58. package/build/dex/algebra/lib/Sqrt.js +0 -60
  59. package/build/dex/algebra/lib/Sqrt.js.map +0 -1
  60. package/build/dex/balancer-v2/VirtualBoostedPool.d.ts +0 -79
  61. package/build/dex/balancer-v2/VirtualBoostedPool.js +0 -382
  62. package/build/dex/balancer-v2/VirtualBoostedPool.js.map +0 -1
  63. package/build/dex/generic-rfq/constants.d.ts +0 -1
  64. package/build/dex/generic-rfq/constants.js +0 -5
  65. package/build/dex/generic-rfq/constants.js.map +0 -1
  66. package/build/dex/test-aave-v3/config.js.map +0 -1
  67. package/build/dex/test-aave-v3/test-aave-v3-pool.js.map +0 -1
  68. package/build/dex/test-aave-v3/test-aave-v3.js.map +0 -1
  69. /package/build/dex/{test-aave-v3 → test-dex}/types.js +0 -0
@@ -84,7 +84,6 @@ export type RFQPayload = {
84
84
  makerAmount?: string;
85
85
  takerAmount?: string;
86
86
  userAddress: Address;
87
- partner?: string;
88
87
  };
89
88
 
90
89
  export type AugustusOrderWithStringAndSignature = AugustusOrderWithString & {
package/src/types.ts CHANGED
@@ -291,7 +291,6 @@ export type PreprocessTransactionOptions = {
291
291
  hmac?: string;
292
292
  mockRfqAndLO?: boolean;
293
293
  isDirectMethod?: boolean;
294
- partner?: string;
295
294
  };
296
295
 
297
296
  export type TransferFeeParams = {
@@ -1,5 +0,0 @@
1
- <component name="ProjectCodeStyleConfiguration">
2
- <state>
3
- <option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
4
- </state>
5
- </component>
package/.idea/misc.xml DELETED
@@ -1,6 +0,0 @@
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>
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
- }