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

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 (266) 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/pancakeswap-v3/pancakeswap-v3-pool.d.ts +0 -1
  95. package/build/dex/pancakeswap-v3/pancakeswap-v3-pool.js +0 -20
  96. package/build/dex/pancakeswap-v3/pancakeswap-v3-pool.js.map +1 -1
  97. package/build/dex/pancakeswap-v3/pancakeswap-v3.js +0 -4
  98. package/build/dex/pancakeswap-v3/pancakeswap-v3.js.map +1 -1
  99. package/build/dex/platypus/platypus.d.ts +2 -1
  100. package/build/dex/platypus/platypus.js +45 -0
  101. package/build/dex/platypus/platypus.js.map +1 -1
  102. package/build/dex/solidly-v3/scripts/check-event-pool-event.d.ts +1 -0
  103. package/build/dex/solidly-v3/scripts/check-event-pool-event.js +53 -0
  104. package/build/dex/solidly-v3/scripts/check-event-pool-event.js.map +1 -0
  105. package/build/dex/stable-pool.js +1 -8
  106. package/build/dex/stable-pool.js.map +1 -1
  107. package/build/dex/swaap-v1/swaap-v1.d.ts +2 -1
  108. package/build/dex/swaap-v1/swaap-v1.js +14 -0
  109. package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
  110. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.d.ts +17 -0
  111. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js +64 -0
  112. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js.map +1 -0
  113. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.d.ts +17 -0
  114. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js +79 -0
  115. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js.map +1 -0
  116. package/build/dex/uniswap-v3/uniswap-v3-pool.d.ts +0 -1
  117. package/build/dex/uniswap-v3/uniswap-v3-pool.js +0 -20
  118. package/build/dex/uniswap-v3/uniswap-v3-pool.js.map +1 -1
  119. package/build/dex/uniswap-v3/uniswap-v3-pricing.d.ts +4 -0
  120. package/build/dex/uniswap-v3/uniswap-v3-pricing.js +43 -0
  121. package/build/dex/uniswap-v3/uniswap-v3-pricing.js.map +1 -0
  122. package/build/dex/uniswap-v3/uniswap-v3-worker.d.ts +1 -0
  123. package/build/dex/uniswap-v3/uniswap-v3-worker.js +10 -0
  124. package/build/dex/uniswap-v3/uniswap-v3-worker.js.map +1 -0
  125. package/build/dex/uniswap-v3/uniswap-v3.js +0 -5
  126. package/build/dex/uniswap-v3/uniswap-v3.js.map +1 -1
  127. package/build/dex/usual/types.d.ts +13 -0
  128. package/build/dex/usual/types.js +3 -0
  129. package/build/dex/usual/types.js.map +1 -0
  130. package/build/dex/usual/usual-bond.d.ts +18 -0
  131. package/build/dex/usual/usual-bond.js +52 -0
  132. package/build/dex/usual/usual-bond.js.map +1 -0
  133. package/build/dex/usual/usual-m-smart-m.d.ts +17 -0
  134. package/build/dex/usual/usual-m-smart-m.js +50 -0
  135. package/build/dex/usual/usual-m-smart-m.js.map +1 -0
  136. package/build/dex/usual/usual-m-usd0.d.ts +17 -0
  137. package/build/dex/usual/usual-m-usd0.js +51 -0
  138. package/build/dex/usual/usual-m-usd0.js.map +1 -0
  139. package/build/dex/usual/usual.d.ts +27 -0
  140. package/build/dex/usual/usual.js +125 -0
  141. package/build/dex/usual/usual.js.map +1 -0
  142. package/build/dex/usual-m-smart-m/config.d.ts +3 -0
  143. package/build/dex/usual-m-smart-m/config.js +13 -0
  144. package/build/dex/usual-m-smart-m/config.js.map +1 -0
  145. package/build/dex/usual-m-smart-m/types.d.ts +7 -0
  146. package/build/dex/usual-m-smart-m/types.js +3 -0
  147. package/build/dex/usual-m-smart-m/types.js.map +1 -0
  148. package/build/dex/usual-m-smart-m/usual-m-smart-m.d.ts +35 -0
  149. package/build/dex/usual-m-smart-m/usual-m-smart-m.js +161 -0
  150. package/build/dex/usual-m-smart-m/usual-m-smart-m.js.map +1 -0
  151. package/build/dex/{stader → usual-m-usd0}/config.d.ts +1 -1
  152. package/build/dex/usual-m-usd0/config.js +14 -0
  153. package/build/dex/usual-m-usd0/config.js.map +1 -0
  154. package/build/dex/usual-m-usd0/types.d.ts +8 -0
  155. package/build/dex/usual-m-usd0/types.js +3 -0
  156. package/build/dex/usual-m-usd0/types.js.map +1 -0
  157. package/build/dex/usual-m-usd0/usual-m-usd0.d.ts +35 -0
  158. package/build/dex/usual-m-usd0/usual-m-usd0.js +159 -0
  159. package/build/dex/usual-m-usd0/usual-m-usd0.js.map +1 -0
  160. package/build/dex/zerox/index.d.ts +4 -26
  161. package/build/dex/zerox/index.js +50 -42
  162. package/build/dex/zerox/index.js.map +1 -1
  163. package/build/dex/zerox/types.d.ts +29 -0
  164. package/build/dex/zerox/types.js +8 -1
  165. package/build/dex/zerox/types.js.map +1 -1
  166. package/package.json +1 -1
  167. package/src/dex/balancer-v3/balancer-v3-sepolia-pools.ts +404 -0
  168. package/src/dex/index.ts +0 -2
  169. package/src/dex/pancakeswap-v3/pancakeswap-v3-pool.ts +0 -30
  170. package/src/dex/pancakeswap-v3/pancakeswap-v3.ts +0 -10
  171. package/src/dex/uniswap-v3/uniswap-v3-pool.ts +0 -30
  172. package/src/dex/uniswap-v3/uniswap-v3.ts +0 -11
  173. package/tests/constants-e2e.ts +0 -5
  174. package/.idea/aws.xml +0 -17
  175. package/.idea/codeStyles/Project.xml +0 -19
  176. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  177. package/.idea/misc.xml +0 -6
  178. package/.idea/modules.xml +0 -8
  179. package/.idea/paraswap-dex-lib.iml +0 -9
  180. package/.idea/prettier.xml +0 -7
  181. package/.idea/vcs.xml +0 -6
  182. package/build/abi/SSPM.json +0 -829
  183. package/build/abi/StaderOracle.json +0 -2170
  184. package/build/abi/integral/factory.json +0 -333
  185. package/build/abi/integral/oracle.json +0 -501
  186. package/build/abi/integral/pool.json +0 -1041
  187. package/build/dex/cables/cables.d.ts +0 -59
  188. package/build/dex/cables/cables.js +0 -614
  189. package/build/dex/cables/cables.js.map +0 -1
  190. package/build/dex/cables/config.d.ts +0 -4
  191. package/build/dex/cables/config.js +0 -15
  192. package/build/dex/cables/config.js.map +0 -1
  193. package/build/dex/cables/constants.d.ts +0 -20
  194. package/build/dex/cables/constants.js +0 -24
  195. package/build/dex/cables/constants.js.map +0 -1
  196. package/build/dex/cables/rate-fetcher.d.ts +0 -34
  197. package/build/dex/cables/rate-fetcher.js +0 -106
  198. package/build/dex/cables/rate-fetcher.js.map +0 -1
  199. package/build/dex/cables/types.d.ts +0 -113
  200. package/build/dex/cables/types.js +0 -19
  201. package/build/dex/cables/types.js.map +0 -1
  202. package/build/dex/cables/validators.d.ts +0 -5
  203. package/build/dex/cables/validators.js +0 -49
  204. package/build/dex/cables/validators.js.map +0 -1
  205. package/build/dex/fluid-dex/fluid-dex-generate-pool.d.ts +0 -49
  206. package/build/dex/fluid-dex/fluid-dex-generate-pool.js +0 -104
  207. package/build/dex/fluid-dex/fluid-dex-generate-pool.js.map +0 -1
  208. package/build/dex/integral/config.d.ts +0 -4
  209. package/build/dex/integral/config.js +0 -20
  210. package/build/dex/integral/config.js.map +0 -1
  211. package/build/dex/integral/context.d.ts +0 -40
  212. package/build/dex/integral/context.js +0 -158
  213. package/build/dex/integral/context.js.map +0 -1
  214. package/build/dex/integral/integral-factory.d.ts +0 -24
  215. package/build/dex/integral/integral-factory.js +0 -95
  216. package/build/dex/integral/integral-factory.js.map +0 -1
  217. package/build/dex/integral/integral-pool.d.ts +0 -50
  218. package/build/dex/integral/integral-pool.js +0 -149
  219. package/build/dex/integral/integral-pool.js.map +0 -1
  220. package/build/dex/integral/integral-pricing.d.ts +0 -18
  221. package/build/dex/integral/integral-pricing.js +0 -114
  222. package/build/dex/integral/integral-pricing.js.map +0 -1
  223. package/build/dex/integral/integral-relayer.d.ts +0 -42
  224. package/build/dex/integral/integral-relayer.js +0 -192
  225. package/build/dex/integral/integral-relayer.js.map +0 -1
  226. package/build/dex/integral/integral-token.d.ts +0 -27
  227. package/build/dex/integral/integral-token.js +0 -59
  228. package/build/dex/integral/integral-token.js.map +0 -1
  229. package/build/dex/integral/integral.d.ts +0 -41
  230. package/build/dex/integral/integral.js +0 -376
  231. package/build/dex/integral/integral.js.map +0 -1
  232. package/build/dex/integral/types.d.ts +0 -85
  233. package/build/dex/integral/types.js +0 -9
  234. package/build/dex/integral/types.js.map +0 -1
  235. package/build/dex/integral/utils-e2e.d.ts +0 -9
  236. package/build/dex/integral/utils-e2e.js +0 -131
  237. package/build/dex/integral/utils-e2e.js.map +0 -1
  238. package/build/dex/integral/utils.d.ts +0 -17
  239. package/build/dex/integral/utils.js +0 -94
  240. package/build/dex/integral/utils.js.map +0 -1
  241. package/build/dex/stader/config.js +0 -14
  242. package/build/dex/stader/config.js.map +0 -1
  243. package/build/dex/stader/stader-pool.d.ts +0 -18
  244. package/build/dex/stader/stader-pool.js +0 -47
  245. package/build/dex/stader/stader-pool.js.map +0 -1
  246. package/build/dex/stader/stader.d.ts +0 -42
  247. package/build/dex/stader/stader.js +0 -141
  248. package/build/dex/stader/stader.js.map +0 -1
  249. package/build/dex/stader/types.d.ts +0 -13
  250. package/build/dex/stader/types.js +0 -8
  251. package/build/dex/stader/types.js.map +0 -1
  252. package/build/dex/stader/utils.d.ts +0 -4
  253. package/build/dex/stader/utils.js +0 -24
  254. package/build/dex/stader/utils.js.map +0 -1
  255. package/build/dex/trader-joe-v2.1/optimizer.d.ts +0 -2
  256. package/build/dex/trader-joe-v2.1/optimizer.js.map +0 -1
  257. package/src/abi/SSPM.json +0 -829
  258. package/src/abi/StaderOracle.json +0 -2170
  259. package/src/dex/stader/config.ts +0 -13
  260. package/src/dex/stader/stader-e2e.test.ts +0 -74
  261. package/src/dex/stader/stader-events.test.ts +0 -64
  262. package/src/dex/stader/stader-integration.test.ts +0 -210
  263. package/src/dex/stader/stader-pool.ts +0 -68
  264. package/src/dex/stader/stader.ts +0 -208
  265. package/src/dex/stader/types.ts +0 -16
  266. package/src/dex/stader/utils.ts +0 -34
