Verified contractExactMIT
FeelsGoodToken
Address0x7d7e14ae4e710de1827a21bad904a1938835600d
- Balance
0 ETH
- Transactions
12
- Compiler
solc 0.8.26
- Same code
Only this contract
Details
- Compiler
- solc 0.8.26+commit.8a97fa7a
- Language
- solidity
- Optimization
- Yes, 200 runs
- EVM version
- cancun
- Via IR
- yes
- License
- MIT
- Match
- Exactcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 26,016,191
- Creation transaction
- 0x86d391beb8…528333bf00
FeelsGoodToken.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.26;
// Feels Good Man (FEELSGOOD) — fixed-supply ERC-20, ETH mainnet.
//
// no owner. no mint, no burn, no tax, no fees, no max wallet, no blacklist,
// no pause, no upgrade. the whole supply is minted once to the launch wallet
// and nothing about this contract can ever change.
contract FeelsGoodToken {
string public constant name = "Feels Good Man";
string public constant symbol = "FEELSGOOD";
uint8 public constant decimals = 18;
uint256 public constant totalSupply = 1_000_000_000e18;
string public constant description = "Feels good man. 100% of supply one-sided in a Uniswap v4 pool vs PEPE. No owner, no tax, no max wallet.";
address public constant pepe = 0x6982508145454Ce325dDbE47a25d4ec3d2311933;
string public website;
string public twitter;
mapping(address => uint256) public balanceOf;
mapping(address => mapping(address => uint256)) public allowance;
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
/// deployed via CREATE2 (TokenDeployer) for a vanity address, so the initial
/// holder is passed in explicitly instead of msg.sender.
constructor(address _holder, string memory _website, string memory _twitter) {
website = _website;
twitter = _twitter;
balanceOf[_holder] = totalSupply;
emit Transfer(address(0), _holder, totalSupply);
}
function transfer(address to, uint256 amt) external returns (bool) {
_transfer(msg.sender, to, amt);
return true;
}
function transferFrom(address from, address to, uint256 amt) external returns (bool) {
uint256 allowed = allowance[from][msg.sender];
if (allowed != type(uint256).max) {
require(allowed >= amt, "allowance");
allowance[from][msg.sender] = allowed - amt;
}
_transfer(from, to, amt);
return true;
}
function approve(address spender, uint256 amt) external returns (bool) {
allowance[msg.sender][spender] = amt;
emit Approval(msg.sender, spender, amt);
return true;
}
function _transfer(address from, address to, uint256 amt) internal {
require(balanceOf[from] >= amt, "balance");
balanceOf[from] -= amt;
balanceOf[to] += amt;
emit Transfer(from, to, amt);
}
}
Compiler settingsShow
{
"viaIR": true,
"optimizer": {
"runs": 200,
"enabled": true
},
"evmVersion": "cancun"
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.