Verified contractExactMIT
TheJacketStaysOn
Address0x40b2dbc18428fe6a859e91e4ad07e9ba01f899e5
- Balance
0 ETH
- Transactions
19
- Compiler
solc 0.8.28
- Same code
Only this contract
Details
- Compiler
- solc 0.8.28+commit.7893614a
- Language
- solidity
- Optimization
- Yes, 200 runs
- EVM version
- cancun
- License
- MIT
- Match
- Exactcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 26,478,557
- Creation transaction
- 0xb6650fba1f…28f744cba9
TheJacketStaysOn.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.28;
/// @title The Jacket Stays On (JACKET)
/// @notice
/// @custom:website
/// @custom:twitter
/// @custom:telegram
/// @custom:discord
/// @custom:build 1870486734200188769
contract TheJacketStaysOn {
string public name;
string public symbol;
uint8 public constant decimals = 18;
uint256 public totalSupply;
// ---- on-chain metadata: public constants, readable by anyone, immutable after deploy
string public constant DESCRIPTION = "";
string public constant WEBSITE = "";
string public constant TWITTER = "";
string public constant TELEGRAM = "";
string public constant DISCORD = "";
/// @notice the logo itself (data:image/...;base64) so explorers and wallets can render it from the contract
string public constant LOGO = "";
/// @notice OpenSea-style collection metadata (data:application/json;base64) with name, description, image, links
string public constant CONTRACT_URI = "data:application/json;base64,eyJuYW1lIjoiVGhlIEphY2tldCBTdGF5cyBPbiIsInN5bWJvbCI6IkpBQ0tFVCIsImRlc2NyaXB0aW9uIjoiIiwiaW1hZ2UiOiIiLCJleHRlcm5hbF9saW5rIjoiIiwibGlua3MiOnsid2Vic2l0ZSI6IiIsInR3aXR0ZXIiOiIiLCJ0ZWxlZ3JhbSI6IiIsImRpc2NvcmQiOiIifX0=";
uint256 public constant BUILD = 1870486734200188769;
/// @notice Deployer address until renounced. There are no owner-only functions; this exists so scanners can show "renounced".
address public owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
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);
/// @param supply whole tokens; minted once to the deployer, 18 decimals. No owner, no mint, no tax, no pause.
constructor(string memory _name, string memory _symbol, uint256 supply) {
name = _name;
symbol = _symbol;
totalSupply = supply * 1e18;
balanceOf[msg.sender] = totalSupply;
owner = msg.sender;
emit OwnershipTransferred(address(0), msg.sender);
emit Transfer(address(0), msg.sender, totalSupply);
}
/// @notice Give up the (powerless) owner slot so explorers show the token as renounced.
function renounceOwnership() external {
require(msg.sender == owner, "not owner");
emit OwnershipTransferred(owner, address(0));
owner = address(0);
}
function contractURI() external pure returns (string memory) { return CONTRACT_URI; }
function logo() external pure returns (string memory) { return LOGO; }
/// @notice Everything about this token in one call.
function metadata() external view returns (
string memory tokenName, string memory tokenSymbol, string memory description, string memory website,
string memory twitter, string memory telegram, string memory discord, string memory image
) {
return (name, symbol, DESCRIPTION, WEBSITE, TWITTER, TELEGRAM, DISCORD, LOGO);
}
function transfer(address to, uint256 value) external returns (bool) {
_transfer(msg.sender, to, value);
return true;
}
function approve(address spender, uint256 value) external returns (bool) {
allowance[msg.sender][spender] = value;
emit Approval(msg.sender, spender, value);
return true;
}
function transferFrom(address from, address to, uint256 value) external returns (bool) {
uint256 allowed = allowance[from][msg.sender];
if (allowed != type(uint256).max) {
require(allowed >= value, "allowance");
allowance[from][msg.sender] = allowed - value;
}
_transfer(from, to, value);
return true;
}
function _transfer(address from, address to, uint256 value) internal {
require(to != address(0), "zero address");
uint256 bal = balanceOf[from];
require(bal >= value, "balance");
unchecked { balanceOf[from] = bal - value; balanceOf[to] += value; }
emit Transfer(from, to, value);
}
}
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": true
},
"evmVersion": "cancun"
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.