Skip to content

Commit

Permalink
update tlc interface to remove cooldown
Browse files Browse the repository at this point in the history
  • Loading branch information
frontier159 committed Jun 21, 2023
1 parent fbe70a6 commit 9f547f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ interface ITempleLineOfCredit is ITlcDataTypes, ITlcEventsAndErrors {

/**
* @notice Remove Temple collateral. (active borrow positions are not allowed to go above the max LTV)
* @param amount The amount of collateral to remove
* @param recipient Send the Temple collateral to a specified recipient address.
*/
function removeCollateral(uint256 amount, address recipient) external;

/**
* @notice Borrow DAI (not allowed to borrow over the max LTV)
* @param amount The amount to borrow
* @param recipient Send the borrowed token to a specified recipient address.
*/
function borrow(uint256 amount, address recipient) external;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ contract TempleLineOfCredit is ITempleLineOfCredit, TempleElevatedAccess {

/**
* @notice Remove Temple collateral. (active borrow positions are not allowed to go above the max LTV)
* @param amount The amount of collateral to remove
* @param recipient Send the Temple collateral to a specified recipient address.
*/
function removeCollateral(uint256 amount, address recipient) external override {
Expand All @@ -164,6 +165,7 @@ contract TempleLineOfCredit is ITempleLineOfCredit, TempleElevatedAccess {

/**
* @notice Borrow DAI (not allowed to borrow over the max LTV)
* @param amount The amount to borrow
* @param recipient Send the borrowed token to a specified recipient address.
*/
function borrow(uint256 amount, address recipient) external override {
Expand Down

0 comments on commit 9f547f8

Please sign in to comment.