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.
26 lines
572 B
26 lines
572 B
4 years ago
|
// SPDX-License-Identifier: MIT
|
||
|
|
||
|
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)
|
||
|
{}
|
||
|
|
||
|
function mint(address account, uint256 amount) public {
|
||
|
_mint(account, amount);
|
||
|
}
|
||
|
|
||
|
function burn(address account, uint256 amount) public {
|
||
|
_burn(account, amount);
|
||
|
}
|
||
|
|
||
|
function getChainId() external view returns (uint256) {
|
||
|
return block.chainid;
|
||
|
}
|
||
|
}
|