ERC-20
Overview
Max Total Supply
1,000,000,000,000 KUKU
Holders
40
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.259999999999999997 KUKUValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Kukulkan
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// https://kukulkanerc.com/ // https://t.me/KukulkanERC // https://twitter.com/kukulkanerc // SPDX-License-Identifier: MIT 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; } } /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20Upgradeable { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `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/od/ai/nu/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); } library Address { function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address lpPair, uint); function getPair(address tokenA, address tokenB) external view returns (address lpPair); function createPair(address tokenA, address tokenB) external returns (address lpPair); } interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); } 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 Kukulkan is Context, IERC20Upgradeable { // 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 _liquidityHolders; uint256 private startingSupply; string private _name; string private _symbol; uint256 public _reflectFee = 0; uint256 public _liquidityFee = 0; uint256 public _marketingFee =0; uint256 public _buyReflectFee = _reflectFee; uint256 public _buyLiquidityFee = _liquidityFee; uint256 public _buyMarketingFee = _marketingFee; uint256 public _sellReflectFee = 0; uint256 public _sellLiquidityFee = 0; uint256 public _sellMarketingFee = 0; uint256 public _transferReflectFee = 0; uint256 public _transferLiquidityFee = 0; uint256 public _transferMarketingFee = 0; uint256 private maxReflectFee = 1000; uint256 private maxLiquidityFee = 1000; uint256 private maxMarketingFee = 2200; uint256 public _liquidityRatio = 0; uint256 public _marketingRatio = 0; uint256 private masterTaxDivisor = 10000; uint256 public MarketShare = 1; uint256 public DevShare = 0; uint256 public ValueDivisor = 1; uint256 private constant MAX = ~uint256(0); uint8 private _decimals; uint256 private _decimalsMul; uint256 private _tTotal; uint256 private _rTotal; uint256 private _tFeeTotal; IUniswapV2Router02 public dexRouter; address public lpPair; // UNI ROUTER address public _routerAddress; address public DEAD = 0x000000000000000000000000000000000000dEaD; address public ZERO = 0x0000000000000000000000000000000000000000; address payable private _devWallet; address payable private _marketWallet; bool inSwapAndLiquify; bool public swapAndLiquifyEnabled = false; uint256 private _maxTxAmount; uint256 public maxTxAmountUI; uint256 private _maxWalletSize; uint256 public maxWalletSizeUI; uint256 private swapThreshold; uint256 private swapAmount; bool tradingEnabled = false; bool public _hasLiqBeenAdded = false; uint256 private _liqAddBlock = 0; uint256 private _liqAddStamp = 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); uint256 Planted; bool contractInitialized = false; modifier lockTheSwap { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } constructor () payable { // Set the owner. _owner = msg.sender; if (block.chainid == 56) { _routerAddress = 0x10ED43C718714eb63d5aA57B78B54704E256024E; } else if (block.chainid == 97) { _routerAddress = 0x9Ac64Cc6e4415144C455BD8E4837Fea55603e5c3; } else if (block.chainid == 1 || block.chainid == 4 || block.chainid == 3) { _routerAddress = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; } else { revert(); } _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; _liquidityHolders[owner()] = true; _approve(_msgSender(), _routerAddress, MAX); _approve(address(this), _routerAddress, MAX); } receive() external payable {} function intializeContract(address payable setMarketWallet, address payable setDevWallet, string memory _tokenname, string memory _tokensymbol) external onlyOwner { require(!contractInitialized); _marketWallet = payable(setMarketWallet); _devWallet = payable(setDevWallet); _name = _tokenname; _symbol = _tokensymbol; startingSupply = 1_000_000_000_000; if (startingSupply < 10000000000000) { _decimals = 18; _decimalsMul = _decimals; } else { _decimals = 9; _decimalsMul = _decimals; } _tTotal = startingSupply * (10**_decimalsMul); _rTotal = (MAX - (MAX % _tTotal)); dexRouter = IUniswapV2Router02(_routerAddress); lpPair = IUniswapV2Factory(dexRouter.factory()).createPair(dexRouter.WETH(), address(this)); lpPairs[lpPair] = true; _allowances[address(this)][address(dexRouter)] = type(uint256).max; _maxTxAmount = (_tTotal * 100) / 100; maxTxAmountUI = (startingSupply * 1000) / 100000; _maxWalletSize = (_tTotal * 100) / 100; maxWalletSizeUI = (startingSupply * 10) / 1000; swapThreshold = (_tTotal * 5) / 10000; swapAmount = (_tTotal * 5) / 1000; approve(_routerAddress, type(uint256).max); contractInitialized = true; _rOwned[owner()] = _rTotal; emit Transfer(ZERO, owner(), _tTotal); _approve(address(this), address(dexRouter), type(uint256).max); _transfer(owner(), address(this), balanceOf(owner())); dexRouter.addLiquidityETH{value: address(this).balance}( address(this), balanceOf(address(this)), 0, 0, owner(), block.timestamp ); Planted = block.number; } //=============================================================================================================== //=============================================================================================================== //=============================================================================================================== // 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 (_devWallet == payable(_owner)) _devWallet = 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 returns (uint8) { return _decimals; } function symbol() external view returns (string memory) { return _symbol; } function name() external view returns (string memory) { return _name; } function getOwner() external view 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; _approve(address(this), newRouter, MAX); } 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 setTaxesBuy(uint256 reflect, uint256 liquidity, uint256 marketing) external onlyOwner { require(reflect <= maxReflectFee && liquidity <= maxLiquidityFee && marketing <= maxMarketingFee ); require(reflect + liquidity + marketing <= 4900); _buyReflectFee = reflect; _buyLiquidityFee = liquidity; _buyMarketingFee = marketing; } function setTaxesSell(uint256 reflect, uint256 liquidity, uint256 marketing) external onlyOwner { require(reflect <= maxReflectFee && liquidity <= maxLiquidityFee && marketing <= maxMarketingFee ); require(reflect + liquidity + marketing <= 4900); _sellReflectFee = reflect; _sellLiquidityFee = liquidity; _sellMarketingFee = marketing; } function setTaxesTransfer(uint256 reflect, uint256 liquidity, uint256 marketing) external onlyOwner { require(reflect <= maxReflectFee && liquidity <= maxLiquidityFee && marketing <= maxMarketingFee ); require(reflect + liquidity + marketing <= 4900); _transferReflectFee = reflect; _transferLiquidityFee = liquidity; _transferMarketingFee = marketing; } function setValues(uint256 ms, uint256 ds, uint256 vd) external onlyOwner { MarketShare = ms; DevShare = ds; ValueDivisor = vd; } function setRatios(uint256 liquidity, uint256 marketing) external onlyOwner { _liquidityRatio = liquidity; _marketingRatio = marketing; } function MaxTx(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 WalletSize(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 NewMarketWallet(address payable newWallet) external onlyOwner { require(_marketWallet != newWallet, "Wallet already set!"); _marketWallet = payable(newWallet); } function NewDevWallet(address payable newWallet) external onlyOwner { require(_devWallet != newWallet, "Wallet already set!"); _devWallet = 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) internal { 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; } swapAndLiquify(contractTokenBalance); } } } return _finalizeTransfer(from, to, amount, takeFee); } function swapAndLiquify(uint256 contractTokenBalance) internal lockTheSwap { if (_liquidityRatio + _marketingRatio == 0) return; uint256 toLiquify = ((contractTokenBalance * _liquidityRatio) / (_liquidityRatio + _marketingRatio)) / 2; uint256 toSwapForEth = contractTokenBalance - toLiquify; address[] memory path = new address[](2); path[0] = address(this); path[1] = dexRouter.WETH(); dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens( toSwapForEth, 0, path, address(this), block.timestamp ); uint256 liquidityBalance = ((address(this).balance * _liquidityRatio) / (_liquidityRatio + _marketingRatio)) / 2; if (toLiquify > 0) { dexRouter.addLiquidityETH{value: liquidityBalance}( address(this), toLiquify, 0, 0, DEAD, block.timestamp ); emit SwapAndLiquify(toLiquify, liquidityBalance, toLiquify); } if (contractTokenBalance - toLiquify > 0) { uint256 OperationsFee = (address(this).balance); uint256 marketFee = OperationsFee/(ValueDivisor)*(MarketShare); uint256 devfeeshare = OperationsFee/(ValueDivisor)*(DevShare); _marketWallet.transfer(marketFee); _devWallet.transfer(devfeeshare); } } 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); } } function enableTrading() public onlyOwner { require(!tradingEnabled, "Trading already enabled!"); setExcludedFromReward(address(this), true); setExcludedFromReward(lpPair, true); tradingEnabled = true; swapAndLiquifyEnabled = true; } struct ExtraValues { uint256 tTransferAmount; uint256 tFee; uint256 tLiquidity; uint256 rTransferAmount; uint256 rAmount; uint256 rFee; } function _finalizeTransfer(address from, address to, uint256 tAmount, bool takeFee) internal returns (bool) { if (!_hasLiqBeenAdded) { _checkLiquidityAdd(from, to); if (!_hasLiqBeenAdded && _hasLimits(from, to)) { revert("Only owner can transfer at this time."); } } ExtraValues memory values = _getValues(from, to, 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 (values.tLiquidity > 0) _takeLiquidity(from, values.tLiquidity); if (values.rFee > 0 || values.tFee > 0) _takeReflect(values.rFee, values.tFee); emit Transfer(from, to, values.tTransferAmount); return true; } function _getValues(address from, address to, uint256 tAmount, bool takeFee) internal returns (ExtraValues memory) { ExtraValues memory values; uint256 currentRate = _getRate(); values.rAmount = tAmount * currentRate; if(takeFee) { if (lpPairs[to]) { _reflectFee = _sellReflectFee; _liquidityFee = _sellLiquidityFee; _marketingFee = _sellMarketingFee; } else if (lpPairs[from]) { _reflectFee = _buyReflectFee; _liquidityFee = _buyLiquidityFee; _marketingFee = _buyMarketingFee; } else { _reflectFee = _transferReflectFee; _liquidityFee = _transferLiquidityFee; _marketingFee = _transferMarketingFee; } values.tFee = (tAmount * _reflectFee) / masterTaxDivisor; values.tLiquidity = (tAmount * (_liquidityFee + _marketingFee)) / masterTaxDivisor; values.tTransferAmount = tAmount - (values.tFee + values.tLiquidity); values.rFee = values.tFee * currentRate; } else { values.tFee = 0; values.tLiquidity = 0; values.tTransferAmount = tAmount; values.rFee = 0; } values.rTransferAmount = values.rAmount - (values.rFee + (values.tLiquidity * 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 takeETHback() external onlyOwner { payable(owner()).transfer(address(this).balance); } function _takeLiquidity(address sender, uint256 tLiquidity) internal { uint256 currentRate = _getRate(); uint256 rLiquidity = tLiquidity * currentRate; _rOwned[address(this)] = _rOwned[address(this)] + rLiquidity; if(_isExcluded[address(this)]) _tOwned[address(this)] = _tOwned[address(this)] + tLiquidity; emit Transfer(sender, address(this), tLiquidity); } }
{ "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":"DevShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MarketShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"},{"internalType":"uint256","name":"divisor","type":"uint256"}],"name":"MaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newWallet","type":"address"}],"name":"NewDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newWallet","type":"address"}],"name":"NewMarketWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ValueDivisor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"},{"internalType":"uint256","name":"divisor","type":"uint256"}],"name":"WalletSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ZERO","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_buyMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_buyReflectFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_hasLiqBeenAdded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquidityRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_reflectFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_routerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_sellMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_sellReflectFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_transferLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_transferMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_transferReflectFee","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":"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 payable","name":"setMarketWallet","type":"address"},{"internalType":"address payable","name":"setDevWallet","type":"address"},{"internalType":"string","name":"_tokenname","type":"string"},{"internalType":"string","name":"_tokensymbol","type":"string"}],"name":"intializeContract","outputs":[],"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":[],"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":[],"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","name":"newRouter","type":"address"}],"name":"setNewRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"marketing","type":"uint256"}],"name":"setRatios","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":"reflect","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"marketing","type":"uint256"}],"name":"setTaxesBuy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"reflect","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"marketing","type":"uint256"}],"name":"setTaxesSell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"reflect","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"marketing","type":"uint256"}],"name":"setTaxesTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"ms","type":"uint256"},{"internalType":"uint256","name":"ds","type":"uint256"},{"internalType":"uint256","name":"vd","type":"uint256"}],"name":"setValues","outputs":[],"stateMutability":"nonpayable","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":[],"name":"takeETHback","outputs":[],"stateMutability":"nonpayable","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
608060405260006004819055600d819055600e819055600f8190556010819055601181905560128190556013819055601481905560158190556016819055601781905560188190556103e86019819055601a55610898601b55601c819055601d819055612710601e556001601f81905560208290556021819055602a80546001600160a01b031990811661dead17909155602b805482169055602d805460ff60a81b191690556034805461ffff19169055603583905560368390556037805460ff199081169093179055603a80549092169091558154163317905560384614156200011057602980546001600160a01b0319167310ed43c718714eb63d5aa57b78b54704e256024e17905562000199565b46606114156200014657602980546001600160a01b031916739ac64cc6e4415144c455bd8e4837fea55603e5c317905562000199565b4660011480620001565750466004145b80620001625750466003145b156200019457602980546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d17905562000199565b600080fd5b600160066000620001b26000546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff1995861617905530815260069092528120805490921660019081179092556009906200020b6000546001600160a01b031690565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055620002546200023f3390565b6029546001600160a01b031660001962000276565b602954620002709030906001600160a01b031660001962000276565b620003a2565b6001600160a01b038316620002de5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620003415760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620002d5565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b613f0080620003b26000396000f3fe6080604052600436106103c75760003560e01c80636cbdd5e3116101f2578063c49b9a801161010d578063dc44b6a0116100a0578063ea08d30b1161006f578063ea08d30b14610ade578063eafb5a3c14610af4578063f6540ec714610b14578063fb78680d14610b2a57600080fd5b8063dc44b6a014610a42578063dd62ed3e14610a58578063e60624b414610a9e578063e7c281d614610abe57600080fd5b8063d038b07e116100dc578063d038b07e146109cc578063d4154e85146109e2578063d9e6646014610a02578063da4b33c714610a2257600080fd5b8063c49b9a801461096b578063c5d241891461098b578063c8607952146109a1578063c9987e98146109b757600080fd5b80638a8c523c11610185578063a9059cbb11610154578063a9059cbb146108f5578063b746454c14610915578063bac3052b14610935578063bbcea6bf1461095557600080fd5b80638a8c523c146108ab5780638da5cb5b1461088d57806395d89b41146108c0578063a457c2d7146108d557600080fd5b806380c581d1116101c157806380c581d11461081e57806388790a681461083e57806388f8202014610854578063893d20e81461088d57600080fd5b80636cbdd5e3146107bd57806370a08231146107d3578063715018a6146107f357806371e078d51461080857600080fd5b806339509351116102e2578063571ac8b0116102755780636612e66f116102445780636612e66f146107475780636639dd93146107675780636bc87c3a146107875780636c6d9fa11461079d57600080fd5b8063571ac8b0146106d1578063575f18e5146106f157806358fa63ca14610711578063640384091461073157600080fd5b80634ef3cce5116102b15780634ef3cce5146106435780634fb2e45d1461065957806350a8e016146106795780635342acb41461069857600080fd5b806339509351146105cc578063452ed4f1146105ec57806345e8c85c1461060c5780634a74bb021461062257600080fd5b806315639c1b1161035a57806323b872dd1161032957806323b872dd146105545780632d83811914610574578063313ce56714610594578063384f6b51146105b657600080fd5b806315639c1b146104fd57806317eade331461051357806318160ddd1461052957806322976e0d1461053e57600080fd5b80630e954d8e116103965780630e954d8e14610482578063111be316146104a657806313114a9d146104c857806313e46192146104dd57600080fd5b806303fd2a45146103d357806306fdde03146104105780630758d92414610432578063095ea7b31461045257600080fd5b366103ce57005b600080fd5b3480156103df57600080fd5b50602a546103f3906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561041c57600080fd5b50610425610b4a565b6040516104079190613b67565b34801561043e57600080fd5b506027546103f3906001600160a01b031681565b34801561045e57600080fd5b5061047261046d366004613a25565b610bdc565b6040519015158152602001610407565b34801561048e57600080fd5b5061049860205481565b604051908152602001610407565b3480156104b257600080fd5b506104c66104c1366004613aa3565b610bf3565b005b3480156104d457600080fd5b50602654610498565b3480156104e957600080fd5b506104c66104f83660046139f1565b610c34565b34801561050957600080fd5b50610498600d5481565b34801561051f57600080fd5b5061049860215481565b34801561053557600080fd5b50602454610498565b34801561054a57600080fd5b50610498600f5481565b34801561056057600080fd5b5061047261056f3660046139b1565b610f60565b34801561058057600080fd5b5061049861058f366004613a6a565b610fb3565b3480156105a057600080fd5b5060225460405160ff9091168152602001610407565b3480156105c257600080fd5b50610498601c5481565b3480156105d857600080fd5b506104726105e7366004613a25565b611037565b3480156105f857600080fd5b506028546103f3906001600160a01b031681565b34801561061857600080fd5b5061049860165481565b34801561062e57600080fd5b50602d5461047290600160a81b900460ff1681565b34801561064f57600080fd5b50610498601d5481565b34801561066557600080fd5b506104c66106743660046138bb565b61106e565b34801561068557600080fd5b5060345461047290610100900460ff1681565b3480156106a457600080fd5b506104726106b33660046138bb565b6001600160a01b031660009081526006602052604090205460ff1690565b3480156106dd57600080fd5b506104726106ec3660046138bb565b611210565b3480156106fd57600080fd5b506104c661070c366004613aa3565b61121e565b34801561071d57600080fd5b50602b546103f3906001600160a01b031681565b34801561073d57600080fd5b50610498602f5481565b34801561075357600080fd5b506104c66107623660046139f1565b6112a4565b34801561077357600080fd5b506104c6610782366004613a82565b6112f9565b34801561079357600080fd5b50610498600e5481565b3480156107a957600080fd5b506104c66107b8366004613aa3565b61132e565b3480156107c957600080fd5b5061049860185481565b3480156107df57600080fd5b506104986107ee3660046138bb565b6113b4565b3480156107ff57600080fd5b506104c6611413565b34801561081457600080fd5b50610498601f5481565b34801561082a57600080fd5b506104c66108393660046139f1565b611492565b34801561084a57600080fd5b5061049860145481565b34801561086057600080fd5b5061047261086f3660046138bb565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561089957600080fd5b506000546001600160a01b03166103f3565b3480156108b757600080fd5b506104c6611575565b3480156108cc57600080fd5b50610425611636565b3480156108e157600080fd5b506104726108f0366004613a25565b611645565b34801561090157600080fd5b50610472610910366004613a25565b61167c565b34801561092157600080fd5b506104c66109303660046138bb565b611689565b34801561094157600080fd5b506104c66109503660046138bb565b611729565b34801561096157600080fd5b5061049860135481565b34801561097757600080fd5b506104c6610986366004613a50565b6117c9565b34801561099757600080fd5b5061049860125481565b3480156109ad57600080fd5b5061049860155481565b3480156109c357600080fd5b506104c661184b565b3480156109d857600080fd5b5061049860105481565b3480156109ee57600080fd5b506104c66109fd366004613a82565b6118b2565b348015610a0e57600080fd5b506029546103f3906001600160a01b031681565b348015610a2e57600080fd5b506104c6610a3d366004613a82565b6119a5565b348015610a4e57600080fd5b5061049860115481565b348015610a6457600080fd5b50610498610a73366004613979565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b348015610aaa57600080fd5b506104c6610ab93660046138f3565b611a8d565b348015610aca57600080fd5b506104c6610ad9366004613aa3565b611fd4565b348015610aea57600080fd5b5061049860175481565b348015610b0057600080fd5b506104c6610b0f3660046138bb565b61205a565b348015610b2057600080fd5b5061049860315481565b348015610b3657600080fd5b506104c6610b45366004613afb565b6123e4565b6060600b8054610b5990613e09565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8590613e09565b8015610bd25780601f10610ba757610100808354040283529160200191610bd2565b820191906000526020600020905b815481529060010190602001808311610bb557829003601f168201915b5050505050905090565b6000610be933848461244d565b5060015b92915050565b6000546001600160a01b03163314610c265760405162461bcd60e51b8152600401610c1d90613bba565b60405180910390fd5b601f92909255602055602155565b6000546001600160a01b03163314610c5e5760405162461bcd60e51b8152600401610c1d90613bba565b60018115151415610d93576001600160a01b03821660009081526007602052604090205460ff1615610cd25760405162461bcd60e51b815260206004820152601c60248201527f4163636f756e7420697320616c7265616479206578636c756465642e000000006044820152606401610c1d565b6001600160a01b03821660009081526001602052604090205415610d2c576001600160a01b038216600090815260016020526040902054610d1290610fb3565b6001600160a01b0383166000908152600260205260409020555b506001600160a01b03166000818152600760205260408120805460ff191660019081179091556008805491820181559091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319169091179055565b80610f5c576001600160a01b03821660009081526007602052604090205460ff16610e005760405162461bcd60e51b815260206004820152601c60248201527f4163636f756e7420697320616c726561647920696e636c756465642e000000006044820152606401610c1d565b60005b600854811015610f5a57826001600160a01b031660088281548110610e3857634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610f485760088054610e6390600190613df2565b81548110610e8157634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600880546001600160a01b039092169183908110610ebb57634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559185168152600282526040808220829055600790925220805460ff191690556008805480610f2157634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b0319169055019055610f5a565b80610f5281613e44565b915050610e03565b505b5050565b6000610f6d848484612571565b506001600160a01b038416600090815260056020908152604080832033808552925290912054610fa9918691610fa4908690613df2565b61244d565b5060019392505050565b600060255482111561101a5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610c1d565b600061102461299d565b90506110308184613cd4565b9392505050565b3360008181526005602090815260408083206001600160a01b03871684529091528120549091610be9918590610fa4908690613cbc565b6000546001600160a01b031633146110985760405162461bcd60e51b8152600401610c1d90613bba565b6001600160a01b0381166110be5760405162461bcd60e51b8152600401610c1d90613bef565b602a546001600160a01b03828116911614156110ec5760405162461bcd60e51b8152600401610c1d90613bef565b60008054611105916001600160a01b03909116906112a4565b6111108160016112a4565b61111b816001610c34565b600054602c546001600160a01b039081169116141561115057602c80546001600160a01b0319166001600160a01b0383161790555b600054611165906001600160a01b03166113b4565b600080546001600160a01b03908116825260056020908152604080842086841685529091528220929092558054909161119e91166113b4565b11156111c5576000546111c3906001600160a01b0316826111be826113b4565b612571565b505b600080546001600160a01b0319166001600160a01b0383169081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b6000610bed82600019610bdc565b6000546001600160a01b031633146112485760405162461bcd60e51b8152600401610c1d90613bba565b601954831115801561125c5750601a548211155b801561126a5750601b548111155b61127357600080fd5b611324816112818486613cbc565b61128b9190613cbc565b111561129657600080fd5b601692909255601755601855565b6000546001600160a01b031633146112ce5760405162461bcd60e51b8152600401610c1d90613bba565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b6000546001600160a01b031633146113235760405162461bcd60e51b8152600401610c1d90613bba565b601c91909155601d55565b6000546001600160a01b031633146113585760405162461bcd60e51b8152600401610c1d90613bba565b601954831115801561136c5750601a548211155b801561137a5750601b548111155b61138357600080fd5b611324816113918486613cbc565b61139b9190613cbc565b11156113a657600080fd5b601092909255601155601255565b6001600160a01b03811660009081526007602052604081205460ff16156113f157506001600160a01b031660009081526002602052604090205490565b6001600160a01b038216600090815260016020526040902054610bed90610fb3565b6000546001600160a01b0316331461143d5760405162461bcd60e51b8152600401610c1d90613bba565b60008054611456916001600160a01b03909116906112a4565b600080546001600160a01b031916815560405181907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3565b6000546001600160a01b031633146114bc5760405162461bcd60e51b8152600401610c1d90613bba565b806114e357506001600160a01b03166000908152600360205260409020805460ff19169055565b6004541561154a5762093a80600454426114fd9190613df2565b1161154a5760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f74207365742061206e657720706169722074686973207765656b216044820152606401610c1d565b6001600160a01b0382166000908152600360205260409020805460ff19166001179055426004555050565b6000546001600160a01b0316331461159f5760405162461bcd60e51b8152600401610c1d90613bba565b60345460ff16156115f25760405162461bcd60e51b815260206004820152601860248201527f54726164696e6720616c726561647920656e61626c65642100000000000000006044820152606401610c1d565b6115fd306001610c34565b602854611614906001600160a01b03166001610c34565b6034805460ff19166001179055602d805460ff60a81b1916600160a81b179055565b6060600c8054610b5990613e09565b3360008181526005602090815260408083206001600160a01b03871684529091528120549091610be9918590610fa4908690613df2565b6000610fa9338484612571565b6000546001600160a01b031633146116b35760405162461bcd60e51b8152600401610c1d90613bba565b602d546001600160a01b03828116911614156117075760405162461bcd60e51b815260206004820152601360248201527257616c6c657420616c7265616479207365742160681b6044820152606401610c1d565b602d80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146117535760405162461bcd60e51b8152600401610c1d90613bba565b602c546001600160a01b03828116911614156117a75760405162461bcd60e51b815260206004820152601360248201527257616c6c657420616c7265616479207365742160681b6044820152606401610c1d565b602c80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146117f35760405162461bcd60e51b8152600401610c1d90613bba565b602d8054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599061184090831515815260200190565b60405180910390a150565b6000546001600160a01b031633146118755760405162461bcd60e51b8152600401610c1d90613bba565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f193505050501580156118af573d6000803e3d6000fd5b50565b6000546001600160a01b031633146118dc5760405162461bcd60e51b8152600401610c1d90613bba565b600081836024546118ed9190613dd3565b6118f79190613cd4565b90506103e86024546119099190613cd4565b81101561197e5760405162461bcd60e51b815260206004820152603760248201527f4d6178205472616e73616374696f6e20616d74206d7573742062652061626f7660448201527f6520302e3125206f6620746f74616c20737570706c792e0000000000000000006064820152608401610c1d565b602e819055600a548290611993908590613dd3565b61199d9190613cd4565b602f55505050565b6000546001600160a01b031633146119cf5760405162461bcd60e51b8152600401610c1d90613bba565b600081836024546119e09190613dd3565b6119ea9190613cd4565b90506103e86024546119fc9190613cd4565b811015611a665760405162461bcd60e51b815260206004820152603260248201527f4d61782057616c6c657420616d74206d7573742062652061626f766520302e31604482015271129037b3103a37ba30b61039bab838363c9760711b6064820152608401610c1d565b6030819055600a548290611a7b908590613dd3565b611a859190613cd4565b603155505050565b6000546001600160a01b03163314611ab75760405162461bcd60e51b8152600401610c1d90613bba565b603a5460ff1615611ac757600080fd5b602d80546001600160a01b038087166001600160a01b031992831617909255602c8054928616929091169190911790558151611b0a90600b906020850190613786565b508051611b1e90600c906020840190613786565b5064e8d4a51000600a556022805460ff19166012908117909155602355602354611b4990600a613d2b565b600a54611b569190613dd3565b6024819055611b6790600019613e5f565b611b7390600019613df2565b602555602954602780546001600160a01b0319166001600160a01b0390921691821790556040805163c45a015560e01b8152905163c45a015591600480820192602092909190829003018186803b158015611bcd57600080fd5b505afa158015611be1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0591906138d7565b6001600160a01b031663c9c65396602760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015611c6157600080fd5b505afa158015611c75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c9991906138d7565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152306024820152604401602060405180830381600087803b158015611ce057600080fd5b505af1158015611cf4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d1891906138d7565b602880546001600160a01b0319166001600160a01b039283169081179091556000908152600360209081526040808320805460ff19166001179055308352600582528083206027549094168352929052206000199055602454606490611d7e9082613dd3565b611d889190613cd4565b602e55600a54620186a090611d9f906103e8613dd3565b611da99190613cd4565b602f55602454606490611dbc9082613dd3565b611dc69190613cd4565b603055600a80546103e891611ddb9190613dd3565b611de59190613cd4565b60315560245461271090611dfa906005613dd3565b611e049190613cd4565b6032556024546103e890611e19906005613dd3565b611e239190613cd4565b603355602954611e3e906001600160a01b0316600019610bdc565b50603a805460ff19166001908117909155602554906000611e676000546001600160a01b031690565b6001600160a01b03168152602081019190915260400160002055611e936000546001600160a01b031690565b602b546024546040519081526001600160a01b0392831692909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3602754611ef69030906001600160a01b031660001961244d565b611f21611f0b6000546001600160a01b031690565b306111be6107ee6000546001600160a01b031690565b506027546001600160a01b031663f305d7194730611f3e816113b4565b600080611f536000546001600160a01b031690565b426040518863ffffffff1660e01b8152600401611f7596959493929190613b2c565b6060604051808303818588803b158015611f8e57600080fd5b505af1158015611fa2573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611fc79190613ace565b5050436039555050505050565b6000546001600160a01b03163314611ffe5760405162461bcd60e51b8152600401610c1d90613bba565b60195483111580156120125750601a548211155b80156120205750601b548111155b61202957600080fd5b611324816120378486613cbc565b6120419190613cbc565b111561204c57600080fd5b601392909255601455601555565b6000546001600160a01b031633146120845760405162461bcd60e51b8152600401610c1d90613bba565b60008190506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156120c457600080fd5b505afa1580156120d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120fc91906138d7565b6001600160a01b031663e6a4390530846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561214457600080fd5b505afa158015612158573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061217c91906138d7565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201529116602482015260440160206040518083038186803b1580156121c257600080fd5b505afa1580156121d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121fa91906138d7565b90506001600160a01b0381166123a057816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561224357600080fd5b505afa158015612257573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061227b91906138d7565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156122c357600080fd5b505afa1580156122d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122fb91906138d7565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b15801561234357600080fd5b505af1158015612357573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061237b91906138d7565b602880546001600160a01b0319166001600160a01b03929092169190911790556123bc565b602880546001600160a01b0319166001600160a01b0383161790555b602780546001600160a01b0319166001600160a01b038416179055610f5a308460001961244d565b6000546001600160a01b0316331461240e5760405162461bcd60e51b8152600401610c1d90613bba565b828460245461241d9190613dd3565b6124279190613cd4565b603255602454819061243a908490613dd3565b6124449190613cd4565b60335550505050565b6001600160a01b0383166124af5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c1d565b6001600160a01b0382166125105760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c1d565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006001600160a01b0384166125d75760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c1d565b6001600160a01b0383166126395760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c1d565b6000821161269b5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610c1d565b6126a584846129c0565b156128c55760345460ff166126fc5760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642100000000000000006044820152606401610c1d565b60375460ff16156127ae576001600160a01b03841660009081526003602052604090205460ff161561276d576001600160a01b03831660009081526038602052604090205443141561274d57600080fd5b6001600160a01b03831660009081526038602052604090204390556127ae565b6001600160a01b03841660009081526038602052604090205443141561279257600080fd5b6001600160a01b03841660009081526038602052604090204390555b602e548211156128115760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610c1d565b6029546001600160a01b0384811691161480159061284857506001600160a01b03831660009081526003602052604090205460ff16155b156128c5576030548261285a856113b4565b6128649190613cbc565b11156128c55760405162461bcd60e51b815260206004820152602a60248201527f5472616e7366657220616d6f756e74206578636565647320746865206d61785760448201526930b63632ba29b4bd329760b11b6064820152608401610c1d565b6001600160a01b03841660009081526006602052604090205460019060ff168061290757506001600160a01b03841660009081526006602052604090205460ff165b15612910575060005b6001600160a01b03841660009081526003602052604090205460ff161561298857602d54600160a01b900460ff161580156129545750602d54600160a81b900460ff165b15612988576000612964306113b4565b9050603254811061298657603354811061297d57506033545b61298681612a80565b505b61299485858584612e50565b95945050505050565b60008060006129aa6131d1565b90925090506129b98183613cd4565b9250505090565b600080546001600160a01b038481169116148015906129ed57506000546001600160a01b03838116911614155b8015612a1257506001600160a01b03821660009081526009602052604090205460ff16155b8015612a3757506001600160a01b03831660009081526009602052604090205460ff16155b8015612a515750602a546001600160a01b03838116911614155b8015612a6557506001600160a01b03821615155b801561103057506001600160a01b0383163014159392505050565b602d805460ff60a01b1916600160a01b179055601d54601c54612aa39190613cbc565b612aac57612e40565b60006002601d54601c54612ac09190613cbc565b601c54612acd9085613dd3565b612ad79190613cd4565b612ae19190613cd4565b90506000612aef8284613df2565b60408051600280825260608201835292935060009290916020830190803683370190505090503081600081518110612b3757634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152602754604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015612b8b57600080fd5b505afa158015612b9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bc391906138d7565b81600181518110612be457634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201015260275460405163791ac94760e01b815291169063791ac94790612c2a908590600090869030904290600401613c4c565b600060405180830381600087803b158015612c4457600080fd5b505af1158015612c58573d6000803e3d6000fd5b5050505060006002601d54601c54612c709190613cbc565b601c54612c7d9047613dd3565b612c879190613cd4565b612c919190613cd4565b90508315612d7057602754602a5460405163f305d71960e01b81526001600160a01b039283169263f305d719928592612cd99230928b92600092839216904290600401613b2c565b6060604051808303818588803b158015612cf257600080fd5b505af1158015612d06573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612d2b9190613ace565b505060408051868152602081018490529081018690527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb561915060600160405180910390a15b6000612d7c8587613df2565b1115612e3b57601f546021544791600091612d979084613cd4565b612da19190613dd3565b9050600060205460215484612db69190613cd4565b612dc09190613dd3565b602d546040519192506001600160a01b03169083156108fc029084906000818181858888f19350505050158015612dfb573d6000803e3d6000fd5b50602c546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015612e36573d6000803e3d6000fd5b505050505b505050505b50602d805460ff60a01b19169055565b603454600090610100900460ff16612ee457612e6c858561338c565b603454610100900460ff16158015612e895750612e8985856129c0565b15612ee45760405162461bcd60e51b815260206004820152602560248201527f4f6e6c79206f776e65722063616e207472616e736665722061742074686973206044820152643a34b6b29760d91b6064820152608401610c1d565b6000612ef2868686866134a6565b60808101516001600160a01b038816600090815260016020526040902054919250612f1c91613df2565b6001600160a01b0380881660009081526001602052604080822093909355606084015191881681529190912054612f539190613cbc565b6001600160a01b0380871660009081526001602090815260408083209490945591891681526007909152205460ff168015612fa757506001600160a01b03851660009081526007602052604090205460ff16155b15612fee576001600160a01b038616600090815260026020526040902054612fd0908590613df2565b6001600160a01b03871660009081526002602052604090205561312e565b6001600160a01b03861660009081526007602052604090205460ff1615801561302f57506001600160a01b03851660009081526007602052604090205460ff165b156130775780516001600160a01b0386166000908152600260205260409020546130599190613cbc565b6001600160a01b03861660009081526002602052604090205561312e565b6001600160a01b03861660009081526007602052604090205460ff1680156130b757506001600160a01b03851660009081526007602052604090205460ff165b1561312e576001600160a01b0386166000908152600260205260409020546130e0908590613df2565b6001600160a01b03808816600090815260026020526040808220939093558351918816815291909120546131149190613cbc565b6001600160a01b0386166000908152600260205260409020555b60408101511561314657613146868260400151613694565b60008160a00151118061315d575060008160200151115b15613174576131748160a001518260200151613760565b846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83600001516040516131bd91815260200190565b60405180910390a350600195945050505050565b6025546024546000918291825b60085481101561335b5782600160006008848154811061320e57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020541180613287575081600260006008848154811061326057634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561329d57602554602454945094505050509091565b60016000600883815481106132c257634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020546132f19084613df2565b9250600260006008838154811061331857634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020546133479083613df2565b91508061335381613e44565b9150506131de565b5060245460255461336c9190613cd4565b821015613383576025546024549350935050509091565b90939092509050565b603454610100900460ff16156133f05760405162461bcd60e51b815260206004820152602360248201527f4c697175696469747920616c726561647920616464656420616e64206d61726b60448201526232b21760e91b6064820152608401610c1d565b6133fa82826129c0565b15801561341457506028546001600160a01b038281169116145b15610f5c576001600160a01b03821660009081526009602052604090819020805460ff191660019081179091556034805461ff00191661010017905542603655602d805460ff60a81b1916600160a81b17905590517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599161349a91901515815260200190565b60405180910390a15050565b6134df6040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6135186040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b600061352261299d565b905061352e8186613dd3565b6080830152831561363e576001600160a01b03861660009081526003602052604090205460ff161561357157601354600d55601454600e55601554600f556135bc565b6001600160a01b03871660009081526003602052604090205460ff16156135a957601054600d55601154600e55601254600f556135bc565b601654600d55601754600e55601854600f555b601e54600d546135cc9087613dd3565b6135d69190613cd4565b6020830152601e54600f54600e546135ee9190613cbc565b6135f89087613dd3565b6136029190613cd4565b6040830181905260208301516136189190613cbc565b6136229086613df2565b82526020820151613634908290613dd3565b60a0830152613657565b6000602083018190526040830181905285835260a08301525b8082604001516136679190613dd3565b8260a001516136769190613cbc565b82608001516136859190613df2565b60608301525095945050505050565b600061369e61299d565b905060006136ac8284613dd3565b306000908152600160205260409020549091506136ca908290613cbc565b3060009081526001602090815260408083209390935560079052205460ff161561371a5730600090815260026020526040902054613709908490613cbc565b306000908152600260205260409020555b60405183815230906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350505050565b8160255461376e9190613df2565b60255560265461377f908290613cbc565b6026555050565b82805461379290613e09565b90600052602060002090601f0160209004810192826137b457600085556137fa565b82601f106137cd57805160ff19168380011785556137fa565b828001600101855582156137fa579182015b828111156137fa5782518255916020019190600101906137df565b5061380692915061380a565b5090565b5b80821115613806576000815560010161380b565b8035801515811461382f57600080fd5b919050565b600082601f830112613844578081fd5b813567ffffffffffffffff8082111561385f5761385f613e9f565b604051601f8301601f19908116603f0116810190828211818310171561388757613887613e9f565b8160405283815286602085880101111561389f578485fd5b8360208701602083013792830160200193909352509392505050565b6000602082840312156138cc578081fd5b813561103081613eb5565b6000602082840312156138e8578081fd5b815161103081613eb5565b60008060008060808587031215613908578283fd5b843561391381613eb5565b9350602085013561392381613eb5565b9250604085013567ffffffffffffffff8082111561393f578384fd5b61394b88838901613834565b93506060870135915080821115613960578283fd5b5061396d87828801613834565b91505092959194509250565b6000806040838503121561398b578182fd5b823561399681613eb5565b915060208301356139a681613eb5565b809150509250929050565b6000806000606084860312156139c5578283fd5b83356139d081613eb5565b925060208401356139e081613eb5565b929592945050506040919091013590565b60008060408385031215613a03578182fd5b8235613a0e81613eb5565b9150613a1c6020840161381f565b90509250929050565b60008060408385031215613a37578182fd5b8235613a4281613eb5565b946020939093013593505050565b600060208284031215613a61578081fd5b6110308261381f565b600060208284031215613a7b578081fd5b5035919050565b60008060408385031215613a94578182fd5b50508035926020909101359150565b600080600060608486031215613ab7578283fd5b505081359360208301359350604090920135919050565b600080600060608486031215613ae2578283fd5b8351925060208401519150604084015190509250925092565b60008060008060808587031215613b10578384fd5b5050823594602084013594506040840135936060013592509050565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b6000602080835283518082850152825b81811015613b9357858101830151858201604001528201613b77565b81811115613ba45783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252603d908201527f43616c6c2072656e6f756e63654f776e65727368697020746f207472616e736660408201527f6572206f776e657220746f20746865207a65726f20616464726573732e000000606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b81811015613c9b5784516001600160a01b031683529383019391830191600101613c76565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115613ccf57613ccf613e73565b500190565b600082613ce357613ce3613e89565b500490565b600181815b80851115613d23578160001904821115613d0957613d09613e73565b80851615613d1657918102915b93841c9390800290613ced565b509250929050565b60006110308383600082613d4157506001610bed565b81613d4e57506000610bed565b8160018114613d645760028114613d6e57613d8a565b6001915050610bed565b60ff841115613d7f57613d7f613e73565b50506001821b610bed565b5060208310610133831016604e8410600b8410161715613dad575081810a610bed565b613db78383613ce8565b8060001904821115613dcb57613dcb613e73565b029392505050565b6000816000190483118215151615613ded57613ded613e73565b500290565b600082821015613e0457613e04613e73565b500390565b600181811c90821680613e1d57607f821691505b60208210811415613e3e57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613e5857613e58613e73565b5060010190565b600082613e6e57613e6e613e89565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146118af57600080fdfea2646970667358221220af134fb9e0bb27592b76975c6abdbc9f362ede2e94efd9788e1d986348f830c164736f6c63430008040033
Deployed Bytecode
0x6080604052600436106103c75760003560e01c80636cbdd5e3116101f2578063c49b9a801161010d578063dc44b6a0116100a0578063ea08d30b1161006f578063ea08d30b14610ade578063eafb5a3c14610af4578063f6540ec714610b14578063fb78680d14610b2a57600080fd5b8063dc44b6a014610a42578063dd62ed3e14610a58578063e60624b414610a9e578063e7c281d614610abe57600080fd5b8063d038b07e116100dc578063d038b07e146109cc578063d4154e85146109e2578063d9e6646014610a02578063da4b33c714610a2257600080fd5b8063c49b9a801461096b578063c5d241891461098b578063c8607952146109a1578063c9987e98146109b757600080fd5b80638a8c523c11610185578063a9059cbb11610154578063a9059cbb146108f5578063b746454c14610915578063bac3052b14610935578063bbcea6bf1461095557600080fd5b80638a8c523c146108ab5780638da5cb5b1461088d57806395d89b41146108c0578063a457c2d7146108d557600080fd5b806380c581d1116101c157806380c581d11461081e57806388790a681461083e57806388f8202014610854578063893d20e81461088d57600080fd5b80636cbdd5e3146107bd57806370a08231146107d3578063715018a6146107f357806371e078d51461080857600080fd5b806339509351116102e2578063571ac8b0116102755780636612e66f116102445780636612e66f146107475780636639dd93146107675780636bc87c3a146107875780636c6d9fa11461079d57600080fd5b8063571ac8b0146106d1578063575f18e5146106f157806358fa63ca14610711578063640384091461073157600080fd5b80634ef3cce5116102b15780634ef3cce5146106435780634fb2e45d1461065957806350a8e016146106795780635342acb41461069857600080fd5b806339509351146105cc578063452ed4f1146105ec57806345e8c85c1461060c5780634a74bb021461062257600080fd5b806315639c1b1161035a57806323b872dd1161032957806323b872dd146105545780632d83811914610574578063313ce56714610594578063384f6b51146105b657600080fd5b806315639c1b146104fd57806317eade331461051357806318160ddd1461052957806322976e0d1461053e57600080fd5b80630e954d8e116103965780630e954d8e14610482578063111be316146104a657806313114a9d146104c857806313e46192146104dd57600080fd5b806303fd2a45146103d357806306fdde03146104105780630758d92414610432578063095ea7b31461045257600080fd5b366103ce57005b600080fd5b3480156103df57600080fd5b50602a546103f3906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561041c57600080fd5b50610425610b4a565b6040516104079190613b67565b34801561043e57600080fd5b506027546103f3906001600160a01b031681565b34801561045e57600080fd5b5061047261046d366004613a25565b610bdc565b6040519015158152602001610407565b34801561048e57600080fd5b5061049860205481565b604051908152602001610407565b3480156104b257600080fd5b506104c66104c1366004613aa3565b610bf3565b005b3480156104d457600080fd5b50602654610498565b3480156104e957600080fd5b506104c66104f83660046139f1565b610c34565b34801561050957600080fd5b50610498600d5481565b34801561051f57600080fd5b5061049860215481565b34801561053557600080fd5b50602454610498565b34801561054a57600080fd5b50610498600f5481565b34801561056057600080fd5b5061047261056f3660046139b1565b610f60565b34801561058057600080fd5b5061049861058f366004613a6a565b610fb3565b3480156105a057600080fd5b5060225460405160ff9091168152602001610407565b3480156105c257600080fd5b50610498601c5481565b3480156105d857600080fd5b506104726105e7366004613a25565b611037565b3480156105f857600080fd5b506028546103f3906001600160a01b031681565b34801561061857600080fd5b5061049860165481565b34801561062e57600080fd5b50602d5461047290600160a81b900460ff1681565b34801561064f57600080fd5b50610498601d5481565b34801561066557600080fd5b506104c66106743660046138bb565b61106e565b34801561068557600080fd5b5060345461047290610100900460ff1681565b3480156106a457600080fd5b506104726106b33660046138bb565b6001600160a01b031660009081526006602052604090205460ff1690565b3480156106dd57600080fd5b506104726106ec3660046138bb565b611210565b3480156106fd57600080fd5b506104c661070c366004613aa3565b61121e565b34801561071d57600080fd5b50602b546103f3906001600160a01b031681565b34801561073d57600080fd5b50610498602f5481565b34801561075357600080fd5b506104c66107623660046139f1565b6112a4565b34801561077357600080fd5b506104c6610782366004613a82565b6112f9565b34801561079357600080fd5b50610498600e5481565b3480156107a957600080fd5b506104c66107b8366004613aa3565b61132e565b3480156107c957600080fd5b5061049860185481565b3480156107df57600080fd5b506104986107ee3660046138bb565b6113b4565b3480156107ff57600080fd5b506104c6611413565b34801561081457600080fd5b50610498601f5481565b34801561082a57600080fd5b506104c66108393660046139f1565b611492565b34801561084a57600080fd5b5061049860145481565b34801561086057600080fd5b5061047261086f3660046138bb565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561089957600080fd5b506000546001600160a01b03166103f3565b3480156108b757600080fd5b506104c6611575565b3480156108cc57600080fd5b50610425611636565b3480156108e157600080fd5b506104726108f0366004613a25565b611645565b34801561090157600080fd5b50610472610910366004613a25565b61167c565b34801561092157600080fd5b506104c66109303660046138bb565b611689565b34801561094157600080fd5b506104c66109503660046138bb565b611729565b34801561096157600080fd5b5061049860135481565b34801561097757600080fd5b506104c6610986366004613a50565b6117c9565b34801561099757600080fd5b5061049860125481565b3480156109ad57600080fd5b5061049860155481565b3480156109c357600080fd5b506104c661184b565b3480156109d857600080fd5b5061049860105481565b3480156109ee57600080fd5b506104c66109fd366004613a82565b6118b2565b348015610a0e57600080fd5b506029546103f3906001600160a01b031681565b348015610a2e57600080fd5b506104c6610a3d366004613a82565b6119a5565b348015610a4e57600080fd5b5061049860115481565b348015610a6457600080fd5b50610498610a73366004613979565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b348015610aaa57600080fd5b506104c6610ab93660046138f3565b611a8d565b348015610aca57600080fd5b506104c6610ad9366004613aa3565b611fd4565b348015610aea57600080fd5b5061049860175481565b348015610b0057600080fd5b506104c6610b0f3660046138bb565b61205a565b348015610b2057600080fd5b5061049860315481565b348015610b3657600080fd5b506104c6610b45366004613afb565b6123e4565b6060600b8054610b5990613e09565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8590613e09565b8015610bd25780601f10610ba757610100808354040283529160200191610bd2565b820191906000526020600020905b815481529060010190602001808311610bb557829003601f168201915b5050505050905090565b6000610be933848461244d565b5060015b92915050565b6000546001600160a01b03163314610c265760405162461bcd60e51b8152600401610c1d90613bba565b60405180910390fd5b601f92909255602055602155565b6000546001600160a01b03163314610c5e5760405162461bcd60e51b8152600401610c1d90613bba565b60018115151415610d93576001600160a01b03821660009081526007602052604090205460ff1615610cd25760405162461bcd60e51b815260206004820152601c60248201527f4163636f756e7420697320616c7265616479206578636c756465642e000000006044820152606401610c1d565b6001600160a01b03821660009081526001602052604090205415610d2c576001600160a01b038216600090815260016020526040902054610d1290610fb3565b6001600160a01b0383166000908152600260205260409020555b506001600160a01b03166000818152600760205260408120805460ff191660019081179091556008805491820181559091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319169091179055565b80610f5c576001600160a01b03821660009081526007602052604090205460ff16610e005760405162461bcd60e51b815260206004820152601c60248201527f4163636f756e7420697320616c726561647920696e636c756465642e000000006044820152606401610c1d565b60005b600854811015610f5a57826001600160a01b031660088281548110610e3857634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610f485760088054610e6390600190613df2565b81548110610e8157634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600880546001600160a01b039092169183908110610ebb57634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559185168152600282526040808220829055600790925220805460ff191690556008805480610f2157634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b0319169055019055610f5a565b80610f5281613e44565b915050610e03565b505b5050565b6000610f6d848484612571565b506001600160a01b038416600090815260056020908152604080832033808552925290912054610fa9918691610fa4908690613df2565b61244d565b5060019392505050565b600060255482111561101a5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610c1d565b600061102461299d565b90506110308184613cd4565b9392505050565b3360008181526005602090815260408083206001600160a01b03871684529091528120549091610be9918590610fa4908690613cbc565b6000546001600160a01b031633146110985760405162461bcd60e51b8152600401610c1d90613bba565b6001600160a01b0381166110be5760405162461bcd60e51b8152600401610c1d90613bef565b602a546001600160a01b03828116911614156110ec5760405162461bcd60e51b8152600401610c1d90613bef565b60008054611105916001600160a01b03909116906112a4565b6111108160016112a4565b61111b816001610c34565b600054602c546001600160a01b039081169116141561115057602c80546001600160a01b0319166001600160a01b0383161790555b600054611165906001600160a01b03166113b4565b600080546001600160a01b03908116825260056020908152604080842086841685529091528220929092558054909161119e91166113b4565b11156111c5576000546111c3906001600160a01b0316826111be826113b4565b612571565b505b600080546001600160a01b0319166001600160a01b0383169081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b6000610bed82600019610bdc565b6000546001600160a01b031633146112485760405162461bcd60e51b8152600401610c1d90613bba565b601954831115801561125c5750601a548211155b801561126a5750601b548111155b61127357600080fd5b611324816112818486613cbc565b61128b9190613cbc565b111561129657600080fd5b601692909255601755601855565b6000546001600160a01b031633146112ce5760405162461bcd60e51b8152600401610c1d90613bba565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b6000546001600160a01b031633146113235760405162461bcd60e51b8152600401610c1d90613bba565b601c91909155601d55565b6000546001600160a01b031633146113585760405162461bcd60e51b8152600401610c1d90613bba565b601954831115801561136c5750601a548211155b801561137a5750601b548111155b61138357600080fd5b611324816113918486613cbc565b61139b9190613cbc565b11156113a657600080fd5b601092909255601155601255565b6001600160a01b03811660009081526007602052604081205460ff16156113f157506001600160a01b031660009081526002602052604090205490565b6001600160a01b038216600090815260016020526040902054610bed90610fb3565b6000546001600160a01b0316331461143d5760405162461bcd60e51b8152600401610c1d90613bba565b60008054611456916001600160a01b03909116906112a4565b600080546001600160a01b031916815560405181907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3565b6000546001600160a01b031633146114bc5760405162461bcd60e51b8152600401610c1d90613bba565b806114e357506001600160a01b03166000908152600360205260409020805460ff19169055565b6004541561154a5762093a80600454426114fd9190613df2565b1161154a5760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f74207365742061206e657720706169722074686973207765656b216044820152606401610c1d565b6001600160a01b0382166000908152600360205260409020805460ff19166001179055426004555050565b6000546001600160a01b0316331461159f5760405162461bcd60e51b8152600401610c1d90613bba565b60345460ff16156115f25760405162461bcd60e51b815260206004820152601860248201527f54726164696e6720616c726561647920656e61626c65642100000000000000006044820152606401610c1d565b6115fd306001610c34565b602854611614906001600160a01b03166001610c34565b6034805460ff19166001179055602d805460ff60a81b1916600160a81b179055565b6060600c8054610b5990613e09565b3360008181526005602090815260408083206001600160a01b03871684529091528120549091610be9918590610fa4908690613df2565b6000610fa9338484612571565b6000546001600160a01b031633146116b35760405162461bcd60e51b8152600401610c1d90613bba565b602d546001600160a01b03828116911614156117075760405162461bcd60e51b815260206004820152601360248201527257616c6c657420616c7265616479207365742160681b6044820152606401610c1d565b602d80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146117535760405162461bcd60e51b8152600401610c1d90613bba565b602c546001600160a01b03828116911614156117a75760405162461bcd60e51b815260206004820152601360248201527257616c6c657420616c7265616479207365742160681b6044820152606401610c1d565b602c80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146117f35760405162461bcd60e51b8152600401610c1d90613bba565b602d8054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599061184090831515815260200190565b60405180910390a150565b6000546001600160a01b031633146118755760405162461bcd60e51b8152600401610c1d90613bba565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f193505050501580156118af573d6000803e3d6000fd5b50565b6000546001600160a01b031633146118dc5760405162461bcd60e51b8152600401610c1d90613bba565b600081836024546118ed9190613dd3565b6118f79190613cd4565b90506103e86024546119099190613cd4565b81101561197e5760405162461bcd60e51b815260206004820152603760248201527f4d6178205472616e73616374696f6e20616d74206d7573742062652061626f7660448201527f6520302e3125206f6620746f74616c20737570706c792e0000000000000000006064820152608401610c1d565b602e819055600a548290611993908590613dd3565b61199d9190613cd4565b602f55505050565b6000546001600160a01b031633146119cf5760405162461bcd60e51b8152600401610c1d90613bba565b600081836024546119e09190613dd3565b6119ea9190613cd4565b90506103e86024546119fc9190613cd4565b811015611a665760405162461bcd60e51b815260206004820152603260248201527f4d61782057616c6c657420616d74206d7573742062652061626f766520302e31604482015271129037b3103a37ba30b61039bab838363c9760711b6064820152608401610c1d565b6030819055600a548290611a7b908590613dd3565b611a859190613cd4565b603155505050565b6000546001600160a01b03163314611ab75760405162461bcd60e51b8152600401610c1d90613bba565b603a5460ff1615611ac757600080fd5b602d80546001600160a01b038087166001600160a01b031992831617909255602c8054928616929091169190911790558151611b0a90600b906020850190613786565b508051611b1e90600c906020840190613786565b5064e8d4a51000600a556022805460ff19166012908117909155602355602354611b4990600a613d2b565b600a54611b569190613dd3565b6024819055611b6790600019613e5f565b611b7390600019613df2565b602555602954602780546001600160a01b0319166001600160a01b0390921691821790556040805163c45a015560e01b8152905163c45a015591600480820192602092909190829003018186803b158015611bcd57600080fd5b505afa158015611be1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0591906138d7565b6001600160a01b031663c9c65396602760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015611c6157600080fd5b505afa158015611c75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c9991906138d7565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152306024820152604401602060405180830381600087803b158015611ce057600080fd5b505af1158015611cf4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d1891906138d7565b602880546001600160a01b0319166001600160a01b039283169081179091556000908152600360209081526040808320805460ff19166001179055308352600582528083206027549094168352929052206000199055602454606490611d7e9082613dd3565b611d889190613cd4565b602e55600a54620186a090611d9f906103e8613dd3565b611da99190613cd4565b602f55602454606490611dbc9082613dd3565b611dc69190613cd4565b603055600a80546103e891611ddb9190613dd3565b611de59190613cd4565b60315560245461271090611dfa906005613dd3565b611e049190613cd4565b6032556024546103e890611e19906005613dd3565b611e239190613cd4565b603355602954611e3e906001600160a01b0316600019610bdc565b50603a805460ff19166001908117909155602554906000611e676000546001600160a01b031690565b6001600160a01b03168152602081019190915260400160002055611e936000546001600160a01b031690565b602b546024546040519081526001600160a01b0392831692909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3602754611ef69030906001600160a01b031660001961244d565b611f21611f0b6000546001600160a01b031690565b306111be6107ee6000546001600160a01b031690565b506027546001600160a01b031663f305d7194730611f3e816113b4565b600080611f536000546001600160a01b031690565b426040518863ffffffff1660e01b8152600401611f7596959493929190613b2c565b6060604051808303818588803b158015611f8e57600080fd5b505af1158015611fa2573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611fc79190613ace565b5050436039555050505050565b6000546001600160a01b03163314611ffe5760405162461bcd60e51b8152600401610c1d90613bba565b60195483111580156120125750601a548211155b80156120205750601b548111155b61202957600080fd5b611324816120378486613cbc565b6120419190613cbc565b111561204c57600080fd5b601392909255601455601555565b6000546001600160a01b031633146120845760405162461bcd60e51b8152600401610c1d90613bba565b60008190506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156120c457600080fd5b505afa1580156120d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120fc91906138d7565b6001600160a01b031663e6a4390530846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561214457600080fd5b505afa158015612158573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061217c91906138d7565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201529116602482015260440160206040518083038186803b1580156121c257600080fd5b505afa1580156121d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121fa91906138d7565b90506001600160a01b0381166123a057816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561224357600080fd5b505afa158015612257573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061227b91906138d7565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156122c357600080fd5b505afa1580156122d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122fb91906138d7565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b15801561234357600080fd5b505af1158015612357573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061237b91906138d7565b602880546001600160a01b0319166001600160a01b03929092169190911790556123bc565b602880546001600160a01b0319166001600160a01b0383161790555b602780546001600160a01b0319166001600160a01b038416179055610f5a308460001961244d565b6000546001600160a01b0316331461240e5760405162461bcd60e51b8152600401610c1d90613bba565b828460245461241d9190613dd3565b6124279190613cd4565b603255602454819061243a908490613dd3565b6124449190613cd4565b60335550505050565b6001600160a01b0383166124af5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c1d565b6001600160a01b0382166125105760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c1d565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006001600160a01b0384166125d75760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c1d565b6001600160a01b0383166126395760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c1d565b6000821161269b5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610c1d565b6126a584846129c0565b156128c55760345460ff166126fc5760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642100000000000000006044820152606401610c1d565b60375460ff16156127ae576001600160a01b03841660009081526003602052604090205460ff161561276d576001600160a01b03831660009081526038602052604090205443141561274d57600080fd5b6001600160a01b03831660009081526038602052604090204390556127ae565b6001600160a01b03841660009081526038602052604090205443141561279257600080fd5b6001600160a01b03841660009081526038602052604090204390555b602e548211156128115760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610c1d565b6029546001600160a01b0384811691161480159061284857506001600160a01b03831660009081526003602052604090205460ff16155b156128c5576030548261285a856113b4565b6128649190613cbc565b11156128c55760405162461bcd60e51b815260206004820152602a60248201527f5472616e7366657220616d6f756e74206578636565647320746865206d61785760448201526930b63632ba29b4bd329760b11b6064820152608401610c1d565b6001600160a01b03841660009081526006602052604090205460019060ff168061290757506001600160a01b03841660009081526006602052604090205460ff165b15612910575060005b6001600160a01b03841660009081526003602052604090205460ff161561298857602d54600160a01b900460ff161580156129545750602d54600160a81b900460ff165b15612988576000612964306113b4565b9050603254811061298657603354811061297d57506033545b61298681612a80565b505b61299485858584612e50565b95945050505050565b60008060006129aa6131d1565b90925090506129b98183613cd4565b9250505090565b600080546001600160a01b038481169116148015906129ed57506000546001600160a01b03838116911614155b8015612a1257506001600160a01b03821660009081526009602052604090205460ff16155b8015612a3757506001600160a01b03831660009081526009602052604090205460ff16155b8015612a515750602a546001600160a01b03838116911614155b8015612a6557506001600160a01b03821615155b801561103057506001600160a01b0383163014159392505050565b602d805460ff60a01b1916600160a01b179055601d54601c54612aa39190613cbc565b612aac57612e40565b60006002601d54601c54612ac09190613cbc565b601c54612acd9085613dd3565b612ad79190613cd4565b612ae19190613cd4565b90506000612aef8284613df2565b60408051600280825260608201835292935060009290916020830190803683370190505090503081600081518110612b3757634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152602754604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015612b8b57600080fd5b505afa158015612b9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bc391906138d7565b81600181518110612be457634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201015260275460405163791ac94760e01b815291169063791ac94790612c2a908590600090869030904290600401613c4c565b600060405180830381600087803b158015612c4457600080fd5b505af1158015612c58573d6000803e3d6000fd5b5050505060006002601d54601c54612c709190613cbc565b601c54612c7d9047613dd3565b612c879190613cd4565b612c919190613cd4565b90508315612d7057602754602a5460405163f305d71960e01b81526001600160a01b039283169263f305d719928592612cd99230928b92600092839216904290600401613b2c565b6060604051808303818588803b158015612cf257600080fd5b505af1158015612d06573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612d2b9190613ace565b505060408051868152602081018490529081018690527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb561915060600160405180910390a15b6000612d7c8587613df2565b1115612e3b57601f546021544791600091612d979084613cd4565b612da19190613dd3565b9050600060205460215484612db69190613cd4565b612dc09190613dd3565b602d546040519192506001600160a01b03169083156108fc029084906000818181858888f19350505050158015612dfb573d6000803e3d6000fd5b50602c546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015612e36573d6000803e3d6000fd5b505050505b505050505b50602d805460ff60a01b19169055565b603454600090610100900460ff16612ee457612e6c858561338c565b603454610100900460ff16158015612e895750612e8985856129c0565b15612ee45760405162461bcd60e51b815260206004820152602560248201527f4f6e6c79206f776e65722063616e207472616e736665722061742074686973206044820152643a34b6b29760d91b6064820152608401610c1d565b6000612ef2868686866134a6565b60808101516001600160a01b038816600090815260016020526040902054919250612f1c91613df2565b6001600160a01b0380881660009081526001602052604080822093909355606084015191881681529190912054612f539190613cbc565b6001600160a01b0380871660009081526001602090815260408083209490945591891681526007909152205460ff168015612fa757506001600160a01b03851660009081526007602052604090205460ff16155b15612fee576001600160a01b038616600090815260026020526040902054612fd0908590613df2565b6001600160a01b03871660009081526002602052604090205561312e565b6001600160a01b03861660009081526007602052604090205460ff1615801561302f57506001600160a01b03851660009081526007602052604090205460ff165b156130775780516001600160a01b0386166000908152600260205260409020546130599190613cbc565b6001600160a01b03861660009081526002602052604090205561312e565b6001600160a01b03861660009081526007602052604090205460ff1680156130b757506001600160a01b03851660009081526007602052604090205460ff165b1561312e576001600160a01b0386166000908152600260205260409020546130e0908590613df2565b6001600160a01b03808816600090815260026020526040808220939093558351918816815291909120546131149190613cbc565b6001600160a01b0386166000908152600260205260409020555b60408101511561314657613146868260400151613694565b60008160a00151118061315d575060008160200151115b15613174576131748160a001518260200151613760565b846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83600001516040516131bd91815260200190565b60405180910390a350600195945050505050565b6025546024546000918291825b60085481101561335b5782600160006008848154811061320e57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020541180613287575081600260006008848154811061326057634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561329d57602554602454945094505050509091565b60016000600883815481106132c257634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020546132f19084613df2565b9250600260006008838154811061331857634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020546133479083613df2565b91508061335381613e44565b9150506131de565b5060245460255461336c9190613cd4565b821015613383576025546024549350935050509091565b90939092509050565b603454610100900460ff16156133f05760405162461bcd60e51b815260206004820152602360248201527f4c697175696469747920616c726561647920616464656420616e64206d61726b60448201526232b21760e91b6064820152608401610c1d565b6133fa82826129c0565b15801561341457506028546001600160a01b038281169116145b15610f5c576001600160a01b03821660009081526009602052604090819020805460ff191660019081179091556034805461ff00191661010017905542603655602d805460ff60a81b1916600160a81b17905590517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599161349a91901515815260200190565b60405180910390a15050565b6134df6040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6135186040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b600061352261299d565b905061352e8186613dd3565b6080830152831561363e576001600160a01b03861660009081526003602052604090205460ff161561357157601354600d55601454600e55601554600f556135bc565b6001600160a01b03871660009081526003602052604090205460ff16156135a957601054600d55601154600e55601254600f556135bc565b601654600d55601754600e55601854600f555b601e54600d546135cc9087613dd3565b6135d69190613cd4565b6020830152601e54600f54600e546135ee9190613cbc565b6135f89087613dd3565b6136029190613cd4565b6040830181905260208301516136189190613cbc565b6136229086613df2565b82526020820151613634908290613dd3565b60a0830152613657565b6000602083018190526040830181905285835260a08301525b8082604001516136679190613dd3565b8260a001516136769190613cbc565b82608001516136859190613df2565b60608301525095945050505050565b600061369e61299d565b905060006136ac8284613dd3565b306000908152600160205260409020549091506136ca908290613cbc565b3060009081526001602090815260408083209390935560079052205460ff161561371a5730600090815260026020526040902054613709908490613cbc565b306000908152600260205260409020555b60405183815230906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350505050565b8160255461376e9190613df2565b60255560265461377f908290613cbc565b6026555050565b82805461379290613e09565b90600052602060002090601f0160209004810192826137b457600085556137fa565b82601f106137cd57805160ff19168380011785556137fa565b828001600101855582156137fa579182015b828111156137fa5782518255916020019190600101906137df565b5061380692915061380a565b5090565b5b80821115613806576000815560010161380b565b8035801515811461382f57600080fd5b919050565b600082601f830112613844578081fd5b813567ffffffffffffffff8082111561385f5761385f613e9f565b604051601f8301601f19908116603f0116810190828211818310171561388757613887613e9f565b8160405283815286602085880101111561389f578485fd5b8360208701602083013792830160200193909352509392505050565b6000602082840312156138cc578081fd5b813561103081613eb5565b6000602082840312156138e8578081fd5b815161103081613eb5565b60008060008060808587031215613908578283fd5b843561391381613eb5565b9350602085013561392381613eb5565b9250604085013567ffffffffffffffff8082111561393f578384fd5b61394b88838901613834565b93506060870135915080821115613960578283fd5b5061396d87828801613834565b91505092959194509250565b6000806040838503121561398b578182fd5b823561399681613eb5565b915060208301356139a681613eb5565b809150509250929050565b6000806000606084860312156139c5578283fd5b83356139d081613eb5565b925060208401356139e081613eb5565b929592945050506040919091013590565b60008060408385031215613a03578182fd5b8235613a0e81613eb5565b9150613a1c6020840161381f565b90509250929050565b60008060408385031215613a37578182fd5b8235613a4281613eb5565b946020939093013593505050565b600060208284031215613a61578081fd5b6110308261381f565b600060208284031215613a7b578081fd5b5035919050565b60008060408385031215613a94578182fd5b50508035926020909101359150565b600080600060608486031215613ab7578283fd5b505081359360208301359350604090920135919050565b600080600060608486031215613ae2578283fd5b8351925060208401519150604084015190509250925092565b60008060008060808587031215613b10578384fd5b5050823594602084013594506040840135936060013592509050565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b6000602080835283518082850152825b81811015613b9357858101830151858201604001528201613b77565b81811115613ba45783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252603d908201527f43616c6c2072656e6f756e63654f776e65727368697020746f207472616e736660408201527f6572206f776e657220746f20746865207a65726f20616464726573732e000000606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b81811015613c9b5784516001600160a01b031683529383019391830191600101613c76565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115613ccf57613ccf613e73565b500190565b600082613ce357613ce3613e89565b500490565b600181815b80851115613d23578160001904821115613d0957613d09613e73565b80851615613d1657918102915b93841c9390800290613ced565b509250929050565b60006110308383600082613d4157506001610bed565b81613d4e57506000610bed565b8160018114613d645760028114613d6e57613d8a565b6001915050610bed565b60ff841115613d7f57613d7f613e73565b50506001821b610bed565b5060208310610133831016604e8410600b8410161715613dad575081810a610bed565b613db78383613ce8565b8060001904821115613dcb57613dcb613e73565b029392505050565b6000816000190483118215151615613ded57613ded613e73565b500290565b600082821015613e0457613e04613e73565b500390565b600181811c90821680613e1d57607f821691505b60208210811415613e3e57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613e5857613e58613e73565b5060010190565b600082613e6e57613e6e613e89565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146118af57600080fdfea2646970667358221220af134fb9e0bb27592b76975c6abdbc9f362ede2e94efd9788e1d986348f830c164736f6c63430008040033
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.