Minor reward connector updates

This commit is contained in:
Shriya Tyagi 2023-06-24 02:54:10 +08:00
parent 92c47b993d
commit 7f5044222e
3 changed files with 7 additions and 9 deletions

View File

@ -16,7 +16,7 @@ contract Events {
uint256 setId uint256 setId
); );
event LogClaimedAaveV3( event LogClaimedMorphoAaveV3(
address[] poolTokenAddresses, address[] poolTokenAddresses,
address onBehalf, address onBehalf,
address[] rewardTokens, address[] rewardTokens,

View File

@ -11,9 +11,9 @@ abstract contract Helpers is Basic {
IMorphoCore public constant MORPHO_AAVE = IMorphoCore public constant MORPHO_AAVE =
IMorphoCore(0x777777c9898D384F785Ee44Acfe945efDFf5f3E0); IMorphoCore(0x777777c9898D384F785Ee44Acfe945efDFf5f3E0);
IMorphoCoreV3 public constant MORPHO_AAVE_V3 =
IMorphoCoreV3(0x33333aea097c193e66081E930c33020272b33333);
IMorphoRewardsDistributor public constant MORPHO_REWARDS = IMorphoRewardsDistributor public constant MORPHO_REWARDS =
IMorphoRewardsDistributor(0x3B14E5C73e0A56D607A8688098326fD4b4292135); IMorphoRewardsDistributor(0x3B14E5C73e0A56D607A8688098326fD4b4292135);
IMorphoCoreV3 public constant MORPHO_AAVE_V3 =
IMorphoCoreV3(0x33333aea097c193e66081E930c33020272b33333);
} }

View File

@ -102,7 +102,7 @@ abstract contract MorphoRewards is Helpers, Events {
} }
/** /**
* @dev Claim Underlying Pool Rewards. * @dev Claims rewards for the given assets from Morpho Aave V3.
* @notice Claims rewards for the given assets. * @notice Claims rewards for the given assets.
* @param _poolTokenAddresses The assets to claim rewards from (aToken or variable debt token). * @param _poolTokenAddresses The assets to claim rewards from (aToken or variable debt token).
* @param _onBehalf The address for which rewards are claimed and sent to. * @param _onBehalf The address for which rewards are claimed and sent to.
@ -120,9 +120,7 @@ abstract contract MorphoRewards is Helpers, Events {
_onBehalf _onBehalf
); );
// setUint(_setId, _amountOfRewards); _eventName = "LogClaimedMorphoAaveV3(address[],address,address[],uint256[])";
_eventName = "LogClaimedAaveV3(address[],address,address[],uint256[])";
_eventParam = abi.encode( _eventParam = abi.encode(
_poolTokenAddresses, _poolTokenAddresses,
_onBehalf, _onBehalf,
@ -133,5 +131,5 @@ abstract contract MorphoRewards is Helpers, Events {
} }
contract ConnectV2MorphoRewards is MorphoRewards { contract ConnectV2MorphoRewards is MorphoRewards {
string public constant name = "Morpho-Rewards-v1.0"; string public constant name = "Morpho-Rewards-v1.1";
} }