Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
1.429436055715850594 ETH
Eth Value
$4,741.81 (@ $3,317.26/ETH)Token Holdings
Latest 25 from a total of 12,723 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 21274128 | 1 hr ago | IN | 0 ETH | 0.00062057 | ||||
Approve | 21271308 | 10 hrs ago | IN | 0 ETH | 0.00046984 | ||||
Approve | 21267744 | 22 hrs ago | IN | 0 ETH | 0.00039077 | ||||
Approve | 21261085 | 44 hrs ago | IN | 0 ETH | 0.00052235 | ||||
Approve | 21258971 | 2 days ago | IN | 0 ETH | 0.00055933 | ||||
Approve | 21258449 | 2 days ago | IN | 0 ETH | 0.00038951 | ||||
Approve | 21257795 | 2 days ago | IN | 0 ETH | 0.00075164 | ||||
Approve | 21253705 | 2 days ago | IN | 0 ETH | 0.00032171 | ||||
Transfer | 21250984 | 3 days ago | IN | 0 ETH | 0.00103242 | ||||
Approve | 21250377 | 3 days ago | IN | 0 ETH | 0.00048195 | ||||
Approve | 21248247 | 3 days ago | IN | 0 ETH | 0.00048531 | ||||
Approve | 21246324 | 3 days ago | IN | 0 ETH | 0.00073566 | ||||
Approve | 21245687 | 4 days ago | IN | 0 ETH | 0.00056419 | ||||
Approve | 21242870 | 4 days ago | IN | 0 ETH | 0.00056921 | ||||
Approve | 21241075 | 4 days ago | IN | 0 ETH | 0.0004166 | ||||
Transfer | 21241071 | 4 days ago | IN | 0 ETH | 0.00040243 | ||||
Approve | 21240941 | 4 days ago | IN | 0 ETH | 0.00070003 | ||||
Transfer | 21240689 | 4 days ago | IN | 0 ETH | 0.00070587 | ||||
Approve | 21239127 | 4 days ago | IN | 0 ETH | 0.0006677 | ||||
Approve | 21237317 | 5 days ago | IN | 0 ETH | 0.00086305 | ||||
Transfer | 21236569 | 5 days ago | IN | 0 ETH | 0.00148247 | ||||
Approve | 21236559 | 5 days ago | IN | 0 ETH | 0.00141724 | ||||
Approve | 21235765 | 5 days ago | IN | 0 ETH | 0.00033347 | ||||
Approve | 21228445 | 6 days ago | IN | 0 ETH | 0.00042913 | ||||
Approve | 21226435 | 6 days ago | IN | 0 ETH | 0.00032145 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
20169534 | 154 days ago | 0.11379192 ETH | ||||
20169534 | 154 days ago | 0.02844798 ETH | ||||
20169534 | 154 days ago | 0.11379192 ETH | ||||
20169534 | 154 days ago | 0.25603182 ETH | ||||
20139847 | 158 days ago | 0.1012306 ETH | ||||
20139847 | 158 days ago | 0.02530765 ETH | ||||
20139847 | 158 days ago | 0.1012306 ETH | ||||
20139847 | 158 days ago | 0.22776887 ETH | ||||
20110428 | 162 days ago | 0.10575274 ETH | ||||
20110428 | 162 days ago | 0.02643818 ETH | ||||
20110428 | 162 days ago | 0.10575274 ETH | ||||
20110428 | 162 days ago | 0.23794368 ETH | ||||
20088112 | 165 days ago | 0.11205518 ETH | ||||
20088112 | 165 days ago | 0.02801379 ETH | ||||
20088112 | 165 days ago | 0.11205518 ETH | ||||
20088112 | 165 days ago | 0.25212417 ETH | ||||
20058615 | 169 days ago | 0.1168687 ETH | ||||
20058615 | 169 days ago | 0.02921717 ETH | ||||
20058615 | 169 days ago | 0.1168687 ETH | ||||
20058615 | 169 days ago | 0.26295459 ETH | ||||
20050777 | 170 days ago | 0.12241062 ETH | ||||
20050777 | 170 days ago | 0.03060265 ETH | ||||
20050777 | 170 days ago | 0.12241062 ETH | ||||
20050777 | 170 days ago | 0.2754239 ETH | ||||
20033945 | 173 days ago | 0.12463438 ETH |
Loading...
Loading
Contract Name:
TokenSightToken
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 10000 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.20; interface IERC20 { function balanceOf(address account) external view returns (uint256); function transfer(address to, uint256 amount) external returns (bool); } interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); } interface IUniswapV2Router02 { function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } contract TokenSightToken { /*////////////////////////////////////////////////////////////// ERRORS //////////////////////////////////////////////////////////////*/ error ReceiverBlacklisted(); error SenderBlacklisted(); error InvalidSenderAddress(); error InvalidReceiverAddress(); error InvalidTokenAddress(); error BuyFeesTooHigh(); error SellFeesTooHigh(); error InvalidMarketMakerPair(); error BlacklistAlreadyRenounced(); error InvalidAccountForBlacklist(); error SwapAmountTooLow(); error SwapAmountTooHigh(); error MaxWalletAmountTooLow(); error MaxTransactionAmountTooLow(); error SellAmountAboveMaxTransactionAmount(); error BuyAmountAboveMaxTransactionAmount(); error MaxAmountForWalletExceeded(); error InvalidTreasuryWalletAddress(); error InvalidRevenueShareWalletAddress(); error InvalidOwnerAddress(); error InvalidUniswapV2RouterAddress(); error InvalidUniswapV2FactoryAddress(); error InvalidWethAddress(); error NotOwner(); error AlreadyStarted(); error NotStarted(); error FeesAlreadyReduced(); error FeesAlreadyDisabled(); error SafeTransferEthError(); /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 amount); event Approval(address indexed owner, address indexed spender, uint256 amount); event ExcludedFromFees(address indexed account, bool isExcluded); event ExcludedFromMaxTransactionAmount(address indexed account, bool isExcluded); event AutomatedMarketMakerPairSet(address indexed pair, bool value); event RevenueShareWalletAddressUpdated(address indexed newWallet); event TreasuryWalletAddressUpdated(address indexed newWallet); event OwnerUpdated(address indexed newOwner); event SwappedAndLiquified(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity); event BuyFeesUpdated(uint256 revenueShareFeePercent, uint256 liquidityFeePercent, uint256 treasuryFeePercent); event SellFeesUpdated(uint256 revenueShareFeePercent, uint256 liquidityFeePercent, uint256 treasuryFeePercent); event LimitsRemoved(); event LiquifyThresholdAmountUpdated(uint256 newAmount); event MaxTxAmountUpdated(uint256 newAmount); event MaxWalletAmountUpdated(uint256 newAmount); event BlacklistRenounced(); event Blacklisted(address indexed account); event Whitelisted(address indexed account); event FeesDisabled(); /*////////////////////////////////////////////////////////////// CONSTANTS //////////////////////////////////////////////////////////////*/ address private constant _DEAD_ADDRESS = address(0xdead); uint256 private constant _MAX_LIQUIFY_THRESHOLD_MULTIPLIER = 10; uint256 public constant MAX_FEES_PERCENT_THRESHOLD = 5; /*////////////////////////////////////////////////////////////// ERC20 STATE VARS //////////////////////////////////////////////////////////////*/ string public name = "TokenSight Token"; string public symbol = "TKST"; uint8 public immutable decimals = 18; uint256 public totalSupply; mapping(address account => uint256 amount) public balanceOf; mapping(address owner => mapping(address spender => uint256 amount)) public allowance; /*////////////////////////////////////////////////////////////// TOKENSIGHT STATE VARS //////////////////////////////////////////////////////////////*/ address public deployer; address public owner; address public revenueShareWallet; address public treasuryWallet; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; address public immutable wethAddress; uint256 public maxTxAmount = 1_000_000 * 1e18; uint256 public maxWalletAmount = 1_000_000 * 1e18; uint256 public liquifyThresholdAmount = 50_000 * 1e18; bool public limitsInEffect = true; bool public started = false; bool public blacklistRenounced = false; uint256 public buyTotalFeesPercent = 40; uint256 public buyRevenueShareFeePercent = 2; uint256 public buyLiquidityFeePercent = 1; uint256 public buyTreasuryFeePercent = 37; uint256 public sellTotalFeesPercent = 40; uint256 public sellRevenueShareFeePercent = 2; uint256 public sellLiquidityFeePercent = 1; uint256 public sellTreasuryFeePercent = 37; uint256 public revenueShareTokens; uint256 public liquidityTokens; uint256 public treasuryTokens; // Fees bool public feesReduced = false; bool public feesDisabled = false; // Anti-bot and anti-whale mappings and variables mapping(address => bool) public blacklisted; // exclude from fees and max transaction amount mapping(address => bool) public isExcludedFromFees; mapping(address => bool) public isExcludedFromMaxTransactionAmount; // 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; bool private _liquifying; /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor( address _revenueShareWallet, address _treasuryWallet, address _owner, address _univ2Router, address _univ2Factory, address _wethAddress ) { if (_revenueShareWallet == address(0)) revert InvalidRevenueShareWalletAddress(); if (_treasuryWallet == address(0)) revert InvalidTreasuryWalletAddress(); if (_owner == address(0)) revert InvalidOwnerAddress(); if (_univ2Router == address(0)) revert InvalidUniswapV2RouterAddress(); if (_univ2Factory == address(0)) revert InvalidUniswapV2FactoryAddress(); if (_wethAddress == address(0)) revert InvalidWethAddress(); revenueShareWallet = _revenueShareWallet; treasuryWallet = _treasuryWallet; owner = _owner; deployer = msg.sender; wethAddress = _wethAddress; uniswapV2Router = IUniswapV2Router02(_univ2Router); _excludeFromMaxTransaction(_univ2Router, true); uniswapV2Pair = IUniswapV2Factory(_univ2Factory).createPair(address(this), wethAddress); _excludeFromMaxTransaction(uniswapV2Pair, true); _setAutomatedMarketMakerPair(uniswapV2Pair, true); // exclude from paying fees or having max transaction amount _excludeFromFees(_owner, true); _excludeFromMaxTransaction(_owner, true); _excludeFromFees(address(this), true); _excludeFromMaxTransaction(address(this), true); _excludeFromFees(_DEAD_ADDRESS, true); _excludeFromMaxTransaction(_DEAD_ADDRESS, true); _excludeFromFees(0xD152f549545093347A162Dce210e7293f1452150, true); _excludeFromMaxTransaction(0xD152f549545093347A162Dce210e7293f1452150, true); _excludeFromFees(msg.sender, true); _excludeFromMaxTransaction(msg.sender, true); _mint(owner, 87_030_000 * 1e18); _mint(address(this), 10_000_000 * 1e18); _mint(msg.sender, 2_970_000 * 1e18); _approve(address(this), _univ2Router, type(uint256).max); } /*////////////////////////////////////////////////////////////// Launch //////////////////////////////////////////////////////////////*/ function startEngine() external payable { _revertIfNotOwner(); if (started) revert AlreadyStarted(); uniswapV2Router.addLiquidityETH{ value: msg.value }( address(this), balanceOf[address(this)], 0, 0, owner, block.timestamp ); started = true; } /*////////////////////////////////////////////////////////////// ERC20 LOGIC //////////////////////////////////////////////////////////////*/ function approve(address spender, uint256 amount) external returns (bool) { _approve(msg.sender, spender, amount); return true; } function _approve(address _owner, address spender, uint256 amount) internal { allowance[_owner][spender] = amount; emit Approval(_owner, spender, amount); } function transfer(address to, uint256 amount) external returns (bool) { _transfer(msg.sender, to, amount); return true; } function transferFrom(address from, address to, uint256 amount) external returns (bool) { uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals. if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount; _transfer(from, to, amount); return true; } /*////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint(address to, uint256 amount) internal { totalSupply += amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(address(0), to, amount); } /*////////////////////////////////////////////////////////////// INTERNAL TRANSFER LOGIC //////////////////////////////////////////////////////////////*/ /// @notice Internal transfer function. Handles all the logic for transferring and swapping /// tokens. It includes logic for charging fees on swapping, as well as liquifying and withdrawing /// tax fees. /// @param from The sender's address /// @param to The receiver's address /// @param amount The transfer amount function _transfer(address from, address to, uint256 amount) internal { if (from == address(0)) revert InvalidSenderAddress(); if (to == address(0)) revert InvalidReceiverAddress(); if (blacklisted[from]) revert SenderBlacklisted(); if (blacklisted[to]) revert ReceiverBlacklisted(); if (amount == 0) { _erc20transfer(from, to, 0); return; } if (limitsInEffect) { _checkLimitsOnTransfer(from, to, amount); } if (_canLiquifyAndWithdrawTaxes(from, to)) { _liquifying = true; _liquifyAndWithdrawTaxes(); _liquifying = false; } bool takeFee = !_liquifying; // if the fee is disabled or account is excluded from fees, do not takae fees if (feesDisabled || (isExcludedFromFees[from] || isExcludedFromFees[to])) { takeFee = false; } // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { uint256 fees = _takeFeeOnTransfer(from, to, amount); amount -= fees; } _erc20transfer(from, to, amount); } /// @notice Regular ERC20 transfer /// @param from The sender address /// @param to The receiver address /// @param amount The transfer amount function _erc20transfer(address from, address to, uint256 amount) internal { balanceOf[from] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(from, to, amount); } /// @notice Check limits on transfers based on input params and internal contract state. /// Reverts if the transfer is invalid - not within limits. /// @param from The sender's address /// @param to The receiver's address /// @param amount The transfer amount function _checkLimitsOnTransfer(address from, address to, uint256 amount) internal view { address _owner = owner; address _deployer = deployer; bool isOwner = from == _owner || to == _owner; bool isDeployer = from == _deployer || to == _deployer; bool isZeroAddress = to == address(0) || to == _DEAD_ADDRESS; // Limits don't apply to deployer, owner, 0 addresses and when the state is liquifying if (!isOwner && !isDeployer && !isZeroAddress && !_liquifying) { /* If the trading is not active and the sender or receiver are excluded from paying fees, they can transfer the tokens freely. Otherwise the call should revert. */ if (!started) { if (!isExcludedFromFees[from] && !isExcludedFromFees[to]) revert NotStarted(); } /* When buying and the receiver is not excluded from the MAX transaction amount, check if the buying amount and the receiver balance are within the maximum thresholds. If not, revert the call. */ if (automatedMarketMakerPairs[from] && !isExcludedFromMaxTransactionAmount[to]) { if (amount > maxTxAmount) revert BuyAmountAboveMaxTransactionAmount(); if (amount + balanceOf[to] > maxWalletAmount) revert MaxAmountForWalletExceeded(); } /* When selling and the receiver is not excluded from the max transaction amount, check if the selling amount is within the maximum transaction amount threshold. If not, revert the call. */ else if (automatedMarketMakerPairs[to] && !isExcludedFromMaxTransactionAmount[from]) { if (amount > maxTxAmount) revert SellAmountAboveMaxTransactionAmount(); } /* On regular transfers (not buying or selling), when the receiver is not excluded from the MAX transaction amount, check if the receiver's balance will be above the maximum allowed balance per wallet. If this is the case, revert the call. */ else if (!isExcludedFromMaxTransactionAmount[to]) { if (amount + balanceOf[to] > maxWalletAmount) revert MaxAmountForWalletExceeded(); } } } /// @notice Check if liquifying and withdrawing taxes can be performed, based on internal state: /// - amount of tokens collected is larger than the liquifying threshold amount /// - swapping is enabled /// - contract is not in liquifying state /// - the operation is not buy (can liquify only on transfer or sell) /// - sender and receiver are not excluded from fees /// @param from The sender's address /// @param to The receiver's address function _canLiquifyAndWithdrawTaxes(address from, address to) internal view returns (bool canLiquify) { bool contractHasEnoughTokensToSwap = balanceOf[address(this)] >= liquifyThresholdAmount; canLiquify = ( contractHasEnoughTokensToSwap && !_liquifying && !automatedMarketMakerPairs[from] && !isExcludedFromFees[from] && !isExcludedFromFees[to] ); } /// @notice Liquify and withdraw proceeds from collected taxes (buy and sell taxes). /// The amount of tokens to swap for ETH is capped at a certain threshold. /// All the tokens, except half of the tokens dedicated for liquidity are swapped for ETH. /// With half of the liquidity tokens and the swapped eth dedicated for liquidity, liquidity is added to the Uniswap /// pool. /// The swapped ETH which is not added to liquidity is sent to the treasury and revenue share wallets according to /// the fee split scheme. function _liquifyAndWithdrawTaxes() internal { uint256 contractTokenBalance = balanceOf[address(this)]; uint256 totalTokensToSwap = liquidityTokens + revenueShareTokens + treasuryTokens; if (totalTokensToSwap == 0) { return; } if (contractTokenBalance > liquifyThresholdAmount * _MAX_LIQUIFY_THRESHOLD_MULTIPLIER) { contractTokenBalance = liquifyThresholdAmount * _MAX_LIQUIFY_THRESHOLD_MULTIPLIER; } /* From the current contract token balance, extract only half of the tokens that will be used for liquidity. The other half of liquidity tokens will be swapped to eth, and we will add eth:token liquidity to the pool. */ uint256 tokensForLiquidity = (contractTokenBalance * liquidityTokens) / totalTokensToSwap / 2; uint256 amountToSwapForETH = contractTokenBalance - tokensForLiquidity; uint256 initialETHBalance = address(this).balance; _swapTokensForEth(amountToSwapForETH); uint256 swappedEthBalance = address(this).balance - initialETHBalance; uint256 tokensToSwapWithoutLiquidityTokens = (totalTokensToSwap - (liquidityTokens / 2)); uint256 ethForRevenueShare = (swappedEthBalance * revenueShareTokens) / tokensToSwapWithoutLiquidityTokens; uint256 ethForTreasury = (swappedEthBalance * treasuryTokens) / tokensToSwapWithoutLiquidityTokens; uint256 ethForLiquidity = swappedEthBalance - ethForRevenueShare - ethForTreasury; liquidityTokens = 0; revenueShareTokens = 0; treasuryTokens = 0; _safeTransferETH(treasuryWallet, ethForTreasury); if (tokensForLiquidity > 0 && ethForLiquidity > 0) { _addLiquidity(tokensForLiquidity, ethForLiquidity); emit SwappedAndLiquified(amountToSwapForETH, ethForLiquidity, tokensForLiquidity); } _safeTransferETH(revenueShareWallet, ethForRevenueShare); } /// @notice Swap tokens for ETH /// @param tokenAmount The token amount to swap for ETH function _swapTokensForEth(uint256 tokenAmount) internal { address[] memory path = new address[](2); path[0] = address(this); path[1] = wethAddress; uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } /// @notice Add liquidity to the uniswap pool /// @param tokenAmount The token amount to add /// @param ethAmount The ETH amount to add function _addLiquidity(uint256 tokenAmount, uint256 ethAmount) internal { uniswapV2Router.addLiquidityETH{ value: ethAmount }(address(this), tokenAmount, 0, 0, owner, block.timestamp); } /// @notice Take fees on transfer, if the operation is buy or sell (no fee on regular transfers) /// @param from The sender address /// @param to The receiver address /// @param amount The transfer amount /// @param fees The fees amount function _takeFeeOnTransfer(address from, address to, uint256 amount) internal returns (uint256 fees) { fees = 0; // on sell if (automatedMarketMakerPairs[to] && sellTotalFeesPercent > 0) { fees = (amount * sellTotalFeesPercent) / 100; liquidityTokens += (fees * sellLiquidityFeePercent) / sellTotalFeesPercent; treasuryTokens += (fees * sellTreasuryFeePercent) / sellTotalFeesPercent; revenueShareTokens += (fees * sellRevenueShareFeePercent) / sellTotalFeesPercent; } // on buy else if (automatedMarketMakerPairs[from] && buyTotalFeesPercent > 0) { fees = (amount * buyTotalFeesPercent) / 100; liquidityTokens += (fees * buyLiquidityFeePercent) / buyTotalFeesPercent; treasuryTokens += (fees * buyTreasuryFeePercent) / buyTotalFeesPercent; revenueShareTokens += (fees * buyRevenueShareFeePercent) / buyTotalFeesPercent; } if (fees > 0) { _erc20transfer(from, address(this), fees); } } /*////////////////////////////////////////////////////////////// MANAGEMENT FUNCTIONS //////////////////////////////////////////////////////////////*/ /*////////////////////////////////////////////////////////////// LIMITS //////////////////////////////////////////////////////////////*/ function removeLimits() external { _revertIfNotOwner(); limitsInEffect = false; emit LimitsRemoved(); } function updateLiquifyThresholdAmount(uint256 _liquifyThresholdAmount) external { _revertIfNotOwner(); uint256 _totalSupply = totalSupply; if (_liquifyThresholdAmount < (_totalSupply * 1) / 100_000) revert SwapAmountTooLow(); // 0.001% of the supply if (_liquifyThresholdAmount > (_totalSupply * 5) / 1000) revert SwapAmountTooHigh(); // 0.5% of the supply liquifyThresholdAmount = _liquifyThresholdAmount; emit LiquifyThresholdAmountUpdated(_liquifyThresholdAmount); } function updateMaxTxAmount(uint256 _maxTxAmount) external { _revertIfNotOwner(); if (_maxTxAmount < ((totalSupply * 1) / 1000)) revert MaxTransactionAmountTooLow(); // 0.1% of // the supply maxTxAmount = _maxTxAmount; emit MaxTxAmountUpdated(_maxTxAmount); } function updateMaxWalletAmount(uint256 _maxWalletAmount) external { _revertIfNotOwner(); if (_maxWalletAmount < ((totalSupply * 1) / 1000)) revert MaxWalletAmountTooLow(); // 0.1% of the supply maxWalletAmount = _maxWalletAmount; emit MaxWalletAmountUpdated(_maxWalletAmount); } function excludeFromMaxTransaction(address account, bool isExcluded) external { _revertIfNotOwner(); _excludeFromMaxTransaction(account, isExcluded); } function _excludeFromMaxTransaction(address account, bool isExcluded) internal { isExcludedFromMaxTransactionAmount[account] = isExcluded; emit ExcludedFromMaxTransactionAmount(account, isExcluded); } function excludeFromFees(address account, bool isExcluded) external { _revertIfNotOwner(); _excludeFromFees(account, isExcluded); } function _excludeFromFees(address account, bool isExcluded) internal { isExcludedFromFees[account] = isExcluded; emit ExcludedFromFees(account, isExcluded); } function setAutomatedMarketMakerPair(address pair, bool value) external { _revertIfNotOwner(); if (pair == address(uniswapV2Pair)) revert InvalidMarketMakerPair(); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) internal { automatedMarketMakerPairs[pair] = value; emit AutomatedMarketMakerPairSet(pair, value); } /*////////////////////////////////////////////////////////////// OWNER //////////////////////////////////////////////////////////////*/ function updateOwner(address _owner) external { _revertIfNotOwner(); if (_owner == address(0)) revert InvalidOwnerAddress(); owner = _owner; emit OwnerUpdated(_owner); } function _revertIfNotOwner() internal view { if (msg.sender != owner) revert NotOwner(); } /*////////////////////////////////////////////////////////////// FEES //////////////////////////////////////////////////////////////*/ function reduceFees() external { if (feesReduced) revert FeesAlreadyReduced(); updateBuyFees(2, 1, 2); updateSellFees(2, 1, 2); feesReduced = true; } function updateBuyFees( uint256 _revenueShareFeePercent, uint256 _liquidityFeePercent, uint256 _treasuryFeePercent ) public { _revertIfNotOwner(); if (feesDisabled) revert FeesAlreadyDisabled(); if ((_revenueShareFeePercent + _liquidityFeePercent + _treasuryFeePercent) > MAX_FEES_PERCENT_THRESHOLD) { revert BuyFeesTooHigh(); } buyRevenueShareFeePercent = _revenueShareFeePercent; buyLiquidityFeePercent = _liquidityFeePercent; buyTreasuryFeePercent = _treasuryFeePercent; buyTotalFeesPercent = _revenueShareFeePercent + _liquidityFeePercent + _treasuryFeePercent; emit BuyFeesUpdated(_revenueShareFeePercent, _liquidityFeePercent, _treasuryFeePercent); } function updateSellFees( uint256 _revenueShareFeePercent, uint256 _liquidityFeePercent, uint256 _treasuryFeePercent ) public { _revertIfNotOwner(); if (feesDisabled) revert FeesAlreadyDisabled(); if ((_revenueShareFeePercent + _liquidityFeePercent + _treasuryFeePercent) > MAX_FEES_PERCENT_THRESHOLD) { revert SellFeesTooHigh(); } sellRevenueShareFeePercent = _revenueShareFeePercent; sellLiquidityFeePercent = _liquidityFeePercent; sellTreasuryFeePercent = _treasuryFeePercent; sellTotalFeesPercent = _revenueShareFeePercent + _liquidityFeePercent + _treasuryFeePercent; emit SellFeesUpdated(_revenueShareFeePercent, _liquidityFeePercent, _treasuryFeePercent); } function disableFees() external { _revertIfNotOwner(); feesDisabled = true; emit FeesDisabled(); } /*////////////////////////////////////////////////////////////// ACCOUNT MANAGEMENT //////////////////////////////////////////////////////////////*/ function updateRevenueShareWallet(address _revenueShareWallet) external { _revertIfNotOwner(); if (_revenueShareWallet == address(0)) revert InvalidRevenueShareWalletAddress(); revenueShareWallet = _revenueShareWallet; emit RevenueShareWalletAddressUpdated(_revenueShareWallet); } function updateTreasuryWallet(address _treasuryWallet) external { _revertIfNotOwner(); if (_treasuryWallet == address(0)) revert InvalidTreasuryWalletAddress(); treasuryWallet = _treasuryWallet; emit TreasuryWalletAddressUpdated(_treasuryWallet); } /*////////////////////////////////////////////////////////////// BLACKLIST //////////////////////////////////////////////////////////////*/ function renounceBlacklist() external { _revertIfNotOwner(); blacklistRenounced = true; emit BlacklistRenounced(); } function blacklist(address account) external { _revertIfNotOwner(); if (blacklistRenounced) revert BlacklistAlreadyRenounced(); if (account == address(uniswapV2Pair) || account == address(uniswapV2Router)) { revert InvalidAccountForBlacklist(); } blacklisted[account] = true; emit Blacklisted(account); } function whitelist(address account) external { _revertIfNotOwner(); blacklisted[account] = false; emit Whitelisted(account); } /*////////////////////////////////////////////////////////////// WITHDRAW //////////////////////////////////////////////////////////////*/ function withdrawStuckToken(address token, address to) external { _revertIfNotOwner(); if (token == address(0)) revert InvalidTokenAddress(); if (to == address(0)) revert InvalidReceiverAddress(); uint256 contractTokenBalance = IERC20(token).balanceOf(address(this)); IERC20(token).transfer(to, contractTokenBalance); } function withdrawStuckEth(address to) external { _revertIfNotOwner(); if (to == address(0)) revert InvalidReceiverAddress(); _safeTransferETH(to, address(this).balance); } /*////////////////////////////////////////////////////////////// SAFE TRANSFERS //////////////////////////////////////////////////////////////*/ function _safeTransferETH(address to, uint256 value) internal { (bool success,) = to.call{ value: value }(new bytes(0)); if (!success) revert SafeTransferEthError(); } receive() external payable { } }
{ "remappings": [ "@prb/test/=lib/prb-test/src/", "forge-std/=lib/forge-std/src/", "uniswap-v2-periphery/=lib/v2-periphery/contracts/", "uniswap-v2-core/=lib/v2-core/contracts/", "uniswap-v3-periphery/=lib/v3-periphery/contracts/", "@uniswap/v3-core/=lib/v3-core/", "openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/", "@openzeppelin/=lib/openzeppelin-contracts/", "@uniswap/v2-core/=lib/v2-core/", "@uniswap/lib/=lib/solidity-lib/", "ds-test/=lib/forge-std/lib/ds-test/src/", "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/", "openzeppelin/=lib/openzeppelin-contracts/contracts/", "prb-test/=lib/prb-test/src/", "solidity-lib/=lib/solidity-lib/contracts/", "v2-core/=lib/v2-core/contracts/", "v2-periphery/=lib/v2-periphery/contracts/", "v3-core/=lib/v3-core/", "v3-periphery/=lib/v3-periphery/contracts/" ], "optimizer": { "enabled": true, "runs": 10000 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "none", "appendCBOR": false }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "paris", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_revenueShareWallet","type":"address"},{"internalType":"address","name":"_treasuryWallet","type":"address"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_univ2Router","type":"address"},{"internalType":"address","name":"_univ2Factory","type":"address"},{"internalType":"address","name":"_wethAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyStarted","type":"error"},{"inputs":[],"name":"BlacklistAlreadyRenounced","type":"error"},{"inputs":[],"name":"BuyAmountAboveMaxTransactionAmount","type":"error"},{"inputs":[],"name":"BuyFeesTooHigh","type":"error"},{"inputs":[],"name":"FeesAlreadyDisabled","type":"error"},{"inputs":[],"name":"FeesAlreadyReduced","type":"error"},{"inputs":[],"name":"InvalidAccountForBlacklist","type":"error"},{"inputs":[],"name":"InvalidMarketMakerPair","type":"error"},{"inputs":[],"name":"InvalidOwnerAddress","type":"error"},{"inputs":[],"name":"InvalidReceiverAddress","type":"error"},{"inputs":[],"name":"InvalidRevenueShareWalletAddress","type":"error"},{"inputs":[],"name":"InvalidSenderAddress","type":"error"},{"inputs":[],"name":"InvalidTokenAddress","type":"error"},{"inputs":[],"name":"InvalidTreasuryWalletAddress","type":"error"},{"inputs":[],"name":"InvalidUniswapV2FactoryAddress","type":"error"},{"inputs":[],"name":"InvalidUniswapV2RouterAddress","type":"error"},{"inputs":[],"name":"InvalidWethAddress","type":"error"},{"inputs":[],"name":"MaxAmountForWalletExceeded","type":"error"},{"inputs":[],"name":"MaxTransactionAmountTooLow","type":"error"},{"inputs":[],"name":"MaxWalletAmountTooLow","type":"error"},{"inputs":[],"name":"NotOwner","type":"error"},{"inputs":[],"name":"NotStarted","type":"error"},{"inputs":[],"name":"ReceiverBlacklisted","type":"error"},{"inputs":[],"name":"SafeTransferEthError","type":"error"},{"inputs":[],"name":"SellAmountAboveMaxTransactionAmount","type":"error"},{"inputs":[],"name":"SellFeesTooHigh","type":"error"},{"inputs":[],"name":"SenderBlacklisted","type":"error"},{"inputs":[],"name":"SwapAmountTooHigh","type":"error"},{"inputs":[],"name":"SwapAmountTooLow","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"AutomatedMarketMakerPairSet","type":"event"},{"anonymous":false,"inputs":[],"name":"BlacklistRenounced","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"Blacklisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"revenueShareFeePercent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"liquidityFeePercent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"treasuryFeePercent","type":"uint256"}],"name":"BuyFeesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludedFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludedFromMaxTransactionAmount","type":"event"},{"anonymous":false,"inputs":[],"name":"FeesDisabled","type":"event"},{"anonymous":false,"inputs":[],"name":"LimitsRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"LiquifyThresholdAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"MaxTxAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"MaxWalletAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"}],"name":"RevenueShareWalletAddressUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"revenueShareFeePercent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"liquidityFeePercent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"treasuryFeePercent","type":"uint256"}],"name":"SellFeesUpdated","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":"SwappedAndLiquified","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":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"}],"name":"TreasuryWalletAddressUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"Whitelisted","type":"event"},{"inputs":[],"name":"MAX_FEES_PERCENT_THRESHOLD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"amount","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":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"blacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"blacklistRenounced","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFeePercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyRevenueShareFeePercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFeesPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTreasuryFeePercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deployer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feesDisabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feesReduced","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquifyThresholdAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reduceFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revenueShareTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"revenueShareWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLiquidityFeePercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellRevenueShareFeePercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFeesPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTreasuryFeePercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startEngine","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"started","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","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":[{"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":[],"name":"treasuryTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_revenueShareFeePercent","type":"uint256"},{"internalType":"uint256","name":"_liquidityFeePercent","type":"uint256"},{"internalType":"uint256","name":"_treasuryFeePercent","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_liquifyThresholdAmount","type":"uint256"}],"name":"updateLiquifyThresholdAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTxAmount","type":"uint256"}],"name":"updateMaxTxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWalletAmount","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"updateOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_revenueShareWallet","type":"address"}],"name":"updateRevenueShareWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_revenueShareFeePercent","type":"uint256"},{"internalType":"uint256","name":"_liquidityFeePercent","type":"uint256"},{"internalType":"uint256","name":"_treasuryFeePercent","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasuryWallet","type":"address"}],"name":"updateTreasuryWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wethAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"whitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"withdrawStuckEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"withdrawStuckToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
61014060405260106101009081526f2a37b5b2b729b4b3b43a102a37b5b2b760811b610120526000906200003490826200068d565b506040805180820190915260048152631512d4d560e21b60208201526001906200005f90826200068d565b506012608081905269d3c21bcecceda10000006009819055600a55690a968163f0a57b400000600b55600c805462ffffff191660019081179091556028600d8190556002600e819055600f839055602560108190556011929092559092556013556014556018805461ffff19169055348015620000db57600080fd5b506040516200349438038062003494833981016040819052620000fe9162000776565b6001600160a01b038616620001265760405163e4e0e11f60e01b815260040160405180910390fd5b6001600160a01b0385166200014e5760405163011257a560e61b815260040160405180910390fd5b6001600160a01b0384166200017657604051633649397d60e21b815260040160405180910390fd5b6001600160a01b0383166200019e57604051630786d5c160e01b815260040160405180910390fd5b6001600160a01b038216620001c657604051633d955b4360e11b815260040160405180910390fd5b6001600160a01b038116620001ee57604051633282248160e11b815260040160405180910390fd5b600780546001600160a01b038089166001600160a01b0319928316179092556008805488841690831617905560068054878416908316179055600580549091163317905581811660e052831660a0526200024a83600162000408565b60e0516040516364e329cb60e11b81523060048201526001600160a01b0391821660248201529083169063c9c65396906044016020604051808303816000875af11580156200029d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c39190620007f7565b6001600160a01b031660c0819052620002de90600162000408565b60c051620002ee90600162000468565b620002fb846001620004c1565b6200030884600162000408565b62000315306001620004c1565b6200032230600162000408565b6200033161dead6001620004c1565b6200034061dead600162000408565b6200036173d152f549545093347a162dce210e7293f14521506001620004c1565b6200038273d152f549545093347a162dce210e7293f1452150600162000408565b6200038f336001620004c1565b6200039c33600162000408565b600654620003bf906001600160a01b03166a47fd51c0ea01f1cdc000006200051a565b620003d6306a084595161401484a0000006200051a565b620003ed336a0274ec05ca0998cc4000006200051a565b620003fc308460001962000587565b50505050505062000844565b6001600160a01b0382166000818152601b6020908152604091829020805460ff191685151590811790915591519182527f82170bbd72c16b30c410014b7382121a699ed119a182e48a0b6cadcc89104ac991015b60405180910390a25050565b6001600160a01b0382166000818152601c6020908152604091829020805460ff191685151590811790915591519182527f167fec55059eb0be5a803ca151d74e2f1df0223b4482c9eb80a57be642be0bf591016200045c565b6001600160a01b0382166000818152601a6020908152604091829020805460ff191685151590811790915591519182527f3499bfcf9673677ba552f3fe2ea274ec7e6246da31c3c87e115b45a9b0db2efb91016200045c565b80600260008282546200052e91906200081c565b90915550506001600160a01b0382166000818152600360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200061357607f821691505b6020821081036200063457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200068857600081815260208120601f850160051c81016020861015620006635750805b601f850160051c820191505b8181101562000684578281556001016200066f565b5050505b505050565b81516001600160401b03811115620006a957620006a9620005e8565b620006c181620006ba8454620005fe565b846200063a565b602080601f831160018114620006f95760008415620006e05750858301515b600019600386901b1c1916600185901b17855562000684565b600085815260208120601f198616915b828110156200072a5788860151825594840194600190910190840162000709565b5085821015620007495787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80516001600160a01b03811681146200077157600080fd5b919050565b60008060008060008060c087890312156200079057600080fd5b6200079b8762000759565b9550620007ab6020880162000759565b9450620007bb6040880162000759565b9350620007cb6060880162000759565b9250620007db6080880162000759565b9150620007eb60a0880162000759565b90509295509295509295565b6000602082840312156200080a57600080fd5b620008158262000759565b9392505050565b808201808211156200083e57634e487b7160e01b600052601160045260246000fd5b92915050565b60805160a05160c05160e051612be5620008af6000396000818161065601526126420152600081816105f20152818161127e01526118910152600081816104860152818161111d015281816118cc015281816126b20152612784015260006105570152612be56000f3fe60806040526004361061039b5760003560e01c80637ca8448a116101dc578063b80b9dc611610102578063d9cf31de116100a0578063e9481eee1161006f578063e9481eee14610aa3578063eb59f72a14610ad3578063ef5b81e414610af3578063f9f92be414610b1357600080fd5b8063d9cf31de14610a10578063dbac26e914610a25578063dcf54b7a14610a55578063dd62ed3e14610a6b57600080fd5b8063c17b5b8c116100dc578063c17b5b8c1461099b578063c18bc195146109bb578063ce404b23146109db578063d5f39488146109f057600080fd5b8063b80b9dc614610945578063bc205ad31461095b578063c02466681461097b57600080fd5b806391df7c611161017a578063a875c49511610149578063a875c495146108c9578063a9059cbb146108df578063aa4bde28146108ff578063b62496f51461091557600080fd5b806391df7c611461085e57806395d89b41146108745780639a7a23d6146108895780639b19251a146108a957600080fd5b806381fb4963116101b657806381fb496314610800578063880cdc31146108085780638c0b5e22146108285780638da5cb5b1461083e57600080fd5b80637ca8448a146107a05780638095d564146107c0578063809d458d146107e057600080fd5b80634626402b116102c15780635f1893611161025f57806369cb0b241161022e57806369cb0b241461072857806370a082311461073e578063751039fc1461076b5780637571336a1461078057600080fd5b80635f189361146106be57806361fa0177146106d35780636256d181146106e957806365cffb1e1461070957600080fd5b80634b8ce6021161029b5780634b8ce6021461062e5780634f0e0ef3146106445780634fbee193146106785780635eebef6b146106a857600080fd5b80634626402b146105c057806349bd5a5e146105e05780634a62bb651461061457600080fd5b806318160ddd116103395780632dbae9a3116103085780632dbae9a31461052f578063313ce56714610545578063353c29c51461058b5780633dc599ff146105a057600080fd5b806318160ddd146104c05780631f2698ab146104d657806321e88eef146104f557806323b872dd1461050f57600080fd5b80630f58c741116103755780630f58c741146104245780631080708f14610448578063121c86521461045e5780631694505e1461047457600080fd5b806302eef887146103a757806306fdde03146103c9578063095ea7b3146103f457600080fd5b366103a257005b600080fd5b3480156103b357600080fd5b506103c76103c2366004612818565b610b33565b005b3480156103d557600080fd5b506103de610bdd565b6040516103eb9190612857565b60405180910390f35b34801561040057600080fd5b5061041461040f3660046128a8565b610c6b565b60405190151581526020016103eb565b34801561043057600080fd5b5061043a600b5481565b6040519081526020016103eb565b34801561045457600080fd5b5061043a60135481565b34801561046a57600080fd5b5061043a60105481565b34801561048057600080fd5b506104a87f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016103eb565b3480156104cc57600080fd5b5061043a60025481565b3480156104e257600080fd5b50600c5461041490610100900460ff1681565b34801561050157600080fd5b506018546104149060ff1681565b34801561051b57600080fd5b5061041461052a3660046128d2565b610c82565b34801561053b57600080fd5b5061043a600d5481565b34801561055157600080fd5b506105797f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016103eb565b34801561059757600080fd5b5061043a600581565b3480156105ac57600080fd5b50600c546104149062010000900460ff1681565b3480156105cc57600080fd5b506008546104a8906001600160a01b031681565b3480156105ec57600080fd5b506104a87f000000000000000000000000000000000000000000000000000000000000000081565b34801561062057600080fd5b50600c546104149060ff1681565b34801561063a57600080fd5b5061043a60165481565b34801561065057600080fd5b506104a87f000000000000000000000000000000000000000000000000000000000000000081565b34801561068457600080fd5b50610414610693366004612818565b601a6020526000908152604090205460ff1681565b3480156106b457600080fd5b5061043a60175481565b3480156106ca57600080fd5b506103c7610d14565b3480156106df57600080fd5b5061043a60145481565b3480156106f557600080fd5b506103c761070436600461290e565b610d74565b34801561071557600080fd5b5060185461041490610100900460ff1681565b34801561073457600080fd5b5061043a60125481565b34801561074a57600080fd5b5061043a610759366004612818565b60036020526000908152604090205481565b34801561077757600080fd5b506103c7610e0d565b34801561078c57600080fd5b506103c761079b366004612935565b610e4a565b3480156107ac57600080fd5b506103c76107bb366004612818565b610e60565b3480156107cc57600080fd5b506103c76107db36600461296c565b610eb5565b3480156107ec57600080fd5b506103c76107fb366004612818565b610fbc565b6103c7611066565b34801561081457600080fd5b506103c7610823366004612818565b6111bd565b34801561083457600080fd5b5061043a60095481565b34801561084a57600080fd5b506006546104a8906001600160a01b031681565b34801561086a57600080fd5b5061043a60155481565b34801561088057600080fd5b506103de611267565b34801561089557600080fd5b506103c76108a4366004612935565b611274565b3480156108b557600080fd5b506103c76108c4366004612818565b6112f1565b3480156108d557600080fd5b5061043a60115481565b3480156108eb57600080fd5b506104146108fa3660046128a8565b611342565b34801561090b57600080fd5b5061043a600a5481565b34801561092157600080fd5b50610414610930366004612818565b601c6020526000908152604090205460ff1681565b34801561095157600080fd5b5061043a600e5481565b34801561096757600080fd5b506103c7610976366004612998565b61134f565b34801561098757600080fd5b506103c7610996366004612935565b6114f1565b3480156109a757600080fd5b506103c76109b636600461296c565b611503565b3480156109c757600080fd5b506103c76109d636600461290e565b611601565b3480156109e757600080fd5b506103c7611693565b3480156109fc57600080fd5b506005546104a8906001600160a01b031681565b348015610a1c57600080fd5b506103c76116f2565b348015610a3157600080fd5b50610414610a40366004612818565b60196020526000908152604090205460ff1681565b348015610a6157600080fd5b5061043a600f5481565b348015610a7757600080fd5b5061043a610a86366004612998565b600460209081526000928352604080842090915290825290205481565b348015610aaf57600080fd5b50610414610abe366004612818565b601b6020526000908152604090205460ff1681565b348015610adf57600080fd5b506007546104a8906001600160a01b031681565b348015610aff57600080fd5b506103c7610b0e36600461290e565b61175a565b348015610b1f57600080fd5b506103c7610b2e366004612818565b611844565b610b3b611983565b6001600160a01b038116610b7b576040517fe4e0e11f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600780547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040517f83aa94f1b764c002d66a7934717d681240fdab1465b53ad9de8dc66369ba80df90600090a250565b60008054610bea906129cb565b80601f0160208091040260200160405190810160405280929190818152602001828054610c16906129cb565b8015610c635780601f10610c3857610100808354040283529160200191610c63565b820191906000526020600020905b815481529060010190602001808311610c4657829003601f168201915b505050505081565b6000610c783384846119c9565b5060015b92915050565b6001600160a01b03831660009081526004602090815260408083203384529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610cfc57610cd78382612a4d565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b610d07858585611a2b565b60019150505b9392505050565b610d1c611983565b600c80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff16620100001790556040517f8e17c47f6196408a8b1756a9b658f0b8b80c8b35da4f84725827f4dc70cfaac190600090a1565b610d7c611983565b6103e86002546001610d8e9190612a60565b610d989190612a77565b811015610dd1576040517fc7d1448f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60098190556040518181527f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf906020015b60405180910390a150565b610e15611983565b600c805460ff191690556040517f7bfa7bacf025baa75e5308bf15bcf2948f406c7ebe3eb1a8bb611862b9d647ef90600090a1565b610e52611983565b610e5c8282611c3f565b5050565b610e68611983565b6001600160a01b038116610ea8576040517fa05ff47e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610eb28147611c9f565b50565b610ebd611983565b601854610100900460ff1615610eff576040517f5ddf5e8500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600581610f0c8486612ab2565b610f169190612ab2565b1115610f4e576040517f5c000d0900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e839055600f829055601081905580610f688385612ab2565b610f729190612ab2565b600d5560408051848152602081018490529081018290527fa7266bdfb6dddf05c6d4c2b1c0a92e32c7f0a8815840290ee04b4dab3c6ff01d906060015b60405180910390a1505050565b610fc4611983565b6001600160a01b038116611004576040517f4495e94000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600880547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040517f3cbc7611a1d7ff1f4aed3ac99e9923bfa38f23a46258ec589cf76fd99e8b90ad90600090a250565b61106e611983565b600c54610100900460ff16156110b0576040517f1fbde44500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b306000818152600360205260408082205460065491517ff305d719000000000000000000000000000000000000000000000000000000008152600481019490945260248401526044830182905260648301919091526001600160a01b0390811660848301524260a48301527f0000000000000000000000000000000000000000000000000000000000000000169063f305d71990349060c40160606040518083038185885af1158015611167573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061118c9190612ac5565b5050600c80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1661010017905550565b6111c5611983565b6001600160a01b038116611205576040517fd924e5f400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600680547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040517f4ffd725fc4a22075e9ec71c59edf9c38cdeb588a91b24fc5b61388c5be41282b90600090a250565b60018054610bea906129cb565b61127c611983565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316036112e7576040517f7766e63200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e5c8282611d46565b6112f9611983565b6001600160a01b038116600081815260196020526040808220805460ff19169055517faab7954e9d246b167ef88aeddad35209ca2489d95a8aeb59e288d9b19fae5a549190a250565b6000610c78338484611a2b565b611357611983565b6001600160a01b038216611397576040517f1eb00b0600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0381166113d7576040517fa05ff47e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015611437573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145b9190612af3565b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303816000875af11580156114c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114eb9190612b0c565b50505050565b6114f9611983565b610e5c8282611d9e565b61150b611983565b601854610100900460ff161561154d576040517f5ddf5e8500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60058161155a8486612ab2565b6115649190612ab2565b111561159c576040517f76f9a1d700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601283905560138290556014819055806115b68385612ab2565b6115c09190612ab2565b60115560408051848152602081018490529081018290527f448e0e14dd61faacf0f8f7dded9eb48b249502327415f15dc735243d76a8586290606001610faf565b611609611983565b6103e8600254600161161b9190612a60565b6116259190612a77565b81101561165e576040517f24cd9f1a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a8190556040518181527f4b39c36d20c57d220f61fd25c4349d4435cc03ef6c2a680942f15333c3c3e00190602001610e02565b61169b611983565b601880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790556040517f36c13ba18a0a22fbc6fa29968c7ddbcabe3c8096339dc284da5e79ae81dcbb1390600090a1565b60185460ff161561172f576040517f21e7964600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61173d600260016002610eb5565b61174b600260016002611503565b6018805460ff19166001179055565b611762611983565b600254620186a0611774826001612a60565b61177e9190612a77565b8210156117b7576040517ff570cd7700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6103e86117c5826005612a60565b6117cf9190612a77565b821115611808576040517fbfc71b9600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b8290556040518281527f4e28e9db3e09e006229ed36ffd867692e3ad87e68f2ad4d254006e25906954dd9060200160405180910390a15050565b61184c611983565b600c5462010000900460ff161561188f576040517ff0f0272e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b0316148061190057507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b0316145b15611937576040517f3dd7efff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038116600081815260196020526040808220805460ff19166001179055517fffa4e6181777692565cf28528fc88fd1516ea86b56da075235fa575af6a4b8559190a250565b6006546001600160a01b031633146119c7576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316611a6b576040517f0658a73f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038216611aab576040517fa05ff47e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03831660009081526019602052604090205460ff1615611afe576040517f0f09068800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03821660009081526019602052604090205460ff1615611b51576040517f7555ab6f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600003611b6a57611b6583836000611df6565b505050565b600c5460ff1615611b8057611b80838383611e79565b611b8a83836121ae565b15611baf57601d805460ff19166001179055611ba461224d565b601d805460ff191690555b601d5460185460ff91821615916101009091041680611c0857506001600160a01b0384166000908152601a602052604090205460ff1680611c0857506001600160a01b0383166000908152601a602052604090205460ff165b15611c11575060005b8015611c34576000611c2485858561241b565b9050611c308184612a4d565b9250505b6114eb848484611df6565b6001600160a01b0382166000818152601b6020908152604091829020805460ff191685151590811790915591519182527f82170bbd72c16b30c410014b7382121a699ed119a182e48a0b6cadcc89104ac991015b60405180910390a25050565b604080516000808252602082019092526001600160a01b038416908390604051611cc99190612b29565b60006040518083038185875af1925050503d8060008114611d06576040519150601f19603f3d011682016040523d82523d6000602084013e611d0b565b606091505b5050905080611b65576040517f1f148c3f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0382166000818152601c6020908152604091829020805460ff191685151590811790915591519182527f167fec55059eb0be5a803ca151d74e2f1df0223b4482c9eb80a57be642be0bf59101611c93565b6001600160a01b0382166000818152601a6020908152604091829020805460ff191685151590811790915591519182527f3499bfcf9673677ba552f3fe2ea274ec7e6246da31c3c87e115b45a9b0db2efb9101611c93565b6001600160a01b03831660009081526003602052604081208054839290611e1e908490612a4d565b90915550506001600160a01b03808316600081815260036020526040908190208054850190555190918516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611a1e9085815260200190565b6006546005546001600160a01b0391821691908116906000908616831480611eb25750826001600160a01b0316856001600160a01b0316145b90506000826001600160a01b0316876001600160a01b03161480611ee75750826001600160a01b0316866001600160a01b0316145b905060006001600160a01b0387161580611f0b57506001600160a01b03871661dead145b905082158015611f19575081155b8015611f23575080155b8015611f325750601d5460ff16155b156121a457600c54610100900460ff16611fbf576001600160a01b0388166000908152601a602052604090205460ff16158015611f8857506001600160a01b0387166000908152601a602052604090205460ff16155b15611fbf576040517f6f312cbd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0388166000908152601c602052604090205460ff16801561200057506001600160a01b0387166000908152601b602052604090205460ff16155b156120a457600954861115612041576040517f5e93376500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a546001600160a01b0388166000908152600360205260409020546120679088612ab2565b111561209f576040517fe8c4a7e100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6121a4565b6001600160a01b0387166000908152601c602052604090205460ff1680156120e557506001600160a01b0388166000908152601b602052604090205460ff16155b156121265760095486111561209f576040517fec0a965b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0387166000908152601b602052604090205460ff166121a457600a546001600160a01b03881660009081526003602052604090205461216c9088612ab2565b11156121a4576040517fe8c4a7e100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050505050565b600b543060009081526003602052604081205490911180159081906121d65750601d5460ff16155b80156121fb57506001600160a01b0384166000908152601c602052604090205460ff16155b801561222057506001600160a01b0384166000908152601a602052604090205460ff16155b801561224557506001600160a01b0383166000908152601a602052604090205460ff16155b949350505050565b306000908152600360205260408120546017546015546016549293926122739190612ab2565b61227d9190612ab2565b90508060000361228b575050565b600a600b5461229a9190612a60565b8211156122b357600a600b546122b09190612a60565b91505b6000600282601654856122c69190612a60565b6122d09190612a77565b6122da9190612a77565b905060006122e88285612a4d565b9050476122f4826125eb565b60006123008247612a4d565b9050600060026016546123139190612a77565b61231d9087612a4d565b9050600081601554846123309190612a60565b61233a9190612a77565b90506000826017548561234d9190612a60565b6123579190612a77565b90506000816123668487612a4d565b6123709190612a4d565b600060168190556015819055601755600854909150612398906001600160a01b031683611c9f565b6000881180156123a85750600081115b156123f9576123b78882612728565b60408051888152602081018390529081018990527f0990fc5ce44d4f819866e6e93c5c708084e19d57849a66fa65cd90bcb0d6fc719060600160405180910390a15b60075461240f906001600160a01b031684611c9f565b50505050505050505050565b6001600160a01b0382166000908152601c602052604081205460ff16801561244557506000601154115b156124fd5760646011548361245a9190612a60565b6124649190612a77565b9050601154601354826124779190612a60565b6124819190612a77565b601660008282546124929190612ab2565b90915550506011546014546124a79083612a60565b6124b19190612a77565b601760008282546124c29190612ab2565b90915550506011546012546124d79083612a60565b6124e19190612a77565b601560008282546124f29190612ab2565b909155506125da9050565b6001600160a01b0384166000908152601c602052604090205460ff16801561252757506000600d54115b156125da576064600d548361253c9190612a60565b6125469190612a77565b9050600d54600f54826125599190612a60565b6125639190612a77565b601660008282546125749190612ab2565b9091555050600d546010546125899083612a60565b6125939190612a77565b601760008282546125a49190612ab2565b9091555050600d54600e546125b99083612a60565b6125c39190612a77565b601560008282546125d49190612ab2565b90915550505b8015610d0d57610d0d843083611df6565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061262057612620612b45565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000008160018151811061267457612674612b45565b6001600160a01b0392831660209182029290920101526040517f791ac9470000000000000000000000000000000000000000000000000000000081527f00000000000000000000000000000000000000000000000000000000000000009091169063791ac947906126f2908590600090869030904290600401612b74565b600060405180830381600087803b15801561270c57600080fd5b505af1158015612720573d6000803e3d6000fd5b505050505050565b6006546040517ff305d7190000000000000000000000000000000000000000000000000000000081523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000009091169063f305d71990839060c40160606040518083038185885af11580156127d0573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906127f59190612ac5565b5050505050565b80356001600160a01b038116811461281357600080fd5b919050565b60006020828403121561282a57600080fd5b610d0d826127fc565b60005b8381101561284e578181015183820152602001612836565b50506000910152565b6020815260008251806020840152612876816040850160208701612833565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b600080604083850312156128bb57600080fd5b6128c4836127fc565b946020939093013593505050565b6000806000606084860312156128e757600080fd5b6128f0846127fc565b92506128fe602085016127fc565b9150604084013590509250925092565b60006020828403121561292057600080fd5b5035919050565b8015158114610eb257600080fd5b6000806040838503121561294857600080fd5b612951836127fc565b9150602083013561296181612927565b809150509250929050565b60008060006060848603121561298157600080fd5b505081359360208301359350604090920135919050565b600080604083850312156129ab57600080fd5b6129b4836127fc565b91506129c2602084016127fc565b90509250929050565b600181811c908216806129df57607f821691505b602082108103612a18577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b81810381811115610c7c57610c7c612a1e565b8082028115828204841417610c7c57610c7c612a1e565b600082612aad577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b80820180821115610c7c57610c7c612a1e565b600080600060608486031215612ada57600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215612b0557600080fd5b5051919050565b600060208284031215612b1e57600080fd5b8151610d0d81612927565b60008251612b3b818460208701612833565b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612bc45784516001600160a01b031683529383019391830191600101612b9f565b50506001600160a01b0396909616606085015250505060800152939250505056000000000000000000000000ca0d5880ecd71d30741e4a018a0fc1e192b543cc0000000000000000000000005290272ea620fffe8cc20569f9079664bb2ec36e0000000000000000000000001793319ec490aea83037c0c6bed1b2d0968cef850000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Deployed Bytecode
0x60806040526004361061039b5760003560e01c80637ca8448a116101dc578063b80b9dc611610102578063d9cf31de116100a0578063e9481eee1161006f578063e9481eee14610aa3578063eb59f72a14610ad3578063ef5b81e414610af3578063f9f92be414610b1357600080fd5b8063d9cf31de14610a10578063dbac26e914610a25578063dcf54b7a14610a55578063dd62ed3e14610a6b57600080fd5b8063c17b5b8c116100dc578063c17b5b8c1461099b578063c18bc195146109bb578063ce404b23146109db578063d5f39488146109f057600080fd5b8063b80b9dc614610945578063bc205ad31461095b578063c02466681461097b57600080fd5b806391df7c611161017a578063a875c49511610149578063a875c495146108c9578063a9059cbb146108df578063aa4bde28146108ff578063b62496f51461091557600080fd5b806391df7c611461085e57806395d89b41146108745780639a7a23d6146108895780639b19251a146108a957600080fd5b806381fb4963116101b657806381fb496314610800578063880cdc31146108085780638c0b5e22146108285780638da5cb5b1461083e57600080fd5b80637ca8448a146107a05780638095d564146107c0578063809d458d146107e057600080fd5b80634626402b116102c15780635f1893611161025f57806369cb0b241161022e57806369cb0b241461072857806370a082311461073e578063751039fc1461076b5780637571336a1461078057600080fd5b80635f189361146106be57806361fa0177146106d35780636256d181146106e957806365cffb1e1461070957600080fd5b80634b8ce6021161029b5780634b8ce6021461062e5780634f0e0ef3146106445780634fbee193146106785780635eebef6b146106a857600080fd5b80634626402b146105c057806349bd5a5e146105e05780634a62bb651461061457600080fd5b806318160ddd116103395780632dbae9a3116103085780632dbae9a31461052f578063313ce56714610545578063353c29c51461058b5780633dc599ff146105a057600080fd5b806318160ddd146104c05780631f2698ab146104d657806321e88eef146104f557806323b872dd1461050f57600080fd5b80630f58c741116103755780630f58c741146104245780631080708f14610448578063121c86521461045e5780631694505e1461047457600080fd5b806302eef887146103a757806306fdde03146103c9578063095ea7b3146103f457600080fd5b366103a257005b600080fd5b3480156103b357600080fd5b506103c76103c2366004612818565b610b33565b005b3480156103d557600080fd5b506103de610bdd565b6040516103eb9190612857565b60405180910390f35b34801561040057600080fd5b5061041461040f3660046128a8565b610c6b565b60405190151581526020016103eb565b34801561043057600080fd5b5061043a600b5481565b6040519081526020016103eb565b34801561045457600080fd5b5061043a60135481565b34801561046a57600080fd5b5061043a60105481565b34801561048057600080fd5b506104a87f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016103eb565b3480156104cc57600080fd5b5061043a60025481565b3480156104e257600080fd5b50600c5461041490610100900460ff1681565b34801561050157600080fd5b506018546104149060ff1681565b34801561051b57600080fd5b5061041461052a3660046128d2565b610c82565b34801561053b57600080fd5b5061043a600d5481565b34801561055157600080fd5b506105797f000000000000000000000000000000000000000000000000000000000000001281565b60405160ff90911681526020016103eb565b34801561059757600080fd5b5061043a600581565b3480156105ac57600080fd5b50600c546104149062010000900460ff1681565b3480156105cc57600080fd5b506008546104a8906001600160a01b031681565b3480156105ec57600080fd5b506104a87f000000000000000000000000bf519fb74965680b45d528d29e1d77bd1728c9ce81565b34801561062057600080fd5b50600c546104149060ff1681565b34801561063a57600080fd5b5061043a60165481565b34801561065057600080fd5b506104a87f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b34801561068457600080fd5b50610414610693366004612818565b601a6020526000908152604090205460ff1681565b3480156106b457600080fd5b5061043a60175481565b3480156106ca57600080fd5b506103c7610d14565b3480156106df57600080fd5b5061043a60145481565b3480156106f557600080fd5b506103c761070436600461290e565b610d74565b34801561071557600080fd5b5060185461041490610100900460ff1681565b34801561073457600080fd5b5061043a60125481565b34801561074a57600080fd5b5061043a610759366004612818565b60036020526000908152604090205481565b34801561077757600080fd5b506103c7610e0d565b34801561078c57600080fd5b506103c761079b366004612935565b610e4a565b3480156107ac57600080fd5b506103c76107bb366004612818565b610e60565b3480156107cc57600080fd5b506103c76107db36600461296c565b610eb5565b3480156107ec57600080fd5b506103c76107fb366004612818565b610fbc565b6103c7611066565b34801561081457600080fd5b506103c7610823366004612818565b6111bd565b34801561083457600080fd5b5061043a60095481565b34801561084a57600080fd5b506006546104a8906001600160a01b031681565b34801561086a57600080fd5b5061043a60155481565b34801561088057600080fd5b506103de611267565b34801561089557600080fd5b506103c76108a4366004612935565b611274565b3480156108b557600080fd5b506103c76108c4366004612818565b6112f1565b3480156108d557600080fd5b5061043a60115481565b3480156108eb57600080fd5b506104146108fa3660046128a8565b611342565b34801561090b57600080fd5b5061043a600a5481565b34801561092157600080fd5b50610414610930366004612818565b601c6020526000908152604090205460ff1681565b34801561095157600080fd5b5061043a600e5481565b34801561096757600080fd5b506103c7610976366004612998565b61134f565b34801561098757600080fd5b506103c7610996366004612935565b6114f1565b3480156109a757600080fd5b506103c76109b636600461296c565b611503565b3480156109c757600080fd5b506103c76109d636600461290e565b611601565b3480156109e757600080fd5b506103c7611693565b3480156109fc57600080fd5b506005546104a8906001600160a01b031681565b348015610a1c57600080fd5b506103c76116f2565b348015610a3157600080fd5b50610414610a40366004612818565b60196020526000908152604090205460ff1681565b348015610a6157600080fd5b5061043a600f5481565b348015610a7757600080fd5b5061043a610a86366004612998565b600460209081526000928352604080842090915290825290205481565b348015610aaf57600080fd5b50610414610abe366004612818565b601b6020526000908152604090205460ff1681565b348015610adf57600080fd5b506007546104a8906001600160a01b031681565b348015610aff57600080fd5b506103c7610b0e36600461290e565b61175a565b348015610b1f57600080fd5b506103c7610b2e366004612818565b611844565b610b3b611983565b6001600160a01b038116610b7b576040517fe4e0e11f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600780547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040517f83aa94f1b764c002d66a7934717d681240fdab1465b53ad9de8dc66369ba80df90600090a250565b60008054610bea906129cb565b80601f0160208091040260200160405190810160405280929190818152602001828054610c16906129cb565b8015610c635780601f10610c3857610100808354040283529160200191610c63565b820191906000526020600020905b815481529060010190602001808311610c4657829003601f168201915b505050505081565b6000610c783384846119c9565b5060015b92915050565b6001600160a01b03831660009081526004602090815260408083203384529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610cfc57610cd78382612a4d565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b610d07858585611a2b565b60019150505b9392505050565b610d1c611983565b600c80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff16620100001790556040517f8e17c47f6196408a8b1756a9b658f0b8b80c8b35da4f84725827f4dc70cfaac190600090a1565b610d7c611983565b6103e86002546001610d8e9190612a60565b610d989190612a77565b811015610dd1576040517fc7d1448f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60098190556040518181527f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf906020015b60405180910390a150565b610e15611983565b600c805460ff191690556040517f7bfa7bacf025baa75e5308bf15bcf2948f406c7ebe3eb1a8bb611862b9d647ef90600090a1565b610e52611983565b610e5c8282611c3f565b5050565b610e68611983565b6001600160a01b038116610ea8576040517fa05ff47e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610eb28147611c9f565b50565b610ebd611983565b601854610100900460ff1615610eff576040517f5ddf5e8500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600581610f0c8486612ab2565b610f169190612ab2565b1115610f4e576040517f5c000d0900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e839055600f829055601081905580610f688385612ab2565b610f729190612ab2565b600d5560408051848152602081018490529081018290527fa7266bdfb6dddf05c6d4c2b1c0a92e32c7f0a8815840290ee04b4dab3c6ff01d906060015b60405180910390a1505050565b610fc4611983565b6001600160a01b038116611004576040517f4495e94000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600880547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040517f3cbc7611a1d7ff1f4aed3ac99e9923bfa38f23a46258ec589cf76fd99e8b90ad90600090a250565b61106e611983565b600c54610100900460ff16156110b0576040517f1fbde44500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b306000818152600360205260408082205460065491517ff305d719000000000000000000000000000000000000000000000000000000008152600481019490945260248401526044830182905260648301919091526001600160a01b0390811660848301524260a48301527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063f305d71990349060c40160606040518083038185885af1158015611167573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061118c9190612ac5565b5050600c80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1661010017905550565b6111c5611983565b6001600160a01b038116611205576040517fd924e5f400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600680547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040517f4ffd725fc4a22075e9ec71c59edf9c38cdeb588a91b24fc5b61388c5be41282b90600090a250565b60018054610bea906129cb565b61127c611983565b7f000000000000000000000000bf519fb74965680b45d528d29e1d77bd1728c9ce6001600160a01b0316826001600160a01b0316036112e7576040517f7766e63200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e5c8282611d46565b6112f9611983565b6001600160a01b038116600081815260196020526040808220805460ff19169055517faab7954e9d246b167ef88aeddad35209ca2489d95a8aeb59e288d9b19fae5a549190a250565b6000610c78338484611a2b565b611357611983565b6001600160a01b038216611397576040517f1eb00b0600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0381166113d7576040517fa05ff47e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015611437573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145b9190612af3565b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303816000875af11580156114c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114eb9190612b0c565b50505050565b6114f9611983565b610e5c8282611d9e565b61150b611983565b601854610100900460ff161561154d576040517f5ddf5e8500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60058161155a8486612ab2565b6115649190612ab2565b111561159c576040517f76f9a1d700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601283905560138290556014819055806115b68385612ab2565b6115c09190612ab2565b60115560408051848152602081018490529081018290527f448e0e14dd61faacf0f8f7dded9eb48b249502327415f15dc735243d76a8586290606001610faf565b611609611983565b6103e8600254600161161b9190612a60565b6116259190612a77565b81101561165e576040517f24cd9f1a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a8190556040518181527f4b39c36d20c57d220f61fd25c4349d4435cc03ef6c2a680942f15333c3c3e00190602001610e02565b61169b611983565b601880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790556040517f36c13ba18a0a22fbc6fa29968c7ddbcabe3c8096339dc284da5e79ae81dcbb1390600090a1565b60185460ff161561172f576040517f21e7964600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61173d600260016002610eb5565b61174b600260016002611503565b6018805460ff19166001179055565b611762611983565b600254620186a0611774826001612a60565b61177e9190612a77565b8210156117b7576040517ff570cd7700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6103e86117c5826005612a60565b6117cf9190612a77565b821115611808576040517fbfc71b9600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b8290556040518281527f4e28e9db3e09e006229ed36ffd867692e3ad87e68f2ad4d254006e25906954dd9060200160405180910390a15050565b61184c611983565b600c5462010000900460ff161561188f576040517ff0f0272e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f000000000000000000000000bf519fb74965680b45d528d29e1d77bd1728c9ce6001600160a01b0316816001600160a01b0316148061190057507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316816001600160a01b0316145b15611937576040517f3dd7efff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038116600081815260196020526040808220805460ff19166001179055517fffa4e6181777692565cf28528fc88fd1516ea86b56da075235fa575af6a4b8559190a250565b6006546001600160a01b031633146119c7576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316611a6b576040517f0658a73f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038216611aab576040517fa05ff47e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03831660009081526019602052604090205460ff1615611afe576040517f0f09068800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03821660009081526019602052604090205460ff1615611b51576040517f7555ab6f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600003611b6a57611b6583836000611df6565b505050565b600c5460ff1615611b8057611b80838383611e79565b611b8a83836121ae565b15611baf57601d805460ff19166001179055611ba461224d565b601d805460ff191690555b601d5460185460ff91821615916101009091041680611c0857506001600160a01b0384166000908152601a602052604090205460ff1680611c0857506001600160a01b0383166000908152601a602052604090205460ff165b15611c11575060005b8015611c34576000611c2485858561241b565b9050611c308184612a4d565b9250505b6114eb848484611df6565b6001600160a01b0382166000818152601b6020908152604091829020805460ff191685151590811790915591519182527f82170bbd72c16b30c410014b7382121a699ed119a182e48a0b6cadcc89104ac991015b60405180910390a25050565b604080516000808252602082019092526001600160a01b038416908390604051611cc99190612b29565b60006040518083038185875af1925050503d8060008114611d06576040519150601f19603f3d011682016040523d82523d6000602084013e611d0b565b606091505b5050905080611b65576040517f1f148c3f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0382166000818152601c6020908152604091829020805460ff191685151590811790915591519182527f167fec55059eb0be5a803ca151d74e2f1df0223b4482c9eb80a57be642be0bf59101611c93565b6001600160a01b0382166000818152601a6020908152604091829020805460ff191685151590811790915591519182527f3499bfcf9673677ba552f3fe2ea274ec7e6246da31c3c87e115b45a9b0db2efb9101611c93565b6001600160a01b03831660009081526003602052604081208054839290611e1e908490612a4d565b90915550506001600160a01b03808316600081815260036020526040908190208054850190555190918516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611a1e9085815260200190565b6006546005546001600160a01b0391821691908116906000908616831480611eb25750826001600160a01b0316856001600160a01b0316145b90506000826001600160a01b0316876001600160a01b03161480611ee75750826001600160a01b0316866001600160a01b0316145b905060006001600160a01b0387161580611f0b57506001600160a01b03871661dead145b905082158015611f19575081155b8015611f23575080155b8015611f325750601d5460ff16155b156121a457600c54610100900460ff16611fbf576001600160a01b0388166000908152601a602052604090205460ff16158015611f8857506001600160a01b0387166000908152601a602052604090205460ff16155b15611fbf576040517f6f312cbd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0388166000908152601c602052604090205460ff16801561200057506001600160a01b0387166000908152601b602052604090205460ff16155b156120a457600954861115612041576040517f5e93376500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a546001600160a01b0388166000908152600360205260409020546120679088612ab2565b111561209f576040517fe8c4a7e100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6121a4565b6001600160a01b0387166000908152601c602052604090205460ff1680156120e557506001600160a01b0388166000908152601b602052604090205460ff16155b156121265760095486111561209f576040517fec0a965b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0387166000908152601b602052604090205460ff166121a457600a546001600160a01b03881660009081526003602052604090205461216c9088612ab2565b11156121a4576040517fe8c4a7e100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050505050565b600b543060009081526003602052604081205490911180159081906121d65750601d5460ff16155b80156121fb57506001600160a01b0384166000908152601c602052604090205460ff16155b801561222057506001600160a01b0384166000908152601a602052604090205460ff16155b801561224557506001600160a01b0383166000908152601a602052604090205460ff16155b949350505050565b306000908152600360205260408120546017546015546016549293926122739190612ab2565b61227d9190612ab2565b90508060000361228b575050565b600a600b5461229a9190612a60565b8211156122b357600a600b546122b09190612a60565b91505b6000600282601654856122c69190612a60565b6122d09190612a77565b6122da9190612a77565b905060006122e88285612a4d565b9050476122f4826125eb565b60006123008247612a4d565b9050600060026016546123139190612a77565b61231d9087612a4d565b9050600081601554846123309190612a60565b61233a9190612a77565b90506000826017548561234d9190612a60565b6123579190612a77565b90506000816123668487612a4d565b6123709190612a4d565b600060168190556015819055601755600854909150612398906001600160a01b031683611c9f565b6000881180156123a85750600081115b156123f9576123b78882612728565b60408051888152602081018390529081018990527f0990fc5ce44d4f819866e6e93c5c708084e19d57849a66fa65cd90bcb0d6fc719060600160405180910390a15b60075461240f906001600160a01b031684611c9f565b50505050505050505050565b6001600160a01b0382166000908152601c602052604081205460ff16801561244557506000601154115b156124fd5760646011548361245a9190612a60565b6124649190612a77565b9050601154601354826124779190612a60565b6124819190612a77565b601660008282546124929190612ab2565b90915550506011546014546124a79083612a60565b6124b19190612a77565b601760008282546124c29190612ab2565b90915550506011546012546124d79083612a60565b6124e19190612a77565b601560008282546124f29190612ab2565b909155506125da9050565b6001600160a01b0384166000908152601c602052604090205460ff16801561252757506000600d54115b156125da576064600d548361253c9190612a60565b6125469190612a77565b9050600d54600f54826125599190612a60565b6125639190612a77565b601660008282546125749190612ab2565b9091555050600d546010546125899083612a60565b6125939190612a77565b601760008282546125a49190612ab2565b9091555050600d54600e546125b99083612a60565b6125c39190612a77565b601560008282546125d49190612ab2565b90915550505b8015610d0d57610d0d843083611df6565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061262057612620612b45565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28160018151811061267457612674612b45565b6001600160a01b0392831660209182029290920101526040517f791ac9470000000000000000000000000000000000000000000000000000000081527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063791ac947906126f2908590600090869030904290600401612b74565b600060405180830381600087803b15801561270c57600080fd5b505af1158015612720573d6000803e3d6000fd5b505050505050565b6006546040517ff305d7190000000000000000000000000000000000000000000000000000000081523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063f305d71990839060c40160606040518083038185885af11580156127d0573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906127f59190612ac5565b5050505050565b80356001600160a01b038116811461281357600080fd5b919050565b60006020828403121561282a57600080fd5b610d0d826127fc565b60005b8381101561284e578181015183820152602001612836565b50506000910152565b6020815260008251806020840152612876816040850160208701612833565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b600080604083850312156128bb57600080fd5b6128c4836127fc565b946020939093013593505050565b6000806000606084860312156128e757600080fd5b6128f0846127fc565b92506128fe602085016127fc565b9150604084013590509250925092565b60006020828403121561292057600080fd5b5035919050565b8015158114610eb257600080fd5b6000806040838503121561294857600080fd5b612951836127fc565b9150602083013561296181612927565b809150509250929050565b60008060006060848603121561298157600080fd5b505081359360208301359350604090920135919050565b600080604083850312156129ab57600080fd5b6129b4836127fc565b91506129c2602084016127fc565b90509250929050565b600181811c908216806129df57607f821691505b602082108103612a18577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b81810381811115610c7c57610c7c612a1e565b8082028115828204841417610c7c57610c7c612a1e565b600082612aad577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b80820180821115610c7c57610c7c612a1e565b600080600060608486031215612ada57600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215612b0557600080fd5b5051919050565b600060208284031215612b1e57600080fd5b8151610d0d81612927565b60008251612b3b818460208701612833565b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612bc45784516001600160a01b031683529383019391830191600101612b9f565b50506001600160a01b0396909616606085015250505060800152939250505056
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000ca0d5880ecd71d30741e4a018a0fc1e192b543cc0000000000000000000000005290272ea620fffe8cc20569f9079664bb2ec36e0000000000000000000000001793319ec490aea83037c0c6bed1b2d0968cef850000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
-----Decoded View---------------
Arg [0] : _revenueShareWallet (address): 0xCa0d5880ecD71d30741E4A018a0fC1E192B543CC
Arg [1] : _treasuryWallet (address): 0x5290272EA620FfFE8cc20569f9079664BB2eC36E
Arg [2] : _owner (address): 0x1793319eC490Aea83037C0c6bEd1b2D0968CeF85
Arg [3] : _univ2Router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [4] : _univ2Factory (address): 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f
Arg [5] : _wethAddress (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000ca0d5880ecd71d30741e4a018a0fc1e192b543cc
Arg [1] : 0000000000000000000000005290272ea620fffe8cc20569f9079664bb2ec36e
Arg [2] : 0000000000000000000000001793319ec490aea83037c0c6bed1b2d0968cef85
Arg [3] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [4] : 0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
Arg [5] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Loading...
Loading
Loading...
Loading
OVERVIEW
TokenSight is a DEX Trading Platform offering Instand and Passive Trade Orders, Token Sniping, Copy Trading, Alerts and much more.Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.