@@ -1,829 +0,0 @@
1
- [
2
- {
3
- "inputs": [],
4
- "stateMutability": "nonpayable",
5
- "type": "constructor"
6
- },
7
- {
8
- "inputs": [],
9
- "name": "CallerNotManager",
10
- "type": "error"
11
- },
12
- {
13
- "inputs": [],
14
- "name": "CallerNotStaderContract",
15
- "type": "error"
16
- },
17
- {
18
- "inputs": [],
19
- "name": "CooldownNotComplete",
20
- "type": "error"
21
- },
22
- {
23
- "inputs": [],
24
- "name": "InsufficientBalance",
25
- "type": "error"
26
- },
27
- {
28
- "inputs": [],
29
- "name": "InvalidDepositAmount",
30
- "type": "error"
31
- },
32
- {
33
- "inputs": [],
34
- "name": "PoolIdDoesNotExit",
35
- "type": "error"
36
- },
37
- {
38
- "inputs": [],
39
- "name": "TransferFailed",
40
- "type": "error"
41
- },
42
- {
43
- "inputs": [],
44
- "name": "UnsupportedOperation",
45
- "type": "error"
46
- },
47
- {
48
- "inputs": [],
49
- "name": "UnsupportedOperationInSafeMode",
50
- "type": "error"
51
- },
52
- {
53
- "inputs": [],
54
- "name": "ZeroAddress",
55
- "type": "error"
56
- },
57
- {
58
- "anonymous": false,
59
- "inputs": [
60
- {
61
- "indexed": false,
62
- "internalType": "uint256",
63
- "name": "amount",
64
- "type": "uint256"
65
- }
66
- ],
67
- "name": "AuctionedEthReceived",
68
- "type": "event"
69
- },
70
- {
71
- "anonymous": false,
72
- "inputs": [
73
- {
74
- "indexed": true,
75
- "internalType": "address",
76
- "name": "caller",
77
- "type": "address"
78
- },
79
- {
80
- "indexed": true,
81
- "internalType": "address",
82
- "name": "owner",
83
- "type": "address"
84
- },
85
- {
86
- "indexed": false,
87
- "internalType": "uint256",
88
- "name": "assets",
89
- "type": "uint256"
90
- },
91
- {
92
- "indexed": false,
93
- "internalType": "uint256",
94
- "name": "shares",
95
- "type": "uint256"
96
- },
97
- {
98
- "indexed": false,
99
- "internalType": "string",
100
- "name": "referralId",
101
- "type": "string"
102
- }
103
- ],
104
- "name": "DepositReferral",
105
- "type": "event"
106
- },
107
- {
108
- "anonymous": false,
109
- "inputs": [
110
- {
111
- "indexed": true,
112
- "internalType": "address",
113
- "name": "caller",
114
- "type": "address"
115
- },
116
- {
117
- "indexed": true,
118
- "internalType": "address",
119
- "name": "owner",
120
- "type": "address"
121
- },
122
- {
123
- "indexed": false,
124
- "internalType": "uint256",
125
- "name": "assets",
126
- "type": "uint256"
127
- },
128
- {
129
- "indexed": false,
130
- "internalType": "uint256",
131
- "name": "shares",
132
- "type": "uint256"
133
- }
134
- ],
135
- "name": "Deposited",
136
- "type": "event"
137
- },
138
- {
139
- "anonymous": false,
140
- "inputs": [
141
- {
142
- "indexed": true,
143
- "internalType": "uint256",
144
- "name": "poolId",
145
- "type": "uint256"
146
- },
147
- {
148
- "indexed": false,
149
- "internalType": "address",
150
- "name": "poolAddress",
151
- "type": "address"
152
- },
153
- {
154
- "indexed": false,
155
- "internalType": "uint256",
156
- "name": "validatorCount",
157
- "type": "uint256"
158
- }
159
- ],
160
- "name": "ETHTransferredToPool",
161
- "type": "event"
162
- },
163
- {
164
- "anonymous": false,
165
- "inputs": [
166
- {
167
- "indexed": false,
168
- "internalType": "uint256",
169
- "name": "amount",
170
- "type": "uint256"
171
- }
172
- ],
173
- "name": "ExecutionLayerRewardsReceived",
174
- "type": "event"
175
- },
176
- {
177
- "anonymous": false,
178
- "inputs": [
179
- {
180
- "indexed": false,
181
- "internalType": "uint8",
182
- "name": "version",
183
- "type": "uint8"
184
- }
185
- ],
186
- "name": "Initialized",
187
- "type": "event"
188
- },
189
- {
190
- "anonymous": false,
191
- "inputs": [
192
- {
193
- "indexed": false,
194
- "internalType": "address",
195
- "name": "account",
196
- "type": "address"
197
- }
198
- ],
199
- "name": "Paused",
200
- "type": "event"
201
- },
202
- {
203
- "anonymous": false,
204
- "inputs": [
205
- {
206
- "indexed": true,
207
- "internalType": "uint8",
208
- "name": "poolId",
209
- "type": "uint8"
210
- }
211
- ],
212
- "name": "ReceivedExcessEthFromPool",
213
- "type": "event"
214
- },
215
- {
216
- "anonymous": false,
217
- "inputs": [
218
- {
219
- "indexed": true,
220
- "internalType": "bytes32",
221
- "name": "role",
222
- "type": "bytes32"
223
- },
224
- {
225
- "indexed": true,
226
- "internalType": "bytes32",
227
- "name": "previousAdminRole",
228
- "type": "bytes32"
229
- },
230
- {
231
- "indexed": true,
232
- "internalType": "bytes32",
233
- "name": "newAdminRole",
234
- "type": "bytes32"
235
- }
236
- ],
237
- "name": "RoleAdminChanged",
238
- "type": "event"
239
- },
240
- {
241
- "anonymous": false,
242
- "inputs": [
243
- {
244
- "indexed": true,
245
- "internalType": "bytes32",
246
- "name": "role",
247
- "type": "bytes32"
248
- },
249
- {
250
- "indexed": true,
251
- "internalType": "address",
252
- "name": "account",
253
- "type": "address"
254
- },
255
- {
256
- "indexed": true,
257
- "internalType": "address",
258
- "name": "sender",
259
- "type": "address"
260
- }
261
- ],
262
- "name": "RoleGranted",
263
- "type": "event"
264
- },
265
- {
266
- "anonymous": false,
267
- "inputs": [
268
- {
269
- "indexed": true,
270
- "internalType": "bytes32",
271
- "name": "role",
272
- "type": "bytes32"
273
- },
274
- {
275
- "indexed": true,
276
- "internalType": "address",
277
- "name": "account",
278
- "type": "address"
279
- },
280
- {
281
- "indexed": true,
282
- "internalType": "address",
283
- "name": "sender",
284
- "type": "address"
285
- }
286
- ],
287
- "name": "RoleRevoked",
288
- "type": "event"
289
- },
290
- {
291
- "anonymous": false,
292
- "inputs": [
293
- {
294
- "indexed": false,
295
- "internalType": "uint256",
296
- "name": "amount",
297
- "type": "uint256"
298
- }
299
- ],
300
- "name": "TransferredETHToUserWithdrawManager",
301
- "type": "event"
302
- },
303
- {
304
- "anonymous": false,
305
- "inputs": [
306
- {
307
- "indexed": false,
308
- "internalType": "address",
309
- "name": "account",
310
- "type": "address"
311
- }
312
- ],
313
- "name": "Unpaused",
314
- "type": "event"
315
- },
316
- {
317
- "anonymous": false,
318
- "inputs": [
319
- {
320
- "indexed": false,
321
- "internalType": "uint256",
322
- "name": "excessETHDepositCoolDown",
323
- "type": "uint256"
324
- }
325
- ],
326
- "name": "UpdatedExcessETHDepositCoolDown",
327
- "type": "event"
328
- },
329
- {
330
- "anonymous": false,
331
- "inputs": [
332
- {
333
- "indexed": false,
334
- "internalType": "address",
335
- "name": "staderConfig",
336
- "type": "address"
337
- }
338
- ],
339
- "name": "UpdatedStaderConfig",
340
- "type": "event"
341
- },
342
- {
343
- "anonymous": false,
344
- "inputs": [
345
- {
346
- "indexed": false,
347
- "internalType": "uint256",
348
- "name": "amount",
349
- "type": "uint256"
350
- }
351
- ],
352
- "name": "WithdrawVaultUserShareReceived",
353
- "type": "event"
354
- },
355
- {
356
- "stateMutability": "payable",
357
- "type": "fallback"
358
- },
359
- {
360
- "inputs": [],
361
- "name": "DEFAULT_ADMIN_ROLE",
362
- "outputs": [
363
- {
364
- "internalType": "bytes32",
365
- "name": "",
366
- "type": "bytes32"
367
- }
368
- ],
369
- "stateMutability": "view",
370
- "type": "function"
371
- },
372
- {
373
- "inputs": [
374
- {
375
- "internalType": "uint256",
376
- "name": "_shares",
377
- "type": "uint256"
378
- }
379
- ],
380
- "name": "convertToAssets",
381
- "outputs": [
382
- {
383
- "internalType": "uint256",
384
- "name": "",
385
- "type": "uint256"
386
- }
387
- ],
388
- "stateMutability": "view",
389
- "type": "function"
390
- },
391
- {
392
- "inputs": [
393
- {
394
- "internalType": "uint256",
395
- "name": "_assets",
396
- "type": "uint256"
397
- }
398
- ],
399
- "name": "convertToShares",
400
- "outputs": [
401
- {
402
- "internalType": "uint256",
403
- "name": "",
404
- "type": "uint256"
405
- }
406
- ],
407
- "stateMutability": "view",
408
- "type": "function"
409
- },
410
- {
411
- "inputs": [
412
- {
413
- "internalType": "address",
414
- "name": "_receiver",
415
- "type": "address"
416
- }
417
- ],
418
- "name": "deposit",
419
- "outputs": [
420
- {
421
- "internalType": "uint256",
422
- "name": "",
423
- "type": "uint256"
424
- }
425
- ],
426
- "stateMutability": "payable",
427
- "type": "function"
428
- },
429
- {
430
- "inputs": [],
431
- "name": "depositETHOverTargetWeight",
432
- "outputs": [],
433
- "stateMutability": "nonpayable",
434
- "type": "function"
435
- },
436
- {
437
- "inputs": [],
438
- "name": "excessETHDepositCoolDown",
439
- "outputs": [
440
- {
441
- "internalType": "uint256",
442
- "name": "",
443
- "type": "uint256"
444
- }
445
- ],
446
- "stateMutability": "view",
447
- "type": "function"
448
- },
449
- {
450
- "inputs": [],
451
- "name": "getExchangeRate",
452
- "outputs": [
453
- {
454
- "internalType": "uint256",
455
- "name": "",
456
- "type": "uint256"
457
- }
458
- ],
459
- "stateMutability": "view",
460
- "type": "function"
461
- },
462
- {
463
- "inputs": [
464
- {
465
- "internalType": "bytes32",
466
- "name": "role",
467
- "type": "bytes32"
468
- }
469
- ],
470
- "name": "getRoleAdmin",
471
- "outputs": [
472
- {
473
- "internalType": "bytes32",
474
- "name": "",
475
- "type": "bytes32"
476
- }
477
- ],
478
- "stateMutability": "view",
479
- "type": "function"
480
- },
481
- {
482
- "inputs": [
483
- {
484
- "internalType": "bytes32",
485
- "name": "role",
486
- "type": "bytes32"
487
- },
488
- {
489
- "internalType": "address",
490
- "name": "account",
491
- "type": "address"
492
- }
493
- ],
494
- "name": "grantRole",
495
- "outputs": [],
496
- "stateMutability": "nonpayable",
497
- "type": "function"
498
- },
499
- {
500
- "inputs": [
501
- {
502
- "internalType": "bytes32",
503
- "name": "role",
504
- "type": "bytes32"
505
- },
506
- {
507
- "internalType": "address",
508
- "name": "account",
509
- "type": "address"
510
- }
511
- ],
512
- "name": "hasRole",
513
- "outputs": [
514
- {
515
- "internalType": "bool",
516
- "name": "",
517
- "type": "bool"
518
- }
519
- ],
520
- "stateMutability": "view",
521
- "type": "function"
522
- },
523
- {
524
- "inputs": [
525
- {
526
- "internalType": "address",
527
- "name": "_admin",
528
- "type": "address"
529
- },
530
- {
531
- "internalType": "address",
532
- "name": "_staderConfig",
533
- "type": "address"
534
- }
535
- ],
536
- "name": "initialize",
537
- "outputs": [],
538
- "stateMutability": "nonpayable",
539
- "type": "function"
540
- },
541
- {
542
- "inputs": [],
543
- "name": "isVaultHealthy",
544
- "outputs": [
545
- {
546
- "internalType": "bool",
547
- "name": "",
548
- "type": "bool"
549
- }
550
- ],
551
- "stateMutability": "view",
552
- "type": "function"
553
- },
554
- {
555
- "inputs": [],
556
- "name": "lastExcessETHDepositBlock",
557
- "outputs": [
558
- {
559
- "internalType": "uint256",
560
- "name": "",
561
- "type": "uint256"
562
- }
563
- ],
564
- "stateMutability": "view",
565
- "type": "function"
566
- },
567
- {
568
- "inputs": [],
569
- "name": "maxDeposit",
570
- "outputs": [
571
- {
572
- "internalType": "uint256",
573
- "name": "",
574
- "type": "uint256"
575
- }
576
- ],
577
- "stateMutability": "view",
578
- "type": "function"
579
- },
580
- {
581
- "inputs": [],
582
- "name": "minDeposit",
583
- "outputs": [
584
- {
585
- "internalType": "uint256",
586
- "name": "",
587
- "type": "uint256"
588
- }
589
- ],
590
- "stateMutability": "view",
591
- "type": "function"
592
- },
593
- {
594
- "inputs": [],
595
- "name": "pause",
596
- "outputs": [],
597
- "stateMutability": "nonpayable",
598
- "type": "function"
599
- },
600
- {
601
- "inputs": [],
602
- "name": "paused",
603
- "outputs": [
604
- {
605
- "internalType": "bool",
606
- "name": "",
607
- "type": "bool"
608
- }
609
- ],
610
- "stateMutability": "view",
611
- "type": "function"
612
- },
613
- {
614
- "inputs": [
615
- {
616
- "internalType": "uint256",
617
- "name": "_assets",
618
- "type": "uint256"
619
- }
620
- ],
621
- "name": "previewDeposit",
622
- "outputs": [
623
- {
624
- "internalType": "uint256",
625
- "name": "",
626
- "type": "uint256"
627
- }
628
- ],
629
- "stateMutability": "view",
630
- "type": "function"
631
- },
632
- {
633
- "inputs": [
634
- {
635
- "internalType": "uint256",
636
- "name": "_shares",
637
- "type": "uint256"
638
- }
639
- ],
640
- "name": "previewWithdraw",
641
- "outputs": [
642
- {
643
- "internalType": "uint256",
644
- "name": "",
645
- "type": "uint256"
646
- }
647
- ],
648
- "stateMutability": "view",
649
- "type": "function"
650
- },
651
- {
652
- "inputs": [],
653
- "name": "receiveEthFromAuction",
654
- "outputs": [],
655
- "stateMutability": "payable",
656
- "type": "function"
657
- },
658
- {
659
- "inputs": [
660
- {
661
- "internalType": "uint8",
662
- "name": "_poolId",
663
- "type": "uint8"
664
- }
665
- ],
666
- "name": "receiveExcessEthFromPool",
667
- "outputs": [],
668
- "stateMutability": "payable",
669
- "type": "function"
670
- },
671
- {
672
- "inputs": [],
673
- "name": "receiveExecutionLayerRewards",
674
- "outputs": [],
675
- "stateMutability": "payable",
676
- "type": "function"
677
- },
678
- {
679
- "inputs": [],
680
- "name": "receiveWithdrawVaultUserShare",
681
- "outputs": [],
682
- "stateMutability": "payable",
683
- "type": "function"
684
- },
685
- {
686
- "inputs": [
687
- {
688
- "internalType": "bytes32",
689
- "name": "role",
690
- "type": "bytes32"
691
- },
692
- {
693
- "internalType": "address",
694
- "name": "account",
695
- "type": "address"
696
- }
697
- ],
698
- "name": "renounceRole",
699
- "outputs": [],
700
- "stateMutability": "nonpayable",
701
- "type": "function"
702
- },
703
- {
704
- "inputs": [
705
- {
706
- "internalType": "bytes32",
707
- "name": "role",
708
- "type": "bytes32"
709
- },
710
- {
711
- "internalType": "address",
712
- "name": "account",
713
- "type": "address"
714
- }
715
- ],
716
- "name": "revokeRole",
717
- "outputs": [],
718
- "stateMutability": "nonpayable",
719
- "type": "function"
720
- },
721
- {
722
- "inputs": [],
723
- "name": "staderConfig",
724
- "outputs": [
725
- {
726
- "internalType": "contract IStaderConfig",
727
- "name": "",
728
- "type": "address"
729
- }
730
- ],
731
- "stateMutability": "view",
732
- "type": "function"
733
- },
734
- {
735
- "inputs": [
736
- {
737
- "internalType": "bytes4",
738
- "name": "interfaceId",
739
- "type": "bytes4"
740
- }
741
- ],
742
- "name": "supportsInterface",
743
- "outputs": [
744
- {
745
- "internalType": "bool",
746
- "name": "",
747
- "type": "bool"
748
- }
749
- ],
750
- "stateMutability": "view",
751
- "type": "function"
752
- },
753
- {
754
- "inputs": [],
755
- "name": "totalAssets",
756
- "outputs": [
757
- {
758
- "internalType": "uint256",
759
- "name": "",
760
- "type": "uint256"
761
- }
762
- ],
763
- "stateMutability": "view",
764
- "type": "function"
765
- },
766
- {
767
- "inputs": [
768
- {
769
- "internalType": "uint256",
770
- "name": "_amount",
771
- "type": "uint256"
772
- }
773
- ],
774
- "name": "transferETHToUserWithdrawManager",
775
- "outputs": [],
776
- "stateMutability": "nonpayable",
777
- "type": "function"
778
- },
779
- {
780
- "inputs": [],
781
- "name": "unpause",
782
- "outputs": [],
783
- "stateMutability": "nonpayable",
784
- "type": "function"
785
- },
786
- {
787
- "inputs": [
788
- {
789
- "internalType": "uint256",
790
- "name": "_excessETHDepositCoolDown",
791
- "type": "uint256"
792
- }
793
- ],
794
- "name": "updateExcessETHDepositCoolDown",
795
- "outputs": [],
796
- "stateMutability": "nonpayable",
797
- "type": "function"
798
- },
799
- {
800
- "inputs": [
801
- {
802
- "internalType": "address",
803
- "name": "_staderConfig",
804
- "type": "address"
805
- }
806
- ],
807
- "name": "updateStaderConfig",
808
- "outputs": [],
809
- "stateMutability": "nonpayable",
810
- "type": "function"
811
- },
812
- {
813
- "inputs": [
814
- {
815
- "internalType": "uint8",
816
- "name": "_poolId",
817
- "type": "uint8"
818
- }
819
- ],
820
- "name": "validatorBatchDeposit",
821
- "outputs": [],
822
- "stateMutability": "nonpayable",
823
- "type": "function"
824
- },
825
- {
826
- "stateMutability": "payable",
827
- "type": "receive"
828
- }
829
- ]