mirror of
https://github.com/Instadapp/dsa-connectors-old.git
synced 2024-07-29 22:47:46 +00:00
reformated mutliUnprovide
This commit is contained in:
parent
36fe5adc31
commit
b6718b7954
|
@ -356,15 +356,13 @@ contract GelatoResolver is GelatoHelpers {
|
||||||
{
|
{
|
||||||
uint256 withdrawAmount = getUint(_getId, _withdrawAmount);
|
uint256 withdrawAmount = getUint(_getId, _withdrawAmount);
|
||||||
uint256 balanceBefore = address(this).balance;
|
uint256 balanceBefore = address(this).balance;
|
||||||
uint256 actualWithdrawAmount;
|
|
||||||
IGelatoInterface(getGelatoCoreAddr()).multiUnprovide(
|
IGelatoInterface(getGelatoCoreAddr()).multiUnprovide(
|
||||||
withdrawAmount,
|
withdrawAmount,
|
||||||
_taskSpecs,
|
_taskSpecs,
|
||||||
_modules
|
_modules
|
||||||
);
|
);
|
||||||
|
uint256 actualWithdrawAmount = sub(address(this).balance, balanceBefore);
|
||||||
actualWithdrawAmount = sub(address(this).balance, balanceBefore);
|
setUint(_setId, actualWithdrawAmount);
|
||||||
setUint(_setId, actualWithdrawAmount);
|
|
||||||
|
|
||||||
emit LogMultiUnprovide(_taskSpecs, _modules, actualWithdrawAmount, _getId, _setId);
|
emit LogMultiUnprovide(_taskSpecs, _modules, actualWithdrawAmount, _getId, _setId);
|
||||||
bytes32 _eventCode = keccak256(
|
bytes32 _eventCode = keccak256(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user