mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
added struct on adjust setIds
This commit is contained in:
parent
7b17bc9d40
commit
027095603c
|
@ -245,10 +245,10 @@ abstract contract LiquityResolver is Events, Helpers {
|
|||
lowerHint
|
||||
);
|
||||
|
||||
setUint(setIds[0], depositAmount);
|
||||
setUint(setIds[1], withdrawAmount);
|
||||
setUint(setIds[2], borrowAmount);
|
||||
setUint(setIds[3], repayAmount);
|
||||
setUint(setIds[0], adjustTrove.depositAmount);
|
||||
setUint(setIds[1], adjustTrove.withdrawAmount);
|
||||
setUint(setIds[2], adjustTrove.borrowAmount);
|
||||
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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user