-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #106 from morpho-org/post-cantina
Post cantina
- Loading branch information
Showing
10 changed files
with
171 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule morpho-blue
updated
63 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity >=0.5.0; | ||
|
||
import {IIrm} from "../../lib/morpho-blue/src/interfaces/IIrm.sol"; | ||
import {Id} from "../../lib/morpho-blue/src/interfaces/IMorpho.sol"; | ||
|
||
/// @title IAdaptiveCurveIrm | ||
/// @author Morpho Labs | ||
/// @custom:contact security@morpho.org | ||
/// @notice Interface exposed by the AdaptiveCurveIrm. | ||
interface IAdaptiveCurveIrm is IIrm { | ||
/// @notice Address of Morpho. | ||
function MORPHO() external view returns (address); | ||
|
||
/// @notice Rate at target utilization. | ||
/// @dev Tells the height of the curve. | ||
function rateAtTarget(Id id) external view returns (int256); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.