You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
445 B
17 lines
445 B
3 years ago
|
// SPDX-License-Identifier: MIT
|
||
|
pragma solidity ^0.8.0;
|
||
|
|
||
2 years ago
|
import "../../token/ERC20/extensions/ERC4626.sol";
|
||
3 years ago
|
|
||
3 years ago
|
contract ERC4626Mock is ERC4626 {
|
||
2 years ago
|
constructor(address underlying) ERC20("ERC4626Mock", "E4626M") ERC4626(IERC20(underlying)) {}
|
||
3 years ago
|
|
||
2 years ago
|
function mint(address account, uint256 amount) external {
|
||
3 years ago
|
_mint(account, amount);
|
||
|
}
|
||
|
|
||
2 years ago
|
function burn(address account, uint256 amount) external {
|
||
3 years ago
|
_burn(account, amount);
|
||
|
}
|
||
|
}
|