@paraswap/dex-lib 3.0.0-fix-for-rc → 3.0.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.
- package/.vscode/launch.json +72 -0
- package/.vscode/settings.json +2 -0
- package/.vscode/tasks.json +15 -0
- package/build/abi/AugustusV6.abi.json +1454 -0
- package/build/dex/algebra/scripts/validate-state-v1-1.d.ts +1 -0
- package/build/dex/algebra/scripts/validate-state-v1-1.js +206 -0
- package/build/dex/algebra/scripts/validate-state-v1-1.js.map +1 -0
- package/build/dex/augustus-approvals-helper.d.ts +22 -0
- package/build/dex/augustus-approvals-helper.js +110 -0
- package/build/dex/augustus-approvals-helper.js.map +1 -0
- package/build/dex/bProtocol.js +0 -1
- package/build/dex/bProtocol.js.map +1 -1
- package/build/dex/bancor.js +0 -1
- package/build/dex/bancor.js.map +1 -1
- package/build/dex/camelot/scripts/validate-state.d.ts +1 -0
- package/build/dex/camelot/scripts/validate-state.js +84 -0
- package/build/dex/camelot/scripts/validate-state.js.map +1 -0
- package/build/dex/compound.js +0 -1
- package/build/dex/compound.js.map +1 -1
- package/build/dex/curve-v1-factory/constants.d.ts +1 -0
- package/build/dex/curve-v1-factory/constants.js +2 -1
- package/build/dex/curve-v1-factory/constants.js.map +1 -1
- package/build/dex/curve-v1-factory/curve-v1-factory.d.ts +8 -2
- package/build/dex/curve-v1-factory/curve-v1-factory.js +44 -1
- package/build/dex/curve-v1-factory/curve-v1-factory.js.map +1 -1
- package/build/dex/curve-v1-factory/types.d.ts +16 -0
- package/build/dex/dodo-v1.js +0 -1
- package/build/dex/dodo-v1.js.map +1 -1
- package/build/dex/generic-rfq/test-v6/constants.d.ts +1 -0
- package/build/dex/generic-rfq/test-v6/constants.js +5 -0
- package/build/dex/generic-rfq/test-v6/constants.js.map +1 -0
- package/build/dex/generic-rfq/test-v6/get-config.d.ts +1 -0
- package/build/dex/generic-rfq/test-v6/get-config.js +63 -0
- package/build/dex/generic-rfq/test-v6/get-config.js.map +1 -0
- package/build/dex/generic-rfq/test-v6/types.d.ts +14 -0
- package/build/dex/generic-rfq/test-v6/types.js +3 -0
- package/build/dex/generic-rfq/test-v6/types.js.map +1 -0
- package/build/dex/generic-rfq/tokens.json +570 -0
- package/build/dex/lido.js +0 -1
- package/build/dex/lido.js.map +1 -1
- package/build/dex/onebit.js +0 -1
- package/build/dex/onebit.js.map +1 -1
- package/build/dex/smoothy.d.ts +1 -1
- package/build/dex/smoothy.js +2 -3
- package/build/dex/smoothy.js.map +1 -1
- package/build/dex/stable-pool.d.ts +1 -1
- package/build/dex/stable-pool.js +1 -2
- package/build/dex/stable-pool.js.map +1 -1
- package/build/dex/trader-joe-v2.1.js +3 -3
- package/build/dex/trader-joe-v2.1.js.map +1 -1
- package/build/dex/uniswap-v2/uniswap-v2-optimizer.d.ts +2 -0
- package/build/dex/uniswap-v2/uniswap-v2-optimizer.js +75 -0
- package/build/dex/uniswap-v2/uniswap-v2-optimizer.js.map +1 -0
- package/build/executor/IExecutorBytecodeBuilder.d.ts +6 -0
- package/build/executor/IExecutorBytecodeBuilder.js +3 -0
- package/build/executor/IExecutorBytecodeBuilder.js.map +1 -0
- package/build/executor/tests/utils-e2e-v6.d.ts +8 -0
- package/build/executor/tests/utils-e2e-v6.js +175 -0
- package/build/executor/tests/utils-e2e-v6.js.map +1 -0
- package/package.json +1 -1
- package/src/dex/curve-v1-factory/constants.ts +1 -0
- package/src/dex/curve-v1-factory/curve-v1-factory.ts +78 -2
- package/src/dex/curve-v1-factory/types.ts +18 -0
- package/src/dex/uniswap-v2/uniswap-v2-optimizer.ts +114 -0
- package/tests/debug-price-route.json +67 -1
- package/tests/v6/price-routes/fantom/test.json +161 -0
- package/tests/v6/price-routes/mainnet/buy-usdc.json +233 -0
- package/tests/v6/price-routes/mainnet/executor-01.json +93 -0
- package/tests/v6/price-routes/mainnet/executor01-test copy.json +88 -0
- package/tests/v6/price-routes/mainnet/executor01-test.json +88 -0
- package/tests/v6/price-routes/polygon/test.json +109 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.2.0",
|
|
3
|
+
"configurations": [
|
|
4
|
+
{
|
|
5
|
+
"type": "node",
|
|
6
|
+
"request": "launch",
|
|
7
|
+
"name": "Current",
|
|
8
|
+
"program": "${file}",
|
|
9
|
+
"preLaunchTask": "npm: build",
|
|
10
|
+
"sourceMaps": true,
|
|
11
|
+
"smartStep": true,
|
|
12
|
+
"internalConsoleOptions": "openOnSessionStart",
|
|
13
|
+
"outFiles": ["${workspaceFolder}/build/**/*.js"]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"type": "node",
|
|
17
|
+
"request": "launch",
|
|
18
|
+
"name": "Debug Jest Tests",
|
|
19
|
+
// "program": "${workspaceFolder}/node_modules/jest/bin/jest.js",
|
|
20
|
+
"program": "${workspaceFolder}/src/dex/camelot/scripts/validate-state.ts",
|
|
21
|
+
// "args": ["src/dex/balancer-v1/balancer-v1-e2e.test.ts"],
|
|
22
|
+
// "args": ["${relativeFile}"],
|
|
23
|
+
"args": ["${file}"],
|
|
24
|
+
"console": "integratedTerminal",
|
|
25
|
+
"internalConsoleOptions": "neverOpen",
|
|
26
|
+
// "disableOptimisticBPs": true,
|
|
27
|
+
"runtimeArgs": ["--nolazy"],
|
|
28
|
+
"sourceMaps": true,
|
|
29
|
+
"smartStep": true,
|
|
30
|
+
"skipFiles": ["<node_internals>/**"],
|
|
31
|
+
"cwd": "${workspaceFolder}"
|
|
32
|
+
// "protocol": "inspector"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"type": "node",
|
|
36
|
+
"request": "launch",
|
|
37
|
+
"name": "Debug Camelot",
|
|
38
|
+
"program": "${workspaceFolder}/node_modules/ts-node/dist/bin.js",
|
|
39
|
+
"args": [
|
|
40
|
+
"--project",
|
|
41
|
+
"tsconfig.json",
|
|
42
|
+
// "${workspaceFolder}/src/dex/camelot/scripts/validate-state.ts",
|
|
43
|
+
"${workspaceFolder}/src/dex/algebra/scripts/validate-state.ts",
|
|
44
|
+
// "${workspaceFolder}/src/dex/solidly-v3/scripts/check-event-pool-event.ts",
|
|
45
|
+
// "${workspaceFolder}/scripts/dex-integration.ts",
|
|
46
|
+
"test",
|
|
47
|
+
"wombat"
|
|
48
|
+
],
|
|
49
|
+
"console": "integratedTerminal",
|
|
50
|
+
"internalConsoleOptions": "neverOpen",
|
|
51
|
+
"runtimeArgs": ["--nolazy"],
|
|
52
|
+
"sourceMaps": true,
|
|
53
|
+
"smartStep": true,
|
|
54
|
+
"skipFiles": ["<node_internals>/**"],
|
|
55
|
+
"cwd": "${workspaceFolder}"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"type": "node",
|
|
59
|
+
"name": "Jest file",
|
|
60
|
+
"request": "launch",
|
|
61
|
+
"program": "${workspaceFolder}/node_modules/jest/bin/jest.js",
|
|
62
|
+
// "program": "${workspaceFolder}/src/dex/camelot/scripts/validate-state.ts",
|
|
63
|
+
// "args": ["src/dex/balancer-v1/balancer-v1-e2e.test.ts"],
|
|
64
|
+
// "args": ["${relativeFile}"],
|
|
65
|
+
"args": ["${file}"],
|
|
66
|
+
"cwd": "${workspaceRoot}",
|
|
67
|
+
"console": "integratedTerminal",
|
|
68
|
+
"internalConsoleOptions": "neverOpen",
|
|
69
|
+
"sourceMaps": true
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
}
|