diff --git a/contracts/connectors/curve_vesting.sol b/contracts/connectors/curve_vesting.sol index b6f1076..74bc8cb 100644 --- a/contracts/connectors/curve_vesting.sol +++ b/contracts/connectors/curve_vesting.sol @@ -26,15 +26,14 @@ contract CurveVestingHelpers is Stores, DSMath{ } contract CurveVestingProtocol is CurveVestingHelpers { - event LogClaim(address sender, uint256 claimable, uint256 getId, uint256 setId); + event LogClaim(address account, uint256 claimable, uint256 getId, uint256 setId); /** * @dev Claim Curve DAO Token. - * @param sender address of the sender. * @param getId Get token amount at this ID from `InstaMemory` Contract. * @param setId Set token amount at this ID in `InstaMemory` Contract. */ - function claim(address sender, uint getId, uint setId) external{ + function claim(uint getId, uint setId) external{ TokenInterface curveTokenContract = TokenInterface(getCurveTokenAddr()); uint initialCurveBal = curveTokenContract.balanceOf(address(this)); diff --git a/test/CurveVestingProtocol.js b/test/CurveVestingProtocol.js index 5c71b0d..d1c4351 100644 --- a/test/CurveVestingProtocol.js +++ b/test/CurveVestingProtocol.js @@ -28,7 +28,6 @@ contract("ConnectCurveVestingProtocol", async accounts => { it('can claim CRV', async function() { const tx = await mockConnectCurveVestingProtocol.claim( - sender, 0, 0 )