File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -165,8 +165,17 @@ const apy = async () => {
165165 // net = including rewards, apy = baseApy
166166 const rewardsApy = Math . max ( vault . state . netApy - vault . state . apy , 0 ) ;
167167 const isNegligibleApy = isNegligible ( rewardsApy , vault . state . netApy ) ;
168- const rewardTokens = isNegligibleApy ? [ ] : [ ...additionalRewardTokens ] ;
169- const apyReward = rewardTokens . length === 0 ? 0 : rewardsApy * 100 ;
168+ let rewardTokens = isNegligibleApy ? [ ] : [ ...additionalRewardTokens ] ;
169+ let apyReward = rewardTokens . length === 0 ? 0 : rewardsApy * 100 ;
170+
171+ // override and add OP rewards to this pool
172+ if (
173+ vault . address . toLowerCase ( ) ===
174+ '0xc30ce6a5758786e0f640cc5f881dd96e9a1c5c59'
175+ ) {
176+ rewardTokens = [ '0x4200000000000000000000000000000000000042' ] ;
177+ apyReward = rewardsApy * 100 ;
178+ }
170179
171180 return {
172181 pool : `morpho-blue-${ vault . address } -${ chain } ` ,
You can’t perform that action at this time.
0 commit comments