updated the event with data from struct

This commit is contained in:
Samyak Jain 2021-06-29 04:23:30 +05:30
parent 027095603c
commit d45f08b743

View File

@ -251,7 +251,7 @@ abstract contract LiquityResolver is Events, Helpers {
setUint(setIds[3], adjustTrove.repayAmount);
_eventName = "LogAdjust(address,uint256,uint256,uint256,uint256,uint256,uint256[],uint256[])";
_eventParam = abi.encode(address(this), maxFeePercentage, depositAmount, withdrawAmount, borrowAmount, repayAmount, getIds, setIds);
_eventParam = abi.encode(address(this), maxFeePercentage, adjustTrove.depositAmount, adjustTrove.withdrawAmount, adjustTrove.borrowAmount, adjustTrove.repayAmount, getIds, setIds);
}
/**