ERC-20
Overview
Max Total Supply
99,959.209903124238101236 CINDER
Holders
122
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
33.450048830108643247 CINDERValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
UltimateTokenWithAntibot
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 IGemAntiBot { function setTokenOwner(address owner) external; function onPreTransferCheck( address from, address to, uint256 amount ) external; } 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 UltimateTokenWithAntibot is IERC20, Ownable { using SafeERC20 for IERC20; IUniswapV2Caller public constant uniswapV2Caller = IUniswapV2Caller(0x1CcFE8c40eF259566433716002E379dFfFbf5a3e); IFee public constant feeContract = IFee(0xfd6439AEfF9d2389856B7486b9e74a6DacaDcDCe); address public gemAntiBot; bool public antiBotEnabled; 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[5] 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%"); gemAntiBot = _accounts[4]; IGemAntiBot(gemAntiBot).setTokenOwner(msg.sender); antiBotEnabled = true; 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 setUsingAntiBot(bool enabled_) external onlyOwner { antiBotEnabled = enabled_; } 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); address _mainPair = IUniswapV2Factory(mainRouter.factory()) .createPair(address(this), baseTokenForPair); mainPair = _mainPair; _approve(address(this), address(mainRouter), MAX); if(baseTokenForPair != mainRouter.WETH()){ IERC20(baseTokenForPair).approve(address(mainRouter), MAX); } _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"); if (!inSwapAndLiquify && antiBotEnabled && !isExcludedFromFee[from] && !isExcludedFromFee[to]) { IGemAntiBot(gemAntiBot).onPreTransferCheck(from, to, amount); } 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; _transfer(address(this), owner(), 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[5]","name":"_accounts","type":"address[5]"},{"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":[],"name":"antiBotEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"gemAntiBot","outputs":[{"internalType":"address","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":[{"internalType":"bool","name":"enabled_","type":"bool"}],"name":"setUsingAntiBot","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
60806040526040516200765338038062007653833981016040819052620000269162001d50565b6200003133620011d4565b604051636944d6f160e11b815260048082015273fd6439aeff9d2389856b7486b9e74a6dacadcdce9063d289ade29034906024016000604051808303818588803b1580156200007f57600080fd5b505af115801562000094573d6000803e3d6000fd5b505050505082600260058110620000af57620000af62001e2e565b6020020151600280546001600160a01b039092166001600160a81b031990921691909117600160a01b60ff8a1602179055600b620000ee8a8262001ed3565b50600c620000fd898262001ed3565b506008869055620001118660001962001fb5565b6200011f9060001962001fe2565b60098190553360009081526003602052604090205582516001600160a01b0316620001915760405162461bcd60e51b815260206004820152601d60248201527f6d61726b6574696e672077616c6c65742063616e206e6f74206265203000000060448201526064015b60405180910390fd5b60208301516001600160a01b0316620001ed5760405162461bcd60e51b815260206004820152601b60248201527f526f7574657220616464726573732063616e206e6f7420626520300000000000604482015260640162000188565b60608301516001600160a01b0316620002495760405162461bcd60e51b815260206004820152601c60248201527f54726561737572792077616c6c65742063616e206e6f74206265203000000000604482015260640162000188565b825160608401516001600160a01b03918216911603620002d25760405162461bcd60e51b815260206004820152603560248201527f54726561737572792077616c6c65742063616e206e6f742062652073616d652060448201527f77697468206d61726b6574696e672077616c6c65740000000000000000000000606482015260840162000188565b61010081015160c082015160808301516040840151845161012c94939291620002fb9162001ffe565b62000307919062001ffe565b62000313919062001ffe565b6200031f919062001ffe565b61ffff161115620003735760405162461bcd60e51b815260206004820152601560248201527f73656c6c20746f74616c20666565203c3d203330250000000000000000000000604482015260640162000188565b61012081015160e082015160a08301516060840151602085015161012c949392916200039f9162001ffe565b620003ab919062001ffe565b620003b7919062001ffe565b620003c3919062001ffe565b61ffff161115620004175760405162461bcd60e51b815260206004820152601460248201527f62757920746f74616c20666565203c3d20333025000000000000000000000000604482015260640162000188565b8051609661ffff90911610620004615760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6096816001602002015161ffff1610620004af5760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6096816002602002015161ffff1610620004fd5760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6096816003602002015161ffff16106200054b5760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6096816004602002015161ffff1610620005995760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6096816005602002015161ffff1610620005e75760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6096816006602002015161ffff1610620006355760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6096816007602002015161ffff1610620006835760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6096816008602002015161ffff1610620006d15760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6096816009602002015161ffff16106200071f5760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6080830151600180546001600160a01b039092166001600160a01b0319909216821790556040516318e02bd960e01b81523360048201526318e02bd990602401600060405180830381600087803b1580156200077a57600080fd5b505af11580156200078f573d6000803e3d6000fd5b505060018054600160a01b60ff60a01b1990911681179091558551601880546060890151601980546001600160a01b039283166001600160a01b03199190911617905588151585026001600160a81b0319909216938116938417821792839055604080519590930460ff161515855260006020860181905296501690911792507fc8dfdd9b91ac62ee1bd8be3541ea02d8e584461c794c6e49e94ccf21c71ebcca910160405180910390a36019546040516000916001600160a01b0316907f79a52cbec002ef70283103eb4140713100276944fca2819713130141d04df183908390a3602083810151601d80546001600160a01b0319166001600160a01b039092169182179055604080516315ab88c960e31b81529051919263ad5c4648926004808401938290030181865afa158015620008ce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008f4919062002023565b6002546001600160a01b039081169116146200098957600254601d5460405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291169063095ea7b3906044016020604051808303816000875af115801562000961573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000987919062002041565b505b620009ac30731ccfe8c40ef259566433716002e379dfffbf5a3e60001962001224565b601d54620009c89030906001600160a01b031660001962001224565b601d546040516000916001600160a01b0316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e908390a3601d60009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000a54573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a7a919062002023565b6002546040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af115801562000acc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000af2919062002023565b601e80546001600160a01b0319166001600160a01b039290921691909117905580516017805460208085015163ffffffff60281b1990921661ffff9485166501000000000090810261ffff60381b19169190911767010000000000000093861684021793849055604080519185048616825292909304909316928201929092526000818301819052606082015290517f95c5c99557725e816faf752c6675d63483841c28a7a009ed792470a9cb4dea239181900360800190a16040818101516017805460608086015163ffffffff60481b1990921661ffff948516690100000000000000000090810261ffff60581b1916919091176b0100000000000000000000009386168402179384905585519084048516815291909204909216602083015260008284018190529082015290517f1d6b62961d401d548eb1549c97109c0b905ccd7af9c3777d3076cc8438fdfe659181900360800190a160c08101516017805460e084015163ffffffff60681b1990911661ffff9384166d010000000000000000000000000090810261ffff60781b191691909117600160781b9285168302179283905560408051918404851682529190920490921660208201526000818301819052606082015290517f2893ef6309f9df0d45b134fcb021eb854592432db91782f02ce6b9029d1470319181900360800190a16101008101516017805461012084015163ffffffff60881b1990911661ffff938416600160881b90810261ffff60981b191691909117600160981b9285168302179283905560408051918404851682529190920490921660208201526000818301819052606082015290517f01f5c7a45d273917dfc98816f1dd17a88893a7338e7beaa4d305fc8c84f8fe259181900360800190a16080808201516017805460a085015161ffff908116630100000090810264ffff0000001961010096841687021664ffffffff00199094169390931792909217928390556040805194840482168552919092049091166020830152600090820181905260608201527f0a21d45dab14d5d2f53ae98d95d951cd627fcf1b5bc485174326568b5e0a4572910160405180910390a162000e1d612710876200205f565b601a81905560408051918252600060208301527f772a06bc936eb749842080c472181e970cd4f23bd1ab7d0b84a80aec26910434910160405180910390a162000e69612710876200205f565b84101562000ecf5760405162461bcd60e51b815260206004820152602c60248201527f6d61785472616e73616374696f6e416d6f756e74203e3d20746f74616c20737560448201526b070706c79202f2031303030360a41b606482015260840162000188565b62000edd612710876200205f565b85101562000f385760405162461bcd60e51b815260206004820152602160248201527f6d617857616c6c6574203e3d20746f74616c20737570706c79202f20313030306044820152600360fc1b606482015260840162000188565b601b85905560408051868152600060208201527fff64d41f60feb77d52f64ae64a9fc3929d57a89d0cc55728762468bae5e0fe52910160405180910390a1601c84905560408051858152600060208201527f35eec0711af6fbe3039535323be51b57996b6945b0d55862607c7a02e52e4507910160405180910390a1600660209081527f1aecba4ebe7a4e0673e4891b2b092b2228e4322380b579fb494fad3da8586e228054600160ff19918216811790925560078054808401825560008051602062007613833981519152908101805461dead6001600160a01b031991821617909155306000818152604080822080548816891790558554808901909655949093018054909216179055601f9485905281812080548416851790556018546001600160a01b0390811682528282208054851686179055601954168152908120805490921683179091559091906200108d3390565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790557fef94442dfc0e910ca743614215a10fad3ff708bf5378f9c5c958c9192b3bf0048054861660019081179091558480527fcbaad361c71be11fa6bdbe0e740c6259be964b32182da2da47b54472477c6a1780548716821790553082528382208054871682179055601854831682528382208054871682179055601954909216815291822080549094168117909355620011513390565b6001600160a01b0390811682526020820192909252604001600020805460ff191692151592909217909155601e546200118d911660016200134c565b60405186815233906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050505050505050620020d8565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038316620012885760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840162000188565b6001600160a01b038216620012eb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000188565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03821660009081526021602052604090205481151560ff909116151503620013e45760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c75650000000000000000606482015260840162000188565b6001600160a01b0382166000908152602160205260409020805460ff1916821580159190911790915562001423576200141d826200148b565b6200142e565b6200142e8262001692565b6001600160a01b03821660008181526020808052604091829020805460ff191685151590811790915591519182527fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab910160405180910390a25050565b6000546001600160a01b03163314620014d65760405162461bcd60e51b8152602060048201819052602482015260008051602062007633833981519152604482015260640162000188565b6001600160a01b03811660009081526006602052604090205460ff1615620015415760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015260640162000188565b6007546032906200155490600162002076565b1115620015e05760405162461bcd60e51b815260206004820152604d60248201527f43616e6e6f74206578636c756465206d6f7265207468616e203530206163636f60448201527f756e74732e2020496e636c75646520612070726576696f75736c79206578636c60648201526c3ab232b21030b2323932b9b99760991b608482015260a40162000188565b6001600160a01b038116600090815260036020526040902054156200163d576001600160a01b038116600090815260036020526040902054620016239062001908565b6001600160a01b0382166000908152600460205260409020555b6001600160a01b03166000818152600660205260408120805460ff19166001908117909155600780549182018155909152600080516020620076138339815191520180546001600160a01b0319169091179055565b6000546001600160a01b03163314620016dd5760405162461bcd60e51b8152602060048201819052602482015260008051602062007633833981519152604482015260640162000188565b6001600160a01b03811660009081526006602052604090205460ff16620017475760405162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f74206578636c75646564000000000000000000604482015260640162000188565b60005b6007548110156200190457816001600160a01b03166007828154811062001775576200177562001e2e565b6000918252602090912001546001600160a01b031603620018ef576001600160a01b038216600090815260036020526040902054620017b362001992565b6001600160a01b038416600090815260046020526040902054620017d891906200208c565b6001600160a01b03841660009081526003602052604090208190556009546200180390839062001fe2565b6200180f919062002076565b6009556001600160a01b0383166000908152600660205260409020805460ff1916905560078054620018449060019062001fe2565b8154811062001857576200185762001e2e565b600091825260209091200154600780546001600160a01b03909216918490811062001886576200188662001e2e565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506007805480620018c857620018c8620020a6565b600082815260209020810160001990810180546001600160a01b0319169055019055505050565b80620018fb81620020bc565b9150506200174a565b5050565b6000600954821115620019715760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b606482015260840162000188565b60006200197d62001992565b90506200198b81846200205f565b9392505050565b60008080620019a0620019b8565b9092509050620019b181836200205f565b9250505090565b6009546008546000918291825b60075481101562001b2057826003600060078481548110620019eb57620019eb62001e2e565b60009182526020808320909101546001600160a01b03168352820192909252604001902054118062001a5a575081600460006007848154811062001a335762001a3362001e2e565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1562001a7157600954600854945094505050509091565b600360006007838154811062001a8b5762001a8b62001e2e565b60009182526020808320909101546001600160a01b0316835282019290925260400190205462001abc908462001fe2565b9250600460006007838154811062001ad85762001ad862001e2e565b60009182526020808320909101546001600160a01b0316835282019290925260400190205462001b09908362001fe2565b91508062001b1781620020bc565b915050620019c5565b5060085460095462001b3391906200205f565b82101562001b4b576009546008549350935050509091565b90939092509050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562001b955762001b9562001b54565b604052919050565b600082601f83011262001baf57600080fd5b81516001600160401b0381111562001bcb5762001bcb62001b54565b602062001be1601f8301601f1916820162001b6a565b828152858284870101111562001bf657600080fd5b60005b8381101562001c1657858101830151828201840152820162001bf9565b506000928101909101919091529392505050565b80516001600160a01b038116811462001c4257600080fd5b919050565b600082601f83011262001c5957600080fd5b60405160a081016001600160401b038111828210171562001c7e5762001c7e62001b54565b6040528060a084018581111562001c9457600080fd5b845b8181101562001cb95762001caa8162001c2a565b83526020928301920162001c96565b509195945050505050565b8051801515811462001c4257600080fd5b600082601f83011262001ce757600080fd5b6040516101408082016001600160401b038111838210171562001d0e5762001d0e62001b54565b6040528301818582111562001d2257600080fd5b845b8281101562001cb957805161ffff8116811462001d415760008081fd5b82526020918201910162001d24565b60008060008060008060008060006102c08a8c03121562001d7057600080fd5b89516001600160401b038082111562001d8857600080fd5b62001d968d838e0162001b9d565b9a5060208c015191508082111562001dad57600080fd5b5062001dbc8c828d0162001b9d565b98505060408a015160ff8116811462001dd457600080fd5b8097505060608a0151955060808a0151945060a08a0151935062001dfc8b60c08c0162001c47565b925062001e0d6101608b0162001cc4565b915062001e1f8b6101808c0162001cd5565b90509295985092959850929598565b634e487b7160e01b600052603260045260246000fd5b600181811c9082168062001e5957607f821691505b60208210810362001e7a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562001ece57600081815260208120601f850160051c8101602086101562001ea95750805b601f850160051c820191505b8181101562001eca5782815560010162001eb5565b5050505b505050565b81516001600160401b0381111562001eef5762001eef62001b54565b62001f078162001f00845462001e44565b8462001e80565b602080601f83116001811462001f3f576000841562001f265750858301515b600019600386901b1c1916600185901b17855562001eca565b600085815260208120601f198616915b8281101562001f705788860151825594840194600190910190840162001f4f565b508582101562001f8f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601260045260246000fd5b60008262001fc75762001fc762001f9f565b500690565b634e487b7160e01b600052601160045260246000fd5b8181038181111562001ff85762001ff862001fcc565b92915050565b61ffff8181168382160190808211156200201c576200201c62001fcc565b5092915050565b6000602082840312156200203657600080fd5b6200198b8262001c2a565b6000602082840312156200205457600080fd5b6200198b8262001cc4565b60008262002071576200207162001f9f565b500490565b8082018082111562001ff85762001ff862001fcc565b808202811582820484141762001ff85762001ff862001fcc565b634e487b7160e01b600052603160045260246000fd5b600060018201620020d157620020d162001fcc565b5060010190565b61552b80620020e86000396000f3fe6080604052600436106103d25760003560e01c8063809d458d116101fd578063b62496f511610118578063df8408fe116100ab578063f11a24d31161007a578063f11a24d314610beb578063f2fde38b14610c0d578063f637434214610c2d578063f8b45b0514610c4f578063fc59d23d14610c6557600080fd5b8063df8408fe14610b65578063e086e5ec14610b85578063e71dc3f514610b9a578063e9481eee14610bbc57600080fd5b8063d68f8cde116100e7578063d68f8cde14610abe578063d8c6404b14610ade578063dd62ed3e14610aff578063de0aad5314610b4557600080fd5b8063b62496f514610a38578063c8c8ebe414610a68578063cf089e1314610a7e578063cf188ad014610a9e57600080fd5b80639213691311610190578063a457c2d71161015f578063a457c2d7146109b6578063a9059cbb146109d6578063aa498023146109f6578063adb873bd14610a1657600080fd5b8063921369131461093f578063948384dc1461096157806395d89b41146109815780639a7a23d61461099657600080fd5b806389476069116101cc57806389476069146108d95780638da5cb5b146108f95780638f0bc1671461091757806391c1004a1461091f57600080fd5b8063809d458d146108405780638276e5b01461086057806385af30c51461088057806388f82020146108a057600080fd5b80634626402b116102ed57806370a082311161028057806377ec74491161024f57806377ec7449146107b65780637bce5a04146107d65780637c75ad3a146107f85780637cf84bd71461082057600080fd5b806370a0823114610741578063715018a61461076157806373b9e82c1461077657806375f0a8741461079657600080fd5b806357e62b98116102bc57806357e62b98146106bc5780635c068a8c146106dd57806365b8dbc0146106ff5780636b2fb1241461071f57600080fd5b80634626402b1461062c5780634707c5511461064c57806352390c021461066c5780635342acb41461068c57600080fd5b806323b872dd11610365578063313ce56711610334578063313ce567146105a05780633685d419146105cc57806339509351146105ec5780634549b0391461060c57600080fd5b806323b872dd146105205780632ae2f121146105405780632d5fd55a146105605780632d8381191461058057600080fd5b806313114a9d116103a157806313114a9d146104aa57806318160ddd146104c95780631c499ab0146104de5780632073bd851461050057600080fd5b806306e29712146103de57806306fdde0314610423578063095ea7b3146104455780630cfe2f3f1461047557600080fd5b366103d957005b600080fd5b3480156103ea57600080fd5b5061040673fd6439aeff9d2389856b7486b9e74a6dacadcdce81565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561042f57600080fd5b50610438610c7b565b60405161041a9190614f33565b34801561045157600080fd5b50610465610460366004614f7b565b610d0d565b604051901515815260200161041a565b34801561048157600080fd5b50601754610497906301000000900461ffff1681565b60405161ffff909116815260200161041a565b3480156104b657600080fd5b50600a545b60405190815260200161041a565b3480156104d557600080fd5b506008546104bb565b3480156104ea57600080fd5b506104fe6104f9366004614fa7565b610d24565b005b34801561050c57600080fd5b506104fe61051b366004614fd7565b610e02565b34801561052c57600080fd5b5061046561053b36600461500a565b611001565b34801561054c57600080fd5b506104fe61055b366004615059565b611054565b34801561056c57600080fd5b506104fe61057b366004615092565b611135565b34801561058c57600080fd5b506104bb61059b366004614fa7565b61117d565b3480156105ac57600080fd5b50600254600160a01b900460ff1660405160ff909116815260200161041a565b3480156105d857600080fd5b506104fe6105e73660046150af565b6111fa565b3480156105f857600080fd5b50610465610607366004614f7b565b611432565b34801561061857600080fd5b506104bb6106273660046150cc565b611469565b34801561063857600080fd5b50601954610406906001600160a01b031681565b34801561065857600080fd5b506104fe610667366004615059565b611516565b34801561067857600080fd5b506104fe6106873660046150af565b61167a565b34801561069857600080fd5b506104656106a73660046150af565b601f6020526000908152604090205460ff1681565b3480156106c857600080fd5b5060185461046590600160a01b900460ff1681565b3480156106e957600080fd5b5060175461049790600160781b900461ffff1681565b34801561070b57600080fd5b506104fe61071a3660046150af565b611868565b34801561072b57600080fd5b5060175461049790600160681b900461ffff1681565b34801561074d57600080fd5b506104bb61075c3660046150af565b611b80565b34801561076d57600080fd5b506104fe611bdf565b34801561078257600080fd5b506104fe610791366004614fa7565b611c15565b3480156107a257600080fd5b50601854610406906001600160a01b031681565b3480156107c257600080fd5b50600154610406906001600160a01b031681565b3480156107e257600080fd5b5060175461049790600160581b900461ffff1681565b34801561080457600080fd5b50610406731ccfe8c40ef259566433716002e379dfffbf5a3e81565b34801561082c57600080fd5b50600254610406906001600160a01b031681565b34801561084c57600080fd5b506104fe61085b3660046150af565b611cca565b34801561086c57600080fd5b506104fe61087b366004614fd7565b611e03565b34801561088c57600080fd5b50601e54610406906001600160a01b031681565b3480156108ac57600080fd5b506104656108bb3660046150af565b6001600160a01b031660009081526006602052604090205460ff1690565b3480156108e557600080fd5b506104fe6108f43660046150af565b612002565b34801561090557600080fd5b506000546001600160a01b0316610406565b6104fe612103565b34801561092b57600080fd5b506104fe61093a3660046150af565b6124d4565b34801561094b57600080fd5b5060175461049790600160481b900461ffff1681565b34801561096d57600080fd5b506104fe61097c366004614fd7565b612797565b34801561098d57600080fd5b50610438612992565b3480156109a257600080fd5b506104fe6109b1366004615059565b6129a1565b3480156109c257600080fd5b506104656109d1366004614f7b565b6129d5565b3480156109e257600080fd5b506104656109f1366004614f7b565b612a0c565b348015610a0257600080fd5b506104fe610a11366004614fa7565b612a19565b348015610a2257600080fd5b5060175461049790600160881b900461ffff1681565b348015610a4457600080fd5b50610465610a533660046150af565b60216020526000908152604090205460ff1681565b348015610a7457600080fd5b506104bb601c5481565b348015610a8a57600080fd5b506104fe610a99366004614fd7565b612af9565b348015610aaa57600080fd5b50601d54610406906001600160a01b031681565b348015610aca57600080fd5b506104fe610ad9366004614fd7565b612cfe565b348015610aea57600080fd5b5060015461046590600160a01b900460ff1681565b348015610b0b57600080fd5b506104bb610b1a3660046150f1565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b348015610b5157600080fd5b5060175461049790610100900461ffff1681565b348015610b7157600080fd5b506104fe610b80366004615059565b612f03565b348015610b9157600080fd5b506104fe612fdf565b348015610ba657600080fd5b5060175461049790600160981b900461ffff1681565b348015610bc857600080fd5b50610465610bd73660046150af565b602080526000908152604090205460ff1681565b348015610bf757600080fd5b5060175461049790600160381b900461ffff1681565b348015610c1957600080fd5b506104fe610c283660046150af565b6130a3565b348015610c3957600080fd5b5060175461049790600160281b900461ffff1681565b348015610c5b57600080fd5b506104bb601b5481565b348015610c7157600080fd5b506104bb601a5481565b6060600b8054610c8a9061511f565b80601f0160208091040260200160405190810160405280929190818152602001828054610cb69061511f565b8015610d035780601f10610cd857610100808354040283529160200191610d03565b820191906000526020600020905b815481529060010190602001808311610ce657829003601f168201915b5050505050905090565b6000610d1a33848461313b565b5060015b92915050565b6000546001600160a01b03163314610d575760405162461bcd60e51b8152600401610d4e90615159565b60405180910390fd5b612710600854610d6791906151a4565b811015610dc05760405162461bcd60e51b815260206004820152602160248201527f6d617857616c6c6574203e3d20746f74616c20737570706c79202f20313030306044820152600360fc1b6064820152608401610d4e565b601b546040805183815260208101929092527fff64d41f60feb77d52f64ae64a9fc3929d57a89d0cc55728762468bae5e0fe52910160405180910390a1601b55565b6000546001600160a01b03163314610e2c5760405162461bcd60e51b8152600401610d4e90615159565b60175461012c9061ffff6101008204811691600160681b8104821691600160481b8204811691610e6591600160281b90910416876151c6565b610e6f91906151c6565b610e7991906151c6565b610e8391906151c6565b61ffff161115610ea55760405162461bcd60e51b8152600401610d4e906151e1565b60175461012c9061ffff63010000008204811691600160781b8104821691600160581b8204811691610ee091600160381b90910416866151c6565b610eea91906151c6565b610ef491906151c6565b610efe91906151c6565b61ffff161115610f205760405162461bcd60e51b8152600401610d4e90615210565b60968261ffff161115610f455760405162461bcd60e51b8152600401610d4e9061523e565b60968161ffff161115610f6a5760405162461bcd60e51b8152600401610d4e90615267565b6017546040805161ffff85811682528481166020830152600160881b8404811682840152600160981b9093049092166060830152517f01f5c7a45d273917dfc98816f1dd17a88893a7338e7beaa4d305fc8c84f8fe259181900360800190a16017805463ffffffff60881b1916600160881b61ffff9485160261ffff60981b191617600160981b9290931691909102919091179055565b600061100e84848461325f565b6001600160a01b03841660009081526005602090815260408083203380855292529091205461104991869161104490869061528f565b61313b565b5060015b9392505050565b6000546001600160a01b0316331461107e5760405162461bcd60e51b8152600401610d4e90615159565b6001600160a01b038216600090815260208052604090205481151560ff9091161515036110d75760405162461bcd60e51b8152602060048201526007602482015266616c726561647960c81b6044820152606401610d4e565b6001600160a01b03821660008181526020808052604091829020805460ff191685151590811790915591519182527f82170bbd72c16b30c410014b7382121a699ed119a182e48a0b6cadcc89104ac991015b60405180910390a25050565b6000546001600160a01b0316331461115f5760405162461bcd60e51b8152600401610d4e90615159565b60018054911515600160a01b0260ff60a01b19909216919091179055565b60006009548211156111e45760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610d4e565b60006111ee6136f8565b905061104d81846151a4565b6000546001600160a01b031633146112245760405162461bcd60e51b8152600401610d4e90615159565b6001600160a01b03811660009081526006602052604090205460ff1661128c5760405162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f74206578636c756465640000000000000000006044820152606401610d4e565b60005b60075481101561142e57816001600160a01b0316600782815481106112b6576112b66152a2565b6000918252602090912001546001600160a01b03160361141c576001600160a01b0382166000908152600360205260409020546112f16136f8565b6001600160a01b03841660009081526004602052604090205461131491906152b8565b6001600160a01b038416600090815260036020526040902081905560095461133d90839061528f565b61134791906152cf565b6009556001600160a01b0383166000908152600660205260409020805460ff191690556007805461137a9060019061528f565b8154811061138a5761138a6152a2565b600091825260209091200154600780546001600160a01b0390921691849081106113b6576113b66152a2565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060078054806113f5576113f56152e2565b600082815260209020810160001990810180546001600160a01b0319169055019055505050565b80611426816152f8565b91505061128f565b5050565b3360008181526005602090815260408083206001600160a01b03871684529091528120549091610d1a9185906110449086906152cf565b60006008548311156114bd5760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610d4e565b60006114c76136f8565b9050826114e45760006114da82866152b8565b9250610d1e915050565b60006114ef8561371b565b505050505090506000828261150491906152b8565b9350610d1e92505050565b5092915050565b6000546001600160a01b031633146115405760405162461bcd60e51b8152600401610d4e90615159565b6001600160a01b0382166115965760405162461bcd60e51b815260206004820152601b60248201527f6d61726b6574696e672077616c6c65742063616e2774206265203000000000006044820152606401610d4e565b6019546001600160a01b03908116908316036115c45760405162461bcd60e51b8152600401610d4e90615311565b601854604080518315158152600160a01b830460ff16151560208201526001600160a01b03928316928516917fc8dfdd9b91ac62ee1bd8be3541ea02d8e584461c794c6e49e94ccf21c71ebcca910160405180910390a360188054911515600160a01b026001600160a81b03199092166001600160a01b039093169283179190911790556000908152601f60209081526040808320805460ff199081166001908117909255928052922080549091169091179055565b6000546001600160a01b031633146116a45760405162461bcd60e51b8152600401610d4e90615159565b6001600160a01b03811660009081526006602052604090205460ff161561170d5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610d4e565b60075460329061171e9060016152cf565b11156117a85760405162461bcd60e51b815260206004820152604d60248201527f43616e6e6f74206578636c756465206d6f7265207468616e203530206163636f60448201527f756e74732e2020496e636c75646520612070726576696f75736c79206578636c60648201526c3ab232b21030b2323932b9b99760991b608482015260a401610d4e565b6001600160a01b03811660009081526003602052604090205415611802576001600160a01b0381166000908152600360205260409020546117e89061117d565b6001600160a01b0382166000908152600460205260409020555b6001600160a01b03166000818152600660205260408120805460ff191660019081179091556007805491820181559091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880180546001600160a01b0319169091179055565b6000546001600160a01b031633146118925760405162461bcd60e51b8152600401610d4e90615159565b601d546001600160a01b03908116908216036118fc5760405162461bcd60e51b815260206004820152602360248201527f54686520726f7574657220616c7265616479206861732074686174206164647260448201526265737360e81b6064820152608401610d4e565b601d546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3601d80546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a01559160048083019260209291908290030181865afa158015611993573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119b79190615364565b6002546040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af1158015611a08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a2c9190615364565b601e80546001600160a01b0319166001600160a01b0383811691909117909155601d54919250611a619130911660001961313b565b601d60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ab4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ad89190615364565b6002546001600160a01b03908116911614611b6957600254601d5460405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291169063095ea7b3906044016020604051808303816000875af1158015611b43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b679190615381565b505b601e5461142e906001600160a01b03166001613785565b6001600160a01b03811660009081526006602052604081205460ff1615611bbd57506001600160a01b031660009081526004602052604090205490565b6001600160a01b038216600090815260036020526040902054610d1e9061117d565b6000546001600160a01b03163314611c095760405162461bcd60e51b8152600401610d4e90615159565b611c1360006138b5565b565b6000546001600160a01b03163314611c3f5760405162461bcd60e51b8152600401610d4e90615159565b60008111611c885760405162461bcd60e51b815260206004820152601660248201527506d696e416d6f756e74546f54616b65466565203e20360541b6044820152606401610d4e565b601a546040805183815260208101929092527f772a06bc936eb749842080c472181e970cd4f23bd1ab7d0b84a80aec26910434910160405180910390a1601a55565b6000546001600160a01b03163314611cf45760405162461bcd60e51b8152600401610d4e90615159565b6001600160a01b038116611d4a5760405162461bcd60e51b815260206004820152601a60248201527f54726561737572792077616c6c65742063616e277420626520300000000000006044820152606401610d4e565b6018546001600160a01b03808316911603611d775760405162461bcd60e51b8152600401610d4e90615311565b6019546040516001600160a01b03918216918316907f79a52cbec002ef70283103eb4140713100276944fca2819713130141d04df18390600090a3601980546001600160a01b039092166001600160a01b0319909216821790556000908152601f60209081526040808320805460ff199081166001908117909255928052922080549091169091179055565b6000546001600160a01b03163314611e2d5760405162461bcd60e51b8152600401610d4e90615159565b60175461012c9061ffff600160881b82048116916101008104821691600160481b8204811691611e6691600160281b90910416876151c6565b611e7091906151c6565b611e7a91906151c6565b611e8491906151c6565b61ffff161115611ea65760405162461bcd60e51b8152600401610d4e906151e1565b60175461012c9061ffff600160981b820481169163010000008104821691600160581b8204811691611ee191600160381b90910416866151c6565b611eeb91906151c6565b611ef591906151c6565b611eff91906151c6565b61ffff161115611f215760405162461bcd60e51b8152600401610d4e90615210565b60968261ffff161115611f465760405162461bcd60e51b8152600401610d4e9061523e565b60968161ffff161115611f6b5760405162461bcd60e51b8152600401610d4e90615267565b6017546040805161ffff85811682528481166020830152600160681b8404811682840152600160781b9093049092166060830152517f2893ef6309f9df0d45b134fcb021eb854592432db91782f02ce6b9029d1470319181900360800190a16017805463ffffffff60681b1916600160681b61ffff9485160261ffff60781b191617600160781b9290931691909102919091179055565b6000546001600160a01b0316331461202c5760405162461bcd60e51b8152600401610d4e90615159565b6001600160a01b03811630036120725760405162461bcd60e51b815260206004820152600b60248201526a139bdd08185b1b1bddd95960aa1b6044820152606401610d4e565b6121006120876000546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa1580156120cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120ef919061539e565b6001600160a01b0384169190613905565b50565b604080516002808252606082018352600092602083019080368337505060025482519293506001600160a01b031691839150600090612144576121446152a2565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110612178576121786152a2565b6001600160a01b03928316602091820292909201810191909152601d54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156121d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121f59190615364565b6001600160a01b031681600081518110612211576122116152a2565b60200260200101516001600160a01b03160361229957601d5460405163b6f9de9560e01b81526001600160a01b039091169063b6f9de9590349061226290600090869061dead9042906004016153fb565b6000604051808303818588803b15801561227b57600080fd5b505af115801561228f573d6000803e3d6000fd5b505050505061239f565b6002546000906001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa1580156122f2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612316919061539e565b9050612330336002546001600160a01b031690308461396d565b601d54604051635c11d79560e01b81526001600160a01b0390911690635c11d7959061236b908490600090879061dead904290600401615430565b600060405180830381600087803b15801561238557600080fd5b505af1158015612399573d6000803e3d6000fd5b50505050505b61dead60005260046020527f42c63635470f1fb1d6d4b6441c413cb435b1ebb6fedd1896dd5e25d1399147dd546008546123d9919061528f565b60085561dead60005260036020527f262bb27bbdd95c1cdc8e16957e36e38579ea44f7f6413dd7a9c75939def06b2c54600954612416919061528f565b60095561dead6000818152600460209081527f42c63635470f1fb1d6d4b6441c413cb435b1ebb6fedd1896dd5e25d1399147dd546040519081529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35061dead60009081527f262bb27bbdd95c1cdc8e16957e36e38579ea44f7f6413dd7a9c75939def06b2c81905560046020527f42c63635470f1fb1d6d4b6441c413cb435b1ebb6fedd1896dd5e25d1399147dd55565b6000546001600160a01b031633146124fe5760405162461bcd60e51b8152600401610d4e90615159565b6002546001600160a01b03908116908216036125725760405162461bcd60e51b815260206004820152602d60248201527f5468652062617365546f6b656e466f725061697220616c72656164792068617360448201526c2074686174206164647265737360981b6064820152608401610d4e565b600280546001600160a01b0319166001600160a01b0383811691909117909155601d546040805163c45a015560e01b81529051919092169163c45a01559160048083019260209291908290030181865afa1580156125d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f89190615364565b6002546040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af1158015612649573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061266d9190615364565b601e80546001600160a01b0319166001600160a01b03928316179055601d54604080516315ab88c960e31b81529051919092169163ad5c46489160048083019260209291908290030181865afa1580156126cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126ef9190615364565b6002546001600160a01b0390811691161461278057600254601d5460405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291169063095ea7b3906044016020604051808303816000875af115801561275a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061277e9190615381565b505b601e54612100906001600160a01b03166001613785565b6000546001600160a01b031633146127c15760405162461bcd60e51b8152600401610d4e90615159565b60175461012c9061ffff600160881b8204811691600160681b8104821691600160481b82048116916127fc91600160281b90910416876151c6565b61280691906151c6565b61281091906151c6565b61281a91906151c6565b61ffff16111561283c5760405162461bcd60e51b8152600401610d4e906151e1565b60175461012c9061ffff600160981b8204811691600160781b8104821691600160581b820481169161287791600160381b90910416866151c6565b61288191906151c6565b61288b91906151c6565b61289591906151c6565b61ffff1611156128b75760405162461bcd60e51b8152600401610d4e90615210565b60968261ffff1611156128dc5760405162461bcd60e51b8152600401610d4e9061523e565b60968161ffff1611156129015760405162461bcd60e51b8152600401610d4e90615267565b6017546040805161ffff85811682528481166020830152610100840481168284015263010000009093049092166060830152517f0a21d45dab14d5d2f53ae98d95d951cd627fcf1b5bc485174326568b5e0a45729181900360800190a16017805464ffffffff00191661010061ffff9485160264ffff00000019161763010000009290931691909102919091179055565b6060600c8054610c8a9061511f565b6000546001600160a01b031633146129cb5760405162461bcd60e51b8152600401610d4e90615159565b61142e8282613785565b3360008181526005602090815260408083206001600160a01b03871684529091528120549091610d1a91859061104490869061528f565b6000610d1a33848461325f565b6000546001600160a01b03163314612a435760405162461bcd60e51b8152600401610d4e90615159565b612710600854612a5391906151a4565b811015612ab75760405162461bcd60e51b815260206004820152602c60248201527f6d61785472616e73616374696f6e416d6f756e74203e3d20746f74616c20737560448201526b070706c79202f2031303030360a41b6064820152608401610d4e565b601c546040805183815260208101929092527f35eec0711af6fbe3039535323be51b57996b6945b0d55862607c7a02e52e4507910160405180910390a1601c55565b6000546001600160a01b03163314612b235760405162461bcd60e51b8152600401610d4e90615159565b60175461012c9061ffff600160881b8204811691600160681b81048216916101008204811691612b5c91600160281b90910416876151c6565b612b6691906151c6565b612b7091906151c6565b612b7a91906151c6565b61ffff161115612b9c5760405162461bcd60e51b8152600401610d4e906151e1565b60175461012c9061ffff600160981b8204811691600160781b810482169163010000008204811691612bd791600160381b90910416866151c6565b612be191906151c6565b612beb91906151c6565b612bf591906151c6565b61ffff161115612c175760405162461bcd60e51b8152600401610d4e90615210565b60968261ffff161115612c3c5760405162461bcd60e51b8152600401610d4e9061523e565b60968161ffff161115612c615760405162461bcd60e51b8152600401610d4e90615267565b6017546040805161ffff85811682528481166020830152600160481b8404811682840152600160581b9093049092166060830152517f1d6b62961d401d548eb1549c97109c0b905ccd7af9c3777d3076cc8438fdfe659181900360800190a1601780546cffffffff0000000000000000001916600160481b61ffff9485160261ffff60581b191617600160581b9290931691909102919091179055565b6000546001600160a01b03163314612d285760405162461bcd60e51b8152600401610d4e90615159565b60175461012c9061ffff600160881b8204811691600160681b81048216916101008204811691612d6191600160481b90910416876151c6565b612d6b91906151c6565b612d7591906151c6565b612d7f91906151c6565b61ffff161115612da15760405162461bcd60e51b8152600401610d4e906151e1565b60175461012c9061ffff600160981b8204811691600160781b810482169163010000008204811691612ddc91600160581b90910416866151c6565b612de691906151c6565b612df091906151c6565b612dfa91906151c6565b61ffff161115612e1c5760405162461bcd60e51b8152600401610d4e90615210565b60968261ffff161115612e415760405162461bcd60e51b8152600401610d4e9061523e565b60968161ffff161115612e665760405162461bcd60e51b8152600401610d4e90615267565b6017546040805161ffff85811682528481166020830152600160281b8404811682840152600160381b9093049092166060830152517f95c5c99557725e816faf752c6675d63483841c28a7a009ed792470a9cb4dea239181900360800190a16017805468ffffffff00000000001916600160281b61ffff9485160268ffff00000000000000191617600160381b9290931691909102919091179055565b6000546001600160a01b03163314612f2d5760405162461bcd60e51b8152600401610d4e90615159565b6001600160a01b0382166000908152601f602052604090205481151560ff909116151503612f875760405162461bcd60e51b8152602060048201526007602482015266616c726561647960c81b6044820152606401610d4e565b6001600160a01b0382166000818152601f6020908152604091829020805460ff191685151590811790915591519182527f2d43abd87b27cee7b0aa8c6f7e0b4a3247b683262a83cbc2318b0df398a49aa99101611129565b6000546001600160a01b031633146130095760405162461bcd60e51b8152600401610d4e90615159565b600080546040516001600160a01b039091169047908381818185875af1925050503d8060008114613056576040519150601f19603f3d011682016040523d82523d6000602084013e61305b565b606091505b50509050806121005760405162461bcd60e51b815260206004820152601460248201527311985a5b1959081a5b881dda5d1a191c985dd85b60621b6044820152606401610d4e565b6000546001600160a01b031633146130cd5760405162461bcd60e51b8152600401610d4e90615159565b6001600160a01b0381166131325760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d4e565b612100816138b5565b6001600160a01b03831661319d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610d4e565b6001600160a01b0382166131fe5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610d4e565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166132c35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610d4e565b6001600160a01b0382166133255760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610d4e565b60175460ff161580156133415750600154600160a01b900460ff165b801561336657506001600160a01b0383166000908152601f602052604090205460ff16155b801561338b57506001600160a01b0382166000908152601f602052604090205460ff16155b156133ff5760015460405163090ec10b60e31b81526001600160a01b03858116600483015284811660248301526044820184905290911690634876085890606401600060405180830381600087803b1580156133e657600080fd5b505af11580156133fa573d6000803e3d6000fd5b505050505b600061340a30611b80565b601a546017549192508210159060ff161580156134245750805b80156134455750601e54600090613443906001600160a01b0316611b80565b115b801561346957506001600160a01b03841660009081526021602052604090205460ff165b15613476576134766139ab565b6134b1600d8054600e55600f805460105560118054601255601380546014556015805460165560009081905590819055908190559182905555565b60175460ff161580156134dd57506001600160a01b0385166000908152601f602052604090205460ff16155b801561350257506001600160a01b0384166000908152601f602052604090205460ff16155b156135d1576001600160a01b03851660009081526021602052604090205460ff161561356f5760175461ffff630100000082048116600d55600160381b82048116600f55600160581b82048116601155600160781b82048116601355600160981b909104166015556135d1565b6001600160a01b03841660009081526021602052604090205460ff16156135d15760175461ffff61010082048116600d55600160281b82048116600f55600160481b82048116601155600160681b82048116601355600160881b909104166015555b6135dc85858561420a565b6135ff601654601555601454601355600e54600d55601054600f55601254601155565b60175460ff166136f1576001600160a01b038516600090815260208052604090205460ff1661367957601c5483106136795760405162461bcd60e51b815260206004820152601d60248201527f45524332303a2065786365656473207472616e73666572206c696d69740000006044820152606401610d4e565b6001600160a01b038416600090815260208052604090205460ff166136f157601b546136a485611b80565b106136f15760405162461bcd60e51b815260206004820152601f60248201527f45524332303a2065786365656473206d61782077616c6c6574206c696d6974006044820152606401610d4e565b5050505050565b60008060006137056146c7565b909250905061371481836151a4565b9250505090565b600080600080600080600061372f8861484a565b9050600061373c89614867565b905060006137498a61487a565b905060006137568b61488d565b905060006137638c6148a0565b905060006137708d6148b3565b9d959c50939a50919850965094509092505050565b6001600160a01b03821660009081526021602052604090205481151560ff90911615150361381b5760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610d4e565b6001600160a01b0382166000908152602160205260409020805460ff19168215801591909117909155613856576138518261167a565b61385f565b61385f826111fa565b6001600160a01b03821660008181526020808052604091829020805460ff191685151590811790915591519182527fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab9101611129565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b03831660248201526044810182905261396890849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152614906565b505050565b6040516001600160a01b03808516602483015283166044820152606481018290526139a59085906323b872dd60e01b90608401613931565b50505050565b6017805460ff1916600117905560006139c330611b80565b905060006024546023546022546139da91906152cf565b6139e491906152cf565b90508015806139f257508082105b156139fe5750506141fe565b60006002602254613a0f91906151a4565b90506000601d60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015613a66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a8a9190615364565b6002546001600160a01b03908116911614613b10576002546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015613ae7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b0b919061539e565b613b12565b475b9050600080601860149054906101000a900460ff1615613e3e57600060245460235486613b3f91906152cf565b613b4991906152cf565b90508015613b5a57613b5a816149d8565b601d54604080516315ab88c960e31b815290516000926001600160a01b03169163ad5c46489160048083019260209291908290030181865afa158015613ba4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613bc89190615364565b6002546001600160a01b03908116911614613c58576002546040516370a0823160e01b815230600482015286916001600160a01b0316906370a0823190602401602060405180830381865afa158015613c25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c49919061539e565b613c53919061528f565b613c62565b613c62854761528f565b905060008260235483613c7591906152b8565b613c7f91906151a4565b905082613c8c88846152b8565b613c9691906151a4565b945084613ca3828461528f565b613cad919061528f565b93508015613e3657601d60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015613d08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d2c9190615364565b6002546001600160a01b03918216911603613dde576018546040516000916001600160a01b03169083908381818185875af1925050503d8060008114613d8e576040519150601f19603f3d011682016040523d82523d6000602084013e613d93565b606091505b505090508015613dd8576040805160008152602081018490527f6f92bce3e91466137aa4d5474fe565c002872fb18ed6af4a856959be0a81277a910160405180910390a15b50613e36565b601854600254613dfb916001600160a01b03918216911683613905565b6040805160008152602081018390527f6f92bce3e91466137aa4d5474fe565c002872fb18ed6af4a856959be0a81277a910160405180910390a15b505050613ff2565b600060245485613e4e91906152cf565b90508015613e5f57613e5f816149d8565b601d54604080516315ab88c960e31b815290516000926001600160a01b03169163ad5c46489160048083019260209291908290030181865afa158015613ea9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ecd9190615364565b6002546001600160a01b03908116911614613f5d576002546040516370a0823160e01b815230600482015286916001600160a01b0316906370a0823190602401602060405180830381865afa158015613f2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f4e919061539e565b613f58919061528f565b613f67565b613f67854761528f565b905081613f7487836152b8565b613f7e91906151a4565b9350613f8a848261528f565b60235490935015613fef57601854602354613fb29130916001600160a01b039091169061325f565b60235460408051918252600060208301527f6f92bce3e91466137aa4d5474fe565c002872fb18ed6af4a856959be0a81277a910160405180910390a15b50505b6000841180156140025750600082115b1561404b576140118483614ba7565b60408051858152602081018490527f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486910160405180910390a15b80156141c457601d60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156140a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140c89190615364565b6002546001600160a01b03918216911603614173576019546040516000916001600160a01b03169083908381818185875af1925050503d806000811461412a576040519150601f19603f3d011682016040523d82523d6000602084013e61412f565b606091505b50509050801561416d576040518281527fe3630e0003fb3e9f9d835bb839022e52ffd576f9f35c395dd17517106f78cb339060200160405180910390a15b506141c4565b601954600254614190916001600160a01b03918216911683613905565b6040518181527fe3630e0003fb3e9f9d835bb839022e52ffd576f9f35c395dd17517106f78cb339060200160405180910390a15b6000602381905560248190556022556141f7306141e96000546001600160a01b031690565b6141f230611b80565b61325f565b5050505050505b6017805460ff19169055565b60008060008060008061421c8761371b565b95509550955095509550955060006142326136f8565b905081600854614242919061528f565b60085561424f81836152b8565b60095461425c919061528f565b6009556040518281526000906001600160a01b038c16907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3846022546142ae91906152cf565b6022556023546142bf9085906152cf565b6023556024546142d09084906152cf565b6024556000836142e086886152cf565b6142ea91906152cf565b90506142f682826152b8565b3060009081526003602052604090205461431091906152cf565b3060009081526003602090815260408083209390935560069052205460ff1615614360573060009081526004602052604090205461434f9082906152cf565b306000908152600460205260409020555b506001600160a01b038a1660009081526006602052604090205460ff1680156143a257506001600160a01b03891660009081526006602052604090205460ff16155b15614475576001600160a01b038a166000908152600460205260409020546143cb90899061528f565b6001600160a01b038b166000908152600460205260409020556143ee81896152b8565b6001600160a01b038b16600090815260036020526040902054614411919061528f565b6001600160a01b038b1660009081526003602052604090205561443481886152b8565b6001600160a01b038a1660009081526003602052604090205461445791906152cf565b6001600160a01b038a1660009081526003602052604090205561465b565b6001600160a01b038a1660009081526006602052604090205460ff161580156144b657506001600160a01b03891660009081526006602052604090205460ff165b15614542576144c581896152b8565b6001600160a01b038b166000908152600360205260409020546144e8919061528f565b6001600160a01b03808c16600090815260036020908152604080832094909455918c1681526004909152205461451f9088906152cf565b6001600160a01b038a1660009081526004602052604090205561443481886152b8565b6001600160a01b038a1660009081526006602052604090205460ff16801561458257506001600160a01b03891660009081526006602052604090205460ff165b156145ce576001600160a01b038a166000908152600460205260409020546145ab90899061528f565b6001600160a01b038b166000908152600460205260409020556144c581896152b8565b6145d881896152b8565b6001600160a01b038b166000908152600360205260409020546145fb919061528f565b6001600160a01b038b1660009081526003602052604090205561461e81886152b8565b6001600160a01b038a1660009081526003602052604090205461464191906152cf565b6001600160a01b038a166000908152600360205260409020555b61466e61466882886152b8565b87614d68565b886001600160a01b03168a6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef896040516146b391815260200190565b60405180910390a350505050505050505050565b6009546008546000918291825b600754811015614819578260036000600784815481106146f6576146f66152a2565b60009182526020808320909101546001600160a01b031683528201929092526040019020541180614761575081600460006007848154811061473a5761473a6152a2565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561477757600954600854945094505050509091565b600360006007838154811061478e5761478e6152a2565b60009182526020808320909101546001600160a01b031683528201929092526040019020546147bd908461528f565b925060046000600783815481106147d6576147d66152a2565b60009182526020808320909101546001600160a01b03168352820192909252604001902054614805908361528f565b915080614811816152f8565b9150506146d4565b5060085460095461482a91906151a4565b821015614841576009546008549350935050509091565b90939092509050565b60006103e8600d548361485d91906152b8565b610d1e91906151a4565b60006103e8600f548361485d91906152b8565b60006103e86011548361485d91906152b8565b60006103e86013548361485d91906152b8565b60006103e86015548361485d91906152b8565b60006103e8601154600f54600d546013546015546103e86148d4919061528f565b6148de919061528f565b6148e8919061528f565b6148f2919061528f565b6148fc919061528f565b61485d90846152b8565b600061495b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316614d8e9092919063ffffffff16565b80519091501561396857808060200190518101906149799190615381565b6139685760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610d4e565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110614a0d57614a0d6152a2565b6001600160a01b039283166020918202929092010152600254825191169082906001908110614a3e57614a3e6152a2565b6001600160a01b03928316602091820292909201810191909152601d54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015614a97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614abb9190615364565b6001600160a01b031681600181518110614ad757614ad76152a2565b60200260200101516001600160a01b031603614b5c57601d5460405163791ac94760e01b81526001600160a01b039091169063791ac94790614b26908590600090869030904290600401615430565b600060405180830381600087803b158015614b4057600080fd5b505af1158015614b54573d6000803e3d6000fd5b505050505050565b601d54604051637274ca1b60e11b8152731ccfe8c40ef259566433716002e379dfffbf5a3e9163e4e9943691614b26916001600160a01b03169086906000908790429060040161546c565b601d60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015614bfa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614c1e9190615364565b6002546001600160a01b03918216911603614cc657601d5460405163f305d71960e01b815230600482015260248101849052600060448201819052606482015261dead60848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af1158015614ca1573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906136f191906154ab565b601d5460025460405162e8e33760e81b81523060048201526001600160a01b039182166024820152604481018590526064810184905260006084820181905260a482015261dead60c48201524260e482015291169063e8e3370090610104016060604051808303816000875af1158015614d44573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136f191906154ab565b81600954614d76919061528f565b600955600a54614d879082906152cf565b600a555050565b6060614d9d8484600085614da5565b949350505050565b606082471015614e065760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610d4e565b6001600160a01b0385163b614e5d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610d4e565b600080866001600160a01b03168587604051614e7991906154d9565b60006040518083038185875af1925050503d8060008114614eb6576040519150601f19603f3d011682016040523d82523d6000602084013e614ebb565b606091505b5091509150614ecb828286614ed6565b979650505050505050565b60608315614ee557508161104d565b825115614ef55782518084602001fd5b8160405162461bcd60e51b8152600401610d4e9190614f33565b60005b83811015614f2a578181015183820152602001614f12565b50506000910152565b6020815260008251806020840152614f52816040850160208701614f0f565b601f01601f19169190910160400192915050565b6001600160a01b038116811461210057600080fd5b60008060408385031215614f8e57600080fd5b8235614f9981614f66565b946020939093013593505050565b600060208284031215614fb957600080fd5b5035919050565b803561ffff81168114614fd257600080fd5b919050565b60008060408385031215614fea57600080fd5b614ff383614fc0565b915061500160208401614fc0565b90509250929050565b60008060006060848603121561501f57600080fd5b833561502a81614f66565b9250602084013561503a81614f66565b929592945050506040919091013590565b801515811461210057600080fd5b6000806040838503121561506c57600080fd5b823561507781614f66565b915060208301356150878161504b565b809150509250929050565b6000602082840312156150a457600080fd5b813561104d8161504b565b6000602082840312156150c157600080fd5b813561104d81614f66565b600080604083850312156150df57600080fd5b8235915060208301356150878161504b565b6000806040838503121561510457600080fd5b823561510f81614f66565b9150602083013561508781614f66565b600181811c9082168061513357607f821691505b60208210810361515357634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000826151c157634e487b7160e01b600052601260045260246000fd5b500490565b61ffff81811683821601908082111561150f5761150f61518e565b60208082526015908201527473656c6c20746f74616c20666565203c3d2033302560581b604082015260600190565b60208082526014908201527362757920746f74616c20666565203c3d2033302560601b604082015260600190565b6020808252600f908201526e73656c6c20666565203c3d2031352560881b604082015260600190565b6020808252600e908201526d62757920666565203c3d2031352560901b604082015260600190565b81810381811115610d1e57610d1e61518e565b634e487b7160e01b600052603260045260246000fd5b8082028115828204841417610d1e57610d1e61518e565b80820180821115610d1e57610d1e61518e565b634e487b7160e01b600052603160045260246000fd5b60006001820161530a5761530a61518e565b5060010190565b60208082526033908201527f6d61726b6574696e672077616c6c65742063616e27742062652073616d6520776040820152721a5d1a08151c99585cdd5c9e481dd85b1b195d606a1b606082015260800190565b60006020828403121561537657600080fd5b815161104d81614f66565b60006020828403121561539357600080fd5b815161104d8161504b565b6000602082840312156153b057600080fd5b5051919050565b600081518084526020808501945080840160005b838110156153f05781516001600160a01b0316875295820195908201906001016153cb565b509495945050505050565b84815260806020820152600061541460808301866153b7565b6001600160a01b03949094166040830152506060015292915050565b85815284602082015260a06040820152600061544f60a08301866153b7565b6001600160a01b0394909416606083015250608001529392505050565b60018060a01b038616815284602082015283604082015260a06060820152600061549960a08301856153b7565b90508260808301529695505050505050565b6000806000606084860312156154c057600080fd5b8351925060208401519150604084015190509250925092565b600082516154eb818460208701614f0f565b919091019291505056fea2646970667358221220396677e4ff963e1827a856dba56e99815b19c315d1a318a213c5689618f8ac4964736f6c63430008120033a66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6884f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657200000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000152d02c7e14af680000000000000000000000000000000000000000000000000006c6b935b8bbd40000000000000000000000000000000000000000000000000003635c9adc5dea00000000000000000000000000000a784e92327607ad4a92fb447845ecd8c9874ef730000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000004a4caf434ad2f37286a9f63d8ff73a5bfec024940000000000000000000000005d73f4b0d6e65323af1955c5f7ceb9a8fa2f3d8e00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a43494e444552454c4c4100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000643494e4445520000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106103d25760003560e01c8063809d458d116101fd578063b62496f511610118578063df8408fe116100ab578063f11a24d31161007a578063f11a24d314610beb578063f2fde38b14610c0d578063f637434214610c2d578063f8b45b0514610c4f578063fc59d23d14610c6557600080fd5b8063df8408fe14610b65578063e086e5ec14610b85578063e71dc3f514610b9a578063e9481eee14610bbc57600080fd5b8063d68f8cde116100e7578063d68f8cde14610abe578063d8c6404b14610ade578063dd62ed3e14610aff578063de0aad5314610b4557600080fd5b8063b62496f514610a38578063c8c8ebe414610a68578063cf089e1314610a7e578063cf188ad014610a9e57600080fd5b80639213691311610190578063a457c2d71161015f578063a457c2d7146109b6578063a9059cbb146109d6578063aa498023146109f6578063adb873bd14610a1657600080fd5b8063921369131461093f578063948384dc1461096157806395d89b41146109815780639a7a23d61461099657600080fd5b806389476069116101cc57806389476069146108d95780638da5cb5b146108f95780638f0bc1671461091757806391c1004a1461091f57600080fd5b8063809d458d146108405780638276e5b01461086057806385af30c51461088057806388f82020146108a057600080fd5b80634626402b116102ed57806370a082311161028057806377ec74491161024f57806377ec7449146107b65780637bce5a04146107d65780637c75ad3a146107f85780637cf84bd71461082057600080fd5b806370a0823114610741578063715018a61461076157806373b9e82c1461077657806375f0a8741461079657600080fd5b806357e62b98116102bc57806357e62b98146106bc5780635c068a8c146106dd57806365b8dbc0146106ff5780636b2fb1241461071f57600080fd5b80634626402b1461062c5780634707c5511461064c57806352390c021461066c5780635342acb41461068c57600080fd5b806323b872dd11610365578063313ce56711610334578063313ce567146105a05780633685d419146105cc57806339509351146105ec5780634549b0391461060c57600080fd5b806323b872dd146105205780632ae2f121146105405780632d5fd55a146105605780632d8381191461058057600080fd5b806313114a9d116103a157806313114a9d146104aa57806318160ddd146104c95780631c499ab0146104de5780632073bd851461050057600080fd5b806306e29712146103de57806306fdde0314610423578063095ea7b3146104455780630cfe2f3f1461047557600080fd5b366103d957005b600080fd5b3480156103ea57600080fd5b5061040673fd6439aeff9d2389856b7486b9e74a6dacadcdce81565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561042f57600080fd5b50610438610c7b565b60405161041a9190614f33565b34801561045157600080fd5b50610465610460366004614f7b565b610d0d565b604051901515815260200161041a565b34801561048157600080fd5b50601754610497906301000000900461ffff1681565b60405161ffff909116815260200161041a565b3480156104b657600080fd5b50600a545b60405190815260200161041a565b3480156104d557600080fd5b506008546104bb565b3480156104ea57600080fd5b506104fe6104f9366004614fa7565b610d24565b005b34801561050c57600080fd5b506104fe61051b366004614fd7565b610e02565b34801561052c57600080fd5b5061046561053b36600461500a565b611001565b34801561054c57600080fd5b506104fe61055b366004615059565b611054565b34801561056c57600080fd5b506104fe61057b366004615092565b611135565b34801561058c57600080fd5b506104bb61059b366004614fa7565b61117d565b3480156105ac57600080fd5b50600254600160a01b900460ff1660405160ff909116815260200161041a565b3480156105d857600080fd5b506104fe6105e73660046150af565b6111fa565b3480156105f857600080fd5b50610465610607366004614f7b565b611432565b34801561061857600080fd5b506104bb6106273660046150cc565b611469565b34801561063857600080fd5b50601954610406906001600160a01b031681565b34801561065857600080fd5b506104fe610667366004615059565b611516565b34801561067857600080fd5b506104fe6106873660046150af565b61167a565b34801561069857600080fd5b506104656106a73660046150af565b601f6020526000908152604090205460ff1681565b3480156106c857600080fd5b5060185461046590600160a01b900460ff1681565b3480156106e957600080fd5b5060175461049790600160781b900461ffff1681565b34801561070b57600080fd5b506104fe61071a3660046150af565b611868565b34801561072b57600080fd5b5060175461049790600160681b900461ffff1681565b34801561074d57600080fd5b506104bb61075c3660046150af565b611b80565b34801561076d57600080fd5b506104fe611bdf565b34801561078257600080fd5b506104fe610791366004614fa7565b611c15565b3480156107a257600080fd5b50601854610406906001600160a01b031681565b3480156107c257600080fd5b50600154610406906001600160a01b031681565b3480156107e257600080fd5b5060175461049790600160581b900461ffff1681565b34801561080457600080fd5b50610406731ccfe8c40ef259566433716002e379dfffbf5a3e81565b34801561082c57600080fd5b50600254610406906001600160a01b031681565b34801561084c57600080fd5b506104fe61085b3660046150af565b611cca565b34801561086c57600080fd5b506104fe61087b366004614fd7565b611e03565b34801561088c57600080fd5b50601e54610406906001600160a01b031681565b3480156108ac57600080fd5b506104656108bb3660046150af565b6001600160a01b031660009081526006602052604090205460ff1690565b3480156108e557600080fd5b506104fe6108f43660046150af565b612002565b34801561090557600080fd5b506000546001600160a01b0316610406565b6104fe612103565b34801561092b57600080fd5b506104fe61093a3660046150af565b6124d4565b34801561094b57600080fd5b5060175461049790600160481b900461ffff1681565b34801561096d57600080fd5b506104fe61097c366004614fd7565b612797565b34801561098d57600080fd5b50610438612992565b3480156109a257600080fd5b506104fe6109b1366004615059565b6129a1565b3480156109c257600080fd5b506104656109d1366004614f7b565b6129d5565b3480156109e257600080fd5b506104656109f1366004614f7b565b612a0c565b348015610a0257600080fd5b506104fe610a11366004614fa7565b612a19565b348015610a2257600080fd5b5060175461049790600160881b900461ffff1681565b348015610a4457600080fd5b50610465610a533660046150af565b60216020526000908152604090205460ff1681565b348015610a7457600080fd5b506104bb601c5481565b348015610a8a57600080fd5b506104fe610a99366004614fd7565b612af9565b348015610aaa57600080fd5b50601d54610406906001600160a01b031681565b348015610aca57600080fd5b506104fe610ad9366004614fd7565b612cfe565b348015610aea57600080fd5b5060015461046590600160a01b900460ff1681565b348015610b0b57600080fd5b506104bb610b1a3660046150f1565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b348015610b5157600080fd5b5060175461049790610100900461ffff1681565b348015610b7157600080fd5b506104fe610b80366004615059565b612f03565b348015610b9157600080fd5b506104fe612fdf565b348015610ba657600080fd5b5060175461049790600160981b900461ffff1681565b348015610bc857600080fd5b50610465610bd73660046150af565b602080526000908152604090205460ff1681565b348015610bf757600080fd5b5060175461049790600160381b900461ffff1681565b348015610c1957600080fd5b506104fe610c283660046150af565b6130a3565b348015610c3957600080fd5b5060175461049790600160281b900461ffff1681565b348015610c5b57600080fd5b506104bb601b5481565b348015610c7157600080fd5b506104bb601a5481565b6060600b8054610c8a9061511f565b80601f0160208091040260200160405190810160405280929190818152602001828054610cb69061511f565b8015610d035780601f10610cd857610100808354040283529160200191610d03565b820191906000526020600020905b815481529060010190602001808311610ce657829003601f168201915b5050505050905090565b6000610d1a33848461313b565b5060015b92915050565b6000546001600160a01b03163314610d575760405162461bcd60e51b8152600401610d4e90615159565b60405180910390fd5b612710600854610d6791906151a4565b811015610dc05760405162461bcd60e51b815260206004820152602160248201527f6d617857616c6c6574203e3d20746f74616c20737570706c79202f20313030306044820152600360fc1b6064820152608401610d4e565b601b546040805183815260208101929092527fff64d41f60feb77d52f64ae64a9fc3929d57a89d0cc55728762468bae5e0fe52910160405180910390a1601b55565b6000546001600160a01b03163314610e2c5760405162461bcd60e51b8152600401610d4e90615159565b60175461012c9061ffff6101008204811691600160681b8104821691600160481b8204811691610e6591600160281b90910416876151c6565b610e6f91906151c6565b610e7991906151c6565b610e8391906151c6565b61ffff161115610ea55760405162461bcd60e51b8152600401610d4e906151e1565b60175461012c9061ffff63010000008204811691600160781b8104821691600160581b8204811691610ee091600160381b90910416866151c6565b610eea91906151c6565b610ef491906151c6565b610efe91906151c6565b61ffff161115610f205760405162461bcd60e51b8152600401610d4e90615210565b60968261ffff161115610f455760405162461bcd60e51b8152600401610d4e9061523e565b60968161ffff161115610f6a5760405162461bcd60e51b8152600401610d4e90615267565b6017546040805161ffff85811682528481166020830152600160881b8404811682840152600160981b9093049092166060830152517f01f5c7a45d273917dfc98816f1dd17a88893a7338e7beaa4d305fc8c84f8fe259181900360800190a16017805463ffffffff60881b1916600160881b61ffff9485160261ffff60981b191617600160981b9290931691909102919091179055565b600061100e84848461325f565b6001600160a01b03841660009081526005602090815260408083203380855292529091205461104991869161104490869061528f565b61313b565b5060015b9392505050565b6000546001600160a01b0316331461107e5760405162461bcd60e51b8152600401610d4e90615159565b6001600160a01b038216600090815260208052604090205481151560ff9091161515036110d75760405162461bcd60e51b8152602060048201526007602482015266616c726561647960c81b6044820152606401610d4e565b6001600160a01b03821660008181526020808052604091829020805460ff191685151590811790915591519182527f82170bbd72c16b30c410014b7382121a699ed119a182e48a0b6cadcc89104ac991015b60405180910390a25050565b6000546001600160a01b0316331461115f5760405162461bcd60e51b8152600401610d4e90615159565b60018054911515600160a01b0260ff60a01b19909216919091179055565b60006009548211156111e45760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610d4e565b60006111ee6136f8565b905061104d81846151a4565b6000546001600160a01b031633146112245760405162461bcd60e51b8152600401610d4e90615159565b6001600160a01b03811660009081526006602052604090205460ff1661128c5760405162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f74206578636c756465640000000000000000006044820152606401610d4e565b60005b60075481101561142e57816001600160a01b0316600782815481106112b6576112b66152a2565b6000918252602090912001546001600160a01b03160361141c576001600160a01b0382166000908152600360205260409020546112f16136f8565b6001600160a01b03841660009081526004602052604090205461131491906152b8565b6001600160a01b038416600090815260036020526040902081905560095461133d90839061528f565b61134791906152cf565b6009556001600160a01b0383166000908152600660205260409020805460ff191690556007805461137a9060019061528f565b8154811061138a5761138a6152a2565b600091825260209091200154600780546001600160a01b0390921691849081106113b6576113b66152a2565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060078054806113f5576113f56152e2565b600082815260209020810160001990810180546001600160a01b0319169055019055505050565b80611426816152f8565b91505061128f565b5050565b3360008181526005602090815260408083206001600160a01b03871684529091528120549091610d1a9185906110449086906152cf565b60006008548311156114bd5760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610d4e565b60006114c76136f8565b9050826114e45760006114da82866152b8565b9250610d1e915050565b60006114ef8561371b565b505050505090506000828261150491906152b8565b9350610d1e92505050565b5092915050565b6000546001600160a01b031633146115405760405162461bcd60e51b8152600401610d4e90615159565b6001600160a01b0382166115965760405162461bcd60e51b815260206004820152601b60248201527f6d61726b6574696e672077616c6c65742063616e2774206265203000000000006044820152606401610d4e565b6019546001600160a01b03908116908316036115c45760405162461bcd60e51b8152600401610d4e90615311565b601854604080518315158152600160a01b830460ff16151560208201526001600160a01b03928316928516917fc8dfdd9b91ac62ee1bd8be3541ea02d8e584461c794c6e49e94ccf21c71ebcca910160405180910390a360188054911515600160a01b026001600160a81b03199092166001600160a01b039093169283179190911790556000908152601f60209081526040808320805460ff199081166001908117909255928052922080549091169091179055565b6000546001600160a01b031633146116a45760405162461bcd60e51b8152600401610d4e90615159565b6001600160a01b03811660009081526006602052604090205460ff161561170d5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610d4e565b60075460329061171e9060016152cf565b11156117a85760405162461bcd60e51b815260206004820152604d60248201527f43616e6e6f74206578636c756465206d6f7265207468616e203530206163636f60448201527f756e74732e2020496e636c75646520612070726576696f75736c79206578636c60648201526c3ab232b21030b2323932b9b99760991b608482015260a401610d4e565b6001600160a01b03811660009081526003602052604090205415611802576001600160a01b0381166000908152600360205260409020546117e89061117d565b6001600160a01b0382166000908152600460205260409020555b6001600160a01b03166000818152600660205260408120805460ff191660019081179091556007805491820181559091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880180546001600160a01b0319169091179055565b6000546001600160a01b031633146118925760405162461bcd60e51b8152600401610d4e90615159565b601d546001600160a01b03908116908216036118fc5760405162461bcd60e51b815260206004820152602360248201527f54686520726f7574657220616c7265616479206861732074686174206164647260448201526265737360e81b6064820152608401610d4e565b601d546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3601d80546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a01559160048083019260209291908290030181865afa158015611993573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119b79190615364565b6002546040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af1158015611a08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a2c9190615364565b601e80546001600160a01b0319166001600160a01b0383811691909117909155601d54919250611a619130911660001961313b565b601d60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ab4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ad89190615364565b6002546001600160a01b03908116911614611b6957600254601d5460405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291169063095ea7b3906044016020604051808303816000875af1158015611b43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b679190615381565b505b601e5461142e906001600160a01b03166001613785565b6001600160a01b03811660009081526006602052604081205460ff1615611bbd57506001600160a01b031660009081526004602052604090205490565b6001600160a01b038216600090815260036020526040902054610d1e9061117d565b6000546001600160a01b03163314611c095760405162461bcd60e51b8152600401610d4e90615159565b611c1360006138b5565b565b6000546001600160a01b03163314611c3f5760405162461bcd60e51b8152600401610d4e90615159565b60008111611c885760405162461bcd60e51b815260206004820152601660248201527506d696e416d6f756e74546f54616b65466565203e20360541b6044820152606401610d4e565b601a546040805183815260208101929092527f772a06bc936eb749842080c472181e970cd4f23bd1ab7d0b84a80aec26910434910160405180910390a1601a55565b6000546001600160a01b03163314611cf45760405162461bcd60e51b8152600401610d4e90615159565b6001600160a01b038116611d4a5760405162461bcd60e51b815260206004820152601a60248201527f54726561737572792077616c6c65742063616e277420626520300000000000006044820152606401610d4e565b6018546001600160a01b03808316911603611d775760405162461bcd60e51b8152600401610d4e90615311565b6019546040516001600160a01b03918216918316907f79a52cbec002ef70283103eb4140713100276944fca2819713130141d04df18390600090a3601980546001600160a01b039092166001600160a01b0319909216821790556000908152601f60209081526040808320805460ff199081166001908117909255928052922080549091169091179055565b6000546001600160a01b03163314611e2d5760405162461bcd60e51b8152600401610d4e90615159565b60175461012c9061ffff600160881b82048116916101008104821691600160481b8204811691611e6691600160281b90910416876151c6565b611e7091906151c6565b611e7a91906151c6565b611e8491906151c6565b61ffff161115611ea65760405162461bcd60e51b8152600401610d4e906151e1565b60175461012c9061ffff600160981b820481169163010000008104821691600160581b8204811691611ee191600160381b90910416866151c6565b611eeb91906151c6565b611ef591906151c6565b611eff91906151c6565b61ffff161115611f215760405162461bcd60e51b8152600401610d4e90615210565b60968261ffff161115611f465760405162461bcd60e51b8152600401610d4e9061523e565b60968161ffff161115611f6b5760405162461bcd60e51b8152600401610d4e90615267565b6017546040805161ffff85811682528481166020830152600160681b8404811682840152600160781b9093049092166060830152517f2893ef6309f9df0d45b134fcb021eb854592432db91782f02ce6b9029d1470319181900360800190a16017805463ffffffff60681b1916600160681b61ffff9485160261ffff60781b191617600160781b9290931691909102919091179055565b6000546001600160a01b0316331461202c5760405162461bcd60e51b8152600401610d4e90615159565b6001600160a01b03811630036120725760405162461bcd60e51b815260206004820152600b60248201526a139bdd08185b1b1bddd95960aa1b6044820152606401610d4e565b6121006120876000546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa1580156120cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120ef919061539e565b6001600160a01b0384169190613905565b50565b604080516002808252606082018352600092602083019080368337505060025482519293506001600160a01b031691839150600090612144576121446152a2565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110612178576121786152a2565b6001600160a01b03928316602091820292909201810191909152601d54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156121d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121f59190615364565b6001600160a01b031681600081518110612211576122116152a2565b60200260200101516001600160a01b03160361229957601d5460405163b6f9de9560e01b81526001600160a01b039091169063b6f9de9590349061226290600090869061dead9042906004016153fb565b6000604051808303818588803b15801561227b57600080fd5b505af115801561228f573d6000803e3d6000fd5b505050505061239f565b6002546000906001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa1580156122f2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612316919061539e565b9050612330336002546001600160a01b031690308461396d565b601d54604051635c11d79560e01b81526001600160a01b0390911690635c11d7959061236b908490600090879061dead904290600401615430565b600060405180830381600087803b15801561238557600080fd5b505af1158015612399573d6000803e3d6000fd5b50505050505b61dead60005260046020527f42c63635470f1fb1d6d4b6441c413cb435b1ebb6fedd1896dd5e25d1399147dd546008546123d9919061528f565b60085561dead60005260036020527f262bb27bbdd95c1cdc8e16957e36e38579ea44f7f6413dd7a9c75939def06b2c54600954612416919061528f565b60095561dead6000818152600460209081527f42c63635470f1fb1d6d4b6441c413cb435b1ebb6fedd1896dd5e25d1399147dd546040519081529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35061dead60009081527f262bb27bbdd95c1cdc8e16957e36e38579ea44f7f6413dd7a9c75939def06b2c81905560046020527f42c63635470f1fb1d6d4b6441c413cb435b1ebb6fedd1896dd5e25d1399147dd55565b6000546001600160a01b031633146124fe5760405162461bcd60e51b8152600401610d4e90615159565b6002546001600160a01b03908116908216036125725760405162461bcd60e51b815260206004820152602d60248201527f5468652062617365546f6b656e466f725061697220616c72656164792068617360448201526c2074686174206164647265737360981b6064820152608401610d4e565b600280546001600160a01b0319166001600160a01b0383811691909117909155601d546040805163c45a015560e01b81529051919092169163c45a01559160048083019260209291908290030181865afa1580156125d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f89190615364565b6002546040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af1158015612649573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061266d9190615364565b601e80546001600160a01b0319166001600160a01b03928316179055601d54604080516315ab88c960e31b81529051919092169163ad5c46489160048083019260209291908290030181865afa1580156126cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126ef9190615364565b6002546001600160a01b0390811691161461278057600254601d5460405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291169063095ea7b3906044016020604051808303816000875af115801561275a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061277e9190615381565b505b601e54612100906001600160a01b03166001613785565b6000546001600160a01b031633146127c15760405162461bcd60e51b8152600401610d4e90615159565b60175461012c9061ffff600160881b8204811691600160681b8104821691600160481b82048116916127fc91600160281b90910416876151c6565b61280691906151c6565b61281091906151c6565b61281a91906151c6565b61ffff16111561283c5760405162461bcd60e51b8152600401610d4e906151e1565b60175461012c9061ffff600160981b8204811691600160781b8104821691600160581b820481169161287791600160381b90910416866151c6565b61288191906151c6565b61288b91906151c6565b61289591906151c6565b61ffff1611156128b75760405162461bcd60e51b8152600401610d4e90615210565b60968261ffff1611156128dc5760405162461bcd60e51b8152600401610d4e9061523e565b60968161ffff1611156129015760405162461bcd60e51b8152600401610d4e90615267565b6017546040805161ffff85811682528481166020830152610100840481168284015263010000009093049092166060830152517f0a21d45dab14d5d2f53ae98d95d951cd627fcf1b5bc485174326568b5e0a45729181900360800190a16017805464ffffffff00191661010061ffff9485160264ffff00000019161763010000009290931691909102919091179055565b6060600c8054610c8a9061511f565b6000546001600160a01b031633146129cb5760405162461bcd60e51b8152600401610d4e90615159565b61142e8282613785565b3360008181526005602090815260408083206001600160a01b03871684529091528120549091610d1a91859061104490869061528f565b6000610d1a33848461325f565b6000546001600160a01b03163314612a435760405162461bcd60e51b8152600401610d4e90615159565b612710600854612a5391906151a4565b811015612ab75760405162461bcd60e51b815260206004820152602c60248201527f6d61785472616e73616374696f6e416d6f756e74203e3d20746f74616c20737560448201526b070706c79202f2031303030360a41b6064820152608401610d4e565b601c546040805183815260208101929092527f35eec0711af6fbe3039535323be51b57996b6945b0d55862607c7a02e52e4507910160405180910390a1601c55565b6000546001600160a01b03163314612b235760405162461bcd60e51b8152600401610d4e90615159565b60175461012c9061ffff600160881b8204811691600160681b81048216916101008204811691612b5c91600160281b90910416876151c6565b612b6691906151c6565b612b7091906151c6565b612b7a91906151c6565b61ffff161115612b9c5760405162461bcd60e51b8152600401610d4e906151e1565b60175461012c9061ffff600160981b8204811691600160781b810482169163010000008204811691612bd791600160381b90910416866151c6565b612be191906151c6565b612beb91906151c6565b612bf591906151c6565b61ffff161115612c175760405162461bcd60e51b8152600401610d4e90615210565b60968261ffff161115612c3c5760405162461bcd60e51b8152600401610d4e9061523e565b60968161ffff161115612c615760405162461bcd60e51b8152600401610d4e90615267565b6017546040805161ffff85811682528481166020830152600160481b8404811682840152600160581b9093049092166060830152517f1d6b62961d401d548eb1549c97109c0b905ccd7af9c3777d3076cc8438fdfe659181900360800190a1601780546cffffffff0000000000000000001916600160481b61ffff9485160261ffff60581b191617600160581b9290931691909102919091179055565b6000546001600160a01b03163314612d285760405162461bcd60e51b8152600401610d4e90615159565b60175461012c9061ffff600160881b8204811691600160681b81048216916101008204811691612d6191600160481b90910416876151c6565b612d6b91906151c6565b612d7591906151c6565b612d7f91906151c6565b61ffff161115612da15760405162461bcd60e51b8152600401610d4e906151e1565b60175461012c9061ffff600160981b8204811691600160781b810482169163010000008204811691612ddc91600160581b90910416866151c6565b612de691906151c6565b612df091906151c6565b612dfa91906151c6565b61ffff161115612e1c5760405162461bcd60e51b8152600401610d4e90615210565b60968261ffff161115612e415760405162461bcd60e51b8152600401610d4e9061523e565b60968161ffff161115612e665760405162461bcd60e51b8152600401610d4e90615267565b6017546040805161ffff85811682528481166020830152600160281b8404811682840152600160381b9093049092166060830152517f95c5c99557725e816faf752c6675d63483841c28a7a009ed792470a9cb4dea239181900360800190a16017805468ffffffff00000000001916600160281b61ffff9485160268ffff00000000000000191617600160381b9290931691909102919091179055565b6000546001600160a01b03163314612f2d5760405162461bcd60e51b8152600401610d4e90615159565b6001600160a01b0382166000908152601f602052604090205481151560ff909116151503612f875760405162461bcd60e51b8152602060048201526007602482015266616c726561647960c81b6044820152606401610d4e565b6001600160a01b0382166000818152601f6020908152604091829020805460ff191685151590811790915591519182527f2d43abd87b27cee7b0aa8c6f7e0b4a3247b683262a83cbc2318b0df398a49aa99101611129565b6000546001600160a01b031633146130095760405162461bcd60e51b8152600401610d4e90615159565b600080546040516001600160a01b039091169047908381818185875af1925050503d8060008114613056576040519150601f19603f3d011682016040523d82523d6000602084013e61305b565b606091505b50509050806121005760405162461bcd60e51b815260206004820152601460248201527311985a5b1959081a5b881dda5d1a191c985dd85b60621b6044820152606401610d4e565b6000546001600160a01b031633146130cd5760405162461bcd60e51b8152600401610d4e90615159565b6001600160a01b0381166131325760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d4e565b612100816138b5565b6001600160a01b03831661319d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610d4e565b6001600160a01b0382166131fe5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610d4e565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166132c35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610d4e565b6001600160a01b0382166133255760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610d4e565b60175460ff161580156133415750600154600160a01b900460ff165b801561336657506001600160a01b0383166000908152601f602052604090205460ff16155b801561338b57506001600160a01b0382166000908152601f602052604090205460ff16155b156133ff5760015460405163090ec10b60e31b81526001600160a01b03858116600483015284811660248301526044820184905290911690634876085890606401600060405180830381600087803b1580156133e657600080fd5b505af11580156133fa573d6000803e3d6000fd5b505050505b600061340a30611b80565b601a546017549192508210159060ff161580156134245750805b80156134455750601e54600090613443906001600160a01b0316611b80565b115b801561346957506001600160a01b03841660009081526021602052604090205460ff165b15613476576134766139ab565b6134b1600d8054600e55600f805460105560118054601255601380546014556015805460165560009081905590819055908190559182905555565b60175460ff161580156134dd57506001600160a01b0385166000908152601f602052604090205460ff16155b801561350257506001600160a01b0384166000908152601f602052604090205460ff16155b156135d1576001600160a01b03851660009081526021602052604090205460ff161561356f5760175461ffff630100000082048116600d55600160381b82048116600f55600160581b82048116601155600160781b82048116601355600160981b909104166015556135d1565b6001600160a01b03841660009081526021602052604090205460ff16156135d15760175461ffff61010082048116600d55600160281b82048116600f55600160481b82048116601155600160681b82048116601355600160881b909104166015555b6135dc85858561420a565b6135ff601654601555601454601355600e54600d55601054600f55601254601155565b60175460ff166136f1576001600160a01b038516600090815260208052604090205460ff1661367957601c5483106136795760405162461bcd60e51b815260206004820152601d60248201527f45524332303a2065786365656473207472616e73666572206c696d69740000006044820152606401610d4e565b6001600160a01b038416600090815260208052604090205460ff166136f157601b546136a485611b80565b106136f15760405162461bcd60e51b815260206004820152601f60248201527f45524332303a2065786365656473206d61782077616c6c6574206c696d6974006044820152606401610d4e565b5050505050565b60008060006137056146c7565b909250905061371481836151a4565b9250505090565b600080600080600080600061372f8861484a565b9050600061373c89614867565b905060006137498a61487a565b905060006137568b61488d565b905060006137638c6148a0565b905060006137708d6148b3565b9d959c50939a50919850965094509092505050565b6001600160a01b03821660009081526021602052604090205481151560ff90911615150361381b5760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610d4e565b6001600160a01b0382166000908152602160205260409020805460ff19168215801591909117909155613856576138518261167a565b61385f565b61385f826111fa565b6001600160a01b03821660008181526020808052604091829020805460ff191685151590811790915591519182527fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab9101611129565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b03831660248201526044810182905261396890849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152614906565b505050565b6040516001600160a01b03808516602483015283166044820152606481018290526139a59085906323b872dd60e01b90608401613931565b50505050565b6017805460ff1916600117905560006139c330611b80565b905060006024546023546022546139da91906152cf565b6139e491906152cf565b90508015806139f257508082105b156139fe5750506141fe565b60006002602254613a0f91906151a4565b90506000601d60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015613a66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a8a9190615364565b6002546001600160a01b03908116911614613b10576002546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015613ae7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b0b919061539e565b613b12565b475b9050600080601860149054906101000a900460ff1615613e3e57600060245460235486613b3f91906152cf565b613b4991906152cf565b90508015613b5a57613b5a816149d8565b601d54604080516315ab88c960e31b815290516000926001600160a01b03169163ad5c46489160048083019260209291908290030181865afa158015613ba4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613bc89190615364565b6002546001600160a01b03908116911614613c58576002546040516370a0823160e01b815230600482015286916001600160a01b0316906370a0823190602401602060405180830381865afa158015613c25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c49919061539e565b613c53919061528f565b613c62565b613c62854761528f565b905060008260235483613c7591906152b8565b613c7f91906151a4565b905082613c8c88846152b8565b613c9691906151a4565b945084613ca3828461528f565b613cad919061528f565b93508015613e3657601d60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015613d08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d2c9190615364565b6002546001600160a01b03918216911603613dde576018546040516000916001600160a01b03169083908381818185875af1925050503d8060008114613d8e576040519150601f19603f3d011682016040523d82523d6000602084013e613d93565b606091505b505090508015613dd8576040805160008152602081018490527f6f92bce3e91466137aa4d5474fe565c002872fb18ed6af4a856959be0a81277a910160405180910390a15b50613e36565b601854600254613dfb916001600160a01b03918216911683613905565b6040805160008152602081018390527f6f92bce3e91466137aa4d5474fe565c002872fb18ed6af4a856959be0a81277a910160405180910390a15b505050613ff2565b600060245485613e4e91906152cf565b90508015613e5f57613e5f816149d8565b601d54604080516315ab88c960e31b815290516000926001600160a01b03169163ad5c46489160048083019260209291908290030181865afa158015613ea9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ecd9190615364565b6002546001600160a01b03908116911614613f5d576002546040516370a0823160e01b815230600482015286916001600160a01b0316906370a0823190602401602060405180830381865afa158015613f2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f4e919061539e565b613f58919061528f565b613f67565b613f67854761528f565b905081613f7487836152b8565b613f7e91906151a4565b9350613f8a848261528f565b60235490935015613fef57601854602354613fb29130916001600160a01b039091169061325f565b60235460408051918252600060208301527f6f92bce3e91466137aa4d5474fe565c002872fb18ed6af4a856959be0a81277a910160405180910390a15b50505b6000841180156140025750600082115b1561404b576140118483614ba7565b60408051858152602081018490527f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486910160405180910390a15b80156141c457601d60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156140a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140c89190615364565b6002546001600160a01b03918216911603614173576019546040516000916001600160a01b03169083908381818185875af1925050503d806000811461412a576040519150601f19603f3d011682016040523d82523d6000602084013e61412f565b606091505b50509050801561416d576040518281527fe3630e0003fb3e9f9d835bb839022e52ffd576f9f35c395dd17517106f78cb339060200160405180910390a15b506141c4565b601954600254614190916001600160a01b03918216911683613905565b6040518181527fe3630e0003fb3e9f9d835bb839022e52ffd576f9f35c395dd17517106f78cb339060200160405180910390a15b6000602381905560248190556022556141f7306141e96000546001600160a01b031690565b6141f230611b80565b61325f565b5050505050505b6017805460ff19169055565b60008060008060008061421c8761371b565b95509550955095509550955060006142326136f8565b905081600854614242919061528f565b60085561424f81836152b8565b60095461425c919061528f565b6009556040518281526000906001600160a01b038c16907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3846022546142ae91906152cf565b6022556023546142bf9085906152cf565b6023556024546142d09084906152cf565b6024556000836142e086886152cf565b6142ea91906152cf565b90506142f682826152b8565b3060009081526003602052604090205461431091906152cf565b3060009081526003602090815260408083209390935560069052205460ff1615614360573060009081526004602052604090205461434f9082906152cf565b306000908152600460205260409020555b506001600160a01b038a1660009081526006602052604090205460ff1680156143a257506001600160a01b03891660009081526006602052604090205460ff16155b15614475576001600160a01b038a166000908152600460205260409020546143cb90899061528f565b6001600160a01b038b166000908152600460205260409020556143ee81896152b8565b6001600160a01b038b16600090815260036020526040902054614411919061528f565b6001600160a01b038b1660009081526003602052604090205561443481886152b8565b6001600160a01b038a1660009081526003602052604090205461445791906152cf565b6001600160a01b038a1660009081526003602052604090205561465b565b6001600160a01b038a1660009081526006602052604090205460ff161580156144b657506001600160a01b03891660009081526006602052604090205460ff165b15614542576144c581896152b8565b6001600160a01b038b166000908152600360205260409020546144e8919061528f565b6001600160a01b03808c16600090815260036020908152604080832094909455918c1681526004909152205461451f9088906152cf565b6001600160a01b038a1660009081526004602052604090205561443481886152b8565b6001600160a01b038a1660009081526006602052604090205460ff16801561458257506001600160a01b03891660009081526006602052604090205460ff165b156145ce576001600160a01b038a166000908152600460205260409020546145ab90899061528f565b6001600160a01b038b166000908152600460205260409020556144c581896152b8565b6145d881896152b8565b6001600160a01b038b166000908152600360205260409020546145fb919061528f565b6001600160a01b038b1660009081526003602052604090205561461e81886152b8565b6001600160a01b038a1660009081526003602052604090205461464191906152cf565b6001600160a01b038a166000908152600360205260409020555b61466e61466882886152b8565b87614d68565b886001600160a01b03168a6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef896040516146b391815260200190565b60405180910390a350505050505050505050565b6009546008546000918291825b600754811015614819578260036000600784815481106146f6576146f66152a2565b60009182526020808320909101546001600160a01b031683528201929092526040019020541180614761575081600460006007848154811061473a5761473a6152a2565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561477757600954600854945094505050509091565b600360006007838154811061478e5761478e6152a2565b60009182526020808320909101546001600160a01b031683528201929092526040019020546147bd908461528f565b925060046000600783815481106147d6576147d66152a2565b60009182526020808320909101546001600160a01b03168352820192909252604001902054614805908361528f565b915080614811816152f8565b9150506146d4565b5060085460095461482a91906151a4565b821015614841576009546008549350935050509091565b90939092509050565b60006103e8600d548361485d91906152b8565b610d1e91906151a4565b60006103e8600f548361485d91906152b8565b60006103e86011548361485d91906152b8565b60006103e86013548361485d91906152b8565b60006103e86015548361485d91906152b8565b60006103e8601154600f54600d546013546015546103e86148d4919061528f565b6148de919061528f565b6148e8919061528f565b6148f2919061528f565b6148fc919061528f565b61485d90846152b8565b600061495b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316614d8e9092919063ffffffff16565b80519091501561396857808060200190518101906149799190615381565b6139685760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610d4e565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110614a0d57614a0d6152a2565b6001600160a01b039283166020918202929092010152600254825191169082906001908110614a3e57614a3e6152a2565b6001600160a01b03928316602091820292909201810191909152601d54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015614a97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614abb9190615364565b6001600160a01b031681600181518110614ad757614ad76152a2565b60200260200101516001600160a01b031603614b5c57601d5460405163791ac94760e01b81526001600160a01b039091169063791ac94790614b26908590600090869030904290600401615430565b600060405180830381600087803b158015614b4057600080fd5b505af1158015614b54573d6000803e3d6000fd5b505050505050565b601d54604051637274ca1b60e11b8152731ccfe8c40ef259566433716002e379dfffbf5a3e9163e4e9943691614b26916001600160a01b03169086906000908790429060040161546c565b601d60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015614bfa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614c1e9190615364565b6002546001600160a01b03918216911603614cc657601d5460405163f305d71960e01b815230600482015260248101849052600060448201819052606482015261dead60848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af1158015614ca1573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906136f191906154ab565b601d5460025460405162e8e33760e81b81523060048201526001600160a01b039182166024820152604481018590526064810184905260006084820181905260a482015261dead60c48201524260e482015291169063e8e3370090610104016060604051808303816000875af1158015614d44573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136f191906154ab565b81600954614d76919061528f565b600955600a54614d879082906152cf565b600a555050565b6060614d9d8484600085614da5565b949350505050565b606082471015614e065760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610d4e565b6001600160a01b0385163b614e5d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610d4e565b600080866001600160a01b03168587604051614e7991906154d9565b60006040518083038185875af1925050503d8060008114614eb6576040519150601f19603f3d011682016040523d82523d6000602084013e614ebb565b606091505b5091509150614ecb828286614ed6565b979650505050505050565b60608315614ee557508161104d565b825115614ef55782518084602001fd5b8160405162461bcd60e51b8152600401610d4e9190614f33565b60005b83811015614f2a578181015183820152602001614f12565b50506000910152565b6020815260008251806020840152614f52816040850160208701614f0f565b601f01601f19169190910160400192915050565b6001600160a01b038116811461210057600080fd5b60008060408385031215614f8e57600080fd5b8235614f9981614f66565b946020939093013593505050565b600060208284031215614fb957600080fd5b5035919050565b803561ffff81168114614fd257600080fd5b919050565b60008060408385031215614fea57600080fd5b614ff383614fc0565b915061500160208401614fc0565b90509250929050565b60008060006060848603121561501f57600080fd5b833561502a81614f66565b9250602084013561503a81614f66565b929592945050506040919091013590565b801515811461210057600080fd5b6000806040838503121561506c57600080fd5b823561507781614f66565b915060208301356150878161504b565b809150509250929050565b6000602082840312156150a457600080fd5b813561104d8161504b565b6000602082840312156150c157600080fd5b813561104d81614f66565b600080604083850312156150df57600080fd5b8235915060208301356150878161504b565b6000806040838503121561510457600080fd5b823561510f81614f66565b9150602083013561508781614f66565b600181811c9082168061513357607f821691505b60208210810361515357634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000826151c157634e487b7160e01b600052601260045260246000fd5b500490565b61ffff81811683821601908082111561150f5761150f61518e565b60208082526015908201527473656c6c20746f74616c20666565203c3d2033302560581b604082015260600190565b60208082526014908201527362757920746f74616c20666565203c3d2033302560601b604082015260600190565b6020808252600f908201526e73656c6c20666565203c3d2031352560881b604082015260600190565b6020808252600e908201526d62757920666565203c3d2031352560901b604082015260600190565b81810381811115610d1e57610d1e61518e565b634e487b7160e01b600052603260045260246000fd5b8082028115828204841417610d1e57610d1e61518e565b80820180821115610d1e57610d1e61518e565b634e487b7160e01b600052603160045260246000fd5b60006001820161530a5761530a61518e565b5060010190565b60208082526033908201527f6d61726b6574696e672077616c6c65742063616e27742062652073616d6520776040820152721a5d1a08151c99585cdd5c9e481dd85b1b195d606a1b606082015260800190565b60006020828403121561537657600080fd5b815161104d81614f66565b60006020828403121561539357600080fd5b815161104d8161504b565b6000602082840312156153b057600080fd5b5051919050565b600081518084526020808501945080840160005b838110156153f05781516001600160a01b0316875295820195908201906001016153cb565b509495945050505050565b84815260806020820152600061541460808301866153b7565b6001600160a01b03949094166040830152506060015292915050565b85815284602082015260a06040820152600061544f60a08301866153b7565b6001600160a01b0394909416606083015250608001529392505050565b60018060a01b038616815284602082015283604082015260a06060820152600061549960a08301856153b7565b90508260808301529695505050505050565b6000806000606084860312156154c057600080fd5b8351925060208401519150604084015190509250925092565b600082516154eb818460208701614f0f565b919091019291505056fea2646970667358221220396677e4ff963e1827a856dba56e99815b19c315d1a318a213c5689618f8ac4964736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000152d02c7e14af680000000000000000000000000000000000000000000000000006c6b935b8bbd40000000000000000000000000000000000000000000000000003635c9adc5dea00000000000000000000000000000a784e92327607ad4a92fb447845ecd8c9874ef730000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000004a4caf434ad2f37286a9f63d8ff73a5bfec024940000000000000000000000005d73f4b0d6e65323af1955c5f7ceb9a8fa2f3d8e00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a43494e444552454c4c4100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000643494e4445520000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : __name (string): CINDERELLA
Arg [1] : __symbol (string): CINDER
Arg [2] : __decimals (uint8): 18
Arg [3] : _totalSupply (uint256): 100000000000000000000000
Arg [4] : _maxWallet (uint256): 2000000000000000000000
Arg [5] : _maxTransactionAmount (uint256): 1000000000000000000000
Arg [6] : _accounts (address[5]): 0xa784E92327607AD4A92fb447845ECD8C9874eF73,0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D,0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2,0x4a4cAF434ad2F37286A9f63d8FF73A5bFEc02494,0x5d73f4B0D6e65323af1955C5f7CEB9A8Fa2F3d8E
Arg [7] : _isMarketingFeeBaseToken (bool): True
Arg [8] : _fees (uint16[10]): 0,0,100,50,0,0,100,50,0,0
-----Encoded View---------------
26 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000002c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000300
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 00000000000000000000000000000000000000000000152d02c7e14af6800000
Arg [4] : 00000000000000000000000000000000000000000000006c6b935b8bbd400000
Arg [5] : 00000000000000000000000000000000000000000000003635c9adc5dea00000
Arg [6] : 000000000000000000000000a784e92327607ad4a92fb447845ecd8c9874ef73
Arg [7] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [8] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [9] : 0000000000000000000000004a4caf434ad2f37286a9f63d8ff73a5bfec02494
Arg [10] : 0000000000000000000000005d73f4b0d6e65323af1955c5f7ceb9a8fa2f3d8e
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [21] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [22] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [23] : 43494e444552454c4c4100000000000000000000000000000000000000000000
Arg [24] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [25] : 43494e4445520000000000000000000000000000000000000000000000000000
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.