Skip to content

feat: stVaults Oracle #665

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 191 commits into
base: feat/oracle-v6
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 94 commits
Commits
Show all changes
191 commits
Select commit Hold shift + click to select a range
04c792b
feat: vaults reporting
tamtamchik Mar 7, 2025
f6ee63d
chore: update abis and fix types
tamtamchik Mar 13, 2025
acf1aa6
feat: add EIP6110 support for vaults
tamtamchik Mar 20, 2025
4fe7eb0
Merge branch 'master' into feat/vaults-pectra
tamtamchik Mar 20, 2025
a61cce2
fix: use all validators with vaults wc to calculate the balance
tamtamchik Mar 24, 2025
b74c70b
feat: integrated vault's into oracle
sergeyWh1te Mar 26, 2025
59cc1cf
Merge branch 'feat/vaults-pectra' of work:lidofinance/lido-oracle int…
sergeyWh1te Mar 26, 2025
abbb0ac
feat: added pending deposits to vault's valuation
sergeyWh1te Mar 27, 2025
7ea820a
fix: abi to one line json review
sergeyWh1te Apr 1, 2025
8ec8770
refactor(staking_vault): move from web3py/extensions to modules/accou…
sergeyWh1te Apr 1, 2025
487d092
refactor(staking_vault): move _loadContracts to web3py/extension
sergeyWh1te Apr 1, 2025
0aaa97f
test(staking_vault): move from tests/web3py/extensions to tests/web3p…
sergeyWh1te Apr 2, 2025
ea2ed0e
style(staking_vault): format, lint staking_vault, staking_vault_test …
sergeyWh1te Apr 2, 2025
1979ac0
Merge branch 'feat/oracle-v6' into feat/vaults-pectra
sergeyWh1te Apr 2, 2025
5a8a2fd
feat(staking_vault): merge oracle-v6
sergeyWh1te Apr 2, 2025
ed375a0
feat(staking_vault): merge oracle-v6
sergeyWh1te Apr 2, 2025
fa37831
fix(staking_vault): vault_hub di
sergeyWh1te Apr 3, 2025
d2602a9
fix(staking_vault): vault_hub di
sergeyWh1te Apr 3, 2025
1f1f667
Merge branch 'feat/oracle-v6' into feat/vaults-pectra
tamtamchik Apr 3, 2025
8974738
fix: fix event in report
tamtamchik Apr 3, 2025
c0f9cf4
fix: raw_transaction
tamtamchik Apr 3, 2025
3767661
fix(staking_vault): vault_hub di in main.py
sergeyWh1te Apr 3, 2025
8d777d2
Merge branch 'feat/vaults-pectra' of work:lidofinance/lido-oracle int…
sergeyWh1te Apr 3, 2025
61c4f2d
fix(staking_vault): CID encoder json
sergeyWh1te Apr 3, 2025
ccb8783
fix(staking_vault): CID encoder writing to log
sergeyWh1te Apr 3, 2025
972596a
feat: simplify oracle reporting
tamtamchik Apr 3, 2025
e61bcb2
chore: try to fix log error
tamtamchik Apr 4, 2025
acf76ce
Merge branch 'feat/oracle-v6' into feat/vaults-pectra
tamtamchik Apr 4, 2025
49aefa2
fix: logs
tamtamchik Apr 4, 2025
01e4d63
fix(staking_vault): tests
sergeyWh1te Apr 8, 2025
1c4aabc
test: fix tests
tamtamchik Apr 8, 2025
4dedba1
test(integration): add accounting, vault_hub tests
tamtamchik Apr 8, 2025
9ed0951
fix(test_reports): changed ReportData signature
sergeyWh1te Apr 8, 2025
27f25cf
Merge branch 'feat/vaults-pectra' of work:lidofinance/lido-oracle int…
sergeyWh1te Apr 8, 2025
5da4261
test(simulate_rebase_after_report): added new dependencies
sergeyWh1te Apr 8, 2025
b1d2cf1
test(hash_calculations): changed got value
sergeyWh1te Apr 8, 2025
40f3dba
test(accounting_module): change ReportResults signature
sergeyWh1te Apr 9, 2025
102baa3
style(variables): lint issues
sergeyWh1te Apr 9, 2025
29bbddb
style(test_accounting_module): blank issues
sergeyWh1te Apr 9, 2025
b853e5a
feat(ORC-363): fix tests, that depends highly on mainnet
chasingrainbows Apr 10, 2025
e78d7d3
Merge pull request #692 from lidofinance/feature/orc-363-fix-tests-fo…
sergeyWh1te Apr 15, 2025
bf297cf
fest(staking_vault): simulate oracle report with tree_root, tree_cid
sergeyWh1te Apr 15, 2025
c81fcd0
fest(staking_vault): simulate oracle report with tree_root, tree_cid
sergeyWh1te Apr 15, 2025
bde7086
fest(staking_vault): added timestamp for Merkletree
sergeyWh1te Apr 15, 2025
d6dcd54
feat(staking_vault): added prevReport, added slotTimestamp
sergeyWh1te Apr 16, 2025
ce9bc25
chore: revert event signature
tamtamchik Apr 18, 2025
cd37a23
feat(staking_vault): updated abies
sergeyWh1te Apr 18, 2025
3c2b18e
Merge remote-tracking branch 'origin/feat/vaults-pectra' into feat/va…
sergeyWh1te Apr 18, 2025
090f23b
feat: bump accounting oracle supported versions
tamtamchik Apr 18, 2025
aed2bec
fix(staking_vault): empty vaults
sergeyWh1te Apr 21, 2025
95fb9cf
Merge remote-tracking branch 'origin/feat/vaults-pectra' into feat/va…
sergeyWh1te Apr 21, 2025
b42649d
fix(staking_vault): rename sharesMinted -> liabilityShares, rebalance…
sergeyWh1te Apr 21, 2025
d31438f
fix(staking_vault): rename sharesMinted -> liabilityShares, rebalance…
sergeyWh1te Apr 21, 2025
222c94e
chore: cleanup
tamtamchik Apr 21, 2025
3fa8a6b
fix: restore black formater
sergeyWh1te Apr 22, 2025
b3388ec
Merge branch 'feat/oracle-v6' into feat/vaults-pectra-v2
sergeyWh1te Apr 22, 2025
d60b66b
fix: restore black formater
sergeyWh1te Apr 22, 2025
9df7c91
fix(staking_vault): pylint
sergeyWh1te Apr 22, 2025
86fe33c
Merge pull request #700 from lidofinance/feat/vaults-pectra-v2
sergeyWh1te Apr 23, 2025
6e749b7
fix(staking_vault): code review fixes
sergeyWh1te Apr 23, 2025
49fdc6c
fix(staking_vault): use pagination for getting vaults
sergeyWh1te Apr 24, 2025
155b466
feat: check pending_deposits via bls verification
tamtamchik Apr 25, 2025
4181f47
chore: update fork version handling
tamtamchik Apr 25, 2025
a2d3367
fix: use pubkeys to define deposits
tamtamchik Apr 25, 2025
0b594fa
chore: add GENESIS_FORK_VERSION to the initial log
tamtamchik Apr 29, 2025
4498e42
test: get_vaults_data
tamtamchik Apr 29, 2025
92283da
chore: cleanup
tamtamchik Apr 29, 2025
5762034
test: add extra tests on pending deposits logic
tamtamchik Apr 29, 2025
cf28ec9
lint: format tests
tamtamchik Apr 29, 2025
c9dc16e
lint: fix pylint
tamtamchik Apr 29, 2025
05c1c4b
chore: cleanup
tamtamchik Apr 29, 2025
8a2c15b
feat(orc-370): merge with unit tests improvement
chasingrainbows Apr 29, 2025
93d86a3
Merge pull request #701 from lidofinance/feat/vaults-bls-check
sergeyWh1te Apr 29, 2025
1b7e0f0
Merge branch 'feat/vaults-pectra' of github.com:lidofinance/lido-orac…
chasingrainbows Apr 29, 2025
d31f2ab
fix: fork_version format
tamtamchik Apr 30, 2025
ca88c57
test(accounting_module, reports): fix signatures
sergeyWh1te Apr 30, 2025
fd55f48
Merge pull request #706 from lidofinance/feat/vaults-pectra-merge-uni…
chasingrainbows Apr 30, 2025
58ce954
Merge branch 'feat/oracle-v6' of github.com:lidofinance/lido-oracle i…
chasingrainbows Apr 30, 2025
bdfd2ca
test(lido_locator_contract): fix content of testing
sergeyWh1te Apr 30, 2025
72b7497
test(accounting): fix report entity
sergeyWh1te Apr 30, 2025
db024fc
chore: bump supported contract version
tamtamchik Apr 30, 2025
af66f17
feat: handle frontrun
tamtamchik Apr 30, 2025
6963989
chore: update types
tamtamchik Apr 30, 2025
e50bdc0
test(unit): fix consensus report tests
tamtamchik Apr 30, 2025
68f8375
fix: VaultsMap
tamtamchik Apr 30, 2025
ce14048
feat: do not count deposits for active validators with wrong credentials
tamtamchik Apr 30, 2025
eb7e024
fix: linters
tamtamchik Apr 30, 2025
ac3af93
Merge branch 'feat/oracle-v6' of github.com:lidofinance/lido-oracle i…
chasingrainbows May 6, 2025
4ff05b6
Merge branch 'feat/vaults-pectra' of github.com:lidofinance/lido-orac…
chasingrainbows May 6, 2025
f04de16
Merge branch 'feat/oracle-v6' of github.com:lidofinance/lido-oracle i…
chasingrainbows May 6, 2025
8206078
feat(tests): add TestVaultHubSmoke to CI
chasingrainbows May 6, 2025
0316e76
feat(tests): remove CHAIN_ID, used @pytest.mark.testnet/mainnet instead
chasingrainbows May 6, 2025
d81b3f3
feat(tests): bound tests with cnanged contracts to testnet
chasingrainbows May 6, 2025
5edfa1d
feat(tests): mark unmarked tests
chasingrainbows May 12, 2025
e4e7a10
test(integration): fix accounting test
tamtamchik May 12, 2025
f2ddaf2
chore: cleanup staking vault wrapper
tamtamchik May 12, 2025
2e6d299
test(vault_hub): added integration tests, fix review
sergeyWh1te May 13, 2025
e5010e6
test(vault_hub): added integration tests, fix review
sergeyWh1te May 13, 2025
aa76c1a
fix: merkle tree data format
tamtamchik May 20, 2025
4e2d9a8
feature(vaults): added fee
sergeyWh1te May 21, 2025
bb297c2
feature(vaults): added fees
sergeyWh1te May 30, 2025
7c2f605
feature(vaults): added fees
sergeyWh1te May 30, 2025
3d5f561
feature(vaults): added fees
sergeyWh1te Jun 9, 2025
45ef402
Merge branch 'feat/oracle-v6' into feat/vaults-pectra-upgrade
sergeyWh1te Jun 9, 2025
411d7db
feature(vaults): upgrade v6
sergeyWh1te Jun 9, 2025
46dd85b
feature(vaults): restore ssz, py-ecc
sergeyWh1te Jun 10, 2025
05a1bac
feature(vaults): added getStakingFeeAggregateDistribution instead of …
sergeyWh1te Jun 11, 2025
3faf2f1
feature(vaults): ADD slashingReserve calculation
sergeyWh1te Jun 12, 2025
da9e72d
feature(vaults): ADD slashingReserve calculation
sergeyWh1te Jun 12, 2025
e219e88
Merge branch 'feat/oracle-v6' into feat/vaults-pectra-upgrade
sergeyWh1te Jun 13, 2025
0690a2a
Merge branch 'feat/vaults-pectra-upgrade' into feat/vaults-pectra-fee
sergeyWh1te Jun 13, 2025
6862a3b
feature(vaults): ADD py-evm
sergeyWh1te Jun 13, 2025
07f563e
feature(vaults): fix VaultHubContract contract
sergeyWh1te Jun 13, 2025
06303b4
feature(vaults): Removed inOutDelta from report
sergeyWh1te Jun 13, 2025
13a7932
feature(vaults): fix event VaultFeesUpdatedEvent
sergeyWh1te Jun 13, 2025
d75198a
feature(vaults): updated abis. Core commit https://github.com/lidofin…
sergeyWh1te Jun 17, 2025
d5e680e
feature(vaults): fix vaultHub events signatures
sergeyWh1te Jun 17, 2025
c9991a9
feature(lazy_oracle): fix VaultInfoRaw mapping
sergeyWh1te Jun 17, 2025
3b45a7f
feature(vaults): refresh todos
sergeyWh1te Jun 17, 2025
242609c
feature(simulateOracleReport): Remove ```vaults_total_deficit``` from…
sergeyWh1te Jun 17, 2025
1270487
feature(simulateOracleReport): Remove ```vaults_total_deficit``` from…
sergeyWh1te Jun 17, 2025
9a2b334
feature(simulateOracleReport): Remove ```vaults_total_deficit``` from…
sergeyWh1te Jun 17, 2025
dfcc0b2
feature(vault_hub): get vault_ind from onchain
sergeyWh1te Jun 18, 2025
c7930d4
feature(vaults): RECHANGE simulatedReport's output struct alignment
sergeyWh1te Jun 18, 2025
17b1353
chore: update contract versions
tamtamchik Jun 18, 2025
f7f0cc7
Merge branches 'feat/vaults-pectra' and 'feat/vaults-pectra' of githu…
tamtamchik Jun 18, 2025
2d077e6
feature(vaults): get_prev_report change logger level
sergeyWh1te Jun 18, 2025
10dd6f1
Merge branch 'feat/vaults-pectra' of work:lidofinance/lido-oracle int…
sergeyWh1te Jun 18, 2025
adfdaaf
fix: accounting abi
tamtamchik Jun 18, 2025
59ad59f
Merge branch 'feat/vaults-pectra' of github.com:lidofinance/lido-orac…
tamtamchik Jun 18, 2025
9b03bb4
feature(vaults): move vault_total_count to vaultHub from LazyOracle
sergeyWh1te Jun 18, 2025
9deda52
Merge branch 'feat/vaults-pectra' of work:lidofinance/lido-oracle int…
sergeyWh1te Jun 18, 2025
48b63a1
fix: inOutDelta
tamtamchik Jun 18, 2025
ad3aaad
feature(vaults): removed inOutDelta
sergeyWh1te Jun 18, 2025
7d608a0
feature(vaults): change approach for getting vault.index
sergeyWh1te Jun 18, 2025
ff91f9e
feature(lazy_oracle): fix empty report
sergeyWh1te Jun 18, 2025
c51b3d4
feature(vault): fix indexing
sergeyWh1te Jun 18, 2025
debe395
fix(lido): get rebased event
sergeyWh1te Jun 18, 2025
689a660
fix(lido): get rebased event
sergeyWh1te Jun 18, 2025
d0011a4
fix(lido): get rebased event
sergeyWh1te Jun 18, 2025
b42e070
fix(vault_hub): fix decoding events
sergeyWh1te Jun 18, 2025
bf989d3
fix(vault_hub): fix decoding events
sergeyWh1te Jun 18, 2025
8edfe28
fix: inOutDelta mapping
tamtamchik Jun 18, 2025
b8ae9b0
fix(vault_hub): fix decoding events
sergeyWh1te Jun 18, 2025
d7f472d
Merge branch 'feat/vaults-pectra' of work:lidofinance/lido-oracle int…
sergeyWh1te Jun 18, 2025
c766083
fix(vaults): fix decoding prev report
sergeyWh1te Jun 18, 2025
010457d
chore(vaults): remove deficit
tamtamchik Jun 18, 2025
cf30880
Merge branch 'feat/vaults-pectra' of github.com:lidofinance/lido-orac…
tamtamchik Jun 18, 2025
3d8e8e2
chore(vaults): fix core apr
tamtamchik Jun 18, 2025
eb5f56a
chore(vaults): fix core apr
tamtamchik Jun 18, 2025
37c32b0
chore(vaults): fixes
tamtamchik Jun 18, 2025
2162557
fix(vaults): add inOutDelta to proof's file
sergeyWh1te Jun 18, 2025
1b0c978
Merge branch 'feat/vaults-pectra' of github.com:lidofinance/lido-orac…
tamtamchik Jun 18, 2025
59dffda
fix(vaults): add inOutDelta to proof's file
sergeyWh1te Jun 18, 2025
feb0c60
Merge branch 'feat/vaults-pectra' of work:lidofinance/lido-oracle int…
sergeyWh1te Jun 18, 2025
68d2064
fix(vaults): add proofs to main report
sergeyWh1te Jun 18, 2025
8e9d5ec
fix(vaults): add proofs to main report
sergeyWh1te Jun 18, 2025
eb3306b
chore(LazyOracle): update ABI
tamtamchik Jun 18, 2025
20f10a8
fix(vaults): add inOutDelta for batching vaults method
sergeyWh1te Jun 18, 2025
0b31b19
fix(lazyOracle): get vaultTotalCount
sergeyWh1te Jun 18, 2025
c6a0069
fix(lazyOracle): get vaultTotalCount
sergeyWh1te Jun 18, 2025
762f164
chore(vaults): fix reporting
tamtamchik Jun 18, 2025
21a617a
chore: fix formating
tamtamchik Jun 18, 2025
773316e
fix(vaultHub): get events
sergeyWh1te Jun 18, 2025
89eaf94
Merge branch 'feat/vaults-pectra' of work:lidofinance/lido-oracle int…
sergeyWh1te Jun 18, 2025
bdf3c41
fix(vauts): restore unit tests
sergeyWh1te Jun 19, 2025
a78c723
fix(vaults): run black for tests
sergeyWh1te Jun 19, 2025
906cefb
fix(vaults): tests
sergeyWh1te Jun 19, 2025
2884648
fix(vaults): tests
sergeyWh1te Jun 19, 2025
3f01c23
fix(vaults): fix pylint
sergeyWh1te Jun 19, 2025
6eb4208
tets(vaults): trying get apr
sergeyWh1te Jun 19, 2025
e37b752
feat: recalculate fees
tamtamchik Jun 19, 2025
cd3ed56
Merge branch 'feat/vaults-pectra' of github.com:lidofinance/lido-orac…
tamtamchik Jun 20, 2025
76480b4
tets(vaults): trying get apr
sergeyWh1te Jun 20, 2025
6a6c1ff
tets(vaults): trying get apr
sergeyWh1te Jun 20, 2025
2709db1
tets(vaults): trying get apr
sergeyWh1te Jun 20, 2025
3ea7b79
chore: rearrange fees and take vault_liquidity_fee into account
tamtamchik Jun 20, 2025
701de13
chore: update fees calculation
tamtamchik Jun 23, 2025
fc62f82
tets(vaults): get fees
sergeyWh1te Jun 23, 2025
3fd201d
Merge branch 'feat/vaults-pectra' of work:lidofinance/lido-oracle int…
sergeyWh1te Jun 23, 2025
ffc72d2
feat(vaults): fees review
sergeyWh1te Jun 23, 2025
839f1ac
feat(vaults): removed publish proof
sergeyWh1te Jun 23, 2025
a92fde1
feat(vaults): removed parsing proofs
sergeyWh1te Jun 23, 2025
b8c9fda
fix(vaults): parsing extraValue
sergeyWh1te Jun 23, 2025
b8ba476
fix(vaults): write inOutDelta as str
sergeyWh1te Jun 23, 2025
774a1f4
fix(vaults): format leafIndexToData
sergeyWh1te Jun 24, 2025
c5384db
test(vaults): fee
sergeyWh1te Jun 24, 2025
265e34e
test(vaults): set reserve_ratioBP, forced_rebalance_thresholdBP, infr…
sergeyWh1te Jun 24, 2025
0cb4256
test(vaults): set liability_shares for prev report
sergeyWh1te Jun 24, 2025
95b3ce4
chore: after fees review
tamtamchik Jun 24, 2025
5f55856
chore: fix mapping error
tamtamchik Jun 24, 2025
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
368 changes: 368 additions & 0 deletions assets/Accounting.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,368 @@
[
{
"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": [
{
"internalType": "string",
"name": "operation",
"type": "string"
},
{
"internalType": "address",
"name": "addr",
"type": "address"
}
],
"name": "NotAuthorized",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "firstArrayLength",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "secondArrayLength",
"type": "uint256"
}
],
"name": "UnequalArrayLengths",
"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": "vaultsTotalTreasuryFeesShares",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "vaultsTotalDeficit",
"type": "uint256"
},
{
"internalType": "bytes32",
"name": "vaultsDataTreeRoot",
"type": "bytes32"
},
{
"internalType": "string",
"name": "vaultsDataTreeCid",
"type": "string"
}
],
"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": "vaultsTotalTreasuryFeesShares",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "vaultsTotalDeficit",
"type": "uint256"
},
{
"internalType": "bytes32",
"name": "vaultsDataTreeRoot",
"type": "bytes32"
},
{
"internalType": "string",
"name": "vaultsDataTreeCid",
"type": "string"
}
],
"internalType": "struct ReportValues",
"name": "_report",
"type": "tuple"
},
{
"internalType": "uint256",
"name": "_withdrawalShareRate",
"type": "uint256"
}
],
"name": "simulateOracleReport",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "withdrawals",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "elRewards",
"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": "recipients",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "moduleIds",
"type": "uint256[]"
},
{
"internalType": "uint96[]",
"name": "modulesFees",
"type": "uint96[]"
},
{
"internalType": "uint96",
"name": "totalFee",
"type": "uint96"
},
{
"internalType": "uint256",
"name": "precisionPoints",
"type": "uint256"
}
],
"internalType": "struct Accounting.StakingRewardsDistribution",
"name": "rewardDistribution",
"type": "tuple"
},
{
"internalType": "uint256",
"name": "principalClBalance",
"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"
}
]
1,298 changes: 1,297 additions & 1 deletion assets/AccountingOracle.json

Large diffs are not rendered by default.

Loading
Loading