* Update contract pragmas to solidity 0.7 * Remove internal declaration on constructors * Reference SafeMath explicitely * Remove public constructor declaration from abstract contracts * Remove public constructor declaration from non-abstract contracts
12 lines
271 B
Solidity
12 lines
271 B
Solidity
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.7.0;
|
|
|
|
import "../token/ERC20/ERC20.sol";
|
|
|
|
contract ERC20DecimalsMock is ERC20 {
|
|
constructor (string memory name, string memory symbol, uint8 decimals) ERC20(name, symbol) {
|
|
_setupDecimals(decimals);
|
|
}
|
|
}
|