mirror of
https://github.com/Instadapp/InstaContract.git
synced 2024-07-29 22:47:45 +00:00
Minor change.
This commit is contained in:
parent
a6b326be90
commit
ddbd6ec836
|
@ -95,7 +95,7 @@ contract GlobalVar is Registry {
|
||||||
|
|
||||||
bytes32 public blankCDP = 0x0000000000000000000000000000000000000000000000000000000000000000;
|
bytes32 public blankCDP = 0x0000000000000000000000000000000000000000000000000000000000000000;
|
||||||
address cdpAddr; // cups
|
address cdpAddr; // cups
|
||||||
mapping (address => bytes32) public cdps; // borrower >>> CDP Bytes
|
mapping (address => bytes32) cdps; // borrower >>> CDP Bytes
|
||||||
bool public freezed;
|
bool public freezed;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -237,7 +237,7 @@ contract BorrowTasks is RepayLoan {
|
||||||
return uint(ethrate).div(10**18);
|
return uint(ethrate).div(10**18);
|
||||||
}
|
}
|
||||||
|
|
||||||
function getCDPID(address borrower) public view returns (uint, bytes32) {
|
function getCDP(address borrower) public view returns (uint, bytes32) {
|
||||||
return (uint(cdps[borrower]), cdps[borrower]);
|
return (uint(cdps[borrower]), cdps[borrower]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user