mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
polygon aave claim function update
This commit is contained in:
parent
9ba2885a0f
commit
1fd9c651f5
|
@ -33,6 +33,11 @@ abstract contract IncentivesResolver is Helpers, Events {
|
||||||
|
|
||||||
_amt = incentives.claimRewards(assets, _amt, address(this));
|
_amt = incentives.claimRewards(assets, _amt, address(this));
|
||||||
|
|
||||||
|
|
||||||
|
TokenInterface wmatic = TokenInterface(wmaticAddr);
|
||||||
|
uint256 wmaticAmount = wmatic.balanceOf(address(this));
|
||||||
|
convertWmaticToMatic(wmaticAmount > 0, wmatic, wmaticAmount);
|
||||||
|
|
||||||
setUint(setId, _amt);
|
setUint(setId, _amt);
|
||||||
|
|
||||||
_eventName = "LogClaimed(address[],uint256,uint256,uint256)";
|
_eventName = "LogClaimed(address[],uint256,uint256,uint256)";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user