mirror of
https://github.com/Instadapp/smart-contract.git
synced 2024-07-29 22:08:07 +00:00
Merge branch 'master' of https://github.com/InstaDApp/contract-v2
This commit is contained in:
commit
98fc58bcc8
|
@ -195,7 +195,7 @@ contract Helpers is DSMath {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @dev setting allowance to kyber for the "user proxy" if required
|
* @dev setting allowance to kyber for the "user proxy" if required
|
||||||
* @param token is the token
|
* @param tknContract is the token
|
||||||
* @param srcAmt is the amount of token to sell
|
* @param srcAmt is the amount of token to sell
|
||||||
*/
|
*/
|
||||||
function setApproval(IERC20 tknContract, uint srcAmt) internal returns (uint) {
|
function setApproval(IERC20 tknContract, uint srcAmt) internal returns (uint) {
|
||||||
|
@ -205,15 +205,6 @@ contract Helpers is DSMath {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @dev setting allowance to kyber for the "user proxy" if required
|
|
||||||
* @param token is the token
|
|
||||||
* @param srcAmt is the amount of token to sell
|
|
||||||
*/
|
|
||||||
function getCDPRatio(uint ethCol, uint daiDebt) internal returns (uint ratio) {
|
|
||||||
TubInterface tub = TubInterface(getSaiTubAddress());
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -105,7 +105,7 @@ contract Helper {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @dev setting allowance to kyber for the "user proxy" if required
|
* @dev setting allowance to kyber for the "user proxy" if required
|
||||||
* @param token is the token
|
* @param tknContract is the token
|
||||||
* @param srcAmt is the amount of token to sell
|
* @param srcAmt is the amount of token to sell
|
||||||
*/
|
*/
|
||||||
function setApproval(IERC20 tknContract, uint srcAmt) internal returns (uint) {
|
function setApproval(IERC20 tknContract, uint srcAmt) internal returns (uint) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user