* Move Pausable into utils * Move Strings into utils * Move Counters into utils * Move SignedSafeMath into math * Remove ERC1046 * Make ERC20Snapshot.snapshot internal * Move ERC20Snapshot into ERC20 * Add drafts deprecation notice * Remove drafts directory * Add changelog entry * Apply suggestions from code review Co-Authored-By: Francisco Giordano <frangio.1@gmail.com> Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
23 lines
503 B
Solidity
23 lines
503 B
Solidity
pragma solidity ^0.6.0;
|
|
|
|
import "../token/ERC20/ERC20Snapshot.sol";
|
|
|
|
|
|
contract ERC20SnapshotMock is ERC20Snapshot {
|
|
constructor(address initialAccount, uint256 initialBalance) public {
|
|
_mint(initialAccount, initialBalance);
|
|
}
|
|
|
|
function snapshot() public {
|
|
_snapshot();
|
|
}
|
|
|
|
function mint(address account, uint256 amount) public {
|
|
_mint(account, amount);
|
|
}
|
|
|
|
function burn(address account, uint256 amount) public {
|
|
_burn(account, amount);
|
|
}
|
|
}
|