mirror of
https://github.com/Instadapp/dsa-resolvers-deprecated.git
synced 2024-07-29 22:38:16 +00:00
maker minor fix
This commit is contained in:
parent
9e6f079dbc
commit
ec258253d7
|
@ -1,6 +1,5 @@
|
||||||
pragma solidity ^0.7.0;
|
pragma solidity ^0.7.0;
|
||||||
pragma experimental ABIEncoderV2;
|
pragma experimental ABIEncoderV2;
|
||||||
import "hardhat/console.sol";
|
|
||||||
|
|
||||||
import {DSMath} from "./common/math.sol";
|
import {DSMath} from "./common/math.sol";
|
||||||
|
|
||||||
|
@ -66,7 +65,6 @@ contract VaultResolver is Variables, DSMath {
|
||||||
|
|
||||||
uint256 supply = wmul(ink, price);
|
uint256 supply = wmul(ink, price);
|
||||||
uint256 borrow = rmul(art, rate);
|
uint256 borrow = rmul(art, rate);
|
||||||
borrow = borrow / 1e9;
|
|
||||||
|
|
||||||
networth = sub(supply, borrow);
|
networth = sub(supply, borrow);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user