Make ERC20Votes independent from ERC20Permit (#3816)
Co-authored-by: Francisco <frangio.1@gmail.com>
This commit is contained in:
@ -5,7 +5,7 @@ pragma solidity ^0.8.0;
|
||||
import "../token/ERC20/extensions/ERC20VotesComp.sol";
|
||||
|
||||
contract ERC20VotesCompMock is ERC20VotesComp {
|
||||
constructor(string memory name, string memory symbol) ERC20(name, symbol) ERC20Permit(name) {}
|
||||
constructor(string memory name, string memory symbol) ERC20(name, symbol) EIP712(name, "1") {}
|
||||
|
||||
function mint(address account, uint256 amount) public {
|
||||
_mint(account, amount);
|
||||
|
||||
Reference in New Issue
Block a user