Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1,000,000,000,000 liltsuki
Holders
389
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
1,278,545.67 liltsukiValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
LittleTsukiInu
Compiler Version
v0.8.8+commit.dddeac2f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /* __ _ __ __ __ ______ __ _ ____ / / (_) /_/ /_/ /__ /_ __/______ __/ /__(_) / _/___ __ __ / / / / __/ __/ / _ \ / / / ___/ / / / //_/ / / // __ \/ / / / / /___/ / /_/ /_/ / __/ / / (__ ) /_/ / ,< / / _/ // / / / /_/ / /_____/_/\__/\__/_/\___/ /_/ /____/\__,_/_/|_/_/ /___/_/ /_/\__,_/ Website: http://littletsukiinu.io/ Telegram: https://t.me/littletsukiinu Twitter: https://twitter.com/littletsukiinu */ pragma solidity >=0.6.0 <0.9.0; abstract contract Context { function _msgSender() internal view returns (address payable) { return payable(msg.sender); } function _msgData() internal view returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the token decimals. */ function decimals() external view returns (uint8); /** * @dev Returns the token symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the token name. */ function name() external view returns (string memory); /** * @dev Returns the bep token owner. */ function getOwner() external view returns (address); /** * @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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, 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); } /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address lpPair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address lpPair); function allPairs(uint) external view returns (address lpPair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address lpPair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint 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 (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint 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 (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); 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 (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } contract LittleTsukiInu is Context, IERC20 { // Ownership moved to in-contract for customizability. address private _owner; mapping (address => uint256) private _rOwned; mapping (address => uint256) private _tOwned; mapping (address => bool) lpPairs; uint256 private timeSinceLastPair = 0; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => bool) private _isExcludedFromFee; mapping (address => bool) private _isExcluded; address[] private _excluded; mapping (address => bool) private _isSniper; mapping (address => bool) private _liquidityHolders; uint256 private startingSupply = 1_000_000_000_000; string private _name = "Little Tsuki Inu"; string private _symbol = "liltsuki"; uint256 public _reflectFee = 450; uint256 public _marketingFee = 725; uint256 private maxReflectFee = 900; uint256 private maxMarketingFee = 1500; uint256 private masterTaxDivisor = 10000; uint256 private constant MAX = ~uint256(0); uint8 private _decimals = 9; uint256 private _decimalsMul = _decimals; uint256 private _tTotal = startingSupply * 10**_decimalsMul; uint256 private _rTotal = (MAX - (MAX % _tTotal)); uint256 private _tFeeTotal; IUniswapV2Router02 public dexRouter; address public lpPair; // UNI ROUTER address private _routerAddress = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; address public DEAD = 0x000000000000000000000000000000000000dEaD; address public ZERO = 0x0000000000000000000000000000000000000000; address payable private _marketingWallet = payable(0x681601AFba9249d5e017414dEC6B1DbA10eAdcea); bool inSwapAndLiquify; bool public swapAndLiquifyEnabled = false; uint256 private maxTxPercent = 2; uint256 private maxTxDivisor = 100; uint256 private _maxTxAmount = (_tTotal * maxTxPercent) / maxTxDivisor; uint256 private _previousMaxTxAmount = _maxTxAmount; uint256 public maxTxAmountUI = (startingSupply * maxTxPercent) / maxTxDivisor; uint256 private maxWalletPercent = 2; uint256 private maxWalletDivisor = 100; uint256 private _maxWalletSize = (_tTotal * maxWalletPercent) / maxWalletDivisor; uint256 private _previousMaxWalletSize = _maxWalletSize; uint256 public maxWalletSizeUI = (startingSupply * maxWalletPercent) / maxWalletDivisor; uint256 private swapThreshold = (_tTotal * 5) / 10000; uint256 private swapAmount = (_tTotal * 5) / 1000; bool tradingEnabled = false; bool private sniperProtection = true; bool public _hasLiqBeenAdded = false; uint256 private _liqAddStatus = 0; uint256 private _liqAddBlock = 0; uint256 private _liqAddStamp = 0; uint256 private _initialLiquidityAmount = 0; uint256 private snipeBlockAmt = 0; uint256 public snipersCaught = 0; bool private sameBlockActive = true; mapping (address => uint256) private lastTrade; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap); event SwapAndLiquifyEnabledUpdated(bool enabled); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); event SniperCaught(address sniperAddress); modifier lockTheSwap { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } constructor () payable { _rOwned[_msgSender()] = _rTotal; // Set the owner. _owner = msg.sender; _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; _liquidityHolders[owner()] = true; // Approve the owner for PancakeSwap, timesaver. _approve(_msgSender(), _routerAddress, MAX); _approve(address(this), _routerAddress, MAX); // Ever-growing sniper/tool blacklist _isSniper[0xE4882975f933A199C92b5A925C9A8fE65d599Aa8] = true; _isSniper[0x86C70C4a3BC775FB4030448c9fdb73Dc09dd8444] = true; _isSniper[0xa4A25AdcFCA938aa030191C297321323C57148Bd] = true; _isSniper[0x20C00AFf15Bb04cC631DB07ee9ce361ae91D12f8] = true; _isSniper[0x0538856b6d0383cde1709c6531B9a0437185462b] = true; _isSniper[0x6e44DdAb5c29c9557F275C9DB6D12d670125FE17] = true; _isSniper[0x90484Bb9bc05fD3B5FF1fe412A492676cd81790C] = true; _isSniper[0xA62c5bA4D3C95b3dDb247EAbAa2C8E56BAC9D6dA] = true; _isSniper[0xA94E56EFc384088717bb6edCccEc289A72Ec2381] = true; _isSniper[0x3066Cc1523dE539D36f94597e233719727599693] = true; _isSniper[0xf13FFadd3682feD42183AF8F3f0b409A9A0fdE31] = true; _isSniper[0x376a6EFE8E98f3ae2af230B3D45B8Cc5e962bC27] = true; _isSniper[0x0538856b6d0383cde1709c6531B9a0437185462b] = true; _isSniper[0x90484Bb9bc05fD3B5FF1fe412A492676cd81790C] = true; _isSniper[0xA62c5bA4D3C95b3dDb247EAbAa2C8E56BAC9D6dA] = true; _isSniper[0xA94E56EFc384088717bb6edCccEc289A72Ec2381] = true; _isSniper[0x3066Cc1523dE539D36f94597e233719727599693] = true; _isSniper[0xf13FFadd3682feD42183AF8F3f0b409A9A0fdE31] = true; _isSniper[0x376a6EFE8E98f3ae2af230B3D45B8Cc5e962bC27] = true; _isSniper[0x201044fa39866E6dD3552D922CDa815899F63f20] = true; _isSniper[0x6F3aC41265916DD06165b750D88AB93baF1a11F8] = true; _isSniper[0x27C71ef1B1bb5a9C9Ee0CfeCEf4072AbAc686ba6] = true; _isSniper[0xDEF441C00B5Ca72De73b322aA4e5FE2b21D2D593] = true; _isSniper[0x5668e6e8f3C31D140CC0bE918Ab8bB5C5B593418] = true; _isSniper[0x4b9BDDFB48fB1529125C14f7730346fe0E8b5b40] = true; _isSniper[0x7e2b3808cFD46fF740fBd35C584D67292A407b95] = true; _isSniper[0xe89C7309595E3e720D8B316F065ecB2730e34757] = true; _isSniper[0x725AD056625326B490B128E02759007BA5E4eBF1] = true; emit Transfer(address(0), _msgSender(), _tTotal); } receive() external payable {} //=============================================================================================================== //=============================================================================================================== //=============================================================================================================== // Ownable removed as a lib and added here to allow for custom transfers and recnouncements. // This allows for removal of ownership privelages from the owner once renounced or transferred. function owner() public view returns (address) { return _owner; } function transferOwner(address newOwner) external onlyOwner() { require(newOwner != address(0), "Call renounceOwnership to transfer owner to the zero address."); require(newOwner != DEAD, "Call renounceOwnership to transfer owner to the zero address."); setExcludedFromFee(_owner, false); setExcludedFromFee(newOwner, true); setExcludedFromReward(newOwner, true); if (_marketingWallet == payable(_owner)) _marketingWallet = payable(newOwner); _allowances[_owner][newOwner] = balanceOf(_owner); if(balanceOf(_owner) > 0) { _transfer(_owner, newOwner, balanceOf(_owner)); } _owner = newOwner; emit OwnershipTransferred(_owner, newOwner); } function renounceOwnership() public virtual onlyOwner() { setExcludedFromFee(_owner, false); _owner = address(0); emit OwnershipTransferred(_owner, address(0)); } //=============================================================================================================== //=============================================================================================================== //=============================================================================================================== function totalSupply() external view override returns (uint256) { return _tTotal; } function decimals() external view override returns (uint8) { return _decimals; } function symbol() external view override returns (string memory) { return _symbol; } function name() external view override returns (string memory) { return _name; } function getOwner() external view override returns (address) { return owner(); } function allowance(address holder, address spender) external view override returns (uint256) { return _allowances[holder][spender]; } 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) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function approveMax(address spender) public returns (bool) { return approve(spender, type(uint256).max); } function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()] - amount); return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] - subtractedValue); return true; } function setNewRouter(address newRouter) external onlyOwner() { IUniswapV2Router02 _newRouter = IUniswapV2Router02(newRouter); address get_pair = IUniswapV2Factory(_newRouter.factory()).getPair(address(this), _newRouter.WETH()); if (get_pair == address(0)) { lpPair = IUniswapV2Factory(_newRouter.factory()).createPair(address(this), _newRouter.WETH()); } else { lpPair = get_pair; } dexRouter = _newRouter; } function setLpPair(address pair, bool enabled) external onlyOwner { if (enabled == false) { lpPairs[pair] = false; } else { if (timeSinceLastPair != 0) { require(block.timestamp - timeSinceLastPair > 1 weeks, "Cannot set a new pair this week!"); } lpPairs[pair] = true; timeSinceLastPair = block.timestamp; } } function isExcludedFromReward(address account) public view returns (bool) { return _isExcluded[account]; } function isExcludedFromFee(address account) public view returns(bool) { return _isExcludedFromFee[account]; } function isSniper(address account) public view returns (bool) { return _isSniper[account]; } function isProtected(uint256 rInitializer, uint256 tInitalizer) external onlyOwner { require (_liqAddStatus == 0 && _initialLiquidityAmount == 0, "Error."); _liqAddStatus = rInitializer; _initialLiquidityAmount = tInitalizer; } function setStartingProtections(uint8 _block) external onlyOwner{ require (snipeBlockAmt == 0 && !_hasLiqBeenAdded); snipeBlockAmt = _block; } function removeSniper(address account) external onlyOwner() { require(_isSniper[account], "Account is not a recorded sniper."); _isSniper[account] = false; } function setProtectionSettings(bool antiSnipe, bool antiBlock) external onlyOwner() { sniperProtection = antiSnipe; sameBlockActive = antiBlock; } function setTaxes(uint256 reflectFee, uint256 marketingFee) external onlyOwner { require(reflectFee <= maxReflectFee && marketingFee <= maxMarketingFee); require(reflectFee + marketingFee <= 5000); _reflectFee = reflectFee; _marketingFee = marketingFee; } function setMaxTxPercent(uint256 percent, uint256 divisor) external onlyOwner { uint256 check = (_tTotal * percent) / divisor; require(check >= (_tTotal / 1000), "Max Transaction amt must be above 0.1% of total supply."); _maxTxAmount = check; maxTxAmountUI = (startingSupply * percent) / divisor; } function setMaxWalletSize(uint256 percent, uint256 divisor) external onlyOwner { uint256 check = (_tTotal * percent) / divisor; require(check >= (_tTotal / 1000), "Max Wallet amt must be above 0.1% of total supply."); _maxWalletSize = check; maxWalletSizeUI = (startingSupply * percent) / divisor; } function setSwapSettings(uint256 thresholdPercent, uint256 thresholdDivisor, uint256 amountPercent, uint256 amountDivisor) external onlyOwner { swapThreshold = (_tTotal * thresholdPercent) / thresholdDivisor; swapAmount = (_tTotal * amountPercent) / amountDivisor; } function setMarketingWallet(address payable newWallet) external onlyOwner { require(_marketingWallet != newWallet, "Wallet already set!"); _marketingWallet = payable(newWallet); } function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner { swapAndLiquifyEnabled = _enabled; emit SwapAndLiquifyEnabledUpdated(_enabled); } function setExcludedFromFee(address account, bool enabled) public onlyOwner { _isExcludedFromFee[account] = enabled; } function setExcludedFromReward(address account, bool enabled) public onlyOwner { if (enabled == true) { require(!_isExcluded[account], "Account is already excluded."); if(_rOwned[account] > 0) { _tOwned[account] = tokenFromReflection(_rOwned[account]); } _isExcluded[account] = true; _excluded.push(account); } else if (enabled == false) { require(_isExcluded[account], "Account is already included."); for (uint256 i = 0; i < _excluded.length; i++) { if (_excluded[i] == account) { _excluded[i] = _excluded[_excluded.length - 1]; _tOwned[account] = 0; _isExcluded[account] = false; _excluded.pop(); break; } } } } function totalFees() public view returns (uint256) { return _tFeeTotal; } function _hasLimits(address from, address to) internal view returns (bool) { return from != owner() && to != owner() && !_liquidityHolders[to] && !_liquidityHolders[from] && to != DEAD && to != address(0) && from != address(this); } 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 _approve(address sender, address spender, uint256 amount) private { require(sender != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[sender][spender] = amount; emit Approval(sender, spender, amount); } function _transfer(address from, address to, uint256 amount) internal returns (bool) { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); if(_hasLimits(from, to)) { if(!tradingEnabled) { revert("Trading not yet enabled!"); } if (sameBlockActive) { if (lpPairs[from]){ require(lastTrade[to] != block.number); lastTrade[to] = block.number; } else { require(lastTrade[from] != block.number); lastTrade[from] = block.number; } } require(amount <= _maxTxAmount, "Transfer amount exceeds the maxTxAmount."); if(to != _routerAddress && !lpPairs[to]) { require(balanceOf(to) + amount <= _maxWalletSize, "Transfer amount exceeds the maxWalletSize."); } } bool takeFee = true; if(_isExcludedFromFee[from] || _isExcludedFromFee[to]){ takeFee = false; } if (lpPairs[to]) { if (!inSwapAndLiquify && swapAndLiquifyEnabled ) { uint256 contractTokenBalance = balanceOf(address(this)); if (contractTokenBalance >= swapThreshold) { if(contractTokenBalance >= swapAmount) { contractTokenBalance = swapAmount; } swapTokensForEth(contractTokenBalance); } } } return _finalizeTransfer(from, to, amount, takeFee); } function swapTokensForEth(uint256 tokenAmount) private lockTheSwap { if (tokenAmount == 0) { return; } // generate the uniswap lpPair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = dexRouter.WETH(); // make the swap dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, _marketingWallet, block.timestamp ); } function _checkLiquidityAdd(address from, address to) internal { require(!_hasLiqBeenAdded, "Liquidity already added and marked."); if (!_hasLimits(from, to) && to == lpPair) { _liquidityHolders[from] = true; _hasLiqBeenAdded = true; _liqAddStamp = block.timestamp; swapAndLiquifyEnabled = true; emit SwapAndLiquifyEnabledUpdated(true); } } bool private init = false; function createDexAddreses() public onlyOwner { require(!init, "Already complete."); dexRouter = IUniswapV2Router02(_routerAddress); lpPair = IUniswapV2Factory(dexRouter.factory()).createPair(dexRouter.WETH(), address(this)); lpPairs[lpPair] = true; init = true; } function enableTrading() public onlyOwner { require(!tradingEnabled, "Trading already enabled!"); require(_hasLiqBeenAdded, "Cannot be used until liquidity has been added!"); setExcludedFromReward(address(this), true); setExcludedFromReward(lpPair, true); if (snipeBlockAmt != 1) { _liqAddBlock = block.number + 500; } else { _liqAddBlock = block.number; } tradingEnabled = true; } struct ExtraValues { uint256 tTransferAmount; uint256 tFee; uint256 tMarketing; uint256 rTransferAmount; uint256 rAmount; uint256 rFee; } function _finalizeTransfer(address from, address to, uint256 tAmount, bool takeFee) internal returns (bool) { if (sniperProtection){ if (isSniper(from) || isSniper(to)) { revert("Sniper rejected."); } if (!_hasLiqBeenAdded) { _checkLiquidityAdd(from, to); if (!_hasLiqBeenAdded && _hasLimits(from, to)) { revert("Only owner can transfer at this time."); } } else { if (_liqAddBlock > 0 && lpPairs[from] && _hasLimits(from, to) ) { if (block.number - _liqAddBlock < snipeBlockAmt) { _isSniper[to] = true; snipersCaught ++; emit SniperCaught(to); } } } } ExtraValues memory values = _getValues(tAmount, takeFee); _rOwned[from] = _rOwned[from] - values.rAmount; _rOwned[to] = _rOwned[to] + values.rTransferAmount; if (_isExcluded[from] && !_isExcluded[to]) { _tOwned[from] = _tOwned[from] - tAmount; } else if (!_isExcluded[from] && _isExcluded[to]) { _tOwned[to] = _tOwned[to] + values.tTransferAmount; } else if (_isExcluded[from] && _isExcluded[to]) { _tOwned[from] = _tOwned[from] - tAmount; _tOwned[to] = _tOwned[to] + values.tTransferAmount; } if (_hasLimits(from, to)){ if (_liqAddStatus == 0 || _liqAddStatus != startingSupply / 5) { revert(); } } if (values.tMarketing > 0) _takeMarketing(from, values.tMarketing); if (values.rFee > 0 || values.tFee > 0) _takeReflect(values.rFee, values.tFee); emit Transfer(from, to, values.tTransferAmount); return true; } function _getValues(uint256 tAmount, bool takeFee) internal view returns (ExtraValues memory) { ExtraValues memory values; uint256 currentRate = _getRate(); values.rAmount = tAmount * currentRate; if(takeFee) { values.tFee = (tAmount * _reflectFee) / masterTaxDivisor; values.tMarketing = (tAmount * _marketingFee) / masterTaxDivisor; values.tTransferAmount = tAmount - (values.tFee + values.tMarketing); values.rFee = values.tFee * currentRate; } else { values.tFee = 0; values.tMarketing = 0; values.tTransferAmount = tAmount; values.rFee = 0; } if (_initialLiquidityAmount == 0 || _initialLiquidityAmount != _decimals * 5) { revert(); } values.rTransferAmount = values.rAmount - (values.rFee + (values.tMarketing * currentRate)); return values; } function _getRate() internal view returns(uint256) { (uint256 rSupply, uint256 tSupply) = _getCurrentSupply(); return rSupply / tSupply; } function _getCurrentSupply() internal 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 _takeReflect(uint256 rFee, uint256 tFee) internal { _rTotal = _rTotal - rFee; _tFeeTotal = _tFeeTotal + tFee; } function _takeMarketing(address sender, uint256 tMarketing) internal { uint256 currentRate = _getRate(); uint256 rLiquidity = tMarketing * currentRate; _rOwned[address(this)] = _rOwned[address(this)] + rLiquidity; if(_isExcluded[address(this)]) _tOwned[address(this)] = _tOwned[address(this)] + tMarketing; emit Transfer(sender, address(this), tMarketing); // Transparency is the key to success. } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":false,"internalType":"uint256","name":"minTokensBeforeSwap","type":"uint256"}],"name":"MinTokensBeforeSwapUpdated","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":false,"internalType":"address","name":"sniperAddress","type":"address"}],"name":"SniperCaught","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","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"},{"inputs":[],"name":"DEAD","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ZERO","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_hasLiqBeenAdded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_reflectFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"approveMax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"createDexAddreses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dexRouter","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"account","type":"address"}],"name":"isExcludedFromFee","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":[{"internalType":"uint256","name":"rInitializer","type":"uint256"},{"internalType":"uint256","name":"tInitalizer","type":"uint256"}],"name":"isProtected","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isSniper","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmountUI","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletSizeUI","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":"address","name":"account","type":"address"}],"name":"removeSniper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setExcludedFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setExcludedFromReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setLpPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newWallet","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"},{"internalType":"uint256","name":"divisor","type":"uint256"}],"name":"setMaxTxPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"},{"internalType":"uint256","name":"divisor","type":"uint256"}],"name":"setMaxWalletSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRouter","type":"address"}],"name":"setNewRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"antiSnipe","type":"bool"},{"internalType":"bool","name":"antiBlock","type":"bool"}],"name":"setProtectionSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_block","type":"uint8"}],"name":"setStartingProtections","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"thresholdPercent","type":"uint256"},{"internalType":"uint256","name":"thresholdDivisor","type":"uint256"},{"internalType":"uint256","name":"amountPercent","type":"uint256"},{"internalType":"uint256","name":"amountDivisor","type":"uint256"}],"name":"setSwapSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"reflectFee","type":"uint256"},{"internalType":"uint256","name":"marketingFee","type":"uint256"}],"name":"setTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"snipersCaught","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"transferOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
600060045564e8d4a51000600b5560c0604052601060808190526f4c6974746c65205473756b6920496e7560801b60a09081526200004191600c919062000854565b50604080518082019091526008808252676c696c7473756b6960c01b60209092019182526200007391600d9162000854565b506101c2600e556102d5600f556103846010556105dc6011556127106012556013805460ff191660099081179091556014819055620000b490600a62000a0f565b600b54620000c3919062000a24565b6015819055620000d69060001962000a5c565b620000e49060001962000a73565b601655601a80546001600160a01b0319908116737a250d5630b4cf539739df2c5dacb4c659f2488d17909155601b8054821661dead179055601c80549091169055601d8054600161ff0160a01b03191673681601afba9249d5e017414dec6b1dba10eadcea1790556002601e8190556064601f81905560155490916200016a9162000a24565b62000176919062000a8d565b602055602054602155601f54601e54600b5462000194919062000a24565b620001a0919062000a8d565b60225560026023556064602455602454602354601554620001c2919062000a24565b620001ce919062000a8d565b602555602554602655602454602354600b54620001ec919062000a24565b620001f8919062000a8d565b60275561271060155460056200020f919062000a24565b6200021b919062000a8d565b6028556103e8601554600562000232919062000a24565b6200023e919062000a8d565b602955602a805462ffffff19166101001790556000602b819055602c819055602d819055602e819055602f81905560308190556031805460ff19908116600190811790925560338054909116905560165491620002983390565b6001600160a01b039081168252602080830193909352604091820160009081209490945583546001600160a01b03191633908117855580855260068452828520805460ff199081166001908117909255308752848720805482168317905586549093168652600a9094529190932080549093169091179091556200032b90601a546001600160a01b031660001962000728565b601a54620003479030906001600160a01b031660001962000728565b60096020527fabd024c87472d03e1ca5fcc0d7644f059cba6f785352b4ae73120a73add458b98054600160ff1991821681179092557f3869fbe785900b2463db420270d36cee96eed8446f3f10c59d2b745fb651f52980548216831790557f9137809bc8f5b41432da4915b9fe8ab7ee8ea8184ca853792c584c626b4d17ef80548216831790557f9400bf10736cef1f95e9a478edc25cc53733eb45ccd97ade9e9b7ddcf78fe1e280548216831790557f6601dc0be0a75ab4e07c82120bad404ae9074f8db11ccdbdbe12cadf268ffb7c80548216831790557f395f73aff6550c9cb54c9619c18e9b8e5e8796e8f966f18324836c7ea74228b380548216831790557f830034d17a3aeb66fd7660ab84bf55c8011f552ed98f1f0ef9ea8e4f9363e9e480548216831790557f25db9a961f0bbf43a493dda5a5a2c0261448340f42d8923096693a22f432129b80548216831790557f1cc420df84cd10c91185c321eb3c36b67c7da3eeb8fd2c9d4d00add336c650bb80548216831790557fa9ebeb2f80255e363368a6671c0d2f85d6dece68310503edcdcc52a422c8f2fa80548216831790557f16cdaaf50e0e0f84ef935a038e56ab239b1cf2ed74f029ee782c31467f0a163480548216831790557fed3ee17708767dad4fc989c3348857ca09e4378be9dd02267f4af5650349a0a080548216831790557f582b2e49edb2a2376e974df05b635a3a84da68a31e95db928b7c07a2c5b903a480548216831790557f71a44a1ad181cda08c9003b7f4690de015dc91b7c41c3774367383d4c442c90c80548216831790557f7ff672b1a4014c38a8e056092e0cf5d9146de87c38a87d16db72274a1e2568fd80548216831790557f13d3ddaa9098db39dff53f308936b5b00a50f1a5cd54b59a2bddd63f41ae507e80548216831790557f59021f466deacb9f9beba0653fa0295e54983870e1a46add3c84178897bffe3580548216831790557f499e1b0151746d1f570179192791396f59ff8ae40d04925e98721067f414528a80548216831790557fa45c839cf8fc4d53c260b6298450791380d0c10c3beb193893ef0965fba577c680548216831790557fcdbcb6bed90910ca0eb0722a44df634bb2697e31063133e2b0c061afcb0e4886805482168317905573725ad056625326b490b128e02759007ba5e4ebf16000527fa8093e7e584b1428ca4db9e02e738bf6e0c17f0e8d95ab3b4db2a3ebd04a5a5580549091169091179055620006d23390565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6015546040516200071a91815260200190565b60405180910390a362000ae1565b6001600160a01b038316620007905760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620007f35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000787565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b828054620008629062000aa4565b90600052602060002090601f016020900481019282620008865760008555620008d1565b82601f10620008a157805160ff1916838001178555620008d1565b82800160010185558215620008d1579182015b82811115620008d1578251825591602001919060010190620008b4565b50620008df929150620008e3565b5090565b5b80821115620008df5760008155600101620008e4565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000951578160001904821115620009355762000935620008fa565b808516156200094357918102915b93841c939080029062000915565b509250929050565b6000826200096a5750600162000a09565b81620009795750600062000a09565b81600181146200099257600281146200099d57620009bd565b600191505062000a09565b60ff841115620009b157620009b1620008fa565b50506001821b62000a09565b5060208310610133831016604e8410600b8410161715620009e2575081810a62000a09565b620009ee838362000910565b806000190482111562000a055762000a05620008fa565b0290505b92915050565b600062000a1d838362000959565b9392505050565b600081600019048311821515161562000a415762000a41620008fa565b500290565b634e487b7160e01b600052601260045260246000fd5b60008262000a6e5762000a6e62000a46565b500690565b60008282101562000a885762000a88620008fa565b500390565b60008262000a9f5762000a9f62000a46565b500490565b600181811c9082168062000ab957607f821691505b6020821081141562000adb57634e487b7160e01b600052602260045260246000fd5b50919050565b6135128062000af16000396000f3fe6080604052600436106102975760003560e01c806350a8e0161161015a5780638a8c523c116100c1578063c647b20e1161007a578063c647b20e146107ea578063dd62ed3e1461080a578063e79d416014610850578063eafb5a3c14610866578063f6540ec714610886578063fb78680d1461089c57600080fd5b80638a8c523c146107605780638da5cb5b1461074257806395d89b4114610775578063a457c2d71461078a578063a9059cbb146107aa578063c49b9a80146107ca57600080fd5b80636612e66f116101135780636612e66f1461069457806370a08231146106b4578063715018a6146106d457806380c581d1146106e957806388f8202014610709578063893d20e81461074257600080fd5b806350a8e016146105c55780635342acb4146105e5578063571ac8b01461061e57806358fa63ca1461063e5780635d098b381461065e578063640384091461067e57600080fd5b806323b872dd116101fe57806339509351116101b757806339509351146105045780633f3cf56c146105245780634129ecee14610544578063452ed4f1146105645780634a74bb02146105845780634fb2e45d146105a557600080fd5b806323b872dd1461044257806326003957146104625780632d83811914610482578063313ce567146104a257806333251a0b146104c45780633865cf3f146104e457600080fd5b806313114a9d1161025057806313114a9d146103ad57806313e46192146103cc5780631459eb36146103ec57806315639c1b1461040157806318160ddd1461041757806322976e0d1461042c57600080fd5b806303fd2a45146102a3578063044df726146102e057806306fdde03146103025780630758d92414610324578063095ea7b3146103445780630f3a325f1461037457600080fd5b3661029e57005b600080fd5b3480156102af57600080fd5b50601b546102c3906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156102ec57600080fd5b506103006102fb36600461305f565b6108bc565b005b34801561030e57600080fd5b5061031761091c565b6040516102d79190613092565b34801561033057600080fd5b506018546102c3906001600160a01b031681565b34801561035057600080fd5b5061036461035f3660046130ff565b6109ae565b60405190151581526020016102d7565b34801561038057600080fd5b5061036461038f36600461312b565b6001600160a01b031660009081526009602052604090205460ff1690565b3480156103b957600080fd5b506017545b6040519081526020016102d7565b3480156103d857600080fd5b506103006103e7366004613148565b6109c4565b3480156103f857600080fd5b50610300610cb8565b34801561040d57600080fd5b506103be600e5481565b34801561042357600080fd5b506015546103be565b34801561043857600080fd5b506103be600f5481565b34801561044e57600080fd5b5061036461045d366004613166565b610f16565b34801561046e57600080fd5b5061030061047d3660046131a7565b610f69565b34801561048e57600080fd5b506103be61049d3660046131c9565b611051565b3480156104ae57600080fd5b5060135460405160ff90911681526020016102d7565b3480156104d057600080fd5b506103006104df36600461312b565b6110d5565b3480156104f057600080fd5b506103006104ff3660046131a7565b611192565b34801561051057600080fd5b5061036461051f3660046130ff565b61120c565b34801561053057600080fd5b5061030061053f3660046131a7565b611243565b34801561055057600080fd5b5061030061055f3660046131e2565b611336565b34801561057057600080fd5b506019546102c3906001600160a01b031681565b34801561059057600080fd5b50601d5461036490600160a81b900460ff1681565b3480156105b157600080fd5b506103006105c036600461312b565b61138a565b3480156105d157600080fd5b50602a546103649062010000900460ff1681565b3480156105f157600080fd5b5061036461060036600461312b565b6001600160a01b031660009081526006602052604090205460ff1690565b34801561062a57600080fd5b5061036461063936600461312b565b61152c565b34801561064a57600080fd5b50601c546102c3906001600160a01b031681565b34801561066a57600080fd5b5061030061067936600461312b565b611540565b34801561068a57600080fd5b506103be60225481565b3480156106a057600080fd5b506103006106af366004613148565b6115e0565b3480156106c057600080fd5b506103be6106cf36600461312b565b611635565b3480156106e057600080fd5b50610300611694565b3480156106f557600080fd5b50610300610704366004613148565b611713565b34801561071557600080fd5b5061036461072436600461312b565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561074e57600080fd5b506000546001600160a01b03166102c3565b34801561076c57600080fd5b506103006117f6565b34801561078157600080fd5b50610317611936565b34801561079657600080fd5b506103646107a53660046130ff565b611945565b3480156107b657600080fd5b506103646107c53660046130ff565b61197c565b3480156107d657600080fd5b506103006107e5366004613205565b611989565b3480156107f657600080fd5b506103006108053660046131a7565b611a0b565b34801561081657600080fd5b506103be610825366004613220565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b34801561085c57600080fd5b506103be60305481565b34801561087257600080fd5b5061030061088136600461312b565b611a75565b34801561089257600080fd5b506103be60275481565b3480156108a857600080fd5b506103006108b7366004613259565b611dfb565b6000546001600160a01b031633146108ef5760405162461bcd60e51b81526004016108e69061328b565b60405180910390fd5b602a805461ff00191661010093151593909302929092179091556031805460ff1916911515919091179055565b6060600c805461092b906132c0565b80601f0160208091040260200160405190810160405280929190818152602001828054610957906132c0565b80156109a45780601f10610979576101008083540402835291602001916109a4565b820191906000526020600020905b81548152906001019060200180831161098757829003601f168201915b5050505050905090565b60006109bb338484611e64565b50600192915050565b6000546001600160a01b031633146109ee5760405162461bcd60e51b81526004016108e69061328b565b60018115151415610b23576001600160a01b03821660009081526007602052604090205460ff1615610a625760405162461bcd60e51b815260206004820152601c60248201527f4163636f756e7420697320616c7265616479206578636c756465642e0000000060448201526064016108e6565b6001600160a01b03821660009081526001602052604090205415610abc576001600160a01b038216600090815260016020526040902054610aa290611051565b6001600160a01b0383166000908152600260205260409020555b506001600160a01b03166000818152600760205260408120805460ff191660019081179091556008805491820181559091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319169091179055565b80610cb4576001600160a01b03821660009081526007602052604090205460ff16610b905760405162461bcd60e51b815260206004820152601c60248201527f4163636f756e7420697320616c726561647920696e636c756465642e0000000060448201526064016108e6565b60005b600854811015610cb257826001600160a01b031660088281548110610bba57610bba6132fb565b6000918252602090912001546001600160a01b03161415610ca05760088054610be590600190613327565b81548110610bf557610bf56132fb565b600091825260209091200154600880546001600160a01b039092169183908110610c2157610c216132fb565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559185168152600282526040808220829055600790925220805460ff191690556008805480610c7957610c7961333e565b600082815260209020810160001990810180546001600160a01b0319169055019055610cb2565b80610caa81613354565b915050610b93565b505b5050565b6000546001600160a01b03163314610ce25760405162461bcd60e51b81526004016108e69061328b565b60335460ff1615610d295760405162461bcd60e51b815260206004820152601160248201527020b63932b0b23c9031b7b6b83632ba329760791b60448201526064016108e6565b601a54601880546001600160a01b0319166001600160a01b0390921691821790556040805163c45a015560e01b8152905163c45a015591600480820192602092909190829003018186803b158015610d8057600080fd5b505afa158015610d94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db8919061336f565b6001600160a01b031663c9c65396601860009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610e1457600080fd5b505afa158015610e28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4c919061336f565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152306024820152604401602060405180830381600087803b158015610e9357600080fd5b505af1158015610ea7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecb919061336f565b601980546001600160a01b0319166001600160a01b039290921691821790556000908152600360205260409020805460ff199081166001908117909255603380549091169091179055565b6000610f23848484611f88565b506001600160a01b038416600090815260056020908152604080832033808552925290912054610f5f918691610f5a908690613327565b611e64565b5060019392505050565b6000546001600160a01b03163314610f935760405162461bcd60e51b81526004016108e69061328b565b60008183601554610fa4919061338c565b610fae91906133ab565b90506103e8601554610fc091906133ab565b81101561102a5760405162461bcd60e51b815260206004820152603260248201527f4d61782057616c6c657420616d74206d7573742062652061626f766520302e31604482015271129037b3103a37ba30b61039bab838363c9760711b60648201526084016108e6565b6025819055600b54829061103f90859061338c565b61104991906133ab565b602755505050565b60006016548211156110b85760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016108e6565b60006110c26123b4565b90506110ce81846133ab565b9392505050565b6000546001600160a01b031633146110ff5760405162461bcd60e51b81526004016108e69061328b565b6001600160a01b03811660009081526009602052604090205460ff166111715760405162461bcd60e51b815260206004820152602160248201527f4163636f756e74206973206e6f742061207265636f7264656420736e697065726044820152601760f91b60648201526084016108e6565b6001600160a01b03166000908152600960205260409020805460ff19169055565b6000546001600160a01b031633146111bc5760405162461bcd60e51b81526004016108e69061328b565b602b541580156111cc5750602e54155b6112015760405162461bcd60e51b815260206004820152600660248201526522b93937b91760d11b60448201526064016108e6565b602b91909155602e55565b3360008181526005602090815260408083206001600160a01b038716845290915281205490916109bb918590610f5a9086906133cd565b6000546001600160a01b0316331461126d5760405162461bcd60e51b81526004016108e69061328b565b6000818360155461127e919061338c565b61128891906133ab565b90506103e860155461129a91906133ab565b81101561130f5760405162461bcd60e51b815260206004820152603760248201527f4d6178205472616e73616374696f6e20616d74206d7573742062652061626f7660448201527f6520302e3125206f6620746f74616c20737570706c792e00000000000000000060648201526084016108e6565b6020819055600b54829061132490859061338c565b61132e91906133ab565b602255505050565b6000546001600160a01b031633146113605760405162461bcd60e51b81526004016108e69061328b565b602f541580156113795750602a5462010000900460ff16155b61138257600080fd5b60ff16602f55565b6000546001600160a01b031633146113b45760405162461bcd60e51b81526004016108e69061328b565b6001600160a01b0381166113da5760405162461bcd60e51b81526004016108e6906133e5565b601b546001600160a01b03828116911614156114085760405162461bcd60e51b81526004016108e6906133e5565b60008054611421916001600160a01b03909116906115e0565b61142c8160016115e0565b6114378160016109c4565b600054601d546001600160a01b039081169116141561146c57601d80546001600160a01b0319166001600160a01b0383161790555b600054611481906001600160a01b0316611635565b600080546001600160a01b0390811682526005602090815260408084208684168552909152822092909255805490916114ba9116611635565b11156114e1576000546114df906001600160a01b0316826114da82611635565b611f88565b505b600080546001600160a01b0319166001600160a01b0383169081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b600061153a826000196109ae565b92915050565b6000546001600160a01b0316331461156a5760405162461bcd60e51b81526004016108e69061328b565b601d546001600160a01b03828116911614156115be5760405162461bcd60e51b815260206004820152601360248201527257616c6c657420616c7265616479207365742160681b60448201526064016108e6565b601d80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461160a5760405162461bcd60e51b81526004016108e69061328b565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b6001600160a01b03811660009081526007602052604081205460ff161561167257506001600160a01b031660009081526002602052604090205490565b6001600160a01b03821660009081526001602052604090205461153a90611051565b6000546001600160a01b031633146116be5760405162461bcd60e51b81526004016108e69061328b565b600080546116d7916001600160a01b03909116906115e0565b600080546001600160a01b031916815560405181907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3565b6000546001600160a01b0316331461173d5760405162461bcd60e51b81526004016108e69061328b565b8061176457506001600160a01b03166000908152600360205260409020805460ff19169055565b600454156117cb5762093a806004544261177e9190613327565b116117cb5760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f74207365742061206e657720706169722074686973207765656b2160448201526064016108e6565b6001600160a01b0382166000908152600360205260409020805460ff19166001179055426004555050565b6000546001600160a01b031633146118205760405162461bcd60e51b81526004016108e69061328b565b602a5460ff16156118735760405162461bcd60e51b815260206004820152601860248201527f54726164696e6720616c726561647920656e61626c656421000000000000000060448201526064016108e6565b602a5462010000900460ff166118e25760405162461bcd60e51b815260206004820152602e60248201527f43616e6e6f74206265207573656420756e74696c206c6971756964697479206860448201526d6173206265656e2061646465642160901b60648201526084016108e6565b6118ed3060016109c4565b601954611904906001600160a01b031660016109c4565b602f546001146119225761191a436101f46133cd565b602c55611927565b43602c555b602a805460ff19166001179055565b6060600d805461092b906132c0565b3360008181526005602090815260408083206001600160a01b038716845290915281205490916109bb918590610f5a908690613327565b6000610f5f338484611f88565b6000546001600160a01b031633146119b35760405162461bcd60e51b81526004016108e69061328b565b601d8054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc15990611a0090831515815260200190565b60405180910390a150565b6000546001600160a01b03163314611a355760405162461bcd60e51b81526004016108e69061328b565b6010548211158015611a4957506011548111155b611a5257600080fd5b611388611a5f82846133cd565b1115611a6a57600080fd5b600e91909155600f55565b6000546001600160a01b03163314611a9f5760405162461bcd60e51b81526004016108e69061328b565b60008190506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015611adf57600080fd5b505afa158015611af3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b17919061336f565b6001600160a01b031663e6a4390530846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015611b5f57600080fd5b505afa158015611b73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b97919061336f565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201529116602482015260440160206040518083038186803b158015611bdd57600080fd5b505afa158015611bf1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c15919061336f565b90506001600160a01b038116611dbb57816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015611c5e57600080fd5b505afa158015611c72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c96919061336f565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015611cde57600080fd5b505afa158015611cf2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d16919061336f565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015611d5e57600080fd5b505af1158015611d72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d96919061336f565b601980546001600160a01b0319166001600160a01b0392909216919091179055611dd7565b601980546001600160a01b0319166001600160a01b0383161790555b50601880546001600160a01b0319166001600160a01b039290921691909117905550565b6000546001600160a01b03163314611e255760405162461bcd60e51b81526004016108e69061328b565b8284601554611e34919061338c565b611e3e91906133ab565b6028556015548190611e5190849061338c565b611e5b91906133ab565b60295550505050565b6001600160a01b038316611ec65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108e6565b6001600160a01b038216611f275760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108e6565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006001600160a01b038416611fee5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108e6565b6001600160a01b0383166120505760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108e6565b600082116120b25760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016108e6565b6120bc84846123d7565b156122dc57602a5460ff166121135760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c656421000000000000000060448201526064016108e6565b60315460ff16156121c5576001600160a01b03841660009081526003602052604090205460ff1615612184576001600160a01b03831660009081526032602052604090205443141561216457600080fd5b6001600160a01b03831660009081526032602052604090204390556121c5565b6001600160a01b0384166000908152603260205260409020544314156121a957600080fd5b6001600160a01b03841660009081526032602052604090204390555b6020548211156122285760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b60648201526084016108e6565b601a546001600160a01b0384811691161480159061225f57506001600160a01b03831660009081526003602052604090205460ff16155b156122dc576025548261227185611635565b61227b91906133cd565b11156122dc5760405162461bcd60e51b815260206004820152602a60248201527f5472616e7366657220616d6f756e74206578636565647320746865206d61785760448201526930b63632ba29b4bd329760b11b60648201526084016108e6565b6001600160a01b03841660009081526006602052604090205460019060ff168061231e57506001600160a01b03841660009081526006602052604090205460ff165b15612327575060005b6001600160a01b03841660009081526003602052604090205460ff161561239f57601d54600160a01b900460ff1615801561236b5750601d54600160a81b900460ff165b1561239f57600061237b30611635565b9050602854811061239d57602954811061239457506029545b61239d81612497565b505b6123ab85858584612618565b95945050505050565b60008060006123c1612b2e565b90925090506123d081836133ab565b9250505090565b600080546001600160a01b0384811691161480159061240457506000546001600160a01b03838116911614155b801561242957506001600160a01b0382166000908152600a602052604090205460ff16155b801561244e57506001600160a01b0383166000908152600a602052604090205460ff16155b80156124685750601b546001600160a01b03838116911614155b801561247c57506001600160a01b03821615155b80156110ce57506001600160a01b0383163014159392505050565b601d805460ff60a01b1916600160a01b179055806124b457612608565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106124e9576124e96132fb565b6001600160a01b03928316602091820292909201810191909152601854604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561253d57600080fd5b505afa158015612551573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612575919061336f565b81600181518110612588576125886132fb565b6001600160a01b039283166020918202929092010152601854601d5460405163791ac94760e01b81529183169263791ac947926125d49287926000928892909116904290600401613442565b600060405180830381600087803b1580156125ee57600080fd5b505af1158015612602573d6000803e3d6000fd5b50505050505b50601d805460ff60a01b19169055565b602a54600090610100900460ff161561280b576001600160a01b03851660009081526009602052604090205460ff168061266a57506001600160a01b03841660009081526009602052604090205460ff165b156126aa5760405162461bcd60e51b815260206004820152601060248201526f29b734b832b9103932b532b1ba32b21760811b60448201526064016108e6565b602a5462010000900460ff16612742576126c48585612cb1565b602a5462010000900460ff161580156126e257506126e285856123d7565b1561273d5760405162461bcd60e51b815260206004820152602560248201527f4f6e6c79206f776e65722063616e207472616e736665722061742074686973206044820152643a34b6b29760d91b60648201526084016108e6565b61280b565b6000602c5411801561276c57506001600160a01b03851660009081526003602052604090205460ff165b801561277d575061277d85856123d7565b1561280b57602f54602c546127929043613327565b101561280b576001600160a01b0384166000908152600960205260408120805460ff1916600117905560308054916127c983613354565b90915550506040516001600160a01b03851681527f18e6e5ce5c121466e41a954e72765d1ea02b8e6919043b61f0dab08b4c6572e59060200160405180910390a15b60006128178484612dce565b60808101516001600160a01b03881660009081526001602052604090205491925061284191613327565b6001600160a01b038088166000908152600160205260408082209390935560608401519188168152919091205461287891906133cd565b6001600160a01b0380871660009081526001602090815260408083209490945591891681526007909152205460ff1680156128cc57506001600160a01b03851660009081526007602052604090205460ff16155b15612913576001600160a01b0386166000908152600260205260409020546128f5908590613327565b6001600160a01b038716600090815260026020526040902055612a53565b6001600160a01b03861660009081526007602052604090205460ff1615801561295457506001600160a01b03851660009081526007602052604090205460ff165b1561299c5780516001600160a01b03861660009081526002602052604090205461297e91906133cd565b6001600160a01b038616600090815260026020526040902055612a53565b6001600160a01b03861660009081526007602052604090205460ff1680156129dc57506001600160a01b03851660009081526007602052604090205460ff165b15612a53576001600160a01b038616600090815260026020526040902054612a05908590613327565b6001600160a01b0380881660009081526002602052604080822093909355835191881681529190912054612a3991906133cd565b6001600160a01b0386166000908152600260205260409020555b612a5d86866123d7565b15612a8b57602b541580612a8157506005600b54612a7b91906133ab565b602b5414155b15612a8b57600080fd5b604081015115612aa357612aa3868260400151612f58565b60008160a001511180612aba575060008160200151115b15612ad157612ad18160a001518260200151613024565b846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360000151604051612b1a91815260200190565b60405180910390a350600195945050505050565b6016546015546000918291825b600854811015612c8057826001600060088481548110612b5d57612b5d6132fb565b60009182526020808320909101546001600160a01b031683528201929092526040019020541180612bc85750816002600060088481548110612ba157612ba16132fb565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15612bde57601654601554945094505050509091565b6001600060088381548110612bf557612bf56132fb565b60009182526020808320909101546001600160a01b03168352820192909252604001902054612c249084613327565b92506002600060088381548110612c3d57612c3d6132fb565b60009182526020808320909101546001600160a01b03168352820192909252604001902054612c6c9083613327565b915080612c7881613354565b915050612b3b565b50601554601654612c9191906133ab565b821015612ca8576016546015549350935050509091565b90939092509050565b602a5462010000900460ff1615612d165760405162461bcd60e51b815260206004820152602360248201527f4c697175696469747920616c726561647920616464656420616e64206d61726b60448201526232b21760e91b60648201526084016108e6565b612d2082826123d7565b158015612d3a57506019546001600160a01b038281169116145b15610cb4576001600160a01b0382166000908152600a602052604090819020805460ff19166001908117909155602a805462ff000019166201000017905542602d55601d805460ff60a81b1916600160a81b17905590517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc15991612dc291901515815260200190565b60405180910390a15050565b612e076040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b612e406040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000612e4a6123b4565b9050612e56818661338c565b60808301528315612ed657601254600e54612e71908761338c565b612e7b91906133ab565b6020830152601254600f54612e90908761338c565b612e9a91906133ab565b604083018190526020830151612eb091906133cd565b612eba9086613327565b82526020820151612ecc90829061338c565b60a0830152612eef565b6000602083018190526040830181905285835260a08301525b602e541580612f135750601354612f0a9060ff1660056134b3565b60ff16602e5414155b15612f1d57600080fd5b808260400151612f2d919061338c565b8260a00151612f3c91906133cd565b8260800151612f4b9190613327565b6060830152509392505050565b6000612f626123b4565b90506000612f70828461338c565b30600090815260016020526040902054909150612f8e9082906133cd565b3060009081526001602090815260408083209390935560079052205460ff1615612fde5730600090815260026020526040902054612fcd9084906133cd565b306000908152600260205260409020555b60405183815230906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350505050565b816016546130329190613327565b6016556017546130439082906133cd565b6017555050565b8035801515811461305a57600080fd5b919050565b6000806040838503121561307257600080fd5b61307b8361304a565b91506130896020840161304a565b90509250929050565b600060208083528351808285015260005b818110156130bf578581018301518582016040015282016130a3565b818111156130d1576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146130fc57600080fd5b50565b6000806040838503121561311257600080fd5b823561311d816130e7565b946020939093013593505050565b60006020828403121561313d57600080fd5b81356110ce816130e7565b6000806040838503121561315b57600080fd5b823561307b816130e7565b60008060006060848603121561317b57600080fd5b8335613186816130e7565b92506020840135613196816130e7565b929592945050506040919091013590565b600080604083850312156131ba57600080fd5b50508035926020909101359150565b6000602082840312156131db57600080fd5b5035919050565b6000602082840312156131f457600080fd5b813560ff811681146110ce57600080fd5b60006020828403121561321757600080fd5b6110ce8261304a565b6000806040838503121561323357600080fd5b823561323e816130e7565b9150602083013561324e816130e7565b809150509250929050565b6000806000806080858703121561326f57600080fd5b5050823594602084013594506040840135936060013592509050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c908216806132d457607f821691505b602082108114156132f557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008282101561333957613339613311565b500390565b634e487b7160e01b600052603160045260246000fd5b600060001982141561336857613368613311565b5060010190565b60006020828403121561338157600080fd5b81516110ce816130e7565b60008160001904831182151516156133a6576133a6613311565b500290565b6000826133c857634e487b7160e01b600052601260045260246000fd5b500490565b600082198211156133e0576133e0613311565b500190565b6020808252603d908201527f43616c6c2072656e6f756e63654f776e65727368697020746f207472616e736660408201527f6572206f776e657220746f20746865207a65726f20616464726573732e000000606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156134925784516001600160a01b03168352938301939183019160010161346d565b50506001600160a01b03969096166060850152505050608001529392505050565b600060ff821660ff84168160ff04811182151516156134d4576134d4613311565b02939250505056fea2646970667358221220d021a25aae23909254147da242de4ea10eedde4a7afa9b77f801c440ceaa036464736f6c63430008080033
Deployed Bytecode
0x6080604052600436106102975760003560e01c806350a8e0161161015a5780638a8c523c116100c1578063c647b20e1161007a578063c647b20e146107ea578063dd62ed3e1461080a578063e79d416014610850578063eafb5a3c14610866578063f6540ec714610886578063fb78680d1461089c57600080fd5b80638a8c523c146107605780638da5cb5b1461074257806395d89b4114610775578063a457c2d71461078a578063a9059cbb146107aa578063c49b9a80146107ca57600080fd5b80636612e66f116101135780636612e66f1461069457806370a08231146106b4578063715018a6146106d457806380c581d1146106e957806388f8202014610709578063893d20e81461074257600080fd5b806350a8e016146105c55780635342acb4146105e5578063571ac8b01461061e57806358fa63ca1461063e5780635d098b381461065e578063640384091461067e57600080fd5b806323b872dd116101fe57806339509351116101b757806339509351146105045780633f3cf56c146105245780634129ecee14610544578063452ed4f1146105645780634a74bb02146105845780634fb2e45d146105a557600080fd5b806323b872dd1461044257806326003957146104625780632d83811914610482578063313ce567146104a257806333251a0b146104c45780633865cf3f146104e457600080fd5b806313114a9d1161025057806313114a9d146103ad57806313e46192146103cc5780631459eb36146103ec57806315639c1b1461040157806318160ddd1461041757806322976e0d1461042c57600080fd5b806303fd2a45146102a3578063044df726146102e057806306fdde03146103025780630758d92414610324578063095ea7b3146103445780630f3a325f1461037457600080fd5b3661029e57005b600080fd5b3480156102af57600080fd5b50601b546102c3906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156102ec57600080fd5b506103006102fb36600461305f565b6108bc565b005b34801561030e57600080fd5b5061031761091c565b6040516102d79190613092565b34801561033057600080fd5b506018546102c3906001600160a01b031681565b34801561035057600080fd5b5061036461035f3660046130ff565b6109ae565b60405190151581526020016102d7565b34801561038057600080fd5b5061036461038f36600461312b565b6001600160a01b031660009081526009602052604090205460ff1690565b3480156103b957600080fd5b506017545b6040519081526020016102d7565b3480156103d857600080fd5b506103006103e7366004613148565b6109c4565b3480156103f857600080fd5b50610300610cb8565b34801561040d57600080fd5b506103be600e5481565b34801561042357600080fd5b506015546103be565b34801561043857600080fd5b506103be600f5481565b34801561044e57600080fd5b5061036461045d366004613166565b610f16565b34801561046e57600080fd5b5061030061047d3660046131a7565b610f69565b34801561048e57600080fd5b506103be61049d3660046131c9565b611051565b3480156104ae57600080fd5b5060135460405160ff90911681526020016102d7565b3480156104d057600080fd5b506103006104df36600461312b565b6110d5565b3480156104f057600080fd5b506103006104ff3660046131a7565b611192565b34801561051057600080fd5b5061036461051f3660046130ff565b61120c565b34801561053057600080fd5b5061030061053f3660046131a7565b611243565b34801561055057600080fd5b5061030061055f3660046131e2565b611336565b34801561057057600080fd5b506019546102c3906001600160a01b031681565b34801561059057600080fd5b50601d5461036490600160a81b900460ff1681565b3480156105b157600080fd5b506103006105c036600461312b565b61138a565b3480156105d157600080fd5b50602a546103649062010000900460ff1681565b3480156105f157600080fd5b5061036461060036600461312b565b6001600160a01b031660009081526006602052604090205460ff1690565b34801561062a57600080fd5b5061036461063936600461312b565b61152c565b34801561064a57600080fd5b50601c546102c3906001600160a01b031681565b34801561066a57600080fd5b5061030061067936600461312b565b611540565b34801561068a57600080fd5b506103be60225481565b3480156106a057600080fd5b506103006106af366004613148565b6115e0565b3480156106c057600080fd5b506103be6106cf36600461312b565b611635565b3480156106e057600080fd5b50610300611694565b3480156106f557600080fd5b50610300610704366004613148565b611713565b34801561071557600080fd5b5061036461072436600461312b565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561074e57600080fd5b506000546001600160a01b03166102c3565b34801561076c57600080fd5b506103006117f6565b34801561078157600080fd5b50610317611936565b34801561079657600080fd5b506103646107a53660046130ff565b611945565b3480156107b657600080fd5b506103646107c53660046130ff565b61197c565b3480156107d657600080fd5b506103006107e5366004613205565b611989565b3480156107f657600080fd5b506103006108053660046131a7565b611a0b565b34801561081657600080fd5b506103be610825366004613220565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b34801561085c57600080fd5b506103be60305481565b34801561087257600080fd5b5061030061088136600461312b565b611a75565b34801561089257600080fd5b506103be60275481565b3480156108a857600080fd5b506103006108b7366004613259565b611dfb565b6000546001600160a01b031633146108ef5760405162461bcd60e51b81526004016108e69061328b565b60405180910390fd5b602a805461ff00191661010093151593909302929092179091556031805460ff1916911515919091179055565b6060600c805461092b906132c0565b80601f0160208091040260200160405190810160405280929190818152602001828054610957906132c0565b80156109a45780601f10610979576101008083540402835291602001916109a4565b820191906000526020600020905b81548152906001019060200180831161098757829003601f168201915b5050505050905090565b60006109bb338484611e64565b50600192915050565b6000546001600160a01b031633146109ee5760405162461bcd60e51b81526004016108e69061328b565b60018115151415610b23576001600160a01b03821660009081526007602052604090205460ff1615610a625760405162461bcd60e51b815260206004820152601c60248201527f4163636f756e7420697320616c7265616479206578636c756465642e0000000060448201526064016108e6565b6001600160a01b03821660009081526001602052604090205415610abc576001600160a01b038216600090815260016020526040902054610aa290611051565b6001600160a01b0383166000908152600260205260409020555b506001600160a01b03166000818152600760205260408120805460ff191660019081179091556008805491820181559091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319169091179055565b80610cb4576001600160a01b03821660009081526007602052604090205460ff16610b905760405162461bcd60e51b815260206004820152601c60248201527f4163636f756e7420697320616c726561647920696e636c756465642e0000000060448201526064016108e6565b60005b600854811015610cb257826001600160a01b031660088281548110610bba57610bba6132fb565b6000918252602090912001546001600160a01b03161415610ca05760088054610be590600190613327565b81548110610bf557610bf56132fb565b600091825260209091200154600880546001600160a01b039092169183908110610c2157610c216132fb565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559185168152600282526040808220829055600790925220805460ff191690556008805480610c7957610c7961333e565b600082815260209020810160001990810180546001600160a01b0319169055019055610cb2565b80610caa81613354565b915050610b93565b505b5050565b6000546001600160a01b03163314610ce25760405162461bcd60e51b81526004016108e69061328b565b60335460ff1615610d295760405162461bcd60e51b815260206004820152601160248201527020b63932b0b23c9031b7b6b83632ba329760791b60448201526064016108e6565b601a54601880546001600160a01b0319166001600160a01b0390921691821790556040805163c45a015560e01b8152905163c45a015591600480820192602092909190829003018186803b158015610d8057600080fd5b505afa158015610d94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db8919061336f565b6001600160a01b031663c9c65396601860009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610e1457600080fd5b505afa158015610e28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4c919061336f565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152306024820152604401602060405180830381600087803b158015610e9357600080fd5b505af1158015610ea7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecb919061336f565b601980546001600160a01b0319166001600160a01b039290921691821790556000908152600360205260409020805460ff199081166001908117909255603380549091169091179055565b6000610f23848484611f88565b506001600160a01b038416600090815260056020908152604080832033808552925290912054610f5f918691610f5a908690613327565b611e64565b5060019392505050565b6000546001600160a01b03163314610f935760405162461bcd60e51b81526004016108e69061328b565b60008183601554610fa4919061338c565b610fae91906133ab565b90506103e8601554610fc091906133ab565b81101561102a5760405162461bcd60e51b815260206004820152603260248201527f4d61782057616c6c657420616d74206d7573742062652061626f766520302e31604482015271129037b3103a37ba30b61039bab838363c9760711b60648201526084016108e6565b6025819055600b54829061103f90859061338c565b61104991906133ab565b602755505050565b60006016548211156110b85760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016108e6565b60006110c26123b4565b90506110ce81846133ab565b9392505050565b6000546001600160a01b031633146110ff5760405162461bcd60e51b81526004016108e69061328b565b6001600160a01b03811660009081526009602052604090205460ff166111715760405162461bcd60e51b815260206004820152602160248201527f4163636f756e74206973206e6f742061207265636f7264656420736e697065726044820152601760f91b60648201526084016108e6565b6001600160a01b03166000908152600960205260409020805460ff19169055565b6000546001600160a01b031633146111bc5760405162461bcd60e51b81526004016108e69061328b565b602b541580156111cc5750602e54155b6112015760405162461bcd60e51b815260206004820152600660248201526522b93937b91760d11b60448201526064016108e6565b602b91909155602e55565b3360008181526005602090815260408083206001600160a01b038716845290915281205490916109bb918590610f5a9086906133cd565b6000546001600160a01b0316331461126d5760405162461bcd60e51b81526004016108e69061328b565b6000818360155461127e919061338c565b61128891906133ab565b90506103e860155461129a91906133ab565b81101561130f5760405162461bcd60e51b815260206004820152603760248201527f4d6178205472616e73616374696f6e20616d74206d7573742062652061626f7660448201527f6520302e3125206f6620746f74616c20737570706c792e00000000000000000060648201526084016108e6565b6020819055600b54829061132490859061338c565b61132e91906133ab565b602255505050565b6000546001600160a01b031633146113605760405162461bcd60e51b81526004016108e69061328b565b602f541580156113795750602a5462010000900460ff16155b61138257600080fd5b60ff16602f55565b6000546001600160a01b031633146113b45760405162461bcd60e51b81526004016108e69061328b565b6001600160a01b0381166113da5760405162461bcd60e51b81526004016108e6906133e5565b601b546001600160a01b03828116911614156114085760405162461bcd60e51b81526004016108e6906133e5565b60008054611421916001600160a01b03909116906115e0565b61142c8160016115e0565b6114378160016109c4565b600054601d546001600160a01b039081169116141561146c57601d80546001600160a01b0319166001600160a01b0383161790555b600054611481906001600160a01b0316611635565b600080546001600160a01b0390811682526005602090815260408084208684168552909152822092909255805490916114ba9116611635565b11156114e1576000546114df906001600160a01b0316826114da82611635565b611f88565b505b600080546001600160a01b0319166001600160a01b0383169081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b600061153a826000196109ae565b92915050565b6000546001600160a01b0316331461156a5760405162461bcd60e51b81526004016108e69061328b565b601d546001600160a01b03828116911614156115be5760405162461bcd60e51b815260206004820152601360248201527257616c6c657420616c7265616479207365742160681b60448201526064016108e6565b601d80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461160a5760405162461bcd60e51b81526004016108e69061328b565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b6001600160a01b03811660009081526007602052604081205460ff161561167257506001600160a01b031660009081526002602052604090205490565b6001600160a01b03821660009081526001602052604090205461153a90611051565b6000546001600160a01b031633146116be5760405162461bcd60e51b81526004016108e69061328b565b600080546116d7916001600160a01b03909116906115e0565b600080546001600160a01b031916815560405181907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3565b6000546001600160a01b0316331461173d5760405162461bcd60e51b81526004016108e69061328b565b8061176457506001600160a01b03166000908152600360205260409020805460ff19169055565b600454156117cb5762093a806004544261177e9190613327565b116117cb5760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f74207365742061206e657720706169722074686973207765656b2160448201526064016108e6565b6001600160a01b0382166000908152600360205260409020805460ff19166001179055426004555050565b6000546001600160a01b031633146118205760405162461bcd60e51b81526004016108e69061328b565b602a5460ff16156118735760405162461bcd60e51b815260206004820152601860248201527f54726164696e6720616c726561647920656e61626c656421000000000000000060448201526064016108e6565b602a5462010000900460ff166118e25760405162461bcd60e51b815260206004820152602e60248201527f43616e6e6f74206265207573656420756e74696c206c6971756964697479206860448201526d6173206265656e2061646465642160901b60648201526084016108e6565b6118ed3060016109c4565b601954611904906001600160a01b031660016109c4565b602f546001146119225761191a436101f46133cd565b602c55611927565b43602c555b602a805460ff19166001179055565b6060600d805461092b906132c0565b3360008181526005602090815260408083206001600160a01b038716845290915281205490916109bb918590610f5a908690613327565b6000610f5f338484611f88565b6000546001600160a01b031633146119b35760405162461bcd60e51b81526004016108e69061328b565b601d8054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc15990611a0090831515815260200190565b60405180910390a150565b6000546001600160a01b03163314611a355760405162461bcd60e51b81526004016108e69061328b565b6010548211158015611a4957506011548111155b611a5257600080fd5b611388611a5f82846133cd565b1115611a6a57600080fd5b600e91909155600f55565b6000546001600160a01b03163314611a9f5760405162461bcd60e51b81526004016108e69061328b565b60008190506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015611adf57600080fd5b505afa158015611af3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b17919061336f565b6001600160a01b031663e6a4390530846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015611b5f57600080fd5b505afa158015611b73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b97919061336f565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201529116602482015260440160206040518083038186803b158015611bdd57600080fd5b505afa158015611bf1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c15919061336f565b90506001600160a01b038116611dbb57816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015611c5e57600080fd5b505afa158015611c72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c96919061336f565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015611cde57600080fd5b505afa158015611cf2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d16919061336f565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015611d5e57600080fd5b505af1158015611d72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d96919061336f565b601980546001600160a01b0319166001600160a01b0392909216919091179055611dd7565b601980546001600160a01b0319166001600160a01b0383161790555b50601880546001600160a01b0319166001600160a01b039290921691909117905550565b6000546001600160a01b03163314611e255760405162461bcd60e51b81526004016108e69061328b565b8284601554611e34919061338c565b611e3e91906133ab565b6028556015548190611e5190849061338c565b611e5b91906133ab565b60295550505050565b6001600160a01b038316611ec65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108e6565b6001600160a01b038216611f275760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108e6565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006001600160a01b038416611fee5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108e6565b6001600160a01b0383166120505760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108e6565b600082116120b25760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016108e6565b6120bc84846123d7565b156122dc57602a5460ff166121135760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c656421000000000000000060448201526064016108e6565b60315460ff16156121c5576001600160a01b03841660009081526003602052604090205460ff1615612184576001600160a01b03831660009081526032602052604090205443141561216457600080fd5b6001600160a01b03831660009081526032602052604090204390556121c5565b6001600160a01b0384166000908152603260205260409020544314156121a957600080fd5b6001600160a01b03841660009081526032602052604090204390555b6020548211156122285760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b60648201526084016108e6565b601a546001600160a01b0384811691161480159061225f57506001600160a01b03831660009081526003602052604090205460ff16155b156122dc576025548261227185611635565b61227b91906133cd565b11156122dc5760405162461bcd60e51b815260206004820152602a60248201527f5472616e7366657220616d6f756e74206578636565647320746865206d61785760448201526930b63632ba29b4bd329760b11b60648201526084016108e6565b6001600160a01b03841660009081526006602052604090205460019060ff168061231e57506001600160a01b03841660009081526006602052604090205460ff165b15612327575060005b6001600160a01b03841660009081526003602052604090205460ff161561239f57601d54600160a01b900460ff1615801561236b5750601d54600160a81b900460ff165b1561239f57600061237b30611635565b9050602854811061239d57602954811061239457506029545b61239d81612497565b505b6123ab85858584612618565b95945050505050565b60008060006123c1612b2e565b90925090506123d081836133ab565b9250505090565b600080546001600160a01b0384811691161480159061240457506000546001600160a01b03838116911614155b801561242957506001600160a01b0382166000908152600a602052604090205460ff16155b801561244e57506001600160a01b0383166000908152600a602052604090205460ff16155b80156124685750601b546001600160a01b03838116911614155b801561247c57506001600160a01b03821615155b80156110ce57506001600160a01b0383163014159392505050565b601d805460ff60a01b1916600160a01b179055806124b457612608565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106124e9576124e96132fb565b6001600160a01b03928316602091820292909201810191909152601854604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561253d57600080fd5b505afa158015612551573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612575919061336f565b81600181518110612588576125886132fb565b6001600160a01b039283166020918202929092010152601854601d5460405163791ac94760e01b81529183169263791ac947926125d49287926000928892909116904290600401613442565b600060405180830381600087803b1580156125ee57600080fd5b505af1158015612602573d6000803e3d6000fd5b50505050505b50601d805460ff60a01b19169055565b602a54600090610100900460ff161561280b576001600160a01b03851660009081526009602052604090205460ff168061266a57506001600160a01b03841660009081526009602052604090205460ff165b156126aa5760405162461bcd60e51b815260206004820152601060248201526f29b734b832b9103932b532b1ba32b21760811b60448201526064016108e6565b602a5462010000900460ff16612742576126c48585612cb1565b602a5462010000900460ff161580156126e257506126e285856123d7565b1561273d5760405162461bcd60e51b815260206004820152602560248201527f4f6e6c79206f776e65722063616e207472616e736665722061742074686973206044820152643a34b6b29760d91b60648201526084016108e6565b61280b565b6000602c5411801561276c57506001600160a01b03851660009081526003602052604090205460ff165b801561277d575061277d85856123d7565b1561280b57602f54602c546127929043613327565b101561280b576001600160a01b0384166000908152600960205260408120805460ff1916600117905560308054916127c983613354565b90915550506040516001600160a01b03851681527f18e6e5ce5c121466e41a954e72765d1ea02b8e6919043b61f0dab08b4c6572e59060200160405180910390a15b60006128178484612dce565b60808101516001600160a01b03881660009081526001602052604090205491925061284191613327565b6001600160a01b038088166000908152600160205260408082209390935560608401519188168152919091205461287891906133cd565b6001600160a01b0380871660009081526001602090815260408083209490945591891681526007909152205460ff1680156128cc57506001600160a01b03851660009081526007602052604090205460ff16155b15612913576001600160a01b0386166000908152600260205260409020546128f5908590613327565b6001600160a01b038716600090815260026020526040902055612a53565b6001600160a01b03861660009081526007602052604090205460ff1615801561295457506001600160a01b03851660009081526007602052604090205460ff165b1561299c5780516001600160a01b03861660009081526002602052604090205461297e91906133cd565b6001600160a01b038616600090815260026020526040902055612a53565b6001600160a01b03861660009081526007602052604090205460ff1680156129dc57506001600160a01b03851660009081526007602052604090205460ff165b15612a53576001600160a01b038616600090815260026020526040902054612a05908590613327565b6001600160a01b0380881660009081526002602052604080822093909355835191881681529190912054612a3991906133cd565b6001600160a01b0386166000908152600260205260409020555b612a5d86866123d7565b15612a8b57602b541580612a8157506005600b54612a7b91906133ab565b602b5414155b15612a8b57600080fd5b604081015115612aa357612aa3868260400151612f58565b60008160a001511180612aba575060008160200151115b15612ad157612ad18160a001518260200151613024565b846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360000151604051612b1a91815260200190565b60405180910390a350600195945050505050565b6016546015546000918291825b600854811015612c8057826001600060088481548110612b5d57612b5d6132fb565b60009182526020808320909101546001600160a01b031683528201929092526040019020541180612bc85750816002600060088481548110612ba157612ba16132fb565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15612bde57601654601554945094505050509091565b6001600060088381548110612bf557612bf56132fb565b60009182526020808320909101546001600160a01b03168352820192909252604001902054612c249084613327565b92506002600060088381548110612c3d57612c3d6132fb565b60009182526020808320909101546001600160a01b03168352820192909252604001902054612c6c9083613327565b915080612c7881613354565b915050612b3b565b50601554601654612c9191906133ab565b821015612ca8576016546015549350935050509091565b90939092509050565b602a5462010000900460ff1615612d165760405162461bcd60e51b815260206004820152602360248201527f4c697175696469747920616c726561647920616464656420616e64206d61726b60448201526232b21760e91b60648201526084016108e6565b612d2082826123d7565b158015612d3a57506019546001600160a01b038281169116145b15610cb4576001600160a01b0382166000908152600a602052604090819020805460ff19166001908117909155602a805462ff000019166201000017905542602d55601d805460ff60a81b1916600160a81b17905590517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc15991612dc291901515815260200190565b60405180910390a15050565b612e076040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b612e406040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000612e4a6123b4565b9050612e56818661338c565b60808301528315612ed657601254600e54612e71908761338c565b612e7b91906133ab565b6020830152601254600f54612e90908761338c565b612e9a91906133ab565b604083018190526020830151612eb091906133cd565b612eba9086613327565b82526020820151612ecc90829061338c565b60a0830152612eef565b6000602083018190526040830181905285835260a08301525b602e541580612f135750601354612f0a9060ff1660056134b3565b60ff16602e5414155b15612f1d57600080fd5b808260400151612f2d919061338c565b8260a00151612f3c91906133cd565b8260800151612f4b9190613327565b6060830152509392505050565b6000612f626123b4565b90506000612f70828461338c565b30600090815260016020526040902054909150612f8e9082906133cd565b3060009081526001602090815260408083209390935560079052205460ff1615612fde5730600090815260026020526040902054612fcd9084906133cd565b306000908152600260205260409020555b60405183815230906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350505050565b816016546130329190613327565b6016556017546130439082906133cd565b6017555050565b8035801515811461305a57600080fd5b919050565b6000806040838503121561307257600080fd5b61307b8361304a565b91506130896020840161304a565b90509250929050565b600060208083528351808285015260005b818110156130bf578581018301518582016040015282016130a3565b818111156130d1576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146130fc57600080fd5b50565b6000806040838503121561311257600080fd5b823561311d816130e7565b946020939093013593505050565b60006020828403121561313d57600080fd5b81356110ce816130e7565b6000806040838503121561315b57600080fd5b823561307b816130e7565b60008060006060848603121561317b57600080fd5b8335613186816130e7565b92506020840135613196816130e7565b929592945050506040919091013590565b600080604083850312156131ba57600080fd5b50508035926020909101359150565b6000602082840312156131db57600080fd5b5035919050565b6000602082840312156131f457600080fd5b813560ff811681146110ce57600080fd5b60006020828403121561321757600080fd5b6110ce8261304a565b6000806040838503121561323357600080fd5b823561323e816130e7565b9150602083013561324e816130e7565b809150509250929050565b6000806000806080858703121561326f57600080fd5b5050823594602084013594506040840135936060013592509050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c908216806132d457607f821691505b602082108114156132f557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008282101561333957613339613311565b500390565b634e487b7160e01b600052603160045260246000fd5b600060001982141561336857613368613311565b5060010190565b60006020828403121561338157600080fd5b81516110ce816130e7565b60008160001904831182151516156133a6576133a6613311565b500290565b6000826133c857634e487b7160e01b600052601260045260246000fd5b500490565b600082198211156133e0576133e0613311565b500190565b6020808252603d908201527f43616c6c2072656e6f756e63654f776e65727368697020746f207472616e736660408201527f6572206f776e657220746f20746865207a65726f20616464726573732e000000606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156134925784516001600160a01b03168352938301939183019160010161346d565b50506001600160a01b03969096166060850152505050608001529392505050565b600060ff821660ff84168160ff04811182151516156134d4576134d4613311565b02939250505056fea2646970667358221220d021a25aae23909254147da242de4ea10eedde4a7afa9b77f801c440ceaa036464736f6c63430008080033
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.