From cf4f3ff6a766d628b74d8d2d7e7e55b63c72e46b Mon Sep 17 00:00:00 2001 From: Eddort Date: Wed, 9 Sep 2026 17:40:08 +0200 Subject: [PATCH 1/3] feat: add edf-core configuration for mainnet deployment --- configs/lido/mainnet/edf-core.yaml | 77 ++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 configs/lido/mainnet/edf-core.yaml diff --git a/configs/lido/mainnet/edf-core.yaml b/configs/lido/mainnet/edf-core.yaml new file mode 100644 index 0000000..4f68435 --- /dev/null +++ b/configs/lido/mainnet/edf-core.yaml @@ -0,0 +1,77 @@ +contracts: + "0x39BB5d491e98A44D1bfe8047A737a81E296a63E0": DepositSecurityModule + "0x60E09F1791F1168d0450E4F100616B4a3F95119C": LidoLocator +network: mainnet +explorer_hostname: api.etherscan.io +explorer_chain_id: 1 +explorer_token_env_var: ETHERSCAN_EXPLORER_TOKEN +rpc_url_env_var: REMOTE_RPC_URL +github_repo: + url: https://github.com/lidofinance/core + commit: e4d0404c85b043b1b9fb1dd42d85c2535a7f30d8 + relative_root: "" +dependencies: + "@openzeppelin/contracts-v4.4": + url: https://github.com/OpenZeppelin/openzeppelin-contracts + commit: 6bd6b76d1156e20e45d1016f355d154141c7e5b9 + relative_root: contracts +fail_on_bytecode_comparison_error: true +bytecode_comparison: + deployment_from: + "0x39BB5d491e98A44D1bfe8047A737a81E296a63E0": "0x70D78Ec75CF859d6FF337349489f32ed2DA1aa3E" + "0x60E09F1791F1168d0450E4F100616B4a3F95119C": "0x70D78Ec75CF859d6FF337349489f32ed2DA1aa3E" + constructor_args: + # Creation tx 0x7ffbc6a5a8e8db2be70bd8cd4ab8beb60e71f80e23549789bf1d7f3bf689d602; block 25940562. + "0x39BB5d491e98A44D1bfe8047A737a81E296a63E0": + - "00000000000000000000000000000000219ab540356cbb839cbe05303d7705fa" # _depositContract + - "000000000000000000000000fddf38947afb03c621c71b06c9c70bce73f12999" # _stakingRouter + - "00000000000000000000000000000000000000000000000000000000000019f6" # _pauseIntentValidityPeriodBlocks + - "00000000000000000000000000000000000000000000000000000000000000c8" # _maxOperatorsPerUnvetting + # Creation tx 0x485bc670994189b18a93d47c6d14aabd5122b833866059ba8aa7cfb9f4ca8e0e; block 25940593. + "0x60E09F1791F1168d0450E4F100616B4a3F95119C": + - # struct LidoLocator.Config, in constructor ABI order + - "000000000000000000000000852ded011285fe67063a08005c71a85690503cee" # accountingOracle + - "00000000000000000000000039bb5d491e98a44d1bfe8047a737a81e296a63e0" # depositSecurityModule + - "000000000000000000000000388c818ca8b9251b393131c08a736a67ccb19297" # elRewardsVault + - "000000000000000000000000ae7ab96520de3a18e5e111b5eaab095312d7fe84" # lido + - "000000000000000000000000147f8d3cf3004faf9bf94e88b54b6c06de507be9" # oracleReportSanityChecker + - "000000000000000000000000be05d12fd10919f1881125006523452f6aff791b" # postTokenRebaseReceiver + - "000000000000000000000000e76c52750019b80b43e36df30bf4060eb73f573a" # burner + - "000000000000000000000000fddf38947afb03c621c71b06c9c70bce73f12999" # stakingRouter + - "0000000000000000000000003e40d73eb977dc6a537af587d48316fee66e9c8c" # treasury + - "0000000000000000000000000de4ea0184c2ad0baca7183356aea5b8d5bf5c6e" # validatorsExitBusOracle + - "000000000000000000000000889edc2edab5f40e902b864ad4d7ade8e412f9b1" # withdrawalQueue + - "000000000000000000000000b9d7934878b5fb9610b3fe8a5e441e8fad7e293f" # withdrawalVault + - "000000000000000000000000bf05a929c3d7885a6aead833a992da6e5ac23b09" # oracleDaemonConfig + - "000000000000000000000000bdb567672c867db533119c2dcd4fb9d8b44ec82f" # validatorExitDelayVerifier + - "000000000000000000000000dc00116a0d3e064427da2600449cfd2566b3037b" # triggerableWithdrawalsGateway + - "00000000000000000000000017be979344f2c2cc806229a532d92f8742c10462" # consolidationGateway + - "00000000000000000000000023ed611be0e1a820978875c0122f92260804cddf" # accounting + - "000000000000000000000000f4bf42c6d6a0e38825785048124dbad6c9eaaac3" # predepositGuarantee + - "0000000000000000000000007f39c581f595b53c5cb19bd0b3f8da6c935e2ca0" # wstETH + - "0000000000000000000000001d201be093d847f6446530efb0e8fb426d176709" # vaultHub + - "00000000000000000000000002ca7772ff14a9f6c1a08af385aa96bb1b34175a" # vaultFactory + - "0000000000000000000000005db427080200c235f2ae8cd17a7be87921f7ad6c" # lazyOracle + - "000000000000000000000000c69685e89cefc327b43b7234ac646451b27c544d" # operatorGrid + - "0000000000000000000000003fc2c71579d80790aaa3fc7be8b66ac39dc57374" # topUpGateway +allowed_diffs: + bytecode: + "0x39BB5d491e98A44D1bfe8047A737a81E296a63E0": + - reason: >- + ATTEST/PAUSE/UNVET_MESSAGE_PREFIX include address(this), which differs + during constructor simulation. Values were recomputed for chain ID 1 + and this DSM, then checked on mainnet at block 25940635. Offsets come + from solc 0.8.9 immutableReferences. All other runtime bytes must match. + immutables: + - offset: 605 + value: "0x99bd4a87e9bc0c178ba39911d31c6bdf380c5e3cbb4c97fdb7c51bfa2ce63ee5" + - offset: 805 + value: "0xa6a4eb10689f3fe113d10e7c766fd9a028fff96deed9529406ed39bf0cdfebf6" + - offset: 882 + value: "0x3348689a23b894997fda00331dfedcb1c416ef8624150ccef065758e2cc043b2" + - offset: 2574 + value: "0x99bd4a87e9bc0c178ba39911d31c6bdf380c5e3cbb4c97fdb7c51bfa2ce63ee5" + - offset: 3397 + value: "0xa6a4eb10689f3fe113d10e7c766fd9a028fff96deed9529406ed39bf0cdfebf6" + - offset: 5002 + value: "0x3348689a23b894997fda00331dfedcb1c416ef8624150ccef065758e2cc043b2" From 2d79bf0d53fecfe4c7b34f5c13a1bf6b82135d9b Mon Sep 17 00:00:00 2001 From: Eddort Date: Thu, 10 Sep 2026 13:10:10 +0200 Subject: [PATCH 2/3] feat: add edf.yaml configuration for mainnet deployment --- configs/lido/mainnet/edf.yaml | 117 ++++++++++++++++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 configs/lido/mainnet/edf.yaml diff --git a/configs/lido/mainnet/edf.yaml b/configs/lido/mainnet/edf.yaml new file mode 100644 index 0000000..6867b07 --- /dev/null +++ b/configs/lido/mainnet/edf.yaml @@ -0,0 +1,117 @@ +contracts: + '0xD990770eB2B4b6062EDdB06892fF179C693b46e6': DelegationFactory + # Council guardians + '0x915F0Fa50E1af761B113b41c79ab33Bf4734C36E': DelegationContract # lido-dev-team + '0xe387Ba1d5C9f6306eCe9ac949C7fB6233dD5411E': DelegationContract # p2p + '0x35506190Ca6df385aA6Bc4a970646dd4f49426c1': DelegationContract # staking-facilities + '0xDc1579636686C082fc3b00B9EB25259A110D0C44': DelegationContract # blockscape + '0x031E597BcF680f1f2293b119b4b2B14096B15497': DelegationContract # stakefish + '0x6A22d74a816662078f2371A7138E7614874cd61d': DelegationContract # stakely + # Oracle holders + '0xE75A431A98487DC69A14Bdd13d858E3238e9C1b3': DelegationContract # Instadapp + '0xc77d0Bf3AA4778E36a89CDC8bbc9c34d8060637d': DelegationContract # Caliber + '0xc7442d4d8F3FfEa0fA4a18Ad3062c8137cE21749': DelegationContract # Staking Facilities + '0x56B3eA8016Da18C6E8CD8135492d242F0dE0DBBC': DelegationContract # Chorus One (Bitwise) + '0x4E3F2DEeb59eB9a205D82D17647b3e56422e0FEe': DelegationContract # P2P + '0xd524101C3c40f71Fce7B9312D299603880a06Bdb': DelegationContract # Chainlayer + '0x99Cd2EF33040879D40BBC77Df81863D97f13C64d': DelegationContract # bloXroute + '0xC4f2704273598d51A0ec76A31C12553ec8f5A891': DelegationContract # MatrixedLink + '0x5e8Ed9f10307eD6FA793A347e4D0f407D00B9C6f': DelegationContract # Stakefish + # Depositor bot + '0x6Aa249bA53A3abcaC52F91146583B3eE2Ee4C7F5': DelegationContract +explorer_hostname: api.etherscan.io +explorer_chain_id: 1 +explorer_token_env_var: ETHERSCAN_EXPLORER_TOKEN +github_repo: + url: https://github.com/lidofinance/execution-delegation-framework + commit: 557299104ad3eb1a74198933bd016328c490e276 + relative_root: "" +dependencies: + node_modules/@openzeppelin/contracts: + url: https://github.com/OpenZeppelin/openzeppelin-contracts + commit: c64a1edb67b6e3f4a15cca8909c9482ad33a02b0 + relative_root: contracts +fail_on_bytecode_comparison_error: true +bytecode_comparison: + # owner_, initial delegate_, cooldown_ (172800 seconds), in constructor ABI order. + constructor_args: + # Creation tx: 0x24c5ee58974c3a9c8225ce1237a4a30adfa13b39cab2eaa31552285b6c8604c1 (block 25897049). + '0x915F0Fa50E1af761B113b41c79ab33Bf4734C36E': + - '0000000000000000000000002e6e175f57d7a18b3ca5490844034600fc18ef83' # owner_ + - '0000000000000000000000005ecf14e7a3831d44e2f7d4542ba98c6c96e47420' # delegate_ (initial) + - '000000000000000000000000000000000000000000000000000000000002a300' # cooldown_: 172800 seconds (2 days) + # Creation tx: 0xe69e10aa3d638ddc4e8d6dd4a476e0f539ee1c72014bbd42d6a02aa50f97f907 (block 25883166). + '0xe387Ba1d5C9f6306eCe9ac949C7fB6233dD5411E': + - '0000000000000000000000001e8518cd5835b6775f902e1451a3dd7b02eb3e8a' # owner_ + - '000000000000000000000000aebd3e0c29111c02166fb2d560f7158a6cce6841' # delegate_ (initial) + - '000000000000000000000000000000000000000000000000000000000002a300' # cooldown_: 172800 seconds (2 days) + # Creation tx: 0x3ae7daa83abaf24b0bccdd5961a16e5a3f2d30f6ca143122c858ea085ff63a15 (block 25890179). + '0x35506190Ca6df385aA6Bc4a970646dd4f49426c1': + - '0000000000000000000000003d49967d09637b83e465cc32b1c5d968e3d34ea8' # owner_ + - '00000000000000000000000006d6c4f26354aa1426c0abd79a5f18a5d5ff684f' # delegate_ (initial) + - '000000000000000000000000000000000000000000000000000000000002a300' # cooldown_: 172800 seconds (2 days) + # Creation tx: 0x4894832054c88d1d0c3a167f77a862865b7591331dc89751ac9cf09088292f8d (block 25888549). + '0xDc1579636686C082fc3b00B9EB25259A110D0C44': + - '000000000000000000000000fcbc1bb96b3f521fe7bfd1e2e309ec032f078fde' # owner_ + - '0000000000000000000000006af45f506fd171994d26d014fc079137532db219' # delegate_ (initial) + - '000000000000000000000000000000000000000000000000000000000002a300' # cooldown_: 172800 seconds (2 days) + # Creation tx: 0xfdcc9da057bf3db1193f644a5c992821695be7e97064161d9041aba9c21c4703 (block 25881969). + '0x031E597BcF680f1f2293b119b4b2B14096B15497': + - '000000000000000000000000ab61339cb8a5bbed2deac4d2c6e71b912919abdb' # owner_ + - '000000000000000000000000a4512893c5b8bcd8e7ae1caa56b8402951720d14' # delegate_ (initial) + - '000000000000000000000000000000000000000000000000000000000002a300' # cooldown_: 172800 seconds (2 days) + # Creation tx: 0xd1539cf78bdea7c4b56abf13bacd2c7dbeecc8f9f8686d11aa08ab2b1968c65b (block 25877669). + '0x6A22d74a816662078f2371A7138E7614874cd61d': + - '000000000000000000000000ce0f8f5019856d79840f9463b5d05c44c7d9b791' # owner_ + - '000000000000000000000000c04c1979e37e53fd21e40bd089d311eeffdb4e00' # delegate_ (initial) + - '000000000000000000000000000000000000000000000000000000000002a300' # cooldown_: 172800 seconds (2 days) + # Creation tx: 0xa9db841f67a58db4a49133f74f7fe601a3693ea15cada3c3d3979320d0bdf401 (block 25914680). + '0xE75A431A98487DC69A14Bdd13d858E3238e9C1b3': + - '000000000000000000000000772e9d0387671ce641f17fd1fcfb3a9ce8ed05fb' # owner_ + - '0000000000000000000000005595033f304217afdb8ffb35e42c22b72184730b' # delegate_ (initial) + - '000000000000000000000000000000000000000000000000000000000002a300' # cooldown_: 172800 seconds (2 days) + # Creation tx: 0x845b80e2a1f904ad1948d855e960becc832dfd1372fcd4f77512d4580dad19af (block 25900037). + '0xc77d0Bf3AA4778E36a89CDC8bbc9c34d8060637d': + - '00000000000000000000000084225b558e224dc6c38f4eda1d3591fe6b5e34aa' # owner_ + - '00000000000000000000000082a821e8a2585d1ac8f346be7da6995490d21ca6' # delegate_ (initial) + - '000000000000000000000000000000000000000000000000000000000002a300' # cooldown_: 172800 seconds (2 days) + # Creation tx: 0x303779ad45424d176f38c823a4bfece4b8633d8413a6e63e7566eaaa3de5091f (block 25890169). + '0xc7442d4d8F3FfEa0fA4a18Ad3062c8137cE21749': + - '000000000000000000000000035accf7e230f32028a1134134a035dda567c86e' # owner_ + - '0000000000000000000000007abc999c7e1f22a7e12b2a1024bc17676fe18b4b' # delegate_ (initial) + - '000000000000000000000000000000000000000000000000000000000002a300' # cooldown_: 172800 seconds (2 days) + # Creation tx: 0x3bf4da0904c156caa9cd205abc20c73fdab99b1cfa9221caae40e306764ac574 (block 25923686). + '0x56B3eA8016Da18C6E8CD8135492d242F0dE0DBBC': + - '0000000000000000000000006057526da2dc9bd23a3c6f1b15c74de2d7593378' # owner_ + - '0000000000000000000000005416caab6f37bf81cb2dc7ce0a363afb9dd92d57' # delegate_ (initial) + - '000000000000000000000000000000000000000000000000000000000002a300' # cooldown_: 172800 seconds (2 days) + # Creation tx: 0xf9f60d50a0355d8380626b7159dc51278127da456f1adf3d96969fd5e1de8b3b (block 25883065). + '0x4E3F2DEeb59eB9a205D82D17647b3e56422e0FEe': + - '0000000000000000000000001e8518cd5835b6775f902e1451a3dd7b02eb3e8a' # owner_ + - '000000000000000000000000565f04cb319ec2295e1fcbbbe5f708687ffcce75' # delegate_ (initial) + - '000000000000000000000000000000000000000000000000000000000002a300' # cooldown_: 172800 seconds (2 days) + # Creation tx: 0x721e52017bef9359b4faf1ed32e0b81384d165c78f6fdb29d10463eb2c3d8cf2 (block 25889777). + '0xd524101C3c40f71Fce7B9312D299603880a06Bdb': + - '00000000000000000000000048d10eaec45e330003e62115e56d2a05f29eca70' # owner_ + - '0000000000000000000000004d3ad7e8e591d389b612fc063f53837e284d3f86' # delegate_ (initial) + - '000000000000000000000000000000000000000000000000000000000002a300' # cooldown_: 172800 seconds (2 days) + # Creation tx: 0x23e8fc3fa6761cb0f24828309c2e3b660907f42a78bca34bfb9a4245e8f92fa0 (block 25934498). + '0x99Cd2EF33040879D40BBC77Df81863D97f13C64d': + - '0000000000000000000000009462a9fff5646d0b6517d8eac49de49277e89db9' # owner_ + - '000000000000000000000000375aba35ea2011af97b51bd395494c827d1c39bd' # delegate_ (initial) + - '000000000000000000000000000000000000000000000000000000000002a300' # cooldown_: 172800 seconds (2 days) + # Creation tx: 0x0a86da93d50e2b0d66d5a34025b19fc9a43fc84a58d01f1cea1c98fb440587b1 (block 25916582). + '0xC4f2704273598d51A0ec76A31C12553ec8f5A891': + - '00000000000000000000000060d78785b763374bd552f5ce270da77781c6066c' # owner_ + - '000000000000000000000000c10258969442c7957351a0ddc8194d2685b2a2c2' # delegate_ (initial) + - '000000000000000000000000000000000000000000000000000000000002a300' # cooldown_: 172800 seconds (2 days) + # Creation tx: 0xff7ce833cf8b764d387e6bbf33d44dfa3f19a7c1c5bbec4554830cd9c96adcae (block 25881991). + '0x5e8Ed9f10307eD6FA793A347e4D0f407D00B9C6f': + - '0000000000000000000000003f7c24cc2c91e8beb20498e61b51a696ffb2aba5' # owner_ + - '0000000000000000000000002ae828f10dfee5b4c42f6e61d3d30033d4520753' # delegate_ (initial) + - '000000000000000000000000000000000000000000000000000000000002a300' # cooldown_: 172800 seconds (2 days) + # Creation tx: 0x24c5ee58974c3a9c8225ce1237a4a30adfa13b39cab2eaa31552285b6c8604c1 (block 25897049). + '0x6Aa249bA53A3abcaC52F91146583B3eE2Ee4C7F5': + - '0000000000000000000000002e6e175f57d7a18b3ca5490844034600fc18ef83' # owner_ + - '0000000000000000000000002df4013ef30b09100a027192e700114cd0d13900' # delegate_ (initial) + - '000000000000000000000000000000000000000000000000000000000002a300' # cooldown_: 172800 seconds (2 days) From a7ca6bcf698d6d9665fa174a11cb4e8b8d6fdb41 Mon Sep 17 00:00:00 2001 From: Eddort Date: Thu, 10 Sep 2026 15:26:58 +0200 Subject: [PATCH 3/3] fix: update audit commit edf-core.yaml --- configs/lido/mainnet/edf-core.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/lido/mainnet/edf-core.yaml b/configs/lido/mainnet/edf-core.yaml index 4f68435..9ba5a6b 100644 --- a/configs/lido/mainnet/edf-core.yaml +++ b/configs/lido/mainnet/edf-core.yaml @@ -8,7 +8,7 @@ explorer_token_env_var: ETHERSCAN_EXPLORER_TOKEN rpc_url_env_var: REMOTE_RPC_URL github_repo: url: https://github.com/lidofinance/core - commit: e4d0404c85b043b1b9fb1dd42d85c2535a7f30d8 + commit: 8c4cee2be76a4ed8067026e30b5bdc64a4e3cb29 relative_root: "" dependencies: "@openzeppelin/contracts-v4.4":