You cannot 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
442 B
Solidity
17 lines
442 B
Solidity
2 years ago
|
// SPDX-License-Identifier: MIT
|
||
|
pragma solidity ^0.8.0;
|
||
|
|
||
|
import "../token/ERC20/extensions/ERC4626.sol";
|
||
|
|
||
|
contract ERC4626Mock is ERC4626 {
|
||
|
constructor(address underlying) ERC20("ERC4626Mock", "E4626M") ERC4626(IERC20(underlying)) {}
|
||
|
|
||
|
function mint(address account, uint256 amount) external {
|
||
|
_mint(account, amount);
|
||
|
}
|
||
|
|
||
|
function burn(address account, uint256 amount) external {
|
||
|
_burn(account, amount);
|
||
|
}
|
||
|
}
|