mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
claim and supply functions changed
This commit is contained in:
parent
f5276e1b21
commit
f8795bb744
|
|
@ -9,8 +9,10 @@ import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
|||
import "./interface.sol";
|
||||
|
||||
abstract contract Helpers is DSMath, Basic {
|
||||
using SafeERC20 for IERC20;
|
||||
|
||||
IProtocolModule internal constant protocolModule =
|
||||
IProtocolModule("0xf40c01Adc86CF5d534Ff5CaFaA451694FdD2b08C");
|
||||
IProtocolModule(0xf40c01Adc86CF5d534Ff5CaFaA451694FdD2b08C);
|
||||
|
||||
function approve(
|
||||
TokenInterface token_,
|
||||
|
|
|
|||
|
|
@ -121,11 +121,12 @@ abstract contract FluidityResolver is Events, Helpers {
|
|||
setUint(setId[i], updatedRewards_[i]);
|
||||
}
|
||||
|
||||
_eventName = "LogClaimReward(address,address,uint256[])";
|
||||
_eventName = "LogClaimReward(address,address,uint256[],uint256[])";
|
||||
_eventParam = abi.encode(
|
||||
address(user_),
|
||||
address(token_),
|
||||
updatedRewards_
|
||||
updatedRewards_,
|
||||
setId
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user