mirror of
https://github.com/Instadapp/fluid-contracts-public.git
synced 2024-07-29 21:57:37 +00:00
d7a58e88ff
ARB: deploy protocols
20 lines
641 B
Solidity
20 lines
641 B
Solidity
//SPDX-License-Identifier: MIT
|
|
pragma solidity 0.8.21;
|
|
|
|
import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
|
|
import { ERC20Permit } from "@openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol";
|
|
|
|
contract MockERC20Permit is ERC20, ERC20Permit {
|
|
constructor(string memory _name, string memory _symbol) ERC20(_name, _symbol) ERC20Permit(_name) {}
|
|
|
|
function mint(address to, uint256 amount) external returns (bool) {
|
|
_mint(to, amount);
|
|
return true;
|
|
}
|
|
|
|
function burn(address from, uint256 amount) external returns (bool) {
|
|
_burn(from, amount);
|
|
return true;
|
|
}
|
|
}
|