Skip to content

Commit

Permalink
add deposit/withdraw links
Browse files Browse the repository at this point in the history
  • Loading branch information
hexonaut committed Mar 15, 2024
1 parent bc257f5 commit c9348c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pools/D3M4626TypePool.sol
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,13 @@ contract D3M4626TypePool is ID3MPool {
emit File(what, data);
}

/// https://github.com/morpho-org/metamorpho/blob/fcf3c41d9c113514c9af0bbf6298e88a1060b220/src/MetaMorpho.sol#L531
/// @inheritdoc ID3MPool
function deposit(uint256 wad) external override onlyHub {
vault.deposit(wad, address(this));
}

/// https://github.com/morpho-org/metamorpho/blob/fcf3c41d9c113514c9af0bbf6298e88a1060b220/src/MetaMorpho.sol#L557
/// @inheritdoc ID3MPool
function withdraw(uint256 wad) external override onlyHub {
vault.withdraw(wad, msg.sender, address(this));
Expand Down

0 comments on commit c9348c6

Please sign in to comment.