2021-10-21 12:06:30 +00:00
|
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.8.0;
|
|
|
|
|
|
|
|
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
|
|
|
|
|
|
|
|
contract TestToken is ERC20 {
|
2021-11-16 13:25:42 +00:00
|
|
|
constructor() ERC20("TestToken", "TST") {}
|
|
|
|
|
|
|
|
function mint(address[] memory holders, uint amount) public {
|
2021-11-04 10:32:21 +00:00
|
|
|
for (uint i=0; i<holders.length; i++) {
|
2021-11-16 13:25:42 +00:00
|
|
|
_mint(holders[i], amount);
|
2021-11-04 10:32:21 +00:00
|
|
|
}
|
2021-10-21 12:06:30 +00:00
|
|
|
}
|
|
|
|
}
|