Description:
ERC20 token contract with Factory capabilities. Standard implementation for fungible tokens on Ethereum.
Blockchain: Ethereum
Source Code: View Code On The Blockchain
Solidity Source Code:
{{
"language": "Solidity",
"sources": {
"contracts/SheeitToken.sol": {
"content": "// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
// /**
// #@@@@@@@@@@@@@@@@@@@@@@@@@@%%%%%%%%%%@@%@@%%@@@@@@%%##@@@%%@@@@@@%%%#%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%@@@@@@@@@@@@
// #@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#@@@%%%%%**#%@@@@@@@%%@@@@@##%@@@@@@@@@@@@@@@@@@@@@@@@%@@@@@@@@@@@@
// #@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#@@@@@@@@@@@@@@@@@@@@@@@@@@@@%@@@@@@@@%%%#@@@@@@@@@@@@@@@@@@@@@%@@@@@@@@@@@@
// #@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%%%####%@@@@@@@@@@*+++**#%@@@%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%@@@@@@@@@@@@
// #@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%*%@%##@@@@@@@@@@@@@@@@%%%%@****%%@@@%%%%@%@@@@@@@@@@@@@@@@@@@#@@@@@@@@@@@
// #@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%%@@@@@@@@@@@@@@@@@@@@@@@%%@#@@%%@@%%@@@@%@@@@@@@@@@@@@@@@%@@@@@@@@@@@
// #@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%%##*%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%@@@@@%%%%%@@@@@@@@@@@@@@@%@@@@@@@@@@@
// #@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%##@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%@@@@@@#@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@@@@@@@@@@@@@@@@%%%%%%%%@%%%@@@%@@@@%%@%%%@@@@:+@@@@@@@@@@@@@@@:=@%@@@@@@@@@@@@@%@@@@@@@@@@@@@@@@@@%@@@@@@@@
// @@@@@@@@@@@@@@@@@@@#%@@@@@@@@@@@@@@@%@@@@%%%%%%%@@@:%@@@@@@@@@*+*@@@+:%@@@@@@@@@@@%%@@@@@@@@@@%@#%#@@@@%@@@@@@@@
// @@@@@@@@@@@@@@@@@#%%%@@@@@@@@@@@%%%%@@%%%%%%%####@@@=@@@@@@@@@@%-=*+@@@@@@@@@@@@@@@%@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@%%%%#@@@%%@@@@@@@@@%%%%#%%#@@@@@%#%@@-@@@@@@@@@@#+:=@@@@@@@@@@@@@@@%@@@@@@@@@@@@@@@@@@@%@@@@@@@@
// #@@@@@@@@@@@@@@*##@@@@%%@@#%%@@@@@@@@@%@@@@@@%@@@@%%@##@%+@@@@@@@@@@@@@@@@@@@@@@@@%@@@@@@@@@#%@@@@@@@@@%@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@#%%%%%%%%%@@@@@@@@%@%%%@%#@.%@@@@@@@@@@@@@@@@@@@@@@@@@%%@@@@@@@@@@@@@@@@@@%%#@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@:@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%@@@@@@@@@@@@@@@@@@@
// @@@@@@....@@@@@:@@=@@*@@-@@@%@@@@@+@@-@@@@@-@@#@@@@@@@@@=@@@@@=@@@@@@@@%@@@=@@@@@-@@#@@@@@%@@@=@@-@@+@@@@@@@+@@%
// @@@.........@@@....@-....@@........@@.......@@........@@.......@@........@@.......@@........@@....@@..........@%
// @@@....@@....@@....@@....@@:....@%-@@....@@.@@.....@*%@@....*@.@@.....@*@@@....@@.@@.....@=@@@....@@.@.....@-@@%
// @@@....@@@@@@@@....@@....@@:....@@@@@....@@@@@.....@@@@@....@@@@@.....@@@@@....@@@@@....@@@@@@....@@@@.....@@@@%
// @@@-......@@@@@..........@@:.......@@.......@@........@@.......@@.......:@@.......@@.......%@@....@@@@.....@@@@%
// @@@@@@......@@@..........@@:.......@@.......@@........@@.......@@.......:@@.......@@.......%@@....@@@@.....@@@@%
// @@@.%@@@.....@@....@@....@@:....@@@@@....@@@@@.....@@@@@....@@@@@.....@@@@@....@@@@@....#@@@@@....@@@@.....@@@@%
// @@@....@@....@@....@@....@@:....@@@@@....@@@@@.....@@@@@....@@@@@.....@@@@@....@@@@@....#@@@@@....@@@@.....@@@@%
// @@@..........@@....@@....@@:.......@@........@........@@........@........@@........@........@@....@@*@.....@@@@@
// @@@@*.......@@@....@.....@@........@@........@........@@........@........@@........@........@@....@@*@.....@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// */
//ERC Token Standard #20 Interface
interface ERC20Interface{
function totalSupply()external view returns (uint);
function balance0f(address account) external view returns (uint balance);
function allowance(address owner, address spender) external view returns (uint remaining);
function transfer(address recipient, uint amount) external returns (bool success);
function approve(address spender, uint amount) external returns (bool success);
function transferFrom(address sender, address recipient, uint amount) external returns (bool success);
event Transfer(address indexed from, address indexed to, uint value);
event Approval(address indexed owner, address indexed spender, uint value);
}
//Actual token contract
contract SheeeitCoin is ERC20Interface {
string public symbol;
string public name;
uint8 public decimals;
uint public totalSupply;
mapping(address => uint) balances;
mapping(address => mapping(address => uint256)) allowed;
constructor() {
symbol = "SHT";
name = "Sheeit Coin";
decimals = 18;
totalSupply = 60000000000000000000000000000; // sixty billion coins, with 18 zeros for decimal points
balances [0x039529184362821365406912542FA368e1944FE7] = totalSupply;
emit Transfer (address (0), 0x039529184362821365406912542FA368e1944FE7, totalSupply);
}
function balance0f(address account) public view returns (uint balance) {
return balances [account];
}
function transfer(address recipient, uint amount) public returns (bool success) {
balances [msg.sender] = balances [msg.sender] - amount;
balances [recipient] = balances [recipient] + amount;
emit Transfer(msg.sender, recipient, amount);
return true;
}
function approve(address spender, uint amount) public returns (bool success) {
allowed [msg.sender] [spender] = amount;
emit Approval(msg.sender, spender, amount) ;
return true;
}
function transferFrom(address sender, address recipient, uint amount) public returns (bool success) {
balances [sender] = balances [sender] - amount;
allowed [sender] [msg.sender] = allowed[sender][msg.sender] - amount;
balances [recipient] = balances [recipient] + amount;
emit Transfer (sender, recipient, amount);
return true;
}
function allowance(address owner, address spender) public view returns (uint remaining) {
return allowed[owner][spender];
}
}"
}
},
"settings": {
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"remappings": [],
"evmVersion": "istanbul"
}
}}
Submitted on: 2025-10-10 16:39:54
Comments
Log in to comment.
No comments yet.