@paraswap/dex-lib 3.8.12 → 3.8.13

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 (172) hide show
  1. package/build/abi/concentrator/arUSD.json +568 -0
  2. package/build/abi/{wombat/pool.json → fx-protocol/FxUSD.json} +541 -603
  3. package/build/abi/inception/inception-ineth-pool.json +1062 -0
  4. package/build/abi/inception/inception-ineth.json +609 -0
  5. package/build/abi/inception/inception-ratio-feed.json +93 -0
  6. package/build/abi/inception/inception-vault.json +991 -0
  7. package/build/abi/infusion/InfusionFactory.json +147 -0
  8. package/build/abi/infusion/InfusionPair.json +658 -0
  9. package/build/abi/infusion/InfusionRouter.json +442 -0
  10. package/build/abi/oswap/oswap.abi.json +452 -0
  11. package/build/config.js +6 -6
  12. package/build/dex/aave-v1/aave-v1.js +0 -1
  13. package/build/dex/aave-v1/aave-v1.js.map +1 -1
  14. package/build/dex/concentrator-arusd/concentrator-arusd.d.ts +38 -0
  15. package/build/dex/concentrator-arusd/concentrator-arusd.js +184 -0
  16. package/build/dex/concentrator-arusd/concentrator-arusd.js.map +1 -0
  17. package/build/dex/concentrator-arusd/config.d.ts +4 -0
  18. package/build/dex/concentrator-arusd/config.js +18 -0
  19. package/build/dex/concentrator-arusd/config.js.map +1 -0
  20. package/build/dex/concentrator-arusd/types.d.ts +10 -0
  21. package/build/dex/concentrator-arusd/types.js +3 -0
  22. package/build/dex/concentrator-arusd/types.js.map +1 -0
  23. package/build/dex/fx-protocol-rusd/config.d.ts +4 -0
  24. package/build/dex/fx-protocol-rusd/config.js +18 -0
  25. package/build/dex/fx-protocol-rusd/config.js.map +1 -0
  26. package/build/dex/fx-protocol-rusd/fx-protocol-rusd.d.ts +39 -0
  27. package/build/dex/fx-protocol-rusd/fx-protocol-rusd.js +196 -0
  28. package/build/dex/fx-protocol-rusd/fx-protocol-rusd.js.map +1 -0
  29. package/build/dex/fx-protocol-rusd/types.d.ts +10 -0
  30. package/build/dex/fx-protocol-rusd/types.js +3 -0
  31. package/build/dex/fx-protocol-rusd/types.js.map +1 -0
  32. package/build/dex/idle-dao/idle-dao-pool.d.ts +56 -0
  33. package/build/dex/idle-dao/idle-dao-pool.js +176 -0
  34. package/build/dex/idle-dao/idle-dao-pool.js.map +1 -0
  35. package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +16 -0
  36. package/build/dex/idle-dao/idle-dao-pooling-pool.js +57 -0
  37. package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +1 -0
  38. package/build/dex/idle-dao/scripts.d.ts +9 -0
  39. package/build/dex/idle-dao/scripts.js +552 -0
  40. package/build/dex/idle-dao/scripts.js.map +1 -0
  41. package/build/dex/inception/config.d.ts +5 -0
  42. package/build/dex/inception/config.js +112 -0
  43. package/build/dex/inception/config.js.map +1 -0
  44. package/build/dex/inception/inception-event-pool.d.ts +23 -0
  45. package/build/dex/inception/inception-event-pool.js +34 -0
  46. package/build/dex/inception/inception-event-pool.js.map +1 -0
  47. package/build/dex/inception/inception-native.d.ts +43 -0
  48. package/build/dex/inception/inception-native.js +131 -0
  49. package/build/dex/inception/inception-native.js.map +1 -0
  50. package/build/dex/inception/inception-pool.d.ts +18 -0
  51. package/build/dex/inception/inception-pool.js +32 -0
  52. package/build/dex/inception/inception-pool.js.map +1 -0
  53. package/build/dex/inception/inception-price-feed.d.ts +19 -0
  54. package/build/dex/inception/inception-price-feed.js +51 -0
  55. package/build/dex/inception/inception-price-feed.js.map +1 -0
  56. package/build/dex/inception/inception.d.ts +44 -0
  57. package/build/dex/inception/inception.js +162 -0
  58. package/build/dex/inception/inception.js.map +1 -0
  59. package/build/dex/inception/tokens.d.ts +9 -0
  60. package/build/dex/inception/tokens.js +28 -0
  61. package/build/dex/inception/tokens.js.map +1 -0
  62. package/build/dex/inception/types.d.ts +22 -0
  63. package/build/dex/inception/types.js +3 -0
  64. package/build/dex/inception/types.js.map +1 -0
  65. package/build/dex/inception/utils.d.ts +7 -0
  66. package/build/dex/inception/utils.js +58 -0
  67. package/build/dex/inception/utils.js.map +1 -0
  68. package/build/dex/infusion/config.d.ts +4 -0
  69. package/build/dex/infusion/config.js +25 -0
  70. package/build/dex/infusion/config.js.map +1 -0
  71. package/build/dex/infusion/infusion-stable-pool.d.ts +4 -0
  72. package/build/dex/infusion/infusion-stable-pool.js +74 -0
  73. package/build/dex/infusion/infusion-stable-pool.js.map +1 -0
  74. package/build/dex/infusion/infusion.d.ts +54 -0
  75. package/build/dex/infusion/infusion.js +532 -0
  76. package/build/dex/infusion/infusion.js.map +1 -0
  77. package/build/dex/infusion/types.d.ts +47 -0
  78. package/build/dex/infusion/types.js +3 -0
  79. package/build/dex/infusion/types.js.map +1 -0
  80. package/build/dex/infusion/utils/isStablePair.d.ts +2 -0
  81. package/build/dex/infusion/utils/isStablePair.js +18 -0
  82. package/build/dex/infusion/utils/isStablePair.js.map +1 -0
  83. package/build/dex/oswap/config.d.ts +5 -0
  84. package/build/dex/oswap/config.js +31 -0
  85. package/build/dex/oswap/config.js.map +1 -0
  86. package/build/dex/oswap/oswap-pool.d.ts +51 -0
  87. package/build/dex/oswap/oswap-pool.js +150 -0
  88. package/build/dex/oswap/oswap-pool.js.map +1 -0
  89. package/build/dex/oswap/oswap.d.ts +46 -0
  90. package/build/dex/oswap/oswap.js +263 -0
  91. package/build/dex/oswap/oswap.js.map +1 -0
  92. package/build/dex/oswap/types.d.ts +20 -0
  93. package/build/dex/oswap/types.js +3 -0
  94. package/build/dex/oswap/types.js.map +1 -0
  95. package/build/dex/platypus/platypus.js +3 -17
  96. package/build/dex/platypus/platypus.js.map +1 -1
  97. package/build/dex/solidly-v3/config.js +39 -0
  98. package/build/dex/solidly-v3/config.js.map +1 -1
  99. package/build/dex/swaap-v1/swaap-v1.js +0 -4
  100. package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
  101. package/build/implementations/local-paraswap-sdk.d.ts +2 -0
  102. package/build/implementations/local-paraswap-sdk.js +7 -0
  103. package/build/implementations/local-paraswap-sdk.js.map +1 -1
  104. package/package.json +1 -1
  105. package/src/config.ts +6 -6
  106. package/src/dex/solidly-v3/config.ts +42 -0
  107. package/src/dex/solidly-v3/solidly-v3-e2e.test.ts +114 -3
  108. package/src/implementations/local-paraswap-sdk.ts +8 -0
  109. package/tests/constants-e2e.ts +1 -1
  110. package/.vscode/launch.json +0 -53
  111. package/.vscode/settings.json +0 -2
  112. package/.vscode/tasks.json +0 -15
  113. package/build/abi/maverick-v2/MaverickV2Router.json +0 -778
  114. package/build/abi/uniswap-v3/AlienBaseV3Router.abi.json +0 -52
  115. package/build/dex/aave-v2/tokens-avalanche.json +0 -44
  116. package/build/dex/aave-v2/tokens-mainnet.json +0 -188
  117. package/build/dex/aave-v2/tokens-polygon.json +0 -44
  118. package/build/dex/bProtocol.d.ts +0 -18
  119. package/build/dex/bProtocol.js +0 -39
  120. package/build/dex/bProtocol.js.map +0 -1
  121. package/build/dex/bancor.d.ts +0 -26
  122. package/build/dex/bancor.js +0 -58
  123. package/build/dex/bancor.js.map +0 -1
  124. package/build/dex/compound.d.ts +0 -18
  125. package/build/dex/compound.js +0 -46
  126. package/build/dex/compound.js.map +0 -1
  127. package/build/dex/curve-v2.d.ts +0 -58
  128. package/build/dex/curve-v2.js +0 -180
  129. package/build/dex/curve-v2.js.map +0 -1
  130. package/build/dex/dodo-v1.d.ts +0 -33
  131. package/build/dex/dodo-v1.js +0 -63
  132. package/build/dex/dodo-v1.js.map +0 -1
  133. package/build/dex/lido.d.ts +0 -19
  134. package/build/dex/lido.js +0 -42
  135. package/build/dex/lido.js.map +0 -1
  136. package/build/dex/maker-psm/scripts/gem.abi.json +0 -136
  137. package/build/dex/maker-psm/scripts/validate-state.d.ts +0 -0
  138. package/build/dex/maker-psm/scripts/validate-state.js +0 -185
  139. package/build/dex/maker-psm/scripts/validate-state.js.map +0 -1
  140. package/build/dex/maker-psm/scripts/vat.abi.json +0 -243
  141. package/build/dex/onebit.d.ts +0 -25
  142. package/build/dex/onebit.js +0 -42
  143. package/build/dex/onebit.js.map +0 -1
  144. package/build/dex/smoothy.d.ts +0 -26
  145. package/build/dex/smoothy.js +0 -48
  146. package/build/dex/smoothy.js.map +0 -1
  147. package/build/dex/solidly-v3/scripts/check-event-pool-event.d.ts +0 -1
  148. package/build/dex/solidly-v3/scripts/check-event-pool-event.js +0 -53
  149. package/build/dex/solidly-v3/scripts/check-event-pool-event.js.map +0 -1
  150. package/build/dex/stable-pool.d.ts +0 -28
  151. package/build/dex/stable-pool.js +0 -55
  152. package/build/dex/stable-pool.js.map +0 -1
  153. package/build/dex/trader-joe-v2.1/base.d.ts +0 -18
  154. package/build/dex/trader-joe-v2.1/base.js +0 -99
  155. package/build/dex/trader-joe-v2.1/base.js.map +0 -1
  156. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.d.ts +0 -7
  157. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js +0 -20
  158. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js.map +0 -1
  159. package/build/dex/trader-joe-v2.1/trader-joe-v2.2.d.ts +0 -7
  160. package/build/dex/trader-joe-v2.1/trader-joe-v2.2.js +0 -20
  161. package/build/dex/trader-joe-v2.1/trader-joe-v2.2.js.map +0 -1
  162. package/build/dex/trader-joe-v2.1.d.ts +0 -43
  163. package/build/dex/trader-joe-v2.1.js +0 -79
  164. package/build/dex/trader-joe-v2.1.js.map +0 -1
  165. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.d.ts +0 -17
  166. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js +0 -64
  167. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js.map +0 -1
  168. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.d.ts +0 -17
  169. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js +0 -79
  170. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js.map +0 -1
  171. package/config.ts +0 -1946
  172. package/src/dex/dexs.txt +0 -58
