diff --git a/src/20240118_StkGHO_Activation/StkGHO_Activation_20240118.sol b/src/20240118_StkGHO_Activation/StkGHO_Activation_20240118.sol index 516801ac0..88f03c36e 100644 --- a/src/20240118_StkGHO_Activation/StkGHO_Activation_20240118.sol +++ b/src/20240118_StkGHO_Activation/StkGHO_Activation_20240118.sol @@ -15,7 +15,7 @@ import {IStakeToken} from './IStakeToken.sol'; * - Discussion: https://governance.aave.com/t/arfc-upgrade-safety-module-with-stkgho/15635 */ contract StkGHO_Activation_20240118 is IProposalGenericExecutor { - uint256 public constant STKGHO_EMISSION_PER_SECOND = 5787037037037037; // 50 AAVE/day + uint256 public constant STKGHO_EMISSION_PER_SECOND = 578703703703704; // 50 AAVE/day uint256 public constant DISTRIBUTION_DURATION = 90 days; // three months address public constant STKGHO_PROXY = 0x1a88Df1cFe15Af22B3c4c783D4e6F7F9e0C1885d; diff --git a/src/20240118_StkGHO_Activation/StkGHO_Activation_20240118.t.sol b/src/20240118_StkGHO_Activation/StkGHO_Activation_20240118.t.sol index 369aae68a..8ce60b9f0 100644 --- a/src/20240118_StkGHO_Activation/StkGHO_Activation_20240118.t.sol +++ b/src/20240118_StkGHO_Activation/StkGHO_Activation_20240118.t.sol @@ -6,8 +6,8 @@ import {GovV3Helpers} from 'aave-helpers/GovV3Helpers.sol'; import {AaveV3Ethereum} from 'aave-address-book/AaveV3Ethereum.sol'; import 'forge-std/console.sol'; import {StkGHO_Activation_20240118} from './StkGHO_Activation_20240118.sol'; -import {IAggregatedStakeToken} from 'stake-token/src/contracts/IAggregatedStakeToken.sol'; -import {IStakeToken} from 'stake-token/src/contracts/IStakeToken.sol'; +import {IStakeToken} from './IStakeToken.sol'; + import {MiscEthereum} from 'aave-address-book/MiscEthereum.sol'; import {AaveV3Ethereum} from 'aave-address-book/AaveV3Ethereum.sol'; import {IERC20} from 'solidity-utils/contracts/oz-common/interfaces/IERC20.sol'; @@ -40,7 +40,7 @@ contract StkGHO_Activation_20240118_Test is ProtocolV2TestBase { * @dev executes the generic test suite including e2e and config snapshots */ function test_defaultProposalExecution() public { - (uint128 emissionPerSecondBefore, , ) = IAggregatedStakeToken(STKGHO_PROXY).assets( + (uint128 emissionPerSecondBefore, , ) = IStakeToken(STKGHO_PROXY).assets( AaveV3Ethereum.GHO_TOKEN ); @@ -49,7 +49,7 @@ contract StkGHO_Activation_20240118_Test is ProtocolV2TestBase { uint128 emissionPerSecondAfter, uint128 lastUpdateTimestampAfter, // uint256 indexAfter - ) = IAggregatedStakeToken(STKGHO_PROXY).assets(AaveV3Ethereum.GHO_TOKEN); + ) = IStakeToken(STKGHO_PROXY).assets(AaveV3Ethereum.GHO_TOKEN); // NOTE index is still 0 assertEq((emissionPerSecondBefore + emissionPerSecondAfter), STKGHO_EMISSION_PER_SECOND);