* Merge ERC20Detailed into ERC20, make derived contracts abstract * Fix Create2 tests * Fix failing test * Default decimals to 18 * Add tests for setupDecimals * Add changelog entry * Update CHANGELOG.md * Update CHANGELOG.md * Replace isConstructor for !isContract * Update CHANGELOG.md Co-Authored-By: Francisco Giordano <frangio.1@gmail.com> Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
14 lines
334 B
Solidity
14 lines
334 B
Solidity
pragma solidity ^0.6.0;
|
|
|
|
import "../token/ERC20/ERC20Capped.sol";
|
|
|
|
contract ERC20CappedMock is ERC20Capped {
|
|
constructor (string memory name, string memory symbol, uint256 cap)
|
|
public ERC20(name, symbol) ERC20Capped(cap)
|
|
{ }
|
|
|
|
function mint(address to, uint256 tokenId) public {
|
|
_mint(to, tokenId);
|
|
}
|
|
}
|