Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
420,690,000,000,000 PPP
Holders
78
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.81298889014927256 PPPValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PepePoolParty
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* TG: https://t.me/PPPPortal WEBSITE: https://pepepool.party TWITTER: https://twitter.com/PEPE_Pool_Party TAX: 1.5% / 1.5% (All taxes go to automated Liquidity provisioning, 1% to $PEPE .5% to $PPP.) :~7??77?!^. ?YJYYYYYY55Y?~ !YJJJ?JJJJJYYY5J: .:^~YYJJJJJJJJJYYYY5J !JYYYYYY5YYYYYJJJYYYYYJ .^!JYYYYYYYYYYY555YYY5^ .!JY55555555Y5555555YY7 .!~^?BPGPYJJYP55555YYYYY7. ^!~!GGBY!^.:GGBBJY55YYY5Y! .75YYYYY5YJYPPPYYYYYYYYYY! :?YYYYYYYYYYYYYYYYYYYYYYYYY^ .!?YP555555555555P555YYYYYY! !7?BBBBBBBBGGGPPP55555YYYY7 :^7Y555555555YYYYYYYYYYYYJ^ :!YYYYYYYYYYYYYYYYYY5~ .^~?YYYYYYYYYYYYYYYYYYYY7: :~!!!JY5YYYYYYYYYYYYYYYYYYYYYYYY?^ :~~!!!!!Y5YYYYYYYYYYYYYYYYYYYYYYYYYYY?: .J?!!!~JYYYYYYYYYYYYYYYYYYYYYYYYY5YYYY57~~. .?5P7!!75YYYYYYYYYYYYYYYYYYYYYYYYYJ.^YYJ?!7J: .^?YJJJ?J?J5YYYYYYYYYYYYYYYYYYYY5YYY?^!7!!~!!!J ~??!~^^^~^^75YYYYYYYYYYYYY5YY5P555YYY!^?!!!!!!!J. ^!~Y7^^^^^^!5YYYYYYYYY5YYYYYYYYYYYYYYY: 7!!~~!?J: !~~5!^^^^^~YYYYYYYYYYYYYYYYYYYYYYYYYYY? :77JY55^ !~^~^^^^^^75YYYYYYYYYYYYYYYYYYYYYYYYYYY: .^5YYJ :7^^!~^^^^JYYYYYYYYYYYYYYYYYYYYYYYYYYYY: !YY5~ ^!~75J~^^JYYYYYYYYYYYYYYYYYYYYYYYYYYYJ. :YYYJ :~~77~~~YYYYYYY5P5YYYYYYYYYYYYYYYYYY7 .JYYY: .... ~YYYYYYYYYYYYYYYYYYYYYYYYYYY: 7YYY~ ?YYYYYYYYYYYYYYYYYYYYYYY5YY.75YYY. .!YYYYYYYYYYYYYYYY55Y5555P?~GYYY5Y7 !P5P5P555555555555555555..7Y!Y?:^ :5Y5555PPP5YY55555555YPJ . . ^PYYYYYYYP^. 7YYYYYYYY5~ :5YYYYYYYY !YYYYYYYYY. YYYYYYYP7 7YYYYYYYY^ ~5YYYYYJ. 75YYYYYY! ?5YYY5^ :YYYYYY? 7YYYY. .75YYY^ .5YY5: !5YY? .5YY5: 75Y5: ^PYY5: ~5Y5^ 75YY5: ^5Y5! :55YY5~ .YYYJ ..:~7JYY5YY5! .5YY5^ ^7YYYYYYYYYYY7~. :Y55Y5: ^75YY5PYY5J~. ~5YYYY? .::!77^ .J5YYYYY7 :YY5J5YY7 .....:. */ pragma solidity 0.8.19; import "./dependencies/IUniswapV2Pair.sol"; import "./dependencies/IUniswapV2Factory.sol"; import "./dependencies/ERC20.sol"; import "./dependencies/Ownable.sol"; import "./dependencies/IUniswapV2Router02.sol"; import "./dependencies/PepeToken.sol"; contract PepePoolParty is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; bool private swapping; address public devWallet; address public lpWallet; uint256 public maxTransactionAmount; uint256 public swapTokensAtAmount; uint256 public maxWallet; bool public limitsInEffect = true; bool public tradingActive = false; bool public swapEnabled = false; uint256 public launchTime; uint256 private buyTotalFees; uint256 public buyLiquidityFee; uint256 public buyPepeFee; uint256 private sellTotalFees; uint256 public sellLiquidityFee; uint256 public sellPepeFee; uint256 public tokensForLiquidity; uint256 public tokensForPepe; uint256 public ethForPepe; PepeToken public pepeToken; /******************/ // exlcude from fees and max transaction amount mapping (address => bool) private _isExcludedFromFees; mapping (address => bool) public _isExcludedMaxTransactionAmount; // store addresses that a automatic market maker pairs. Any transfer *to* these addresses // could be subject to a maximum transfer amount mapping (address => bool) public automatedMarketMakerPairs; event UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress); event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event PepeLiquidityAdded(uint256 indexed pepeTokensAdded, uint256 indexed ethAdded); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity ); constructor() ERC20("Pepe Pool Party", "PPP") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); pepeToken = PepeToken(0x6982508145454Ce325dDbE47a25d4ec3d2311933); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH()); excludeFromMaxTransaction(address(uniswapV2Pair), true); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); // Fees are in 10ths of a percent e.g; 12 = 1.2% uint256 _buyLiquidityFee = 5; uint256 _buyPepeFee = 10; uint256 _sellLiquidityFee = 5; uint256 _sellPepeFee = 10; uint256 totalSupply = 42069 * 1e10 * 1e18; maxTransactionAmount = totalSupply * 25 / 1000; // 2.5% Of token supply per transaction (to be disabled sometime after launch this allows for fair entries) maxWallet = totalSupply * 25 / 1000; // 2.5% maxWallet swapTokensAtAmount = totalSupply * 5 / 10000; // Swap when contract has 0.05% of supply buyLiquidityFee = _buyLiquidityFee; buyPepeFee = _buyPepeFee; buyTotalFees = buyLiquidityFee + buyPepeFee; sellLiquidityFee = _sellLiquidityFee; sellPepeFee = _sellPepeFee; sellTotalFees = sellLiquidityFee + sellPepeFee; devWallet = address(owner()); // To clean up excess eth if price changes during liquidity provisioning lpWallet = address(0xdead); // set burn address to receive minted LP tokens // exclude from paying fees or having max transaction amount excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); /* _mint is an internal function in ERC20.sol that is only called here, and CANNOT be called ever again */ _mint(msg.sender, totalSupply); } receive() external payable { } // once enabled, can never be turned off function enableTrading() external onlyOwner { tradingActive = true; swapEnabled = true; launchTime = block.timestamp; } // remove limits permanently function removeLimits() external onlyOwner returns (bool){ limitsInEffect = false; return limitsInEffect; } // change the minimum amount of tokens to sell from fees function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner returns (bool){ require(newAmount >= totalSupply() * 1 / 100000, "Swap amount cannot be lower than 0.001% total supply."); require(newAmount <= totalSupply() * 5 / 1000, "Swap amount cannot be higher than 0.5% total supply."); swapTokensAtAmount = newAmount; return true; } function updateMaxTxnAmount(uint256 newNum) external onlyOwner { require(newNum >= (totalSupply() * 1 / 100)/1e18, "Cannot set maxTransactionAmount lower than 1%"); maxTransactionAmount = newNum * (10**18); } function updateMaxWalletAmount(uint256 newNum) external onlyOwner { require(newNum >= (totalSupply() * 25 / 1000)/1e18, "Cannot set maxWallet lower than 2.5%"); maxWallet = newNum * (10**18); } function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require(pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs"); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function isExcludedFromFees(address account) public view returns(bool) { return _isExcludedFromFees[account]; } function checkSellTotalFees() public view returns(uint256) { return sellTotalFees; } function checkBuyTotalFees() public view returns(uint256) { return buyTotalFees; } event BoughtEarly(address indexed sniper); function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if(amount == 0) { super._transfer(from, to, 0); return; } if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping ){ if(limitsInEffect){ if(!tradingActive){ require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active."); } //when buy if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) { require(amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount."); require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded"); } //when sell else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]) { require(amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount."); } else if(!_isExcludedMaxTransactionAmount[to]){ require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded"); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if( canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(); swapping = false; } bool takeFee = !swapping; // if either address belongs to _isExcludedFromFee account then remove the fee if(_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; // only take fees on buys/sells, do not take on wallet transfers if(takeFee){ // on sell if (automatedMarketMakerPairs[to] && sellTotalFees > 0){ fees = amount.mul(sellTotalFees).div(1000); tokensForLiquidity += fees * sellLiquidityFee / sellTotalFees; tokensForPepe += fees * sellPepeFee / sellTotalFees; } // on buy else if(automatedMarketMakerPairs[from] && buyTotalFees > 0) { fees = amount.mul(buyTotalFees).div(1000); // Burns are not accounted for in buyTotalFees internal value tokensForLiquidity += fees * buyLiquidityFee / buyTotalFees; tokensForPepe += fees * buyPepeFee / buyTotalFees; } if(fees > 0){ super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function swapEthForPepe(uint256 ethAmt) private { address [] memory path = new address[](2); path[0] = uniswapV2Router.WETH(); path[1] = address(pepeToken); // Pepe Contract Address _approve(address(this), address(uniswapV2Router), ethAmt); uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmt}( 0, path, address(this), block.timestamp ); } function addPepeLiquidity(uint256 pepeAmount, uint256 ethAmount) private { // Approve pepe token spend pepeToken.approve(address(uniswapV2Router), pepeAmount); uniswapV2Router.addLiquidityETH{value: ethAmount}( address(pepeToken), pepeAmount, 0, 0, address(0xdead), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapV2Router), tokenAmount); // add the liquidity uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable lpWallet, block.timestamp ); } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = tokensForLiquidity + tokensForPepe; bool success; if(contractBalance == 0 || totalTokensToSwap == 0) {return;} if(contractBalance > swapTokensAtAmount * 20){ contractBalance = swapTokensAtAmount * 20; } // Halve the amount of liquidity tokens uint256 liquidityTokens = contractBalance * tokensForLiquidity / totalTokensToSwap / 2; uint256 amountToSwapForETH = contractBalance.sub(liquidityTokens); uint256 initialETHBalance = address(this).balance; swapTokensForEth(amountToSwapForETH); uint256 ethBalance = address(this).balance.sub(initialETHBalance); ethForPepe += ethBalance.mul(tokensForPepe).div(totalTokensToSwap); uint256 ethForLiquidity = ethBalance * tokensForLiquidity / totalTokensToSwap / 2; tokensForLiquidity = 0; tokensForPepe = 0; // Only add pepe liq if eth value is over .5 eth to save gas and because pepe market cap so large 😲 if(ethForPepe >= 5e17){ // Buy Pepe token for liquidity provisioning uint256 ethForPepeLiq = ethForPepe / 2; swapEthForPepe(ethForPepeLiq); ethForPepe = 0; uint256 pepeBalance = pepeToken.balanceOf(address(this)); addPepeLiquidity(pepeBalance, ethForPepeLiq); emit PepeLiquidityAdded(pepeBalance, ethForPepeLiq); } if(liquidityTokens > 0 && ethForLiquidity > 0){ addLiquidity(liquidityTokens, ethForLiquidity); emit SwapAndLiquify(amountToSwapForETH, ethForLiquidity, tokensForLiquidity); ethForLiquidity = 0; } //check for trapped excess ether, in case of price change during liquidity provisioning, and remove it from the contract. uint256 excess = (address(this).balance) - (ethForLiquidity + ethForPepe); if(excess > 0){ (success,) = address(devWallet).call{value:excess}(""); } } }
pragma solidity 0.8.19; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
pragma solidity 0.8.19; import "./context.sol"; import "./IERC20.sol"; import "./IERC20Metadata.sol"; import "./SafeMath.sol"; contract ERC20 is Context, IERC20, IERC20Metadata { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { 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); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
pragma solidity 0.8.19; interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) 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 `amount` 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 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @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); }
pragma solidity 0.8.19; import "./IERC20.sol"; interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
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; }
pragma solidity 0.8.19; 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; }
pragma solidity 0.8.19; 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); }
pragma solidity 0.8.19; import "./IUniswapV2Router01.sol"; 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; }
pragma solidity 0.8.19; import "./context.sol"; contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = 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 { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
/* Telegram: Website: */ import './Ownable.sol'; import './ERC20.sol'; pragma solidity ^0.8.0; contract PepeToken is Ownable, ERC20 { bool public limited; uint256 public maxHoldingAmount; uint256 public minHoldingAmount; address public uniswapV2Pair; mapping(address => bool) public blacklists; constructor(uint256 _totalSupply) ERC20("Pepe", "PEPE") { _mint(msg.sender, _totalSupply); } function blacklist(address _address, bool _isBlacklisting) external onlyOwner { blacklists[_address] = _isBlacklisting; } function setRule(bool _limited, address _uniswapV2Pair, uint256 _maxHoldingAmount, uint256 _minHoldingAmount) external onlyOwner { limited = _limited; uniswapV2Pair = _uniswapV2Pair; maxHoldingAmount = _maxHoldingAmount; minHoldingAmount = _minHoldingAmount; } function _beforeTokenTransfer( address from, address to, uint256 amount ) override internal virtual { require(!blacklists[to] && !blacklists[from], "Blacklisted"); if (uniswapV2Pair == address(0)) { require(from == owner() || to == owner(), "trading is not started"); return; } if (limited && from == uniswapV2Pair) { require(super.balanceOf(to) + amount <= maxHoldingAmount && super.balanceOf(to) + amount >= minHoldingAmount, "Forbid"); } } function burn(uint256 value) external { _burn(msg.sender, value); } }
pragma solidity 0.8.19; library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":true,"internalType":"address","name":"sniper","type":"address"}],"name":"BoughtEarly","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","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":"uint256","name":"pepeTokensAdded","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"ethAdded","type":"uint256"}],"name":"PepeLiquidityAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyPepeFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"checkBuyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"checkSellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ethForPepe","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pepeToken","outputs":[{"internalType":"contract PepeToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellPepeFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForPepe","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[],"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"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c0604052600b805462ffffff191660011790553480156200002057600080fd5b506040518060400160405280600f81526020016e5065706520506f6f6c20506172747960881b8152506040518060400160405280600381526020016205050560ec1b815250816003908162000076919062000725565b50600462000085828262000725565b50505060006200009a6200040560201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350601680546001600160a01b031916736982508145454ce325ddbe47a25d4ec3d2311933179055737a250d5630b4cf539739df2c5dacb4c659f2488d6200013081600162000409565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200017b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001a19190620007f1565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001ef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002159190620007f1565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000263573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002899190620007f1565b6001600160a01b031660a0819052620002a490600162000409565b60a051620002b490600162000483565b6005600a81816d14bddab3e51a57cff87a500000006103e8620002d982601962000839565b620002e5919062000853565b6008556103e8620002f882601962000839565b62000304919062000853565b600a556127106200031782600562000839565b62000323919062000853565b600955600e859055600f8490556200033c848662000876565b600d556011839055601282905562000355828462000876565b601055600554600680546001600160a01b039092166001600160a01b031992831681179091556007805490921661dead1790915562000396906001620004d7565b620003a3306001620004d7565b620003b261dead6001620004d7565b620003d1620003c96005546001600160a01b031690565b600162000409565b620003de30600162000409565b620003ed61dead600162000409565b620003f9338262000581565b5050505050506200088c565b3390565b6005546001600160a01b03163314620004585760405162461bcd60e51b815260206004820181905260248201526000805160206200308083398151915260448201526064015b60405180910390fd5b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b6001600160a01b038216600081815260196020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b03163314620005225760405162461bcd60e51b815260206004820181905260248201526000805160206200308083398151915260448201526064016200044f565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620005d95760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200044f565b600254620005e890826200066a565b6002556001600160a01b0382166000908152602081905260409020546200061090826200066a565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b600062000678828462000876565b90505b92915050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620006ac57607f821691505b602082108103620006cd57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200066557600081815260208120601f850160051c81016020861015620006fc5750805b601f850160051c820191505b818110156200071d5782815560010162000708565b505050505050565b81516001600160401b0381111562000741576200074162000681565b620007598162000752845462000697565b84620006d3565b602080601f831160018114620007915760008415620007785750858301515b600019600386901b1c1916600185901b1785556200071d565b600085815260208120601f198616915b82811015620007c257888601518255948401946001909101908401620007a1565b5085821015620007e15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200080457600080fd5b81516001600160a01b03811681146200081c57600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176200067b576200067b62000823565b6000826200087157634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156200067b576200067b62000823565b60805160a051612781620008ff600039600081816104490152610c0e01526000818161032a01528181611d8001528181611e3901528181611e7501528181611f0c01528181611ff601528181612032015281816120b70152818161214f015281816121e4015261222301526127816000f3fe6080604052600436106102815760003560e01c80638da5cb5b1161014f578063c0246668116100c1578063e2f456051161007a578063e2f45605146107d3578063e5180ed9146107e9578063f11a24d3146107ff578063f2fde38b14610815578063f637434214610835578063f8b45b051461084b57600080fd5b8063c024666814610702578063c18bc19514610722578063c8c8ebe414610742578063d257b34f14610758578063d45f9e1814610778578063dd62ed3e1461078d57600080fd5b8063a457c2d711610113578063a457c2d714610647578063a7ef958c14610667578063a9059cbb1461067d578063b62496f51461069d578063bbc0c742146106cd578063beb61d8c146106ec57600080fd5b80638da5cb5b146105be5780638ea5220f146105dc578063921f5099146105fc57806395d89b41146106125780639a7a23d61461062757600080fd5b806349bd5a5e116101f357806370a08231116101ac57806370a0823114610513578063715018a614610549578063751039fc1461055e5780637571336a14610573578063790ca413146105935780638a8c523c146105a957600080fd5b806349bd5a5e146104375780634a62bb651461046b5780634fbee193146104855780636303516c146104be5780636899072a146104de5780636ddd1713146104f357600080fd5b80631a8145bb116102455780631a8145bb14610383578063203e727e1461039957806321cc4c3f146103bb57806323b872dd146103db578063313ce567146103fb578063395093511461041757600080fd5b806306fdde031461028d578063095ea7b3146102b857806310d5de53146102e85780631694505e1461031857806318160ddd1461036457600080fd5b3661028857005b600080fd5b34801561029957600080fd5b506102a2610861565b6040516102af9190612267565b60405180910390f35b3480156102c457600080fd5b506102d86102d33660046122cd565b6108f3565b60405190151581526020016102af565b3480156102f457600080fd5b506102d86103033660046122f9565b60186020526000908152604090205460ff1681565b34801561032457600080fd5b5061034c7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102af565b34801561037057600080fd5b506002545b6040519081526020016102af565b34801561038f57600080fd5b5061037560135481565b3480156103a557600080fd5b506103b96103b4366004612316565b61090a565b005b3480156103c757600080fd5b5060165461034c906001600160a01b031681565b3480156103e757600080fd5b506102d86103f636600461232f565b6109ed565b34801561040757600080fd5b50604051601281526020016102af565b34801561042357600080fd5b506102d86104323660046122cd565b610a56565b34801561044357600080fd5b5061034c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561047757600080fd5b50600b546102d89060ff1681565b34801561049157600080fd5b506102d86104a03660046122f9565b6001600160a01b031660009081526017602052604090205460ff1690565b3480156104ca57600080fd5b5060075461034c906001600160a01b031681565b3480156104ea57600080fd5b50601054610375565b3480156104ff57600080fd5b50600b546102d89062010000900460ff1681565b34801561051f57600080fd5b5061037561052e3660046122f9565b6001600160a01b031660009081526020819052604090205490565b34801561055557600080fd5b506103b9610a8c565b34801561056a57600080fd5b506102d8610b00565b34801561057f57600080fd5b506103b961058e36600461237e565b610b3d565b34801561059f57600080fd5b50610375600c5481565b3480156105b557600080fd5b506103b9610b92565b3480156105ca57600080fd5b506005546001600160a01b031661034c565b3480156105e857600080fd5b5060065461034c906001600160a01b031681565b34801561060857600080fd5b50610375600f5481565b34801561061e57600080fd5b506102a2610bd3565b34801561063357600080fd5b506103b961064236600461237e565b610be2565b34801561065357600080fd5b506102d86106623660046122cd565b610cc1565b34801561067357600080fd5b5061037560125481565b34801561068957600080fd5b506102d86106983660046122cd565b610d10565b3480156106a957600080fd5b506102d86106b83660046122f9565b60196020526000908152604090205460ff1681565b3480156106d957600080fd5b50600b546102d890610100900460ff1681565b3480156106f857600080fd5b5061037560145481565b34801561070e57600080fd5b506103b961071d36600461237e565b610d1d565b34801561072e57600080fd5b506103b961073d366004612316565b610da6565b34801561074e57600080fd5b5061037560085481565b34801561076457600080fd5b506102d8610773366004612316565b610e77565b34801561078457600080fd5b50600d54610375565b34801561079957600080fd5b506103756107a83660046123b7565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156107df57600080fd5b5061037560095481565b3480156107f557600080fd5b5061037560155481565b34801561080b57600080fd5b50610375600e5481565b34801561082157600080fd5b506103b96108303660046122f9565b610fc9565b34801561084157600080fd5b5061037560115481565b34801561085757600080fd5b50610375600a5481565b606060038054610870906123e5565b80601f016020809104026020016040519081016040528092919081815260200182805461089c906123e5565b80156108e95780601f106108be576101008083540402835291602001916108e9565b820191906000526020600020905b8154815290600101906020018083116108cc57829003601f168201915b5050505050905090565b60006109003384846110b4565b5060015b92915050565b6005546001600160a01b0316331461093d5760405162461bcd60e51b81526004016109349061241f565b60405180910390fd5b670de0b6b3a7640000606461095160025490565b61095c90600161246a565b6109669190612481565b6109709190612481565b8110156109d55760405162461bcd60e51b815260206004820152602d60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526c6c6f776572207468616e20312560981b6064820152608401610934565b6109e781670de0b6b3a764000061246a565b60085550565b60006109fa8484846111d9565b610a4c8433610a47856040518060600160405280602881526020016126ff602891396001600160a01b038a166000908152600160209081526040808320338452909152902054919061188b565b6110b4565b5060019392505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610900918590610a4790866118b7565b6005546001600160a01b03163314610ab65760405162461bcd60e51b81526004016109349061241f565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546000906001600160a01b03163314610b2d5760405162461bcd60e51b81526004016109349061241f565b50600b805460ff19169055600090565b6005546001600160a01b03163314610b675760405162461bcd60e51b81526004016109349061241f565b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610bbc5760405162461bcd60e51b81526004016109349061241f565b600b805462ffff0019166201010017905542600c55565b606060048054610870906123e5565b6005546001600160a01b03163314610c0c5760405162461bcd60e51b81526004016109349061241f565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610cb35760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610934565b610cbd82826118ca565b5050565b60006109003384610a4785604051806060016040528060258152602001612727602591393360009081526001602090815260408083206001600160a01b038d168452909152902054919061188b565b60006109003384846111d9565b6005546001600160a01b03163314610d475760405162461bcd60e51b81526004016109349061241f565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b03163314610dd05760405162461bcd60e51b81526004016109349061241f565b670de0b6b3a76400006103e8610de560025490565b610df090601961246a565b610dfa9190612481565b610e049190612481565b811015610e5f5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263322e352560e01b6064820152608401610934565b610e7181670de0b6b3a764000061246a565b600a5550565b6005546000906001600160a01b03163314610ea45760405162461bcd60e51b81526004016109349061241f565b620186a0610eb160025490565b610ebc90600161246a565b610ec69190612481565b821015610f335760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610934565b6103e8610f3f60025490565b610f4a90600561246a565b610f549190612481565b821115610fc05760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610934565b50600955600190565b6005546001600160a01b03163314610ff35760405162461bcd60e51b81526004016109349061241f565b6001600160a01b0381166110585760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610934565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166111165760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610934565b6001600160a01b0382166111775760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610934565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166111ff5760405162461bcd60e51b8152600401610934906124a3565b6001600160a01b0382166112255760405162461bcd60e51b8152600401610934906124e8565b8060000361123e576112398383600061191e565b505050565b6005546001600160a01b0384811691161480159061126a57506005546001600160a01b03838116911614155b801561127e57506001600160a01b03821615155b801561129557506001600160a01b03821661dead14155b80156112ab5750600554600160a01b900460ff16155b156115b457600b5460ff16156115b457600b54610100900460ff1661134e576001600160a01b03831660009081526017602052604090205460ff168061130957506001600160a01b03821660009081526017602052604090205460ff165b61134e5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610934565b6001600160a01b03831660009081526019602052604090205460ff16801561138f57506001600160a01b03821660009081526018602052604090205460ff16155b15611473576008548111156114045760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610934565b600a546001600160a01b03831660009081526020819052604090205461142a908361252b565b111561146e5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610934565b6115b4565b6001600160a01b03821660009081526019602052604090205460ff1680156114b457506001600160a01b03831660009081526018602052604090205460ff16155b1561152a5760085481111561146e5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610934565b6001600160a01b03821660009081526018602052604090205460ff166115b457600a546001600160a01b038316600090815260208190526040902054611570908361252b565b11156115b45760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610934565b30600090815260208190526040902054600954811080159081906115e05750600b5462010000900460ff165b80156115f65750600554600160a01b900460ff16155b801561161b57506001600160a01b03851660009081526019602052604090205460ff16155b801561164057506001600160a01b03851660009081526017602052604090205460ff16155b801561166557506001600160a01b03841660009081526017602052604090205460ff16155b15611693576005805460ff60a01b1916600160a01b179055611685611a27565b6005805460ff60a01b191690555b6005546001600160a01b03861660009081526017602052604090205460ff600160a01b9092048216159116806116e157506001600160a01b03851660009081526017602052604090205460ff165b156116ea575060005b60008115611877576001600160a01b03861660009081526019602052604090205460ff16801561171c57506000601054115b156117ab576117426103e861173c60105488611d0590919063ffffffff16565b90611d11565b905060105460115482611755919061246a565b61175f9190612481565b60136000828254611770919061252b565b9091555050601054601254611785908361246a565b61178f9190612481565b601460008282546117a0919061252b565b909155506118599050565b6001600160a01b03871660009081526019602052604090205460ff1680156117d557506000600d54115b15611859576117f56103e861173c600d5488611d0590919063ffffffff16565b9050600d54600e5482611808919061246a565b6118129190612481565b60136000828254611823919061252b565b9091555050600d54600f54611838908361246a565b6118429190612481565b60146000828254611853919061252b565b90915550505b801561186a5761186a87308361191e565b611874818661253e565b94505b61188287878761191e565b50505050505050565b600081848411156118af5760405162461bcd60e51b81526004016109349190612267565b505050900390565b60006118c3828461252b565b9392505050565b6001600160a01b038216600081815260196020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166119445760405162461bcd60e51b8152600401610934906124a3565b6001600160a01b03821661196a5760405162461bcd60e51b8152600401610934906124e8565b6119a7816040518060600160405280602681526020016126d9602691396001600160a01b038616600090815260208190526040902054919061188b565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546119d690826118b7565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016111cc565b3060009081526020819052604081205490506000601454601354611a4b919061252b565b90506000821580611a5a575081155b15611a6457505050565b600954611a7290601461246a565b831115611a8a57600954611a8790601461246a565b92505b600060028360135486611a9d919061246a565b611aa79190612481565b611ab19190612481565b90506000611abf8583611d1d565b905047611acb82611d29565b6000611ad74783611d1d565b9050611af28661173c60145484611d0590919063ffffffff16565b60156000828254611b03919061252b565b92505081905550600060028760135484611b1d919061246a565b611b279190612481565b611b319190612481565b600060138190556014556015549091506706f05b59d3b2000011611c1a5760006002601554611b609190612481565b9050611b6b81611ee9565b600060158190556016546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015611bba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bde9190612551565b9050611bea818361209d565b604051829082907feed93de38f626072e3fb9b24a9abb5926426ab8e8654a4693c8dfe211ff04b1790600090a350505b600085118015611c2a5750600081115b15611c8057611c3985826121de565b601354604080518681526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15060005b600060155482611c90919061252b565b611c9a904761253e565b90508015611cfa576006546040516001600160a01b03909116908290600081818185875af1925050503d8060008114611cef576040519150601f19603f3d011682016040523d82523d6000602084013e611cf4565b606091505b50909750505b505050505050505050565b60006118c3828461246a565b60006118c38284612481565b60006118c3828461253e565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611d5e57611d5e61256a565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ddc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e009190612580565b81600181518110611e1357611e1361256a565b60200260200101906001600160a01b031690816001600160a01b031681525050611e5e307f0000000000000000000000000000000000000000000000000000000000000000846110b4565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790611eb39085906000908690309042906004016125e1565b600060405180830381600087803b158015611ecd57600080fd5b505af1158015611ee1573d6000803e3d6000fd5b505050505050565b6040805160028082526060820183526000926020830190803683370190505090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f8c9190612580565b81600081518110611f9f57611f9f61256a565b6001600160a01b039283166020918202929092010152601654825191169082906001908110611fd057611fd061256a565b60200260200101906001600160a01b031690816001600160a01b03168152505061201b307f0000000000000000000000000000000000000000000000000000000000000000846110b4565b60405163b6f9de9560e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063b6f9de959084906120709060009086903090429060040161261d565b6000604051808303818588803b15801561208957600080fd5b505af1158015611882573d6000803e3d6000fd5b60165460405163095ea7b360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018590529091169063095ea7b3906044016020604051808303816000875af1158015612110573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121349190612652565b5060165460405163f305d71960e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169263f305d7199285926121949216908790600090819061dead90429060040161266f565b60606040518083038185885af11580156121b2573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906121d791906126aa565b5050505050565b612209307f0000000000000000000000000000000000000000000000000000000000000000846110b4565b60075460405163f305d71960e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169263f305d71992859261219492309289926000928392911690429060040161266f565b600060208083528351808285015260005b8181101561229457858101830151858201604001528201612278565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146122ca57600080fd5b50565b600080604083850312156122e057600080fd5b82356122eb816122b5565b946020939093013593505050565b60006020828403121561230b57600080fd5b81356118c3816122b5565b60006020828403121561232857600080fd5b5035919050565b60008060006060848603121561234457600080fd5b833561234f816122b5565b9250602084013561235f816122b5565b929592945050506040919091013590565b80151581146122ca57600080fd5b6000806040838503121561239157600080fd5b823561239c816122b5565b915060208301356123ac81612370565b809150509250929050565b600080604083850312156123ca57600080fd5b82356123d5816122b5565b915060208301356123ac816122b5565b600181811c908216806123f957607f821691505b60208210810361241957634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761090457610904612454565b60008261249e57634e487b7160e01b600052601260045260246000fd5b500490565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b8082018082111561090457610904612454565b8181038181111561090457610904612454565b60006020828403121561256357600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561259257600080fd5b81516118c3816122b5565b600081518084526020808501945080840160005b838110156125d65781516001600160a01b0316875295820195908201906001016125b1565b509495945050505050565b85815284602082015260a06040820152600061260060a083018661259d565b6001600160a01b0394909416606083015250608001529392505050565b848152608060208201526000612636608083018661259d565b6001600160a01b03949094166040830152506060015292915050565b60006020828403121561266457600080fd5b81516118c381612370565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b6000806000606084860312156126bf57600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122050089282b80226442fc4effa3b3839e5a1f4591a97148b3261abbc0b50153b2764736f6c634300081300334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572
Deployed Bytecode
0x6080604052600436106102815760003560e01c80638da5cb5b1161014f578063c0246668116100c1578063e2f456051161007a578063e2f45605146107d3578063e5180ed9146107e9578063f11a24d3146107ff578063f2fde38b14610815578063f637434214610835578063f8b45b051461084b57600080fd5b8063c024666814610702578063c18bc19514610722578063c8c8ebe414610742578063d257b34f14610758578063d45f9e1814610778578063dd62ed3e1461078d57600080fd5b8063a457c2d711610113578063a457c2d714610647578063a7ef958c14610667578063a9059cbb1461067d578063b62496f51461069d578063bbc0c742146106cd578063beb61d8c146106ec57600080fd5b80638da5cb5b146105be5780638ea5220f146105dc578063921f5099146105fc57806395d89b41146106125780639a7a23d61461062757600080fd5b806349bd5a5e116101f357806370a08231116101ac57806370a0823114610513578063715018a614610549578063751039fc1461055e5780637571336a14610573578063790ca413146105935780638a8c523c146105a957600080fd5b806349bd5a5e146104375780634a62bb651461046b5780634fbee193146104855780636303516c146104be5780636899072a146104de5780636ddd1713146104f357600080fd5b80631a8145bb116102455780631a8145bb14610383578063203e727e1461039957806321cc4c3f146103bb57806323b872dd146103db578063313ce567146103fb578063395093511461041757600080fd5b806306fdde031461028d578063095ea7b3146102b857806310d5de53146102e85780631694505e1461031857806318160ddd1461036457600080fd5b3661028857005b600080fd5b34801561029957600080fd5b506102a2610861565b6040516102af9190612267565b60405180910390f35b3480156102c457600080fd5b506102d86102d33660046122cd565b6108f3565b60405190151581526020016102af565b3480156102f457600080fd5b506102d86103033660046122f9565b60186020526000908152604090205460ff1681565b34801561032457600080fd5b5061034c7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016102af565b34801561037057600080fd5b506002545b6040519081526020016102af565b34801561038f57600080fd5b5061037560135481565b3480156103a557600080fd5b506103b96103b4366004612316565b61090a565b005b3480156103c757600080fd5b5060165461034c906001600160a01b031681565b3480156103e757600080fd5b506102d86103f636600461232f565b6109ed565b34801561040757600080fd5b50604051601281526020016102af565b34801561042357600080fd5b506102d86104323660046122cd565b610a56565b34801561044357600080fd5b5061034c7f000000000000000000000000f211782d970368306e10882ca1c9a91626d740c981565b34801561047757600080fd5b50600b546102d89060ff1681565b34801561049157600080fd5b506102d86104a03660046122f9565b6001600160a01b031660009081526017602052604090205460ff1690565b3480156104ca57600080fd5b5060075461034c906001600160a01b031681565b3480156104ea57600080fd5b50601054610375565b3480156104ff57600080fd5b50600b546102d89062010000900460ff1681565b34801561051f57600080fd5b5061037561052e3660046122f9565b6001600160a01b031660009081526020819052604090205490565b34801561055557600080fd5b506103b9610a8c565b34801561056a57600080fd5b506102d8610b00565b34801561057f57600080fd5b506103b961058e36600461237e565b610b3d565b34801561059f57600080fd5b50610375600c5481565b3480156105b557600080fd5b506103b9610b92565b3480156105ca57600080fd5b506005546001600160a01b031661034c565b3480156105e857600080fd5b5060065461034c906001600160a01b031681565b34801561060857600080fd5b50610375600f5481565b34801561061e57600080fd5b506102a2610bd3565b34801561063357600080fd5b506103b961064236600461237e565b610be2565b34801561065357600080fd5b506102d86106623660046122cd565b610cc1565b34801561067357600080fd5b5061037560125481565b34801561068957600080fd5b506102d86106983660046122cd565b610d10565b3480156106a957600080fd5b506102d86106b83660046122f9565b60196020526000908152604090205460ff1681565b3480156106d957600080fd5b50600b546102d890610100900460ff1681565b3480156106f857600080fd5b5061037560145481565b34801561070e57600080fd5b506103b961071d36600461237e565b610d1d565b34801561072e57600080fd5b506103b961073d366004612316565b610da6565b34801561074e57600080fd5b5061037560085481565b34801561076457600080fd5b506102d8610773366004612316565b610e77565b34801561078457600080fd5b50600d54610375565b34801561079957600080fd5b506103756107a83660046123b7565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156107df57600080fd5b5061037560095481565b3480156107f557600080fd5b5061037560155481565b34801561080b57600080fd5b50610375600e5481565b34801561082157600080fd5b506103b96108303660046122f9565b610fc9565b34801561084157600080fd5b5061037560115481565b34801561085757600080fd5b50610375600a5481565b606060038054610870906123e5565b80601f016020809104026020016040519081016040528092919081815260200182805461089c906123e5565b80156108e95780601f106108be576101008083540402835291602001916108e9565b820191906000526020600020905b8154815290600101906020018083116108cc57829003601f168201915b5050505050905090565b60006109003384846110b4565b5060015b92915050565b6005546001600160a01b0316331461093d5760405162461bcd60e51b81526004016109349061241f565b60405180910390fd5b670de0b6b3a7640000606461095160025490565b61095c90600161246a565b6109669190612481565b6109709190612481565b8110156109d55760405162461bcd60e51b815260206004820152602d60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526c6c6f776572207468616e20312560981b6064820152608401610934565b6109e781670de0b6b3a764000061246a565b60085550565b60006109fa8484846111d9565b610a4c8433610a47856040518060600160405280602881526020016126ff602891396001600160a01b038a166000908152600160209081526040808320338452909152902054919061188b565b6110b4565b5060019392505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610900918590610a4790866118b7565b6005546001600160a01b03163314610ab65760405162461bcd60e51b81526004016109349061241f565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546000906001600160a01b03163314610b2d5760405162461bcd60e51b81526004016109349061241f565b50600b805460ff19169055600090565b6005546001600160a01b03163314610b675760405162461bcd60e51b81526004016109349061241f565b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610bbc5760405162461bcd60e51b81526004016109349061241f565b600b805462ffff0019166201010017905542600c55565b606060048054610870906123e5565b6005546001600160a01b03163314610c0c5760405162461bcd60e51b81526004016109349061241f565b7f000000000000000000000000f211782d970368306e10882ca1c9a91626d740c96001600160a01b0316826001600160a01b031603610cb35760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610934565b610cbd82826118ca565b5050565b60006109003384610a4785604051806060016040528060258152602001612727602591393360009081526001602090815260408083206001600160a01b038d168452909152902054919061188b565b60006109003384846111d9565b6005546001600160a01b03163314610d475760405162461bcd60e51b81526004016109349061241f565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b03163314610dd05760405162461bcd60e51b81526004016109349061241f565b670de0b6b3a76400006103e8610de560025490565b610df090601961246a565b610dfa9190612481565b610e049190612481565b811015610e5f5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263322e352560e01b6064820152608401610934565b610e7181670de0b6b3a764000061246a565b600a5550565b6005546000906001600160a01b03163314610ea45760405162461bcd60e51b81526004016109349061241f565b620186a0610eb160025490565b610ebc90600161246a565b610ec69190612481565b821015610f335760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610934565b6103e8610f3f60025490565b610f4a90600561246a565b610f549190612481565b821115610fc05760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610934565b50600955600190565b6005546001600160a01b03163314610ff35760405162461bcd60e51b81526004016109349061241f565b6001600160a01b0381166110585760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610934565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166111165760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610934565b6001600160a01b0382166111775760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610934565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166111ff5760405162461bcd60e51b8152600401610934906124a3565b6001600160a01b0382166112255760405162461bcd60e51b8152600401610934906124e8565b8060000361123e576112398383600061191e565b505050565b6005546001600160a01b0384811691161480159061126a57506005546001600160a01b03838116911614155b801561127e57506001600160a01b03821615155b801561129557506001600160a01b03821661dead14155b80156112ab5750600554600160a01b900460ff16155b156115b457600b5460ff16156115b457600b54610100900460ff1661134e576001600160a01b03831660009081526017602052604090205460ff168061130957506001600160a01b03821660009081526017602052604090205460ff165b61134e5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610934565b6001600160a01b03831660009081526019602052604090205460ff16801561138f57506001600160a01b03821660009081526018602052604090205460ff16155b15611473576008548111156114045760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610934565b600a546001600160a01b03831660009081526020819052604090205461142a908361252b565b111561146e5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610934565b6115b4565b6001600160a01b03821660009081526019602052604090205460ff1680156114b457506001600160a01b03831660009081526018602052604090205460ff16155b1561152a5760085481111561146e5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610934565b6001600160a01b03821660009081526018602052604090205460ff166115b457600a546001600160a01b038316600090815260208190526040902054611570908361252b565b11156115b45760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610934565b30600090815260208190526040902054600954811080159081906115e05750600b5462010000900460ff165b80156115f65750600554600160a01b900460ff16155b801561161b57506001600160a01b03851660009081526019602052604090205460ff16155b801561164057506001600160a01b03851660009081526017602052604090205460ff16155b801561166557506001600160a01b03841660009081526017602052604090205460ff16155b15611693576005805460ff60a01b1916600160a01b179055611685611a27565b6005805460ff60a01b191690555b6005546001600160a01b03861660009081526017602052604090205460ff600160a01b9092048216159116806116e157506001600160a01b03851660009081526017602052604090205460ff165b156116ea575060005b60008115611877576001600160a01b03861660009081526019602052604090205460ff16801561171c57506000601054115b156117ab576117426103e861173c60105488611d0590919063ffffffff16565b90611d11565b905060105460115482611755919061246a565b61175f9190612481565b60136000828254611770919061252b565b9091555050601054601254611785908361246a565b61178f9190612481565b601460008282546117a0919061252b565b909155506118599050565b6001600160a01b03871660009081526019602052604090205460ff1680156117d557506000600d54115b15611859576117f56103e861173c600d5488611d0590919063ffffffff16565b9050600d54600e5482611808919061246a565b6118129190612481565b60136000828254611823919061252b565b9091555050600d54600f54611838908361246a565b6118429190612481565b60146000828254611853919061252b565b90915550505b801561186a5761186a87308361191e565b611874818661253e565b94505b61188287878761191e565b50505050505050565b600081848411156118af5760405162461bcd60e51b81526004016109349190612267565b505050900390565b60006118c3828461252b565b9392505050565b6001600160a01b038216600081815260196020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166119445760405162461bcd60e51b8152600401610934906124a3565b6001600160a01b03821661196a5760405162461bcd60e51b8152600401610934906124e8565b6119a7816040518060600160405280602681526020016126d9602691396001600160a01b038616600090815260208190526040902054919061188b565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546119d690826118b7565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016111cc565b3060009081526020819052604081205490506000601454601354611a4b919061252b565b90506000821580611a5a575081155b15611a6457505050565b600954611a7290601461246a565b831115611a8a57600954611a8790601461246a565b92505b600060028360135486611a9d919061246a565b611aa79190612481565b611ab19190612481565b90506000611abf8583611d1d565b905047611acb82611d29565b6000611ad74783611d1d565b9050611af28661173c60145484611d0590919063ffffffff16565b60156000828254611b03919061252b565b92505081905550600060028760135484611b1d919061246a565b611b279190612481565b611b319190612481565b600060138190556014556015549091506706f05b59d3b2000011611c1a5760006002601554611b609190612481565b9050611b6b81611ee9565b600060158190556016546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015611bba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bde9190612551565b9050611bea818361209d565b604051829082907feed93de38f626072e3fb9b24a9abb5926426ab8e8654a4693c8dfe211ff04b1790600090a350505b600085118015611c2a5750600081115b15611c8057611c3985826121de565b601354604080518681526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15060005b600060155482611c90919061252b565b611c9a904761253e565b90508015611cfa576006546040516001600160a01b03909116908290600081818185875af1925050503d8060008114611cef576040519150601f19603f3d011682016040523d82523d6000602084013e611cf4565b606091505b50909750505b505050505050505050565b60006118c3828461246a565b60006118c38284612481565b60006118c3828461253e565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611d5e57611d5e61256a565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ddc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e009190612580565b81600181518110611e1357611e1361256a565b60200260200101906001600160a01b031690816001600160a01b031681525050611e5e307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846110b4565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790611eb39085906000908690309042906004016125e1565b600060405180830381600087803b158015611ecd57600080fd5b505af1158015611ee1573d6000803e3d6000fd5b505050505050565b6040805160028082526060820183526000926020830190803683370190505090507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f8c9190612580565b81600081518110611f9f57611f9f61256a565b6001600160a01b039283166020918202929092010152601654825191169082906001908110611fd057611fd061256a565b60200260200101906001600160a01b031690816001600160a01b03168152505061201b307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846110b4565b60405163b6f9de9560e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063b6f9de959084906120709060009086903090429060040161261d565b6000604051808303818588803b15801561208957600080fd5b505af1158015611882573d6000803e3d6000fd5b60165460405163095ea7b360e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81166004830152602482018590529091169063095ea7b3906044016020604051808303816000875af1158015612110573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121349190612652565b5060165460405163f305d71960e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81169263f305d7199285926121949216908790600090819061dead90429060040161266f565b60606040518083038185885af11580156121b2573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906121d791906126aa565b5050505050565b612209307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846110b4565b60075460405163f305d71960e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81169263f305d71992859261219492309289926000928392911690429060040161266f565b600060208083528351808285015260005b8181101561229457858101830151858201604001528201612278565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146122ca57600080fd5b50565b600080604083850312156122e057600080fd5b82356122eb816122b5565b946020939093013593505050565b60006020828403121561230b57600080fd5b81356118c3816122b5565b60006020828403121561232857600080fd5b5035919050565b60008060006060848603121561234457600080fd5b833561234f816122b5565b9250602084013561235f816122b5565b929592945050506040919091013590565b80151581146122ca57600080fd5b6000806040838503121561239157600080fd5b823561239c816122b5565b915060208301356123ac81612370565b809150509250929050565b600080604083850312156123ca57600080fd5b82356123d5816122b5565b915060208301356123ac816122b5565b600181811c908216806123f957607f821691505b60208210810361241957634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761090457610904612454565b60008261249e57634e487b7160e01b600052601260045260246000fd5b500490565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b8082018082111561090457610904612454565b8181038181111561090457610904612454565b60006020828403121561256357600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561259257600080fd5b81516118c3816122b5565b600081518084526020808501945080840160005b838110156125d65781516001600160a01b0316875295820195908201906001016125b1565b509495945050505050565b85815284602082015260a06040820152600061260060a083018661259d565b6001600160a01b0394909416606083015250608001529392505050565b848152608060208201526000612636608083018661259d565b6001600160a01b03949094166040830152506060015292915050565b60006020828403121561266457600080fd5b81516118c381612370565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b6000806000606084860312156126bf57600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122050089282b80226442fc4effa3b3839e5a1f4591a97148b3261abbc0b50153b2764736f6c63430008130033
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.