Skip to content

Instantly share code, notes, and snippets.

@minemintteam
Last active July 14, 2021 19:49
Show Gist options
  • Save minemintteam/4a00cb12409c413881fd7da3bbded9c6 to your computer and use it in GitHub Desktop.
Save minemintteam/4a00cb12409c413881fd7da3bbded9c6 to your computer and use it in GitHub Desktop.
// SPDX-License-Identifier: MIT
//Copyright 2021 MineMintTeam | Samuel Rivera
//Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files
//(the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge,
//publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
//subject to the following conditions:
//The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
//MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
//ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
//THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//faucet-token
pragma solidity ^0.5.0;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.0/contracts/token/ERC20/ERC20.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.0/contracts/token/ERC20/ERC20Detailed.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.0/contracts/token/ERC20/ERC20Burnable.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.0/contracts/token/ERC20/ERC20Mintable.sol";
contract Token is ERC20, ERC20Detailed, ERC20Burnable, ERC20Mintable {
constructor () public ERC20Detailed("FaucetToken", "FT", 12) {
_mint(msg.sender, 10000000 * (10 ** uint256(decimals())));
}
}
@minemintteam
Copy link
Author

minemintteam commented Jul 14, 2021

0xA1A21F71B941eeE4A8E089f4B300fdcB566016B9 <= address for token, mintme

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment