From 522af88811e1320871205b898db5a4b7ef141f74 Mon Sep 17 00:00:00 2001 From: Lecky Lao Date: Sun, 16 Aug 2020 03:03:57 +1000 Subject: [PATCH] removing sender as not needed --- contracts/connectors/curve_vesting.sol | 5 ++--- test/CurveVestingProtocol.js | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) 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 )