mirror of
https://github.com/Instadapp/dsa-connectors-old.git
synced 2024-07-29 22:47:46 +00:00
removing sender as not needed
This commit is contained in:
parent
6474ee6b63
commit
522af88811
|
@ -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));
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@ contract("ConnectCurveVestingProtocol", async accounts => {
|
|||
|
||||
it('can claim CRV', async function() {
|
||||
const tx = await mockConnectCurveVestingProtocol.claim(
|
||||
sender,
|
||||
0,
|
||||
0
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user