Skip to content

Commit

Permalink
Merge pull request #411 from morpho-labs/docs/idToMarketParams
Browse files Browse the repository at this point in the history
Document `idToMarketParams`
  • Loading branch information
MerlinEgalite authored Aug 22, 2023
2 parents 89b158a + 5d00098 commit 5a18ce2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/interfaces/IMorpho.sol
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ interface IMorpho {
function nonce(address authorizer) external view returns (uint256);

/// @notice The market params corresponding to `id`.
/// @dev This mapping is not used in Morpho. It is there to enable reducing the cost associated to calldata on layer
/// 2s by creating a wrapper contract with functions that take `id` as input instead of `marketParams`.
function idToMarketParams(Id id)
external
view
Expand Down

0 comments on commit 5a18ce2

Please sign in to comment.