ERC-20
Overview
Max Total Supply
1,000,000,000 UWU
Holders
210
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
4,179,694.948889362 UWUValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
UWU
Compiler Version
v0.8.22+commit.4fc1097e
Optimization Enabled:
Yes with 200 runs
Other Settings:
london EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.22; import {IERC20} from "@oz/token/ERC20/IERC20.sol"; import {Ownable} from "@oz/access/Ownable.sol"; import "./IUniswap.sol"; /** * ⠀⠀⠀⠀⠀⠀⢀⡤⣢⠟⢁⣴⣾⡿⠋⢉⠱⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠑⠒⠦⢄⣀⣴⠟⢡⣠⣼⣿⡿⢳⣄⡀⠀⠀ * ⠀⠀⠀⠀⠀⢀⣾⡿⠃⣠⣿⣿⠿⠂⠀⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢲⡿⠋⢰⣾⣿⣿⡟⠀⠀⠈⠙⢆⠀ * ⠀⠀⠀⠀⠀⡜⠻⣷⣾⣿⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⣿⣁⣰⢸⣿⢻⠟⢀⠀⠀⠀⠀⠀⠁ * ⠀⠀⠀⠀⠰⠀⠀⢙⡿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢻⣿⣿⣿⣿⣯⡀⠀⢃⠀⠀⠀⠀⠀ * ⠀⠀⠀⠀⠀⠀⢠⠎⠀⠀⠀⠀⠀⠀⣼⠀⢀⠀⠀⠀⠀⠀⢠⣷⡀⠀⠀⠀⠀⡀⠄⠀⠀⠀⠀⢻⣿⣿⣿⣧⠑⠀⣢⡄⠀⠀⠀⠀ * ⠀⠀⠀⠀⠀⡰⠃⢀⠄⠀⠀⠀⠀⣼⡿⡆⢸⠀⠀⠀⠀⠀⠈⣿⢷⡄⠀⠀⠀⠱⡀⠰⡀⠀⠀⠈⢿⣿⣿⣿⣧⠀⢸⣧⠀⠀⠀⠀ * ⠀⠀⠀⠀⠀⠡⢢⠋⠀⠀⠀⠀⣼⡟⠀⣇⢸⡆⠀⠀⠀⡄⠀⢿⠀⢳⡄⠀⠀⠀⢳⠀⢳⠀⠀⠀⠈⣿⣿⣿⣿⣷⣘⡟⠀⠀⠀⠀ * ⠀⠀⠀⠀⠀⢀⠇⠀⠀⠀⠀⣸⡿⢤⠤⠸⡸⣷⠀⠀⠀⢱⠀⣾⡤⠤⢿⡤⢀⡀⠀⢧⠘⡆⠀⠀⠀⢸⡟⠻⢿⠟⣿⣷⡄⠀⠀⠀ * ⠀⠀⠀⠀⠀⡞⠀⠀⠀⠀⢰⡿⢠⠇⠀⠀⢳⣿⢇⠀⠀⠈⡇⣿⡇⠀⠀⠻⣄⠀⠀⠘⡆⡇⠀⠀⠀⠀⣇⢀⡏⠀⣿⡿⣄⠀⠀⠀ * ⠀⠀⠀⠀⢰⠁⠀⠀⠀⠀⣿⠁⣄⣀⣀⡀⠈⢿⡜⡄⠀⠀⢹⣿⡇⠐⢄⣀⠘⢧⡀⠀⠹⣿⠀⠀⠀⠀⢸⣿⣷⣶⣿⡇⢹⡇⠀⠀ * ⠀⠀⠀⠀⠾⠀⠀⠀⠀⢸⣧⣾⠟⢉⣽⣿⣦⠈⢷⡘⣆⠀⠸⡟⣷⣶⠟⠛⢻⣷⣦⣀⠀⢻⠀⠀⠀⠀⢸⣏⣩⣼⣿⡇⠈⣷⠀⠀ * ⠀⠀⠀⠃⠀⠀⠀⠀⠀⣿⡿⠁⠀⣠⣾⣿⣿⠀⠈⢿⠺⡆⠀⣧⢸⠀⠀⢀⣹⣿⣿⣿⣷⣼⣤⠀⠀⠀⢸⣿⣿⣿⣿⠀⠀⣿⠀⠀ * ⠀⠀⣠⠄⣀⠀⠀⠀⢠⣿⡇⠀⠀⢻⢻⣟⢿⠀⠀⠈⠣⠈⠓⠾⠀⠀⠀⣿⣿⢿⣿⣿⠘⡇⡞⠀⠀⢠⣾⣿⣿⣿⡏⠀⠀⢹⠀⠀ * ⠀⠀⠛⠀⣿⠀⠀⠀⢸⣿⣿⡀⠀⠈⠃⠐⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠸⣄⣐⣠⠏⢠⣿⠁⠀⠀⢸⣿⣿⣿⣿⠀⠀⠀⢸⠀⠀ * ⠀⠀⠀⠀⢹⡆⠰⡀⢸⡟⠩⣷⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⠃⠀⠀⠀⢸⣿⣿⣿⠟⠀⠀⠀⠘⠀⠀ * ⠀⠀⠀⠀⢎⣿⡀⢱⢞⣁⣀⡿⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⠞⡏⡼⠀⠀⠀⣾⣿⠋⠁⠀⠀⠀⠀⠀⠀⠀ * ⠀⠀⠀⠀⠈⠿⠻⡇⠀⠀⠒⠢⢵⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⣽⠁⠀⠀⢠⡿⢹⠀⠀⠀⠀⠀⠀⠀⠀⠀ * ⡀⠀⠀⠀⠀⠀⠀⡟⣦⡀⠀⠀⠀⠈⠓⢄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣴⢿⡇⠀⠀⡄⣸⣇⣼⣀⣀⣀⠀⠀⠀⠀⠀⠀ * ⡀⠀⠀⠀⠀⠀⢰⠇⣿⢸⣦⡀⠀⠀⠀⠀⠈⠲⣄⡀⠀⠀⠀⠀⠀⣀⡤⠒⢉⡴⠃⣸⠀⠀⢰⣿⣿⣿⠃⡤⠊⠁⠉⠑⢄⠀⠀⠀ * ⡇⠀⠀⠀⠀⠀⢸⠀⣿⣾⣿⢿⠲⣄⠀⠀⠀⠀⠘⠟⣦⣤⣴⡒⠉⢀⡠⠖⠉⠀⣠⠃⠀⣠⣿⣿⡿⠁⠊⠀⠀⠀⠀⠀⠀⠀⠀⠀ * ⠀⠀⠀⠀⠀⠀⢸⠀⣿⠛⢿⠈⢢⠏⠀⠀⠀⠀⠀⣰⣏⣀⣿⠗⠊⠁⠀⠀⣠⣾⠃⢀⡴⠿⠛⣿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ * ⠀⠀⠀⠀⠀⠀⢸⢀⠇⠀⠈⢠⠃⠀⠀⠀⠀⠀⢰⠟⠁⠀⢹⢇⠀⣀⠴⠊⡱⠥⠔⠋⠀⠀⢰⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ * ⠀⠀⠀⠀⠀⠀⢸⡟⠀⢀⡴⠁⠀⠀⠀⠀⠀⢠⡟⠀⠀⣰⢿⡘⣾⡅⠀⠀⠀⠀⢀⠄⠀⢠⠏⢀⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ * ⠀⠀⠀⠀⠀⠀⢸⠀⣰⣿⠀⠀⠀⠀⠀⠀⢠⣿⠃⢀⡾⡇⠘⠻⡿⢷⡀⠀⠀⠒⠁⠀⢠⠏⢀⠏⣸⠃⢻⠏⠀⠀⠀⠀⠀⠀⠀⠀ * ⠀⠀⠀⠀⠀⠀⣧⣾⣹⣿⠀⠀⠀⠀⠀⢠⠏⢉⠀⡞⣰⡇⠀⣴⣥⠞⢷⠀⠀⠀⠀⣠⠎⠀⠸⣶⠋⣠⡟⠀⠀⠀⠀⠀⠀⠀⠀⠀ */ contract UWU is IERC20, Ownable { string private constant _name = "MENTALLYSANE"; string private constant _symbol = "UWU"; uint8 private constant _decimals = 9; mapping(address => uint256) private _rOwned; mapping(address => uint256) private _tOwned; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => bool) private _isExcludedFromFee; uint256 private constant MAX = ~uint256(0); uint256 private constant _tTotal = 1_000_000_000 * 10 ** _decimals; uint256 private _rTotal = (MAX - (MAX % _tTotal)); uint256 private _tFeeTotal; uint256 private _redisFeeOnBuy = 0; uint256 private _taxFeeOnBuy = 25; uint256 private _redisFeeOnSell = 0; uint256 private _taxFeeOnSell = 30; uint256 private _redisFee = _redisFeeOnSell; uint256 private _taxFee = _taxFeeOnSell; uint256 private _previousredisFee = _redisFee; uint256 private _previoustaxFee = _taxFee; mapping(address => bool) public bots; mapping(address => uint256) public _buyMap; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; bool private tradingOpen = false; bool private inSwap = false; bool private swapEnabled = true; uint256 public _maxTxAmount = 10_000_000 * 10 ** _decimals; uint256 public _maxWalletSize = 10_000_000 * 10 ** _decimals; uint256 public _swapTokensAtAmount = 10_000 * 10 ** _decimals; uint256 public deployBlock; event MaxTxAmountUpdated(uint256 _maxTxAmount); modifier lockTheSwap() { inSwap = true; _; inSwap = false; } constructor() Ownable(msg.sender) { _rOwned[msg.sender] = _rTotal; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; deployBlock = block.number; emit Transfer(address(0), msg.sender, _tTotal); } function name() public pure returns (string memory) { return _name; } function symbol() public pure returns (string memory) { return _symbol; } function decimals() public pure returns (uint8) { return _decimals; } function totalSupply() public pure override returns (uint256) { return _tTotal; } function balanceOf(address account) public view override returns (uint256) { return tokenFromReflection(_rOwned[account]); } function transfer( address recipient, uint256 amount ) public override returns (bool) { _transfer(msg.sender, recipient, amount); return true; } function allowance( address owner, address spender ) public view override returns (uint256) { return _allowances[owner][spender]; } function approve( address spender, uint256 amount ) public override returns (bool) { _approve(msg.sender, spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public override returns (bool) { require( amount <= _allowances[sender][msg.sender], "ERC20: transfer amount exceeds allowance" ); _allowances[sender][msg.sender] -= amount; _approve(sender, msg.sender, _allowances[sender][msg.sender]); _transfer(sender, recipient, amount); return true; } function tokenFromReflection( uint256 rAmount ) private view returns (uint256) { require( rAmount <= _rTotal, "Amount must be less than total reflections" ); uint256 currentRate = _getRate(); return rAmount / currentRate; } function removeAllFee() private { if (_redisFee == 0 && _taxFee == 0) return; _previousredisFee = _redisFee; _previoustaxFee = _taxFee; _redisFee = 0; _taxFee = 0; } function restoreAllFee() private { _redisFee = _previousredisFee; _taxFee = _previoustaxFee; } function _approve(address owner, address spender, uint256 amount) private { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function _transfer(address from, address to, uint256 amount) private { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); if (from != owner() && to != owner()) { //Trade start check if (!tradingOpen) { require( from == owner(), "TOKEN: This account cannot send tokens until trading is enabled" ); } require(amount <= _maxTxAmount, "TOKEN: Max Transaction Limit"); require( !bots[from] && !bots[to], "TOKEN: Your account is blacklisted!" ); if (to != uniswapV2Pair) { require( balanceOf(to) + amount < _maxWalletSize, "TOKEN: Balance exceeds wallet size!" ); } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= _swapTokensAtAmount; if (contractTokenBalance >= _maxTxAmount) { contractTokenBalance = _maxTxAmount; } if ( canSwap && !inSwap && from != uniswapV2Pair && swapEnabled && !_isExcludedFromFee[from] && !_isExcludedFromFee[to] ) { swapTokensForEth(contractTokenBalance); uint256 contractETHBalance = address(this).balance; if (contractETHBalance > 0) { _sendETHToFee(address(this).balance); } } } bool takeFee = true; //Transfer Tokens if ( (_isExcludedFromFee[from] || _isExcludedFromFee[to]) || (from != uniswapV2Pair && to != uniswapV2Pair) ) { takeFee = false; } else { //Set Fee for Buys if (from == uniswapV2Pair && to != address(uniswapV2Router)) { _redisFee = _redisFeeOnBuy; _taxFee = _taxFeeOnBuy; } //Set Fee for Sells if (to == uniswapV2Pair && from != address(uniswapV2Router)) { _redisFee = _redisFeeOnSell; _taxFee = _taxFeeOnSell; } } _tokenTransfer(from, to, amount, takeFee); } function swapTokensForEth(uint256 tokenAmount) private lockTheSwap { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function _sendETHToFee(uint256 amount) private { payable(owner()).transfer(amount); } function kawaii(bool _tradingOpen) public onlyOwner { tradingOpen = _tradingOpen; } function manualswap() public onlyOwner { uint256 contractTokenBalance = balanceOf(address(this)); if (contractTokenBalance >= _maxTxAmount) { contractTokenBalance = _maxTxAmount; } if (contractTokenBalance > 0) { swapTokensForEth(contractTokenBalance); } } function manualsend() public onlyOwner { _sendETHToFee(address(this).balance); } function blockBots(address[] memory bots_) public onlyOwner { for (uint256 i = 0; i < bots_.length; i++) { bots[bots_[i]] = true; } } function unblockBot(address notbot) public onlyOwner { bots[notbot] = false; } function _tokenTransfer( address sender, address recipient, uint256 amount, bool takeFee ) private { if (!takeFee) removeAllFee(); _transferStandard(sender, recipient, amount); if (!takeFee) restoreAllFee(); } function _transferStandard( address sender, address recipient, uint256 tAmount ) private { ( uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tTeam ) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender] - rAmount; _rOwned[recipient] = _rOwned[recipient] + rTransferAmount; _takeTeam(tTeam); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _takeTeam(uint256 tTeam) private { uint256 currentRate = _getRate(); uint256 rTeam = tTeam * currentRate; _rOwned[address(this)] = _rOwned[address(this)] + rTeam; } function _reflectFee(uint256 rFee, uint256 tFee) private { _rTotal = _rTotal - rFee; _tFeeTotal = _tFeeTotal + tFee; } receive() external payable {} function _getValues( uint256 tAmount ) private view returns (uint256, uint256, uint256, uint256, uint256, uint256) { (uint256 tTransferAmount, uint256 tFee, uint256 tTeam) = _getTValues( tAmount, _redisFee, _taxFee ); uint256 currentRate = _getRate(); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues( tAmount, tFee, tTeam, currentRate ); return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tTeam); } function _getTValues( uint256 tAmount, uint256 redisFee, uint256 taxFee ) private pure returns (uint256, uint256, uint256) { uint256 tFee = (tAmount * redisFee) / 100; uint256 tTeam = (tAmount * taxFee) / 100; uint256 tTransferAmount = tAmount - tFee - tTeam; return (tTransferAmount, tFee, tTeam); } function _getRValues( uint256 tAmount, uint256 tFee, uint256 tTeam, uint256 currentRate ) private pure returns (uint256, uint256, uint256) { uint256 rAmount = tAmount * currentRate; uint256 rFee = tFee * currentRate; uint256 rTeam = tTeam * currentRate; uint256 rTransferAmount = rAmount - rFee - rTeam; return (rAmount, rTransferAmount, rFee); } function _getRate() private view returns (uint256) { (uint256 rSupply, uint256 tSupply) = _getCurrentSupply(); return rSupply / tSupply; } function _getCurrentSupply() private view returns (uint256, uint256) { uint256 rSupply = _rTotal; uint256 tSupply = _tTotal; if (rSupply < _rTotal / _tTotal) return (_rTotal, _tTotal); return (rSupply, tSupply); } function setFee( uint256 redisFeeOnBuy, uint256 redisFeeOnSell, uint256 taxFeeOnBuy, uint256 taxFeeOnSell ) public onlyOwner { _redisFeeOnBuy = redisFeeOnBuy; _redisFeeOnSell = redisFeeOnSell; _taxFeeOnBuy = taxFeeOnBuy; _taxFeeOnSell = taxFeeOnSell; } function setMinSwapTokensThreshold( uint256 swapTokensAtAmount ) public onlyOwner { _swapTokensAtAmount = swapTokensAtAmount; } function toggleSwap(bool _swapEnabled) public onlyOwner { swapEnabled = _swapEnabled; } function setMaxTxnAmount(uint256 maxTxAmount) public onlyOwner { _maxTxAmount = maxTxAmount; } function setMaxWalletSize(uint256 maxWalletSize) public onlyOwner { _maxWalletSize = maxWalletSize; } function removeTaxes() public onlyOwner { require(block.number >= deployBlock + 10, "Not elapsed"); setFee(0, 0, 0, 0); } function excludeMultipleAccountsFromFees( address[] calldata accounts, bool excluded ) public onlyOwner { for (uint256 i = 0; i < accounts.length; i++) { _isExcludedFromFee[accounts[i]] = excluded; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.19; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } interface IWETH { function deposit() external payable; function transfer(address to, uint value) external returns (bool); function withdraw(uint) external; }
{ "remappings": [ "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/", "@oz/=lib/openzeppelin-contracts/contracts/", "ds-test/=lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/", "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/", "forge-std/=lib/openzeppelin-contracts/lib/forge-std/src/", "openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "london", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_maxTxAmount","type":"uint256"}],"name":"MaxTxAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_buyMap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWalletSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"bots_","type":"address[]"}],"name":"blockBots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"bots","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"deployBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeMultipleAccountsFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_tradingOpen","type":"bool"}],"name":"kawaii","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualsend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualswap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"redisFeeOnBuy","type":"uint256"},{"internalType":"uint256","name":"redisFeeOnSell","type":"uint256"},{"internalType":"uint256","name":"taxFeeOnBuy","type":"uint256"},{"internalType":"uint256","name":"taxFeeOnSell","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTxAmount","type":"uint256"}],"name":"setMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxWalletSize","type":"uint256"}],"name":"setMaxWalletSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"swapTokensAtAmount","type":"uint256"}],"name":"setMinSwapTokensThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bool","name":"_swapEnabled","type":"bool"}],"name":"toggleSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"notbot","type":"address"}],"name":"unblockBot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052620000126009600a620004b7565b6200002290633b9aca00620004cf565b6200003090600019620004e9565b6200003e906000196200050c565b6005556000600781905560196008556009818155601e600a818155600b849055600c829055600d93909355600e556012805462ffffff60a01b1916600160b01b1790556200008c91620004b7565b6200009b9062989680620004cf565b601355620000ac6009600a620004b7565b620000bb9062989680620004cf565b601455620000cc6009600a620004b7565b620000da90612710620004cf565b601555348015620000ea57600080fd5b5033806200011257604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6200011d8162000352565b506005543360009081526001602090815260409182902092909255601180546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa1580156200019a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c0919062000522565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200020e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000234919062000522565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000282573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002a8919062000522565b601280546001600160a01b0319166001600160a01b0392831617905560008054909116815260046020526040808220805460ff19908116600190811790925530845291832080549092161790554360165533907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6200032a6009600a620004b7565b6200033a90633b9aca00620004cf565b60405190815260200160405180910390a3506200054d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620003f9578160001904821115620003dd57620003dd620003a2565b80851615620003eb57918102915b93841c9390800290620003bd565b509250929050565b6000826200041257506001620004b1565b816200042157506000620004b1565b81600181146200043a5760028114620004455762000465565b6001915050620004b1565b60ff841115620004595762000459620003a2565b50506001821b620004b1565b5060208310610133831016604e8410600b84101617156200048a575081810a620004b1565b620004968383620003b8565b8060001904821115620004ad57620004ad620003a2565b0290505b92915050565b6000620004c860ff84168362000401565b9392505050565b8082028115828204841417620004b157620004b1620003a2565b6000826200050757634e487b7160e01b600052601260045260246000fd5b500690565b81810381811115620004b157620004b1620003a2565b6000602082840312156200053557600080fd5b81516001600160a01b0381168114620004c857600080fd5b611c17806200055d6000396000f3fe6080604052600436106101e65760003560e01c806374010ece11610102578063a3ec191a11610095578063c492f04611610064578063c492f04614610595578063dd62ed3e146105b5578063ea1644d5146105fb578063f2fde38b1461061b57600080fd5b8063a3ec191a1461051a578063a9059cbb14610530578063bfd7928414610550578063c3c8cd801461058057600080fd5b80638f9a55c0116100d15780638f9a55c01461049857806395d89b41146104ae57806398a5c315146104da578063a2a957bb146104fa57600080fd5b806374010ece146104175780637d1db4a5146104375780637f2feddc1461044d5780638da5cb5b1461047a57600080fd5b80633be2156c1161017a5780636d8aa8f8116101495780636d8aa8f8146103ad5780636fc3eaec146103cd57806370a08231146103e2578063715018a61461040257600080fd5b80633be2156c1461033857806349bd5a5e1461035857806369e1ea7f146103785780636b9990531461038d57600080fd5b806318160ddd116101b657806318160ddd146102c357806323b872dd146102e65780632fd689e314610306578063313ce5671461031c57600080fd5b8062b8cf2a146101f257806306fdde0314610214578063095ea7b31461025b5780631694505e1461028b57600080fd5b366101ed57005b600080fd5b3480156101fe57600080fd5b5061021261020d366004611702565b61063b565b005b34801561022057600080fd5b5060408051808201909152600c81526b4d454e54414c4c5953414e4560a01b60208201525b60405161025291906117c7565b60405180910390f35b34801561026757600080fd5b5061027b610276366004611816565b6106a5565b6040519015158152602001610252565b34801561029757600080fd5b506011546102ab906001600160a01b031681565b6040516001600160a01b039091168152602001610252565b3480156102cf57600080fd5b506102d86106bc565b604051908152602001610252565b3480156102f257600080fd5b5061027b610301366004611842565b6106dd565b34801561031257600080fd5b506102d860155481565b34801561032857600080fd5b5060405160098152602001610252565b34801561034457600080fd5b50610212610353366004611893565b6107e3565b34801561036457600080fd5b506012546102ab906001600160a01b031681565b34801561038457600080fd5b50610212610809565b34801561039957600080fd5b506102126103a83660046118ae565b61086c565b3480156103b957600080fd5b506102126103c8366004611893565b610895565b3480156103d957600080fd5b506102126108bb565b3480156103ee57600080fd5b506102d86103fd3660046118ae565b6108cc565b34801561040e57600080fd5b506102126108ee565b34801561042357600080fd5b506102126104323660046118cb565b610900565b34801561044357600080fd5b506102d860135481565b34801561045957600080fd5b506102d86104683660046118ae565b60106020526000908152604090205481565b34801561048657600080fd5b506000546001600160a01b03166102ab565b3480156104a457600080fd5b506102d860145481565b3480156104ba57600080fd5b5060408051808201909152600381526255575560e81b6020820152610245565b3480156104e657600080fd5b506102126104f53660046118cb565b61090d565b34801561050657600080fd5b506102126105153660046118e4565b61091a565b34801561052657600080fd5b506102d860165481565b34801561053c57600080fd5b5061027b61054b366004611816565b610936565b34801561055c57600080fd5b5061027b61056b3660046118ae565b600f6020526000908152604090205460ff1681565b34801561058c57600080fd5b50610212610943565b3480156105a157600080fd5b506102126105b0366004611916565b610978565b3480156105c157600080fd5b506102d86105d036600461199a565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b34801561060757600080fd5b506102126106163660046118cb565b6109ed565b34801561062757600080fd5b506102126106363660046118ae565b6109fa565b610643610a35565b60005b81518110156106a1576001600f6000848481518110610667576106676119d3565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055600101610646565b5050565b60006106b2338484610a62565b5060015b92915050565b60006106ca6009600a611ae3565b6106d890633b9aca00611af2565b905090565b6001600160a01b03831660009081526003602090815260408083203384529091528120548211156107665760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6001600160a01b038416600090815260036020908152604080832033845290915281208054849290610799908490611b09565b90915550506001600160a01b0384166000908152600360209081526040808320338085529252909120546107ce918691610a62565b6107d9848484610b86565b5060019392505050565b6107eb610a35565b60128054911515600160a01b0260ff60a01b19909216919091179055565b610811610a35565b60165461081f90600a611b1c565b43101561085c5760405162461bcd60e51b815260206004820152600b60248201526a139bdd08195b185c1cd95960aa1b604482015260640161075d565b61086a60008060008061091a565b565b610874610a35565b6001600160a01b03166000908152600f60205260409020805460ff19169055565b61089d610a35565b60128054911515600160b01b0260ff60b01b19909216919091179055565b6108c3610a35565b61086a476110c2565b6001600160a01b0381166000908152600160205260408120546106b6906110fb565b6108f6610a35565b61086a600061117f565b610908610a35565b601355565b610915610a35565b601555565b610922610a35565b600793909355600991909155600855600a55565b60006106b2338484610b86565b61094b610a35565b6000610956306108cc565b9050601354811061096657506013545b801561097557610975816111cf565b50565b610980610a35565b60005b828110156109e75781600460008686858181106109a2576109a26119d3565b90506020020160208101906109b791906118ae565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101610983565b50505050565b6109f5610a35565b601455565b610a02610a35565b6001600160a01b038116610a2c57604051631e4fbdf760e01b81526000600482015260240161075d565b6109758161117f565b6000546001600160a01b0316331461086a5760405163118cdaa760e01b815233600482015260240161075d565b6001600160a01b038316610ac45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161075d565b6001600160a01b038216610b255760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161075d565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610bea5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161075d565b6001600160a01b038216610c4c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161075d565b60008111610cae5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161075d565b6000546001600160a01b03848116911614801590610cda57506000546001600160a01b03838116911614155b15610fbb57601254600160a01b900460ff16610d73576000546001600160a01b03848116911614610d735760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c656400606482015260840161075d565b601354811115610dc55760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d697400000000604482015260640161075d565b6001600160a01b0383166000908152600f602052604090205460ff16158015610e0757506001600160a01b0382166000908152600f602052604090205460ff16155b610e5f5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b606482015260840161075d565b6012546001600160a01b03838116911614610ee45760145481610e81846108cc565b610e8b9190611b1c565b10610ee45760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b606482015260840161075d565b6000610eef306108cc565b601554601354919250821015908210610f085760135491505b808015610f1f5750601254600160a81b900460ff16155b8015610f3957506012546001600160a01b03868116911614155b8015610f4e5750601254600160b01b900460ff165b8015610f7357506001600160a01b03851660009081526004602052604090205460ff16155b8015610f9857506001600160a01b03841660009081526004602052604090205460ff16155b15610fb857610fa6826111cf565b478015610fb657610fb6476110c2565b505b50505b6001600160a01b03831660009081526004602052604090205460019060ff1680610ffd57506001600160a01b03831660009081526004602052604090205460ff165b8061102f57506012546001600160a01b0385811691161480159061102f57506012546001600160a01b03848116911614155b1561103c575060006110b6565b6012546001600160a01b03858116911614801561106757506011546001600160a01b03848116911614155b1561107957600754600b55600854600c555b6012546001600160a01b0384811691161480156110a457506011546001600160a01b03858116911614155b156110b657600954600b55600a54600c555b6109e784848484611349565b600080546040516001600160a01b039091169183156108fc02918491818181858888f193505050501580156106a1573d6000803e3d6000fd5b60006005548211156111625760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b606482015260840161075d565b600061116c611377565b90506111788184611b2f565b9392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6012805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110611217576112176119d3565b6001600160a01b03928316602091820292909201810191909152601154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611270573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112949190611b51565b816001815181106112a7576112a76119d3565b6001600160a01b0392831660209182029290920101526011546112cd9130911684610a62565b60115460405163791ac94760e01b81526001600160a01b039091169063791ac94790611306908590600090869030904290600401611b6e565b600060405180830381600087803b15801561132057600080fd5b505af1158015611334573d6000803e3d6000fd5b50506012805460ff60a81b1916905550505050565b806113565761135661139a565b6113618484846113c8565b806109e7576109e7600d54600b55600e54600c55565b60008060006113846114c1565b90925090506113938183611b2f565b9250505090565b600b541580156113aa5750600c54155b156113b157565b600b8054600d55600c8054600e5560009182905555565b6000806000806000806113da87611544565b6001600160a01b038f16600090815260016020526040902054959b5093995091975095509350915061140d908790611b09565b6001600160a01b03808b1660009081526001602052604080822093909355908a168152205461143d908690611b1c565b6001600160a01b03891660009081526001602052604090205561145f816115a1565b61146984836115ec565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516114ae91815260200190565b60405180910390a3505050505050505050565b6005546000908190816114d66009600a611ae3565b6114e490633b9aca00611af2565b90506114f26009600a611ae3565b61150090633b9aca00611af2565b60055461150d9190611b2f565b82101561153b576005546115236009600a611ae3565b61153190633b9aca00611af2565b9350935050509091565b90939092509050565b60008060008060008060008060006115618a600b54600c54611612565b9250925092506000611571611377565b905060008060006115848e878787611670565b919e509c509a509598509396509194505050505091939550919395565b60006115ab611377565b905060006115b98284611af2565b306000908152600160205260409020549091506115d7908290611b1c565b30600090815260016020526040902055505050565b816005546115fa9190611b09565b60055560065461160b908290611b1c565b6006555050565b600080808060646116238789611af2565b61162d9190611b2f565b90506000606461163d878a611af2565b6116479190611b2f565b9050600081611656848b611b09565b6116609190611b09565b9992985090965090945050505050565b600080808061167f8589611af2565b9050600061168d8689611af2565b9050600061169b8789611af2565b90506000816116aa8486611b09565b6116b49190611b09565b939b939a50919850919650505050505050565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461097557600080fd5b80356116fd816116dd565b919050565b6000602080838503121561171557600080fd5b823567ffffffffffffffff8082111561172d57600080fd5b818501915085601f83011261174157600080fd5b813581811115611753576117536116c7565b8060051b604051601f19603f83011681018181108582111715611778576117786116c7565b60405291825284820192508381018501918883111561179657600080fd5b938501935b828510156117bb576117ac856116f2565b8452938501939285019261179b565b98975050505050505050565b60006020808352835180602085015260005b818110156117f5578581018301518582016040015282016117d9565b506000604082860101526040601f19601f8301168501019250505092915050565b6000806040838503121561182957600080fd5b8235611834816116dd565b946020939093013593505050565b60008060006060848603121561185757600080fd5b8335611862816116dd565b92506020840135611872816116dd565b929592945050506040919091013590565b803580151581146116fd57600080fd5b6000602082840312156118a557600080fd5b61117882611883565b6000602082840312156118c057600080fd5b8135611178816116dd565b6000602082840312156118dd57600080fd5b5035919050565b600080600080608085870312156118fa57600080fd5b5050823594602084013594506040840135936060013592509050565b60008060006040848603121561192b57600080fd5b833567ffffffffffffffff8082111561194357600080fd5b818601915086601f83011261195757600080fd5b81358181111561196657600080fd5b8760208260051b850101111561197b57600080fd5b6020928301955093506119919186019050611883565b90509250925092565b600080604083850312156119ad57600080fd5b82356119b8816116dd565b915060208301356119c8816116dd565b809150509250929050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600181815b80851115611a3a578160001904821115611a2057611a206119e9565b80851615611a2d57918102915b93841c9390800290611a04565b509250929050565b600082611a51575060016106b6565b81611a5e575060006106b6565b8160018114611a745760028114611a7e57611a9a565b60019150506106b6565b60ff841115611a8f57611a8f6119e9565b50506001821b6106b6565b5060208310610133831016604e8410600b8410161715611abd575081810a6106b6565b611ac783836119ff565b8060001904821115611adb57611adb6119e9565b029392505050565b600061117860ff841683611a42565b80820281158282048414176106b6576106b66119e9565b818103818111156106b6576106b66119e9565b808201808211156106b6576106b66119e9565b600082611b4c57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611b6357600080fd5b8151611178816116dd565b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b81811015611bc05784516001600160a01b031683529383019391830191600101611b9b565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212200e860650e3650445ad257cecab6dc220c1dc9443e16c4695766bdc40913e36eb64736f6c63430008160033
Deployed Bytecode
0x6080604052600436106101e65760003560e01c806374010ece11610102578063a3ec191a11610095578063c492f04611610064578063c492f04614610595578063dd62ed3e146105b5578063ea1644d5146105fb578063f2fde38b1461061b57600080fd5b8063a3ec191a1461051a578063a9059cbb14610530578063bfd7928414610550578063c3c8cd801461058057600080fd5b80638f9a55c0116100d15780638f9a55c01461049857806395d89b41146104ae57806398a5c315146104da578063a2a957bb146104fa57600080fd5b806374010ece146104175780637d1db4a5146104375780637f2feddc1461044d5780638da5cb5b1461047a57600080fd5b80633be2156c1161017a5780636d8aa8f8116101495780636d8aa8f8146103ad5780636fc3eaec146103cd57806370a08231146103e2578063715018a61461040257600080fd5b80633be2156c1461033857806349bd5a5e1461035857806369e1ea7f146103785780636b9990531461038d57600080fd5b806318160ddd116101b657806318160ddd146102c357806323b872dd146102e65780632fd689e314610306578063313ce5671461031c57600080fd5b8062b8cf2a146101f257806306fdde0314610214578063095ea7b31461025b5780631694505e1461028b57600080fd5b366101ed57005b600080fd5b3480156101fe57600080fd5b5061021261020d366004611702565b61063b565b005b34801561022057600080fd5b5060408051808201909152600c81526b4d454e54414c4c5953414e4560a01b60208201525b60405161025291906117c7565b60405180910390f35b34801561026757600080fd5b5061027b610276366004611816565b6106a5565b6040519015158152602001610252565b34801561029757600080fd5b506011546102ab906001600160a01b031681565b6040516001600160a01b039091168152602001610252565b3480156102cf57600080fd5b506102d86106bc565b604051908152602001610252565b3480156102f257600080fd5b5061027b610301366004611842565b6106dd565b34801561031257600080fd5b506102d860155481565b34801561032857600080fd5b5060405160098152602001610252565b34801561034457600080fd5b50610212610353366004611893565b6107e3565b34801561036457600080fd5b506012546102ab906001600160a01b031681565b34801561038457600080fd5b50610212610809565b34801561039957600080fd5b506102126103a83660046118ae565b61086c565b3480156103b957600080fd5b506102126103c8366004611893565b610895565b3480156103d957600080fd5b506102126108bb565b3480156103ee57600080fd5b506102d86103fd3660046118ae565b6108cc565b34801561040e57600080fd5b506102126108ee565b34801561042357600080fd5b506102126104323660046118cb565b610900565b34801561044357600080fd5b506102d860135481565b34801561045957600080fd5b506102d86104683660046118ae565b60106020526000908152604090205481565b34801561048657600080fd5b506000546001600160a01b03166102ab565b3480156104a457600080fd5b506102d860145481565b3480156104ba57600080fd5b5060408051808201909152600381526255575560e81b6020820152610245565b3480156104e657600080fd5b506102126104f53660046118cb565b61090d565b34801561050657600080fd5b506102126105153660046118e4565b61091a565b34801561052657600080fd5b506102d860165481565b34801561053c57600080fd5b5061027b61054b366004611816565b610936565b34801561055c57600080fd5b5061027b61056b3660046118ae565b600f6020526000908152604090205460ff1681565b34801561058c57600080fd5b50610212610943565b3480156105a157600080fd5b506102126105b0366004611916565b610978565b3480156105c157600080fd5b506102d86105d036600461199a565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b34801561060757600080fd5b506102126106163660046118cb565b6109ed565b34801561062757600080fd5b506102126106363660046118ae565b6109fa565b610643610a35565b60005b81518110156106a1576001600f6000848481518110610667576106676119d3565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055600101610646565b5050565b60006106b2338484610a62565b5060015b92915050565b60006106ca6009600a611ae3565b6106d890633b9aca00611af2565b905090565b6001600160a01b03831660009081526003602090815260408083203384529091528120548211156107665760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6001600160a01b038416600090815260036020908152604080832033845290915281208054849290610799908490611b09565b90915550506001600160a01b0384166000908152600360209081526040808320338085529252909120546107ce918691610a62565b6107d9848484610b86565b5060019392505050565b6107eb610a35565b60128054911515600160a01b0260ff60a01b19909216919091179055565b610811610a35565b60165461081f90600a611b1c565b43101561085c5760405162461bcd60e51b815260206004820152600b60248201526a139bdd08195b185c1cd95960aa1b604482015260640161075d565b61086a60008060008061091a565b565b610874610a35565b6001600160a01b03166000908152600f60205260409020805460ff19169055565b61089d610a35565b60128054911515600160b01b0260ff60b01b19909216919091179055565b6108c3610a35565b61086a476110c2565b6001600160a01b0381166000908152600160205260408120546106b6906110fb565b6108f6610a35565b61086a600061117f565b610908610a35565b601355565b610915610a35565b601555565b610922610a35565b600793909355600991909155600855600a55565b60006106b2338484610b86565b61094b610a35565b6000610956306108cc565b9050601354811061096657506013545b801561097557610975816111cf565b50565b610980610a35565b60005b828110156109e75781600460008686858181106109a2576109a26119d3565b90506020020160208101906109b791906118ae565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101610983565b50505050565b6109f5610a35565b601455565b610a02610a35565b6001600160a01b038116610a2c57604051631e4fbdf760e01b81526000600482015260240161075d565b6109758161117f565b6000546001600160a01b0316331461086a5760405163118cdaa760e01b815233600482015260240161075d565b6001600160a01b038316610ac45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161075d565b6001600160a01b038216610b255760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161075d565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610bea5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161075d565b6001600160a01b038216610c4c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161075d565b60008111610cae5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161075d565b6000546001600160a01b03848116911614801590610cda57506000546001600160a01b03838116911614155b15610fbb57601254600160a01b900460ff16610d73576000546001600160a01b03848116911614610d735760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c656400606482015260840161075d565b601354811115610dc55760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d697400000000604482015260640161075d565b6001600160a01b0383166000908152600f602052604090205460ff16158015610e0757506001600160a01b0382166000908152600f602052604090205460ff16155b610e5f5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b606482015260840161075d565b6012546001600160a01b03838116911614610ee45760145481610e81846108cc565b610e8b9190611b1c565b10610ee45760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b606482015260840161075d565b6000610eef306108cc565b601554601354919250821015908210610f085760135491505b808015610f1f5750601254600160a81b900460ff16155b8015610f3957506012546001600160a01b03868116911614155b8015610f4e5750601254600160b01b900460ff165b8015610f7357506001600160a01b03851660009081526004602052604090205460ff16155b8015610f9857506001600160a01b03841660009081526004602052604090205460ff16155b15610fb857610fa6826111cf565b478015610fb657610fb6476110c2565b505b50505b6001600160a01b03831660009081526004602052604090205460019060ff1680610ffd57506001600160a01b03831660009081526004602052604090205460ff165b8061102f57506012546001600160a01b0385811691161480159061102f57506012546001600160a01b03848116911614155b1561103c575060006110b6565b6012546001600160a01b03858116911614801561106757506011546001600160a01b03848116911614155b1561107957600754600b55600854600c555b6012546001600160a01b0384811691161480156110a457506011546001600160a01b03858116911614155b156110b657600954600b55600a54600c555b6109e784848484611349565b600080546040516001600160a01b039091169183156108fc02918491818181858888f193505050501580156106a1573d6000803e3d6000fd5b60006005548211156111625760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b606482015260840161075d565b600061116c611377565b90506111788184611b2f565b9392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6012805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110611217576112176119d3565b6001600160a01b03928316602091820292909201810191909152601154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611270573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112949190611b51565b816001815181106112a7576112a76119d3565b6001600160a01b0392831660209182029290920101526011546112cd9130911684610a62565b60115460405163791ac94760e01b81526001600160a01b039091169063791ac94790611306908590600090869030904290600401611b6e565b600060405180830381600087803b15801561132057600080fd5b505af1158015611334573d6000803e3d6000fd5b50506012805460ff60a81b1916905550505050565b806113565761135661139a565b6113618484846113c8565b806109e7576109e7600d54600b55600e54600c55565b60008060006113846114c1565b90925090506113938183611b2f565b9250505090565b600b541580156113aa5750600c54155b156113b157565b600b8054600d55600c8054600e5560009182905555565b6000806000806000806113da87611544565b6001600160a01b038f16600090815260016020526040902054959b5093995091975095509350915061140d908790611b09565b6001600160a01b03808b1660009081526001602052604080822093909355908a168152205461143d908690611b1c565b6001600160a01b03891660009081526001602052604090205561145f816115a1565b61146984836115ec565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516114ae91815260200190565b60405180910390a3505050505050505050565b6005546000908190816114d66009600a611ae3565b6114e490633b9aca00611af2565b90506114f26009600a611ae3565b61150090633b9aca00611af2565b60055461150d9190611b2f565b82101561153b576005546115236009600a611ae3565b61153190633b9aca00611af2565b9350935050509091565b90939092509050565b60008060008060008060008060006115618a600b54600c54611612565b9250925092506000611571611377565b905060008060006115848e878787611670565b919e509c509a509598509396509194505050505091939550919395565b60006115ab611377565b905060006115b98284611af2565b306000908152600160205260409020549091506115d7908290611b1c565b30600090815260016020526040902055505050565b816005546115fa9190611b09565b60055560065461160b908290611b1c565b6006555050565b600080808060646116238789611af2565b61162d9190611b2f565b90506000606461163d878a611af2565b6116479190611b2f565b9050600081611656848b611b09565b6116609190611b09565b9992985090965090945050505050565b600080808061167f8589611af2565b9050600061168d8689611af2565b9050600061169b8789611af2565b90506000816116aa8486611b09565b6116b49190611b09565b939b939a50919850919650505050505050565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461097557600080fd5b80356116fd816116dd565b919050565b6000602080838503121561171557600080fd5b823567ffffffffffffffff8082111561172d57600080fd5b818501915085601f83011261174157600080fd5b813581811115611753576117536116c7565b8060051b604051601f19603f83011681018181108582111715611778576117786116c7565b60405291825284820192508381018501918883111561179657600080fd5b938501935b828510156117bb576117ac856116f2565b8452938501939285019261179b565b98975050505050505050565b60006020808352835180602085015260005b818110156117f5578581018301518582016040015282016117d9565b506000604082860101526040601f19601f8301168501019250505092915050565b6000806040838503121561182957600080fd5b8235611834816116dd565b946020939093013593505050565b60008060006060848603121561185757600080fd5b8335611862816116dd565b92506020840135611872816116dd565b929592945050506040919091013590565b803580151581146116fd57600080fd5b6000602082840312156118a557600080fd5b61117882611883565b6000602082840312156118c057600080fd5b8135611178816116dd565b6000602082840312156118dd57600080fd5b5035919050565b600080600080608085870312156118fa57600080fd5b5050823594602084013594506040840135936060013592509050565b60008060006040848603121561192b57600080fd5b833567ffffffffffffffff8082111561194357600080fd5b818601915086601f83011261195757600080fd5b81358181111561196657600080fd5b8760208260051b850101111561197b57600080fd5b6020928301955093506119919186019050611883565b90509250925092565b600080604083850312156119ad57600080fd5b82356119b8816116dd565b915060208301356119c8816116dd565b809150509250929050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600181815b80851115611a3a578160001904821115611a2057611a206119e9565b80851615611a2d57918102915b93841c9390800290611a04565b509250929050565b600082611a51575060016106b6565b81611a5e575060006106b6565b8160018114611a745760028114611a7e57611a9a565b60019150506106b6565b60ff841115611a8f57611a8f6119e9565b50506001821b6106b6565b5060208310610133831016604e8410600b8410161715611abd575081810a6106b6565b611ac783836119ff565b8060001904821115611adb57611adb6119e9565b029392505050565b600061117860ff841683611a42565b80820281158282048414176106b6576106b66119e9565b818103818111156106b6576106b66119e9565b808201808211156106b6576106b66119e9565b600082611b4c57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611b6357600080fd5b8151611178816116dd565b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b81811015611bc05784516001600160a01b031683529383019391830191600101611b9b565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212200e860650e3650445ad257cecab6dc220c1dc9443e16c4695766bdc40913e36eb64736f6c63430008160033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.