From a0ac2bb96f1a6f0d43da100328ff47546226e6ed Mon Sep 17 00:00:00 2001 From: ReposCollector Date: Tue, 15 Oct 2024 22:16:29 +0900 Subject: [PATCH] [2024-10-15] update the eETH fee recipient treasury address --- .../execute_update_treasury.json | 5 +++++ .../schedule_update_treasury.json | 5 +++++ test/EtherFiTimelock.sol | 10 ++++++++++ 3 files changed, 20 insertions(+) create mode 100644 operations/20241015_update_eEth_fee_recipient_treasury/execute_update_treasury.json create mode 100644 operations/20241015_update_eEth_fee_recipient_treasury/schedule_update_treasury.json diff --git a/operations/20241015_update_eEth_fee_recipient_treasury/execute_update_treasury.json b/operations/20241015_update_eEth_fee_recipient_treasury/execute_update_treasury.json new file mode 100644 index 00000000..549e8c9a --- /dev/null +++ b/operations/20241015_update_eEth_fee_recipient_treasury/execute_update_treasury.json @@ -0,0 +1,5 @@ +{ + "data": "0x134008d3000000000000000000000000308861a430be4cce5502d0a12724771fc6daf216000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024f0f442600000000000000000000000000c83eae1fe72c390a02e426572854931eeff93ba00000000000000000000000000000000000000000000000000000000", + "to": "0x9f26d4C958fD811A1F59B01B86Be7dFFc9d20761", + "value": 0 +} \ No newline at end of file diff --git a/operations/20241015_update_eEth_fee_recipient_treasury/schedule_update_treasury.json b/operations/20241015_update_eEth_fee_recipient_treasury/schedule_update_treasury.json new file mode 100644 index 00000000..bf17f426 --- /dev/null +++ b/operations/20241015_update_eEth_fee_recipient_treasury/schedule_update_treasury.json @@ -0,0 +1,5 @@ +{ + "data": "0x01d5062a000000000000000000000000308861a430be4cce5502d0a12724771fc6daf216000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003f4800000000000000000000000000000000000000000000000000000000000000024f0f442600000000000000000000000000c83eae1fe72c390a02e426572854931eeff93ba00000000000000000000000000000000000000000000000000000000", + "to": "0x9f26d4C958fD811A1F59B01B86Be7dFFc9d20761", + "value": 0 +} \ No newline at end of file diff --git a/test/EtherFiTimelock.sol b/test/EtherFiTimelock.sol index 62c7935c..7844905a 100644 --- a/test/EtherFiTimelock.sol +++ b/test/EtherFiTimelock.sol @@ -322,6 +322,16 @@ contract TimelockTest is TestSetup { bytes memory data = abi.encodeWithSelector(EtherFiNodesManager.updateAllowedForwardedExternalCalls.selector, selector, 0x7750d328b314EfFa365A0402CcfD489B80B0adda, true); _execute_timelock(target, data, true, true, true, true); } + + function test_update_treasury() public { + { + initializeRealisticFork(MAINNET_FORK); + address target = + address(liquidityPoolInstance); + bytes memory data = abi.encodeWithSelector(LiquidityPool.setTreasury.selector, 0x0c83EAe1FE72c390A02E426572854931EefF93BA); + _execute_timelock(target, data, true, true, true, true); + } + } } // {"version":"1.0","chainId":"1 \ No newline at end of file