This commit is contained in:
dexorder
2024-10-17 02:42:28 -04:00
commit 25def69c66
878 changed files with 112489 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import {ERC4626} from "../../token/ERC20/extensions/ERC4626.sol";
abstract contract ERC4626LimitsMock is ERC4626 {
uint256 _maxDeposit;
uint256 _maxMint;
constructor() {
_maxDeposit = 100 ether;
_maxMint = 100 ether;
}
function maxDeposit(address) public view override returns (uint256) {
return _maxDeposit;
}
function maxMint(address) public view override returns (uint256) {
return _maxMint;
}
}