소스 검색

Remove obsolete ERC4626 `mint` NatSpec (#4837)

Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Dariusz Glowinski 1 년 전
부모
커밋
06eb785fcf
1개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 5
      contracts/token/ERC20/extensions/ERC4626.sol

+ 1 - 5
contracts/token/ERC20/extensions/ERC4626.sol

@@ -180,11 +180,7 @@ abstract contract ERC4626 is ERC20, IERC4626 {
         return shares;
     }
 
-    /** @dev See {IERC4626-mint}.
-     *
-     * As opposed to {deposit}, minting is allowed even if the vault is in a state where the price of a share is zero.
-     * In this case, the shares will be minted without requiring any assets to be deposited.
-     */
+    /** @dev See {IERC4626-mint}. */
     function mint(uint256 shares, address receiver) public virtual returns (uint256) {
         uint256 maxShares = maxMint(receiver);
         if (shares > maxShares) {