Write your code inside the SwapRocketPool contract
The goal of this exercise is to learn how to directly get data from the RocketStorage contract.
function getDepositDelay() public view returns (uint256) {
// Write your code here
}-
Get deposit delay
- Implement logic to fetch the deposit delay setting
Hint: Look for how this is done inside
RocketTokenRETH._beforeTokenTransfer
forge test --fork-url $FORK_URL --match-path test/exercise-swap-rocket-pool.sol --match-test test_getDepositDelay -vvv