|
48 | 48 | },
|
49 | 49 | { "inputs": [], "name": "InvalidInitialization", "type": "error" },
|
50 | 50 | { "inputs": [], "name": "NotInitializing", "type": "error" },
|
| 51 | + { |
| 52 | + "inputs": [ |
| 53 | + { "internalType": "uint8", "name": "bits", "type": "uint8" }, |
| 54 | + { "internalType": "int256", "name": "value", "type": "int256" } |
| 55 | + ], |
| 56 | + "name": "SafeCastOverflowedIntDowncast", |
| 57 | + "type": "error" |
| 58 | + }, |
| 59 | + { |
| 60 | + "inputs": [{ "internalType": "int256", "name": "value", "type": "int256" }], |
| 61 | + "name": "SafeCastOverflowedIntToUint", |
| 62 | + "type": "error" |
| 63 | + }, |
51 | 64 | {
|
52 | 65 | "inputs": [
|
53 | 66 | { "internalType": "uint8", "name": "bits", "type": "uint8" },
|
|
56 | 69 | "name": "SafeCastOverflowedUintDowncast",
|
57 | 70 | "type": "error"
|
58 | 71 | },
|
| 72 | + { |
| 73 | + "inputs": [{ "internalType": "uint256", "name": "value", "type": "uint256" }], |
| 74 | + "name": "SafeCastOverflowedUintToInt", |
| 75 | + "type": "error" |
| 76 | + }, |
59 | 77 | {
|
60 | 78 | "anonymous": false,
|
61 | 79 | "inputs": [
|
|
75 | 93 | "name": "Approval",
|
76 | 94 | "type": "event"
|
77 | 95 | },
|
| 96 | + { |
| 97 | + "anonymous": false, |
| 98 | + "inputs": [{ "indexed": true, "internalType": "address", "name": "capManager", "type": "address" }], |
| 99 | + "name": "CapManagerUpdated", |
| 100 | + "type": "event" |
| 101 | + }, |
78 | 102 | {
|
79 | 103 | "anonymous": false,
|
80 | 104 | "inputs": [
|
81 |
| - { "indexed": false, "internalType": "uint256", "name": "newFeesAccrued", "type": "uint256" }, |
82 |
| - { "indexed": false, "internalType": "uint256", "name": "assetIncrease", "type": "uint256" } |
| 105 | + { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, |
| 106 | + { "indexed": false, "internalType": "uint256", "name": "assets", "type": "uint256" }, |
| 107 | + { "indexed": false, "internalType": "uint256", "name": "shares", "type": "uint256" } |
83 | 108 | ],
|
84 |
| - "name": "FeeCalculated", |
| 109 | + "name": "Deposit", |
85 | 110 | "type": "event"
|
86 | 111 | },
|
87 | 112 | {
|
|
111 | 136 | "name": "Initialized",
|
112 | 137 | "type": "event"
|
113 | 138 | },
|
114 |
| - { |
115 |
| - "anonymous": false, |
116 |
| - "inputs": [ |
117 |
| - { "indexed": true, "internalType": "address", "name": "liquidityProviderController", "type": "address" } |
118 |
| - ], |
119 |
| - "name": "LiquidityProviderControllerUpdated", |
120 |
| - "type": "event" |
121 |
| - }, |
122 | 139 | {
|
123 | 140 | "anonymous": false,
|
124 | 141 | "inputs": [{ "indexed": false, "internalType": "address", "name": "newAdmin", "type": "address" }],
|
|
214 | 231 | "stateMutability": "nonpayable",
|
215 | 232 | "type": "function"
|
216 | 233 | },
|
217 |
| - { "inputs": [], "name": "approveStETH", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, |
218 | 234 | {
|
219 | 235 | "inputs": [{ "internalType": "address", "name": "account", "type": "address" }],
|
220 | 236 | "name": "balanceOf",
|
221 | 237 | "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
222 | 238 | "stateMutability": "view",
|
223 | 239 | "type": "function"
|
224 | 240 | },
|
| 241 | + { |
| 242 | + "inputs": [], |
| 243 | + "name": "capManager", |
| 244 | + "outputs": [{ "internalType": "address", "name": "", "type": "address" }], |
| 245 | + "stateMutability": "view", |
| 246 | + "type": "function" |
| 247 | + }, |
225 | 248 | {
|
226 | 249 | "inputs": [{ "internalType": "uint256", "name": "requestId", "type": "uint256" }],
|
227 | 250 | "name": "claimRedeem",
|
|
236 | 259 | "stateMutability": "nonpayable",
|
237 | 260 | "type": "function"
|
238 | 261 | },
|
| 262 | + { |
| 263 | + "inputs": [], |
| 264 | + "name": "claimable", |
| 265 | + "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], |
| 266 | + "stateMutability": "view", |
| 267 | + "type": "function" |
| 268 | + }, |
239 | 269 | {
|
240 | 270 | "inputs": [],
|
241 | 271 | "name": "collectFees",
|
|
288 | 318 | {
|
289 | 319 | "inputs": [],
|
290 | 320 | "name": "feesAccrued",
|
291 |
| - "outputs": [{ "internalType": "uint112", "name": "", "type": "uint112" }], |
| 321 | + "outputs": [{ "internalType": "uint256", "name": "fees", "type": "uint256" }], |
292 | 322 | "stateMutability": "view",
|
293 | 323 | "type": "function"
|
294 | 324 | },
|
|
299 | 329 | { "internalType": "address", "name": "_operator", "type": "address" },
|
300 | 330 | { "internalType": "uint256", "name": "_fee", "type": "uint256" },
|
301 | 331 | { "internalType": "address", "name": "_feeCollector", "type": "address" },
|
302 |
| - { "internalType": "address", "name": "_liquidityProviderController", "type": "address" } |
| 332 | + { "internalType": "address", "name": "_capManager", "type": "address" } |
303 | 333 | ],
|
304 | 334 | "name": "initialize",
|
305 | 335 | "outputs": [],
|
|
308 | 338 | },
|
309 | 339 | {
|
310 | 340 | "inputs": [],
|
311 |
| - "name": "lastTotalAssets", |
312 |
| - "outputs": [{ "internalType": "uint128", "name": "", "type": "uint128" }], |
| 341 | + "name": "lastAvailableAssets", |
| 342 | + "outputs": [{ "internalType": "int128", "name": "", "type": "int128" }], |
313 | 343 | "stateMutability": "view",
|
314 | 344 | "type": "function"
|
315 | 345 | },
|
316 | 346 | {
|
317 | 347 | "inputs": [],
|
318 |
| - "name": "liquidityAsset", |
319 |
| - "outputs": [{ "internalType": "address", "name": "", "type": "address" }], |
| 348 | + "name": "lidoWithdrawalQueueAmount", |
| 349 | + "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], |
320 | 350 | "stateMutability": "view",
|
321 | 351 | "type": "function"
|
322 | 352 | },
|
323 | 353 | {
|
324 | 354 | "inputs": [],
|
325 |
| - "name": "liquidityProviderController", |
| 355 | + "name": "liquidityAsset", |
326 | 356 | "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
327 | 357 | "stateMutability": "view",
|
328 | 358 | "type": "function"
|
|
337 | 367 | {
|
338 | 368 | "inputs": [],
|
339 | 369 | "name": "nextWithdrawalIndex",
|
340 |
| - "outputs": [{ "internalType": "uint128", "name": "", "type": "uint128" }], |
| 370 | + "outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }], |
341 | 371 | "stateMutability": "view",
|
342 | 372 | "type": "function"
|
343 | 373 | },
|
|
348 | 378 | "stateMutability": "view",
|
349 | 379 | "type": "function"
|
350 | 380 | },
|
351 |
| - { |
352 |
| - "inputs": [], |
353 |
| - "name": "outstandingEther", |
354 |
| - "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], |
355 |
| - "stateMutability": "view", |
356 |
| - "type": "function" |
357 |
| - }, |
358 | 381 | {
|
359 | 382 | "inputs": [],
|
360 | 383 | "name": "owner",
|
|
394 | 417 | "type": "function"
|
395 | 418 | },
|
396 | 419 | {
|
397 |
| - "inputs": [{ "internalType": "uint256", "name": "_fee", "type": "uint256" }], |
398 |
| - "name": "setFee", |
| 420 | + "inputs": [{ "internalType": "address", "name": "_capManager", "type": "address" }], |
| 421 | + "name": "setCapManager", |
399 | 422 | "outputs": [],
|
400 | 423 | "stateMutability": "nonpayable",
|
401 | 424 | "type": "function"
|
402 | 425 | },
|
403 | 426 | {
|
404 |
| - "inputs": [{ "internalType": "address", "name": "_feeCollector", "type": "address" }], |
405 |
| - "name": "setFeeCollector", |
| 427 | + "inputs": [{ "internalType": "uint256", "name": "_fee", "type": "uint256" }], |
| 428 | + "name": "setFee", |
406 | 429 | "outputs": [],
|
407 | 430 | "stateMutability": "nonpayable",
|
408 | 431 | "type": "function"
|
409 | 432 | },
|
410 | 433 | {
|
411 |
| - "inputs": [{ "internalType": "address", "name": "_liquidityProviderController", "type": "address" }], |
412 |
| - "name": "setLiquidityProviderController", |
| 434 | + "inputs": [{ "internalType": "address", "name": "_feeCollector", "type": "address" }], |
| 435 | + "name": "setFeeCollector", |
413 | 436 | "outputs": [],
|
414 | 437 | "stateMutability": "nonpayable",
|
415 | 438 | "type": "function"
|
|
588 | 611 | { "internalType": "address", "name": "withdrawer", "type": "address" },
|
589 | 612 | { "internalType": "bool", "name": "claimed", "type": "bool" },
|
590 | 613 | { "internalType": "uint40", "name": "claimTimestamp", "type": "uint40" },
|
591 |
| - { "internalType": "uint128", "name": "assets", "type": "uint128" }, |
592 |
| - { "internalType": "uint128", "name": "queued", "type": "uint128" } |
| 614 | + { "internalType": "uint120", "name": "assets", "type": "uint120" }, |
| 615 | + { "internalType": "uint120", "name": "queued", "type": "uint120" } |
593 | 616 | ],
|
594 | 617 | "stateMutability": "view",
|
595 | 618 | "type": "function"
|
596 | 619 | },
|
597 |
| - { |
598 |
| - "inputs": [], |
599 |
| - "name": "withdrawsClaimable", |
600 |
| - "outputs": [{ "internalType": "uint128", "name": "", "type": "uint128" }], |
601 |
| - "stateMutability": "view", |
602 |
| - "type": "function" |
603 |
| - }, |
604 | 620 | {
|
605 | 621 | "inputs": [],
|
606 | 622 | "name": "withdrawsClaimed",
|
607 |
| - "outputs": [{ "internalType": "uint128", "name": "", "type": "uint128" }], |
| 623 | + "outputs": [{ "internalType": "uint120", "name": "", "type": "uint120" }], |
608 | 624 | "stateMutability": "view",
|
609 | 625 | "type": "function"
|
610 | 626 | },
|
611 | 627 | {
|
612 | 628 | "inputs": [],
|
613 | 629 | "name": "withdrawsQueued",
|
614 |
| - "outputs": [{ "internalType": "uint128", "name": "", "type": "uint128" }], |
| 630 | + "outputs": [{ "internalType": "uint120", "name": "", "type": "uint120" }], |
615 | 631 | "stateMutability": "view",
|
616 | 632 | "type": "function"
|
617 | 633 | },
|
|
0 commit comments