infrastructure-upgrade/lib/v3-periphery/contracts/test/TestERC20Metadata.sol

15 lines
365 B
Solidity
Raw Normal View History

2023-04-08 21:46:18 +03:00
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.7.6;
import '@openzeppelin/contracts/drafts/ERC20Permit.sol';
contract TestERC20Metadata is ERC20Permit {
constructor(
uint256 amountToMint,
string memory name,
string memory symbol
) ERC20(name, symbol) ERC20Permit(name) {
_mint(msg.sender, amountToMint);
}
}