updated setId params

This commit is contained in:
Samyak Jain 2020-05-06 14:56:33 +10:00
parent 9fc53baf0d
commit 9439b2f676

View File

@ -165,7 +165,7 @@ contract CurveProtocol is CurveHelpers {
uint mintAmt = sub(finalCurveBal, initialCurveBal);
setUint(setId, mintAmt);
setUint(setId, _amt);
emit LogDeposit(token, _amt, mintAmt, getId, setId);
bytes32 _eventCode = keccak256("LogDeposit(address,uint256,uint256,uint256,uint256)");
@ -201,7 +201,7 @@ contract CurveProtocol is CurveHelpers {
curveSwap.remove_liquidity_imbalance(_amts, _slippageAmt);
setUint(setId, _curveAmt);
setUint(setId, _amt);
emit LogWithdraw(token, _amt, _curveAmt, getId, setId);
bytes32 _eventCode = keccak256("LogWithdraw(address,uint256,uint256,uint256,uint256)");