mirror of
https://github.com/status-im/visual-identity.git
synced 2025-02-02 07:47:03 +00:00
Implement TestToken
This commit is contained in:
parent
bc3933b1f5
commit
9067b7a21c
19
contracts/token/TestToken.sol
Normal file
19
contracts/token/TestToken.sol
Normal file
@ -0,0 +1,19 @@
|
||||
pragma solidity ^0.4.23;
|
||||
|
||||
import "./StandardToken.sol";
|
||||
|
||||
/**
|
||||
* @notice ERC20Token for test scripts, can be minted by anyone.
|
||||
*/
|
||||
contract TestToken is StandardToken {
|
||||
|
||||
constructor() public { }
|
||||
|
||||
/**
|
||||
* @notice any caller can mint any `_amount`
|
||||
* @param _amount how much to be minted
|
||||
*/
|
||||
function mint(uint256 _amount) public {
|
||||
mint(msg.sender, _amount);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user