Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
49,298,309.112705374337152536 AZEE
Holders
89
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
188,149.723307821993657096 AZEEValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SurrealCreations
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /* Surreal Creations by azee Twitter: https://twitter.com/surreal_azee https://twitter.com/SCA_Surreals SSSSSSSSSSSSSSS CCCCCCCCCCCCC AAA SS:::::::::::::::S CCC::::::::::::C A:::A S:::::SSSSSS::::::S CC:::::::::::::::C A:::::A S:::::S SSSSSSS C:::::CCCCCCCC::::C A:::::::A S:::::S C:::::C CCCCCC A:::::::::A S:::::S C:::::C A:::::A:::::A S::::SSSS C:::::C A:::::A A:::::A SS::::::SSSSS C:::::C A:::::A A:::::A SSS::::::::SS C:::::C A:::::A A:::::A SSSSSS::::S C:::::C A:::::AAAAAAAAA:::::A S:::::SC:::::C A:::::::::::::::::::::A S:::::S C:::::C CCCCCC A:::::AAAAAAAAAAAAA:::::A SSSSSSS S:::::S C:::::CCCCCCCC::::C A:::::A A:::::A S::::::SSSSSS:::::S CC:::::::::::::::C A:::::A A:::::A S:::::::::::::::SS CCC::::::::::::C A:::::A A:::::A SSSSSSSSSSSSSSS CCCCCCCCCCCCCAAAAAAA AAAAAAA */ pragma solidity >=0.4.22 <0.9.0; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import {ERC20Burnable} from "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import {IUniswapV2Factory} from "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import {IUniswapV2Router02} from "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; contract SurrealCreations is ERC20Burnable, Ownable { uint256 public maxBuyAmount; uint256 public maxSellAmount; uint256 public maxWallet; IUniswapV2Router02 public uniswapRouter; address public lpPair; bool private swapping; uint256 public swapTokensAtAmount; address public operationsAddress; address public treasuryAddress; uint256 public tradingActiveBlock = 0; // 0 means trading is not active uint256 public blockForPenaltyEnd; bool public limitsInEffect = true; bool public tradingActive = false; bool public swapEnabled = false; // Anti-bot and anti-whale mappings and variables mapping(address => uint256) private _holderLastTransferTimestamp; // to hold last Transfers temporarily during launch bool public transferDelayEnabled = true; uint256 public buyTotalFees; uint256 public buyOperationsFee; uint256 public buyLiquidityFee; uint256 public buyTreasuryFee; uint256 public sellTotalFees; uint256 public sellOperationsFee; uint256 public sellLiquidityFee; uint256 public sellTreasuryFee; uint256 public tokensForOperations; uint256 public tokensForLiquidity; uint256 public tokensForTreasury; /******************/ // 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 SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event EnabledTrading(); event ExcludeFromFees(address indexed account, bool isExcluded); event UpdatedMaxBuyAmount(uint256 newAmount); event UpdatedMaxSellAmount(uint256 newAmount); event UpdatedMaxWalletAmount(uint256 newAmount); event UpdatedOperationsAddress(address indexed newWallet); event UpdatedTreasuryAddress(address indexed newWallet); event MaxTransactionExclusion(address _address, bool excluded); event OwnerForcedSwapBack(uint256 timestamp); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity ); event TransferForeignToken(address token, uint256 amount); event UpdatedPrivateMaxSell(uint256 amount); constructor(address _router) payable ERC20("SurrealCreations", "AZEE") { // initialize router uniswapRouter = IUniswapV2Router02(_router); // create pair lpPair = IUniswapV2Factory(uniswapRouter.factory()).createPair( address(this), uniswapRouter.WETH() ); _excludeFromMaxTransaction(address(lpPair), true); _setAutomatedMarketMakerPair(address(lpPair), true); uint256 totalSupply = 69 * 1e6 * 1e18; // 69 million maxBuyAmount = (totalSupply * 1) / 100; // 1% maxSellAmount = (totalSupply * 1) / 100; // 1% maxWallet = (totalSupply * 2) / 100; // 2% swapTokensAtAmount = (totalSupply * 5) / 10000; // 0.05 % buyOperationsFee = 0; buyTreasuryFee = 9; buyLiquidityFee = 1; buyTotalFees = buyOperationsFee + buyLiquidityFee + buyTreasuryFee; sellOperationsFee = 0; sellTreasuryFee = 14; sellLiquidityFee = 1; sellTotalFees = sellOperationsFee + sellLiquidityFee + sellTreasuryFee; operationsAddress = address(msg.sender); treasuryAddress = address(0x49831118DC243C1f5C91a33F3A01bE8152201472); _excludeFromMaxTransaction(msg.sender, true); _excludeFromMaxTransaction(address(this), true); _excludeFromMaxTransaction(address(0xdead), true); _excludeFromMaxTransaction(address(uniswapRouter), true); _excludeFromMaxTransaction(address(0x49831118DC243C1f5C91a33F3A01bE8152201472), true); excludeFromFees(msg.sender, true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromFees(address(uniswapRouter), true); excludeFromFees(address(0x49831118DC243C1f5C91a33F3A01bE8152201472), true); _mint(msg.sender, totalSupply); // Tokens for liquidity } receive() external payable {} function enableTrading(uint256 blocksForPenalty) external onlyOwner { require(!tradingActive, "Trading is already active."); require(blocksForPenalty < 10, "Penalty blocks > 10"); //standard enable trading tradingActive = true; swapEnabled = true; tradingActiveBlock = block.number; blockForPenaltyEnd = tradingActiveBlock + blocksForPenalty; emit EnabledTrading(); } // disable Transfer delay - cannot be reenabled function disableTransferDelay() external onlyOwner { transferDelayEnabled = false; } function updateMaxBuyAmount(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 5) / 1000) / 1e18, "Max buy amount lower than 0.5%" ); require(newNum <= ((totalSupply() * 2) / 100) / 1e18, "Buy amount higher than 2%"); maxBuyAmount = newNum * (10**18); emit UpdatedMaxBuyAmount(maxBuyAmount); } function updateMaxSellAmount(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 5) / 1000) / 1e18, "Max sell amount lower than 0.5%" ); require( newNum <= ((totalSupply() * 2) / 100) / 1e18, "Max sell amount higher than 2%" ); maxSellAmount = newNum * (10**18); emit UpdatedMaxSellAmount(maxSellAmount); } function updateMaxWalletAmount(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 5) / 1000) / 1e18, "Cannot set max wallet amount lower than 0.5%" ); require( newNum <= ((totalSupply() * 5) / 100) / 1e18, "Cannot set max wallet amount higher than 5%" ); maxWallet = newNum * (10**18); emit UpdatedMaxWalletAmount(maxWallet); } // change the minimum amount of tokens to sell from fees function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner { require( newAmount >= (totalSupply() * 1) / 100000, "Swap amount < 0.001% total supply." ); require( newAmount <= (totalSupply() * 1) / 1000, "Swap amount > 0.1% total supply." ); swapTokensAtAmount = newAmount; } function _excludeFromMaxTransaction(address updAds, bool isExcluded) private { _isExcludedMaxTransactionAmount[updAds] = isExcluded; emit MaxTransactionExclusion(updAds, isExcluded); } function excludeFromMaxTransaction(address updAds, bool isEx) external onlyOwner { if (!isEx) { require(updAds != lpPair, "Uniswap pair must have max txn"); } _isExcludedMaxTransactionAmount[updAds] = isEx; } function setAutomatedMarketMakerPair(address pair, bool value) external onlyOwner { require( pair != lpPair, "The pair cannot be removed from automatedMarketMakerPairs" ); _setAutomatedMarketMakerPair(pair, value); emit SetAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; _excludeFromMaxTransaction(pair, value); emit SetAutomatedMarketMakerPair(pair, value); } function updateBuyFees( uint256 _operationsFee, uint256 _liquidityFee, uint256 _treasuryFee ) external onlyOwner { buyOperationsFee = _operationsFee; buyLiquidityFee = _liquidityFee; buyTreasuryFee = _treasuryFee; buyTotalFees = buyOperationsFee + buyLiquidityFee + buyTreasuryFee; require(buyTotalFees <= 15, "Fees > 15%"); } function updateSellFees( uint256 _operationsFee, uint256 _liquidityFee, uint256 _treasuryFee ) external onlyOwner { sellOperationsFee = _operationsFee; sellLiquidityFee = _liquidityFee; sellTreasuryFee = _treasuryFee; sellTotalFees = sellOperationsFee + sellLiquidityFee + sellTreasuryFee; require(sellTotalFees <= 20, "Fees > 20%"); } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } 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"); require(amount > 0, "amount must > 0"); if (!tradingActive) { require( _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active." ); } if (limitsInEffect) { if ( from != owner() && to != owner() && to != address(0xdead) && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { if (transferDelayEnabled) { if (to != address(uniswapRouter) && to != address(lpPair)) { require( _holderLastTransferTimestamp[tx.origin] < (block.number) && _holderLastTransferTimestamp[to] < (block.number), "_transfer:: Transfer Delay enabled. Try again later." ); _holderLastTransferTimestamp[tx.origin] = (block.number); _holderLastTransferTimestamp[to] = (block.number); } } //when buy if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) { require(amount <= maxBuyAmount, "Buy transfer amount exceeds the max buy."); require(amount + balanceOf(to) <= maxWallet, "Max Wallet Exceeded"); } //when sell else if ( automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from] ) { require(amount <= maxSellAmount, "Sell transfer amount > max sell."); } 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[to]) { swapping = true; swapBack(); swapping = false; } bool takeFee = true; // if any account 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) { // bot/sniper penalty. if ( (earlyBuyPenaltyInEffect() || (amount >= maxBuyAmount - .9 ether && blockForPenaltyEnd + 8 >= block.number)) && automatedMarketMakerPairs[from] && !automatedMarketMakerPairs[to] && !_isExcludedFromFees[to] && buyTotalFees > 0 ) { if (!earlyBuyPenaltyInEffect()) { // reduce by 1 wei per max buy over what Uniswap will allow to revert bots as best as possible to limit erroneously blacklisted wallets. First bot will get in and be blacklisted, rest will be reverted (*cross fingers*) maxBuyAmount -= 1; } // In this case (5) the end number controls how quickly the decay of taxes happens fees = (amount * 999) / (1000 + (block.number - tradingActiveBlock) * 100); tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees; tokensForOperations += (fees * buyOperationsFee) / buyTotalFees; tokensForTreasury += (fees * buyTreasuryFee) / buyTotalFees; } // on sell else if (automatedMarketMakerPairs[to] && sellTotalFees > 0) { fees = (amount * sellTotalFees) / 100; tokensForLiquidity += (fees * sellLiquidityFee) / sellTotalFees; tokensForOperations += (fees * sellOperationsFee) / sellTotalFees; tokensForTreasury += (fees * sellTreasuryFee) / sellTotalFees; } // on buy else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) { fees = (amount * buyTotalFees) / 100; tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees; tokensForOperations += (fees * buyOperationsFee) / buyTotalFees; tokensForTreasury += (fees * buyTreasuryFee) / buyTotalFees; } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } function earlyBuyPenaltyInEffect() public view returns (bool) { return block.number < blockForPenaltyEnd; } 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] = uniswapRouter.WETH(); _approve(address(this), address(uniswapRouter), tokenAmount); // make the swap uniswapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapRouter), tokenAmount); // add the liquidity uniswapRouter.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable address(0xdead), block.timestamp ); } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = tokensForLiquidity + tokensForOperations + tokensForTreasury; if (contractBalance == 0 || totalTokensToSwap == 0) { return; } if (contractBalance > swapTokensAtAmount * 10) { contractBalance = swapTokensAtAmount * 10; } bool success; // Halve the amount of liquidity tokens uint256 liquidityTokens = (contractBalance * tokensForLiquidity) / totalTokensToSwap / 2; swapTokensForEth(contractBalance - liquidityTokens); uint256 ethBalance = address(this).balance; uint256 ethForLiquidity = ethBalance; uint256 ethForOperations = (ethBalance * tokensForOperations) / (totalTokensToSwap - (tokensForLiquidity / 2)); uint256 ethForTreasury = (ethBalance * tokensForTreasury) / (totalTokensToSwap - (tokensForLiquidity / 2)); ethForLiquidity -= ethForOperations + ethForTreasury; tokensForLiquidity = 0; tokensForOperations = 0; tokensForTreasury = 0; if (liquidityTokens > 0 && ethForLiquidity > 0) { addLiquidity(liquidityTokens, ethForLiquidity); } (success, ) = address(treasuryAddress).call{value: ethForTreasury}(""); (success, ) = address(operationsAddress).call{value: address(this).balance}(""); } // withdraw ETH if stuck or someone sends to the address function withdrawStuckETH() external onlyOwner { bool success; (success, ) = address(msg.sender).call{value: address(this).balance}(""); } function setOperationsAddress(address _operationsAddress) external onlyOwner { require(_operationsAddress != address(0), "_operationsAddress address cannot be 0"); operationsAddress = payable(_operationsAddress); emit UpdatedOperationsAddress(_operationsAddress); } function setTreasuryAddress(address _treasuryAddress) external onlyOwner { require(_treasuryAddress != address(0), "_operationsAddress address cannot be 0"); treasuryAddress = payable(_treasuryAddress); emit UpdatedTreasuryAddress(_treasuryAddress); } // force Swap back if slippage issues. function forceSwapBack() external onlyOwner { require( balanceOf(address(this)) >= swapTokensAtAmount, "Token amount < minimum swap tokens amount" ); swapping = true; swapBack(); swapping = false; emit OwnerForcedSwapBack(block.timestamp); } // remove limits after token is stable function setLimits(bool _limits) external onlyOwner { limitsInEffect = _limits; } function addLP(bool confirmAddLp) external onlyOwner { require(confirmAddLp, "Please confirm adding of the LP"); require(!tradingActive, "Trading is already active, cannot relaunch."); // add the liquidity require(address(this).balance > 0, "Must have ETH on contract to launch"); require(balanceOf(address(this)) > 0, "Must have Tokens on contract to launch"); _approve(address(this), address(uniswapRouter), balanceOf(address(this))); uniswapRouter.addLiquidityETH{value: address(this).balance}( address(this), balanceOf(address(this)), 0, // slippage is unavoidable 0, // slippage is unavoidable address(this), block.timestamp ); } }
pragma solidity >=0.6.2; 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.6.2; 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.5.0; 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; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../utils/Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ 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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { 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: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, 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}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, 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}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); 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) { address owner = _msgSender(); _approve(owner, spender, _allowances[owner][spender] + 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) { address owner = _msgSender(); uint256 currentAllowance = _allowances[owner][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This 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: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, 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 += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(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); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(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 Spend `amount` form the allowance of `owner` toward `spender`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - 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 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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual 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 { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_router","type":"address"}],"stateMutability":"payable","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":[],"name":"EnabledTrading","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":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"excluded","type":"bool"}],"name":"MaxTransactionExclusion","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"OwnerForcedSwapBack","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TransferForeignToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"UpdatedMaxBuyAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"UpdatedMaxSellAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"UpdatedMaxWalletAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"}],"name":"UpdatedOperationsAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"UpdatedPrivateMaxSell","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"}],"name":"UpdatedTreasuryAddress","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"confirmAddLp","type":"bool"}],"name":"addLP","outputs":[],"stateMutability":"nonpayable","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":"blockForPenaltyEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyOperationsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTreasuryFee","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":"disableTransferDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"earlyBuyPenaltyInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"blocksForPenalty","type":"uint256"}],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","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":[],"name":"forceSwapBack","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":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellAmount","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":"operationsAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"sellOperationsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTreasuryFee","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":[{"internalType":"bool","name":"_limits","type":"bool"}],"name":"setLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operationsAddress","type":"address"}],"name":"setOperationsAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasuryAddress","type":"address"}],"name":"setTreasuryAddress","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":"tokensForOperations","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForTreasury","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":[],"name":"tradingActiveBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","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":"treasuryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapRouter","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_operationsFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_treasuryFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxBuyAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxSellAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_operationsFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_treasuryFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawStuckETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060408190526000600e556010805462ffffff191660019081179091556012805460ff1916909117905562003d5d388190039081908339810160408190526200004991620007f9565b604080518082018252601081526f5375727265616c4372656174696f6e7360801b602080830191825283518085019094526004845263415a454560e01b9084015281519192916200009d9160039162000753565b508051620000b390600490602084019062000753565b505050620000d0620000ca6200048b60201b60201c565b6200048f565b600980546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200012a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001509190620007f9565b6001600160a01b031663c9c6539630600960009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001b3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d99190620007f9565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000227573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200024d9190620007f9565b600a80546001600160a01b0319166001600160a01b0392909216918217905562000279906001620004e1565b600a5462000292906001600160a01b0316600162000544565b6a3913517ebd3c0c650000006064620002ad82600162000841565b620002b9919062000863565b6006556064620002cb82600162000841565b620002d7919062000863565b6007556064620002e982600262000841565b620002f5919062000863565b6008556127106200030882600562000841565b62000314919062000863565b600b5560006014819055600960168190556001601581905590916200033a919062000886565b62000346919062000886565b60135560006018819055600e601a8190556001601981905590916200036c919062000886565b62000378919062000886565b601755600c80546001600160a01b031990811633908117909255600d80549091167349831118dc243c1f5c91a33f3a01be8152201472179055620003be906001620004e1565b620003cb306001620004e1565b620003da61dead6001620004e1565b600954620003f3906001600160a01b03166001620004e1565b620004147349831118dc243c1f5c91a33f3a01be81522014726001620004e1565b62000421336001620005af565b6200042e306001620005af565b6200043d61dead6001620005af565b60095462000456906001600160a01b03166001620005af565b620004777349831118dc243c1f5c91a33f3a01be81522014726001620005af565b6200048333826200066e565b5050620008de565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000818152601f6020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910160405180910390a15050565b6001600160a01b03821660009081526020805260409020805460ff1916821515179055620005738282620004e1565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6005546001600160a01b031633146200060f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b0382166000818152601e6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620006c65760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000606565b8060026000828254620006da919062000886565b90915550506001600160a01b038216600090815260208190526040812080548392906200070990849062000886565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b8280546200076190620008a1565b90600052602060002090601f016020900481019282620007855760008555620007d0565b82601f10620007a057805160ff1916838001178555620007d0565b82800160010185558215620007d0579182015b82811115620007d0578251825591602001919060010190620007b3565b50620007de929150620007e2565b5090565b5b80821115620007de5760008155600101620007e3565b6000602082840312156200080c57600080fd5b81516001600160a01b03811681146200082457600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156200085e576200085e6200082b565b500290565b6000826200088157634e487b7160e01b600052601260045260246000fd5b500490565b600082198211156200089c576200089c6200082b565b500190565b600181811c90821680620008b657607f821691505b60208210811415620008d857634e487b7160e01b600052602260045260246000fd5b50919050565b61346f80620008ee6000396000f3fe6080604052600436106103a65760003560e01c806388e765ff116101e7578063c876d0b91161010d578063ea4cfe12116100a0578063f5648a4f1161006f578063f5648a4f14610a77578063f637434214610a8c578063f8b45b0514610aa2578063fb002c9714610ab857600080fd5b8063ea4cfe1214610a0b578063ee40166e14610a2b578063f11a24d314610a41578063f2fde38b14610a5757600080fd5b8063dc3f0d0f116100dc578063dc3f0d0f1461097a578063dd62ed3e1461099a578063e2f45605146109e0578063e884f260146109f657600080fd5b8063c876d0b914610914578063cc2ffe7c1461092e578063d257b34f14610944578063d85ba0631461096457600080fd5b8063a9059cbb11610185578063c024666811610154578063c024666814610894578063c17b5b8c146108b4578063c18bc195146108d4578063c5f956af146108f457600080fd5b8063a9059cbb14610806578063b62496f514610826578063b987553914610855578063bbc0c7421461087557600080fd5b80639a7a23d6116101c15780639a7a23d6146107905780639adce734146107b0578063a457c2d7146107d0578063a62068ce146107f057600080fd5b806388e765ff146107475780638da5cb5b1461075d57806395d89b411461077b57600080fd5b806358a6d531116102cc5780636ddd17131161026a5780637571336a116102395780637571336a146106c757806379cc6790146106e75780638095d5641461070757806382aa7c681461072757600080fd5b80636ddd17131461065257806370a0823114610672578063715018a614610692578063735de9f7146106a757600080fd5b80636605bfda116102a65780636605bfda146105f057806366d602ae146106105780636a486a8e146106265780636b2fb1241461063c57600080fd5b806358a6d531146105ad5780635a139dd4146105c45780635c068a8c146105da57600080fd5b8063313ce56711610344578063499b839411610313578063499b8394146105485780634a62bb65146105685780634f77f6c01461058257806351f205e41461059857600080fd5b8063313ce567146104b457806339509351146104d057806342966c68146104f0578063452ed4f11461051057600080fd5b806318160ddd1161038057806318160ddd1461043d5780631a8145bb1461045c57806323b872dd146104725780632be32b611461049257600080fd5b806306fdde03146103b2578063095ea7b3146103dd57806310d5de531461040d57600080fd5b366103ad57005b600080fd5b3480156103be57600080fd5b506103c7610ace565b6040516103d49190612f8a565b60405180910390f35b3480156103e957600080fd5b506103fd6103f8366004612ff4565b610b60565b60405190151581526020016103d4565b34801561041957600080fd5b506103fd610428366004613020565b601f6020526000908152604090205460ff1681565b34801561044957600080fd5b506002545b6040519081526020016103d4565b34801561046857600080fd5b5061044e601c5481565b34801561047e57600080fd5b506103fd61048d366004613044565b610b78565b34801561049e57600080fd5b506104b26104ad366004613085565b610b9c565b005b3480156104c057600080fd5b50604051601281526020016103d4565b3480156104dc57600080fd5b506103fd6104eb366004612ff4565b610d22565b3480156104fc57600080fd5b506104b261050b366004613085565b610d61565b34801561051c57600080fd5b50600a54610530906001600160a01b031681565b6040516001600160a01b0390911681526020016103d4565b34801561055457600080fd5b506104b2610563366004613020565b610d6e565b34801561057457600080fd5b506010546103fd9060ff1681565b34801561058e57600080fd5b5061044e60185481565b3480156105a457600080fd5b506104b2610e08565b3480156105b957600080fd5b50600f5443106103fd565b3480156105d057600080fd5b5061044e60145481565b3480156105e657600080fd5b5061044e60165481565b3480156105fc57600080fd5b506104b261060b366004613020565b610efb565b34801561061c57600080fd5b5061044e60075481565b34801561063257600080fd5b5061044e60175481565b34801561064857600080fd5b5061044e601a5481565b34801561065e57600080fd5b506010546103fd9062010000900460ff1681565b34801561067e57600080fd5b5061044e61068d366004613020565b610f95565b34801561069e57600080fd5b506104b2610fb0565b3480156106b357600080fd5b50600954610530906001600160a01b031681565b3480156106d357600080fd5b506104b26106e23660046130b3565b610fe6565b3480156106f357600080fd5b506104b2610702366004612ff4565b61109e565b34801561071357600080fd5b506104b26107223660046130e8565b6110b7565b34801561073357600080fd5b506104b2610742366004613085565b61114c565b34801561075357600080fd5b5061044e60065481565b34801561076957600080fd5b506005546001600160a01b0316610530565b34801561078757600080fd5b506103c7611265565b34801561079c57600080fd5b506104b26107ab3660046130b3565b611274565b3480156107bc57600080fd5b506104b26107cb366004613114565b611368565b3480156107dc57600080fd5b506103fd6107eb366004612ff4565b6113a5565b3480156107fc57600080fd5b5061044e600f5481565b34801561081257600080fd5b506103fd610821366004612ff4565b611437565b34801561083257600080fd5b506103fd610841366004613020565b602080526000908152604090205460ff1681565b34801561086157600080fd5b506104b2610870366004613114565b611445565b34801561088157600080fd5b506010546103fd90610100900460ff1681565b3480156108a057600080fd5b506104b26108af3660046130b3565b611691565b3480156108c057600080fd5b506104b26108cf3660046130e8565b61171a565b3480156108e057600080fd5b506104b26108ef366004613085565b6117aa565b34801561090057600080fd5b50600d54610530906001600160a01b031681565b34801561092057600080fd5b506012546103fd9060ff1681565b34801561093a57600080fd5b5061044e601d5481565b34801561095057600080fd5b506104b261095f366004613085565b611949565b34801561097057600080fd5b5061044e60135481565b34801561098657600080fd5b506104b2610995366004613085565b611a64565b3480156109a657600080fd5b5061044e6109b536600461312f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156109ec57600080fd5b5061044e600b5481565b348015610a0257600080fd5b506104b2611bda565b348015610a1757600080fd5b50600c54610530906001600160a01b031681565b348015610a3757600080fd5b5061044e600e5481565b348015610a4d57600080fd5b5061044e60155481565b348015610a6357600080fd5b506104b2610a72366004613020565b611c10565b348015610a8357600080fd5b506104b2611ca8565b348015610a9857600080fd5b5061044e60195481565b348015610aae57600080fd5b5061044e60085481565b348015610ac457600080fd5b5061044e601b5481565b606060038054610add90613168565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0990613168565b8015610b565780601f10610b2b57610100808354040283529160200191610b56565b820191906000526020600020905b815481529060010190602001808311610b3957829003601f168201915b5050505050905090565b600033610b6e818585611d14565b5060019392505050565b600033610b86858285611e38565b610b91858585611ec4565b506001949350505050565b6005546001600160a01b03163314610bcf5760405162461bcd60e51b8152600401610bc6906131a3565b60405180910390fd5b670de0b6b3a76400006103e8610be460025490565b610bef9060056131ee565b610bf9919061320d565b610c03919061320d565b811015610c525760405162461bcd60e51b815260206004820152601e60248201527f4d61782062757920616d6f756e74206c6f776572207468616e20302e352500006044820152606401610bc6565b670de0b6b3a76400006064610c6660025490565b610c719060026131ee565b610c7b919061320d565b610c85919061320d565b811115610cd45760405162461bcd60e51b815260206004820152601960248201527f42757920616d6f756e7420686967686572207468616e203225000000000000006044820152606401610bc6565b610ce681670de0b6b3a76400006131ee565b60068190556040519081527ffcc0366804aaa8dbf88a2924100c733b70dec8445957a5d5f8ff92898de41009906020015b60405180910390a150565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610b6e9082908690610d5c90879061322f565b611d14565b610d6b3382612803565b50565b6005546001600160a01b03163314610d985760405162461bcd60e51b8152600401610bc6906131a3565b6001600160a01b038116610dbe5760405162461bcd60e51b8152600401610bc690613247565b600c80546001600160a01b0319166001600160a01b0383169081179091556040517f4efa56652237561d0f1fd31311aeaaa41f3b754a461545ed3cf6ced5876d298290600090a250565b6005546001600160a01b03163314610e325760405162461bcd60e51b8152600401610bc6906131a3565b600b54610e3e30610f95565b1015610e9e5760405162461bcd60e51b815260206004820152602960248201527f546f6b656e20616d6f756e74203c206d696e696d756d207377617020746f6b656044820152681b9cc8185b5bdd5b9d60ba1b6064820152608401610bc6565b600a805460ff60a01b1916600160a01b179055610eb9612951565b600a805460ff60a01b191690556040514281527f1b56c383f4f48fc992e45667ea4eabae777b9cca68b516a9562d8cda78f1bb329060200160405180910390a1565b6005546001600160a01b03163314610f255760405162461bcd60e51b8152600401610bc6906131a3565b6001600160a01b038116610f4b5760405162461bcd60e51b8152600401610bc690613247565b600d80546001600160a01b0319166001600160a01b0383169081179091556040517f2e1e696cfb265fa16e1170d24ef04cb2262772bde00ecf34d80bae6722487b7f90600090a250565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b03163314610fda5760405162461bcd60e51b8152600401610bc6906131a3565b610fe46000612b59565b565b6005546001600160a01b031633146110105760405162461bcd60e51b8152600401610bc6906131a3565b8061107357600a546001600160a01b03838116911614156110735760405162461bcd60e51b815260206004820152601e60248201527f556e69737761702070616972206d7573742068617665206d61782074786e00006044820152606401610bc6565b6001600160a01b03919091166000908152601f60205260409020805460ff1916911515919091179055565b6110a9823383611e38565b6110b38282612803565b5050565b6005546001600160a01b031633146110e15760405162461bcd60e51b8152600401610bc6906131a3565b601483905560158290556016819055806110fb838561322f565b611105919061322f565b6013819055600f10156111475760405162461bcd60e51b815260206004820152600a60248201526946656573203e2031352560b01b6044820152606401610bc6565b505050565b6005546001600160a01b031633146111765760405162461bcd60e51b8152600401610bc6906131a3565b601054610100900460ff16156111ce5760405162461bcd60e51b815260206004820152601a60248201527f54726164696e6720697320616c7265616479206163746976652e0000000000006044820152606401610bc6565b600a81106112145760405162461bcd60e51b8152602060048201526013602482015272050656e616c747920626c6f636b73203e20313606c1b6044820152606401610bc6565b6010805462ffff0019166201010017905543600e81905561123690829061322f565b600f556040517fa56feb2d31b9a7424db0be063fd450863979c9e2382cf5110f869bd1ad361bb790600090a150565b606060048054610add90613168565b6005546001600160a01b0316331461129e5760405162461bcd60e51b8152600401610bc6906131a3565b600a546001600160a01b03838116911614156113225760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610bc6565b61132c8282612bab565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6005546001600160a01b031633146113925760405162461bcd60e51b8152600401610bc6906131a3565b6010805460ff1916911515919091179055565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091908381101561142a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610bc6565b610b918286868403611d14565b600033610b6e818585611ec4565b6005546001600160a01b0316331461146f5760405162461bcd60e51b8152600401610bc6906131a3565b806114bc5760405162461bcd60e51b815260206004820152601f60248201527f506c6561736520636f6e6669726d20616464696e67206f6620746865204c50006044820152606401610bc6565b601054610100900460ff16156115285760405162461bcd60e51b815260206004820152602b60248201527f54726164696e6720697320616c7265616479206163746976652c2063616e6e6f60448201526a3a103932b630bab731b41760a91b6064820152608401610bc6565b600047116115845760405162461bcd60e51b815260206004820152602360248201527f4d757374206861766520455448206f6e20636f6e747261637420746f206c61756044820152620dcc6d60eb1b6064820152608401610bc6565b600061158f30610f95565b116115eb5760405162461bcd60e51b815260206004820152602660248201527f4d757374206861766520546f6b656e73206f6e20636f6e747261637420746f206044820152650d8c2eadcc6d60d31b6064820152608401610bc6565b6009546116069030906001600160a01b0316610d5c82610f95565b6009546001600160a01b031663f305d719473061162281610f95565b60008030426040518863ffffffff1660e01b81526004016116489695949392919061328d565b60606040518083038185885af1158015611666573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061168b91906132c8565b50505050565b6005546001600160a01b031633146116bb5760405162461bcd60e51b8152600401610bc6906131a3565b6001600160a01b0382166000818152601e6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146117445760405162461bcd60e51b8152600401610bc6906131a3565b60188390556019829055601a8190558061175e838561322f565b611768919061322f565b6017819055601410156111475760405162461bcd60e51b815260206004820152600a60248201526946656573203e2032302560b01b6044820152606401610bc6565b6005546001600160a01b031633146117d45760405162461bcd60e51b8152600401610bc6906131a3565b670de0b6b3a76400006103e86117e960025490565b6117f49060056131ee565b6117fe919061320d565b611808919061320d565b81101561186c5760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f7420736574206d61782077616c6c657420616d6f756e74206c6f7760448201526b6572207468616e20302e352560a01b6064820152608401610bc6565b670de0b6b3a7640000606461188060025490565b61188b9060056131ee565b611895919061320d565b61189f919061320d565b8111156119025760405162461bcd60e51b815260206004820152602b60248201527f43616e6e6f7420736574206d61782077616c6c657420616d6f756e742068696760448201526a686572207468616e20352560a81b6064820152608401610bc6565b61191481670de0b6b3a76400006131ee565b60088190556040519081527fefc9add9a9b7382de284ef5ad69d8ea863e2680492b21a81948c2d5f04a442bc90602001610d17565b6005546001600160a01b031633146119735760405162461bcd60e51b8152600401610bc6906131a3565b620186a061198060025490565b61198b9060016131ee565b611995919061320d565b8110156119ef5760405162461bcd60e51b815260206004820152602260248201527f5377617020616d6f756e74203c20302e3030312520746f74616c20737570706c6044820152613c9760f11b6064820152608401610bc6565b6103e86119fb60025490565b611a069060016131ee565b611a10919061320d565b811115611a5f5760405162461bcd60e51b815260206004820181905260248201527f5377617020616d6f756e74203e20302e312520746f74616c20737570706c792e6044820152606401610bc6565b600b55565b6005546001600160a01b03163314611a8e5760405162461bcd60e51b8152600401610bc6906131a3565b670de0b6b3a76400006103e8611aa360025490565b611aae9060056131ee565b611ab8919061320d565b611ac2919061320d565b811015611b115760405162461bcd60e51b815260206004820152601f60248201527f4d61782073656c6c20616d6f756e74206c6f776572207468616e20302e3525006044820152606401610bc6565b670de0b6b3a76400006064611b2560025490565b611b309060026131ee565b611b3a919061320d565b611b44919061320d565b811115611b935760405162461bcd60e51b815260206004820152601e60248201527f4d61782073656c6c20616d6f756e7420686967686572207468616e20322500006044820152606401610bc6565b611ba581670de0b6b3a76400006131ee565b60078190556040519081527f53c4eb831d8cfeb750f1c62590d8cd30f4c6f0380d29a05caa09f0d92588560e90602001610d17565b6005546001600160a01b03163314611c045760405162461bcd60e51b8152600401610bc6906131a3565b6012805460ff19169055565b6005546001600160a01b03163314611c3a5760405162461bcd60e51b8152600401610bc6906131a3565b6001600160a01b038116611c9f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bc6565b610d6b81612b59565b6005546001600160a01b03163314611cd25760405162461bcd60e51b8152600401610bc6906131a3565b604051600090339047908381818185875af1925050503d806000811461168b576040519150601f19603f3d011682016040523d82523d6000602084013e61168b565b6001600160a01b038316611d765760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610bc6565b6001600160a01b038216611dd75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610bc6565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461168b5781811015611eb75760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610bc6565b61168b8484848403611d14565b6001600160a01b038316611eea5760405162461bcd60e51b8152600401610bc6906132f6565b6001600160a01b038216611f105760405162461bcd60e51b8152600401610bc69061333b565b60008111611f525760405162461bcd60e51b815260206004820152600f60248201526e0616d6f756e74206d757374203e203608c1b6044820152606401610bc6565b601054610100900460ff16611fe5576001600160a01b0383166000908152601e602052604090205460ff1680611fa057506001600160a01b0382166000908152601e602052604090205460ff165b611fe55760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610bc6565b60105460ff16156123a4576005546001600160a01b0384811691161480159061201c57506005546001600160a01b03838116911614155b801561203357506001600160a01b03821661dead14155b801561205857506001600160a01b0383166000908152601e602052604090205460ff16155b801561207d57506001600160a01b0382166000908152601e602052604090205460ff16155b156123a45760125460ff1615612182576009546001600160a01b038381169116148015906120b95750600a546001600160a01b03838116911614155b156121825732600090815260116020526040902054431180156120f357506001600160a01b03821660009081526011602052604090205443115b61215d5760405162461bcd60e51b815260206004820152603560248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527432b21710102a393c9030b3b0b4b7103630ba32b91760591b6064820152608401610bc6565b3260009081526011602052604080822043908190556001600160a01b03851683529120555b6001600160a01b038316600090815260208052604090205460ff1680156121c257506001600160a01b0382166000908152601f602052604090205460ff16155b156122895760065481111561222a5760405162461bcd60e51b815260206004820152602860248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526736b0bc10313abc9760c11b6064820152608401610bc6565b60085461223683610f95565b612240908361322f565b11156122845760405162461bcd60e51b815260206004820152601360248201527213585e0815d85b1b195d08115e18d959591959606a1b6044820152606401610bc6565b6123a4565b6001600160a01b038216600090815260208052604090205460ff1680156122c957506001600160a01b0383166000908152601f602052604090205460ff16155b1561232a576007548111156122845760405162461bcd60e51b815260206004820152602160248201527f53656c6c207472616e7366657220616d6f756e74203e20206d61782073656c6c6044820152601760f91b6064820152608401610bc6565b6001600160a01b0382166000908152601f602052604090205460ff166123a45760085461235683610f95565b612360908361322f565b11156123a45760405162461bcd60e51b815260206004820152601360248201527213585e0815d85b1b195d08115e18d959591959606a1b6044820152606401610bc6565b60006123af30610f95565b600b54909150811080159081906123ce575060105462010000900460ff165b80156123e45750600a54600160a01b900460ff16155b801561240757506001600160a01b038416600090815260208052604090205460ff165b1561243557600a805460ff60a01b1916600160a01b179055612427612951565b600a805460ff60a01b191690555b6001600160a01b0385166000908152601e602052604090205460019060ff168061247757506001600160a01b0385166000908152601e602052604090205460ff165b15612480575060005b600081156127ef57600f544310806124c65750670c7d713b49da00006006546124a9919061337e565b85101580156124c6575043600f5460086124c3919061322f565b10155b80156124e957506001600160a01b038716600090815260208052604090205460ff165b801561250d57506001600160a01b038616600090815260208052604090205460ff16155b801561253257506001600160a01b0386166000908152601e602052604090205460ff16155b801561254057506000601354115b1561263a57600f54431061256757600160066000828254612561919061337e565b90915550505b600e54612574904361337e565b61257f9060646131ee565b61258b906103e861322f565b612597866103e76131ee565b6125a1919061320d565b9050601354601554826125b491906131ee565b6125be919061320d565b601c60008282546125cf919061322f565b90915550506013546014546125e490836131ee565b6125ee919061320d565b601b60008282546125ff919061322f565b909155505060135460165461261490836131ee565b61261e919061320d565b601d600082825461262f919061322f565b909155506127d19050565b6001600160a01b038616600090815260208052604090205460ff16801561266357506000601754115b156126f55760646017548661267891906131ee565b612682919061320d565b90506017546019548261269591906131ee565b61269f919061320d565b601c60008282546126b0919061322f565b90915550506017546018546126c590836131ee565b6126cf919061320d565b601b60008282546126e0919061322f565b9091555050601754601a5461261490836131ee565b6001600160a01b038716600090815260208052604090205460ff16801561271e57506000601354115b156127d15760646013548661273391906131ee565b61273d919061320d565b90506013546015548261275091906131ee565b61275a919061320d565b601c600082825461276b919061322f565b909155505060135460145461278090836131ee565b61278a919061320d565b601b600082825461279b919061322f565b90915550506013546016546127b090836131ee565b6127ba919061320d565b601d60008282546127cb919061322f565b90915550505b80156127e2576127e2873083612bd8565b6127ec818661337e565b94505b6127fa878787612bd8565b50505050505050565b6001600160a01b0382166128635760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610bc6565b6001600160a01b038216600090815260208190526040902054818110156128d75760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610bc6565b6001600160a01b038316600090815260208190526040812083830390556002805484929061290690849061337e565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600061295c30610f95565b90506000601d54601b54601c54612973919061322f565b61297d919061322f565b905081158061298a575080155b15612993575050565b600b546129a190600a6131ee565b8211156129b957600b546129b690600a6131ee565b91505b600080600283601c54866129cd91906131ee565b6129d7919061320d565b6129e1919061320d565b90506129f56129f0828661337e565b612d2c565b601c5447908190600090612a0b9060029061320d565b612a15908761337e565b601b54612a2290856131ee565b612a2c919061320d565b905060006002601c54612a3f919061320d565b612a49908861337e565b601d54612a5690866131ee565b612a60919061320d565b9050612a6c818361322f565b612a76908461337e565b6000601c819055601b819055601d5592508415801590612a965750600083115b15612aa557612aa58584612e86565b600d546040516001600160a01b03909116908290600081818185875af1925050503d8060008114612af2576040519150601f19603f3d011682016040523d82523d6000602084013e612af7565b606091505b5050600c546040519197506001600160a01b0316904790600081818185875af1925050503d8060008114612b47576040519150601f19603f3d011682016040523d82523d6000602084013e612b4c565b606091505b5050505050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526020805260409020805460ff191682151517905561132c8282612f27565b6001600160a01b038316612bfe5760405162461bcd60e51b8152600401610bc6906132f6565b6001600160a01b038216612c245760405162461bcd60e51b8152600401610bc69061333b565b6001600160a01b03831660009081526020819052604090205481811015612c9c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610bc6565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290612cd390849061322f565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612d1f91815260200190565b60405180910390a361168b565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612d6157612d61613395565b6001600160a01b03928316602091820292909201810191909152600954604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612dba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dde91906133ab565b81600181518110612df157612df1613395565b6001600160a01b039283166020918202929092010152600954612e179130911684611d14565b60095460405163791ac94760e01b81526001600160a01b039091169063791ac94790612e509085906000908690309042906004016133c8565b600060405180830381600087803b158015612e6a57600080fd5b505af1158015612e7e573d6000803e3d6000fd5b505050505050565b600954612e9e9030906001600160a01b031684611d14565b60095460405163f305d71960e01b81526001600160a01b039091169063f305d719908390612edd9030908790600090819061dead90429060040161328d565b60606040518083038185885af1158015612efb573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612f2091906132c8565b5050505050565b6001600160a01b0382166000818152601f6020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910160405180910390a15050565b600060208083528351808285015260005b81811015612fb757858101830151858201604001528201612f9b565b81811115612fc9576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610d6b57600080fd5b6000806040838503121561300757600080fd5b823561301281612fdf565b946020939093013593505050565b60006020828403121561303257600080fd5b813561303d81612fdf565b9392505050565b60008060006060848603121561305957600080fd5b833561306481612fdf565b9250602084013561307481612fdf565b929592945050506040919091013590565b60006020828403121561309757600080fd5b5035919050565b803580151581146130ae57600080fd5b919050565b600080604083850312156130c657600080fd5b82356130d181612fdf565b91506130df6020840161309e565b90509250929050565b6000806000606084860312156130fd57600080fd5b505081359360208301359350604090920135919050565b60006020828403121561312657600080fd5b61303d8261309e565b6000806040838503121561314257600080fd5b823561314d81612fdf565b9150602083013561315d81612fdf565b809150509250929050565b600181811c9082168061317c57607f821691505b6020821081141561319d57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615613208576132086131d8565b500290565b60008261322a57634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115613242576132426131d8565b500190565b60208082526026908201527f5f6f7065726174696f6e734164647265737320616464726573732063616e6e6f60408201526507420626520360d41b606082015260800190565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b6000806000606084860312156132dd57600080fd5b8351925060208401519150604084015190509250925092565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600082821015613390576133906131d8565b500390565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156133bd57600080fd5b815161303d81612fdf565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156134185784516001600160a01b0316835293830193918301916001016133f3565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212202bff967446ac5565c1263130effa4d5901a242c115f98fd4a4f61ab582089dee64736f6c634300080a00330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Deployed Bytecode
0x6080604052600436106103a65760003560e01c806388e765ff116101e7578063c876d0b91161010d578063ea4cfe12116100a0578063f5648a4f1161006f578063f5648a4f14610a77578063f637434214610a8c578063f8b45b0514610aa2578063fb002c9714610ab857600080fd5b8063ea4cfe1214610a0b578063ee40166e14610a2b578063f11a24d314610a41578063f2fde38b14610a5757600080fd5b8063dc3f0d0f116100dc578063dc3f0d0f1461097a578063dd62ed3e1461099a578063e2f45605146109e0578063e884f260146109f657600080fd5b8063c876d0b914610914578063cc2ffe7c1461092e578063d257b34f14610944578063d85ba0631461096457600080fd5b8063a9059cbb11610185578063c024666811610154578063c024666814610894578063c17b5b8c146108b4578063c18bc195146108d4578063c5f956af146108f457600080fd5b8063a9059cbb14610806578063b62496f514610826578063b987553914610855578063bbc0c7421461087557600080fd5b80639a7a23d6116101c15780639a7a23d6146107905780639adce734146107b0578063a457c2d7146107d0578063a62068ce146107f057600080fd5b806388e765ff146107475780638da5cb5b1461075d57806395d89b411461077b57600080fd5b806358a6d531116102cc5780636ddd17131161026a5780637571336a116102395780637571336a146106c757806379cc6790146106e75780638095d5641461070757806382aa7c681461072757600080fd5b80636ddd17131461065257806370a0823114610672578063715018a614610692578063735de9f7146106a757600080fd5b80636605bfda116102a65780636605bfda146105f057806366d602ae146106105780636a486a8e146106265780636b2fb1241461063c57600080fd5b806358a6d531146105ad5780635a139dd4146105c45780635c068a8c146105da57600080fd5b8063313ce56711610344578063499b839411610313578063499b8394146105485780634a62bb65146105685780634f77f6c01461058257806351f205e41461059857600080fd5b8063313ce567146104b457806339509351146104d057806342966c68146104f0578063452ed4f11461051057600080fd5b806318160ddd1161038057806318160ddd1461043d5780631a8145bb1461045c57806323b872dd146104725780632be32b611461049257600080fd5b806306fdde03146103b2578063095ea7b3146103dd57806310d5de531461040d57600080fd5b366103ad57005b600080fd5b3480156103be57600080fd5b506103c7610ace565b6040516103d49190612f8a565b60405180910390f35b3480156103e957600080fd5b506103fd6103f8366004612ff4565b610b60565b60405190151581526020016103d4565b34801561041957600080fd5b506103fd610428366004613020565b601f6020526000908152604090205460ff1681565b34801561044957600080fd5b506002545b6040519081526020016103d4565b34801561046857600080fd5b5061044e601c5481565b34801561047e57600080fd5b506103fd61048d366004613044565b610b78565b34801561049e57600080fd5b506104b26104ad366004613085565b610b9c565b005b3480156104c057600080fd5b50604051601281526020016103d4565b3480156104dc57600080fd5b506103fd6104eb366004612ff4565b610d22565b3480156104fc57600080fd5b506104b261050b366004613085565b610d61565b34801561051c57600080fd5b50600a54610530906001600160a01b031681565b6040516001600160a01b0390911681526020016103d4565b34801561055457600080fd5b506104b2610563366004613020565b610d6e565b34801561057457600080fd5b506010546103fd9060ff1681565b34801561058e57600080fd5b5061044e60185481565b3480156105a457600080fd5b506104b2610e08565b3480156105b957600080fd5b50600f5443106103fd565b3480156105d057600080fd5b5061044e60145481565b3480156105e657600080fd5b5061044e60165481565b3480156105fc57600080fd5b506104b261060b366004613020565b610efb565b34801561061c57600080fd5b5061044e60075481565b34801561063257600080fd5b5061044e60175481565b34801561064857600080fd5b5061044e601a5481565b34801561065e57600080fd5b506010546103fd9062010000900460ff1681565b34801561067e57600080fd5b5061044e61068d366004613020565b610f95565b34801561069e57600080fd5b506104b2610fb0565b3480156106b357600080fd5b50600954610530906001600160a01b031681565b3480156106d357600080fd5b506104b26106e23660046130b3565b610fe6565b3480156106f357600080fd5b506104b2610702366004612ff4565b61109e565b34801561071357600080fd5b506104b26107223660046130e8565b6110b7565b34801561073357600080fd5b506104b2610742366004613085565b61114c565b34801561075357600080fd5b5061044e60065481565b34801561076957600080fd5b506005546001600160a01b0316610530565b34801561078757600080fd5b506103c7611265565b34801561079c57600080fd5b506104b26107ab3660046130b3565b611274565b3480156107bc57600080fd5b506104b26107cb366004613114565b611368565b3480156107dc57600080fd5b506103fd6107eb366004612ff4565b6113a5565b3480156107fc57600080fd5b5061044e600f5481565b34801561081257600080fd5b506103fd610821366004612ff4565b611437565b34801561083257600080fd5b506103fd610841366004613020565b602080526000908152604090205460ff1681565b34801561086157600080fd5b506104b2610870366004613114565b611445565b34801561088157600080fd5b506010546103fd90610100900460ff1681565b3480156108a057600080fd5b506104b26108af3660046130b3565b611691565b3480156108c057600080fd5b506104b26108cf3660046130e8565b61171a565b3480156108e057600080fd5b506104b26108ef366004613085565b6117aa565b34801561090057600080fd5b50600d54610530906001600160a01b031681565b34801561092057600080fd5b506012546103fd9060ff1681565b34801561093a57600080fd5b5061044e601d5481565b34801561095057600080fd5b506104b261095f366004613085565b611949565b34801561097057600080fd5b5061044e60135481565b34801561098657600080fd5b506104b2610995366004613085565b611a64565b3480156109a657600080fd5b5061044e6109b536600461312f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156109ec57600080fd5b5061044e600b5481565b348015610a0257600080fd5b506104b2611bda565b348015610a1757600080fd5b50600c54610530906001600160a01b031681565b348015610a3757600080fd5b5061044e600e5481565b348015610a4d57600080fd5b5061044e60155481565b348015610a6357600080fd5b506104b2610a72366004613020565b611c10565b348015610a8357600080fd5b506104b2611ca8565b348015610a9857600080fd5b5061044e60195481565b348015610aae57600080fd5b5061044e60085481565b348015610ac457600080fd5b5061044e601b5481565b606060038054610add90613168565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0990613168565b8015610b565780601f10610b2b57610100808354040283529160200191610b56565b820191906000526020600020905b815481529060010190602001808311610b3957829003601f168201915b5050505050905090565b600033610b6e818585611d14565b5060019392505050565b600033610b86858285611e38565b610b91858585611ec4565b506001949350505050565b6005546001600160a01b03163314610bcf5760405162461bcd60e51b8152600401610bc6906131a3565b60405180910390fd5b670de0b6b3a76400006103e8610be460025490565b610bef9060056131ee565b610bf9919061320d565b610c03919061320d565b811015610c525760405162461bcd60e51b815260206004820152601e60248201527f4d61782062757920616d6f756e74206c6f776572207468616e20302e352500006044820152606401610bc6565b670de0b6b3a76400006064610c6660025490565b610c719060026131ee565b610c7b919061320d565b610c85919061320d565b811115610cd45760405162461bcd60e51b815260206004820152601960248201527f42757920616d6f756e7420686967686572207468616e203225000000000000006044820152606401610bc6565b610ce681670de0b6b3a76400006131ee565b60068190556040519081527ffcc0366804aaa8dbf88a2924100c733b70dec8445957a5d5f8ff92898de41009906020015b60405180910390a150565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610b6e9082908690610d5c90879061322f565b611d14565b610d6b3382612803565b50565b6005546001600160a01b03163314610d985760405162461bcd60e51b8152600401610bc6906131a3565b6001600160a01b038116610dbe5760405162461bcd60e51b8152600401610bc690613247565b600c80546001600160a01b0319166001600160a01b0383169081179091556040517f4efa56652237561d0f1fd31311aeaaa41f3b754a461545ed3cf6ced5876d298290600090a250565b6005546001600160a01b03163314610e325760405162461bcd60e51b8152600401610bc6906131a3565b600b54610e3e30610f95565b1015610e9e5760405162461bcd60e51b815260206004820152602960248201527f546f6b656e20616d6f756e74203c206d696e696d756d207377617020746f6b656044820152681b9cc8185b5bdd5b9d60ba1b6064820152608401610bc6565b600a805460ff60a01b1916600160a01b179055610eb9612951565b600a805460ff60a01b191690556040514281527f1b56c383f4f48fc992e45667ea4eabae777b9cca68b516a9562d8cda78f1bb329060200160405180910390a1565b6005546001600160a01b03163314610f255760405162461bcd60e51b8152600401610bc6906131a3565b6001600160a01b038116610f4b5760405162461bcd60e51b8152600401610bc690613247565b600d80546001600160a01b0319166001600160a01b0383169081179091556040517f2e1e696cfb265fa16e1170d24ef04cb2262772bde00ecf34d80bae6722487b7f90600090a250565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b03163314610fda5760405162461bcd60e51b8152600401610bc6906131a3565b610fe46000612b59565b565b6005546001600160a01b031633146110105760405162461bcd60e51b8152600401610bc6906131a3565b8061107357600a546001600160a01b03838116911614156110735760405162461bcd60e51b815260206004820152601e60248201527f556e69737761702070616972206d7573742068617665206d61782074786e00006044820152606401610bc6565b6001600160a01b03919091166000908152601f60205260409020805460ff1916911515919091179055565b6110a9823383611e38565b6110b38282612803565b5050565b6005546001600160a01b031633146110e15760405162461bcd60e51b8152600401610bc6906131a3565b601483905560158290556016819055806110fb838561322f565b611105919061322f565b6013819055600f10156111475760405162461bcd60e51b815260206004820152600a60248201526946656573203e2031352560b01b6044820152606401610bc6565b505050565b6005546001600160a01b031633146111765760405162461bcd60e51b8152600401610bc6906131a3565b601054610100900460ff16156111ce5760405162461bcd60e51b815260206004820152601a60248201527f54726164696e6720697320616c7265616479206163746976652e0000000000006044820152606401610bc6565b600a81106112145760405162461bcd60e51b8152602060048201526013602482015272050656e616c747920626c6f636b73203e20313606c1b6044820152606401610bc6565b6010805462ffff0019166201010017905543600e81905561123690829061322f565b600f556040517fa56feb2d31b9a7424db0be063fd450863979c9e2382cf5110f869bd1ad361bb790600090a150565b606060048054610add90613168565b6005546001600160a01b0316331461129e5760405162461bcd60e51b8152600401610bc6906131a3565b600a546001600160a01b03838116911614156113225760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610bc6565b61132c8282612bab565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6005546001600160a01b031633146113925760405162461bcd60e51b8152600401610bc6906131a3565b6010805460ff1916911515919091179055565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091908381101561142a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610bc6565b610b918286868403611d14565b600033610b6e818585611ec4565b6005546001600160a01b0316331461146f5760405162461bcd60e51b8152600401610bc6906131a3565b806114bc5760405162461bcd60e51b815260206004820152601f60248201527f506c6561736520636f6e6669726d20616464696e67206f6620746865204c50006044820152606401610bc6565b601054610100900460ff16156115285760405162461bcd60e51b815260206004820152602b60248201527f54726164696e6720697320616c7265616479206163746976652c2063616e6e6f60448201526a3a103932b630bab731b41760a91b6064820152608401610bc6565b600047116115845760405162461bcd60e51b815260206004820152602360248201527f4d757374206861766520455448206f6e20636f6e747261637420746f206c61756044820152620dcc6d60eb1b6064820152608401610bc6565b600061158f30610f95565b116115eb5760405162461bcd60e51b815260206004820152602660248201527f4d757374206861766520546f6b656e73206f6e20636f6e747261637420746f206044820152650d8c2eadcc6d60d31b6064820152608401610bc6565b6009546116069030906001600160a01b0316610d5c82610f95565b6009546001600160a01b031663f305d719473061162281610f95565b60008030426040518863ffffffff1660e01b81526004016116489695949392919061328d565b60606040518083038185885af1158015611666573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061168b91906132c8565b50505050565b6005546001600160a01b031633146116bb5760405162461bcd60e51b8152600401610bc6906131a3565b6001600160a01b0382166000818152601e6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146117445760405162461bcd60e51b8152600401610bc6906131a3565b60188390556019829055601a8190558061175e838561322f565b611768919061322f565b6017819055601410156111475760405162461bcd60e51b815260206004820152600a60248201526946656573203e2032302560b01b6044820152606401610bc6565b6005546001600160a01b031633146117d45760405162461bcd60e51b8152600401610bc6906131a3565b670de0b6b3a76400006103e86117e960025490565b6117f49060056131ee565b6117fe919061320d565b611808919061320d565b81101561186c5760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f7420736574206d61782077616c6c657420616d6f756e74206c6f7760448201526b6572207468616e20302e352560a01b6064820152608401610bc6565b670de0b6b3a7640000606461188060025490565b61188b9060056131ee565b611895919061320d565b61189f919061320d565b8111156119025760405162461bcd60e51b815260206004820152602b60248201527f43616e6e6f7420736574206d61782077616c6c657420616d6f756e742068696760448201526a686572207468616e20352560a81b6064820152608401610bc6565b61191481670de0b6b3a76400006131ee565b60088190556040519081527fefc9add9a9b7382de284ef5ad69d8ea863e2680492b21a81948c2d5f04a442bc90602001610d17565b6005546001600160a01b031633146119735760405162461bcd60e51b8152600401610bc6906131a3565b620186a061198060025490565b61198b9060016131ee565b611995919061320d565b8110156119ef5760405162461bcd60e51b815260206004820152602260248201527f5377617020616d6f756e74203c20302e3030312520746f74616c20737570706c6044820152613c9760f11b6064820152608401610bc6565b6103e86119fb60025490565b611a069060016131ee565b611a10919061320d565b811115611a5f5760405162461bcd60e51b815260206004820181905260248201527f5377617020616d6f756e74203e20302e312520746f74616c20737570706c792e6044820152606401610bc6565b600b55565b6005546001600160a01b03163314611a8e5760405162461bcd60e51b8152600401610bc6906131a3565b670de0b6b3a76400006103e8611aa360025490565b611aae9060056131ee565b611ab8919061320d565b611ac2919061320d565b811015611b115760405162461bcd60e51b815260206004820152601f60248201527f4d61782073656c6c20616d6f756e74206c6f776572207468616e20302e3525006044820152606401610bc6565b670de0b6b3a76400006064611b2560025490565b611b309060026131ee565b611b3a919061320d565b611b44919061320d565b811115611b935760405162461bcd60e51b815260206004820152601e60248201527f4d61782073656c6c20616d6f756e7420686967686572207468616e20322500006044820152606401610bc6565b611ba581670de0b6b3a76400006131ee565b60078190556040519081527f53c4eb831d8cfeb750f1c62590d8cd30f4c6f0380d29a05caa09f0d92588560e90602001610d17565b6005546001600160a01b03163314611c045760405162461bcd60e51b8152600401610bc6906131a3565b6012805460ff19169055565b6005546001600160a01b03163314611c3a5760405162461bcd60e51b8152600401610bc6906131a3565b6001600160a01b038116611c9f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bc6565b610d6b81612b59565b6005546001600160a01b03163314611cd25760405162461bcd60e51b8152600401610bc6906131a3565b604051600090339047908381818185875af1925050503d806000811461168b576040519150601f19603f3d011682016040523d82523d6000602084013e61168b565b6001600160a01b038316611d765760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610bc6565b6001600160a01b038216611dd75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610bc6565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461168b5781811015611eb75760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610bc6565b61168b8484848403611d14565b6001600160a01b038316611eea5760405162461bcd60e51b8152600401610bc6906132f6565b6001600160a01b038216611f105760405162461bcd60e51b8152600401610bc69061333b565b60008111611f525760405162461bcd60e51b815260206004820152600f60248201526e0616d6f756e74206d757374203e203608c1b6044820152606401610bc6565b601054610100900460ff16611fe5576001600160a01b0383166000908152601e602052604090205460ff1680611fa057506001600160a01b0382166000908152601e602052604090205460ff165b611fe55760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610bc6565b60105460ff16156123a4576005546001600160a01b0384811691161480159061201c57506005546001600160a01b03838116911614155b801561203357506001600160a01b03821661dead14155b801561205857506001600160a01b0383166000908152601e602052604090205460ff16155b801561207d57506001600160a01b0382166000908152601e602052604090205460ff16155b156123a45760125460ff1615612182576009546001600160a01b038381169116148015906120b95750600a546001600160a01b03838116911614155b156121825732600090815260116020526040902054431180156120f357506001600160a01b03821660009081526011602052604090205443115b61215d5760405162461bcd60e51b815260206004820152603560248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527432b21710102a393c9030b3b0b4b7103630ba32b91760591b6064820152608401610bc6565b3260009081526011602052604080822043908190556001600160a01b03851683529120555b6001600160a01b038316600090815260208052604090205460ff1680156121c257506001600160a01b0382166000908152601f602052604090205460ff16155b156122895760065481111561222a5760405162461bcd60e51b815260206004820152602860248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526736b0bc10313abc9760c11b6064820152608401610bc6565b60085461223683610f95565b612240908361322f565b11156122845760405162461bcd60e51b815260206004820152601360248201527213585e0815d85b1b195d08115e18d959591959606a1b6044820152606401610bc6565b6123a4565b6001600160a01b038216600090815260208052604090205460ff1680156122c957506001600160a01b0383166000908152601f602052604090205460ff16155b1561232a576007548111156122845760405162461bcd60e51b815260206004820152602160248201527f53656c6c207472616e7366657220616d6f756e74203e20206d61782073656c6c6044820152601760f91b6064820152608401610bc6565b6001600160a01b0382166000908152601f602052604090205460ff166123a45760085461235683610f95565b612360908361322f565b11156123a45760405162461bcd60e51b815260206004820152601360248201527213585e0815d85b1b195d08115e18d959591959606a1b6044820152606401610bc6565b60006123af30610f95565b600b54909150811080159081906123ce575060105462010000900460ff165b80156123e45750600a54600160a01b900460ff16155b801561240757506001600160a01b038416600090815260208052604090205460ff165b1561243557600a805460ff60a01b1916600160a01b179055612427612951565b600a805460ff60a01b191690555b6001600160a01b0385166000908152601e602052604090205460019060ff168061247757506001600160a01b0385166000908152601e602052604090205460ff165b15612480575060005b600081156127ef57600f544310806124c65750670c7d713b49da00006006546124a9919061337e565b85101580156124c6575043600f5460086124c3919061322f565b10155b80156124e957506001600160a01b038716600090815260208052604090205460ff165b801561250d57506001600160a01b038616600090815260208052604090205460ff16155b801561253257506001600160a01b0386166000908152601e602052604090205460ff16155b801561254057506000601354115b1561263a57600f54431061256757600160066000828254612561919061337e565b90915550505b600e54612574904361337e565b61257f9060646131ee565b61258b906103e861322f565b612597866103e76131ee565b6125a1919061320d565b9050601354601554826125b491906131ee565b6125be919061320d565b601c60008282546125cf919061322f565b90915550506013546014546125e490836131ee565b6125ee919061320d565b601b60008282546125ff919061322f565b909155505060135460165461261490836131ee565b61261e919061320d565b601d600082825461262f919061322f565b909155506127d19050565b6001600160a01b038616600090815260208052604090205460ff16801561266357506000601754115b156126f55760646017548661267891906131ee565b612682919061320d565b90506017546019548261269591906131ee565b61269f919061320d565b601c60008282546126b0919061322f565b90915550506017546018546126c590836131ee565b6126cf919061320d565b601b60008282546126e0919061322f565b9091555050601754601a5461261490836131ee565b6001600160a01b038716600090815260208052604090205460ff16801561271e57506000601354115b156127d15760646013548661273391906131ee565b61273d919061320d565b90506013546015548261275091906131ee565b61275a919061320d565b601c600082825461276b919061322f565b909155505060135460145461278090836131ee565b61278a919061320d565b601b600082825461279b919061322f565b90915550506013546016546127b090836131ee565b6127ba919061320d565b601d60008282546127cb919061322f565b90915550505b80156127e2576127e2873083612bd8565b6127ec818661337e565b94505b6127fa878787612bd8565b50505050505050565b6001600160a01b0382166128635760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610bc6565b6001600160a01b038216600090815260208190526040902054818110156128d75760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610bc6565b6001600160a01b038316600090815260208190526040812083830390556002805484929061290690849061337e565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600061295c30610f95565b90506000601d54601b54601c54612973919061322f565b61297d919061322f565b905081158061298a575080155b15612993575050565b600b546129a190600a6131ee565b8211156129b957600b546129b690600a6131ee565b91505b600080600283601c54866129cd91906131ee565b6129d7919061320d565b6129e1919061320d565b90506129f56129f0828661337e565b612d2c565b601c5447908190600090612a0b9060029061320d565b612a15908761337e565b601b54612a2290856131ee565b612a2c919061320d565b905060006002601c54612a3f919061320d565b612a49908861337e565b601d54612a5690866131ee565b612a60919061320d565b9050612a6c818361322f565b612a76908461337e565b6000601c819055601b819055601d5592508415801590612a965750600083115b15612aa557612aa58584612e86565b600d546040516001600160a01b03909116908290600081818185875af1925050503d8060008114612af2576040519150601f19603f3d011682016040523d82523d6000602084013e612af7565b606091505b5050600c546040519197506001600160a01b0316904790600081818185875af1925050503d8060008114612b47576040519150601f19603f3d011682016040523d82523d6000602084013e612b4c565b606091505b5050505050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526020805260409020805460ff191682151517905561132c8282612f27565b6001600160a01b038316612bfe5760405162461bcd60e51b8152600401610bc6906132f6565b6001600160a01b038216612c245760405162461bcd60e51b8152600401610bc69061333b565b6001600160a01b03831660009081526020819052604090205481811015612c9c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610bc6565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290612cd390849061322f565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612d1f91815260200190565b60405180910390a361168b565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612d6157612d61613395565b6001600160a01b03928316602091820292909201810191909152600954604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612dba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dde91906133ab565b81600181518110612df157612df1613395565b6001600160a01b039283166020918202929092010152600954612e179130911684611d14565b60095460405163791ac94760e01b81526001600160a01b039091169063791ac94790612e509085906000908690309042906004016133c8565b600060405180830381600087803b158015612e6a57600080fd5b505af1158015612e7e573d6000803e3d6000fd5b505050505050565b600954612e9e9030906001600160a01b031684611d14565b60095460405163f305d71960e01b81526001600160a01b039091169063f305d719908390612edd9030908790600090819061dead90429060040161328d565b60606040518083038185885af1158015612efb573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612f2091906132c8565b5050505050565b6001600160a01b0382166000818152601f6020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910160405180910390a15050565b600060208083528351808285015260005b81811015612fb757858101830151858201604001528201612f9b565b81811115612fc9576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610d6b57600080fd5b6000806040838503121561300757600080fd5b823561301281612fdf565b946020939093013593505050565b60006020828403121561303257600080fd5b813561303d81612fdf565b9392505050565b60008060006060848603121561305957600080fd5b833561306481612fdf565b9250602084013561307481612fdf565b929592945050506040919091013590565b60006020828403121561309757600080fd5b5035919050565b803580151581146130ae57600080fd5b919050565b600080604083850312156130c657600080fd5b82356130d181612fdf565b91506130df6020840161309e565b90509250929050565b6000806000606084860312156130fd57600080fd5b505081359360208301359350604090920135919050565b60006020828403121561312657600080fd5b61303d8261309e565b6000806040838503121561314257600080fd5b823561314d81612fdf565b9150602083013561315d81612fdf565b809150509250929050565b600181811c9082168061317c57607f821691505b6020821081141561319d57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615613208576132086131d8565b500290565b60008261322a57634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115613242576132426131d8565b500190565b60208082526026908201527f5f6f7065726174696f6e734164647265737320616464726573732063616e6e6f60408201526507420626520360d41b606082015260800190565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b6000806000606084860312156132dd57600080fd5b8351925060208401519150604084015190509250925092565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600082821015613390576133906131d8565b500390565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156133bd57600080fd5b815161303d81612fdf565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156134185784516001600160a01b0316835293830193918301916001016133f3565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212202bff967446ac5565c1263130effa4d5901a242c115f98fd4a4f61ab582089dee64736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
-----Decoded View---------------
Arg [0] : _router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
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.