ERC-20
Overview
Max Total Supply
100,000,000,000,000 Benni
Holders
41
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 15 Decimals)
Balance
40,597,727,465.818392445021253 BenniValue
$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 / 1000, "maxTransactionAmount >= total supply / 1000"); require(_maxWallet>=_totalSupply / 1000, "maxWallet >= total supply / 1000"); 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 _rOwned[address(0xdead)] = _rOwned[address(0xdead)] + tBurn*currentRate; _tOwned[address(0xdead)] = _tOwned[address(0xdead)] + tBurn; emit Transfer(sender, address(0xdead), 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 / 1000, "maxWallet >= total supply / 1000"); emit UpdateMaxWallet(_maxWallet, maxWallet); maxWallet = _maxWallet; } function updateMaxTransactionAmount(uint256 _maxTransactionAmount) external onlyOwner { require(_maxTransactionAmount>=_tTotal, "maxTransactionAmount >= total supply / 1000"); 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 (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 (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 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 v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (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); } } } }
{ "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
60806040526040516200767438038062007674833981016040819052620000269162001d45565b6200003133620011c9565b604051636944d6f160e11b815260048082015273fd6439aeff9d2389856b7486b9e74a6dacadcdce9063d289ade29034906024016000604051808303818588803b1580156200007f57600080fd5b505af115801562000094573d6000803e3d6000fd5b505050505082600260058110620000af57620000af62001e23565b6020020151600280546001600160a01b039092166001600160a81b031990921691909117600160a01b60ff8a1602179055600b620000ee8a8262001ec8565b50600c620000fd898262001ec8565b506008869055620001118660001962001faa565b6200011f9060001962001fd7565b60098190553360009081526003602052604090205582516001600160a01b0316620001915760405162461bcd60e51b815260206004820152601d60248201527f6d61726b6574696e672077616c6c65742063616e206e6f74206265203000000060448201526064015b60405180910390fd5b60208301516001600160a01b0316620001ed5760405162461bcd60e51b815260206004820152601b60248201527f526f7574657220616464726573732063616e206e6f7420626520300000000000604482015260640162000188565b60608301516001600160a01b0316620002495760405162461bcd60e51b815260206004820152601c60248201527f54726561737572792077616c6c65742063616e206e6f74206265203000000000604482015260640162000188565b825160608401516001600160a01b03918216911603620002d25760405162461bcd60e51b815260206004820152603560248201527f54726561737572792077616c6c65742063616e206e6f742062652073616d652060448201527f77697468206d61726b6574696e672077616c6c65740000000000000000000000606482015260840162000188565b61010081015160c082015160808301516040840151845161012c94939291620002fb9162001ff3565b62000307919062001ff3565b62000313919062001ff3565b6200031f919062001ff3565b61ffff161115620003735760405162461bcd60e51b815260206004820152601560248201527f73656c6c20746f74616c20666565203c3d203330250000000000000000000000604482015260640162000188565b61012081015160e082015160a08301516060840151602085015161012c949392916200039f9162001ff3565b620003ab919062001ff3565b620003b7919062001ff3565b620003c3919062001ff3565b61ffff161115620004175760405162461bcd60e51b815260206004820152601460248201527f62757920746f74616c20666565203c3d20333025000000000000000000000000604482015260640162000188565b8051609661ffff90911610620004615760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6096816001602002015161ffff1610620004af5760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6096816002602002015161ffff1610620004fd5760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6096816003602002015161ffff16106200054b5760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6096816004602002015161ffff1610620005995760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6096816005602002015161ffff1610620005e75760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6096816006602002015161ffff1610620006355760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6096816007602002015161ffff1610620006835760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6096816008602002015161ffff1610620006d15760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6096816009602002015161ffff16106200071f5760405162461bcd60e51b815260206004820152600e60248201526d6561636820666565203c2031352560901b604482015260640162000188565b6080830151600180546001600160a01b039092166001600160a01b0319909216821790556040516318e02bd960e01b81523360048201526318e02bd990602401600060405180830381600087803b1580156200077a57600080fd5b505af11580156200078f573d6000803e3d6000fd5b505060018054600160a01b60ff60a01b1990911681179091558551601880546060890151601980546001600160a01b039283166001600160a01b03199190911617905588151585026001600160a81b0319909216938116938417821792839055604080519590930460ff161515855260006020860181905296501690911792507fc8dfdd9b91ac62ee1bd8be3541ea02d8e584461c794c6e49e94ccf21c71ebcca910160405180910390a36019546040516000916001600160a01b0316907f79a52cbec002ef70283103eb4140713100276944fca2819713130141d04df183908390a3602083810151601d80546001600160a01b0319166001600160a01b039092169182179055604080516315ab88c960e31b81529051919263ad5c4648926004808401938290030181865afa158015620008ce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008f4919062002018565b6002546001600160a01b039081169116146200098957600254601d5460405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291169063095ea7b3906044016020604051808303816000875af115801562000961573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000987919062002036565b505b620009ac30731ccfe8c40ef259566433716002e379dfffbf5a3e60001962001219565b601d54620009c89030906001600160a01b031660001962001219565b601d546040516000916001600160a01b0316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e908390a3601d60009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000a54573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a7a919062002018565b6002546040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af115801562000acc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000af2919062002018565b601e80546001600160a01b0319166001600160a01b039290921691909117905580516017805460208085015163ffffffff60281b1990921661ffff9485166501000000000090810261ffff60381b19169190911767010000000000000093861684021793849055604080519185048616825292909304909316928201929092526000818301819052606082015290517f95c5c99557725e816faf752c6675d63483841c28a7a009ed792470a9cb4dea239181900360800190a16040818101516017805460608086015163ffffffff60481b1990921661ffff948516690100000000000000000090810261ffff60581b1916919091176b0100000000000000000000009386168402179384905585519084048516815291909204909216602083015260008284018190529082015290517f1d6b62961d401d548eb1549c97109c0b905ccd7af9c3777d3076cc8438fdfe659181900360800190a160c08101516017805460e084015163ffffffff60681b1990911661ffff9384166d010000000000000000000000000090810261ffff60781b191691909117600160781b9285168302179283905560408051918404851682529190920490921660208201526000818301819052606082015290517f2893ef6309f9df0d45b134fcb021eb854592432db91782f02ce6b9029d1470319181900360800190a16101008101516017805461012084015163ffffffff60881b1990911661ffff938416600160881b90810261ffff60981b191691909117600160981b9285168302179283905560408051918404851682529190920490921660208201526000818301819052606082015290517f01f5c7a45d273917dfc98816f1dd17a88893a7338e7beaa4d305fc8c84f8fe259181900360800190a16080808201516017805460a085015161ffff908116630100000090810264ffff0000001961010096841687021664ffffffff00199094169390931792909217928390556040805194840482168552919092049091166020830152600090820181905260608201527f0a21d45dab14d5d2f53ae98d95d951cd627fcf1b5bc485174326568b5e0a4572910160405180910390a162000e1d6127108762002054565b601a81905560408051918252600060208301527f772a06bc936eb749842080c472181e970cd4f23bd1ab7d0b84a80aec26910434910160405180910390a162000e696103e88762002054565b84101562000ece5760405162461bcd60e51b815260206004820152602b60248201527f6d61785472616e73616374696f6e416d6f756e74203e3d20746f74616c20737560448201526a070706c79202f20313030360ac1b606482015260840162000188565b62000edc6103e88762002054565b85101562000f2d5760405162461bcd60e51b815260206004820181905260248201527f6d617857616c6c6574203e3d20746f74616c20737570706c79202f2031303030604482015260640162000188565b601b85905560408051868152600060208201527fff64d41f60feb77d52f64ae64a9fc3929d57a89d0cc55728762468bae5e0fe52910160405180910390a1601c84905560408051858152600060208201527f35eec0711af6fbe3039535323be51b57996b6945b0d55862607c7a02e52e4507910160405180910390a1600660209081527f1aecba4ebe7a4e0673e4891b2b092b2228e4322380b579fb494fad3da8586e228054600160ff19918216811790925560078054808401825560008051602062007634833981519152908101805461dead6001600160a01b031991821617909155306000818152604080822080548816891790558554808901909655949093018054909216179055601f9485905281812080548416851790556018546001600160a01b039081168252828220805485168617905560195416815290812080549092168317909155909190620010823390565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790557fef94442dfc0e910ca743614215a10fad3ff708bf5378f9c5c958c9192b3bf0048054861660019081179091558480527fcbaad361c71be11fa6bdbe0e740c6259be964b32182da2da47b54472477c6a1780548716821790553082528382208054871682179055601854831682528382208054871682179055601954909216815291822080549094168117909355620011463390565b6001600160a01b0390811682526020820192909252604001600020805460ff191692151592909217909155601e54620011829116600162001341565b60405186815233906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050505050505050620020cd565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0383166200127d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840162000188565b6001600160a01b038216620012e05760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000188565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03821660009081526021602052604090205481151560ff909116151503620013d95760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c75650000000000000000606482015260840162000188565b6001600160a01b0382166000908152602160205260409020805460ff191682158015919091179091556200141857620014128262001480565b62001423565b620014238262001687565b6001600160a01b03821660008181526020808052604091829020805460ff191685151590811790915591519182527fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab910160405180910390a25050565b6000546001600160a01b03163314620014cb5760405162461bcd60e51b8152602060048201819052602482015260008051602062007654833981519152604482015260640162000188565b6001600160a01b03811660009081526006602052604090205460ff1615620015365760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015260640162000188565b600754603290620015499060016200206b565b1115620015d55760405162461bcd60e51b815260206004820152604d60248201527f43616e6e6f74206578636c756465206d6f7265207468616e203530206163636f60448201527f756e74732e2020496e636c75646520612070726576696f75736c79206578636c60648201526c3ab232b21030b2323932b9b99760991b608482015260a40162000188565b6001600160a01b0381166000908152600360205260409020541562001632576001600160a01b0381166000908152600360205260409020546200161890620018fd565b6001600160a01b0382166000908152600460205260409020555b6001600160a01b03166000818152600660205260408120805460ff19166001908117909155600780549182018155909152600080516020620076348339815191520180546001600160a01b0319169091179055565b6000546001600160a01b03163314620016d25760405162461bcd60e51b8152602060048201819052602482015260008051602062007654833981519152604482015260640162000188565b6001600160a01b03811660009081526006602052604090205460ff166200173c5760405162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f74206578636c75646564000000000000000000604482015260640162000188565b60005b600754811015620018f957816001600160a01b0316600782815481106200176a576200176a62001e23565b6000918252602090912001546001600160a01b031603620018e4576001600160a01b038216600090815260036020526040902054620017a862001987565b6001600160a01b038416600090815260046020526040902054620017cd919062002081565b6001600160a01b0384166000908152600360205260409020819055600954620017f890839062001fd7565b6200180491906200206b565b6009556001600160a01b0383166000908152600660205260409020805460ff1916905560078054620018399060019062001fd7565b815481106200184c576200184c62001e23565b600091825260209091200154600780546001600160a01b0390921691849081106200187b576200187b62001e23565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506007805480620018bd57620018bd6200209b565b600082815260209020810160001990810180546001600160a01b0319169055019055505050565b80620018f081620020b1565b9150506200173f565b5050565b6000600954821115620019665760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b606482015260840162000188565b60006200197262001987565b905062001980818462002054565b9392505050565b6000808062001995620019ad565b9092509050620019a6818362002054565b9250505090565b6009546008546000918291825b60075481101562001b1557826003600060078481548110620019e057620019e062001e23565b60009182526020808320909101546001600160a01b03168352820192909252604001902054118062001a4f575081600460006007848154811062001a285762001a2862001e23565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1562001a6657600954600854945094505050509091565b600360006007838154811062001a805762001a8062001e23565b60009182526020808320909101546001600160a01b0316835282019290925260400190205462001ab1908462001fd7565b9250600460006007838154811062001acd5762001acd62001e23565b60009182526020808320909101546001600160a01b0316835282019290925260400190205462001afe908362001fd7565b91508062001b0c81620020b1565b915050620019ba565b5060085460095462001b28919062002054565b82101562001b40576009546008549350935050509091565b90939092509050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562001b8a5762001b8a62001b49565b604052919050565b600082601f83011262001ba457600080fd5b81516001600160401b0381111562001bc05762001bc062001b49565b602062001bd6601f8301601f1916820162001b5f565b828152858284870101111562001beb57600080fd5b60005b8381101562001c0b57858101830151828201840152820162001bee565b506000928101909101919091529392505050565b80516001600160a01b038116811462001c3757600080fd5b919050565b600082601f83011262001c4e57600080fd5b60405160a081016001600160401b038111828210171562001c735762001c7362001b49565b6040528060a084018581111562001c8957600080fd5b845b8181101562001cae5762001c9f8162001c1f565b83526020928301920162001c8b565b509195945050505050565b8051801515811462001c3757600080fd5b600082601f83011262001cdc57600080fd5b6040516101408082016001600160401b038111838210171562001d035762001d0362001b49565b6040528301818582111562001d1757600080fd5b845b8281101562001cae57805161ffff8116811462001d365760008081fd5b82526020918201910162001d19565b60008060008060008060008060006102c08a8c03121562001d6557600080fd5b89516001600160401b038082111562001d7d57600080fd5b62001d8b8d838e0162001b92565b9a5060208c015191508082111562001da257600080fd5b5062001db18c828d0162001b92565b98505060408a015160ff8116811462001dc957600080fd5b8097505060608a0151955060808a0151945060a08a0151935062001df18b60c08c0162001c3c565b925062001e026101608b0162001cb9565b915062001e148b6101808c0162001cca565b90509295985092959850929598565b634e487b7160e01b600052603260045260246000fd5b600181811c9082168062001e4e57607f821691505b60208210810362001e6f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562001ec357600081815260208120601f850160051c8101602086101562001e9e5750805b601f850160051c820191505b8181101562001ebf5782815560010162001eaa565b5050505b505050565b81516001600160401b0381111562001ee45762001ee462001b49565b62001efc8162001ef5845462001e39565b8462001e75565b602080601f83116001811462001f34576000841562001f1b5750858301515b600019600386901b1c1916600185901b17855562001ebf565b600085815260208120601f198616915b8281101562001f655788860151825594840194600190910190840162001f44565b508582101562001f845787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601260045260246000fd5b60008262001fbc5762001fbc62001f94565b500690565b634e487b7160e01b600052601160045260246000fd5b8181038181111562001fed5762001fed62001fc1565b92915050565b61ffff81811683821601908082111562002011576200201162001fc1565b5092915050565b6000602082840312156200202b57600080fd5b620019808262001c1f565b6000602082840312156200204957600080fd5b620019808262001cb9565b60008262002066576200206662001f94565b500490565b8082018082111562001fed5762001fed62001fc1565b808202811582820484141762001fed5762001fed62001fc1565b634e487b7160e01b600052603160045260246000fd5b600060018201620020c657620020c662001fc1565b5060010190565b61555780620020dd6000396000f3fe6080604052600436106103d25760003560e01c8063809d458d116101fd578063b62496f511610118578063df8408fe116100ab578063f11a24d31161007a578063f11a24d314610beb578063f2fde38b14610c0d578063f637434214610c2d578063f8b45b0514610c4f578063fc59d23d14610c6557600080fd5b8063df8408fe14610b65578063e086e5ec14610b85578063e71dc3f514610b9a578063e9481eee14610bbc57600080fd5b8063d68f8cde116100e7578063d68f8cde14610abe578063d8c6404b14610ade578063dd62ed3e14610aff578063de0aad5314610b4557600080fd5b8063b62496f514610a38578063c8c8ebe414610a68578063cf089e1314610a7e578063cf188ad014610a9e57600080fd5b80639213691311610190578063a457c2d71161015f578063a457c2d7146109b6578063a9059cbb146109d6578063aa498023146109f6578063adb873bd14610a1657600080fd5b8063921369131461093f578063948384dc1461096157806395d89b41146109815780639a7a23d61461099657600080fd5b806389476069116101cc57806389476069146108d95780638da5cb5b146108f95780638f0bc1671461091757806391c1004a1461091f57600080fd5b8063809d458d146108405780638276e5b01461086057806385af30c51461088057806388f82020146108a057600080fd5b80634626402b116102ed57806370a082311161028057806377ec74491161024f57806377ec7449146107b65780637bce5a04146107d65780637c75ad3a146107f85780637cf84bd71461082057600080fd5b806370a0823114610741578063715018a61461076157806373b9e82c1461077657806375f0a8741461079657600080fd5b806357e62b98116102bc57806357e62b98146106bc5780635c068a8c146106dd57806365b8dbc0146106ff5780636b2fb1241461071f57600080fd5b80634626402b1461062c5780634707c5511461064c57806352390c021461066c5780635342acb41461068c57600080fd5b806323b872dd11610365578063313ce56711610334578063313ce567146105a05780633685d419146105cc57806339509351146105ec5780634549b0391461060c57600080fd5b806323b872dd146105205780632ae2f121146105405780632d5fd55a146105605780632d8381191461058057600080fd5b806313114a9d116103a157806313114a9d146104aa57806318160ddd146104c95780631c499ab0146104de5780632073bd851461050057600080fd5b806306e29712146103de57806306fdde0314610423578063095ea7b3146104455780630cfe2f3f1461047557600080fd5b366103d957005b600080fd5b3480156103ea57600080fd5b5061040673fd6439aeff9d2389856b7486b9e74a6dacadcdce81565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561042f57600080fd5b50610438610c7b565b60405161041a9190614f1f565b34801561045157600080fd5b50610465610460366004614f67565b610d0d565b604051901515815260200161041a565b34801561048157600080fd5b50601754610497906301000000900461ffff1681565b60405161ffff909116815260200161041a565b3480156104b657600080fd5b50600a545b60405190815260200161041a565b3480156104d557600080fd5b506008546104bb565b3480156104ea57600080fd5b506104fe6104f9366004614f93565b610d24565b005b34801561050c57600080fd5b506104fe61051b366004614fc3565b610df8565b34801561052c57600080fd5b5061046561053b366004614ff6565b610ff7565b34801561054c57600080fd5b506104fe61055b366004615045565b61104a565b34801561056c57600080fd5b506104fe61057b36600461507e565b61112b565b34801561058c57600080fd5b506104bb61059b366004614f93565b611173565b3480156105ac57600080fd5b50600254600160a01b900460ff1660405160ff909116815260200161041a565b3480156105d857600080fd5b506104fe6105e736600461509b565b6111f0565b3480156105f857600080fd5b50610465610607366004614f67565b611428565b34801561061857600080fd5b506104bb6106273660046150b8565b61145f565b34801561063857600080fd5b50601954610406906001600160a01b031681565b34801561065857600080fd5b506104fe610667366004615045565b61150c565b34801561067857600080fd5b506104fe61068736600461509b565b611670565b34801561069857600080fd5b506104656106a736600461509b565b601f6020526000908152604090205460ff1681565b3480156106c857600080fd5b5060185461046590600160a01b900460ff1681565b3480156106e957600080fd5b5060175461049790600160781b900461ffff1681565b34801561070b57600080fd5b506104fe61071a36600461509b565b61185e565b34801561072b57600080fd5b5060175461049790600160681b900461ffff1681565b34801561074d57600080fd5b506104bb61075c36600461509b565b611b76565b34801561076d57600080fd5b506104fe611bd5565b34801561078257600080fd5b506104fe610791366004614f93565b611c0b565b3480156107a257600080fd5b50601854610406906001600160a01b031681565b3480156107c257600080fd5b50600154610406906001600160a01b031681565b3480156107e257600080fd5b5060175461049790600160581b900461ffff1681565b34801561080457600080fd5b50610406731ccfe8c40ef259566433716002e379dfffbf5a3e81565b34801561082c57600080fd5b50600254610406906001600160a01b031681565b34801561084c57600080fd5b506104fe61085b36600461509b565b611cc0565b34801561086c57600080fd5b506104fe61087b366004614fc3565b611df9565b34801561088c57600080fd5b50601e54610406906001600160a01b031681565b3480156108ac57600080fd5b506104656108bb36600461509b565b6001600160a01b031660009081526006602052604090205460ff1690565b3480156108e557600080fd5b506104fe6108f436600461509b565b611ff8565b34801561090557600080fd5b506000546001600160a01b0316610406565b6104fe6120f9565b34801561092b57600080fd5b506104fe61093a36600461509b565b612470565b34801561094b57600080fd5b5060175461049790600160481b900461ffff1681565b34801561096d57600080fd5b506104fe61097c366004614fc3565b612733565b34801561098d57600080fd5b5061043861292e565b3480156109a257600080fd5b506104fe6109b1366004615045565b61293d565b3480156109c257600080fd5b506104656109d1366004614f67565b612971565b3480156109e257600080fd5b506104656109f1366004614f67565b6129a8565b348015610a0257600080fd5b506104fe610a11366004614f93565b6129b5565b348015610a2257600080fd5b5060175461049790600160881b900461ffff1681565b348015610a4457600080fd5b50610465610a5336600461509b565b60216020526000908152604090205460ff1681565b348015610a7457600080fd5b506104bb601c5481565b348015610a8a57600080fd5b506104fe610a99366004614fc3565b612a87565b348015610aaa57600080fd5b50601d54610406906001600160a01b031681565b348015610aca57600080fd5b506104fe610ad9366004614fc3565b612c8c565b348015610aea57600080fd5b5060015461046590600160a01b900460ff1681565b348015610b0b57600080fd5b506104bb610b1a3660046150dd565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b348015610b5157600080fd5b5060175461049790610100900461ffff1681565b348015610b7157600080fd5b506104fe610b80366004615045565b612e91565b348015610b9157600080fd5b506104fe612f6d565b348015610ba657600080fd5b5060175461049790600160981b900461ffff1681565b348015610bc857600080fd5b50610465610bd736600461509b565b602080526000908152604090205460ff1681565b348015610bf757600080fd5b5060175461049790600160381b900461ffff1681565b348015610c1957600080fd5b506104fe610c2836600461509b565b613031565b348015610c3957600080fd5b5060175461049790600160281b900461ffff1681565b348015610c5b57600080fd5b506104bb601b5481565b348015610c7157600080fd5b506104bb601a5481565b6060600b8054610c8a9061510b565b80601f0160208091040260200160405190810160405280929190818152602001828054610cb69061510b565b8015610d035780601f10610cd857610100808354040283529160200191610d03565b820191906000526020600020905b815481529060010190602001808311610ce657829003601f168201915b5050505050905090565b6000610d1a3384846130c9565b5060015b92915050565b6000546001600160a01b03163314610d575760405162461bcd60e51b8152600401610d4e90615145565b60405180910390fd5b6103e8600854610d679190615190565b811015610db65760405162461bcd60e51b815260206004820181905260248201527f6d617857616c6c6574203e3d20746f74616c20737570706c79202f20313030306044820152606401610d4e565b601b546040805183815260208101929092527fff64d41f60feb77d52f64ae64a9fc3929d57a89d0cc55728762468bae5e0fe52910160405180910390a1601b55565b6000546001600160a01b03163314610e225760405162461bcd60e51b8152600401610d4e90615145565b60175461012c9061ffff6101008204811691600160681b8104821691600160481b8204811691610e5b91600160281b90910416876151b2565b610e6591906151b2565b610e6f91906151b2565b610e7991906151b2565b61ffff161115610e9b5760405162461bcd60e51b8152600401610d4e906151cd565b60175461012c9061ffff63010000008204811691600160781b8104821691600160581b8204811691610ed691600160381b90910416866151b2565b610ee091906151b2565b610eea91906151b2565b610ef491906151b2565b61ffff161115610f165760405162461bcd60e51b8152600401610d4e906151fc565b60968261ffff161115610f3b5760405162461bcd60e51b8152600401610d4e9061522a565b60968161ffff161115610f605760405162461bcd60e51b8152600401610d4e90615253565b6017546040805161ffff85811682528481166020830152600160881b8404811682840152600160981b9093049092166060830152517f01f5c7a45d273917dfc98816f1dd17a88893a7338e7beaa4d305fc8c84f8fe259181900360800190a16017805463ffffffff60881b1916600160881b61ffff9485160261ffff60981b191617600160981b9290931691909102919091179055565b60006110048484846131ed565b6001600160a01b03841660009081526005602090815260408083203380855292529091205461103f91869161103a90869061527b565b6130c9565b5060015b9392505050565b6000546001600160a01b031633146110745760405162461bcd60e51b8152600401610d4e90615145565b6001600160a01b038216600090815260208052604090205481151560ff9091161515036110cd5760405162461bcd60e51b8152602060048201526007602482015266616c726561647960c81b6044820152606401610d4e565b6001600160a01b03821660008181526020808052604091829020805460ff191685151590811790915591519182527f82170bbd72c16b30c410014b7382121a699ed119a182e48a0b6cadcc89104ac991015b60405180910390a25050565b6000546001600160a01b031633146111555760405162461bcd60e51b8152600401610d4e90615145565b60018054911515600160a01b0260ff60a01b19909216919091179055565b60006009548211156111da5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610d4e565b60006111e4613686565b90506110438184615190565b6000546001600160a01b0316331461121a5760405162461bcd60e51b8152600401610d4e90615145565b6001600160a01b03811660009081526006602052604090205460ff166112825760405162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f74206578636c756465640000000000000000006044820152606401610d4e565b60005b60075481101561142457816001600160a01b0316600782815481106112ac576112ac61528e565b6000918252602090912001546001600160a01b031603611412576001600160a01b0382166000908152600360205260409020546112e7613686565b6001600160a01b03841660009081526004602052604090205461130a91906152a4565b6001600160a01b038416600090815260036020526040902081905560095461133390839061527b565b61133d91906152bb565b6009556001600160a01b0383166000908152600660205260409020805460ff19169055600780546113709060019061527b565b815481106113805761138061528e565b600091825260209091200154600780546001600160a01b0390921691849081106113ac576113ac61528e565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060078054806113eb576113eb6152ce565b600082815260209020810160001990810180546001600160a01b0319169055019055505050565b8061141c816152e4565b915050611285565b5050565b3360008181526005602090815260408083206001600160a01b03871684529091528120549091610d1a91859061103a9086906152bb565b60006008548311156114b35760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610d4e565b60006114bd613686565b9050826114da5760006114d082866152a4565b9250610d1e915050565b60006114e5856136a9565b50505050509050600082826114fa91906152a4565b9350610d1e92505050565b5092915050565b6000546001600160a01b031633146115365760405162461bcd60e51b8152600401610d4e90615145565b6001600160a01b03821661158c5760405162461bcd60e51b815260206004820152601b60248201527f6d61726b6574696e672077616c6c65742063616e2774206265203000000000006044820152606401610d4e565b6019546001600160a01b03908116908316036115ba5760405162461bcd60e51b8152600401610d4e906152fd565b601854604080518315158152600160a01b830460ff16151560208201526001600160a01b03928316928516917fc8dfdd9b91ac62ee1bd8be3541ea02d8e584461c794c6e49e94ccf21c71ebcca910160405180910390a360188054911515600160a01b026001600160a81b03199092166001600160a01b039093169283179190911790556000908152601f60209081526040808320805460ff199081166001908117909255928052922080549091169091179055565b6000546001600160a01b0316331461169a5760405162461bcd60e51b8152600401610d4e90615145565b6001600160a01b03811660009081526006602052604090205460ff16156117035760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610d4e565b6007546032906117149060016152bb565b111561179e5760405162461bcd60e51b815260206004820152604d60248201527f43616e6e6f74206578636c756465206d6f7265207468616e203530206163636f60448201527f756e74732e2020496e636c75646520612070726576696f75736c79206578636c60648201526c3ab232b21030b2323932b9b99760991b608482015260a401610d4e565b6001600160a01b038116600090815260036020526040902054156117f8576001600160a01b0381166000908152600360205260409020546117de90611173565b6001600160a01b0382166000908152600460205260409020555b6001600160a01b03166000818152600660205260408120805460ff191660019081179091556007805491820181559091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880180546001600160a01b0319169091179055565b6000546001600160a01b031633146118885760405162461bcd60e51b8152600401610d4e90615145565b601d546001600160a01b03908116908216036118f25760405162461bcd60e51b815260206004820152602360248201527f54686520726f7574657220616c7265616479206861732074686174206164647260448201526265737360e81b6064820152608401610d4e565b601d546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3601d80546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a01559160048083019260209291908290030181865afa158015611989573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ad9190615350565b6002546040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af11580156119fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a229190615350565b601e80546001600160a01b0319166001600160a01b0383811691909117909155601d54919250611a57913091166000196130c9565b601d60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611aaa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ace9190615350565b6002546001600160a01b03908116911614611b5f57600254601d5460405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291169063095ea7b3906044016020604051808303816000875af1158015611b39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5d919061536d565b505b601e54611424906001600160a01b03166001613713565b6001600160a01b03811660009081526006602052604081205460ff1615611bb357506001600160a01b031660009081526004602052604090205490565b6001600160a01b038216600090815260036020526040902054610d1e90611173565b6000546001600160a01b03163314611bff5760405162461bcd60e51b8152600401610d4e90615145565b611c096000613843565b565b6000546001600160a01b03163314611c355760405162461bcd60e51b8152600401610d4e90615145565b60008111611c7e5760405162461bcd60e51b815260206004820152601660248201527506d696e416d6f756e74546f54616b65466565203e20360541b6044820152606401610d4e565b601a546040805183815260208101929092527f772a06bc936eb749842080c472181e970cd4f23bd1ab7d0b84a80aec26910434910160405180910390a1601a55565b6000546001600160a01b03163314611cea5760405162461bcd60e51b8152600401610d4e90615145565b6001600160a01b038116611d405760405162461bcd60e51b815260206004820152601a60248201527f54726561737572792077616c6c65742063616e277420626520300000000000006044820152606401610d4e565b6018546001600160a01b03808316911603611d6d5760405162461bcd60e51b8152600401610d4e906152fd565b6019546040516001600160a01b03918216918316907f79a52cbec002ef70283103eb4140713100276944fca2819713130141d04df18390600090a3601980546001600160a01b039092166001600160a01b0319909216821790556000908152601f60209081526040808320805460ff199081166001908117909255928052922080549091169091179055565b6000546001600160a01b03163314611e235760405162461bcd60e51b8152600401610d4e90615145565b60175461012c9061ffff600160881b82048116916101008104821691600160481b8204811691611e5c91600160281b90910416876151b2565b611e6691906151b2565b611e7091906151b2565b611e7a91906151b2565b61ffff161115611e9c5760405162461bcd60e51b8152600401610d4e906151cd565b60175461012c9061ffff600160981b820481169163010000008104821691600160581b8204811691611ed791600160381b90910416866151b2565b611ee191906151b2565b611eeb91906151b2565b611ef591906151b2565b61ffff161115611f175760405162461bcd60e51b8152600401610d4e906151fc565b60968261ffff161115611f3c5760405162461bcd60e51b8152600401610d4e9061522a565b60968161ffff161115611f615760405162461bcd60e51b8152600401610d4e90615253565b6017546040805161ffff85811682528481166020830152600160681b8404811682840152600160781b9093049092166060830152517f2893ef6309f9df0d45b134fcb021eb854592432db91782f02ce6b9029d1470319181900360800190a16017805463ffffffff60681b1916600160681b61ffff9485160261ffff60781b191617600160781b9290931691909102919091179055565b6000546001600160a01b031633146120225760405162461bcd60e51b8152600401610d4e90615145565b6001600160a01b03811630036120685760405162461bcd60e51b815260206004820152600b60248201526a139bdd08185b1b1bddd95960aa1b6044820152606401610d4e565b6120f661207d6000546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa1580156120c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120e5919061538a565b6001600160a01b0384169190613893565b50565b604080516002808252606082018352600092602083019080368337505060025482519293506001600160a01b03169183915060009061213a5761213a61528e565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061216e5761216e61528e565b6001600160a01b03928316602091820292909201810191909152601d54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156121c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121eb9190615350565b6001600160a01b0316816000815181106122075761220761528e565b60200260200101516001600160a01b03160361228f57601d5460405163b6f9de9560e01b81526001600160a01b039091169063b6f9de9590349061225890600090869061dead9042906004016153e7565b6000604051808303818588803b15801561227157600080fd5b505af1158015612285573d6000803e3d6000fd5b5050505050612395565b6002546000906001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa1580156122e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061230c919061538a565b9050612326336002546001600160a01b03169030846138fb565b601d54604051635c11d79560e01b81526001600160a01b0390911690635c11d79590612361908490600090879061dead90429060040161541c565b600060405180830381600087803b15801561237b57600080fd5b505af115801561238f573d6000803e3d6000fd5b50505050505b61dead6000526004602052600080516020615502833981519152546008546123bd919061527b565b60085561dead60005260036020526000805160206154e2833981519152546009546123e8919061527b565b60095561dead600081815260046020908152600080516020615502833981519152546040519081529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35061dead60009081526000805160206154e2833981519152819055600460205260008051602061550283398151915255565b6000546001600160a01b0316331461249a5760405162461bcd60e51b8152600401610d4e90615145565b6002546001600160a01b039081169082160361250e5760405162461bcd60e51b815260206004820152602d60248201527f5468652062617365546f6b656e466f725061697220616c72656164792068617360448201526c2074686174206164647265737360981b6064820152608401610d4e565b600280546001600160a01b0319166001600160a01b0383811691909117909155601d546040805163c45a015560e01b81529051919092169163c45a01559160048083019260209291908290030181865afa158015612570573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125949190615350565b6002546040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af11580156125e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126099190615350565b601e80546001600160a01b0319166001600160a01b03928316179055601d54604080516315ab88c960e31b81529051919092169163ad5c46489160048083019260209291908290030181865afa158015612667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061268b9190615350565b6002546001600160a01b0390811691161461271c57600254601d5460405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291169063095ea7b3906044016020604051808303816000875af11580156126f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061271a919061536d565b505b601e546120f6906001600160a01b03166001613713565b6000546001600160a01b0316331461275d5760405162461bcd60e51b8152600401610d4e90615145565b60175461012c9061ffff600160881b8204811691600160681b8104821691600160481b820481169161279891600160281b90910416876151b2565b6127a291906151b2565b6127ac91906151b2565b6127b691906151b2565b61ffff1611156127d85760405162461bcd60e51b8152600401610d4e906151cd565b60175461012c9061ffff600160981b8204811691600160781b8104821691600160581b820481169161281391600160381b90910416866151b2565b61281d91906151b2565b61282791906151b2565b61283191906151b2565b61ffff1611156128535760405162461bcd60e51b8152600401610d4e906151fc565b60968261ffff1611156128785760405162461bcd60e51b8152600401610d4e9061522a565b60968161ffff16111561289d5760405162461bcd60e51b8152600401610d4e90615253565b6017546040805161ffff85811682528481166020830152610100840481168284015263010000009093049092166060830152517f0a21d45dab14d5d2f53ae98d95d951cd627fcf1b5bc485174326568b5e0a45729181900360800190a16017805464ffffffff00191661010061ffff9485160264ffff00000019161763010000009290931691909102919091179055565b6060600c8054610c8a9061510b565b6000546001600160a01b031633146129675760405162461bcd60e51b8152600401610d4e90615145565b6114248282613713565b3360008181526005602090815260408083206001600160a01b03871684529091528120549091610d1a91859061103a90869061527b565b6000610d1a3384846131ed565b6000546001600160a01b031633146129df5760405162461bcd60e51b8152600401610d4e90615145565b600854811015612a455760405162461bcd60e51b815260206004820152602b60248201527f6d61785472616e73616374696f6e416d6f756e74203e3d20746f74616c20737560448201526a070706c79202f20313030360ac1b6064820152608401610d4e565b601c546040805183815260208101929092527f35eec0711af6fbe3039535323be51b57996b6945b0d55862607c7a02e52e4507910160405180910390a1601c55565b6000546001600160a01b03163314612ab15760405162461bcd60e51b8152600401610d4e90615145565b60175461012c9061ffff600160881b8204811691600160681b81048216916101008204811691612aea91600160281b90910416876151b2565b612af491906151b2565b612afe91906151b2565b612b0891906151b2565b61ffff161115612b2a5760405162461bcd60e51b8152600401610d4e906151cd565b60175461012c9061ffff600160981b8204811691600160781b810482169163010000008204811691612b6591600160381b90910416866151b2565b612b6f91906151b2565b612b7991906151b2565b612b8391906151b2565b61ffff161115612ba55760405162461bcd60e51b8152600401610d4e906151fc565b60968261ffff161115612bca5760405162461bcd60e51b8152600401610d4e9061522a565b60968161ffff161115612bef5760405162461bcd60e51b8152600401610d4e90615253565b6017546040805161ffff85811682528481166020830152600160481b8404811682840152600160581b9093049092166060830152517f1d6b62961d401d548eb1549c97109c0b905ccd7af9c3777d3076cc8438fdfe659181900360800190a1601780546cffffffff0000000000000000001916600160481b61ffff9485160261ffff60581b191617600160581b9290931691909102919091179055565b6000546001600160a01b03163314612cb65760405162461bcd60e51b8152600401610d4e90615145565b60175461012c9061ffff600160881b8204811691600160681b81048216916101008204811691612cef91600160481b90910416876151b2565b612cf991906151b2565b612d0391906151b2565b612d0d91906151b2565b61ffff161115612d2f5760405162461bcd60e51b8152600401610d4e906151cd565b60175461012c9061ffff600160981b8204811691600160781b810482169163010000008204811691612d6a91600160581b90910416866151b2565b612d7491906151b2565b612d7e91906151b2565b612d8891906151b2565b61ffff161115612daa5760405162461bcd60e51b8152600401610d4e906151fc565b60968261ffff161115612dcf5760405162461bcd60e51b8152600401610d4e9061522a565b60968161ffff161115612df45760405162461bcd60e51b8152600401610d4e90615253565b6017546040805161ffff85811682528481166020830152600160281b8404811682840152600160381b9093049092166060830152517f95c5c99557725e816faf752c6675d63483841c28a7a009ed792470a9cb4dea239181900360800190a16017805468ffffffff00000000001916600160281b61ffff9485160268ffff00000000000000191617600160381b9290931691909102919091179055565b6000546001600160a01b03163314612ebb5760405162461bcd60e51b8152600401610d4e90615145565b6001600160a01b0382166000908152601f602052604090205481151560ff909116151503612f155760405162461bcd60e51b8152602060048201526007602482015266616c726561647960c81b6044820152606401610d4e565b6001600160a01b0382166000818152601f6020908152604091829020805460ff191685151590811790915591519182527f2d43abd87b27cee7b0aa8c6f7e0b4a3247b683262a83cbc2318b0df398a49aa9910161111f565b6000546001600160a01b03163314612f975760405162461bcd60e51b8152600401610d4e90615145565b600080546040516001600160a01b039091169047908381818185875af1925050503d8060008114612fe4576040519150601f19603f3d011682016040523d82523d6000602084013e612fe9565b606091505b50509050806120f65760405162461bcd60e51b815260206004820152601460248201527311985a5b1959081a5b881dda5d1a191c985dd85b60621b6044820152606401610d4e565b6000546001600160a01b0316331461305b5760405162461bcd60e51b8152600401610d4e90615145565b6001600160a01b0381166130c05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d4e565b6120f681613843565b6001600160a01b03831661312b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610d4e565b6001600160a01b03821661318c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610d4e565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166132515760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610d4e565b6001600160a01b0382166132b35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610d4e565b60175460ff161580156132cf5750600154600160a01b900460ff165b80156132f457506001600160a01b0383166000908152601f602052604090205460ff16155b801561331957506001600160a01b0382166000908152601f602052604090205460ff16155b1561338d5760015460405163090ec10b60e31b81526001600160a01b03858116600483015284811660248301526044820184905290911690634876085890606401600060405180830381600087803b15801561337457600080fd5b505af1158015613388573d6000803e3d6000fd5b505050505b600061339830611b76565b601a546017549192508210159060ff161580156133b25750805b80156133d35750601e546000906133d1906001600160a01b0316611b76565b115b80156133f757506001600160a01b03841660009081526021602052604090205460ff165b1561340457613404613939565b61343f600d8054600e55600f805460105560118054601255601380546014556015805460165560009081905590819055908190559182905555565b60175460ff1615801561346b57506001600160a01b0385166000908152601f602052604090205460ff16155b801561349057506001600160a01b0384166000908152601f602052604090205460ff16155b1561355f576001600160a01b03851660009081526021602052604090205460ff16156134fd5760175461ffff630100000082048116600d55600160381b82048116600f55600160581b82048116601155600160781b82048116601355600160981b9091041660155561355f565b6001600160a01b03841660009081526021602052604090205460ff161561355f5760175461ffff61010082048116600d55600160281b82048116600f55600160481b82048116601155600160681b82048116601355600160881b909104166015555b61356a858585614198565b61358d601654601555601454601355600e54600d55601054600f55601254601155565b60175460ff1661367f576001600160a01b038516600090815260208052604090205460ff1661360757601c5483106136075760405162461bcd60e51b815260206004820152601d60248201527f45524332303a2065786365656473207472616e73666572206c696d69740000006044820152606401610d4e565b6001600160a01b038416600090815260208052604090205460ff1661367f57601b5461363285611b76565b1061367f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a2065786365656473206d61782077616c6c6574206c696d6974006044820152606401610d4e565b5050505050565b60008060006136936146b3565b90925090506136a28183615190565b9250505090565b60008060008060008060006136bd88614836565b905060006136ca89614853565b905060006136d78a614866565b905060006136e48b614879565b905060006136f18c61488c565b905060006136fe8d61489f565b9d959c50939a50919850965094509092505050565b6001600160a01b03821660009081526021602052604090205481151560ff9091161515036137a95760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610d4e565b6001600160a01b0382166000908152602160205260409020805460ff191682158015919091179091556137e4576137df82611670565b6137ed565b6137ed826111f0565b6001600160a01b03821660008181526020808052604091829020805460ff191685151590811790915591519182527fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab910161111f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b0383166024820152604481018290526138f690849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526148f2565b505050565b6040516001600160a01b03808516602483015283166044820152606481018290526139339085906323b872dd60e01b906084016138bf565b50505050565b6017805460ff19166001179055600061395130611b76565b9050600060245460235460225461396891906152bb565b61397291906152bb565b905080158061398057508082105b1561398c57505061418c565b6000600260225461399d9190615190565b90506000601d60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156139f4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a189190615350565b6002546001600160a01b03908116911614613a9e576002546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015613a75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a99919061538a565b613aa0565b475b9050600080601860149054906101000a900460ff1615613dcc57600060245460235486613acd91906152bb565b613ad791906152bb565b90508015613ae857613ae8816149c4565b601d54604080516315ab88c960e31b815290516000926001600160a01b03169163ad5c46489160048083019260209291908290030181865afa158015613b32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b569190615350565b6002546001600160a01b03908116911614613be6576002546040516370a0823160e01b815230600482015286916001600160a01b0316906370a0823190602401602060405180830381865afa158015613bb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613bd7919061538a565b613be1919061527b565b613bf0565b613bf0854761527b565b905060008260235483613c0391906152a4565b613c0d9190615190565b905082613c1a88846152a4565b613c249190615190565b945084613c31828461527b565b613c3b919061527b565b93508015613dc457601d60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015613c96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613cba9190615350565b6002546001600160a01b03918216911603613d6c576018546040516000916001600160a01b03169083908381818185875af1925050503d8060008114613d1c576040519150601f19603f3d011682016040523d82523d6000602084013e613d21565b606091505b505090508015613d66576040805160008152602081018490527f6f92bce3e91466137aa4d5474fe565c002872fb18ed6af4a856959be0a81277a910160405180910390a15b50613dc4565b601854600254613d89916001600160a01b03918216911683613893565b6040805160008152602081018390527f6f92bce3e91466137aa4d5474fe565c002872fb18ed6af4a856959be0a81277a910160405180910390a15b505050613f80565b600060245485613ddc91906152bb565b90508015613ded57613ded816149c4565b601d54604080516315ab88c960e31b815290516000926001600160a01b03169163ad5c46489160048083019260209291908290030181865afa158015613e37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e5b9190615350565b6002546001600160a01b03908116911614613eeb576002546040516370a0823160e01b815230600482015286916001600160a01b0316906370a0823190602401602060405180830381865afa158015613eb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613edc919061538a565b613ee6919061527b565b613ef5565b613ef5854761527b565b905081613f0287836152a4565b613f0c9190615190565b9350613f18848261527b565b60235490935015613f7d57601854602354613f409130916001600160a01b03909116906131ed565b60235460408051918252600060208301527f6f92bce3e91466137aa4d5474fe565c002872fb18ed6af4a856959be0a81277a910160405180910390a15b50505b600084118015613f905750600082115b15613fd957613f9f8483614b93565b60408051858152602081018490527f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486910160405180910390a15b801561415257601d60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015614032573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140569190615350565b6002546001600160a01b03918216911603614101576019546040516000916001600160a01b03169083908381818185875af1925050503d80600081146140b8576040519150601f19603f3d011682016040523d82523d6000602084013e6140bd565b606091505b5050905080156140fb576040518281527fe3630e0003fb3e9f9d835bb839022e52ffd576f9f35c395dd17517106f78cb339060200160405180910390a15b50614152565b60195460025461411e916001600160a01b03918216911683613893565b6040518181527fe3630e0003fb3e9f9d835bb839022e52ffd576f9f35c395dd17517106f78cb339060200160405180910390a15b600060238190556024819055602255614185306141776000546001600160a01b031690565b61418030611b76565b6131ed565b5050505050505b6017805460ff19169055565b6000806000806000806141aa876136a9565b95509550955095509550955060006141c0613686565b90506141cc81836152a4565b61dead60005260036020526000805160206154e2833981519152546141f191906152bb565b61dead6000526000805160206154e2833981519152556004602052600080516020615502833981519152546142279083906152bb565b61dead60008190526004602052600080516020615502833981519152919091556040516001600160a01b038c16907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906142849086815260200190565b60405180910390a38460225461429a91906152bb565b6022556023546142ab9085906152bb565b6023556024546142bc9084906152bb565b6024556000836142cc86886152bb565b6142d691906152bb565b90506142e282826152a4565b306000908152600360205260409020546142fc91906152bb565b3060009081526003602090815260408083209390935560069052205460ff161561434c573060009081526004602052604090205461433b9082906152bb565b306000908152600460205260409020555b506001600160a01b038a1660009081526006602052604090205460ff16801561438e57506001600160a01b03891660009081526006602052604090205460ff16155b15614461576001600160a01b038a166000908152600460205260409020546143b790899061527b565b6001600160a01b038b166000908152600460205260409020556143da81896152a4565b6001600160a01b038b166000908152600360205260409020546143fd919061527b565b6001600160a01b038b1660009081526003602052604090205561442081886152a4565b6001600160a01b038a1660009081526003602052604090205461444391906152bb565b6001600160a01b038a16600090815260036020526040902055614647565b6001600160a01b038a1660009081526006602052604090205460ff161580156144a257506001600160a01b03891660009081526006602052604090205460ff165b1561452e576144b181896152a4565b6001600160a01b038b166000908152600360205260409020546144d4919061527b565b6001600160a01b03808c16600090815260036020908152604080832094909455918c1681526004909152205461450b9088906152bb565b6001600160a01b038a1660009081526004602052604090205561442081886152a4565b6001600160a01b038a1660009081526006602052604090205460ff16801561456e57506001600160a01b03891660009081526006602052604090205460ff165b156145ba576001600160a01b038a1660009081526004602052604090205461459790899061527b565b6001600160a01b038b166000908152600460205260409020556144b181896152a4565b6145c481896152a4565b6001600160a01b038b166000908152600360205260409020546145e7919061527b565b6001600160a01b038b1660009081526003602052604090205561460a81886152a4565b6001600160a01b038a1660009081526003602052604090205461462d91906152bb565b6001600160a01b038a166000908152600360205260409020555b61465a61465482886152a4565b87614d54565b886001600160a01b03168a6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8960405161469f91815260200190565b60405180910390a350505050505050505050565b6009546008546000918291825b600754811015614805578260036000600784815481106146e2576146e261528e565b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061474d57508160046000600784815481106147265761472661528e565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561476357600954600854945094505050509091565b600360006007838154811061477a5761477a61528e565b60009182526020808320909101546001600160a01b031683528201929092526040019020546147a9908461527b565b925060046000600783815481106147c2576147c261528e565b60009182526020808320909101546001600160a01b031683528201929092526040019020546147f1908361527b565b9150806147fd816152e4565b9150506146c0565b506008546009546148169190615190565b82101561482d576009546008549350935050509091565b90939092509050565b60006103e8600d548361484991906152a4565b610d1e9190615190565b60006103e8600f548361484991906152a4565b60006103e86011548361484991906152a4565b60006103e86013548361484991906152a4565b60006103e86015548361484991906152a4565b60006103e8601154600f54600d546013546015546103e86148c0919061527b565b6148ca919061527b565b6148d4919061527b565b6148de919061527b565b6148e8919061527b565b61484990846152a4565b6000614947826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316614d7a9092919063ffffffff16565b8051909150156138f65780806020019051810190614965919061536d565b6138f65760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610d4e565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106149f9576149f961528e565b6001600160a01b039283166020918202929092010152600254825191169082906001908110614a2a57614a2a61528e565b6001600160a01b03928316602091820292909201810191909152601d54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015614a83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614aa79190615350565b6001600160a01b031681600181518110614ac357614ac361528e565b60200260200101516001600160a01b031603614b4857601d5460405163791ac94760e01b81526001600160a01b039091169063791ac94790614b1290859060009086903090429060040161541c565b600060405180830381600087803b158015614b2c57600080fd5b505af1158015614b40573d6000803e3d6000fd5b505050505050565b601d54604051637274ca1b60e11b8152731ccfe8c40ef259566433716002e379dfffbf5a3e9163e4e9943691614b12916001600160a01b031690869060009087904290600401615458565b601d60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015614be6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614c0a9190615350565b6002546001600160a01b03918216911603614cb257601d5460405163f305d71960e01b815230600482015260248101849052600060448201819052606482015261dead60848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af1158015614c8d573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061367f9190615497565b601d5460025460405162e8e33760e81b81523060048201526001600160a01b039182166024820152604481018590526064810184905260006084820181905260a482015261dead60c48201524260e482015291169063e8e3370090610104016060604051808303816000875af1158015614d30573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061367f9190615497565b81600954614d62919061527b565b600955600a54614d739082906152bb565b600a555050565b6060614d898484600085614d91565b949350505050565b606082471015614df25760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610d4e565b6001600160a01b0385163b614e495760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610d4e565b600080866001600160a01b03168587604051614e6591906154c5565b60006040518083038185875af1925050503d8060008114614ea2576040519150601f19603f3d011682016040523d82523d6000602084013e614ea7565b606091505b5091509150614eb7828286614ec2565b979650505050505050565b60608315614ed1575081611043565b825115614ee15782518084602001fd5b8160405162461bcd60e51b8152600401610d4e9190614f1f565b60005b83811015614f16578181015183820152602001614efe565b50506000910152565b6020815260008251806020840152614f3e816040850160208701614efb565b601f01601f19169190910160400192915050565b6001600160a01b03811681146120f657600080fd5b60008060408385031215614f7a57600080fd5b8235614f8581614f52565b946020939093013593505050565b600060208284031215614fa557600080fd5b5035919050565b803561ffff81168114614fbe57600080fd5b919050565b60008060408385031215614fd657600080fd5b614fdf83614fac565b9150614fed60208401614fac565b90509250929050565b60008060006060848603121561500b57600080fd5b833561501681614f52565b9250602084013561502681614f52565b929592945050506040919091013590565b80151581146120f657600080fd5b6000806040838503121561505857600080fd5b823561506381614f52565b9150602083013561507381615037565b809150509250929050565b60006020828403121561509057600080fd5b813561104381615037565b6000602082840312156150ad57600080fd5b813561104381614f52565b600080604083850312156150cb57600080fd5b82359150602083013561507381615037565b600080604083850312156150f057600080fd5b82356150fb81614f52565b9150602083013561507381614f52565b600181811c9082168061511f57607f821691505b60208210810361513f57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000826151ad57634e487b7160e01b600052601260045260246000fd5b500490565b61ffff8181168382160190808211156115055761150561517a565b60208082526015908201527473656c6c20746f74616c20666565203c3d2033302560581b604082015260600190565b60208082526014908201527362757920746f74616c20666565203c3d2033302560601b604082015260600190565b6020808252600f908201526e73656c6c20666565203c3d2031352560881b604082015260600190565b6020808252600e908201526d62757920666565203c3d2031352560901b604082015260600190565b81810381811115610d1e57610d1e61517a565b634e487b7160e01b600052603260045260246000fd5b8082028115828204841417610d1e57610d1e61517a565b80820180821115610d1e57610d1e61517a565b634e487b7160e01b600052603160045260246000fd5b6000600182016152f6576152f661517a565b5060010190565b60208082526033908201527f6d61726b6574696e672077616c6c65742063616e27742062652073616d6520776040820152721a5d1a08151c99585cdd5c9e481dd85b1b195d606a1b606082015260800190565b60006020828403121561536257600080fd5b815161104381614f52565b60006020828403121561537f57600080fd5b815161104381615037565b60006020828403121561539c57600080fd5b5051919050565b600081518084526020808501945080840160005b838110156153dc5781516001600160a01b0316875295820195908201906001016153b7565b509495945050505050565b84815260806020820152600061540060808301866153a3565b6001600160a01b03949094166040830152506060015292915050565b85815284602082015260a06040820152600061543b60a08301866153a3565b6001600160a01b0394909416606083015250608001529392505050565b60018060a01b038616815284602082015283604082015260a06060820152600061548560a08301856153a3565b90508260808301529695505050505050565b6000806000606084860312156154ac57600080fd5b8351925060208401519150604084015190509250925092565b600082516154d7818460208701614efb565b919091019291505056fe262bb27bbdd95c1cdc8e16957e36e38579ea44f7f6413dd7a9c75939def06b2c42c63635470f1fb1d6d4b6441c413cb435b1ebb6fedd1896dd5e25d1399147dda2646970667358221220449fdd5a917164625b00bd062339ffaf6b5b4c3efa1873b3e6aeb201aab1114e64736f6c63430008120033a66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6884f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657200000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000f0000000000000000000000000000000000000001431e0fae6d7217caa000000000000000000000000000000000000000000000000295be96e6406697200000000000000000000000000000000000000000000000014adf4b7320334b9000000000000000000000000000000045e69fb7f111803e5eb2db8c1a535c82714b50c70000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000021d454602586f571940576ab430a2f4e935a7a840000000000000000000000005d73f4b0d6e65323af1955c5f7ceb9a8fa2f3d8e0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a42656e6e6920436f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000542656e6e69000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106103d25760003560e01c8063809d458d116101fd578063b62496f511610118578063df8408fe116100ab578063f11a24d31161007a578063f11a24d314610beb578063f2fde38b14610c0d578063f637434214610c2d578063f8b45b0514610c4f578063fc59d23d14610c6557600080fd5b8063df8408fe14610b65578063e086e5ec14610b85578063e71dc3f514610b9a578063e9481eee14610bbc57600080fd5b8063d68f8cde116100e7578063d68f8cde14610abe578063d8c6404b14610ade578063dd62ed3e14610aff578063de0aad5314610b4557600080fd5b8063b62496f514610a38578063c8c8ebe414610a68578063cf089e1314610a7e578063cf188ad014610a9e57600080fd5b80639213691311610190578063a457c2d71161015f578063a457c2d7146109b6578063a9059cbb146109d6578063aa498023146109f6578063adb873bd14610a1657600080fd5b8063921369131461093f578063948384dc1461096157806395d89b41146109815780639a7a23d61461099657600080fd5b806389476069116101cc57806389476069146108d95780638da5cb5b146108f95780638f0bc1671461091757806391c1004a1461091f57600080fd5b8063809d458d146108405780638276e5b01461086057806385af30c51461088057806388f82020146108a057600080fd5b80634626402b116102ed57806370a082311161028057806377ec74491161024f57806377ec7449146107b65780637bce5a04146107d65780637c75ad3a146107f85780637cf84bd71461082057600080fd5b806370a0823114610741578063715018a61461076157806373b9e82c1461077657806375f0a8741461079657600080fd5b806357e62b98116102bc57806357e62b98146106bc5780635c068a8c146106dd57806365b8dbc0146106ff5780636b2fb1241461071f57600080fd5b80634626402b1461062c5780634707c5511461064c57806352390c021461066c5780635342acb41461068c57600080fd5b806323b872dd11610365578063313ce56711610334578063313ce567146105a05780633685d419146105cc57806339509351146105ec5780634549b0391461060c57600080fd5b806323b872dd146105205780632ae2f121146105405780632d5fd55a146105605780632d8381191461058057600080fd5b806313114a9d116103a157806313114a9d146104aa57806318160ddd146104c95780631c499ab0146104de5780632073bd851461050057600080fd5b806306e29712146103de57806306fdde0314610423578063095ea7b3146104455780630cfe2f3f1461047557600080fd5b366103d957005b600080fd5b3480156103ea57600080fd5b5061040673fd6439aeff9d2389856b7486b9e74a6dacadcdce81565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561042f57600080fd5b50610438610c7b565b60405161041a9190614f1f565b34801561045157600080fd5b50610465610460366004614f67565b610d0d565b604051901515815260200161041a565b34801561048157600080fd5b50601754610497906301000000900461ffff1681565b60405161ffff909116815260200161041a565b3480156104b657600080fd5b50600a545b60405190815260200161041a565b3480156104d557600080fd5b506008546104bb565b3480156104ea57600080fd5b506104fe6104f9366004614f93565b610d24565b005b34801561050c57600080fd5b506104fe61051b366004614fc3565b610df8565b34801561052c57600080fd5b5061046561053b366004614ff6565b610ff7565b34801561054c57600080fd5b506104fe61055b366004615045565b61104a565b34801561056c57600080fd5b506104fe61057b36600461507e565b61112b565b34801561058c57600080fd5b506104bb61059b366004614f93565b611173565b3480156105ac57600080fd5b50600254600160a01b900460ff1660405160ff909116815260200161041a565b3480156105d857600080fd5b506104fe6105e736600461509b565b6111f0565b3480156105f857600080fd5b50610465610607366004614f67565b611428565b34801561061857600080fd5b506104bb6106273660046150b8565b61145f565b34801561063857600080fd5b50601954610406906001600160a01b031681565b34801561065857600080fd5b506104fe610667366004615045565b61150c565b34801561067857600080fd5b506104fe61068736600461509b565b611670565b34801561069857600080fd5b506104656106a736600461509b565b601f6020526000908152604090205460ff1681565b3480156106c857600080fd5b5060185461046590600160a01b900460ff1681565b3480156106e957600080fd5b5060175461049790600160781b900461ffff1681565b34801561070b57600080fd5b506104fe61071a36600461509b565b61185e565b34801561072b57600080fd5b5060175461049790600160681b900461ffff1681565b34801561074d57600080fd5b506104bb61075c36600461509b565b611b76565b34801561076d57600080fd5b506104fe611bd5565b34801561078257600080fd5b506104fe610791366004614f93565b611c0b565b3480156107a257600080fd5b50601854610406906001600160a01b031681565b3480156107c257600080fd5b50600154610406906001600160a01b031681565b3480156107e257600080fd5b5060175461049790600160581b900461ffff1681565b34801561080457600080fd5b50610406731ccfe8c40ef259566433716002e379dfffbf5a3e81565b34801561082c57600080fd5b50600254610406906001600160a01b031681565b34801561084c57600080fd5b506104fe61085b36600461509b565b611cc0565b34801561086c57600080fd5b506104fe61087b366004614fc3565b611df9565b34801561088c57600080fd5b50601e54610406906001600160a01b031681565b3480156108ac57600080fd5b506104656108bb36600461509b565b6001600160a01b031660009081526006602052604090205460ff1690565b3480156108e557600080fd5b506104fe6108f436600461509b565b611ff8565b34801561090557600080fd5b506000546001600160a01b0316610406565b6104fe6120f9565b34801561092b57600080fd5b506104fe61093a36600461509b565b612470565b34801561094b57600080fd5b5060175461049790600160481b900461ffff1681565b34801561096d57600080fd5b506104fe61097c366004614fc3565b612733565b34801561098d57600080fd5b5061043861292e565b3480156109a257600080fd5b506104fe6109b1366004615045565b61293d565b3480156109c257600080fd5b506104656109d1366004614f67565b612971565b3480156109e257600080fd5b506104656109f1366004614f67565b6129a8565b348015610a0257600080fd5b506104fe610a11366004614f93565b6129b5565b348015610a2257600080fd5b5060175461049790600160881b900461ffff1681565b348015610a4457600080fd5b50610465610a5336600461509b565b60216020526000908152604090205460ff1681565b348015610a7457600080fd5b506104bb601c5481565b348015610a8a57600080fd5b506104fe610a99366004614fc3565b612a87565b348015610aaa57600080fd5b50601d54610406906001600160a01b031681565b348015610aca57600080fd5b506104fe610ad9366004614fc3565b612c8c565b348015610aea57600080fd5b5060015461046590600160a01b900460ff1681565b348015610b0b57600080fd5b506104bb610b1a3660046150dd565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b348015610b5157600080fd5b5060175461049790610100900461ffff1681565b348015610b7157600080fd5b506104fe610b80366004615045565b612e91565b348015610b9157600080fd5b506104fe612f6d565b348015610ba657600080fd5b5060175461049790600160981b900461ffff1681565b348015610bc857600080fd5b50610465610bd736600461509b565b602080526000908152604090205460ff1681565b348015610bf757600080fd5b5060175461049790600160381b900461ffff1681565b348015610c1957600080fd5b506104fe610c2836600461509b565b613031565b348015610c3957600080fd5b5060175461049790600160281b900461ffff1681565b348015610c5b57600080fd5b506104bb601b5481565b348015610c7157600080fd5b506104bb601a5481565b6060600b8054610c8a9061510b565b80601f0160208091040260200160405190810160405280929190818152602001828054610cb69061510b565b8015610d035780601f10610cd857610100808354040283529160200191610d03565b820191906000526020600020905b815481529060010190602001808311610ce657829003601f168201915b5050505050905090565b6000610d1a3384846130c9565b5060015b92915050565b6000546001600160a01b03163314610d575760405162461bcd60e51b8152600401610d4e90615145565b60405180910390fd5b6103e8600854610d679190615190565b811015610db65760405162461bcd60e51b815260206004820181905260248201527f6d617857616c6c6574203e3d20746f74616c20737570706c79202f20313030306044820152606401610d4e565b601b546040805183815260208101929092527fff64d41f60feb77d52f64ae64a9fc3929d57a89d0cc55728762468bae5e0fe52910160405180910390a1601b55565b6000546001600160a01b03163314610e225760405162461bcd60e51b8152600401610d4e90615145565b60175461012c9061ffff6101008204811691600160681b8104821691600160481b8204811691610e5b91600160281b90910416876151b2565b610e6591906151b2565b610e6f91906151b2565b610e7991906151b2565b61ffff161115610e9b5760405162461bcd60e51b8152600401610d4e906151cd565b60175461012c9061ffff63010000008204811691600160781b8104821691600160581b8204811691610ed691600160381b90910416866151b2565b610ee091906151b2565b610eea91906151b2565b610ef491906151b2565b61ffff161115610f165760405162461bcd60e51b8152600401610d4e906151fc565b60968261ffff161115610f3b5760405162461bcd60e51b8152600401610d4e9061522a565b60968161ffff161115610f605760405162461bcd60e51b8152600401610d4e90615253565b6017546040805161ffff85811682528481166020830152600160881b8404811682840152600160981b9093049092166060830152517f01f5c7a45d273917dfc98816f1dd17a88893a7338e7beaa4d305fc8c84f8fe259181900360800190a16017805463ffffffff60881b1916600160881b61ffff9485160261ffff60981b191617600160981b9290931691909102919091179055565b60006110048484846131ed565b6001600160a01b03841660009081526005602090815260408083203380855292529091205461103f91869161103a90869061527b565b6130c9565b5060015b9392505050565b6000546001600160a01b031633146110745760405162461bcd60e51b8152600401610d4e90615145565b6001600160a01b038216600090815260208052604090205481151560ff9091161515036110cd5760405162461bcd60e51b8152602060048201526007602482015266616c726561647960c81b6044820152606401610d4e565b6001600160a01b03821660008181526020808052604091829020805460ff191685151590811790915591519182527f82170bbd72c16b30c410014b7382121a699ed119a182e48a0b6cadcc89104ac991015b60405180910390a25050565b6000546001600160a01b031633146111555760405162461bcd60e51b8152600401610d4e90615145565b60018054911515600160a01b0260ff60a01b19909216919091179055565b60006009548211156111da5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610d4e565b60006111e4613686565b90506110438184615190565b6000546001600160a01b0316331461121a5760405162461bcd60e51b8152600401610d4e90615145565b6001600160a01b03811660009081526006602052604090205460ff166112825760405162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f74206578636c756465640000000000000000006044820152606401610d4e565b60005b60075481101561142457816001600160a01b0316600782815481106112ac576112ac61528e565b6000918252602090912001546001600160a01b031603611412576001600160a01b0382166000908152600360205260409020546112e7613686565b6001600160a01b03841660009081526004602052604090205461130a91906152a4565b6001600160a01b038416600090815260036020526040902081905560095461133390839061527b565b61133d91906152bb565b6009556001600160a01b0383166000908152600660205260409020805460ff19169055600780546113709060019061527b565b815481106113805761138061528e565b600091825260209091200154600780546001600160a01b0390921691849081106113ac576113ac61528e565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060078054806113eb576113eb6152ce565b600082815260209020810160001990810180546001600160a01b0319169055019055505050565b8061141c816152e4565b915050611285565b5050565b3360008181526005602090815260408083206001600160a01b03871684529091528120549091610d1a91859061103a9086906152bb565b60006008548311156114b35760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610d4e565b60006114bd613686565b9050826114da5760006114d082866152a4565b9250610d1e915050565b60006114e5856136a9565b50505050509050600082826114fa91906152a4565b9350610d1e92505050565b5092915050565b6000546001600160a01b031633146115365760405162461bcd60e51b8152600401610d4e90615145565b6001600160a01b03821661158c5760405162461bcd60e51b815260206004820152601b60248201527f6d61726b6574696e672077616c6c65742063616e2774206265203000000000006044820152606401610d4e565b6019546001600160a01b03908116908316036115ba5760405162461bcd60e51b8152600401610d4e906152fd565b601854604080518315158152600160a01b830460ff16151560208201526001600160a01b03928316928516917fc8dfdd9b91ac62ee1bd8be3541ea02d8e584461c794c6e49e94ccf21c71ebcca910160405180910390a360188054911515600160a01b026001600160a81b03199092166001600160a01b039093169283179190911790556000908152601f60209081526040808320805460ff199081166001908117909255928052922080549091169091179055565b6000546001600160a01b0316331461169a5760405162461bcd60e51b8152600401610d4e90615145565b6001600160a01b03811660009081526006602052604090205460ff16156117035760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610d4e565b6007546032906117149060016152bb565b111561179e5760405162461bcd60e51b815260206004820152604d60248201527f43616e6e6f74206578636c756465206d6f7265207468616e203530206163636f60448201527f756e74732e2020496e636c75646520612070726576696f75736c79206578636c60648201526c3ab232b21030b2323932b9b99760991b608482015260a401610d4e565b6001600160a01b038116600090815260036020526040902054156117f8576001600160a01b0381166000908152600360205260409020546117de90611173565b6001600160a01b0382166000908152600460205260409020555b6001600160a01b03166000818152600660205260408120805460ff191660019081179091556007805491820181559091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880180546001600160a01b0319169091179055565b6000546001600160a01b031633146118885760405162461bcd60e51b8152600401610d4e90615145565b601d546001600160a01b03908116908216036118f25760405162461bcd60e51b815260206004820152602360248201527f54686520726f7574657220616c7265616479206861732074686174206164647260448201526265737360e81b6064820152608401610d4e565b601d546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3601d80546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a01559160048083019260209291908290030181865afa158015611989573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ad9190615350565b6002546040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af11580156119fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a229190615350565b601e80546001600160a01b0319166001600160a01b0383811691909117909155601d54919250611a57913091166000196130c9565b601d60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611aaa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ace9190615350565b6002546001600160a01b03908116911614611b5f57600254601d5460405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291169063095ea7b3906044016020604051808303816000875af1158015611b39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5d919061536d565b505b601e54611424906001600160a01b03166001613713565b6001600160a01b03811660009081526006602052604081205460ff1615611bb357506001600160a01b031660009081526004602052604090205490565b6001600160a01b038216600090815260036020526040902054610d1e90611173565b6000546001600160a01b03163314611bff5760405162461bcd60e51b8152600401610d4e90615145565b611c096000613843565b565b6000546001600160a01b03163314611c355760405162461bcd60e51b8152600401610d4e90615145565b60008111611c7e5760405162461bcd60e51b815260206004820152601660248201527506d696e416d6f756e74546f54616b65466565203e20360541b6044820152606401610d4e565b601a546040805183815260208101929092527f772a06bc936eb749842080c472181e970cd4f23bd1ab7d0b84a80aec26910434910160405180910390a1601a55565b6000546001600160a01b03163314611cea5760405162461bcd60e51b8152600401610d4e90615145565b6001600160a01b038116611d405760405162461bcd60e51b815260206004820152601a60248201527f54726561737572792077616c6c65742063616e277420626520300000000000006044820152606401610d4e565b6018546001600160a01b03808316911603611d6d5760405162461bcd60e51b8152600401610d4e906152fd565b6019546040516001600160a01b03918216918316907f79a52cbec002ef70283103eb4140713100276944fca2819713130141d04df18390600090a3601980546001600160a01b039092166001600160a01b0319909216821790556000908152601f60209081526040808320805460ff199081166001908117909255928052922080549091169091179055565b6000546001600160a01b03163314611e235760405162461bcd60e51b8152600401610d4e90615145565b60175461012c9061ffff600160881b82048116916101008104821691600160481b8204811691611e5c91600160281b90910416876151b2565b611e6691906151b2565b611e7091906151b2565b611e7a91906151b2565b61ffff161115611e9c5760405162461bcd60e51b8152600401610d4e906151cd565b60175461012c9061ffff600160981b820481169163010000008104821691600160581b8204811691611ed791600160381b90910416866151b2565b611ee191906151b2565b611eeb91906151b2565b611ef591906151b2565b61ffff161115611f175760405162461bcd60e51b8152600401610d4e906151fc565b60968261ffff161115611f3c5760405162461bcd60e51b8152600401610d4e9061522a565b60968161ffff161115611f615760405162461bcd60e51b8152600401610d4e90615253565b6017546040805161ffff85811682528481166020830152600160681b8404811682840152600160781b9093049092166060830152517f2893ef6309f9df0d45b134fcb021eb854592432db91782f02ce6b9029d1470319181900360800190a16017805463ffffffff60681b1916600160681b61ffff9485160261ffff60781b191617600160781b9290931691909102919091179055565b6000546001600160a01b031633146120225760405162461bcd60e51b8152600401610d4e90615145565b6001600160a01b03811630036120685760405162461bcd60e51b815260206004820152600b60248201526a139bdd08185b1b1bddd95960aa1b6044820152606401610d4e565b6120f661207d6000546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa1580156120c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120e5919061538a565b6001600160a01b0384169190613893565b50565b604080516002808252606082018352600092602083019080368337505060025482519293506001600160a01b03169183915060009061213a5761213a61528e565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061216e5761216e61528e565b6001600160a01b03928316602091820292909201810191909152601d54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156121c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121eb9190615350565b6001600160a01b0316816000815181106122075761220761528e565b60200260200101516001600160a01b03160361228f57601d5460405163b6f9de9560e01b81526001600160a01b039091169063b6f9de9590349061225890600090869061dead9042906004016153e7565b6000604051808303818588803b15801561227157600080fd5b505af1158015612285573d6000803e3d6000fd5b5050505050612395565b6002546000906001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa1580156122e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061230c919061538a565b9050612326336002546001600160a01b03169030846138fb565b601d54604051635c11d79560e01b81526001600160a01b0390911690635c11d79590612361908490600090879061dead90429060040161541c565b600060405180830381600087803b15801561237b57600080fd5b505af115801561238f573d6000803e3d6000fd5b50505050505b61dead6000526004602052600080516020615502833981519152546008546123bd919061527b565b60085561dead60005260036020526000805160206154e2833981519152546009546123e8919061527b565b60095561dead600081815260046020908152600080516020615502833981519152546040519081529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35061dead60009081526000805160206154e2833981519152819055600460205260008051602061550283398151915255565b6000546001600160a01b0316331461249a5760405162461bcd60e51b8152600401610d4e90615145565b6002546001600160a01b039081169082160361250e5760405162461bcd60e51b815260206004820152602d60248201527f5468652062617365546f6b656e466f725061697220616c72656164792068617360448201526c2074686174206164647265737360981b6064820152608401610d4e565b600280546001600160a01b0319166001600160a01b0383811691909117909155601d546040805163c45a015560e01b81529051919092169163c45a01559160048083019260209291908290030181865afa158015612570573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125949190615350565b6002546040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af11580156125e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126099190615350565b601e80546001600160a01b0319166001600160a01b03928316179055601d54604080516315ab88c960e31b81529051919092169163ad5c46489160048083019260209291908290030181865afa158015612667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061268b9190615350565b6002546001600160a01b0390811691161461271c57600254601d5460405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291169063095ea7b3906044016020604051808303816000875af11580156126f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061271a919061536d565b505b601e546120f6906001600160a01b03166001613713565b6000546001600160a01b0316331461275d5760405162461bcd60e51b8152600401610d4e90615145565b60175461012c9061ffff600160881b8204811691600160681b8104821691600160481b820481169161279891600160281b90910416876151b2565b6127a291906151b2565b6127ac91906151b2565b6127b691906151b2565b61ffff1611156127d85760405162461bcd60e51b8152600401610d4e906151cd565b60175461012c9061ffff600160981b8204811691600160781b8104821691600160581b820481169161281391600160381b90910416866151b2565b61281d91906151b2565b61282791906151b2565b61283191906151b2565b61ffff1611156128535760405162461bcd60e51b8152600401610d4e906151fc565b60968261ffff1611156128785760405162461bcd60e51b8152600401610d4e9061522a565b60968161ffff16111561289d5760405162461bcd60e51b8152600401610d4e90615253565b6017546040805161ffff85811682528481166020830152610100840481168284015263010000009093049092166060830152517f0a21d45dab14d5d2f53ae98d95d951cd627fcf1b5bc485174326568b5e0a45729181900360800190a16017805464ffffffff00191661010061ffff9485160264ffff00000019161763010000009290931691909102919091179055565b6060600c8054610c8a9061510b565b6000546001600160a01b031633146129675760405162461bcd60e51b8152600401610d4e90615145565b6114248282613713565b3360008181526005602090815260408083206001600160a01b03871684529091528120549091610d1a91859061103a90869061527b565b6000610d1a3384846131ed565b6000546001600160a01b031633146129df5760405162461bcd60e51b8152600401610d4e90615145565b600854811015612a455760405162461bcd60e51b815260206004820152602b60248201527f6d61785472616e73616374696f6e416d6f756e74203e3d20746f74616c20737560448201526a070706c79202f20313030360ac1b6064820152608401610d4e565b601c546040805183815260208101929092527f35eec0711af6fbe3039535323be51b57996b6945b0d55862607c7a02e52e4507910160405180910390a1601c55565b6000546001600160a01b03163314612ab15760405162461bcd60e51b8152600401610d4e90615145565b60175461012c9061ffff600160881b8204811691600160681b81048216916101008204811691612aea91600160281b90910416876151b2565b612af491906151b2565b612afe91906151b2565b612b0891906151b2565b61ffff161115612b2a5760405162461bcd60e51b8152600401610d4e906151cd565b60175461012c9061ffff600160981b8204811691600160781b810482169163010000008204811691612b6591600160381b90910416866151b2565b612b6f91906151b2565b612b7991906151b2565b612b8391906151b2565b61ffff161115612ba55760405162461bcd60e51b8152600401610d4e906151fc565b60968261ffff161115612bca5760405162461bcd60e51b8152600401610d4e9061522a565b60968161ffff161115612bef5760405162461bcd60e51b8152600401610d4e90615253565b6017546040805161ffff85811682528481166020830152600160481b8404811682840152600160581b9093049092166060830152517f1d6b62961d401d548eb1549c97109c0b905ccd7af9c3777d3076cc8438fdfe659181900360800190a1601780546cffffffff0000000000000000001916600160481b61ffff9485160261ffff60581b191617600160581b9290931691909102919091179055565b6000546001600160a01b03163314612cb65760405162461bcd60e51b8152600401610d4e90615145565b60175461012c9061ffff600160881b8204811691600160681b81048216916101008204811691612cef91600160481b90910416876151b2565b612cf991906151b2565b612d0391906151b2565b612d0d91906151b2565b61ffff161115612d2f5760405162461bcd60e51b8152600401610d4e906151cd565b60175461012c9061ffff600160981b8204811691600160781b810482169163010000008204811691612d6a91600160581b90910416866151b2565b612d7491906151b2565b612d7e91906151b2565b612d8891906151b2565b61ffff161115612daa5760405162461bcd60e51b8152600401610d4e906151fc565b60968261ffff161115612dcf5760405162461bcd60e51b8152600401610d4e9061522a565b60968161ffff161115612df45760405162461bcd60e51b8152600401610d4e90615253565b6017546040805161ffff85811682528481166020830152600160281b8404811682840152600160381b9093049092166060830152517f95c5c99557725e816faf752c6675d63483841c28a7a009ed792470a9cb4dea239181900360800190a16017805468ffffffff00000000001916600160281b61ffff9485160268ffff00000000000000191617600160381b9290931691909102919091179055565b6000546001600160a01b03163314612ebb5760405162461bcd60e51b8152600401610d4e90615145565b6001600160a01b0382166000908152601f602052604090205481151560ff909116151503612f155760405162461bcd60e51b8152602060048201526007602482015266616c726561647960c81b6044820152606401610d4e565b6001600160a01b0382166000818152601f6020908152604091829020805460ff191685151590811790915591519182527f2d43abd87b27cee7b0aa8c6f7e0b4a3247b683262a83cbc2318b0df398a49aa9910161111f565b6000546001600160a01b03163314612f975760405162461bcd60e51b8152600401610d4e90615145565b600080546040516001600160a01b039091169047908381818185875af1925050503d8060008114612fe4576040519150601f19603f3d011682016040523d82523d6000602084013e612fe9565b606091505b50509050806120f65760405162461bcd60e51b815260206004820152601460248201527311985a5b1959081a5b881dda5d1a191c985dd85b60621b6044820152606401610d4e565b6000546001600160a01b0316331461305b5760405162461bcd60e51b8152600401610d4e90615145565b6001600160a01b0381166130c05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d4e565b6120f681613843565b6001600160a01b03831661312b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610d4e565b6001600160a01b03821661318c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610d4e565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166132515760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610d4e565b6001600160a01b0382166132b35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610d4e565b60175460ff161580156132cf5750600154600160a01b900460ff165b80156132f457506001600160a01b0383166000908152601f602052604090205460ff16155b801561331957506001600160a01b0382166000908152601f602052604090205460ff16155b1561338d5760015460405163090ec10b60e31b81526001600160a01b03858116600483015284811660248301526044820184905290911690634876085890606401600060405180830381600087803b15801561337457600080fd5b505af1158015613388573d6000803e3d6000fd5b505050505b600061339830611b76565b601a546017549192508210159060ff161580156133b25750805b80156133d35750601e546000906133d1906001600160a01b0316611b76565b115b80156133f757506001600160a01b03841660009081526021602052604090205460ff165b1561340457613404613939565b61343f600d8054600e55600f805460105560118054601255601380546014556015805460165560009081905590819055908190559182905555565b60175460ff1615801561346b57506001600160a01b0385166000908152601f602052604090205460ff16155b801561349057506001600160a01b0384166000908152601f602052604090205460ff16155b1561355f576001600160a01b03851660009081526021602052604090205460ff16156134fd5760175461ffff630100000082048116600d55600160381b82048116600f55600160581b82048116601155600160781b82048116601355600160981b9091041660155561355f565b6001600160a01b03841660009081526021602052604090205460ff161561355f5760175461ffff61010082048116600d55600160281b82048116600f55600160481b82048116601155600160681b82048116601355600160881b909104166015555b61356a858585614198565b61358d601654601555601454601355600e54600d55601054600f55601254601155565b60175460ff1661367f576001600160a01b038516600090815260208052604090205460ff1661360757601c5483106136075760405162461bcd60e51b815260206004820152601d60248201527f45524332303a2065786365656473207472616e73666572206c696d69740000006044820152606401610d4e565b6001600160a01b038416600090815260208052604090205460ff1661367f57601b5461363285611b76565b1061367f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a2065786365656473206d61782077616c6c6574206c696d6974006044820152606401610d4e565b5050505050565b60008060006136936146b3565b90925090506136a28183615190565b9250505090565b60008060008060008060006136bd88614836565b905060006136ca89614853565b905060006136d78a614866565b905060006136e48b614879565b905060006136f18c61488c565b905060006136fe8d61489f565b9d959c50939a50919850965094509092505050565b6001600160a01b03821660009081526021602052604090205481151560ff9091161515036137a95760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610d4e565b6001600160a01b0382166000908152602160205260409020805460ff191682158015919091179091556137e4576137df82611670565b6137ed565b6137ed826111f0565b6001600160a01b03821660008181526020808052604091829020805460ff191685151590811790915591519182527fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab910161111f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b0383166024820152604481018290526138f690849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526148f2565b505050565b6040516001600160a01b03808516602483015283166044820152606481018290526139339085906323b872dd60e01b906084016138bf565b50505050565b6017805460ff19166001179055600061395130611b76565b9050600060245460235460225461396891906152bb565b61397291906152bb565b905080158061398057508082105b1561398c57505061418c565b6000600260225461399d9190615190565b90506000601d60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156139f4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a189190615350565b6002546001600160a01b03908116911614613a9e576002546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015613a75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a99919061538a565b613aa0565b475b9050600080601860149054906101000a900460ff1615613dcc57600060245460235486613acd91906152bb565b613ad791906152bb565b90508015613ae857613ae8816149c4565b601d54604080516315ab88c960e31b815290516000926001600160a01b03169163ad5c46489160048083019260209291908290030181865afa158015613b32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b569190615350565b6002546001600160a01b03908116911614613be6576002546040516370a0823160e01b815230600482015286916001600160a01b0316906370a0823190602401602060405180830381865afa158015613bb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613bd7919061538a565b613be1919061527b565b613bf0565b613bf0854761527b565b905060008260235483613c0391906152a4565b613c0d9190615190565b905082613c1a88846152a4565b613c249190615190565b945084613c31828461527b565b613c3b919061527b565b93508015613dc457601d60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015613c96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613cba9190615350565b6002546001600160a01b03918216911603613d6c576018546040516000916001600160a01b03169083908381818185875af1925050503d8060008114613d1c576040519150601f19603f3d011682016040523d82523d6000602084013e613d21565b606091505b505090508015613d66576040805160008152602081018490527f6f92bce3e91466137aa4d5474fe565c002872fb18ed6af4a856959be0a81277a910160405180910390a15b50613dc4565b601854600254613d89916001600160a01b03918216911683613893565b6040805160008152602081018390527f6f92bce3e91466137aa4d5474fe565c002872fb18ed6af4a856959be0a81277a910160405180910390a15b505050613f80565b600060245485613ddc91906152bb565b90508015613ded57613ded816149c4565b601d54604080516315ab88c960e31b815290516000926001600160a01b03169163ad5c46489160048083019260209291908290030181865afa158015613e37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e5b9190615350565b6002546001600160a01b03908116911614613eeb576002546040516370a0823160e01b815230600482015286916001600160a01b0316906370a0823190602401602060405180830381865afa158015613eb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613edc919061538a565b613ee6919061527b565b613ef5565b613ef5854761527b565b905081613f0287836152a4565b613f0c9190615190565b9350613f18848261527b565b60235490935015613f7d57601854602354613f409130916001600160a01b03909116906131ed565b60235460408051918252600060208301527f6f92bce3e91466137aa4d5474fe565c002872fb18ed6af4a856959be0a81277a910160405180910390a15b50505b600084118015613f905750600082115b15613fd957613f9f8483614b93565b60408051858152602081018490527f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486910160405180910390a15b801561415257601d60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015614032573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140569190615350565b6002546001600160a01b03918216911603614101576019546040516000916001600160a01b03169083908381818185875af1925050503d80600081146140b8576040519150601f19603f3d011682016040523d82523d6000602084013e6140bd565b606091505b5050905080156140fb576040518281527fe3630e0003fb3e9f9d835bb839022e52ffd576f9f35c395dd17517106f78cb339060200160405180910390a15b50614152565b60195460025461411e916001600160a01b03918216911683613893565b6040518181527fe3630e0003fb3e9f9d835bb839022e52ffd576f9f35c395dd17517106f78cb339060200160405180910390a15b600060238190556024819055602255614185306141776000546001600160a01b031690565b61418030611b76565b6131ed565b5050505050505b6017805460ff19169055565b6000806000806000806141aa876136a9565b95509550955095509550955060006141c0613686565b90506141cc81836152a4565b61dead60005260036020526000805160206154e2833981519152546141f191906152bb565b61dead6000526000805160206154e2833981519152556004602052600080516020615502833981519152546142279083906152bb565b61dead60008190526004602052600080516020615502833981519152919091556040516001600160a01b038c16907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906142849086815260200190565b60405180910390a38460225461429a91906152bb565b6022556023546142ab9085906152bb565b6023556024546142bc9084906152bb565b6024556000836142cc86886152bb565b6142d691906152bb565b90506142e282826152a4565b306000908152600360205260409020546142fc91906152bb565b3060009081526003602090815260408083209390935560069052205460ff161561434c573060009081526004602052604090205461433b9082906152bb565b306000908152600460205260409020555b506001600160a01b038a1660009081526006602052604090205460ff16801561438e57506001600160a01b03891660009081526006602052604090205460ff16155b15614461576001600160a01b038a166000908152600460205260409020546143b790899061527b565b6001600160a01b038b166000908152600460205260409020556143da81896152a4565b6001600160a01b038b166000908152600360205260409020546143fd919061527b565b6001600160a01b038b1660009081526003602052604090205561442081886152a4565b6001600160a01b038a1660009081526003602052604090205461444391906152bb565b6001600160a01b038a16600090815260036020526040902055614647565b6001600160a01b038a1660009081526006602052604090205460ff161580156144a257506001600160a01b03891660009081526006602052604090205460ff165b1561452e576144b181896152a4565b6001600160a01b038b166000908152600360205260409020546144d4919061527b565b6001600160a01b03808c16600090815260036020908152604080832094909455918c1681526004909152205461450b9088906152bb565b6001600160a01b038a1660009081526004602052604090205561442081886152a4565b6001600160a01b038a1660009081526006602052604090205460ff16801561456e57506001600160a01b03891660009081526006602052604090205460ff165b156145ba576001600160a01b038a1660009081526004602052604090205461459790899061527b565b6001600160a01b038b166000908152600460205260409020556144b181896152a4565b6145c481896152a4565b6001600160a01b038b166000908152600360205260409020546145e7919061527b565b6001600160a01b038b1660009081526003602052604090205561460a81886152a4565b6001600160a01b038a1660009081526003602052604090205461462d91906152bb565b6001600160a01b038a166000908152600360205260409020555b61465a61465482886152a4565b87614d54565b886001600160a01b03168a6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8960405161469f91815260200190565b60405180910390a350505050505050505050565b6009546008546000918291825b600754811015614805578260036000600784815481106146e2576146e261528e565b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061474d57508160046000600784815481106147265761472661528e565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561476357600954600854945094505050509091565b600360006007838154811061477a5761477a61528e565b60009182526020808320909101546001600160a01b031683528201929092526040019020546147a9908461527b565b925060046000600783815481106147c2576147c261528e565b60009182526020808320909101546001600160a01b031683528201929092526040019020546147f1908361527b565b9150806147fd816152e4565b9150506146c0565b506008546009546148169190615190565b82101561482d576009546008549350935050509091565b90939092509050565b60006103e8600d548361484991906152a4565b610d1e9190615190565b60006103e8600f548361484991906152a4565b60006103e86011548361484991906152a4565b60006103e86013548361484991906152a4565b60006103e86015548361484991906152a4565b60006103e8601154600f54600d546013546015546103e86148c0919061527b565b6148ca919061527b565b6148d4919061527b565b6148de919061527b565b6148e8919061527b565b61484990846152a4565b6000614947826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316614d7a9092919063ffffffff16565b8051909150156138f65780806020019051810190614965919061536d565b6138f65760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610d4e565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106149f9576149f961528e565b6001600160a01b039283166020918202929092010152600254825191169082906001908110614a2a57614a2a61528e565b6001600160a01b03928316602091820292909201810191909152601d54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015614a83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614aa79190615350565b6001600160a01b031681600181518110614ac357614ac361528e565b60200260200101516001600160a01b031603614b4857601d5460405163791ac94760e01b81526001600160a01b039091169063791ac94790614b1290859060009086903090429060040161541c565b600060405180830381600087803b158015614b2c57600080fd5b505af1158015614b40573d6000803e3d6000fd5b505050505050565b601d54604051637274ca1b60e11b8152731ccfe8c40ef259566433716002e379dfffbf5a3e9163e4e9943691614b12916001600160a01b031690869060009087904290600401615458565b601d60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015614be6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614c0a9190615350565b6002546001600160a01b03918216911603614cb257601d5460405163f305d71960e01b815230600482015260248101849052600060448201819052606482015261dead60848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af1158015614c8d573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061367f9190615497565b601d5460025460405162e8e33760e81b81523060048201526001600160a01b039182166024820152604481018590526064810184905260006084820181905260a482015261dead60c48201524260e482015291169063e8e3370090610104016060604051808303816000875af1158015614d30573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061367f9190615497565b81600954614d62919061527b565b600955600a54614d739082906152bb565b600a555050565b6060614d898484600085614d91565b949350505050565b606082471015614df25760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610d4e565b6001600160a01b0385163b614e495760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610d4e565b600080866001600160a01b03168587604051614e6591906154c5565b60006040518083038185875af1925050503d8060008114614ea2576040519150601f19603f3d011682016040523d82523d6000602084013e614ea7565b606091505b5091509150614eb7828286614ec2565b979650505050505050565b60608315614ed1575081611043565b825115614ee15782518084602001fd5b8160405162461bcd60e51b8152600401610d4e9190614f1f565b60005b83811015614f16578181015183820152602001614efe565b50506000910152565b6020815260008251806020840152614f3e816040850160208701614efb565b601f01601f19169190910160400192915050565b6001600160a01b03811681146120f657600080fd5b60008060408385031215614f7a57600080fd5b8235614f8581614f52565b946020939093013593505050565b600060208284031215614fa557600080fd5b5035919050565b803561ffff81168114614fbe57600080fd5b919050565b60008060408385031215614fd657600080fd5b614fdf83614fac565b9150614fed60208401614fac565b90509250929050565b60008060006060848603121561500b57600080fd5b833561501681614f52565b9250602084013561502681614f52565b929592945050506040919091013590565b80151581146120f657600080fd5b6000806040838503121561505857600080fd5b823561506381614f52565b9150602083013561507381615037565b809150509250929050565b60006020828403121561509057600080fd5b813561104381615037565b6000602082840312156150ad57600080fd5b813561104381614f52565b600080604083850312156150cb57600080fd5b82359150602083013561507381615037565b600080604083850312156150f057600080fd5b82356150fb81614f52565b9150602083013561507381614f52565b600181811c9082168061511f57607f821691505b60208210810361513f57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000826151ad57634e487b7160e01b600052601260045260246000fd5b500490565b61ffff8181168382160190808211156115055761150561517a565b60208082526015908201527473656c6c20746f74616c20666565203c3d2033302560581b604082015260600190565b60208082526014908201527362757920746f74616c20666565203c3d2033302560601b604082015260600190565b6020808252600f908201526e73656c6c20666565203c3d2031352560881b604082015260600190565b6020808252600e908201526d62757920666565203c3d2031352560901b604082015260600190565b81810381811115610d1e57610d1e61517a565b634e487b7160e01b600052603260045260246000fd5b8082028115828204841417610d1e57610d1e61517a565b80820180821115610d1e57610d1e61517a565b634e487b7160e01b600052603160045260246000fd5b6000600182016152f6576152f661517a565b5060010190565b60208082526033908201527f6d61726b6574696e672077616c6c65742063616e27742062652073616d6520776040820152721a5d1a08151c99585cdd5c9e481dd85b1b195d606a1b606082015260800190565b60006020828403121561536257600080fd5b815161104381614f52565b60006020828403121561537f57600080fd5b815161104381615037565b60006020828403121561539c57600080fd5b5051919050565b600081518084526020808501945080840160005b838110156153dc5781516001600160a01b0316875295820195908201906001016153b7565b509495945050505050565b84815260806020820152600061540060808301866153a3565b6001600160a01b03949094166040830152506060015292915050565b85815284602082015260a06040820152600061543b60a08301866153a3565b6001600160a01b0394909416606083015250608001529392505050565b60018060a01b038616815284602082015283604082015260a06060820152600061548560a08301856153a3565b90508260808301529695505050505050565b6000806000606084860312156154ac57600080fd5b8351925060208401519150604084015190509250925092565b600082516154d7818460208701614efb565b919091019291505056fe262bb27bbdd95c1cdc8e16957e36e38579ea44f7f6413dd7a9c75939def06b2c42c63635470f1fb1d6d4b6441c413cb435b1ebb6fedd1896dd5e25d1399147dda2646970667358221220449fdd5a917164625b00bd062339ffaf6b5b4c3efa1873b3e6aeb201aab1114e64736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000f0000000000000000000000000000000000000001431e0fae6d7217caa000000000000000000000000000000000000000000000000295be96e6406697200000000000000000000000000000000000000000000000014adf4b7320334b9000000000000000000000000000000045e69fb7f111803e5eb2db8c1a535c82714b50c70000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000021d454602586f571940576ab430a2f4e935a7a840000000000000000000000005d73f4b0d6e65323af1955c5f7ceb9a8fa2f3d8e0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a42656e6e6920436f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000542656e6e69000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : __name (string): Benni Coin
Arg [1] : __symbol (string): Benni
Arg [2] : __decimals (uint8): 15
Arg [3] : _totalSupply (uint256): 100000000000000000000000000000
Arg [4] : _maxWallet (uint256): 800000000000000000000000000
Arg [5] : _maxTransactionAmount (uint256): 400000000000000000000000000
Arg [6] : _accounts (address[5]): 0x45E69Fb7f111803E5eB2Db8c1a535c82714b50c7,0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D,0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2,0x21D454602586f571940576Ab430A2f4E935a7a84,0x5d73f4B0D6e65323af1955C5f7CEB9A8Fa2F3d8E
Arg [7] : _isMarketingFeeBaseToken (bool): True
Arg [8] : _fees (uint16[10]): 10,10,10,10,5,5,2,2,2,2
-----Encoded View---------------
26 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000002c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000300
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [3] : 0000000000000000000000000000000000000001431e0fae6d7217caa0000000
Arg [4] : 00000000000000000000000000000000000000000295be96e640669720000000
Arg [5] : 0000000000000000000000000000000000000000014adf4b7320334b90000000
Arg [6] : 00000000000000000000000045e69fb7f111803e5eb2db8c1a535c82714b50c7
Arg [7] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [8] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [9] : 00000000000000000000000021d454602586f571940576ab430a2f4e935a7a84
Arg [10] : 0000000000000000000000005d73f4b0d6e65323af1955c5f7ceb9a8fa2f3d8e
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [12] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [13] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [14] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [15] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [21] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [22] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [23] : 42656e6e6920436f696e00000000000000000000000000000000000000000000
Arg [24] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [25] : 42656e6e69000000000000000000000000000000000000000000000000000000
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.