@paraswap/dex-lib 3.11.8-stader.4 → 3.11.8

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 (252) hide show
  1. package/.vscode/launch.json +53 -0
  2. package/.vscode/settings.json +2 -0
  3. package/.vscode/tasks.json +15 -0
  4. package/build/abi/balancer-v3/batch-router.json +989 -0
  5. package/build/abi/balancer-v3/router.json +1792 -0
  6. package/build/abi/balancer-v3/vault-extension.json +2834 -0
  7. package/build/abi/{cables/CablesMainnetRFQ.json → inception/inception-ineth-pool.json} +489 -510
  8. package/build/abi/inception/inception-ratio-feed.json +329 -0
  9. package/build/abi/inception/inception-vault.json +991 -0
  10. package/build/abi/permit2.json +581 -0
  11. package/build/abi/uniswap-v3/AlienBaseV3Router.abi.json +52 -0
  12. package/build/abi/usual-m-smart-m/usualM.abi.json +483 -0
  13. package/build/abi/usual-m-usd0/usualCollateralDao.abi.json +681 -0
  14. package/build/abi/{integral/relayer.json → wombat/pool.json} +474 -721
  15. package/build/dex/aave-v1/aave-v1.d.ts +2 -1
  16. package/build/dex/aave-v1/aave-v1.js +23 -0
  17. package/build/dex/aave-v1/aave-v1.js.map +1 -1
  18. package/build/dex/aave-v2/tokens-avalanche.json +44 -0
  19. package/build/dex/aave-v2/tokens-mainnet.json +188 -0
  20. package/build/dex/aave-v2/tokens-polygon.json +44 -0
  21. package/build/dex/balancer-v3/abi/balancerBatchRouter.d.ts +729 -0
  22. package/build/dex/balancer-v3/abi/balancerBatchRouter.js +732 -0
  23. package/build/dex/balancer-v3/abi/balancerBatchRouter.js.map +1 -0
  24. package/build/dex/balancer-v3/abi/balancerRouter.d.ts +1406 -0
  25. package/build/dex/balancer-v3/abi/balancerRouter.js +1175 -0
  26. package/build/dex/balancer-v3/abi/balancerRouter.js.map +1 -0
  27. package/build/dex/balancer-v3/abi/vaultExtension.V3.d.ts +2081 -0
  28. package/build/dex/balancer-v3/abi/vaultExtension.V3.js +1851 -0
  29. package/build/dex/balancer-v3/abi/vaultExtension.V3.js.map +1 -0
  30. package/build/dex/balancer-v3/balancer-v3-pool.d.ts +80 -0
  31. package/build/dex/balancer-v3/balancer-v3-pool.js +461 -0
  32. package/build/dex/balancer-v3/balancer-v3-pool.js.map +1 -0
  33. package/build/dex/balancer-v3/balancer-v3-sepolia-pools.d.ts +34 -0
  34. package/build/dex/balancer-v3/balancer-v3-sepolia-pools.js +406 -0
  35. package/build/dex/balancer-v3/balancer-v3-sepolia-pools.js.map +1 -0
  36. package/build/dex/balancer-v3/balancer-v3.d.ts +57 -0
  37. package/build/dex/balancer-v3/balancer-v3.js +383 -0
  38. package/build/dex/balancer-v3/balancer-v3.js.map +1 -0
  39. package/build/dex/balancer-v3/config.d.ts +8 -0
  40. package/build/dex/balancer-v3/config.js +24 -0
  41. package/build/dex/balancer-v3/config.js.map +1 -0
  42. package/build/dex/balancer-v3/getGasCost.d.ts +2 -0
  43. package/build/dex/balancer-v3/getGasCost.js +41 -0
  44. package/build/dex/balancer-v3/getGasCost.js.map +1 -0
  45. package/build/dex/balancer-v3/getOnChainState.d.ts +10 -0
  46. package/build/dex/balancer-v3/getOnChainState.js +164 -0
  47. package/build/dex/balancer-v3/getOnChainState.js.map +1 -0
  48. package/build/dex/balancer-v3/getPoolsApi.d.ts +2 -0
  49. package/build/dex/balancer-v3/getPoolsApi.js +81 -0
  50. package/build/dex/balancer-v3/getPoolsApi.js.map +1 -0
  51. package/build/dex/balancer-v3/getTopPoolsApi.d.ts +13 -0
  52. package/build/dex/balancer-v3/getTopPoolsApi.js +62 -0
  53. package/build/dex/balancer-v3/getTopPoolsApi.js.map +1 -0
  54. package/build/dex/balancer-v3/optimizer.d.ts +2 -0
  55. package/build/dex/{trader-joe-v2.1 → balancer-v3}/optimizer.js +17 -16
  56. package/build/dex/balancer-v3/optimizer.js.map +1 -0
  57. package/build/dex/balancer-v3/stablePool.d.ts +7 -0
  58. package/build/dex/balancer-v3/stablePool.js +73 -0
  59. package/build/dex/balancer-v3/stablePool.js.map +1 -0
  60. package/build/dex/balancer-v3/types.d.ts +62 -0
  61. package/build/dex/balancer-v3/types.js +3 -0
  62. package/build/dex/balancer-v3/types.js.map +1 -0
  63. package/build/dex/balancer-v3/weightedPool.d.ts +1 -0
  64. package/build/dex/balancer-v3/weightedPool.js +6 -0
  65. package/build/dex/balancer-v3/weightedPool.js.map +1 -0
  66. package/build/dex/inception/config.d.ts +4 -0
  67. package/build/dex/inception/config.js +109 -0
  68. package/build/dex/inception/config.js.map +1 -0
  69. package/build/dex/inception/inception-event-pool.d.ts +16 -0
  70. package/build/dex/inception/inception-event-pool.js +49 -0
  71. package/build/dex/inception/inception-event-pool.js.map +1 -0
  72. package/build/dex/inception/inception.d.ts +43 -0
  73. package/build/dex/inception/inception.js +180 -0
  74. package/build/dex/inception/inception.js.map +1 -0
  75. package/build/dex/inception/tokens.d.ts +9 -0
  76. package/build/dex/inception/tokens.js +28 -0
  77. package/build/dex/inception/tokens.js.map +1 -0
  78. package/build/dex/inception/types.d.ts +22 -0
  79. package/build/dex/inception/types.js +3 -0
  80. package/build/dex/inception/types.js.map +1 -0
  81. package/build/dex/inception/utils.d.ts +7 -0
  82. package/build/dex/inception/utils.js +58 -0
  83. package/build/dex/inception/utils.js.map +1 -0
  84. package/build/dex/index.js +0 -2
  85. package/build/dex/index.js.map +1 -1
  86. package/build/dex/jarvis.d.ts +2 -1
  87. package/build/dex/jarvis.js +58 -0
  88. package/build/dex/jarvis.js.map +1 -1
  89. package/build/dex/maker-psm/scripts/gem.abi.json +136 -0
  90. package/build/dex/maker-psm/scripts/validate-state.d.ts +0 -0
  91. package/build/dex/maker-psm/scripts/validate-state.js +185 -0
  92. package/build/dex/maker-psm/scripts/validate-state.js.map +1 -0
  93. package/build/dex/maker-psm/scripts/vat.abi.json +243 -0
  94. package/build/dex/platypus/platypus.d.ts +2 -1
  95. package/build/dex/platypus/platypus.js +45 -0
  96. package/build/dex/platypus/platypus.js.map +1 -1
  97. package/build/dex/solidly-v3/scripts/check-event-pool-event.d.ts +1 -0
  98. package/build/dex/solidly-v3/scripts/check-event-pool-event.js +53 -0
  99. package/build/dex/solidly-v3/scripts/check-event-pool-event.js.map +1 -0
  100. package/build/dex/stable-pool.js +1 -8
  101. package/build/dex/stable-pool.js.map +1 -1
  102. package/build/dex/swaap-v1/swaap-v1.d.ts +2 -1
  103. package/build/dex/swaap-v1/swaap-v1.js +14 -0
  104. package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
  105. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.d.ts +17 -0
  106. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js +64 -0
  107. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js.map +1 -0
  108. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.d.ts +17 -0
  109. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js +79 -0
  110. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js.map +1 -0
  111. package/build/dex/uniswap-v3/uniswap-v3-pricing.d.ts +4 -0
  112. package/build/dex/uniswap-v3/uniswap-v3-pricing.js +43 -0
  113. package/build/dex/uniswap-v3/uniswap-v3-pricing.js.map +1 -0
  114. package/build/dex/uniswap-v3/uniswap-v3-worker.d.ts +1 -0
  115. package/build/dex/uniswap-v3/uniswap-v3-worker.js +10 -0
  116. package/build/dex/uniswap-v3/uniswap-v3-worker.js.map +1 -0
  117. package/build/dex/usual/types.d.ts +13 -0
  118. package/build/dex/usual/types.js +3 -0
  119. package/build/dex/usual/types.js.map +1 -0
  120. package/build/dex/usual/usual-bond.d.ts +18 -0
  121. package/build/dex/usual/usual-bond.js +52 -0
  122. package/build/dex/usual/usual-bond.js.map +1 -0
  123. package/build/dex/usual/usual-m-smart-m.d.ts +17 -0
  124. package/build/dex/usual/usual-m-smart-m.js +50 -0
  125. package/build/dex/usual/usual-m-smart-m.js.map +1 -0
  126. package/build/dex/usual/usual-m-usd0.d.ts +17 -0
  127. package/build/dex/usual/usual-m-usd0.js +51 -0
  128. package/build/dex/usual/usual-m-usd0.js.map +1 -0
  129. package/build/dex/usual/usual.d.ts +27 -0
  130. package/build/dex/usual/usual.js +125 -0
  131. package/build/dex/usual/usual.js.map +1 -0
  132. package/build/dex/usual-m-smart-m/config.d.ts +3 -0
  133. package/build/dex/usual-m-smart-m/config.js +13 -0
  134. package/build/dex/usual-m-smart-m/config.js.map +1 -0
  135. package/build/dex/usual-m-smart-m/types.d.ts +7 -0
  136. package/build/dex/usual-m-smart-m/types.js +3 -0
  137. package/build/dex/usual-m-smart-m/types.js.map +1 -0
  138. package/build/dex/usual-m-smart-m/usual-m-smart-m.d.ts +35 -0
  139. package/build/dex/usual-m-smart-m/usual-m-smart-m.js +161 -0
  140. package/build/dex/usual-m-smart-m/usual-m-smart-m.js.map +1 -0
  141. package/build/dex/{stader → usual-m-usd0}/config.d.ts +1 -1
  142. package/build/dex/usual-m-usd0/config.js +14 -0
  143. package/build/dex/usual-m-usd0/config.js.map +1 -0
  144. package/build/dex/usual-m-usd0/types.d.ts +8 -0
  145. package/build/dex/usual-m-usd0/types.js +3 -0
  146. package/build/dex/usual-m-usd0/types.js.map +1 -0
  147. package/build/dex/usual-m-usd0/usual-m-usd0.d.ts +35 -0
  148. package/build/dex/usual-m-usd0/usual-m-usd0.js +159 -0
  149. package/build/dex/usual-m-usd0/usual-m-usd0.js.map +1 -0
  150. package/build/dex/zerox/index.d.ts +4 -26
  151. package/build/dex/zerox/index.js +50 -42
  152. package/build/dex/zerox/index.js.map +1 -1
  153. package/build/dex/zerox/types.d.ts +29 -0
  154. package/build/dex/zerox/types.js +8 -1
  155. package/build/dex/zerox/types.js.map +1 -1
  156. package/package.json +1 -1
  157. package/src/dex/balancer-v3/balancer-v3-sepolia-pools.ts +404 -0
  158. package/src/dex/index.ts +0 -2
  159. package/tests/constants-e2e.ts +0 -5
  160. package/.idea/aws.xml +0 -17
  161. package/.idea/codeStyles/Project.xml +0 -19
  162. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  163. package/.idea/misc.xml +0 -6
  164. package/.idea/modules.xml +0 -8
  165. package/.idea/paraswap-dex-lib.iml +0 -9
  166. package/.idea/prettier.xml +0 -7
  167. package/.idea/vcs.xml +0 -6
  168. package/build/abi/SSPM.json +0 -829
  169. package/build/abi/StaderOracle.json +0 -2170
  170. package/build/abi/integral/factory.json +0 -333
  171. package/build/abi/integral/oracle.json +0 -501
  172. package/build/abi/integral/pool.json +0 -1041
  173. package/build/dex/cables/cables.d.ts +0 -59
  174. package/build/dex/cables/cables.js +0 -614
  175. package/build/dex/cables/cables.js.map +0 -1
  176. package/build/dex/cables/config.d.ts +0 -4
  177. package/build/dex/cables/config.js +0 -15
  178. package/build/dex/cables/config.js.map +0 -1
  179. package/build/dex/cables/constants.d.ts +0 -20
  180. package/build/dex/cables/constants.js +0 -24
  181. package/build/dex/cables/constants.js.map +0 -1
  182. package/build/dex/cables/rate-fetcher.d.ts +0 -34
  183. package/build/dex/cables/rate-fetcher.js +0 -106
  184. package/build/dex/cables/rate-fetcher.js.map +0 -1
  185. package/build/dex/cables/types.d.ts +0 -113
  186. package/build/dex/cables/types.js +0 -19
  187. package/build/dex/cables/types.js.map +0 -1
  188. package/build/dex/cables/validators.d.ts +0 -5
  189. package/build/dex/cables/validators.js +0 -49
  190. package/build/dex/cables/validators.js.map +0 -1
  191. package/build/dex/fluid-dex/fluid-dex-generate-pool.d.ts +0 -49
  192. package/build/dex/fluid-dex/fluid-dex-generate-pool.js +0 -104
  193. package/build/dex/fluid-dex/fluid-dex-generate-pool.js.map +0 -1
  194. package/build/dex/integral/config.d.ts +0 -4
  195. package/build/dex/integral/config.js +0 -20
  196. package/build/dex/integral/config.js.map +0 -1
  197. package/build/dex/integral/context.d.ts +0 -40
  198. package/build/dex/integral/context.js +0 -158
  199. package/build/dex/integral/context.js.map +0 -1
  200. package/build/dex/integral/integral-factory.d.ts +0 -24
  201. package/build/dex/integral/integral-factory.js +0 -95
  202. package/build/dex/integral/integral-factory.js.map +0 -1
  203. package/build/dex/integral/integral-pool.d.ts +0 -50
  204. package/build/dex/integral/integral-pool.js +0 -149
  205. package/build/dex/integral/integral-pool.js.map +0 -1
  206. package/build/dex/integral/integral-pricing.d.ts +0 -18
  207. package/build/dex/integral/integral-pricing.js +0 -114
  208. package/build/dex/integral/integral-pricing.js.map +0 -1
  209. package/build/dex/integral/integral-relayer.d.ts +0 -42
  210. package/build/dex/integral/integral-relayer.js +0 -192
  211. package/build/dex/integral/integral-relayer.js.map +0 -1
  212. package/build/dex/integral/integral-token.d.ts +0 -27
  213. package/build/dex/integral/integral-token.js +0 -59
  214. package/build/dex/integral/integral-token.js.map +0 -1
  215. package/build/dex/integral/integral.d.ts +0 -41
  216. package/build/dex/integral/integral.js +0 -376
  217. package/build/dex/integral/integral.js.map +0 -1
  218. package/build/dex/integral/types.d.ts +0 -85
  219. package/build/dex/integral/types.js +0 -9
  220. package/build/dex/integral/types.js.map +0 -1
  221. package/build/dex/integral/utils-e2e.d.ts +0 -9
  222. package/build/dex/integral/utils-e2e.js +0 -131
  223. package/build/dex/integral/utils-e2e.js.map +0 -1
  224. package/build/dex/integral/utils.d.ts +0 -17
  225. package/build/dex/integral/utils.js +0 -94
  226. package/build/dex/integral/utils.js.map +0 -1
  227. package/build/dex/stader/config.js +0 -14
  228. package/build/dex/stader/config.js.map +0 -1
  229. package/build/dex/stader/stader-pool.d.ts +0 -18
  230. package/build/dex/stader/stader-pool.js +0 -47
  231. package/build/dex/stader/stader-pool.js.map +0 -1
  232. package/build/dex/stader/stader.d.ts +0 -42
  233. package/build/dex/stader/stader.js +0 -141
  234. package/build/dex/stader/stader.js.map +0 -1
  235. package/build/dex/stader/types.d.ts +0 -13
  236. package/build/dex/stader/types.js +0 -8
  237. package/build/dex/stader/types.js.map +0 -1
  238. package/build/dex/stader/utils.d.ts +0 -4
  239. package/build/dex/stader/utils.js +0 -24
  240. package/build/dex/stader/utils.js.map +0 -1
  241. package/build/dex/trader-joe-v2.1/optimizer.d.ts +0 -2
  242. package/build/dex/trader-joe-v2.1/optimizer.js.map +0 -1
  243. package/src/abi/SSPM.json +0 -829
  244. package/src/abi/StaderOracle.json +0 -2170
  245. package/src/dex/stader/config.ts +0 -13
  246. package/src/dex/stader/stader-e2e.test.ts +0 -74
  247. package/src/dex/stader/stader-events.test.ts +0 -64
  248. package/src/dex/stader/stader-integration.test.ts +0 -210
  249. package/src/dex/stader/stader-pool.ts +0 -68
  250. package/src/dex/stader/stader.ts +0 -208
  251. package/src/dex/stader/types.ts +0 -16
  252. package/src/dex/stader/utils.ts +0 -34
