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
538 B
26 lines
538 B
7 years ago
|
pragma solidity ^0.4.24;
|
||
8 years ago
|
|
||
7 years ago
|
import "../token/ERC20/ERC20.sol";
|
||
8 years ago
|
|
||
7 years ago
|
|
||
7 years ago
|
// mock class using ERC20
|
||
|
contract ERC20Mock is ERC20 {
|
||
8 years ago
|
|
||
7 years ago
|
constructor(address _initialAccount, uint256 _initialBalance) public {
|
||
7 years ago
|
_mint(_initialAccount, _initialBalance);
|
||
|
}
|
||
|
|
||
|
function mint(address _account, uint256 _amount) public {
|
||
|
_mint(_account, _amount);
|
||
|
}
|
||
|
|
||
|
function burn(address _account, uint256 _amount) public {
|
||
|
_burn(_account, _amount);
|
||
|
}
|
||
|
|
||
|
function burnFrom(address _account, uint256 _amount) public {
|
||
|
_burnFrom(_account, _amount);
|
||
8 years ago
|
}
|
||
|
|
||
|
}
|