mirror of
https://github.com/Instadapp/InstaContract.git
synced 2024-07-29 22:47:45 +00:00
Returning bytes32 of CDP with getCDPID.
This commit is contained in:
parent
054f069baa
commit
a6b326be90
|
@ -237,8 +237,8 @@ contract BorrowTasks is RepayLoan {
|
||||||
return uint(ethrate).div(10**18);
|
return uint(ethrate).div(10**18);
|
||||||
}
|
}
|
||||||
|
|
||||||
function getCDPID(address borrower) public view returns (uint) {
|
function getCDPID(address borrower) public view returns (uint, bytes32) {
|
||||||
return uint(cdps[borrower]);
|
return (uint(cdps[borrower]), cdps[borrower]);
|
||||||
}
|
}
|
||||||
|
|
||||||
function approveERC20() public {
|
function approveERC20() public {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user