Skip to content

Instantly share code, notes, and snippets.

@STooBiNKooBiN
Created June 23, 2024 00:39
Show Gist options
  • Save STooBiNKooBiN/413006922bf2adbaba693d899f8eb432 to your computer and use it in GitHub Desktop.
Save STooBiNKooBiN/413006922bf2adbaba693d899f8eb432 to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.26+commit.8a97fa7a.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol";
contract StoobinKoobin is ERC20, ERC20Permit {
uint256 private constant INITIAL_SUPPLY = 71522125 * 10 ** 7; // 71,522,125 tokens with 7 decimals
constructor() ERC20("Stoobin Koobin", "StooKoo") ERC20Permit("STooBiN KooBiN") {
_mint(msg.sender, INITIAL_SUPPLY);
}
function decimals() public view virtual override returns (uint8) {
return 7;
}}
@STooBiNKooBiN
Copy link
Author

starts as a meme token, soon to be a hit cartoon

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