@@ -0,0 +1,404 @@
1
+ const pools = [
2
+ {
3
+ id: '0x0d7291d8bdc6b376aadacbf05b1ef8a8292ef58a',
4
+ type: 'STABLE',
5
+ poolTokens: [
6
+ {
7
+ address: '0x8a88124522dbbf1e56352ba3de1d9f78c143751e',
8
+ weight: null,
9
+ isErc4626: true,
10
+ underlyingToken: {
11
+ address: '0x94a9d9ac8a22534e3faca9f4e7f2e2cf85d5e4c8',
12
+ },
13
+ },
14
+ {
15
+ address: '0x978206fae13faf5a8d293fb614326b237684b750',
16
+ weight: null,
17
+ isErc4626: true,
18
+ underlyingToken: {
19
+ address: '0xaa8e23fb1079ea71e0a56f48a2aa51851d8433d0',
20
+ },
21
+ },
22
+ ],
23
+ },
24
+ {
25
+ id: '0x1017d7b181ab63ceeb36d96c52a8056e02b7edd0',
26
+ type: 'STABLE',
27
+ poolTokens: [
28
+ {
29
+ address: '0x8a88124522dbbf1e56352ba3de1d9f78c143751e',
30
+ weight: null,
31
+ isErc4626: true,
32
+ underlyingToken: {
33
+ address: '0x94a9d9ac8a22534e3faca9f4e7f2e2cf85d5e4c8',
34
+ },
35
+ },
36
+ {
37
+ address: '0x978206fae13faf5a8d293fb614326b237684b750',
38
+ weight: null,
39
+ isErc4626: true,
40
+ underlyingToken: {
41
+ address: '0xaa8e23fb1079ea71e0a56f48a2aa51851d8433d0',
42
+ },
43
+ },
44
+ ],
45
+ },
46
+ {
47
+ id: '0x1ada5f54c7aafe20dfcd493de4dbcf4a3061c79c',
48
+ type: 'WEIGHTED',
49
+ poolTokens: [
50
+ {
51
+ address: '0x0f409e839a6a790aecb737e4436293be11717f95',
52
+ weight: '0.33',
53
+ isErc4626: false,
54
+ underlyingToken: null,
55
+ },
56
+ {
57
+ address: '0xb19382073c7a0addbb56ac6af1808fa49e377b75',
58
+ weight: '0.67',
59
+ isErc4626: false,
60
+ underlyingToken: null,
61
+ },
62
+ ],
63
+ },
64
+ {
65
+ id: '0x2ff3b96e0057a1f25f1d62ab800554ccdb268ab8',
66
+ type: 'WEIGHTED',
67
+ poolTokens: [
68
+ {
69
+ address: '0x7b79995e5f793a07bc00c21412e50ecae098e7f9',
70
+ weight: '0.5',
71
+ isErc4626: false,
72
+ underlyingToken: null,
73
+ },
74
+ {
75
+ address: '0xb19382073c7a0addbb56ac6af1808fa49e377b75',
76
+ weight: '0.5',
77
+ isErc4626: false,
78
+ underlyingToken: null,
79
+ },
80
+ ],
81
+ },
82
+ {
83
+ id: '0x3bc893eeb97ecdbb1b17dcc9e88d51e4a0d3fe35',
84
+ type: 'STABLE',
85
+ poolTokens: [
86
+ {
87
+ address: '0x7b79995e5f793a07bc00c21412e50ecae098e7f9',
88
+ weight: null,
89
+ isErc4626: false,
90
+ underlyingToken: null,
91
+ },
92
+ {
93
+ address: '0x94a9d9ac8a22534e3faca9f4e7f2e2cf85d5e4c8',
94
+ weight: null,
95
+ isErc4626: false,
96
+ underlyingToken: null,
97
+ },
98
+ {
99
+ address: '0x978206fae13faf5a8d293fb614326b237684b750',
100
+ weight: null,
101
+ isErc4626: true,
102
+ underlyingToken: {
103
+ address: '0xaa8e23fb1079ea71e0a56f48a2aa51851d8433d0',
104
+ },
105
+ },
106
+ {
107
+ address: '0xde46e43f46ff74a23a65ebb0580cbe3dfe684a17',
108
+ weight: null,
109
+ isErc4626: true,
110
+ underlyingToken: {
111
+ address: '0xff34b3d4aee8ddcd6f9afffb6fe49bd371b8a357',
112
+ },
113
+ },
114
+ ],
115
+ },
116
+ {
117
+ id: '0x42de4fa875126fdbaf590b2fc3802adbca58acee',
118
+ type: 'STABLE',
119
+ poolTokens: [
120
+ {
121
+ address: '0xd63db0b88dca565633fb8d70a70b9b8093d34a7e',
122
+ weight: null,
123
+ isErc4626: false,
124
+ underlyingToken: null,
125
+ },
126
+ {
127
+ address: '0xde46e43f46ff74a23a65ebb0580cbe3dfe684a17',
128
+ weight: null,
129
+ isErc4626: true,
130
+ underlyingToken: {
131
+ address: '0xff34b3d4aee8ddcd6f9afffb6fe49bd371b8a357',
132
+ },
133
+ },
134
+ ],
135
+ },
136
+ {
137
+ id: '0x946e59e9637f44eb122fe64b372aaf6ed0441da1',
138
+ type: 'WEIGHTED',
139
+ poolTokens: [
140
+ {
141
+ address: '0x94a9d9ac8a22534e3faca9f4e7f2e2cf85d5e4c8',
142
+ weight: '0.5',
143
+ isErc4626: false,
144
+ underlyingToken: null,
145
+ },
146
+ {
147
+ address: '0xff34b3d4aee8ddcd6f9afffb6fe49bd371b8a357',
148
+ weight: '0.5',
149
+ isErc4626: false,
150
+ underlyingToken: null,
151
+ },
152
+ ],
153
+ },
154
+ {
155
+ id: '0x965f7d7387d81056ebf0edaf4a869dc46471a676',
156
+ type: 'WEIGHTED',
157
+ poolTokens: [
158
+ {
159
+ address: '0x7b79995e5f793a07bc00c21412e50ecae098e7f9',
160
+ weight: '0.5',
161
+ isErc4626: false,
162
+ underlyingToken: null,
163
+ },
164
+ {
165
+ address: '0xd63db0b88dca565633fb8d70a70b9b8093d34a7e',
166
+ weight: '0.5',
167
+ isErc4626: false,
168
+ underlyingToken: null,
169
+ },
170
+ ],
171
+ },
172
+ {
173
+ id: '0x9dd65a7c9e3973edbf9c5a6f857252b0a67627aa',
174
+ type: 'STABLE',
175
+ poolTokens: [
176
+ {
177
+ address: '0x6bf294b80c7d8dc72dee762af5d01260b756a051',
178
+ weight: null,
179
+ isErc4626: false,
180
+ underlyingToken: null,
181
+ },
182
+ {
183
+ address: '0x80d6d3946ed8a1da4e226aa21ccddc32bd127d1a',
184
+ weight: null,
185
+ isErc4626: false,
186
+ underlyingToken: null,
187
+ },
188
+ {
189
+ address: '0xb77eb1a70a96fdaaeb31db1b42f2b8b5846b2613',
190
+ weight: null,
191
+ isErc4626: false,
192
+ underlyingToken: null,
193
+ },
194
+ {
195
+ address: '0xff34b3d4aee8ddcd6f9afffb6fe49bd371b8a357',
196
+ weight: null,
197
+ isErc4626: false,
198
+ underlyingToken: null,
199
+ },
200
+ ],
201
+ },
202
+ {
203
+ id: '0xadb63f54b5ca608144513f03ff57ea415843b083',
204
+ type: 'WEIGHTED',
205
+ poolTokens: [
206
+ {
207
+ address: '0x6bf294b80c7d8dc72dee762af5d01260b756a051',
208
+ weight: '0.33',
209
+ isErc4626: false,
210
+ underlyingToken: null,
211
+ },
212
+ {
213
+ address: '0x80d6d3946ed8a1da4e226aa21ccddc32bd127d1a',
214
+ weight: '0.33',
215
+ isErc4626: false,
216
+ underlyingToken: null,
217
+ },
218
+ {
219
+ address: '0xaa8e23fb1079ea71e0a56f48a2aa51851d8433d0',
220
+ weight: '0.34',
221
+ isErc4626: false,
222
+ underlyingToken: null,
223
+ },
224
+ ],
225
+ },
226
+ {
227
+ id: '0xbb83ba331c3254c8c44645430126797dceda89c0',
228
+ type: 'WEIGHTED',
229
+ poolTokens: [
230
+ {
231
+ address: '0x7b79995e5f793a07bc00c21412e50ecae098e7f9',
232
+ weight: '0.5',
233
+ isErc4626: false,
234
+ underlyingToken: null,
235
+ },
236
+ {
237
+ address: '0x8a88124522dbbf1e56352ba3de1d9f78c143751e',
238
+ weight: '0.5',
239
+ isErc4626: true,
240
+ underlyingToken: {
241
+ address: '0x94a9d9ac8a22534e3faca9f4e7f2e2cf85d5e4c8',
242
+ },
243
+ },
244
+ ],
245
+ },
246
+ {
247
+ id: '0xbfa3d29909e92ab04b631d114c78b5257aba53db',
248
+ type: 'WEIGHTED',
249
+ poolTokens: [
250
+ {
251
+ address: '0x6bf294b80c7d8dc72dee762af5d01260b756a051',
252
+ weight: '0.99',
253
+ isErc4626: false,
254
+ underlyingToken: null,
255
+ },
256
+ {
257
+ address: '0x80d6d3946ed8a1da4e226aa21ccddc32bd127d1a',
258
+ weight: '0.01',
259
+ isErc4626: false,
260
+ underlyingToken: null,
261
+ },
262
+ ],
263
+ },
264
+ {
265
+ id: '0xc9233cc69435591b193b50f702ac31e404a08b10',
266
+ type: 'WEIGHTED',
267
+ poolTokens: [
268
+ {
269
+ address: '0x7b79995e5f793a07bc00c21412e50ecae098e7f9',
270
+ weight: '0.5',
271
+ isErc4626: false,
272
+ underlyingToken: null,
273
+ },
274
+ {
275
+ address: '0x946e59e9637f44eb122fe64b372aaf6ed0441da1',
276
+ weight: '0.5',
277
+ isErc4626: false,
278
+ underlyingToken: null,
279
+ },
280
+ ],
281
+ },
282
+ {
283
+ id: '0xce7601b157e0871332d2295f274a0f4314a1585d',
284
+ type: 'STABLE',
285
+ poolTokens: [
286
+ {
287
+ address: '0xaa8e23fb1079ea71e0a56f48a2aa51851d8433d0',
288
+ weight: null,
289
+ isErc4626: false,
290
+ underlyingToken: null,
291
+ },
292
+ {
293
+ address: '0xde46e43f46ff74a23a65ebb0580cbe3dfe684a17',
294
+ weight: null,
295
+ isErc4626: true,
296
+ underlyingToken: {
297
+ address: '0xff34b3d4aee8ddcd6f9afffb6fe49bd371b8a357',
298
+ },
299
+ },
300
+ ],
301
+ },
302
+ {
303
+ id: '0xd320b050444aa50f24e6666e22a503f765e74263',
304
+ type: 'STABLE',
305
+ poolTokens: [
306
+ {
307
+ address: '0x6bf294b80c7d8dc72dee762af5d01260b756a051',
308
+ weight: null,
309
+ isErc4626: false,
310
+ underlyingToken: null,
311
+ },
312
+ {
313
+ address: '0xb77eb1a70a96fdaaeb31db1b42f2b8b5846b2613',
314
+ weight: null,
315
+ isErc4626: false,
316
+ underlyingToken: null,
317
+ },
318
+ ],
319
+ },
320
+ {
321
+ id: '0xd63db0b88dca565633fb8d70a70b9b8093d34a7e',
322
+ type: 'STABLE',
323
+ poolTokens: [
324
+ {
325
+ address: '0x8a88124522dbbf1e56352ba3de1d9f78c143751e',
326
+ weight: null,
327
+ isErc4626: true,
328
+ underlyingToken: {
329
+ address: '0x94a9d9ac8a22534e3faca9f4e7f2e2cf85d5e4c8',
330
+ },
331
+ },
332
+ {
333
+ address: '0x978206fae13faf5a8d293fb614326b237684b750',
334
+ weight: null,
335
+ isErc4626: true,
336
+ underlyingToken: {
337
+ address: '0xaa8e23fb1079ea71e0a56f48a2aa51851d8433d0',
338
+ },
339
+ },
340
+ ],
341
+ },
342
+ {
343
+ id: '0xdfc3ab57a32828da8074f34e702635fc58d64d06',
344
+ type: 'WEIGHTED',
345
+ poolTokens: [
346
+ {
347
+ address: '0x978206fae13faf5a8d293fb614326b237684b750',
348
+ weight: '0.5',
349
+ isErc4626: true,
350
+ underlyingToken: {
351
+ address: '0xaa8e23fb1079ea71e0a56f48a2aa51851d8433d0',
352
+ },
353
+ },
354
+ {
355
+ address: '0xde46e43f46ff74a23a65ebb0580cbe3dfe684a17',
356
+ weight: '0.5',
357
+ isErc4626: true,
358
+ underlyingToken: {
359
+ address: '0xff34b3d4aee8ddcd6f9afffb6fe49bd371b8a357',
360
+ },
361
+ },
362
+ ],
363
+ },
364
+ {
365
+ id: '0xe69b70a86a4e1fd33da95693a1ae12be1c26c8ea',
366
+ type: 'WEIGHTED',
367
+ poolTokens: [
368
+ {
369
+ address: '0xb19382073c7a0addbb56ac6af1808fa49e377b75',
370
+ weight: '0.5',
371
+ isErc4626: false,
372
+ underlyingToken: null,
373
+ },
374
+ {
375
+ address: '0xff34b3d4aee8ddcd6f9afffb6fe49bd371b8a357',
376
+ weight: '0.5',
377
+ isErc4626: false,
378
+ underlyingToken: null,
379
+ },
380
+ ],
381
+ },
382
+ {
383
+ id: '0xf5a25990da505a9d4c3e0d876f3951e9edf9abc3',
384
+ type: 'WEIGHTED',
385
+ poolTokens: [
386
+ {
387
+ address: '0x7b79995e5f793a07bc00c21412e50ecae098e7f9',
388
+ weight: '0.5',
389
+ isErc4626: false,
390
+ underlyingToken: null,
391
+ },
392
+ {
393
+ address: '0x978206fae13faf5a8d293fb614326b237684b750',
394
+ weight: '0.5',
395
+ isErc4626: true,
396
+ underlyingToken: {
397
+ address: '0xaa8e23fb1079ea71e0a56f48a2aa51851d8433d0',
398
+ },
399
+ },
400
+ ],
401
+ },
402
+ ];
403
+
404
+ export default pools;
package/src/dex/index.ts CHANGED
@@ -94,7 +94,6 @@ import { LitePsm } from './lite-psm/lite-psm';
94
94
  import { UsualBond } from './usual-bond/usual-bond';
95
95
  import { StkGHO } from './stkgho/stkgho';
96
96
  import { SkyConverter } from './sky-converter/sky-converter';
97
- import { Stader } from './stader/stader';
98
97
 
99
98
  const LegacyDexes = [
100
99
  CurveV2,
@@ -114,7 +113,6 @@ const LegacyDexes = [
114
113
  ];
115
114
 
116
115
  const Dexes = [
117
- Stader,
118
116
  Bebop,
119
117
  Dexalot,
120
118
  CurveV1,
@@ -92,10 +92,6 @@ export const Tokens: {
92
92
  address: ETHER_ADDRESS,
93
93
  decimals: 18,
94
94
  },
95
- ETHx: {
96
- address: '0xA35b1B31Ce002FBF2058D22F30f95D405200A15b',
97
- decimals: 18,
98
- },
99
95
  SWETH: {
100
96
  address: '0xf951e335afb289353dc249e82926178eac7ded78',
101
97
  decimals: 18,
@@ -1629,7 +1625,6 @@ export const Holders: {
1629
1625
  sUSDS: '0xd564B3aE673CAa49D054Bf185bD72a6853763eE7',
1630
1626
  SKY: '0x0ddda327A6614130CCb20bc0097313A282176A01',
1631
1627
  MKR: '0xe9aAA7A9DDc0877626C1779AbC29993aD89A6c1f',
1632
- ETHx: '0xFCC1A2c71F01B7f58Ed538a6B4AAa5A0724eB5A6',
1633
1628
  // Idle tokens
1634
1629
  AA_wstETH: '0xd7C1b48877A7dFA7D51cf1144c89C0A3F134F935',
1635
1630
  'AA_idle_cpPOR-USDC': '0x085c8eaccA6911fE60aE3f8FbAe5F3012E3A05Ec',
package/.idea/aws.xml DELETED
@@ -1,17 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="accountSettings">
4
- <option name="activeProfile" value="profile:default" />
5
- <option name="activeRegion" value="us-east-1" />
6
- <option name="recentlyUsedProfiles">
7
- <list>
8
- <option value="profile:default" />
9
- </list>
10
- </option>
11
- <option name="recentlyUsedRegions">
12
- <list>
13
- <option value="us-east-1" />
14
- </list>
15
- </option>
16
- </component>
17
- </project>
@@ -1,19 +0,0 @@
1
- <component name="ProjectCodeStyleConfiguration">
2
- <code_scheme name="Project" version="173">
3
- <ScalaCodeStyleSettings>
4
- <option name="MULTILINE_STRING_CLOSING_QUOTES_ON_NEW_LINE" value="true" />
5
- </ScalaCodeStyleSettings>
6
- <TypeScriptCodeStyleSettings version="0">
7
- <option name="SPACE_WITHIN_ARRAY_INITIALIZER_BRACKETS" value="true" />
8
- <option name="USE_DOUBLE_QUOTES" value="false" />
9
- <option name="SPACES_WITHIN_IMPORTS" value="true" />
10
- </TypeScriptCodeStyleSettings>
11
- <codeStyleSettings language="TypeScript">
12
- <indentOptions>
13
- <option name="INDENT_SIZE" value="2" />
14
- <option name="CONTINUATION_INDENT_SIZE" value="2" />
15
- <option name="TAB_SIZE" value="2" />
16
- </indentOptions>
17
- </codeStyleSettings>
18
- </code_scheme>
19
- </component>
@@ -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$/.idea/paraswap-dex-lib.iml" filepath="$PROJECT_DIR$/.idea/paraswap-dex-lib.iml" />
6
- </modules>
7
- </component>
8
- </project>
@@ -1,9 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="JAVA_MODULE" version="4">
3
- <component name="NewModuleRootManager" inherit-compiler-output="true">
4
- <exclude-output />
5
- <content url="file://$MODULE_DIR$" />
6
- <orderEntry type="inheritedJdk" />
7
- <orderEntry type="sourceFolder" forTests="false" />
8
- </component>
9
- </module>
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="PrettierConfiguration">
4
- <option name="myRunOnSave" value="true" />
5
- <option name="myRunOnReformat" value="true" />
6
- </component>
7
- </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>