Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
328 changes: 1 addition & 327 deletions interfaces/Accounting.json
Original file line number Diff line number Diff line change
@@ -1,327 +1 @@
[
{
"inputs": [
{
"internalType": "contract ILidoLocator",
"name": "_lidoLocator",
"type": "address"
},
{
"internalType": "contract ILido",
"name": "_lido",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "reportTimestamp",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "upperBoundTimestamp",
"type": "uint256"
}
],
"name": "IncorrectReportTimestamp",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "reportValidators",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "minValidators",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "maxValidators",
"type": "uint256"
}
],
"name": "IncorrectReportValidators",
"type": "error"
},
{
"inputs": [],
"name": "InternalSharesCantBeZero",
"type": "error"
},
{
"inputs": [
{
"internalType": "string",
"name": "operation",
"type": "string"
},
{
"internalType": "address",
"name": "addr",
"type": "address"
}
],
"name": "NotAuthorized",
"type": "error"
},
{
"inputs": [],
"name": "LIDO",
"outputs": [
{
"internalType": "contract ILido",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "LIDO_LOCATOR",
"outputs": [
{
"internalType": "contract ILidoLocator",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "uint256",
"name": "timestamp",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "timeElapsed",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "clValidators",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "clBalance",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "withdrawalVaultBalance",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "elRewardsVaultBalance",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "sharesRequestedToBurn",
"type": "uint256"
},
{
"internalType": "uint256[]",
"name": "withdrawalFinalizationBatches",
"type": "uint256[]"
},
{
"internalType": "uint256",
"name": "simulatedShareRate",
"type": "uint256"
}
],
"internalType": "struct ReportValues",
"name": "_report",
"type": "tuple"
}
],
"name": "handleOracleReport",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "uint256",
"name": "timestamp",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "timeElapsed",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "clValidators",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "clBalance",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "withdrawalVaultBalance",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "elRewardsVaultBalance",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "sharesRequestedToBurn",
"type": "uint256"
},
{
"internalType": "uint256[]",
"name": "withdrawalFinalizationBatches",
"type": "uint256[]"
},
{
"internalType": "uint256",
"name": "simulatedShareRate",
"type": "uint256"
}
],
"internalType": "struct ReportValues",
"name": "_report",
"type": "tuple"
}
],
"name": "simulateOracleReport",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "withdrawalsVaultTransfer",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "elRewardsVaultTransfer",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "etherToFinalizeWQ",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "sharesToFinalizeWQ",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "sharesToBurnForWithdrawals",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "totalSharesToBurn",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "sharesToMintAsFees",
"type": "uint256"
},
{
"components": [
{
"internalType": "address[]",
"name": "moduleFeeRecipients",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "moduleIds",
"type": "uint256[]"
},
{
"internalType": "uint256[]",
"name": "moduleSharesToMint",
"type": "uint256[]"
},
{
"internalType": "uint256",
"name": "treasurySharesToMint",
"type": "uint256"
}
],
"internalType": "struct Accounting.FeeDistribution",
"name": "feeDistribution",
"type": "tuple"
},
{
"internalType": "uint256",
"name": "principalClBalance",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "preTotalShares",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "preTotalPooledEther",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "postInternalShares",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "postInternalEther",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "postTotalShares",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "postTotalPooledEther",
"type": "uint256"
}
],
"internalType": "struct Accounting.CalculatedValues",
"name": "update",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
}
]
[{"inputs":[{"internalType":"contract ILidoLocator","name":"_lidoLocator","type":"address"},{"internalType":"contract ILido","name":"_lido","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"reportTimestamp","type":"uint256"},{"internalType":"uint256","name":"upperBoundTimestamp","type":"uint256"}],"name":"IncorrectReportTimestamp","type":"error"},{"inputs":[],"name":"InternalSharesCantBeZero","type":"error"},{"inputs":[{"internalType":"string","name":"operation","type":"string"},{"internalType":"address","name":"addr","type":"address"}],"name":"NotAuthorized","type":"error"},{"inputs":[],"name":"LIDO","outputs":[{"internalType":"contract ILido","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LIDO_LOCATOR","outputs":[{"internalType":"contract ILidoLocator","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"uint256","name":"timeElapsed","type":"uint256"},{"internalType":"uint256","name":"clValidatorsBalance","type":"uint256"},{"internalType":"uint256","name":"clPendingBalance","type":"uint256"},{"internalType":"uint256","name":"withdrawalVaultBalance","type":"uint256"},{"internalType":"uint256","name":"elRewardsVaultBalance","type":"uint256"},{"internalType":"uint256","name":"sharesRequestedToBurn","type":"uint256"},{"internalType":"uint256[]","name":"withdrawalFinalizationBatches","type":"uint256[]"},{"internalType":"uint256","name":"simulatedShareRate","type":"uint256"}],"internalType":"struct ReportValues","name":"_report","type":"tuple"}],"name":"handleOracleReport","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"uint256","name":"timeElapsed","type":"uint256"},{"internalType":"uint256","name":"clValidatorsBalance","type":"uint256"},{"internalType":"uint256","name":"clPendingBalance","type":"uint256"},{"internalType":"uint256","name":"withdrawalVaultBalance","type":"uint256"},{"internalType":"uint256","name":"elRewardsVaultBalance","type":"uint256"},{"internalType":"uint256","name":"sharesRequestedToBurn","type":"uint256"},{"internalType":"uint256[]","name":"withdrawalFinalizationBatches","type":"uint256[]"},{"internalType":"uint256","name":"simulatedShareRate","type":"uint256"}],"internalType":"struct ReportValues","name":"_report","type":"tuple"}],"name":"simulateOracleReport","outputs":[{"components":[{"internalType":"uint256","name":"withdrawalsVaultTransfer","type":"uint256"},{"internalType":"uint256","name":"elRewardsVaultTransfer","type":"uint256"},{"internalType":"uint256","name":"etherToFinalizeWQ","type":"uint256"},{"internalType":"uint256","name":"sharesToFinalizeWQ","type":"uint256"},{"internalType":"uint256","name":"sharesToBurnForWithdrawals","type":"uint256"},{"internalType":"uint256","name":"totalSharesToBurn","type":"uint256"},{"internalType":"uint256","name":"sharesToMintAsFees","type":"uint256"},{"components":[{"internalType":"address[]","name":"moduleFeeRecipients","type":"address[]"},{"internalType":"uint256[]","name":"moduleIds","type":"uint256[]"},{"internalType":"uint256[]","name":"moduleSharesToMint","type":"uint256[]"},{"internalType":"uint256","name":"treasurySharesToMint","type":"uint256"}],"internalType":"struct Accounting.FeeDistribution","name":"feeDistribution","type":"tuple"},{"internalType":"uint256","name":"principalClBalance","type":"uint256"},{"internalType":"uint256","name":"preTotalShares","type":"uint256"},{"internalType":"uint256","name":"preTotalPooledEther","type":"uint256"},{"internalType":"uint256","name":"postInternalShares","type":"uint256"},{"internalType":"uint256","name":"postInternalEther","type":"uint256"},{"internalType":"uint256","name":"postTotalShares","type":"uint256"},{"internalType":"uint256","name":"postTotalPooledEther","type":"uint256"}],"internalType":"struct Accounting.CalculatedValues","name":"update","type":"tuple"}],"stateMutability":"view","type":"function"}]
2 changes: 1 addition & 1 deletion interfaces/CSParametersRegistry.json

Large diffs are not rendered by default.

Loading
Loading