ERC-20
Overview
Max Total Supply
992,588,077.337686970429517222 DEEZ
Holders
2,075
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.015691230030142882 DEEZValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
UltimateToken
Compiler Version
v0.8.18+commit.87f61d96
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.18; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns ( uint256 amountA, uint256 amountB, uint256 liquidity ); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns ( uint256 amountToken, uint256 amountETH, uint256 liquidity ); function removeLiquidity( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETH( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountToken, uint256 amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETHWithPermit( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountToken, uint256 amountETH); function swapExactTokensForTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapTokensForExactTokens( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactETHForTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function swapTokensForExactETH( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactTokensForETH( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapETHForExactTokens( uint256 amountOut, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function quote( uint256 amountA, uint256 reserveA, uint256 reserveB ) external pure returns (uint256 amountB); function getAmountOut( uint256 amountIn, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountOut); function getAmountIn( uint256 amountOut, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountIn); function getAmountsOut(uint256 amountIn, address[] calldata path) external view returns (uint256[] memory amounts); function getAmountsIn(uint256 amountOut, address[] calldata path) external view returns (uint256[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } interface IUniswapV2Pair { event Approval( address indexed owner, address indexed spender, uint256 value ); event Transfer(address indexed from, address indexed to, uint256 value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint256); function balanceOf(address owner) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 value) external returns (bool); function transfer(address to, uint256 value) external returns (bool); function transferFrom( address from, address to, uint256 value ) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint256); function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; event Mint(address indexed sender, uint256 amount0, uint256 amount1); event Burn( address indexed sender, uint256 amount0, uint256 amount1, address indexed to ); event Swap( address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint256); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns ( uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast ); function price0CumulativeLast() external view returns (uint256); function price1CumulativeLast() external view returns (uint256); function kLast() external view returns (uint256); function mint(address to) external returns (uint256 liquidity); function burn(address to) external returns (uint256 amount0, uint256 amount1); function swap( uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data ) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint256 ); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint256) external view returns (address pair); function allPairsLength() external view returns (uint256); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; function INIT_CODE_PAIR_HASH() external view returns (bytes32); } interface IUniswapV2Caller { function swapExactTokensForTokensSupportingFeeOnTransferTokens( address router, uint256 amountIn, uint256 amountOutMin, address[] calldata path, uint256 deadline ) external; } interface IFee { function payFee( uint256 _tokenType ) external payable; } contract UltimateToken is IERC20, Ownable { using SafeERC20 for IERC20; IUniswapV2Caller public constant uniswapV2Caller = IUniswapV2Caller(0x1CcFE8c40eF259566433716002E379dFfFbf5a3e); IFee public constant feeContract = IFee(0xfd6439AEfF9d2389856B7486b9e74a6DacaDcDCe); address public baseTokenForPair; uint8 private _decimals; mapping(address => uint256) private _rOwned; mapping(address => uint256) private _tOwned; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => bool) private _isExcluded; address[] private _excluded; uint256 private constant MAX = ~uint256(0); uint256 private _tTotal; uint256 private _rTotal; uint256 private _tFeeTotal; string private _name; string private _symbol; uint256 private _rewardFee; uint256 private _previousRewardFee; uint256 private _liquidityFee; uint256 private _previousLiquidityFee; uint256 private _marketingFee; uint256 private _previousMarketingFee; uint256 private _treasuryFee; uint256 private _previousTreasuryFee; uint256 private _burnFee; uint256 private _previousBurnFee; bool private inSwapAndLiquify; uint16 public sellRewardFee; uint16 public buyRewardFee; uint16 public sellLiquidityFee; uint16 public buyLiquidityFee; uint16 public sellMarketingFee; uint16 public buyMarketingFee; uint16 public sellTreasuryFee; uint16 public buyTreasuryFee; uint16 public sellBurnFee; uint16 public buyBurnFee; address public marketingWallet; bool public isMarketingFeeBaseToken; address public treasuryWallet; uint256 public minAmountToTakeFee; uint256 public maxWallet; uint256 public maxTransactionAmount; IUniswapV2Router02 public mainRouter; address public mainPair; mapping(address => bool) public isExcludedFromFee; mapping(address => bool) public isExcludedFromMaxTransactionAmount; mapping(address => bool) public automatedMarketMakerPairs; uint256 private _liquidityFeeTokens; uint256 private _marketingFeeTokens; uint256 private _treasuryFeeTokens; event UpdateLiquidityFee( uint16 newSellLiquidityFee, uint16 newBuyLiquidityFee, uint16 oldSellLiquidityFee, uint16 oldBuyLiquidityFee ); event UpdateMarketingFee( uint16 newSellMarketingFee, uint16 newBuyMarketingFee, uint16 oldSellMarketingFee, uint16 oldBuyMarketingFee ); event UpdateTreasuryFee( uint16 newSellTreasuryFee, uint16 newBuyTreasuryFee, uint16 oldSellTreasuryFee, uint16 oldBuyTreasuryFee ); event UpdateBurnFee( uint16 newSellBurnFee, uint16 newBuyBurnFee, uint16 oldSellBurnFee, uint16 oldBuyBurnFee ); event UpdateRewardFee( uint16 newSellRewardFee, uint16 newBuyRewardFee, uint16 oldSellRewardFee, uint16 oldBuyRewardFee ); event UpdateMarketingWallet( address indexed newMarketingWallet, bool newIsMarketingFeeBaseToken, address indexed oldMarketingWallet, bool oldIsMarketingFeeBaseToken ); event UpdateTreasuryWallet( address indexed newTreasuryWallet, address indexed oldTreasuryWallet ); event UpdateMinAmountToTakeFee(uint256 newMinAmountToTakeFee, uint256 oldMinAmountToTakeFee); event SetAutomatedMarketMakerPair(address indexed pair, bool value); event ExcludedFromFee(address indexed account, bool isEx); event SwapAndLiquify(uint256 tokensForLiquidity, uint256 baseTokenForLiquidity); event MarketingFeeTaken( uint256 marketingFeeTokens, uint256 marketingFeeBaseTokenSwapped ); event TreasuryFeeTaken( uint256 amount ); event ExcludedFromMaxTransactionAmount(address indexed account, bool isExcluded); event UpdateUniswapV2Router(address indexed newAddress, address indexed oldRouter); event UpdateMaxWallet(uint256 newMaxWallet, uint256 oldMaxWallet); event UpdateMaxTransactionAmount(uint256 newMaxTransactionAmount, uint256 oldMaxTransactionAmount); constructor( string memory __name, string memory __symbol, uint8 __decimals, uint256 _totalSupply, uint256 _maxWallet, uint256 _maxTransactionAmount, address[4] memory _accounts, bool _isMarketingFeeBaseToken, uint16[10] memory _fees ) payable { feeContract.payFee{value: msg.value}(4); baseTokenForPair=_accounts[2]; _decimals = __decimals; _name = __name; _symbol = __symbol; _tTotal = _totalSupply ; _rTotal = (MAX - (MAX % _tTotal)); _rOwned[_msgSender()] = _rTotal; require(_accounts[0] != address(0), "marketing wallet can not be 0"); require(_accounts[1] != address(0), "Router address can not be 0"); require(_accounts[3] != address(0), "Treasury wallet can not be 0"); require(_accounts[3] != _accounts[0], "Treasury wallet can not be same with marketing wallet"); require(_fees[0]+(_fees[2])+(_fees[4]) + _fees[6] + _fees[8] <= 300, "sell total fee <= 30%"); require(_fees[1]+(_fees[3])+(_fees[5]) + _fees[7] + _fees[9] <= 300, "buy total fee <= 30%"); require(_fees[0] < 150, "each fee < 15%"); require(_fees[1] < 150, "each fee < 15%"); require(_fees[2] < 150, "each fee < 15%"); require(_fees[3] < 150, "each fee < 15%"); require(_fees[4] < 150, "each fee < 15%"); require(_fees[5] < 150, "each fee < 15%"); require(_fees[6] < 150, "each fee < 15%"); require(_fees[7] < 150, "each fee < 15%"); require(_fees[8] < 150, "each fee < 15%"); require(_fees[9] < 150, "each fee < 15%"); marketingWallet = _accounts[0]; treasuryWallet = _accounts[3]; isMarketingFeeBaseToken = _isMarketingFeeBaseToken; emit UpdateMarketingWallet( marketingWallet, isMarketingFeeBaseToken, address(0), false ); emit UpdateTreasuryWallet( treasuryWallet, address(0) ); mainRouter = IUniswapV2Router02(_accounts[1]); if(baseTokenForPair != mainRouter.WETH()){ IERC20(baseTokenForPair).approve(address(mainRouter), MAX); } _approve(address(this), address(uniswapV2Caller), MAX); _approve(address(this), address(mainRouter), MAX); emit UpdateUniswapV2Router(address(mainRouter), address(0)); mainPair = IUniswapV2Factory(mainRouter.factory()).createPair( address(this), baseTokenForPair ); sellLiquidityFee = _fees[0]; buyLiquidityFee = _fees[1]; emit UpdateLiquidityFee( sellLiquidityFee, buyLiquidityFee, 0, 0 ); sellMarketingFee = _fees[2]; buyMarketingFee = _fees[3]; emit UpdateMarketingFee( sellMarketingFee, buyMarketingFee, 0, 0 ); sellTreasuryFee = _fees[6]; buyTreasuryFee = _fees[7]; emit UpdateTreasuryFee( sellTreasuryFee, buyTreasuryFee, 0, 0 ); sellBurnFee = _fees[8]; buyBurnFee = _fees[9]; emit UpdateBurnFee( sellBurnFee, buyBurnFee, 0, 0 ); sellRewardFee = _fees[4]; buyRewardFee = _fees[5]; emit UpdateRewardFee( sellRewardFee, buyRewardFee, 0, 0 ); minAmountToTakeFee = _totalSupply/(10000); emit UpdateMinAmountToTakeFee(minAmountToTakeFee, 0); require(_maxTransactionAmount>=_totalSupply / 10000, "maxTransactionAmount >= total supply / 10000"); require(_maxWallet>=_totalSupply / 10000, "maxWallet >= total supply / 10000"); maxWallet=_maxWallet; emit UpdateMaxWallet(maxWallet, 0); maxTransactionAmount=_maxTransactionAmount; emit UpdateMaxTransactionAmount(maxTransactionAmount, 0); _isExcluded[address(0xdead)] = true; _excluded.push(address(0xdead)); _isExcluded[address(this)] = true; _excluded.push(address(this)); isExcludedFromFee[address(this)] = true; isExcludedFromFee[marketingWallet] = true; isExcludedFromFee[treasuryWallet] = true; isExcludedFromFee[_msgSender()] = true; isExcludedFromFee[address(0xdead)] = true; isExcludedFromMaxTransactionAmount[address(0xdead)]=true; isExcludedFromMaxTransactionAmount[address(this)]=true; isExcludedFromMaxTransactionAmount[marketingWallet]=true; isExcludedFromMaxTransactionAmount[treasuryWallet]=true; isExcludedFromMaxTransactionAmount[_msgSender()]=true; _setAutomatedMarketMakerPair(mainPair, true); emit Transfer(address(0), _msgSender(), _totalSupply); } function updateUniswapV2Pair(address _baseTokenForPair) external onlyOwner { require( _baseTokenForPair != baseTokenForPair, "The baseTokenForPair already has that address" ); baseTokenForPair=_baseTokenForPair; mainPair = IUniswapV2Factory(mainRouter.factory()).createPair( address(this), baseTokenForPair ); if(baseTokenForPair != mainRouter.WETH()){ IERC20(baseTokenForPair).approve(address(mainRouter), MAX); } _setAutomatedMarketMakerPair(mainPair, true); } function updateUniswapV2Router(address newAddress) public onlyOwner { require( newAddress != address(mainRouter), "The router already has that address" ); emit UpdateUniswapV2Router(newAddress, address(mainRouter)); mainRouter = IUniswapV2Router02(newAddress); _approve(address(this), address(mainRouter), MAX); if(baseTokenForPair != mainRouter.WETH()){ IERC20(baseTokenForPair).approve(address(mainRouter), MAX); } address _mainPair = IUniswapV2Factory(mainRouter.factory()) .createPair(address(this), baseTokenForPair); mainPair = _mainPair; _setAutomatedMarketMakerPair(mainPair, true); } function _tokenTransfer( address sender, address recipient, uint256 amount ) private { ( uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity, uint256 tMarketing, uint256 tTreasury, uint256 tBurn ) = _getTValues(amount); uint256 currentRate = _getRate(); { //burn _tTotal = _tTotal - tBurn; _rTotal = _rTotal - tBurn*currentRate; emit Transfer(sender, address(0), tBurn); } { //marketing & liquidity & treasury burn fee collected in the token contract _liquidityFeeTokens = _liquidityFeeTokens+tLiquidity; _marketingFeeTokens = _marketingFeeTokens+tMarketing; _treasuryFeeTokens = _treasuryFeeTokens+tTreasury; uint256 tTotalFee = tLiquidity+tMarketing+tTreasury; _rOwned[address(this)] = _rOwned[address(this)]+tTotalFee * currentRate; if (_isExcluded[address(this)]) _tOwned[address(this)] = _tOwned[address(this)]+tTotalFee; } if (_isExcluded[sender] && !_isExcluded[recipient]) { _tOwned[sender] = _tOwned[sender]-amount; _rOwned[sender] = _rOwned[sender]-amount*currentRate; _rOwned[recipient] = _rOwned[recipient]+tTransferAmount*currentRate; } else if (!_isExcluded[sender] && _isExcluded[recipient]) { _rOwned[sender] = _rOwned[sender]-amount*currentRate; _tOwned[recipient] = _tOwned[recipient]+tTransferAmount; _rOwned[recipient] = _rOwned[recipient]+tTransferAmount*currentRate; } else if (_isExcluded[sender] && _isExcluded[recipient]) { _tOwned[sender] = _tOwned[sender]-amount; _rOwned[sender] = _rOwned[sender]-amount*currentRate; _tOwned[recipient] = _tOwned[recipient]+tTransferAmount; _rOwned[recipient] = _rOwned[recipient]+tTransferAmount*currentRate; } else { _rOwned[sender] = _rOwned[sender]-amount*currentRate; _rOwned[recipient] = _rOwned[recipient]+tTransferAmount*currentRate; } _reflectFee(tFee*currentRate, tFee); emit Transfer(sender, recipient, tTransferAmount); } function updateMaxWallet(uint256 _maxWallet) external onlyOwner { require(_maxWallet>=_tTotal / 10000, "maxWallet >= total supply / 10000"); emit UpdateMaxWallet(_maxWallet, maxWallet); maxWallet = _maxWallet; } function updateMaxTransactionAmount(uint256 _maxTransactionAmount) external onlyOwner { require(_maxTransactionAmount>=_tTotal / 10000, "maxTransactionAmount >= total supply / 10000"); emit UpdateMaxTransactionAmount(_maxTransactionAmount, maxTransactionAmount); maxTransactionAmount = _maxTransactionAmount; } function _reflectFee(uint256 rFee, uint256 tFee) private { _rTotal = _rTotal-(rFee); _tFeeTotal = _tFeeTotal+(tFee); } function _getTValues(uint256 tAmount) private view returns ( uint256, uint256, uint256, uint256, uint256, uint256 ) { uint256 tFee = calculateRewardFee(tAmount); uint256 tLiquidity = calculateLiquidityFee(tAmount); uint256 tMarketing = calculateMarketingFee(tAmount); uint256 tTreasury = calculateTreasuryFee(tAmount); uint256 tBurn = calculateBurnFee(tAmount); uint256 tTransferAmount = calculateTransferAmount(tAmount); return (tTransferAmount, tFee, tLiquidity, tMarketing, tTreasury, tBurn); } function _getRate() private view returns (uint256) { (uint256 rSupply, uint256 tSupply) = _getCurrentSupply(); return rSupply/(tSupply); } function _getCurrentSupply() private view returns (uint256, uint256) { uint256 rSupply = _rTotal; uint256 tSupply = _tTotal; for (uint256 i = 0; i < _excluded.length; i++) { if ( _rOwned[_excluded[i]] > rSupply || _tOwned[_excluded[i]] > tSupply ) return (_rTotal, _tTotal); rSupply = rSupply-(_rOwned[_excluded[i]]); tSupply = tSupply-(_tOwned[_excluded[i]]); } if (rSupply < _rTotal/(_tTotal)) return (_rTotal, _tTotal); return (rSupply, tSupply); } function removeAllFee() private { _previousRewardFee = _rewardFee; _previousLiquidityFee = _liquidityFee; _previousMarketingFee = _marketingFee; _previousTreasuryFee = _treasuryFee; _previousBurnFee = _burnFee; _burnFee = 0; _treasuryFee = 0; _marketingFee = 0; _rewardFee = 0; _liquidityFee = 0; } function restoreAllFee() private { _burnFee = _previousBurnFee; _treasuryFee = _previousTreasuryFee; _rewardFee = _previousRewardFee; _liquidityFee = _previousLiquidityFee; _marketingFee = _previousMarketingFee; } function calculateRewardFee(uint256 _amount) private view returns (uint256) { return _amount*(_rewardFee)/(10**3); } function calculateLiquidityFee(uint256 _amount) private view returns (uint256) { return _amount*(_liquidityFee)/(10**3); } function calculateMarketingFee(uint256 _amount) private view returns (uint256) { return _amount*(_marketingFee)/(10**3); } function calculateTreasuryFee(uint256 _amount) private view returns (uint256) { return _amount*(_treasuryFee)/(10**3); } function calculateBurnFee(uint256 _amount) private view returns (uint256) { return _amount*(_burnFee)/(10**3); } function calculateTransferAmount(uint256 _amount) private view returns (uint256) { return _amount*(1000 - _burnFee - _treasuryFee - _rewardFee - _liquidityFee - _marketingFee)/(10**3); } ///////////////////////////////////////////////////////////////////////////////// function name() external view returns (string memory) { return _name; } function symbol() external view returns (string memory) { return _symbol; } function decimals() external view returns (uint8) { return _decimals; } function totalSupply() external view override returns (uint256) { return _tTotal; } function balanceOf(address account) public view override returns (uint256) { if (_isExcluded[account]) return _tOwned[account]; return tokenFromReflection(_rOwned[account]); } function transfer(address recipient, uint256 amount) external override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) external view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) external override returns (bool) { _transfer(sender, recipient, amount); _approve( sender, _msgSender(), _allowances[sender][_msgSender()]-amount ); return true; } function increaseAllowance(address spender, uint256 addedValue) external virtual returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender]+(addedValue) ); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) external virtual returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender]-( subtractedValue ) ); return true; } function isExcludedFromReward(address account) external view returns (bool) { return _isExcluded[account]; } function totalFees() external view returns (uint256) { return _tFeeTotal; } function reflectionFromToken(uint256 tAmount, bool deductTransferFee) external view returns (uint256) { require(tAmount <= _tTotal, "Amount must be less than supply"); uint256 currentRate = _getRate(); if (!deductTransferFee) { uint256 rAmount = tAmount*currentRate; return rAmount; } else { ( uint256 tTransferAmount, , , , , ) = _getTValues(tAmount); uint256 rTransferAmount = tTransferAmount * currentRate; return rTransferAmount; } } function tokenFromReflection(uint256 rAmount) public view returns (uint256) { require( rAmount <= _rTotal, "Amount must be less than total reflections" ); uint256 currentRate = _getRate(); return rAmount/(currentRate); } function excludeFromReward(address account) public onlyOwner { require(!_isExcluded[account], "Account is already excluded"); require( _excluded.length + 1 <= 50, "Cannot exclude more than 50 accounts. Include a previously excluded address." ); if (_rOwned[account] > 0) { _tOwned[account] = tokenFromReflection(_rOwned[account]); } _isExcluded[account] = true; _excluded.push(account); } function includeInReward(address account) public onlyOwner { require(_isExcluded[account], "Account is not excluded"); for (uint256 i = 0; i < _excluded.length; i++) { if (_excluded[i] == account) { uint256 prev_rOwned=_rOwned[account]; _rOwned[account]=_tOwned[account]*_getRate(); _rTotal=_rTotal-prev_rOwned+_rOwned[account]; _isExcluded[account] = false; _excluded[i] = _excluded[_excluded.length - 1]; _excluded.pop(); break; } } } function _approve( address owner, address spender, uint256 amount ) private { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } modifier lockTheSwap() { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } function updateLiquidityFee( uint16 _sellLiquidityFee, uint16 _buyLiquidityFee ) external onlyOwner { require( _sellLiquidityFee+(sellMarketingFee)+(sellRewardFee) + sellTreasuryFee + sellBurnFee <= 300, "sell total fee <= 30%" ); require( _buyLiquidityFee+(buyMarketingFee)+(buyRewardFee) + buyTreasuryFee + buyBurnFee <= 300, "buy total fee <= 30%" ); require(_sellLiquidityFee<= 150, "sell fee <= 15%"); require(_buyLiquidityFee<= 150, "buy fee <= 15%"); emit UpdateLiquidityFee( _sellLiquidityFee, _buyLiquidityFee, sellLiquidityFee, buyLiquidityFee ); sellLiquidityFee = _sellLiquidityFee; buyLiquidityFee = _buyLiquidityFee; } function updateMarketingFee( uint16 _sellMarketingFee, uint16 _buyMarketingFee ) external onlyOwner { require( _sellMarketingFee+(sellLiquidityFee)+(sellRewardFee) + sellTreasuryFee + sellBurnFee <= 300, "sell total fee <= 30%" ); require( _buyMarketingFee+(buyLiquidityFee)+(buyRewardFee) + buyTreasuryFee + buyBurnFee <= 300, "buy total fee <= 30%" ); require(_sellMarketingFee<= 150, "sell fee <= 15%"); require(_buyMarketingFee<= 150, "buy fee <= 15%"); emit UpdateMarketingFee( _sellMarketingFee, _buyMarketingFee, sellMarketingFee, buyMarketingFee ); sellMarketingFee = _sellMarketingFee; buyMarketingFee = _buyMarketingFee; } function updateRewardFee( uint16 _sellRewardFee, uint16 _buyRewardFee ) external onlyOwner { require( _sellRewardFee+(sellLiquidityFee)+(sellMarketingFee) + sellTreasuryFee + sellBurnFee <= 300, "sell total fee <= 30%" ); require( _buyRewardFee+(buyLiquidityFee)+(buyMarketingFee) + buyTreasuryFee + buyBurnFee <= 300, "buy total fee <= 30%" ); require(_sellRewardFee<= 150, "sell fee <= 15%"); require(_buyRewardFee<= 150, "buy fee <= 15%"); emit UpdateRewardFee( _sellRewardFee, _buyRewardFee, sellRewardFee, buyRewardFee ); sellRewardFee = _sellRewardFee; buyRewardFee = _buyRewardFee; } function updateTreasuryFee( uint16 _sellTreasuryFee, uint16 _buyTreasuryFee ) external onlyOwner { require( _sellTreasuryFee+(sellLiquidityFee)+(sellMarketingFee) + sellRewardFee + sellBurnFee <= 300, "sell total fee <= 30%" ); require( _buyTreasuryFee+(buyLiquidityFee)+(buyMarketingFee) + buyRewardFee + buyBurnFee <= 300, "buy total fee <= 30%" ); require(_sellTreasuryFee<= 150, "sell fee <= 15%"); require(_buyTreasuryFee<= 150, "buy fee <= 15%"); emit UpdateTreasuryFee( _sellTreasuryFee, _buyTreasuryFee, sellTreasuryFee, buyTreasuryFee ); sellTreasuryFee = _sellTreasuryFee; buyTreasuryFee = _buyTreasuryFee; } function updateBurnFee( uint16 _sellBurnFee, uint16 _buyBurnFee ) external onlyOwner { require( _sellBurnFee+(sellLiquidityFee)+(sellMarketingFee) + sellTreasuryFee + sellRewardFee <= 300, "sell total fee <= 30%" ); require( _buyBurnFee+(buyLiquidityFee)+(buyMarketingFee) + buyTreasuryFee + buyRewardFee <= 300, "buy total fee <= 30%" ); require(_sellBurnFee<= 150, "sell fee <= 15%"); require(_buyBurnFee<= 150, "buy fee <= 15%"); emit UpdateBurnFee( _sellBurnFee, _buyBurnFee, sellBurnFee, buyBurnFee ); sellBurnFee = _sellBurnFee; buyBurnFee = _buyBurnFee; } function updateMarketingWallet( address _marketingWallet, bool _isMarketingFeeBaseToken ) external onlyOwner { require(_marketingWallet != address(0), "marketing wallet can't be 0"); require(_marketingWallet != treasuryWallet, "marketing wallet can't be same with Treasury wallet"); emit UpdateMarketingWallet(_marketingWallet, _isMarketingFeeBaseToken, marketingWallet, isMarketingFeeBaseToken); marketingWallet = _marketingWallet; isMarketingFeeBaseToken = _isMarketingFeeBaseToken; isExcludedFromFee[_marketingWallet] = true; isExcludedFromMaxTransactionAmount[_marketingWallet]=true; } function updateTreasuryWallet( address _treasuryWallet ) external onlyOwner { require(_treasuryWallet != address(0), "Treasury wallet can't be 0"); require(marketingWallet != _treasuryWallet, "marketing wallet can't be same with Treasury wallet"); emit UpdateTreasuryWallet(_treasuryWallet, treasuryWallet); treasuryWallet = _treasuryWallet; isExcludedFromFee[_treasuryWallet] = true; isExcludedFromMaxTransactionAmount[_treasuryWallet]=true; } function updateMinAmountToTakeFee(uint256 _minAmountToTakeFee) external onlyOwner { require(_minAmountToTakeFee > 0, "minAmountToTakeFee > 0"); emit UpdateMinAmountToTakeFee(_minAmountToTakeFee, minAmountToTakeFee); minAmountToTakeFee = _minAmountToTakeFee; } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { require( automatedMarketMakerPairs[pair] != value, "Automated market maker pair is already set to that value" ); automatedMarketMakerPairs[pair] = value; if (value) excludeFromReward(pair); else includeInReward(pair); isExcludedFromMaxTransactionAmount[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function excludeFromFee(address account, bool isEx) external onlyOwner { require(isExcludedFromFee[account] != isEx, "already"); isExcludedFromFee[account] = isEx; emit ExcludedFromFee(account, isEx); } function excludeFromMaxTransactionAmount(address account, bool isEx) external onlyOwner { require(isExcludedFromMaxTransactionAmount[account]!=isEx, "already"); isExcludedFromMaxTransactionAmount[account] = isEx; emit ExcludedFromMaxTransactionAmount(account, isEx); } function _transfer( address from, address to, uint256 amount ) private { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); uint256 contractTokenBalance = balanceOf(address(this)); bool overMinimumTokenBalance = contractTokenBalance >= minAmountToTakeFee; // Take Fee if ( !inSwapAndLiquify && overMinimumTokenBalance && balanceOf(mainPair) > 0 && automatedMarketMakerPairs[to] ) { takeFee(); } removeAllFee(); // If any account belongs to isExcludedFromFee account then remove the fee if ( !inSwapAndLiquify && !isExcludedFromFee[from] && !isExcludedFromFee[to] ) { // Buy if (automatedMarketMakerPairs[from]) { _rewardFee = buyRewardFee; _liquidityFee = buyLiquidityFee; _marketingFee = buyMarketingFee; _treasuryFee = buyTreasuryFee; _burnFee = buyBurnFee; } // Sell else if (automatedMarketMakerPairs[to]) { _rewardFee = sellRewardFee; _liquidityFee = sellLiquidityFee; _marketingFee = sellMarketingFee; _treasuryFee = sellTreasuryFee; _burnFee = sellBurnFee; } } _tokenTransfer(from, to, amount); restoreAllFee(); if (!inSwapAndLiquify) { if (!isExcludedFromMaxTransactionAmount[from]) { require( amount < maxTransactionAmount, "ERC20: exceeds transfer limit" ); } if (!isExcludedFromMaxTransactionAmount[to]) { require( balanceOf(to) < maxWallet, "ERC20: exceeds max wallet limit" ); } } } function takeFee() private lockTheSwap { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensTaken = _liquidityFeeTokens + _marketingFeeTokens + _treasuryFeeTokens; if (totalTokensTaken == 0 || contractBalance < totalTokensTaken) { return; } // Halve the amount of liquidity tokens uint256 tokensForLiquidity = _liquidityFeeTokens / 2; uint256 initialBaseTokenBalance = baseTokenForPair==mainRouter.WETH() ? address(this).balance : IERC20(baseTokenForPair).balanceOf(address(this)); uint256 baseTokenForLiquidity; uint256 baseTokenForTreasury; if (isMarketingFeeBaseToken) { uint256 tokensForSwap=tokensForLiquidity+_marketingFeeTokens + _treasuryFeeTokens; if(tokensForSwap>0) swapTokensForBaseToken(tokensForSwap); uint256 baseTokenBalance = baseTokenForPair==mainRouter.WETH() ? address(this).balance-initialBaseTokenBalance : IERC20(baseTokenForPair).balanceOf(address(this))-initialBaseTokenBalance; uint256 baseTokenForMarketing = baseTokenBalance*_marketingFeeTokens/tokensForSwap; baseTokenForLiquidity = baseTokenBalance*tokensForLiquidity/tokensForSwap; baseTokenForTreasury = baseTokenBalance - baseTokenForMarketing - baseTokenForLiquidity; if(baseTokenForMarketing>0){ if(baseTokenForPair==mainRouter.WETH()){ (bool success, )=address(marketingWallet).call{value: baseTokenForMarketing}(""); if(success){ emit MarketingFeeTaken(0, baseTokenForMarketing); } }else{ IERC20(baseTokenForPair).safeTransfer(marketingWallet, baseTokenForMarketing); emit MarketingFeeTaken(0, baseTokenForMarketing); } } } else { uint256 tokensForSwap=tokensForLiquidity + _treasuryFeeTokens; if(tokensForSwap>0) swapTokensForBaseToken(tokensForSwap); uint256 baseTokenBalance = baseTokenForPair==mainRouter.WETH() ? address(this).balance-initialBaseTokenBalance : IERC20(baseTokenForPair).balanceOf(address(this))-initialBaseTokenBalance; baseTokenForLiquidity = baseTokenBalance*tokensForLiquidity/tokensForSwap; baseTokenForTreasury = baseTokenBalance - baseTokenForLiquidity; if(_marketingFeeTokens>0){ _transfer(address(this), marketingWallet, _marketingFeeTokens); emit MarketingFeeTaken(_marketingFeeTokens, 0); } } if (tokensForLiquidity > 0 && baseTokenForLiquidity > 0) { addLiquidity(tokensForLiquidity, baseTokenForLiquidity); emit SwapAndLiquify(tokensForLiquidity, baseTokenForLiquidity); } if(baseTokenForTreasury>0){ if(baseTokenForPair==mainRouter.WETH()){ (bool success, )=address(treasuryWallet).call{value: baseTokenForTreasury}(""); if(success){ emit TreasuryFeeTaken(baseTokenForTreasury); } }else{ IERC20(baseTokenForPair).safeTransfer(treasuryWallet, baseTokenForTreasury); emit TreasuryFeeTaken(baseTokenForTreasury); } } _marketingFeeTokens = 0; _treasuryFeeTokens = 0; _liquidityFeeTokens = 0; if(owner()!=address(0)) _transfer(address(this), owner(), balanceOf(address(this))); else _transfer(address(this), address(0xdead), balanceOf(address(this))); } function swapTokensForBaseToken(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = baseTokenForPair; if (path[1] == mainRouter.WETH()){ mainRouter.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of BaseToken path, address(this), block.timestamp ); }else{ uniswapV2Caller.swapExactTokensForTokensSupportingFeeOnTransferTokens( address(mainRouter), tokenAmount, 0, // accept any amount of BaseToken path, block.timestamp ); } } function addLiquidity(uint256 tokenAmount, uint256 baseTokenAmount) private { if (baseTokenForPair == mainRouter.WETH()) mainRouter.addLiquidityETH{value: baseTokenAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable address(0xdead), block.timestamp ); else{ mainRouter.addLiquidity( address(this), baseTokenForPair, tokenAmount, baseTokenAmount, 0, 0, address(0xdead), block.timestamp ); } } function treasuryBurn() payable external{ address[] memory path = new address[](2); path[0] = baseTokenForPair; path[1] = address(this); if (path[0] == mainRouter.WETH()){ mainRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value:msg.value}( 0, // accept any amount of BaseToken path, address(0xdead), block.timestamp ); }else{ uint256 amount = IERC20(baseTokenForPair).balanceOf(_msgSender()); IERC20(baseTokenForPair).safeTransferFrom(_msgSender(), address(this), amount); mainRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens( amount, 0, // accept any amount of BaseToken path, address(0xdead), block.timestamp ); } { //burn _tTotal = _tTotal - _tOwned[address(0xdead)]; _rTotal = _rTotal - _rOwned[address(0xdead)]; emit Transfer(address(0xdead), address(0), _tOwned[address(0xdead)]); _rOwned[address(0xdead)] = 0; _tOwned[address(0xdead)] = 0; } } function withdrawETH() external onlyOwner { (bool success, )=address(owner()).call{value: address(this).balance}(""); require(success, "Failed in withdrawal"); } function withdrawToken(address token) external onlyOwner{ require(address(this) != token, "Not allowed"); IERC20(token).safeTransfer(owner(), IERC20(token).balanceOf(address(this))); } receive() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"__name","type":"string"},{"internalType":"string","name":"__symbol","type":"string"},{"internalType":"uint8","name":"__decimals","type":"uint8"},{"internalType":"uint256","name":"_totalSupply","type":"uint256"},{"internalType":"uint256","name":"_maxWallet","type":"uint256"},{"internalType":"uint256","name":"_maxTransactionAmount","type":"uint256"},{"internalType":"address[4]","name":"_accounts","type":"address[4]"},{"internalType":"bool","name":"_isMarketingFeeBaseToken","type":"bool"},{"internalType":"uint16[10]","name":"_fees","type":"uint16[10]"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isEx","type":"bool"}],"name":"ExcludedFromFee","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":[{"indexed":false,"internalType":"uint256","name":"marketingFeeTokens","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"marketingFeeBaseTokenSwapped","type":"uint256"}],"name":"MarketingFeeTaken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensForLiquidity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"baseTokenForLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TreasuryFeeTaken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"newSellBurnFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"newBuyBurnFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"oldSellBurnFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"oldBuyBurnFee","type":"uint16"}],"name":"UpdateBurnFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"newSellLiquidityFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"newBuyLiquidityFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"oldSellLiquidityFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"oldBuyLiquidityFee","type":"uint16"}],"name":"UpdateLiquidityFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"newSellMarketingFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"newBuyMarketingFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"oldSellMarketingFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"oldBuyMarketingFee","type":"uint16"}],"name":"UpdateMarketingFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newMarketingWallet","type":"address"},{"indexed":false,"internalType":"bool","name":"newIsMarketingFeeBaseToken","type":"bool"},{"indexed":true,"internalType":"address","name":"oldMarketingWallet","type":"address"},{"indexed":false,"internalType":"bool","name":"oldIsMarketingFeeBaseToken","type":"bool"}],"name":"UpdateMarketingWallet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMaxTransactionAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldMaxTransactionAmount","type":"uint256"}],"name":"UpdateMaxTransactionAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMaxWallet","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldMaxWallet","type":"uint256"}],"name":"UpdateMaxWallet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMinAmountToTakeFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldMinAmountToTakeFee","type":"uint256"}],"name":"UpdateMinAmountToTakeFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"newSellRewardFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"newBuyRewardFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"oldSellRewardFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"oldBuyRewardFee","type":"uint16"}],"name":"UpdateRewardFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"newSellTreasuryFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"newBuyTreasuryFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"oldSellTreasuryFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"oldBuyTreasuryFee","type":"uint16"}],"name":"UpdateTreasuryFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newTreasuryWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldTreasuryWallet","type":"address"}],"name":"UpdateTreasuryWallet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldRouter","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenForPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBurnFee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyMarketingFee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyRewardFee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTreasuryFee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransactionAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeContract","outputs":[{"internalType":"contract IFee","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromFee","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":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMarketingFeeBaseToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mainPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mainRouter","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minAmountToTakeFee","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":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellBurnFee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellMarketingFee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellRewardFee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTreasuryFee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryBurn","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"treasuryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Caller","outputs":[{"internalType":"contract IUniswapV2Caller","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_sellBurnFee","type":"uint16"},{"internalType":"uint16","name":"_buyBurnFee","type":"uint16"}],"name":"updateBurnFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_sellLiquidityFee","type":"uint16"},{"internalType":"uint16","name":"_buyLiquidityFee","type":"uint16"}],"name":"updateLiquidityFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_sellMarketingFee","type":"uint16"},{"internalType":"uint16","name":"_buyMarketingFee","type":"uint16"}],"name":"updateMarketingFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingWallet","type":"address"},{"internalType":"bool","name":"_isMarketingFeeBaseToken","type":"bool"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTransactionAmount","type":"uint256"}],"name":"updateMaxTransactionAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWallet","type":"uint256"}],"name":"updateMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minAmountToTakeFee","type":"uint256"}],"name":"updateMinAmountToTakeFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_sellRewardFee","type":"uint16"},{"internalType":"uint16","name":"_buyRewardFee","type":"uint16"}],"name":"updateRewardFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_sellTreasuryFee","type":"uint16"},{"internalType":"uint16","name":"_buyTreasuryFee","type":"uint16"}],"name":"updateTreasuryFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasuryWallet","type":"address"}],"name":"updateTreasuryWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_baseTokenForPair","type":"address"}],"name":"updateUniswapV2Pair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateUniswapV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526040516200743838038062007438833981016040819052620000269162001cd1565b620000313362001155565b604051636944d6f160e11b815260048082015273fd6439aeff9d2389856b7486b9e74a6dacadcdce9063d289ade29034906024016000604051808303818588803b1580156200007f57600080fd5b505af115801562000094573d6000803e3d6000fd5b505050505082600260048110620000af57620000af62001daf565b6020020151600180546001600160a01b039092166001600160a81b031990921691909117600160a01b60ff8a1602179055600a620000ee8a8262001e54565b50600b620000fd898262001e54565b506007869055620001118660001962001f36565b6200011f9060001962001f63565b60088190553360009081526002602052604090205582516001600160a01b0316620001915760405162461bcd60e51b815260206004820152601d60248201527f6d61726b6574696e672077616c6c65742063616e206e6f74206265203000000060448201526064015b60405180910390fd5b60208301516001600160a01b0316620001ed5760405162461bcd60e51b815260206004820152601b60248201527f526f7574657220616464726573732063616e206e6f7420626520300000000000604482015260640162000188565b60608301516001600160a01b0316620002495760405162461bcd60e51b815260206004820152601c60248201527f54726561737572792077616c6c65742063616e206e6f74206265203000000000604482015260640162000188565b825160608401516001600160a01b03918216911603620002d25760405162461bcd60e51b815260206004820152603560248201527f54726561737572792077616c6c65742063616e206e6f742062652073616d652060448201527f77697468206d61726b6574696e672077616c6c65740000000000000000000000606482015260840162000188565b61010081015160c082015160808301516040840151845161012c94939291620002fb9162001f7f565b62000307919062001f7f565b62000313919062001f7f565b6200031f919062001f7f565b61ffff161115620003735760405162461bcd60e51b815260206004820152601560248201527f73656c6c20746f74616c20666565203c3d203330250000000000000000000000604482015260640162000188565b61012081015160e082015160a08301516060840151602085015161012c949392916200039f9162001f7f565b620003ab919062001f7f565b620003b7919062001f7f565b620003c3919062001f7f565b61ffff161115620004175760405162461bcd60e51b815260206004820152601460248201527f62757920746f74616c20666565203c3d20333025000000000000000000000000604482015260640162000188565b8051609661ffff90911610620004615760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6096816001602002015161ffff1610620004af5760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6096816002602002015161ffff1610620004fd5760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6096816003602002015161ffff16106200054b5760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6096816004602002015161ffff1610620005995760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6096816005602002015161ffff1610620005e75760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6096816006602002015161ffff1610620006355760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6096816007602002015161ffff1610620006835760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6096816008602002015161ffff1610620006d15760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6096816009602002015161ffff16106200071f5760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b8251601780546060860151601880546001600160a01b039283166001600160a01b031991909116179055851515600160a01b9081026001600160a81b0319909316948216948517831793849055604080519190940460ff16151581526000602082018190529492909116909117917fc8dfdd9b91ac62ee1bd8be3541ea02d8e584461c794c6e49e94ccf21c71ebcca910160405180910390a36018546040516000916001600160a01b0316907f79a52cbec002ef70283103eb4140713100276944fca2819713130141d04df183908390a3602083810151601c80546001600160a01b0319166001600160a01b039092169182179055604080516315ab88c960e31b81529051919263ad5c4648926004808401938290030181865afa1580156200084c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000872919062001fa4565b6001546001600160a01b039081169116146200090757600154601c5460405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291169063095ea7b3906044016020604051808303816000875af1158015620008df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000905919062001fc2565b505b6200092a30731ccfe8c40ef259566433716002e379dfffbf5a3e600019620011a5565b601c54620009469030906001600160a01b0316600019620011a5565b601c546040516000916001600160a01b0316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e908390a3601c60009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620009d2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009f8919062001fa4565b6001546040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af115801562000a4a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a70919062001fa4565b601d80546001600160a01b0319166001600160a01b039290921691909117905580516016805460208085015163ffffffff60281b1990921661ffff9485166501000000000090810261ffff60381b19169190911767010000000000000093861684021793849055604080519185048616825292909304909316928201929092526000818301819052606082015290517f95c5c99557725e816faf752c6675d63483841c28a7a009ed792470a9cb4dea239181900360800190a16040818101516016805460608086015163ffffffff60481b1990921661ffff948516690100000000000000000090810261ffff60581b1916919091176b0100000000000000000000009386168402179384905585519084048516815291909204909216602083015260008284018190529082015290517f1d6b62961d401d548eb1549c97109c0b905ccd7af9c3777d3076cc8438fdfe659181900360800190a160c08101516016805460e084015163ffffffff60681b1990911661ffff9384166d010000000000000000000000000090810261ffff60781b191691909117600160781b9285168302179283905560408051918404851682529190920490921660208201526000818301819052606082015290517f2893ef6309f9df0d45b134fcb021eb854592432db91782f02ce6b9029d1470319181900360800190a16101008101516016805461012084015163ffffffff60881b1990911661ffff938416600160881b90810261ffff60981b191691909117600160981b9285168302179283905560408051918404851682529190920490921660208201526000818301819052606082015290517f01f5c7a45d273917dfc98816f1dd17a88893a7338e7beaa4d305fc8c84f8fe259181900360800190a16080808201516016805460a085015161ffff908116630100000090810264ffff0000001961010096841687021664ffffffff00199094169390931792909217928390556040805194840482168552919092049091166020830152600090820181905260608201527f0a21d45dab14d5d2f53ae98d95d951cd627fcf1b5bc485174326568b5e0a4572910160405180910390a162000d9b6127108762001fe0565b601981905560408051918252600060208301527f772a06bc936eb749842080c472181e970cd4f23bd1ab7d0b84a80aec26910434910160405180910390a162000de76127108762001fe0565b84101562000e4d5760405162461bcd60e51b815260206004820152602c60248201527f6d61785472616e73616374696f6e416d6f756e74203e3d20746f74616c20737560448201526b070706c79202f2031303030360a41b606482015260840162000188565b62000e5b6127108762001fe0565b85101562000eb65760405162461bcd60e51b815260206004820152602160248201527f6d617857616c6c6574203e3d20746f74616c20737570706c79202f20313030306044820152600360fc1b606482015260840162000188565b601a85905560408051868152600060208201527fff64d41f60feb77d52f64ae64a9fc3929d57a89d0cc55728762468bae5e0fe52910160405180910390a1601b84905560408051858152600060208201527f35eec0711af6fbe3039535323be51b57996b6945b0d55862607c7a02e52e4507910160405180910390a1600560209081527f7d509c07f0d4edcc2dd1b53aae68677132eb562dcba78e36381b63ccaf66e6ba8054600160ff19918216811790925560068054808401825560008051602062007418833981519152908101805461dead6001600160a01b031991821617909155306000818152604080822080548816891790558554808901909655949093018054909216179055601e9485905281812080548416851790556017546001600160a01b0390811682528282208054851686179055601854168152908120805490921683179091559091906200100b3390565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790557f8a622fd893f993f50f1795ae2bf707bdf4143f678ec4998626679a2f447616df805486166001908117909155601f948590527fef94442dfc0e910ca743614215a10fad3ff708bf5378f9c5c958c9192b3bf00480548716821790553082528382208054871682179055601754831682528382208054871682179055601854909216815291822080549094168117909355620010d23390565b6001600160a01b0390811682526020820192909252604001600020805460ff191692151592909217909155601d546200110e91166001620012cd565b60405186815233906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350505050505050505062002059565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038316620012095760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840162000188565b6001600160a01b0382166200126c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000188565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216600090815260208052604090205481151560ff909116151503620013645760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c75650000000000000000606482015260840162000188565b6001600160a01b03821660009081526020805260409020805460ff19168215801591909117909155620013a2576200139c826200140c565b620013ad565b620013ad8262001613565b6001600160a01b0382166000818152601f6020908152604091829020805460ff191685151590811790915591519182527fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab910160405180910390a25050565b6000546001600160a01b03163314620014575760405162461bcd60e51b81526020600482018190526024820152600080516020620073f8833981519152604482015260640162000188565b6001600160a01b03811660009081526005602052604090205460ff1615620014c25760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015260640162000188565b600654603290620014d590600162001ff7565b1115620015615760405162461bcd60e51b815260206004820152604d60248201527f43616e6e6f74206578636c756465206d6f7265207468616e203530206163636f60448201527f756e74732e2020496e636c75646520612070726576696f75736c79206578636c60648201526c3ab232b21030b2323932b9b99760991b608482015260a40162000188565b6001600160a01b03811660009081526002602052604090205415620015be576001600160a01b038116600090815260026020526040902054620015a49062001889565b6001600160a01b0382166000908152600360205260409020555b6001600160a01b03166000818152600560205260408120805460ff19166001908117909155600680549182018155909152600080516020620074188339815191520180546001600160a01b0319169091179055565b6000546001600160a01b031633146200165e5760405162461bcd60e51b81526020600482018190526024820152600080516020620073f8833981519152604482015260640162000188565b6001600160a01b03811660009081526005602052604090205460ff16620016c85760405162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f74206578636c75646564000000000000000000604482015260640162000188565b60005b6006548110156200188557816001600160a01b031660068281548110620016f657620016f662001daf565b6000918252602090912001546001600160a01b03160362001870576001600160a01b0382166000908152600260205260409020546200173462001913565b6001600160a01b0384166000908152600360205260409020546200175991906200200d565b6001600160a01b03841660009081526002602052604090208190556008546200178490839062001f63565b62001790919062001ff7565b6008556001600160a01b0383166000908152600560205260409020805460ff1916905560068054620017c59060019062001f63565b81548110620017d857620017d862001daf565b600091825260209091200154600680546001600160a01b03909216918490811062001807576200180762001daf565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600680548062001849576200184962002027565b600082815260209020810160001990810180546001600160a01b0319169055019055505050565b806200187c816200203d565b915050620016cb565b5050565b6000600854821115620018f25760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b606482015260840162000188565b6000620018fe62001913565b90506200190c818462001fe0565b9392505050565b600080806200192162001939565b909250905062001932818362001fe0565b9250505090565b6008546007546000918291825b60065481101562001aa1578260026000600684815481106200196c576200196c62001daf565b60009182526020808320909101546001600160a01b031683528201929092526040019020541180620019db5750816003600060068481548110620019b457620019b462001daf565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15620019f257600854600754945094505050509091565b600260006006838154811062001a0c5762001a0c62001daf565b60009182526020808320909101546001600160a01b0316835282019290925260400190205462001a3d908462001f63565b9250600360006006838154811062001a595762001a5962001daf565b60009182526020808320909101546001600160a01b0316835282019290925260400190205462001a8a908362001f63565b91508062001a98816200203d565b91505062001946565b5060075460085462001ab4919062001fe0565b82101562001acc576008546007549350935050509091565b90939092509050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562001b165762001b1662001ad5565b604052919050565b600082601f83011262001b3057600080fd5b81516001600160401b0381111562001b4c5762001b4c62001ad5565b602062001b62601f8301601f1916820162001aeb565b828152858284870101111562001b7757600080fd5b60005b8381101562001b9757858101830151828201840152820162001b7a565b506000928101909101919091529392505050565b80516001600160a01b038116811462001bc357600080fd5b919050565b600082601f83011262001bda57600080fd5b604051608081016001600160401b038111828210171562001bff5762001bff62001ad5565b60405280608084018581111562001c1557600080fd5b845b8181101562001c3a5762001c2b8162001bab565b83526020928301920162001c17565b509195945050505050565b8051801515811462001bc357600080fd5b600082601f83011262001c6857600080fd5b6040516101408082016001600160401b038111838210171562001c8f5762001c8f62001ad5565b6040528301818582111562001ca357600080fd5b845b8281101562001c3a57805161ffff8116811462001cc25760008081fd5b82526020918201910162001ca5565b60008060008060008060008060006102a08a8c03121562001cf157600080fd5b89516001600160401b038082111562001d0957600080fd5b62001d178d838e0162001b1e565b9a5060208c015191508082111562001d2e57600080fd5b5062001d3d8c828d0162001b1e565b98505060408a015160ff8116811462001d5557600080fd5b8097505060608a0151955060808a0151945060a08a0151935062001d7d8b60c08c0162001bc8565b925062001d8e6101408b0162001c45565b915062001da08b6101608c0162001c56565b90509295985092959850929598565b634e487b7160e01b600052603260045260246000fd5b600181811c9082168062001dda57607f821691505b60208210810362001dfb57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562001e4f57600081815260208120601f850160051c8101602086101562001e2a5750805b601f850160051c820191505b8181101562001e4b5782815560010162001e36565b5050505b505050565b81516001600160401b0381111562001e705762001e7062001ad5565b62001e888162001e81845462001dc5565b8462001e01565b602080601f83116001811462001ec0576000841562001ea75750858301515b600019600386901b1c1916600185901b17855562001e4b565b600085815260208120601f198616915b8281101562001ef15788860151825594840194600190910190840162001ed0565b508582101562001f105787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601260045260246000fd5b60008262001f485762001f4862001f20565b500690565b634e487b7160e01b600052601160045260246000fd5b8181038181111562001f795762001f7962001f4d565b92915050565b61ffff81811683821601908082111562001f9d5762001f9d62001f4d565b5092915050565b60006020828403121562001fb757600080fd5b6200190c8262001bab565b60006020828403121562001fd557600080fd5b6200190c8262001c45565b60008262001ff25762001ff262001f20565b500490565b8082018082111562001f795762001f7962001f4d565b808202811582820484141762001f795762001f7962001f4d565b634e487b7160e01b600052603160045260246000fd5b60006001820162002052576200205262001f4d565b5060010190565b61538f80620020696000396000f3fe6080604052600436106103b15760003560e01c80638276e5b0116101e7578063b62496f51161010d578063e086e5ec116100a0578063f2fde38b1161006f578063f2fde38b14610b8b578063f637434214610bab578063f8b45b0514610bcd578063fc59d23d14610be357600080fd5b8063e086e5ec14610b02578063e71dc3f514610b17578063e9481eee14610b39578063f11a24d314610b6957600080fd5b8063d68f8cde116100dc578063d68f8cde14610a5c578063dd62ed3e14610a7c578063de0aad5314610ac2578063df8408fe14610ae257600080fd5b8063b62496f5146109d7578063c8c8ebe414610a06578063cf089e1314610a1c578063cf188ad014610a3c57600080fd5b80639213691311610185578063a457c2d711610154578063a457c2d714610955578063a9059cbb14610975578063aa49802314610995578063adb873bd146109b557600080fd5b806392136913146108de578063948384dc1461090057806395d89b41146109205780639a7a23d61461093557600080fd5b806389476069116101c157806389476069146108785780638da5cb5b146108985780638f0bc167146108b657806391c1004a146108be57600080fd5b80638276e5b0146107ff57806385af30c51461081f57806388f820201461083f57600080fd5b80634626402b116102d757806370a082311161026a5780637bce5a04116102395780637bce5a04146107755780637c75ad3a146107975780637cf84bd7146107bf578063809d458d146107df57600080fd5b806370a0823114610700578063715018a61461072057806373b9e82c1461073557806375f0a8741461075557600080fd5b806357e62b98116102a657806357e62b981461067b5780635c068a8c1461069c57806365b8dbc0146106be5780636b2fb124146106de57600080fd5b80634626402b146105eb5780634707c5511461060b57806352390c021461062b5780635342acb41461064b57600080fd5b80632073bd851161034f578063313ce5671161031e578063313ce5671461055f5780633685d4191461058b57806339509351146105ab5780634549b039146105cb57600080fd5b80632073bd85146104df57806323b872dd146104ff5780632ae2f1211461051f5780632d8381191461053f57600080fd5b80630cfe2f3f1161038b5780630cfe2f3f1461045457806313114a9d1461048957806318160ddd146104a85780631c499ab0146104bd57600080fd5b806306e29712146103bd57806306fdde0314610402578063095ea7b31461042457600080fd5b366103b857005b600080fd5b3480156103c957600080fd5b506103e573fd6439aeff9d2389856b7486b9e74a6dacadcdce81565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561040e57600080fd5b50610417610bf9565b6040516103f99190614db4565b34801561043057600080fd5b5061044461043f366004614dfc565b610c8b565b60405190151581526020016103f9565b34801561046057600080fd5b50601654610476906301000000900461ffff1681565b60405161ffff90911681526020016103f9565b34801561049557600080fd5b506009545b6040519081526020016103f9565b3480156104b457600080fd5b5060075461049a565b3480156104c957600080fd5b506104dd6104d8366004614e28565b610ca2565b005b3480156104eb57600080fd5b506104dd6104fa366004614e58565b610d80565b34801561050b57600080fd5b5061044461051a366004614e8b565b610f7f565b34801561052b57600080fd5b506104dd61053a366004614eda565b610fd2565b34801561054b57600080fd5b5061049a61055a366004614e28565b6110b6565b34801561056b57600080fd5b50600154600160a01b900460ff1660405160ff90911681526020016103f9565b34801561059757600080fd5b506104dd6105a6366004614f13565b611133565b3480156105b757600080fd5b506104446105c6366004614dfc565b61136b565b3480156105d757600080fd5b5061049a6105e6366004614f30565b6113a2565b3480156105f757600080fd5b506018546103e5906001600160a01b031681565b34801561061757600080fd5b506104dd610626366004614eda565b61144f565b34801561063757600080fd5b506104dd610646366004614f13565b6115b5565b34801561065757600080fd5b50610444610666366004614f13565b601e6020526000908152604090205460ff1681565b34801561068757600080fd5b5060175461044490600160a01b900460ff1681565b3480156106a857600080fd5b5060165461047690600160781b900461ffff1681565b3480156106ca57600080fd5b506104dd6106d9366004614f13565b6117a3565b3480156106ea57600080fd5b5060165461047690600160681b900461ffff1681565b34801561070c57600080fd5b5061049a61071b366004614f13565b611ab5565b34801561072c57600080fd5b506104dd611b14565b34801561074157600080fd5b506104dd610750366004614e28565b611b4a565b34801561076157600080fd5b506017546103e5906001600160a01b031681565b34801561078157600080fd5b5060165461047690600160581b900461ffff1681565b3480156107a357600080fd5b506103e5731ccfe8c40ef259566433716002e379dfffbf5a3e81565b3480156107cb57600080fd5b506001546103e5906001600160a01b031681565b3480156107eb57600080fd5b506104dd6107fa366004614f13565b611bff565b34801561080b57600080fd5b506104dd61081a366004614e58565b611d3a565b34801561082b57600080fd5b50601d546103e5906001600160a01b031681565b34801561084b57600080fd5b5061044461085a366004614f13565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561088457600080fd5b506104dd610893366004614f13565b611f39565b3480156108a457600080fd5b506000546001600160a01b03166103e5565b6104dd61203a565b3480156108ca57600080fd5b506104dd6108d9366004614f13565b61240b565b3480156108ea57600080fd5b5060165461047690600160481b900461ffff1681565b34801561090c57600080fd5b506104dd61091b366004614e58565b6126ce565b34801561092c57600080fd5b506104176128c9565b34801561094157600080fd5b506104dd610950366004614eda565b6128d8565b34801561096157600080fd5b50610444610970366004614dfc565b61290c565b34801561098157600080fd5b50610444610990366004614dfc565b612943565b3480156109a157600080fd5b506104dd6109b0366004614e28565b612950565b3480156109c157600080fd5b5060165461047690600160881b900461ffff1681565b3480156109e357600080fd5b506104446109f2366004614f13565b602080526000908152604090205460ff1681565b348015610a1257600080fd5b5061049a601b5481565b348015610a2857600080fd5b506104dd610a37366004614e58565b612a30565b348015610a4857600080fd5b50601c546103e5906001600160a01b031681565b348015610a6857600080fd5b506104dd610a77366004614e58565b612c35565b348015610a8857600080fd5b5061049a610a97366004614f55565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b348015610ace57600080fd5b5060165461047690610100900461ffff1681565b348015610aee57600080fd5b506104dd610afd366004614eda565b612e3a565b348015610b0e57600080fd5b506104dd612f16565b348015610b2357600080fd5b5060165461047690600160981b900461ffff1681565b348015610b4557600080fd5b50610444610b54366004614f13565b601f6020526000908152604090205460ff1681565b348015610b7557600080fd5b5060165461047690600160381b900461ffff1681565b348015610b9757600080fd5b506104dd610ba6366004614f13565b612fda565b348015610bb757600080fd5b5060165461047690600160281b900461ffff1681565b348015610bd957600080fd5b5061049a601a5481565b348015610bef57600080fd5b5061049a60195481565b6060600a8054610c0890614f83565b80601f0160208091040260200160405190810160405280929190818152602001828054610c3490614f83565b8015610c815780601f10610c5657610100808354040283529160200191610c81565b820191906000526020600020905b815481529060010190602001808311610c6457829003601f168201915b5050505050905090565b6000610c98338484613072565b5060015b92915050565b6000546001600160a01b03163314610cd55760405162461bcd60e51b8152600401610ccc90614fbd565b60405180910390fd5b612710600754610ce59190615008565b811015610d3e5760405162461bcd60e51b815260206004820152602160248201527f6d617857616c6c6574203e3d20746f74616c20737570706c79202f20313030306044820152600360fc1b6064820152608401610ccc565b601a546040805183815260208101929092527fff64d41f60feb77d52f64ae64a9fc3929d57a89d0cc55728762468bae5e0fe52910160405180910390a1601a55565b6000546001600160a01b03163314610daa5760405162461bcd60e51b8152600401610ccc90614fbd565b60165461012c9061ffff6101008204811691600160681b8104821691600160481b8204811691610de391600160281b909104168761502a565b610ded919061502a565b610df7919061502a565b610e01919061502a565b61ffff161115610e235760405162461bcd60e51b8152600401610ccc90615045565b60165461012c9061ffff63010000008204811691600160781b8104821691600160581b8204811691610e5e91600160381b909104168661502a565b610e68919061502a565b610e72919061502a565b610e7c919061502a565b61ffff161115610e9e5760405162461bcd60e51b8152600401610ccc90615074565b60968261ffff161115610ec35760405162461bcd60e51b8152600401610ccc906150a2565b60968161ffff161115610ee85760405162461bcd60e51b8152600401610ccc906150cb565b6016546040805161ffff85811682528481166020830152600160881b8404811682840152600160981b9093049092166060830152517f01f5c7a45d273917dfc98816f1dd17a88893a7338e7beaa4d305fc8c84f8fe259181900360800190a16016805463ffffffff60881b1916600160881b61ffff9485160261ffff60981b191617600160981b9290931691909102919091179055565b6000610f8c848484613196565b6001600160a01b038416600090815260046020908152604080832033808552925290912054610fc7918691610fc29086906150f3565b613072565b5060015b9392505050565b6000546001600160a01b03163314610ffc5760405162461bcd60e51b8152600401610ccc90614fbd565b6001600160a01b0382166000908152601f602052604090205481151560ff9091161515036110565760405162461bcd60e51b8152602060048201526007602482015266616c726561647960c81b6044820152606401610ccc565b6001600160a01b0382166000818152601f6020908152604091829020805460ff191685151590811790915591519182527f82170bbd72c16b30c410014b7382121a699ed119a182e48a0b6cadcc89104ac991015b60405180910390a25050565b600060085482111561111d5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610ccc565b6000611127613554565b9050610fcb8184615008565b6000546001600160a01b0316331461115d5760405162461bcd60e51b8152600401610ccc90614fbd565b6001600160a01b03811660009081526005602052604090205460ff166111c55760405162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f74206578636c756465640000000000000000006044820152606401610ccc565b60005b60065481101561136757816001600160a01b0316600682815481106111ef576111ef615106565b6000918252602090912001546001600160a01b031603611355576001600160a01b03821660009081526002602052604090205461122a613554565b6001600160a01b03841660009081526003602052604090205461124d919061511c565b6001600160a01b03841660009081526002602052604090208190556008546112769083906150f3565b6112809190615133565b6008556001600160a01b0383166000908152600560205260409020805460ff19169055600680546112b3906001906150f3565b815481106112c3576112c3615106565b600091825260209091200154600680546001600160a01b0390921691849081106112ef576112ef615106565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600680548061132e5761132e615146565b600082815260209020810160001990810180546001600160a01b0319169055019055505050565b8061135f8161515c565b9150506111c8565b5050565b3360008181526004602090815260408083206001600160a01b03871684529091528120549091610c98918590610fc2908690615133565b60006007548311156113f65760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610ccc565b6000611400613554565b90508261141d576000611413828661511c565b9250610c9c915050565b600061142885613577565b505050505090506000828261143d919061511c565b9350610c9c92505050565b5092915050565b6000546001600160a01b031633146114795760405162461bcd60e51b8152600401610ccc90614fbd565b6001600160a01b0382166114cf5760405162461bcd60e51b815260206004820152601b60248201527f6d61726b6574696e672077616c6c65742063616e2774206265203000000000006044820152606401610ccc565b6018546001600160a01b03908116908316036114fd5760405162461bcd60e51b8152600401610ccc90615175565b601754604080518315158152600160a01b830460ff16151560208201526001600160a01b03928316928516917fc8dfdd9b91ac62ee1bd8be3541ea02d8e584461c794c6e49e94ccf21c71ebcca910160405180910390a360178054911515600160a01b026001600160a81b03199092166001600160a01b039093169283179190911790556000908152601e60209081526040808320805460ff199081166001908117909255601f909352922080549091169091179055565b6000546001600160a01b031633146115df5760405162461bcd60e51b8152600401610ccc90614fbd565b6001600160a01b03811660009081526005602052604090205460ff16156116485760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610ccc565b600654603290611659906001615133565b11156116e35760405162461bcd60e51b815260206004820152604d60248201527f43616e6e6f74206578636c756465206d6f7265207468616e203530206163636f60448201527f756e74732e2020496e636c75646520612070726576696f75736c79206578636c60648201526c3ab232b21030b2323932b9b99760991b608482015260a401610ccc565b6001600160a01b0381166000908152600260205260409020541561173d576001600160a01b038116600090815260026020526040902054611723906110b6565b6001600160a01b0382166000908152600360205260409020555b6001600160a01b03166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b6000546001600160a01b031633146117cd5760405162461bcd60e51b8152600401610ccc90614fbd565b601c546001600160a01b03908116908216036118375760405162461bcd60e51b815260206004820152602360248201527f54686520726f7574657220616c7265616479206861732074686174206164647260448201526265737360e81b6064820152608401610ccc565b601c546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3601c80546001600160a01b0319166001600160a01b03831690811790915561189e903090600019613072565b601c60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061191591906151c8565b6001546001600160a01b039081169116146119a657600154601c5460405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291169063095ea7b3906044016020604051808303816000875af1158015611980573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119a491906151e5565b505b601c546040805163c45a015560e01b815290516000926001600160a01b03169163c45a01559160048083019260209291908290030181865afa1580156119f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a1491906151c8565b6001546040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af1158015611a65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8991906151c8565b601d80546001600160a01b0319166001600160a01b0383169081179091559091506113679060016135e1565b6001600160a01b03811660009081526005602052604081205460ff1615611af257506001600160a01b031660009081526003602052604090205490565b6001600160a01b038216600090815260026020526040902054610c9c906110b6565b6000546001600160a01b03163314611b3e5760405162461bcd60e51b8152600401610ccc90614fbd565b611b486000613711565b565b6000546001600160a01b03163314611b745760405162461bcd60e51b8152600401610ccc90614fbd565b60008111611bbd5760405162461bcd60e51b815260206004820152601660248201527506d696e416d6f756e74546f54616b65466565203e20360541b6044820152606401610ccc565b6019546040805183815260208101929092527f772a06bc936eb749842080c472181e970cd4f23bd1ab7d0b84a80aec26910434910160405180910390a1601955565b6000546001600160a01b03163314611c295760405162461bcd60e51b8152600401610ccc90614fbd565b6001600160a01b038116611c7f5760405162461bcd60e51b815260206004820152601a60248201527f54726561737572792077616c6c65742063616e277420626520300000000000006044820152606401610ccc565b6017546001600160a01b03808316911603611cac5760405162461bcd60e51b8152600401610ccc90615175565b6018546040516001600160a01b03918216918316907f79a52cbec002ef70283103eb4140713100276944fca2819713130141d04df18390600090a3601880546001600160a01b039092166001600160a01b0319909216821790556000908152601e60209081526040808320805460ff199081166001908117909255601f909352922080549091169091179055565b6000546001600160a01b03163314611d645760405162461bcd60e51b8152600401610ccc90614fbd565b60165461012c9061ffff600160881b82048116916101008104821691600160481b8204811691611d9d91600160281b909104168761502a565b611da7919061502a565b611db1919061502a565b611dbb919061502a565b61ffff161115611ddd5760405162461bcd60e51b8152600401610ccc90615045565b60165461012c9061ffff600160981b820481169163010000008104821691600160581b8204811691611e1891600160381b909104168661502a565b611e22919061502a565b611e2c919061502a565b611e36919061502a565b61ffff161115611e585760405162461bcd60e51b8152600401610ccc90615074565b60968261ffff161115611e7d5760405162461bcd60e51b8152600401610ccc906150a2565b60968161ffff161115611ea25760405162461bcd60e51b8152600401610ccc906150cb565b6016546040805161ffff85811682528481166020830152600160681b8404811682840152600160781b9093049092166060830152517f2893ef6309f9df0d45b134fcb021eb854592432db91782f02ce6b9029d1470319181900360800190a16016805463ffffffff60681b1916600160681b61ffff9485160261ffff60781b191617600160781b9290931691909102919091179055565b6000546001600160a01b03163314611f635760405162461bcd60e51b8152600401610ccc90614fbd565b6001600160a01b0381163003611fa95760405162461bcd60e51b815260206004820152600b60248201526a139bdd08185b1b1bddd95960aa1b6044820152606401610ccc565b612037611fbe6000546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa158015612002573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120269190615202565b6001600160a01b0384169190613761565b50565b604080516002808252606082018352600092602083019080368337505060015482519293506001600160a01b03169183915060009061207b5761207b615106565b60200260200101906001600160a01b031690816001600160a01b03168152505030816001815181106120af576120af615106565b6001600160a01b03928316602091820292909201810191909152601c54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612108573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061212c91906151c8565b6001600160a01b03168160008151811061214857612148615106565b60200260200101516001600160a01b0316036121d057601c5460405163b6f9de9560e01b81526001600160a01b039091169063b6f9de9590349061219990600090869061dead90429060040161525f565b6000604051808303818588803b1580156121b257600080fd5b505af11580156121c6573d6000803e3d6000fd5b50505050506122d6565b6001546000906001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015612229573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061224d9190615202565b9050612267336001546001600160a01b03169030846137c9565b601c54604051635c11d79560e01b81526001600160a01b0390911690635c11d795906122a2908490600090879061dead904290600401615294565b600060405180830381600087803b1580156122bc57600080fd5b505af11580156122d0573d6000803e3d6000fd5b50505050505b61dead60005260036020527f262bb27bbdd95c1cdc8e16957e36e38579ea44f7f6413dd7a9c75939def06b2c5460075461231091906150f3565b60075561dead60005260026020527f6a9609baa168169acaea398c4407efea4be641bb08e21e88806d9836fd9333cc5460085461234d91906150f3565b60085561dead6000818152600360209081527f262bb27bbdd95c1cdc8e16957e36e38579ea44f7f6413dd7a9c75939def06b2c546040519081529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35061dead60009081527f6a9609baa168169acaea398c4407efea4be641bb08e21e88806d9836fd9333cc81905560036020527f262bb27bbdd95c1cdc8e16957e36e38579ea44f7f6413dd7a9c75939def06b2c55565b6000546001600160a01b031633146124355760405162461bcd60e51b8152600401610ccc90614fbd565b6001546001600160a01b03908116908216036124a95760405162461bcd60e51b815260206004820152602d60248201527f5468652062617365546f6b656e466f725061697220616c72656164792068617360448201526c2074686174206164647265737360981b6064820152608401610ccc565b600180546001600160a01b0319166001600160a01b0383811691909117909155601c546040805163c45a015560e01b81529051919092169163c45a01559160048083019260209291908290030181865afa15801561250b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061252f91906151c8565b6001546040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af1158015612580573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125a491906151c8565b601d80546001600160a01b0319166001600160a01b03928316179055601c54604080516315ab88c960e31b81529051919092169163ad5c46489160048083019260209291908290030181865afa158015612602573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061262691906151c8565b6001546001600160a01b039081169116146126b757600154601c5460405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291169063095ea7b3906044016020604051808303816000875af1158015612691573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126b591906151e5565b505b601d54612037906001600160a01b031660016135e1565b6000546001600160a01b031633146126f85760405162461bcd60e51b8152600401610ccc90614fbd565b60165461012c9061ffff600160881b8204811691600160681b8104821691600160481b820481169161273391600160281b909104168761502a565b61273d919061502a565b612747919061502a565b612751919061502a565b61ffff1611156127735760405162461bcd60e51b8152600401610ccc90615045565b60165461012c9061ffff600160981b8204811691600160781b8104821691600160581b82048116916127ae91600160381b909104168661502a565b6127b8919061502a565b6127c2919061502a565b6127cc919061502a565b61ffff1611156127ee5760405162461bcd60e51b8152600401610ccc90615074565b60968261ffff1611156128135760405162461bcd60e51b8152600401610ccc906150a2565b60968161ffff1611156128385760405162461bcd60e51b8152600401610ccc906150cb565b6016546040805161ffff85811682528481166020830152610100840481168284015263010000009093049092166060830152517f0a21d45dab14d5d2f53ae98d95d951cd627fcf1b5bc485174326568b5e0a45729181900360800190a16016805464ffffffff00191661010061ffff9485160264ffff00000019161763010000009290931691909102919091179055565b6060600b8054610c0890614f83565b6000546001600160a01b031633146129025760405162461bcd60e51b8152600401610ccc90614fbd565b61136782826135e1565b3360008181526004602090815260408083206001600160a01b03871684529091528120549091610c98918590610fc29086906150f3565b6000610c98338484613196565b6000546001600160a01b0316331461297a5760405162461bcd60e51b8152600401610ccc90614fbd565b61271060075461298a9190615008565b8110156129ee5760405162461bcd60e51b815260206004820152602c60248201527f6d61785472616e73616374696f6e416d6f756e74203e3d20746f74616c20737560448201526b070706c79202f2031303030360a41b6064820152608401610ccc565b601b546040805183815260208101929092527f35eec0711af6fbe3039535323be51b57996b6945b0d55862607c7a02e52e4507910160405180910390a1601b55565b6000546001600160a01b03163314612a5a5760405162461bcd60e51b8152600401610ccc90614fbd565b60165461012c9061ffff600160881b8204811691600160681b81048216916101008204811691612a9391600160281b909104168761502a565b612a9d919061502a565b612aa7919061502a565b612ab1919061502a565b61ffff161115612ad35760405162461bcd60e51b8152600401610ccc90615045565b60165461012c9061ffff600160981b8204811691600160781b810482169163010000008204811691612b0e91600160381b909104168661502a565b612b18919061502a565b612b22919061502a565b612b2c919061502a565b61ffff161115612b4e5760405162461bcd60e51b8152600401610ccc90615074565b60968261ffff161115612b735760405162461bcd60e51b8152600401610ccc906150a2565b60968161ffff161115612b985760405162461bcd60e51b8152600401610ccc906150cb565b6016546040805161ffff85811682528481166020830152600160481b8404811682840152600160581b9093049092166060830152517f1d6b62961d401d548eb1549c97109c0b905ccd7af9c3777d3076cc8438fdfe659181900360800190a1601680546cffffffff0000000000000000001916600160481b61ffff9485160261ffff60581b191617600160581b9290931691909102919091179055565b6000546001600160a01b03163314612c5f5760405162461bcd60e51b8152600401610ccc90614fbd565b60165461012c9061ffff600160881b8204811691600160681b81048216916101008204811691612c9891600160481b909104168761502a565b612ca2919061502a565b612cac919061502a565b612cb6919061502a565b61ffff161115612cd85760405162461bcd60e51b8152600401610ccc90615045565b60165461012c9061ffff600160981b8204811691600160781b810482169163010000008204811691612d1391600160581b909104168661502a565b612d1d919061502a565b612d27919061502a565b612d31919061502a565b61ffff161115612d535760405162461bcd60e51b8152600401610ccc90615074565b60968261ffff161115612d785760405162461bcd60e51b8152600401610ccc906150a2565b60968161ffff161115612d9d5760405162461bcd60e51b8152600401610ccc906150cb565b6016546040805161ffff85811682528481166020830152600160281b8404811682840152600160381b9093049092166060830152517f95c5c99557725e816faf752c6675d63483841c28a7a009ed792470a9cb4dea239181900360800190a16016805468ffffffff00000000001916600160281b61ffff9485160268ffff00000000000000191617600160381b9290931691909102919091179055565b6000546001600160a01b03163314612e645760405162461bcd60e51b8152600401610ccc90614fbd565b6001600160a01b0382166000908152601e602052604090205481151560ff909116151503612ebe5760405162461bcd60e51b8152602060048201526007602482015266616c726561647960c81b6044820152606401610ccc565b6001600160a01b0382166000818152601e6020908152604091829020805460ff191685151590811790915591519182527f2d43abd87b27cee7b0aa8c6f7e0b4a3247b683262a83cbc2318b0df398a49aa991016110aa565b6000546001600160a01b03163314612f405760405162461bcd60e51b8152600401610ccc90614fbd565b600080546040516001600160a01b039091169047908381818185875af1925050503d8060008114612f8d576040519150601f19603f3d011682016040523d82523d6000602084013e612f92565b606091505b50509050806120375760405162461bcd60e51b815260206004820152601460248201527311985a5b1959081a5b881dda5d1a191c985dd85b60621b6044820152606401610ccc565b6000546001600160a01b031633146130045760405162461bcd60e51b8152600401610ccc90614fbd565b6001600160a01b0381166130695760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ccc565b61203781613711565b6001600160a01b0383166130d45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610ccc565b6001600160a01b0382166131355760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610ccc565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166131fa5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610ccc565b6001600160a01b03821661325c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610ccc565b600061326730611ab5565b6019546016549192508210159060ff161580156132815750805b80156132a25750601d546000906132a0906001600160a01b0316611ab5565b115b80156132c557506001600160a01b038416600090815260208052604090205460ff165b156132d2576132d2613807565b61330d600c8054600d55600e8054600f5560108054601155601280546013556014805460155560009081905590819055908190559182905555565b60165460ff1615801561333957506001600160a01b0385166000908152601e602052604090205460ff16155b801561335e57506001600160a01b0384166000908152601e602052604090205460ff16155b1561342b576001600160a01b038516600090815260208052604090205460ff16156133ca5760165461ffff630100000082048116600c55600160381b82048116600e55600160581b82048116601055600160781b82048116601255600160981b9091041660145561342b565b6001600160a01b038416600090815260208052604090205460ff161561342b5760165461ffff61010082048116600c55600160281b82048116600e55600160481b82048116601055600160681b82048116601255600160881b909104166014555b61343685858561408c565b613459601554601455601354601255600d54600c55600f54600e55601154601055565b60165460ff1661354d576001600160a01b0385166000908152601f602052604090205460ff166134d457601b5483106134d45760405162461bcd60e51b815260206004820152601d60248201527f45524332303a2065786365656473207472616e73666572206c696d69740000006044820152606401610ccc565b6001600160a01b0384166000908152601f602052604090205460ff1661354d57601a5461350085611ab5565b1061354d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a2065786365656473206d61782077616c6c6574206c696d6974006044820152606401610ccc565b5050505050565b6000806000613561614549565b90925090506135708183615008565b9250505090565b600080600080600080600061358b886146cc565b90506000613598896146e9565b905060006135a58a6146fc565b905060006135b28b61470f565b905060006135bf8c614722565b905060006135cc8d614735565b9d959c50939a50919850965094509092505050565b6001600160a01b038216600090815260208052604090205481151560ff9091161515036136765760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610ccc565b6001600160a01b03821660009081526020805260409020805460ff191682158015919091179091556136b0576136ab826115b5565b6136b9565b6136b982611133565b6001600160a01b0382166000818152601f6020908152604091829020805460ff191685151590811790915591519182527fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91016110aa565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b0383166024820152604481018290526137c490849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152614788565b505050565b6040516001600160a01b03808516602483015283166044820152606481018290526138019085906323b872dd60e01b9060840161378d565b50505050565b6016805460ff19166001179055600061381f30611ab5565b905060006023546022546021546138369190615133565b6138409190615133565b905080158061384e57508082105b1561385a575050614080565b6000600260215461386b9190615008565b90506000601c60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156138c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138e691906151c8565b6001546001600160a01b0390811691161461396c576001546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015613943573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139679190615202565b61396e565b475b9050600080601760149054906101000a900460ff1615613c9a5760006023546022548661399b9190615133565b6139a59190615133565b905080156139b6576139b68161485a565b601c54604080516315ab88c960e31b815290516000926001600160a01b03169163ad5c46489160048083019260209291908290030181865afa158015613a00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a2491906151c8565b6001546001600160a01b03908116911614613ab4576001546040516370a0823160e01b815230600482015286916001600160a01b0316906370a0823190602401602060405180830381865afa158015613a81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613aa59190615202565b613aaf91906150f3565b613abe565b613abe85476150f3565b905060008260225483613ad1919061511c565b613adb9190615008565b905082613ae8888461511c565b613af29190615008565b945084613aff82846150f3565b613b0991906150f3565b93508015613c9257601c60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015613b64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b8891906151c8565b6001546001600160a01b03918216911603613c3a576017546040516000916001600160a01b03169083908381818185875af1925050503d8060008114613bea576040519150601f19603f3d011682016040523d82523d6000602084013e613bef565b606091505b505090508015613c34576040805160008152602081018490527f6f92bce3e91466137aa4d5474fe565c002872fb18ed6af4a856959be0a81277a910160405180910390a15b50613c92565b601754600154613c57916001600160a01b03918216911683613761565b6040805160008152602081018390527f6f92bce3e91466137aa4d5474fe565c002872fb18ed6af4a856959be0a81277a910160405180910390a15b505050613e4e565b600060235485613caa9190615133565b90508015613cbb57613cbb8161485a565b601c54604080516315ab88c960e31b815290516000926001600160a01b03169163ad5c46489160048083019260209291908290030181865afa158015613d05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d2991906151c8565b6001546001600160a01b03908116911614613db9576001546040516370a0823160e01b815230600482015286916001600160a01b0316906370a0823190602401602060405180830381865afa158015613d86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613daa9190615202565b613db491906150f3565b613dc3565b613dc385476150f3565b905081613dd0878361511c565b613dda9190615008565b9350613de684826150f3565b60225490935015613e4b57601754602254613e0e9130916001600160a01b0390911690613196565b60225460408051918252600060208301527f6f92bce3e91466137aa4d5474fe565c002872fb18ed6af4a856959be0a81277a910160405180910390a15b50505b600084118015613e5e5750600082115b15613ea757613e6d8483614a28565b60408051858152602081018490527f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486910160405180910390a15b801561402057601c60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015613f00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f2491906151c8565b6001546001600160a01b03918216911603613fcf576018546040516000916001600160a01b03169083908381818185875af1925050503d8060008114613f86576040519150601f19603f3d011682016040523d82523d6000602084013e613f8b565b606091505b505090508015613fc9576040518281527fe3630e0003fb3e9f9d835bb839022e52ffd576f9f35c395dd17517106f78cb339060200160405180910390a15b50614020565b601854600154613fec916001600160a01b03918216911683613761565b6040518181527fe3630e0003fb3e9f9d835bb839022e52ffd576f9f35c395dd17517106f78cb339060200160405180910390a15b6000602281905560238190556021819055546001600160a01b03161561406957614064306140566000546001600160a01b031690565b61405f30611ab5565b613196565b614079565b6140793061dead61405f30611ab5565b5050505050505b6016805460ff19169055565b60008060008060008061409e87613577565b95509550955095509550955060006140b4613554565b9050816007546140c491906150f3565b6007556140d1818361511c565b6008546140de91906150f3565b6008556040518281526000906001600160a01b038c16907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3846021546141309190615133565b602155602254614141908590615133565b602255602354614152908490615133565b6023556000836141628688615133565b61416c9190615133565b9050614178828261511c565b306000908152600260205260409020546141929190615133565b3060009081526002602090815260408083209390935560059052205460ff16156141e257306000908152600360205260409020546141d1908290615133565b306000908152600360205260409020555b506001600160a01b038a1660009081526005602052604090205460ff16801561422457506001600160a01b03891660009081526005602052604090205460ff16155b156142f7576001600160a01b038a1660009081526003602052604090205461424d9089906150f3565b6001600160a01b038b16600090815260036020526040902055614270818961511c565b6001600160a01b038b1660009081526002602052604090205461429391906150f3565b6001600160a01b038b166000908152600260205260409020556142b6818861511c565b6001600160a01b038a166000908152600260205260409020546142d99190615133565b6001600160a01b038a166000908152600260205260409020556144dd565b6001600160a01b038a1660009081526005602052604090205460ff1615801561433857506001600160a01b03891660009081526005602052604090205460ff165b156143c457614347818961511c565b6001600160a01b038b1660009081526002602052604090205461436a91906150f3565b6001600160a01b03808c16600090815260026020908152604080832094909455918c168152600390915220546143a1908890615133565b6001600160a01b038a166000908152600360205260409020556142b6818861511c565b6001600160a01b038a1660009081526005602052604090205460ff16801561440457506001600160a01b03891660009081526005602052604090205460ff165b15614450576001600160a01b038a1660009081526003602052604090205461442d9089906150f3565b6001600160a01b038b16600090815260036020526040902055614347818961511c565b61445a818961511c565b6001600160a01b038b1660009081526002602052604090205461447d91906150f3565b6001600160a01b038b166000908152600260205260409020556144a0818861511c565b6001600160a01b038a166000908152600260205260409020546144c39190615133565b6001600160a01b038a166000908152600260205260409020555b6144f06144ea828861511c565b87614be9565b886001600160a01b03168a6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8960405161453591815260200190565b60405180910390a350505050505050505050565b6008546007546000918291825b60065481101561469b5782600260006006848154811061457857614578615106565b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806145e357508160036000600684815481106145bc576145bc615106565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b156145f957600854600754945094505050509091565b600260006006838154811061461057614610615106565b60009182526020808320909101546001600160a01b0316835282019290925260400190205461463f90846150f3565b9250600360006006838154811061465857614658615106565b60009182526020808320909101546001600160a01b0316835282019290925260400190205461468790836150f3565b9150806146938161515c565b915050614556565b506007546008546146ac9190615008565b8210156146c3576008546007549350935050509091565b90939092509050565b60006103e8600c54836146df919061511c565b610c9c9190615008565b60006103e8600e54836146df919061511c565b60006103e8601054836146df919061511c565b60006103e8601254836146df919061511c565b60006103e8601454836146df919061511c565b60006103e8601054600e54600c546012546014546103e861475691906150f3565b61476091906150f3565b61476a91906150f3565b61477491906150f3565b61477e91906150f3565b6146df908461511c565b60006147dd826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316614c0f9092919063ffffffff16565b8051909150156137c457808060200190518101906147fb91906151e5565b6137c45760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610ccc565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061488f5761488f615106565b6001600160a01b03928316602091820292909201015260018054835192169183919081106148bf576148bf615106565b6001600160a01b03928316602091820292909201810191909152601c54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015614918573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061493c91906151c8565b6001600160a01b03168160018151811061495857614958615106565b60200260200101516001600160a01b0316036149dd57601c5460405163791ac94760e01b81526001600160a01b039091169063791ac947906149a7908590600090869030904290600401615294565b600060405180830381600087803b1580156149c157600080fd5b505af11580156149d5573d6000803e3d6000fd5b505050505050565b601c54604051637274ca1b60e11b8152731ccfe8c40ef259566433716002e379dfffbf5a3e9163e4e99436916149a7916001600160a01b0316908690600090879042906004016152d0565b601c60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015614a7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614a9f91906151c8565b6001546001600160a01b03918216911603614b4757601c5460405163f305d71960e01b815230600482015260248101849052600060448201819052606482015261dead60848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af1158015614b22573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061354d919061530f565b601c5460015460405162e8e33760e81b81523060048201526001600160a01b039182166024820152604481018590526064810184905260006084820181905260a482015261dead60c48201524260e482015291169063e8e3370090610104016060604051808303816000875af1158015614bc5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061354d919061530f565b81600854614bf791906150f3565b600855600954614c08908290615133565b6009555050565b6060614c1e8484600085614c26565b949350505050565b606082471015614c875760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610ccc565b6001600160a01b0385163b614cde5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610ccc565b600080866001600160a01b03168587604051614cfa919061533d565b60006040518083038185875af1925050503d8060008114614d37576040519150601f19603f3d011682016040523d82523d6000602084013e614d3c565b606091505b5091509150614d4c828286614d57565b979650505050505050565b60608315614d66575081610fcb565b825115614d765782518084602001fd5b8160405162461bcd60e51b8152600401610ccc9190614db4565b60005b83811015614dab578181015183820152602001614d93565b50506000910152565b6020815260008251806020840152614dd3816040850160208701614d90565b601f01601f19169190910160400192915050565b6001600160a01b038116811461203757600080fd5b60008060408385031215614e0f57600080fd5b8235614e1a81614de7565b946020939093013593505050565b600060208284031215614e3a57600080fd5b5035919050565b803561ffff81168114614e5357600080fd5b919050565b60008060408385031215614e6b57600080fd5b614e7483614e41565b9150614e8260208401614e41565b90509250929050565b600080600060608486031215614ea057600080fd5b8335614eab81614de7565b92506020840135614ebb81614de7565b929592945050506040919091013590565b801515811461203757600080fd5b60008060408385031215614eed57600080fd5b8235614ef881614de7565b91506020830135614f0881614ecc565b809150509250929050565b600060208284031215614f2557600080fd5b8135610fcb81614de7565b60008060408385031215614f4357600080fd5b823591506020830135614f0881614ecc565b60008060408385031215614f6857600080fd5b8235614f7381614de7565b91506020830135614f0881614de7565b600181811c90821680614f9757607f821691505b602082108103614fb757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008261502557634e487b7160e01b600052601260045260246000fd5b500490565b61ffff81811683821601908082111561144857611448614ff2565b60208082526015908201527473656c6c20746f74616c20666565203c3d2033302560581b604082015260600190565b60208082526014908201527362757920746f74616c20666565203c3d2033302560601b604082015260600190565b6020808252600f908201526e73656c6c20666565203c3d2031352560881b604082015260600190565b6020808252600e908201526d62757920666565203c3d2031352560901b604082015260600190565b81810381811115610c9c57610c9c614ff2565b634e487b7160e01b600052603260045260246000fd5b8082028115828204841417610c9c57610c9c614ff2565b80820180821115610c9c57610c9c614ff2565b634e487b7160e01b600052603160045260246000fd5b60006001820161516e5761516e614ff2565b5060010190565b60208082526033908201527f6d61726b6574696e672077616c6c65742063616e27742062652073616d6520776040820152721a5d1a08151c99585cdd5c9e481dd85b1b195d606a1b606082015260800190565b6000602082840312156151da57600080fd5b8151610fcb81614de7565b6000602082840312156151f757600080fd5b8151610fcb81614ecc565b60006020828403121561521457600080fd5b5051919050565b600081518084526020808501945080840160005b838110156152545781516001600160a01b03168752958201959082019060010161522f565b509495945050505050565b848152608060208201526000615278608083018661521b565b6001600160a01b03949094166040830152506060015292915050565b85815284602082015260a0604082015260006152b360a083018661521b565b6001600160a01b0394909416606083015250608001529392505050565b60018060a01b038616815284602082015283604082015260a0606082015260006152fd60a083018561521b565b90508260808301529695505050505050565b60008060006060848603121561532457600080fd5b8351925060208401519150604084015190509250925092565b6000825161534f818460208701614d90565b919091019291505056fea26469706673582212209051a64f1c0182c9a4c0a76d642defe318ac1cffd285e562c69788b4d07a979864736f6c634300081200334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572f652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f00000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000000000002e000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000033b2e3c9fd0803ce80000000000000000000000000000000000000000000000033b2e3c9fd0803ce80000000000000000000000000000000000000000000000033b2e3c9fd0803ce8000000000000000000000000000000766bd79d54d62132d45cbfbfb6eab7d91b2de00f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000292d83680602ecb32fe69b7f6146be87b12fdf34000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000094465657a204e757473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044445455a00000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106103b15760003560e01c80638276e5b0116101e7578063b62496f51161010d578063e086e5ec116100a0578063f2fde38b1161006f578063f2fde38b14610b8b578063f637434214610bab578063f8b45b0514610bcd578063fc59d23d14610be357600080fd5b8063e086e5ec14610b02578063e71dc3f514610b17578063e9481eee14610b39578063f11a24d314610b6957600080fd5b8063d68f8cde116100dc578063d68f8cde14610a5c578063dd62ed3e14610a7c578063de0aad5314610ac2578063df8408fe14610ae257600080fd5b8063b62496f5146109d7578063c8c8ebe414610a06578063cf089e1314610a1c578063cf188ad014610a3c57600080fd5b80639213691311610185578063a457c2d711610154578063a457c2d714610955578063a9059cbb14610975578063aa49802314610995578063adb873bd146109b557600080fd5b806392136913146108de578063948384dc1461090057806395d89b41146109205780639a7a23d61461093557600080fd5b806389476069116101c157806389476069146108785780638da5cb5b146108985780638f0bc167146108b657806391c1004a146108be57600080fd5b80638276e5b0146107ff57806385af30c51461081f57806388f820201461083f57600080fd5b80634626402b116102d757806370a082311161026a5780637bce5a04116102395780637bce5a04146107755780637c75ad3a146107975780637cf84bd7146107bf578063809d458d146107df57600080fd5b806370a0823114610700578063715018a61461072057806373b9e82c1461073557806375f0a8741461075557600080fd5b806357e62b98116102a657806357e62b981461067b5780635c068a8c1461069c57806365b8dbc0146106be5780636b2fb124146106de57600080fd5b80634626402b146105eb5780634707c5511461060b57806352390c021461062b5780635342acb41461064b57600080fd5b80632073bd851161034f578063313ce5671161031e578063313ce5671461055f5780633685d4191461058b57806339509351146105ab5780634549b039146105cb57600080fd5b80632073bd85146104df57806323b872dd146104ff5780632ae2f1211461051f5780632d8381191461053f57600080fd5b80630cfe2f3f1161038b5780630cfe2f3f1461045457806313114a9d1461048957806318160ddd146104a85780631c499ab0146104bd57600080fd5b806306e29712146103bd57806306fdde0314610402578063095ea7b31461042457600080fd5b366103b857005b600080fd5b3480156103c957600080fd5b506103e573fd6439aeff9d2389856b7486b9e74a6dacadcdce81565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561040e57600080fd5b50610417610bf9565b6040516103f99190614db4565b34801561043057600080fd5b5061044461043f366004614dfc565b610c8b565b60405190151581526020016103f9565b34801561046057600080fd5b50601654610476906301000000900461ffff1681565b60405161ffff90911681526020016103f9565b34801561049557600080fd5b506009545b6040519081526020016103f9565b3480156104b457600080fd5b5060075461049a565b3480156104c957600080fd5b506104dd6104d8366004614e28565b610ca2565b005b3480156104eb57600080fd5b506104dd6104fa366004614e58565b610d80565b34801561050b57600080fd5b5061044461051a366004614e8b565b610f7f565b34801561052b57600080fd5b506104dd61053a366004614eda565b610fd2565b34801561054b57600080fd5b5061049a61055a366004614e28565b6110b6565b34801561056b57600080fd5b50600154600160a01b900460ff1660405160ff90911681526020016103f9565b34801561059757600080fd5b506104dd6105a6366004614f13565b611133565b3480156105b757600080fd5b506104446105c6366004614dfc565b61136b565b3480156105d757600080fd5b5061049a6105e6366004614f30565b6113a2565b3480156105f757600080fd5b506018546103e5906001600160a01b031681565b34801561061757600080fd5b506104dd610626366004614eda565b61144f565b34801561063757600080fd5b506104dd610646366004614f13565b6115b5565b34801561065757600080fd5b50610444610666366004614f13565b601e6020526000908152604090205460ff1681565b34801561068757600080fd5b5060175461044490600160a01b900460ff1681565b3480156106a857600080fd5b5060165461047690600160781b900461ffff1681565b3480156106ca57600080fd5b506104dd6106d9366004614f13565b6117a3565b3480156106ea57600080fd5b5060165461047690600160681b900461ffff1681565b34801561070c57600080fd5b5061049a61071b366004614f13565b611ab5565b34801561072c57600080fd5b506104dd611b14565b34801561074157600080fd5b506104dd610750366004614e28565b611b4a565b34801561076157600080fd5b506017546103e5906001600160a01b031681565b34801561078157600080fd5b5060165461047690600160581b900461ffff1681565b3480156107a357600080fd5b506103e5731ccfe8c40ef259566433716002e379dfffbf5a3e81565b3480156107cb57600080fd5b506001546103e5906001600160a01b031681565b3480156107eb57600080fd5b506104dd6107fa366004614f13565b611bff565b34801561080b57600080fd5b506104dd61081a366004614e58565b611d3a565b34801561082b57600080fd5b50601d546103e5906001600160a01b031681565b34801561084b57600080fd5b5061044461085a366004614f13565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561088457600080fd5b506104dd610893366004614f13565b611f39565b3480156108a457600080fd5b506000546001600160a01b03166103e5565b6104dd61203a565b3480156108ca57600080fd5b506104dd6108d9366004614f13565b61240b565b3480156108ea57600080fd5b5060165461047690600160481b900461ffff1681565b34801561090c57600080fd5b506104dd61091b366004614e58565b6126ce565b34801561092c57600080fd5b506104176128c9565b34801561094157600080fd5b506104dd610950366004614eda565b6128d8565b34801561096157600080fd5b50610444610970366004614dfc565b61290c565b34801561098157600080fd5b50610444610990366004614dfc565b612943565b3480156109a157600080fd5b506104dd6109b0366004614e28565b612950565b3480156109c157600080fd5b5060165461047690600160881b900461ffff1681565b3480156109e357600080fd5b506104446109f2366004614f13565b602080526000908152604090205460ff1681565b348015610a1257600080fd5b5061049a601b5481565b348015610a2857600080fd5b506104dd610a37366004614e58565b612a30565b348015610a4857600080fd5b50601c546103e5906001600160a01b031681565b348015610a6857600080fd5b506104dd610a77366004614e58565b612c35565b348015610a8857600080fd5b5061049a610a97366004614f55565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b348015610ace57600080fd5b5060165461047690610100900461ffff1681565b348015610aee57600080fd5b506104dd610afd366004614eda565b612e3a565b348015610b0e57600080fd5b506104dd612f16565b348015610b2357600080fd5b5060165461047690600160981b900461ffff1681565b348015610b4557600080fd5b50610444610b54366004614f13565b601f6020526000908152604090205460ff1681565b348015610b7557600080fd5b5060165461047690600160381b900461ffff1681565b348015610b9757600080fd5b506104dd610ba6366004614f13565b612fda565b348015610bb757600080fd5b5060165461047690600160281b900461ffff1681565b348015610bd957600080fd5b5061049a601a5481565b348015610bef57600080fd5b5061049a60195481565b6060600a8054610c0890614f83565b80601f0160208091040260200160405190810160405280929190818152602001828054610c3490614f83565b8015610c815780601f10610c5657610100808354040283529160200191610c81565b820191906000526020600020905b815481529060010190602001808311610c6457829003601f168201915b5050505050905090565b6000610c98338484613072565b5060015b92915050565b6000546001600160a01b03163314610cd55760405162461bcd60e51b8152600401610ccc90614fbd565b60405180910390fd5b612710600754610ce59190615008565b811015610d3e5760405162461bcd60e51b815260206004820152602160248201527f6d617857616c6c6574203e3d20746f74616c20737570706c79202f20313030306044820152600360fc1b6064820152608401610ccc565b601a546040805183815260208101929092527fff64d41f60feb77d52f64ae64a9fc3929d57a89d0cc55728762468bae5e0fe52910160405180910390a1601a55565b6000546001600160a01b03163314610daa5760405162461bcd60e51b8152600401610ccc90614fbd565b60165461012c9061ffff6101008204811691600160681b8104821691600160481b8204811691610de391600160281b909104168761502a565b610ded919061502a565b610df7919061502a565b610e01919061502a565b61ffff161115610e235760405162461bcd60e51b8152600401610ccc90615045565b60165461012c9061ffff63010000008204811691600160781b8104821691600160581b8204811691610e5e91600160381b909104168661502a565b610e68919061502a565b610e72919061502a565b610e7c919061502a565b61ffff161115610e9e5760405162461bcd60e51b8152600401610ccc90615074565b60968261ffff161115610ec35760405162461bcd60e51b8152600401610ccc906150a2565b60968161ffff161115610ee85760405162461bcd60e51b8152600401610ccc906150cb565b6016546040805161ffff85811682528481166020830152600160881b8404811682840152600160981b9093049092166060830152517f01f5c7a45d273917dfc98816f1dd17a88893a7338e7beaa4d305fc8c84f8fe259181900360800190a16016805463ffffffff60881b1916600160881b61ffff9485160261ffff60981b191617600160981b9290931691909102919091179055565b6000610f8c848484613196565b6001600160a01b038416600090815260046020908152604080832033808552925290912054610fc7918691610fc29086906150f3565b613072565b5060015b9392505050565b6000546001600160a01b03163314610ffc5760405162461bcd60e51b8152600401610ccc90614fbd565b6001600160a01b0382166000908152601f602052604090205481151560ff9091161515036110565760405162461bcd60e51b8152602060048201526007602482015266616c726561647960c81b6044820152606401610ccc565b6001600160a01b0382166000818152601f6020908152604091829020805460ff191685151590811790915591519182527f82170bbd72c16b30c410014b7382121a699ed119a182e48a0b6cadcc89104ac991015b60405180910390a25050565b600060085482111561111d5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610ccc565b6000611127613554565b9050610fcb8184615008565b6000546001600160a01b0316331461115d5760405162461bcd60e51b8152600401610ccc90614fbd565b6001600160a01b03811660009081526005602052604090205460ff166111c55760405162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f74206578636c756465640000000000000000006044820152606401610ccc565b60005b60065481101561136757816001600160a01b0316600682815481106111ef576111ef615106565b6000918252602090912001546001600160a01b031603611355576001600160a01b03821660009081526002602052604090205461122a613554565b6001600160a01b03841660009081526003602052604090205461124d919061511c565b6001600160a01b03841660009081526002602052604090208190556008546112769083906150f3565b6112809190615133565b6008556001600160a01b0383166000908152600560205260409020805460ff19169055600680546112b3906001906150f3565b815481106112c3576112c3615106565b600091825260209091200154600680546001600160a01b0390921691849081106112ef576112ef615106565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600680548061132e5761132e615146565b600082815260209020810160001990810180546001600160a01b0319169055019055505050565b8061135f8161515c565b9150506111c8565b5050565b3360008181526004602090815260408083206001600160a01b03871684529091528120549091610c98918590610fc2908690615133565b60006007548311156113f65760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610ccc565b6000611400613554565b90508261141d576000611413828661511c565b9250610c9c915050565b600061142885613577565b505050505090506000828261143d919061511c565b9350610c9c92505050565b5092915050565b6000546001600160a01b031633146114795760405162461bcd60e51b8152600401610ccc90614fbd565b6001600160a01b0382166114cf5760405162461bcd60e51b815260206004820152601b60248201527f6d61726b6574696e672077616c6c65742063616e2774206265203000000000006044820152606401610ccc565b6018546001600160a01b03908116908316036114fd5760405162461bcd60e51b8152600401610ccc90615175565b601754604080518315158152600160a01b830460ff16151560208201526001600160a01b03928316928516917fc8dfdd9b91ac62ee1bd8be3541ea02d8e584461c794c6e49e94ccf21c71ebcca910160405180910390a360178054911515600160a01b026001600160a81b03199092166001600160a01b039093169283179190911790556000908152601e60209081526040808320805460ff199081166001908117909255601f909352922080549091169091179055565b6000546001600160a01b031633146115df5760405162461bcd60e51b8152600401610ccc90614fbd565b6001600160a01b03811660009081526005602052604090205460ff16156116485760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610ccc565b600654603290611659906001615133565b11156116e35760405162461bcd60e51b815260206004820152604d60248201527f43616e6e6f74206578636c756465206d6f7265207468616e203530206163636f60448201527f756e74732e2020496e636c75646520612070726576696f75736c79206578636c60648201526c3ab232b21030b2323932b9b99760991b608482015260a401610ccc565b6001600160a01b0381166000908152600260205260409020541561173d576001600160a01b038116600090815260026020526040902054611723906110b6565b6001600160a01b0382166000908152600360205260409020555b6001600160a01b03166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b6000546001600160a01b031633146117cd5760405162461bcd60e51b8152600401610ccc90614fbd565b601c546001600160a01b03908116908216036118375760405162461bcd60e51b815260206004820152602360248201527f54686520726f7574657220616c7265616479206861732074686174206164647260448201526265737360e81b6064820152608401610ccc565b601c546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3601c80546001600160a01b0319166001600160a01b03831690811790915561189e903090600019613072565b601c60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061191591906151c8565b6001546001600160a01b039081169116146119a657600154601c5460405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291169063095ea7b3906044016020604051808303816000875af1158015611980573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119a491906151e5565b505b601c546040805163c45a015560e01b815290516000926001600160a01b03169163c45a01559160048083019260209291908290030181865afa1580156119f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a1491906151c8565b6001546040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af1158015611a65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8991906151c8565b601d80546001600160a01b0319166001600160a01b0383169081179091559091506113679060016135e1565b6001600160a01b03811660009081526005602052604081205460ff1615611af257506001600160a01b031660009081526003602052604090205490565b6001600160a01b038216600090815260026020526040902054610c9c906110b6565b6000546001600160a01b03163314611b3e5760405162461bcd60e51b8152600401610ccc90614fbd565b611b486000613711565b565b6000546001600160a01b03163314611b745760405162461bcd60e51b8152600401610ccc90614fbd565b60008111611bbd5760405162461bcd60e51b815260206004820152601660248201527506d696e416d6f756e74546f54616b65466565203e20360541b6044820152606401610ccc565b6019546040805183815260208101929092527f772a06bc936eb749842080c472181e970cd4f23bd1ab7d0b84a80aec26910434910160405180910390a1601955565b6000546001600160a01b03163314611c295760405162461bcd60e51b8152600401610ccc90614fbd565b6001600160a01b038116611c7f5760405162461bcd60e51b815260206004820152601a60248201527f54726561737572792077616c6c65742063616e277420626520300000000000006044820152606401610ccc565b6017546001600160a01b03808316911603611cac5760405162461bcd60e51b8152600401610ccc90615175565b6018546040516001600160a01b03918216918316907f79a52cbec002ef70283103eb4140713100276944fca2819713130141d04df18390600090a3601880546001600160a01b039092166001600160a01b0319909216821790556000908152601e60209081526040808320805460ff199081166001908117909255601f909352922080549091169091179055565b6000546001600160a01b03163314611d645760405162461bcd60e51b8152600401610ccc90614fbd565b60165461012c9061ffff600160881b82048116916101008104821691600160481b8204811691611d9d91600160281b909104168761502a565b611da7919061502a565b611db1919061502a565b611dbb919061502a565b61ffff161115611ddd5760405162461bcd60e51b8152600401610ccc90615045565b60165461012c9061ffff600160981b820481169163010000008104821691600160581b8204811691611e1891600160381b909104168661502a565b611e22919061502a565b611e2c919061502a565b611e36919061502a565b61ffff161115611e585760405162461bcd60e51b8152600401610ccc90615074565b60968261ffff161115611e7d5760405162461bcd60e51b8152600401610ccc906150a2565b60968161ffff161115611ea25760405162461bcd60e51b8152600401610ccc906150cb565b6016546040805161ffff85811682528481166020830152600160681b8404811682840152600160781b9093049092166060830152517f2893ef6309f9df0d45b134fcb021eb854592432db91782f02ce6b9029d1470319181900360800190a16016805463ffffffff60681b1916600160681b61ffff9485160261ffff60781b191617600160781b9290931691909102919091179055565b6000546001600160a01b03163314611f635760405162461bcd60e51b8152600401610ccc90614fbd565b6001600160a01b0381163003611fa95760405162461bcd60e51b815260206004820152600b60248201526a139bdd08185b1b1bddd95960aa1b6044820152606401610ccc565b612037611fbe6000546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa158015612002573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120269190615202565b6001600160a01b0384169190613761565b50565b604080516002808252606082018352600092602083019080368337505060015482519293506001600160a01b03169183915060009061207b5761207b615106565b60200260200101906001600160a01b031690816001600160a01b03168152505030816001815181106120af576120af615106565b6001600160a01b03928316602091820292909201810191909152601c54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612108573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061212c91906151c8565b6001600160a01b03168160008151811061214857612148615106565b60200260200101516001600160a01b0316036121d057601c5460405163b6f9de9560e01b81526001600160a01b039091169063b6f9de9590349061219990600090869061dead90429060040161525f565b6000604051808303818588803b1580156121b257600080fd5b505af11580156121c6573d6000803e3d6000fd5b50505050506122d6565b6001546000906001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015612229573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061224d9190615202565b9050612267336001546001600160a01b03169030846137c9565b601c54604051635c11d79560e01b81526001600160a01b0390911690635c11d795906122a2908490600090879061dead904290600401615294565b600060405180830381600087803b1580156122bc57600080fd5b505af11580156122d0573d6000803e3d6000fd5b50505050505b61dead60005260036020527f262bb27bbdd95c1cdc8e16957e36e38579ea44f7f6413dd7a9c75939def06b2c5460075461231091906150f3565b60075561dead60005260026020527f6a9609baa168169acaea398c4407efea4be641bb08e21e88806d9836fd9333cc5460085461234d91906150f3565b60085561dead6000818152600360209081527f262bb27bbdd95c1cdc8e16957e36e38579ea44f7f6413dd7a9c75939def06b2c546040519081529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35061dead60009081527f6a9609baa168169acaea398c4407efea4be641bb08e21e88806d9836fd9333cc81905560036020527f262bb27bbdd95c1cdc8e16957e36e38579ea44f7f6413dd7a9c75939def06b2c55565b6000546001600160a01b031633146124355760405162461bcd60e51b8152600401610ccc90614fbd565b6001546001600160a01b03908116908216036124a95760405162461bcd60e51b815260206004820152602d60248201527f5468652062617365546f6b656e466f725061697220616c72656164792068617360448201526c2074686174206164647265737360981b6064820152608401610ccc565b600180546001600160a01b0319166001600160a01b0383811691909117909155601c546040805163c45a015560e01b81529051919092169163c45a01559160048083019260209291908290030181865afa15801561250b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061252f91906151c8565b6001546040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af1158015612580573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125a491906151c8565b601d80546001600160a01b0319166001600160a01b03928316179055601c54604080516315ab88c960e31b81529051919092169163ad5c46489160048083019260209291908290030181865afa158015612602573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061262691906151c8565b6001546001600160a01b039081169116146126b757600154601c5460405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291169063095ea7b3906044016020604051808303816000875af1158015612691573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126b591906151e5565b505b601d54612037906001600160a01b031660016135e1565b6000546001600160a01b031633146126f85760405162461bcd60e51b8152600401610ccc90614fbd565b60165461012c9061ffff600160881b8204811691600160681b8104821691600160481b820481169161273391600160281b909104168761502a565b61273d919061502a565b612747919061502a565b612751919061502a565b61ffff1611156127735760405162461bcd60e51b8152600401610ccc90615045565b60165461012c9061ffff600160981b8204811691600160781b8104821691600160581b82048116916127ae91600160381b909104168661502a565b6127b8919061502a565b6127c2919061502a565b6127cc919061502a565b61ffff1611156127ee5760405162461bcd60e51b8152600401610ccc90615074565b60968261ffff1611156128135760405162461bcd60e51b8152600401610ccc906150a2565b60968161ffff1611156128385760405162461bcd60e51b8152600401610ccc906150cb565b6016546040805161ffff85811682528481166020830152610100840481168284015263010000009093049092166060830152517f0a21d45dab14d5d2f53ae98d95d951cd627fcf1b5bc485174326568b5e0a45729181900360800190a16016805464ffffffff00191661010061ffff9485160264ffff00000019161763010000009290931691909102919091179055565b6060600b8054610c0890614f83565b6000546001600160a01b031633146129025760405162461bcd60e51b8152600401610ccc90614fbd565b61136782826135e1565b3360008181526004602090815260408083206001600160a01b03871684529091528120549091610c98918590610fc29086906150f3565b6000610c98338484613196565b6000546001600160a01b0316331461297a5760405162461bcd60e51b8152600401610ccc90614fbd565b61271060075461298a9190615008565b8110156129ee5760405162461bcd60e51b815260206004820152602c60248201527f6d61785472616e73616374696f6e416d6f756e74203e3d20746f74616c20737560448201526b070706c79202f2031303030360a41b6064820152608401610ccc565b601b546040805183815260208101929092527f35eec0711af6fbe3039535323be51b57996b6945b0d55862607c7a02e52e4507910160405180910390a1601b55565b6000546001600160a01b03163314612a5a5760405162461bcd60e51b8152600401610ccc90614fbd565b60165461012c9061ffff600160881b8204811691600160681b81048216916101008204811691612a9391600160281b909104168761502a565b612a9d919061502a565b612aa7919061502a565b612ab1919061502a565b61ffff161115612ad35760405162461bcd60e51b8152600401610ccc90615045565b60165461012c9061ffff600160981b8204811691600160781b810482169163010000008204811691612b0e91600160381b909104168661502a565b612b18919061502a565b612b22919061502a565b612b2c919061502a565b61ffff161115612b4e5760405162461bcd60e51b8152600401610ccc90615074565b60968261ffff161115612b735760405162461bcd60e51b8152600401610ccc906150a2565b60968161ffff161115612b985760405162461bcd60e51b8152600401610ccc906150cb565b6016546040805161ffff85811682528481166020830152600160481b8404811682840152600160581b9093049092166060830152517f1d6b62961d401d548eb1549c97109c0b905ccd7af9c3777d3076cc8438fdfe659181900360800190a1601680546cffffffff0000000000000000001916600160481b61ffff9485160261ffff60581b191617600160581b9290931691909102919091179055565b6000546001600160a01b03163314612c5f5760405162461bcd60e51b8152600401610ccc90614fbd565b60165461012c9061ffff600160881b8204811691600160681b81048216916101008204811691612c9891600160481b909104168761502a565b612ca2919061502a565b612cac919061502a565b612cb6919061502a565b61ffff161115612cd85760405162461bcd60e51b8152600401610ccc90615045565b60165461012c9061ffff600160981b8204811691600160781b810482169163010000008204811691612d1391600160581b909104168661502a565b612d1d919061502a565b612d27919061502a565b612d31919061502a565b61ffff161115612d535760405162461bcd60e51b8152600401610ccc90615074565b60968261ffff161115612d785760405162461bcd60e51b8152600401610ccc906150a2565b60968161ffff161115612d9d5760405162461bcd60e51b8152600401610ccc906150cb565b6016546040805161ffff85811682528481166020830152600160281b8404811682840152600160381b9093049092166060830152517f95c5c99557725e816faf752c6675d63483841c28a7a009ed792470a9cb4dea239181900360800190a16016805468ffffffff00000000001916600160281b61ffff9485160268ffff00000000000000191617600160381b9290931691909102919091179055565b6000546001600160a01b03163314612e645760405162461bcd60e51b8152600401610ccc90614fbd565b6001600160a01b0382166000908152601e602052604090205481151560ff909116151503612ebe5760405162461bcd60e51b8152602060048201526007602482015266616c726561647960c81b6044820152606401610ccc565b6001600160a01b0382166000818152601e6020908152604091829020805460ff191685151590811790915591519182527f2d43abd87b27cee7b0aa8c6f7e0b4a3247b683262a83cbc2318b0df398a49aa991016110aa565b6000546001600160a01b03163314612f405760405162461bcd60e51b8152600401610ccc90614fbd565b600080546040516001600160a01b039091169047908381818185875af1925050503d8060008114612f8d576040519150601f19603f3d011682016040523d82523d6000602084013e612f92565b606091505b50509050806120375760405162461bcd60e51b815260206004820152601460248201527311985a5b1959081a5b881dda5d1a191c985dd85b60621b6044820152606401610ccc565b6000546001600160a01b031633146130045760405162461bcd60e51b8152600401610ccc90614fbd565b6001600160a01b0381166130695760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ccc565b61203781613711565b6001600160a01b0383166130d45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610ccc565b6001600160a01b0382166131355760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610ccc565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166131fa5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610ccc565b6001600160a01b03821661325c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610ccc565b600061326730611ab5565b6019546016549192508210159060ff161580156132815750805b80156132a25750601d546000906132a0906001600160a01b0316611ab5565b115b80156132c557506001600160a01b038416600090815260208052604090205460ff165b156132d2576132d2613807565b61330d600c8054600d55600e8054600f5560108054601155601280546013556014805460155560009081905590819055908190559182905555565b60165460ff1615801561333957506001600160a01b0385166000908152601e602052604090205460ff16155b801561335e57506001600160a01b0384166000908152601e602052604090205460ff16155b1561342b576001600160a01b038516600090815260208052604090205460ff16156133ca5760165461ffff630100000082048116600c55600160381b82048116600e55600160581b82048116601055600160781b82048116601255600160981b9091041660145561342b565b6001600160a01b038416600090815260208052604090205460ff161561342b5760165461ffff61010082048116600c55600160281b82048116600e55600160481b82048116601055600160681b82048116601255600160881b909104166014555b61343685858561408c565b613459601554601455601354601255600d54600c55600f54600e55601154601055565b60165460ff1661354d576001600160a01b0385166000908152601f602052604090205460ff166134d457601b5483106134d45760405162461bcd60e51b815260206004820152601d60248201527f45524332303a2065786365656473207472616e73666572206c696d69740000006044820152606401610ccc565b6001600160a01b0384166000908152601f602052604090205460ff1661354d57601a5461350085611ab5565b1061354d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a2065786365656473206d61782077616c6c6574206c696d6974006044820152606401610ccc565b5050505050565b6000806000613561614549565b90925090506135708183615008565b9250505090565b600080600080600080600061358b886146cc565b90506000613598896146e9565b905060006135a58a6146fc565b905060006135b28b61470f565b905060006135bf8c614722565b905060006135cc8d614735565b9d959c50939a50919850965094509092505050565b6001600160a01b038216600090815260208052604090205481151560ff9091161515036136765760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610ccc565b6001600160a01b03821660009081526020805260409020805460ff191682158015919091179091556136b0576136ab826115b5565b6136b9565b6136b982611133565b6001600160a01b0382166000818152601f6020908152604091829020805460ff191685151590811790915591519182527fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91016110aa565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b0383166024820152604481018290526137c490849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152614788565b505050565b6040516001600160a01b03808516602483015283166044820152606481018290526138019085906323b872dd60e01b9060840161378d565b50505050565b6016805460ff19166001179055600061381f30611ab5565b905060006023546022546021546138369190615133565b6138409190615133565b905080158061384e57508082105b1561385a575050614080565b6000600260215461386b9190615008565b90506000601c60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156138c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138e691906151c8565b6001546001600160a01b0390811691161461396c576001546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015613943573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139679190615202565b61396e565b475b9050600080601760149054906101000a900460ff1615613c9a5760006023546022548661399b9190615133565b6139a59190615133565b905080156139b6576139b68161485a565b601c54604080516315ab88c960e31b815290516000926001600160a01b03169163ad5c46489160048083019260209291908290030181865afa158015613a00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a2491906151c8565b6001546001600160a01b03908116911614613ab4576001546040516370a0823160e01b815230600482015286916001600160a01b0316906370a0823190602401602060405180830381865afa158015613a81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613aa59190615202565b613aaf91906150f3565b613abe565b613abe85476150f3565b905060008260225483613ad1919061511c565b613adb9190615008565b905082613ae8888461511c565b613af29190615008565b945084613aff82846150f3565b613b0991906150f3565b93508015613c9257601c60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015613b64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b8891906151c8565b6001546001600160a01b03918216911603613c3a576017546040516000916001600160a01b03169083908381818185875af1925050503d8060008114613bea576040519150601f19603f3d011682016040523d82523d6000602084013e613bef565b606091505b505090508015613c34576040805160008152602081018490527f6f92bce3e91466137aa4d5474fe565c002872fb18ed6af4a856959be0a81277a910160405180910390a15b50613c92565b601754600154613c57916001600160a01b03918216911683613761565b6040805160008152602081018390527f6f92bce3e91466137aa4d5474fe565c002872fb18ed6af4a856959be0a81277a910160405180910390a15b505050613e4e565b600060235485613caa9190615133565b90508015613cbb57613cbb8161485a565b601c54604080516315ab88c960e31b815290516000926001600160a01b03169163ad5c46489160048083019260209291908290030181865afa158015613d05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d2991906151c8565b6001546001600160a01b03908116911614613db9576001546040516370a0823160e01b815230600482015286916001600160a01b0316906370a0823190602401602060405180830381865afa158015613d86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613daa9190615202565b613db491906150f3565b613dc3565b613dc385476150f3565b905081613dd0878361511c565b613dda9190615008565b9350613de684826150f3565b60225490935015613e4b57601754602254613e0e9130916001600160a01b0390911690613196565b60225460408051918252600060208301527f6f92bce3e91466137aa4d5474fe565c002872fb18ed6af4a856959be0a81277a910160405180910390a15b50505b600084118015613e5e5750600082115b15613ea757613e6d8483614a28565b60408051858152602081018490527f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486910160405180910390a15b801561402057601c60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015613f00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f2491906151c8565b6001546001600160a01b03918216911603613fcf576018546040516000916001600160a01b03169083908381818185875af1925050503d8060008114613f86576040519150601f19603f3d011682016040523d82523d6000602084013e613f8b565b606091505b505090508015613fc9576040518281527fe3630e0003fb3e9f9d835bb839022e52ffd576f9f35c395dd17517106f78cb339060200160405180910390a15b50614020565b601854600154613fec916001600160a01b03918216911683613761565b6040518181527fe3630e0003fb3e9f9d835bb839022e52ffd576f9f35c395dd17517106f78cb339060200160405180910390a15b6000602281905560238190556021819055546001600160a01b03161561406957614064306140566000546001600160a01b031690565b61405f30611ab5565b613196565b614079565b6140793061dead61405f30611ab5565b5050505050505b6016805460ff19169055565b60008060008060008061409e87613577565b95509550955095509550955060006140b4613554565b9050816007546140c491906150f3565b6007556140d1818361511c565b6008546140de91906150f3565b6008556040518281526000906001600160a01b038c16907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3846021546141309190615133565b602155602254614141908590615133565b602255602354614152908490615133565b6023556000836141628688615133565b61416c9190615133565b9050614178828261511c565b306000908152600260205260409020546141929190615133565b3060009081526002602090815260408083209390935560059052205460ff16156141e257306000908152600360205260409020546141d1908290615133565b306000908152600360205260409020555b506001600160a01b038a1660009081526005602052604090205460ff16801561422457506001600160a01b03891660009081526005602052604090205460ff16155b156142f7576001600160a01b038a1660009081526003602052604090205461424d9089906150f3565b6001600160a01b038b16600090815260036020526040902055614270818961511c565b6001600160a01b038b1660009081526002602052604090205461429391906150f3565b6001600160a01b038b166000908152600260205260409020556142b6818861511c565b6001600160a01b038a166000908152600260205260409020546142d99190615133565b6001600160a01b038a166000908152600260205260409020556144dd565b6001600160a01b038a1660009081526005602052604090205460ff1615801561433857506001600160a01b03891660009081526005602052604090205460ff165b156143c457614347818961511c565b6001600160a01b038b1660009081526002602052604090205461436a91906150f3565b6001600160a01b03808c16600090815260026020908152604080832094909455918c168152600390915220546143a1908890615133565b6001600160a01b038a166000908152600360205260409020556142b6818861511c565b6001600160a01b038a1660009081526005602052604090205460ff16801561440457506001600160a01b03891660009081526005602052604090205460ff165b15614450576001600160a01b038a1660009081526003602052604090205461442d9089906150f3565b6001600160a01b038b16600090815260036020526040902055614347818961511c565b61445a818961511c565b6001600160a01b038b1660009081526002602052604090205461447d91906150f3565b6001600160a01b038b166000908152600260205260409020556144a0818861511c565b6001600160a01b038a166000908152600260205260409020546144c39190615133565b6001600160a01b038a166000908152600260205260409020555b6144f06144ea828861511c565b87614be9565b886001600160a01b03168a6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8960405161453591815260200190565b60405180910390a350505050505050505050565b6008546007546000918291825b60065481101561469b5782600260006006848154811061457857614578615106565b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806145e357508160036000600684815481106145bc576145bc615106565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b156145f957600854600754945094505050509091565b600260006006838154811061461057614610615106565b60009182526020808320909101546001600160a01b0316835282019290925260400190205461463f90846150f3565b9250600360006006838154811061465857614658615106565b60009182526020808320909101546001600160a01b0316835282019290925260400190205461468790836150f3565b9150806146938161515c565b915050614556565b506007546008546146ac9190615008565b8210156146c3576008546007549350935050509091565b90939092509050565b60006103e8600c54836146df919061511c565b610c9c9190615008565b60006103e8600e54836146df919061511c565b60006103e8601054836146df919061511c565b60006103e8601254836146df919061511c565b60006103e8601454836146df919061511c565b60006103e8601054600e54600c546012546014546103e861475691906150f3565b61476091906150f3565b61476a91906150f3565b61477491906150f3565b61477e91906150f3565b6146df908461511c565b60006147dd826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316614c0f9092919063ffffffff16565b8051909150156137c457808060200190518101906147fb91906151e5565b6137c45760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610ccc565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061488f5761488f615106565b6001600160a01b03928316602091820292909201015260018054835192169183919081106148bf576148bf615106565b6001600160a01b03928316602091820292909201810191909152601c54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015614918573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061493c91906151c8565b6001600160a01b03168160018151811061495857614958615106565b60200260200101516001600160a01b0316036149dd57601c5460405163791ac94760e01b81526001600160a01b039091169063791ac947906149a7908590600090869030904290600401615294565b600060405180830381600087803b1580156149c157600080fd5b505af11580156149d5573d6000803e3d6000fd5b505050505050565b601c54604051637274ca1b60e11b8152731ccfe8c40ef259566433716002e379dfffbf5a3e9163e4e99436916149a7916001600160a01b0316908690600090879042906004016152d0565b601c60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015614a7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614a9f91906151c8565b6001546001600160a01b03918216911603614b4757601c5460405163f305d71960e01b815230600482015260248101849052600060448201819052606482015261dead60848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af1158015614b22573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061354d919061530f565b601c5460015460405162e8e33760e81b81523060048201526001600160a01b039182166024820152604481018590526064810184905260006084820181905260a482015261dead60c48201524260e482015291169063e8e3370090610104016060604051808303816000875af1158015614bc5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061354d919061530f565b81600854614bf791906150f3565b600855600954614c08908290615133565b6009555050565b6060614c1e8484600085614c26565b949350505050565b606082471015614c875760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610ccc565b6001600160a01b0385163b614cde5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610ccc565b600080866001600160a01b03168587604051614cfa919061533d565b60006040518083038185875af1925050503d8060008114614d37576040519150601f19603f3d011682016040523d82523d6000602084013e614d3c565b606091505b5091509150614d4c828286614d57565b979650505050505050565b60608315614d66575081610fcb565b825115614d765782518084602001fd5b8160405162461bcd60e51b8152600401610ccc9190614db4565b60005b83811015614dab578181015183820152602001614d93565b50506000910152565b6020815260008251806020840152614dd3816040850160208701614d90565b601f01601f19169190910160400192915050565b6001600160a01b038116811461203757600080fd5b60008060408385031215614e0f57600080fd5b8235614e1a81614de7565b946020939093013593505050565b600060208284031215614e3a57600080fd5b5035919050565b803561ffff81168114614e5357600080fd5b919050565b60008060408385031215614e6b57600080fd5b614e7483614e41565b9150614e8260208401614e41565b90509250929050565b600080600060608486031215614ea057600080fd5b8335614eab81614de7565b92506020840135614ebb81614de7565b929592945050506040919091013590565b801515811461203757600080fd5b60008060408385031215614eed57600080fd5b8235614ef881614de7565b91506020830135614f0881614ecc565b809150509250929050565b600060208284031215614f2557600080fd5b8135610fcb81614de7565b60008060408385031215614f4357600080fd5b823591506020830135614f0881614ecc565b60008060408385031215614f6857600080fd5b8235614f7381614de7565b91506020830135614f0881614de7565b600181811c90821680614f9757607f821691505b602082108103614fb757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008261502557634e487b7160e01b600052601260045260246000fd5b500490565b61ffff81811683821601908082111561144857611448614ff2565b60208082526015908201527473656c6c20746f74616c20666565203c3d2033302560581b604082015260600190565b60208082526014908201527362757920746f74616c20666565203c3d2033302560601b604082015260600190565b6020808252600f908201526e73656c6c20666565203c3d2031352560881b604082015260600190565b6020808252600e908201526d62757920666565203c3d2031352560901b604082015260600190565b81810381811115610c9c57610c9c614ff2565b634e487b7160e01b600052603260045260246000fd5b8082028115828204841417610c9c57610c9c614ff2565b80820180821115610c9c57610c9c614ff2565b634e487b7160e01b600052603160045260246000fd5b60006001820161516e5761516e614ff2565b5060010190565b60208082526033908201527f6d61726b6574696e672077616c6c65742063616e27742062652073616d6520776040820152721a5d1a08151c99585cdd5c9e481dd85b1b195d606a1b606082015260800190565b6000602082840312156151da57600080fd5b8151610fcb81614de7565b6000602082840312156151f757600080fd5b8151610fcb81614ecc565b60006020828403121561521457600080fd5b5051919050565b600081518084526020808501945080840160005b838110156152545781516001600160a01b03168752958201959082019060010161522f565b509495945050505050565b848152608060208201526000615278608083018661521b565b6001600160a01b03949094166040830152506060015292915050565b85815284602082015260a0604082015260006152b360a083018661521b565b6001600160a01b0394909416606083015250608001529392505050565b60018060a01b038616815284602082015283604082015260a0606082015260006152fd60a083018561521b565b90508260808301529695505050505050565b60008060006060848603121561532457600080fd5b8351925060208401519150604084015190509250925092565b6000825161534f818460208701614d90565b919091019291505056fea26469706673582212209051a64f1c0182c9a4c0a76d642defe318ac1cffd285e562c69788b4d07a979864736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000000000002e000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000033b2e3c9fd0803ce80000000000000000000000000000000000000000000000033b2e3c9fd0803ce80000000000000000000000000000000000000000000000033b2e3c9fd0803ce8000000000000000000000000000000766bd79d54d62132d45cbfbfb6eab7d91b2de00f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000292d83680602ecb32fe69b7f6146be87b12fdf34000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000094465657a204e757473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044445455a00000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : __name (string): Deez Nuts
Arg [1] : __symbol (string): DEEZ
Arg [2] : __decimals (uint8): 18
Arg [3] : _totalSupply (uint256): 1000000000000000000000000000
Arg [4] : _maxWallet (uint256): 1000000000000000000000000000
Arg [5] : _maxTransactionAmount (uint256): 1000000000000000000000000000
Arg [6] : _accounts (address[4]): 0x766Bd79D54d62132d45cBfbFB6EAb7D91b2dE00F,0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D,0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2,0x292d83680602eCB32Fe69B7F6146Be87B12fDF34
Arg [7] : _isMarketingFeeBaseToken (bool): True
Arg [8] : _fees (uint16[10]): 0,0,10,0,20,0,0,0,20,0
-----Encoded View---------------
25 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000002a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000002e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000
Arg [4] : 0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000
Arg [5] : 0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000
Arg [6] : 000000000000000000000000766bd79d54d62132d45cbfbfb6eab7d91b2de00f
Arg [7] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [8] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [9] : 000000000000000000000000292d83680602ecb32fe69b7f6146be87b12fdf34
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [13] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [21] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [22] : 4465657a204e7574730000000000000000000000000000000000000000000000
Arg [23] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [24] : 4445455a00000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.