@@ -0,0 +1,991 @@
1
+ [
2
+ { "inputs": [], "name": "AlreadyDelegated", "type": "error" },
3
+ { "inputs": [], "name": "DelegationManagerImmutable", "type": "error" },
4
+ { "inputs": [], "name": "EigenLayerOperatorAlreadyExists", "type": "error" },
5
+ {
6
+ "inputs": [
7
+ { "internalType": "uint256", "name": "max", "type": "uint256" },
8
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
9
+ ],
10
+ "name": "ExceedsMaxPerDeposit",
11
+ "type": "error"
12
+ },
13
+ {
14
+ "inputs": [
15
+ { "internalType": "uint256", "name": "max", "type": "uint256" },
16
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
17
+ ],
18
+ "name": "ExceedsMaxTotalDeposited",
19
+ "type": "error"
20
+ },
21
+ { "inputs": [], "name": "ImplementationNotSet", "type": "error" },
22
+ { "inputs": [], "name": "InceptionOnPause", "type": "error" },
23
+ { "inputs": [], "name": "InconsistentData", "type": "error" },
24
+ {
25
+ "inputs": [
26
+ { "internalType": "uint256", "name": "capacity", "type": "uint256" }
27
+ ],
28
+ "name": "InsufficientCapacity",
29
+ "type": "error"
30
+ },
31
+ { "inputs": [], "name": "NotEigenLayerOperator", "type": "error" },
32
+ { "inputs": [], "name": "NullParams", "type": "error" },
33
+ { "inputs": [], "name": "OperatorNotRegistered", "type": "error" },
34
+ { "inputs": [], "name": "RestakerNotRegistered", "type": "error" },
35
+ {
36
+ "inputs": [
37
+ { "internalType": "address", "name": "assetAddress", "type": "address" }
38
+ ],
39
+ "name": "TransferAssetFailed",
40
+ "type": "error"
41
+ },
42
+ {
43
+ "inputs": [
44
+ { "internalType": "address", "name": "assetAddress", "type": "address" }
45
+ ],
46
+ "name": "TransferAssetFromFailed",
47
+ "type": "error"
48
+ },
49
+ { "inputs": [], "name": "WithdrawFutile", "type": "error" },
50
+ {
51
+ "anonymous": false,
52
+ "inputs": [
53
+ {
54
+ "indexed": true,
55
+ "internalType": "address",
56
+ "name": "stakerAddress",
57
+ "type": "address"
58
+ },
59
+ {
60
+ "indexed": true,
61
+ "internalType": "address",
62
+ "name": "operatorAddress",
63
+ "type": "address"
64
+ }
65
+ ],
66
+ "name": "DelegatedTo",
67
+ "type": "event"
68
+ },
69
+ {
70
+ "anonymous": false,
71
+ "inputs": [
72
+ {
73
+ "indexed": false,
74
+ "internalType": "address",
75
+ "name": "prevValue",
76
+ "type": "address"
77
+ },
78
+ {
79
+ "indexed": false,
80
+ "internalType": "address",
81
+ "name": "newValue",
82
+ "type": "address"
83
+ }
84
+ ],
85
+ "name": "DelegationManagerChanged",
86
+ "type": "event"
87
+ },
88
+ {
89
+ "anonymous": false,
90
+ "inputs": [
91
+ {
92
+ "indexed": true,
93
+ "internalType": "address",
94
+ "name": "sender",
95
+ "type": "address"
96
+ },
97
+ {
98
+ "indexed": true,
99
+ "internalType": "address",
100
+ "name": "receiver",
101
+ "type": "address"
102
+ },
103
+ {
104
+ "indexed": false,
105
+ "internalType": "uint256",
106
+ "name": "amount",
107
+ "type": "uint256"
108
+ },
109
+ {
110
+ "indexed": false,
111
+ "internalType": "uint256",
112
+ "name": "iShares",
113
+ "type": "uint256"
114
+ }
115
+ ],
116
+ "name": "Deposit",
117
+ "type": "event"
118
+ },
119
+ {
120
+ "anonymous": false,
121
+ "inputs": [
122
+ {
123
+ "indexed": false,
124
+ "internalType": "uint256",
125
+ "name": "prevValue",
126
+ "type": "uint256"
127
+ },
128
+ {
129
+ "indexed": false,
130
+ "internalType": "uint256",
131
+ "name": "newValue",
132
+ "type": "uint256"
133
+ }
134
+ ],
135
+ "name": "DepositFeeChanged",
136
+ "type": "event"
137
+ },
138
+ {
139
+ "anonymous": false,
140
+ "inputs": [
141
+ {
142
+ "indexed": true,
143
+ "internalType": "address",
144
+ "name": "stakerAddress",
145
+ "type": "address"
146
+ },
147
+ {
148
+ "indexed": false,
149
+ "internalType": "uint256",
150
+ "name": "amount",
151
+ "type": "uint256"
152
+ }
153
+ ],
154
+ "name": "DepositedToEL",
155
+ "type": "event"
156
+ },
157
+ {
158
+ "anonymous": false,
159
+ "inputs": [
160
+ {
161
+ "indexed": true,
162
+ "internalType": "address",
163
+ "name": "newELOperator",
164
+ "type": "address"
165
+ }
166
+ ],
167
+ "name": "ELOperatorAdded",
168
+ "type": "event"
169
+ },
170
+ {
171
+ "anonymous": false,
172
+ "inputs": [
173
+ {
174
+ "indexed": false,
175
+ "internalType": "address",
176
+ "name": "prevValue",
177
+ "type": "address"
178
+ },
179
+ {
180
+ "indexed": false,
181
+ "internalType": "address",
182
+ "name": "newValue",
183
+ "type": "address"
184
+ }
185
+ ],
186
+ "name": "ImplementationUpgraded",
187
+ "type": "event"
188
+ },
189
+ {
190
+ "anonymous": false,
191
+ "inputs": [
192
+ {
193
+ "indexed": false,
194
+ "internalType": "uint8",
195
+ "name": "version",
196
+ "type": "uint8"
197
+ }
198
+ ],
199
+ "name": "Initialized",
200
+ "type": "event"
201
+ },
202
+ {
203
+ "anonymous": false,
204
+ "inputs": [
205
+ {
206
+ "indexed": false,
207
+ "internalType": "uint256",
208
+ "name": "prevValue",
209
+ "type": "uint256"
210
+ },
211
+ {
212
+ "indexed": false,
213
+ "internalType": "uint256",
214
+ "name": "newValue",
215
+ "type": "uint256"
216
+ }
217
+ ],
218
+ "name": "MinAmountChanged",
219
+ "type": "event"
220
+ },
221
+ {
222
+ "anonymous": false,
223
+ "inputs": [
224
+ {
225
+ "indexed": false,
226
+ "internalType": "string",
227
+ "name": "prevValue",
228
+ "type": "string"
229
+ },
230
+ {
231
+ "indexed": false,
232
+ "internalType": "string",
233
+ "name": "newValue",
234
+ "type": "string"
235
+ }
236
+ ],
237
+ "name": "NameChanged",
238
+ "type": "event"
239
+ },
240
+ {
241
+ "anonymous": false,
242
+ "inputs": [
243
+ {
244
+ "indexed": false,
245
+ "internalType": "address",
246
+ "name": "prevValue",
247
+ "type": "address"
248
+ },
249
+ {
250
+ "indexed": false,
251
+ "internalType": "address",
252
+ "name": "newValue",
253
+ "type": "address"
254
+ }
255
+ ],
256
+ "name": "OperatorChanged",
257
+ "type": "event"
258
+ },
259
+ {
260
+ "anonymous": false,
261
+ "inputs": [
262
+ {
263
+ "indexed": true,
264
+ "internalType": "address",
265
+ "name": "previousOwner",
266
+ "type": "address"
267
+ },
268
+ {
269
+ "indexed": true,
270
+ "internalType": "address",
271
+ "name": "newOwner",
272
+ "type": "address"
273
+ }
274
+ ],
275
+ "name": "OwnershipTransferred",
276
+ "type": "event"
277
+ },
278
+ {
279
+ "anonymous": false,
280
+ "inputs": [
281
+ {
282
+ "indexed": false,
283
+ "internalType": "address",
284
+ "name": "account",
285
+ "type": "address"
286
+ }
287
+ ],
288
+ "name": "Paused",
289
+ "type": "event"
290
+ },
291
+ {
292
+ "anonymous": false,
293
+ "inputs": [
294
+ {
295
+ "indexed": true,
296
+ "internalType": "address",
297
+ "name": "sender",
298
+ "type": "address"
299
+ },
300
+ {
301
+ "indexed": true,
302
+ "internalType": "address",
303
+ "name": "receiver",
304
+ "type": "address"
305
+ },
306
+ {
307
+ "indexed": false,
308
+ "internalType": "uint256",
309
+ "name": "amount",
310
+ "type": "uint256"
311
+ }
312
+ ],
313
+ "name": "Redeem",
314
+ "type": "event"
315
+ },
316
+ {
317
+ "anonymous": false,
318
+ "inputs": [
319
+ {
320
+ "indexed": false,
321
+ "internalType": "uint256[]",
322
+ "name": "withdrawals",
323
+ "type": "uint256[]"
324
+ }
325
+ ],
326
+ "name": "RedeemedRequests",
327
+ "type": "event"
328
+ },
329
+ {
330
+ "anonymous": false,
331
+ "inputs": [
332
+ {
333
+ "indexed": true,
334
+ "internalType": "bytes32",
335
+ "name": "code",
336
+ "type": "bytes32"
337
+ }
338
+ ],
339
+ "name": "ReferralCode",
340
+ "type": "event"
341
+ },
342
+ {
343
+ "anonymous": false,
344
+ "inputs": [
345
+ {
346
+ "indexed": true,
347
+ "internalType": "address",
348
+ "name": "restaker",
349
+ "type": "address"
350
+ }
351
+ ],
352
+ "name": "RestakerDeployed",
353
+ "type": "event"
354
+ },
355
+ {
356
+ "anonymous": false,
357
+ "inputs": [
358
+ {
359
+ "indexed": true,
360
+ "internalType": "address",
361
+ "name": "stakerAddress",
362
+ "type": "address"
363
+ },
364
+ {
365
+ "indexed": false,
366
+ "internalType": "contract IStrategy",
367
+ "name": "strategy",
368
+ "type": "address"
369
+ },
370
+ {
371
+ "indexed": false,
372
+ "internalType": "uint256",
373
+ "name": "shares",
374
+ "type": "uint256"
375
+ },
376
+ {
377
+ "indexed": false,
378
+ "internalType": "uint32",
379
+ "name": "withdrawalStartBlock",
380
+ "type": "uint32"
381
+ },
382
+ {
383
+ "indexed": false,
384
+ "internalType": "address",
385
+ "name": "delegatedAddress",
386
+ "type": "address"
387
+ },
388
+ {
389
+ "indexed": false,
390
+ "internalType": "uint256",
391
+ "name": "nonce",
392
+ "type": "uint256"
393
+ }
394
+ ],
395
+ "name": "StartWithdrawal",
396
+ "type": "event"
397
+ },
398
+ {
399
+ "anonymous": false,
400
+ "inputs": [
401
+ {
402
+ "indexed": false,
403
+ "internalType": "address",
404
+ "name": "account",
405
+ "type": "address"
406
+ }
407
+ ],
408
+ "name": "Unpaused",
409
+ "type": "event"
410
+ },
411
+ {
412
+ "anonymous": false,
413
+ "inputs": [
414
+ {
415
+ "indexed": true,
416
+ "internalType": "address",
417
+ "name": "sender",
418
+ "type": "address"
419
+ },
420
+ {
421
+ "indexed": true,
422
+ "internalType": "address",
423
+ "name": "receiver",
424
+ "type": "address"
425
+ },
426
+ {
427
+ "indexed": true,
428
+ "internalType": "address",
429
+ "name": "owner",
430
+ "type": "address"
431
+ },
432
+ {
433
+ "indexed": false,
434
+ "internalType": "uint256",
435
+ "name": "amount",
436
+ "type": "uint256"
437
+ },
438
+ {
439
+ "indexed": false,
440
+ "internalType": "uint256",
441
+ "name": "iShares",
442
+ "type": "uint256"
443
+ }
444
+ ],
445
+ "name": "Withdraw",
446
+ "type": "event"
447
+ },
448
+ {
449
+ "anonymous": false,
450
+ "inputs": [
451
+ {
452
+ "indexed": false,
453
+ "internalType": "uint256",
454
+ "name": "totalAmount",
455
+ "type": "uint256"
456
+ }
457
+ ],
458
+ "name": "WithdrawalClaimed",
459
+ "type": "event"
460
+ },
461
+ {
462
+ "anonymous": false,
463
+ "inputs": [
464
+ {
465
+ "indexed": false,
466
+ "internalType": "address",
467
+ "name": "depositor",
468
+ "type": "address"
469
+ },
470
+ {
471
+ "indexed": false,
472
+ "internalType": "uint96",
473
+ "name": "nonce",
474
+ "type": "uint96"
475
+ },
476
+ {
477
+ "indexed": false,
478
+ "internalType": "address",
479
+ "name": "withdrawer",
480
+ "type": "address"
481
+ },
482
+ {
483
+ "indexed": false,
484
+ "internalType": "address",
485
+ "name": "delegatedAddress",
486
+ "type": "address"
487
+ },
488
+ {
489
+ "indexed": false,
490
+ "internalType": "bytes32",
491
+ "name": "withdrawalRoot",
492
+ "type": "bytes32"
493
+ }
494
+ ],
495
+ "name": "WithdrawalQueued",
496
+ "type": "event"
497
+ },
498
+ {
499
+ "anonymous": false,
500
+ "inputs": [
501
+ {
502
+ "indexed": false,
503
+ "internalType": "address",
504
+ "name": "asset",
505
+ "type": "address"
506
+ },
507
+ {
508
+ "indexed": false,
509
+ "internalType": "uint256",
510
+ "name": "shares",
511
+ "type": "uint256"
512
+ },
513
+ {
514
+ "indexed": false,
515
+ "internalType": "uint256",
516
+ "name": "ethAmount",
517
+ "type": "uint256"
518
+ }
519
+ ],
520
+ "name": "Withdrawn",
521
+ "type": "event"
522
+ },
523
+ {
524
+ "inputs": [
525
+ { "internalType": "address", "name": "newELOperator", "type": "address" }
526
+ ],
527
+ "name": "addELOperator",
528
+ "outputs": [],
529
+ "stateMutability": "nonpayable",
530
+ "type": "function"
531
+ },
532
+ {
533
+ "inputs": [
534
+ { "internalType": "address", "name": "restaker", "type": "address" },
535
+ {
536
+ "components": [
537
+ { "internalType": "address", "name": "staker", "type": "address" },
538
+ {
539
+ "internalType": "address",
540
+ "name": "delegatedTo",
541
+ "type": "address"
542
+ },
543
+ {
544
+ "internalType": "address",
545
+ "name": "withdrawer",
546
+ "type": "address"
547
+ },
548
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
549
+ { "internalType": "uint32", "name": "startBlock", "type": "uint32" },
550
+ {
551
+ "internalType": "contract IStrategy[]",
552
+ "name": "strategies",
553
+ "type": "address[]"
554
+ },
555
+ { "internalType": "uint256[]", "name": "shares", "type": "uint256[]" }
556
+ ],
557
+ "internalType": "struct IDelegationManager.Withdrawal[]",
558
+ "name": "withdrawals",
559
+ "type": "tuple[]"
560
+ }
561
+ ],
562
+ "name": "claimCompletedWithdrawals",
563
+ "outputs": [],
564
+ "stateMutability": "nonpayable",
565
+ "type": "function"
566
+ },
567
+ {
568
+ "inputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
569
+ "name": "claimerWithdrawalsQueue",
570
+ "outputs": [
571
+ { "internalType": "uint256", "name": "epoch", "type": "uint256" },
572
+ { "internalType": "address", "name": "receiver", "type": "address" },
573
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
574
+ ],
575
+ "stateMutability": "view",
576
+ "type": "function"
577
+ },
578
+ {
579
+ "inputs": [
580
+ { "internalType": "uint256", "name": "iShares", "type": "uint256" }
581
+ ],
582
+ "name": "convertToAssets",
583
+ "outputs": [
584
+ { "internalType": "uint256", "name": "assets", "type": "uint256" }
585
+ ],
586
+ "stateMutability": "view",
587
+ "type": "function"
588
+ },
589
+ {
590
+ "inputs": [
591
+ { "internalType": "uint256", "name": "assets", "type": "uint256" }
592
+ ],
593
+ "name": "convertToShares",
594
+ "outputs": [
595
+ { "internalType": "uint256", "name": "shares", "type": "uint256" }
596
+ ],
597
+ "stateMutability": "view",
598
+ "type": "function"
599
+ },
600
+ {
601
+ "inputs": [
602
+ { "internalType": "uint256", "name": "amount", "type": "uint256" },
603
+ { "internalType": "address", "name": "elOperator", "type": "address" },
604
+ { "internalType": "bytes32", "name": "approverSalt", "type": "bytes32" },
605
+ {
606
+ "components": [
607
+ { "internalType": "bytes", "name": "signature", "type": "bytes" },
608
+ { "internalType": "uint256", "name": "expiry", "type": "uint256" }
609
+ ],
610
+ "internalType": "struct IDelegationManager.SignatureWithExpiry",
611
+ "name": "approverSignatureAndExpiry",
612
+ "type": "tuple"
613
+ }
614
+ ],
615
+ "name": "delegateToOperator",
616
+ "outputs": [],
617
+ "stateMutability": "nonpayable",
618
+ "type": "function"
619
+ },
620
+ {
621
+ "inputs": [
622
+ { "internalType": "address", "name": "elOperator", "type": "address" },
623
+ { "internalType": "bytes32", "name": "approverSalt", "type": "bytes32" },
624
+ {
625
+ "components": [
626
+ { "internalType": "bytes", "name": "signature", "type": "bytes" },
627
+ { "internalType": "uint256", "name": "expiry", "type": "uint256" }
628
+ ],
629
+ "internalType": "struct IDelegationManager.SignatureWithExpiry",
630
+ "name": "approverSignatureAndExpiry",
631
+ "type": "tuple"
632
+ }
633
+ ],
634
+ "name": "delegateToOperatorFromVault",
635
+ "outputs": [],
636
+ "stateMutability": "nonpayable",
637
+ "type": "function"
638
+ },
639
+ {
640
+ "inputs": [],
641
+ "name": "delegationManager",
642
+ "outputs": [
643
+ {
644
+ "internalType": "contract IDelegationManager",
645
+ "name": "",
646
+ "type": "address"
647
+ }
648
+ ],
649
+ "stateMutability": "view",
650
+ "type": "function"
651
+ },
652
+ {
653
+ "inputs": [
654
+ { "internalType": "uint256", "name": "amount", "type": "uint256" },
655
+ { "internalType": "address", "name": "receiver", "type": "address" }
656
+ ],
657
+ "name": "deposit",
658
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
659
+ "stateMutability": "nonpayable",
660
+ "type": "function"
661
+ },
662
+ {
663
+ "inputs": [
664
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
665
+ ],
666
+ "name": "depositAssetIntoStrategyFromVault",
667
+ "outputs": [],
668
+ "stateMutability": "nonpayable",
669
+ "type": "function"
670
+ },
671
+ {
672
+ "inputs": [
673
+ { "internalType": "uint256", "name": "amount", "type": "uint256" },
674
+ { "internalType": "address", "name": "receiver", "type": "address" },
675
+ { "internalType": "bytes32", "name": "code", "type": "bytes32" }
676
+ ],
677
+ "name": "depositWithReferral",
678
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
679
+ "stateMutability": "nonpayable",
680
+ "type": "function"
681
+ },
682
+ {
683
+ "inputs": [],
684
+ "name": "epoch",
685
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
686
+ "stateMutability": "view",
687
+ "type": "function"
688
+ },
689
+ {
690
+ "inputs": [
691
+ { "internalType": "uint256", "name": "amount", "type": "uint256" },
692
+ { "internalType": "address", "name": "restaker", "type": "address" }
693
+ ],
694
+ "name": "forceUndelegateRecovery",
695
+ "outputs": [],
696
+ "stateMutability": "nonpayable",
697
+ "type": "function"
698
+ },
699
+ {
700
+ "inputs": [
701
+ { "internalType": "address", "name": "elOperator", "type": "address" }
702
+ ],
703
+ "name": "getDelegatedTo",
704
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
705
+ "stateMutability": "view",
706
+ "type": "function"
707
+ },
708
+ {
709
+ "inputs": [],
710
+ "name": "getPendingWithdrawalAmountFromEL",
711
+ "outputs": [
712
+ { "internalType": "uint256", "name": "total", "type": "uint256" }
713
+ ],
714
+ "stateMutability": "view",
715
+ "type": "function"
716
+ },
717
+ {
718
+ "inputs": [
719
+ { "internalType": "address", "name": "claimer", "type": "address" }
720
+ ],
721
+ "name": "getPendingWithdrawalOf",
722
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
723
+ "stateMutability": "view",
724
+ "type": "function"
725
+ },
726
+ {
727
+ "inputs": [],
728
+ "name": "getTotalDelegated",
729
+ "outputs": [
730
+ { "internalType": "uint256", "name": "total", "type": "uint256" }
731
+ ],
732
+ "stateMutability": "view",
733
+ "type": "function"
734
+ },
735
+ {
736
+ "inputs": [],
737
+ "name": "getTotalDeposited",
738
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
739
+ "stateMutability": "view",
740
+ "type": "function"
741
+ },
742
+ {
743
+ "inputs": [],
744
+ "name": "implementation",
745
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
746
+ "stateMutability": "view",
747
+ "type": "function"
748
+ },
749
+ {
750
+ "inputs": [],
751
+ "name": "inceptionToken",
752
+ "outputs": [
753
+ {
754
+ "internalType": "contract IInceptionToken",
755
+ "name": "",
756
+ "type": "address"
757
+ }
758
+ ],
759
+ "stateMutability": "view",
760
+ "type": "function"
761
+ },
762
+ {
763
+ "inputs": [
764
+ { "internalType": "address", "name": "claimer", "type": "address" }
765
+ ],
766
+ "name": "isAbleToRedeem",
767
+ "outputs": [
768
+ { "internalType": "bool", "name": "able", "type": "bool" },
769
+ { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
770
+ ],
771
+ "stateMutability": "view",
772
+ "type": "function"
773
+ },
774
+ {
775
+ "inputs": [],
776
+ "name": "minAmount",
777
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
778
+ "stateMutability": "view",
779
+ "type": "function"
780
+ },
781
+ {
782
+ "inputs": [],
783
+ "name": "name",
784
+ "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
785
+ "stateMutability": "view",
786
+ "type": "function"
787
+ },
788
+ {
789
+ "inputs": [],
790
+ "name": "owner",
791
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
792
+ "stateMutability": "view",
793
+ "type": "function"
794
+ },
795
+ {
796
+ "inputs": [],
797
+ "name": "pause",
798
+ "outputs": [],
799
+ "stateMutability": "nonpayable",
800
+ "type": "function"
801
+ },
802
+ {
803
+ "inputs": [],
804
+ "name": "paused",
805
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
806
+ "stateMutability": "view",
807
+ "type": "function"
808
+ },
809
+ {
810
+ "inputs": [],
811
+ "name": "ratio",
812
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
813
+ "stateMutability": "view",
814
+ "type": "function"
815
+ },
816
+ {
817
+ "inputs": [
818
+ { "internalType": "address", "name": "receiver", "type": "address" }
819
+ ],
820
+ "name": "redeem",
821
+ "outputs": [],
822
+ "stateMutability": "nonpayable",
823
+ "type": "function"
824
+ },
825
+ {
826
+ "inputs": [],
827
+ "name": "redeemReservedAmount",
828
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
829
+ "stateMutability": "view",
830
+ "type": "function"
831
+ },
832
+ {
833
+ "inputs": [],
834
+ "name": "renounceOwnership",
835
+ "outputs": [],
836
+ "stateMutability": "nonpayable",
837
+ "type": "function"
838
+ },
839
+ {
840
+ "inputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
841
+ "name": "restakers",
842
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
843
+ "stateMutability": "view",
844
+ "type": "function"
845
+ },
846
+ {
847
+ "inputs": [
848
+ {
849
+ "internalType": "contract IDelegationManager",
850
+ "name": "newDelegationManager",
851
+ "type": "address"
852
+ }
853
+ ],
854
+ "name": "setDelegationManager",
855
+ "outputs": [],
856
+ "stateMutability": "nonpayable",
857
+ "type": "function"
858
+ },
859
+ {
860
+ "inputs": [
861
+ { "internalType": "uint256", "name": "newMinAmount", "type": "uint256" }
862
+ ],
863
+ "name": "setMinAmount",
864
+ "outputs": [],
865
+ "stateMutability": "nonpayable",
866
+ "type": "function"
867
+ },
868
+ {
869
+ "inputs": [
870
+ { "internalType": "string", "name": "newVaultName", "type": "string" }
871
+ ],
872
+ "name": "setName",
873
+ "outputs": [],
874
+ "stateMutability": "nonpayable",
875
+ "type": "function"
876
+ },
877
+ {
878
+ "inputs": [
879
+ { "internalType": "address", "name": "newOperator", "type": "address" }
880
+ ],
881
+ "name": "setOperator",
882
+ "outputs": [],
883
+ "stateMutability": "nonpayable",
884
+ "type": "function"
885
+ },
886
+ {
887
+ "inputs": [],
888
+ "name": "strategy",
889
+ "outputs": [
890
+ { "internalType": "contract IStrategy", "name": "", "type": "address" }
891
+ ],
892
+ "stateMutability": "view",
893
+ "type": "function"
894
+ },
895
+ {
896
+ "inputs": [],
897
+ "name": "strategyManager",
898
+ "outputs": [
899
+ {
900
+ "internalType": "contract IStrategyManager",
901
+ "name": "",
902
+ "type": "address"
903
+ }
904
+ ],
905
+ "stateMutability": "view",
906
+ "type": "function"
907
+ },
908
+ {
909
+ "inputs": [],
910
+ "name": "totalAmountToWithdraw",
911
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
912
+ "stateMutability": "view",
913
+ "type": "function"
914
+ },
915
+ {
916
+ "inputs": [],
917
+ "name": "totalAssets",
918
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
919
+ "stateMutability": "view",
920
+ "type": "function"
921
+ },
922
+ {
923
+ "inputs": [
924
+ { "internalType": "address", "name": "newOwner", "type": "address" }
925
+ ],
926
+ "name": "transferOwnership",
927
+ "outputs": [],
928
+ "stateMutability": "nonpayable",
929
+ "type": "function"
930
+ },
931
+ {
932
+ "inputs": [
933
+ {
934
+ "internalType": "address",
935
+ "name": "elOperatorAddress",
936
+ "type": "address"
937
+ },
938
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
939
+ ],
940
+ "name": "undelegateFrom",
941
+ "outputs": [],
942
+ "stateMutability": "nonpayable",
943
+ "type": "function"
944
+ },
945
+ {
946
+ "inputs": [
947
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
948
+ ],
949
+ "name": "undelegateVault",
950
+ "outputs": [],
951
+ "stateMutability": "nonpayable",
952
+ "type": "function"
953
+ },
954
+ {
955
+ "inputs": [],
956
+ "name": "unpause",
957
+ "outputs": [],
958
+ "stateMutability": "nonpayable",
959
+ "type": "function"
960
+ },
961
+ {
962
+ "inputs": [],
963
+ "name": "updateEpoch",
964
+ "outputs": [],
965
+ "stateMutability": "nonpayable",
966
+ "type": "function"
967
+ },
968
+ {
969
+ "inputs": [
970
+ {
971
+ "internalType": "address",
972
+ "name": "newImplementation",
973
+ "type": "address"
974
+ }
975
+ ],
976
+ "name": "upgradeTo",
977
+ "outputs": [],
978
+ "stateMutability": "nonpayable",
979
+ "type": "function"
980
+ },
981
+ {
982
+ "inputs": [
983
+ { "internalType": "uint256", "name": "iShares", "type": "uint256" },
984
+ { "internalType": "address", "name": "receiver", "type": "address" }
985
+ ],
986
+ "name": "withdraw",
987
+ "outputs": [],
988
+ "stateMutability": "nonpayable",
989
+ "type": "function"
990
+ }
991
+ ]