ERC-20
Overview
Max Total Supply
100,000,000 K10
Holders
78
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.053592899364325289 K10Value
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
KuCoin10
Compiler Version
v0.8.16+commit.07a7930e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.16; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; contract KuCoin10 is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _rOwned; mapping(address => uint256) private _tOwned; mapping(address => uint256) public _lastTrade; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) private _isExcludedFromLimits; mapping(address => bool) private _isExcludedFromRewards; address[] private _excludedFromRewards; uint8 private _decimals = 18; uint8 private _reflectionFee; uint8 private _liquidityFee; uint8 private _vaultFee; uint256 private constant MAX = ~uint256(0); uint256 private _tTotal = 100000000 * 10**(_decimals); uint256 private _rTotal = (MAX - (MAX % _tTotal)); uint256 private _tFeeTotal; uint256 public _maxTxAmount = _tTotal.div(1000).mul(10); uint256 public _maxWalletSize = _tTotal.div(1000).mul(10); uint256 private numTokensSellToAddToLiquidity = _tTotal.div(50000).mul(1); uint256 public deadBlocks = 2; uint256 public launchedAt = 0; address payable private _vaultAddress; address private DEAD = 0x000000000000000000000000000000000000dEaD; address private ZERO = 0x0000000000000000000000000000000000000000; address public immutable uniswapV2Pair; string private _name = "KuCoin 10"; string private _symbol = "K10"; bool inSwapAndLiquify; bool public swapAndLiquifyEnabled = true; bool public tradingOpen = false; bool public feesEnabled = true; struct BuyFee { uint8 reflection; uint8 liquidity; uint8 vault; } struct SellFee { uint8 reflection; uint8 liquidity; uint8 vault; } BuyFee public buyFee; SellFee public sellFee; IUniswapV2Router02 public immutable uniswapV2Router; modifier lockTheSwap() { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } constructor() { _vaultAddress = payable(_msgSender()); _rOwned[_msgSender()] = _rTotal; buyFee.reflection = 1; buyFee.liquidity = 2; buyFee.vault = 3; sellFee.reflection = 1; sellFee.liquidity = 2; sellFee.vault = 3; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; _isExcludedFromFees[owner()] = true; _isExcludedFromFees[address(this)] = true; _isExcludedFromFees[DEAD] = true; _isExcludedFromLimits[owner()] = true; _isExcludedFromLimits[address(this)] = true; _isExcludedFromLimits[DEAD] = true; excludeFromReward(address(this)); excludeFromReward(DEAD); excludeFromReward(uniswapV2Pair); emit Transfer(ZERO, _msgSender(), _tTotal); } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view returns (uint8) { return _decimals; } function totalSupply() public view override returns (uint256) { return _tTotal; } function balanceOf(address account) public view override returns (uint256) { if (_isExcludedFromRewards[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 allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public override returns (bool) { _transfer(sender, recipient, amount); _approve( sender, _msgSender(), _allowances[sender][_msgSender()].sub( amount, "ERC20: transfer amount exceeds allowance" ) ); return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue) ); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender].sub( subtractedValue, "ERC20: decreased allowance below zero" ) ); return true; } function isExcludedFromReward(address account) public view returns (bool) { return _isExcludedFromRewards[account]; } function totalFees() public view returns (uint256) { return _tFeeTotal; } function deliver(uint256 tAmount) public { address sender = _msgSender(); require( !_isExcludedFromRewards[sender], "Excluded addresses cannot call this function" ); ( , uint256 tFee, uint256 tLiquidity, uint256 tWallet ) = _getTValues(tAmount); (uint256 rAmount, , ) = _getRValues( tAmount, tFee, tLiquidity, tWallet, _getRate() ); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rTotal = _rTotal.sub(rAmount); _tFeeTotal = _tFeeTotal.add(tAmount); } function reflectionFromToken(uint256 tAmount, bool deductTransferFee) public view returns (uint256) { require(tAmount <= _tTotal, "Amount must be less than supply"); ( , uint256 tFee, uint256 tLiquidity, uint256 tWallet ) = _getTValues(tAmount); (uint256 rAmount, uint256 rTransferAmount, ) = _getRValues( tAmount, tFee, tLiquidity, tWallet, _getRate() ); if (!deductTransferFee) { return rAmount; } else { return rTransferAmount; } } function tokenFromReflection(uint256 rAmount) public view returns (uint256) { require( rAmount <= _rTotal, "Amount must be less than total reflections" ); uint256 currentRate = _getRate(); return rAmount.div(currentRate); } function updatevaultAddress(address payable newAddress) public onlyOwner { require(newAddress != ZERO, "vaultWallet address cannot be 0"); _isExcludedFromFees[_vaultAddress] = false; _isExcludedFromLimits[_vaultAddress] = false; _vaultAddress = newAddress; _isExcludedFromFees[_vaultAddress] = true; _isExcludedFromLimits[_vaultAddress] = true; } function excludeFromReward(address account) public onlyOwner { require(!_isExcludedFromRewards[account], "Account is already excluded"); if (_rOwned[account] > 0) { _tOwned[account] = tokenFromReflection(_rOwned[account]); } _isExcludedFromRewards[account] = true; _excludedFromRewards.push(account); } function includeInReward(address account) public onlyOwner { require(_isExcludedFromRewards[account], "Account is not excluded"); for (uint256 i = 0; i < _excludedFromRewards.length; i++) { if (_excludedFromRewards[i] == account) { _excludedFromRewards[i] = _excludedFromRewards[_excludedFromRewards.length - 1]; _tOwned[account] = 0; _isExcludedFromRewards[account] = false; _excludedFromRewards.pop(); break; } } } function excludeFromFees(address account, bool isExcluded) public onlyOwner { _isExcludedFromFees[account] = isExcluded; } function multipleExcludeFromFees(address[] memory accounts, bool isExcluded) public onlyOwner { for (uint i = 0; i < accounts.length; i++) { _isExcludedFromFees[accounts[i]] = isExcluded; } } function excludeFromLimits(address account, bool isExcluded) public onlyOwner { _isExcludedFromLimits[account] = isExcluded; } function multipleExcludeFromLimits(address[] memory accounts, bool isExcluded) public onlyOwner { for (uint i = 0; i < accounts.length; i++) { _isExcludedFromLimits[accounts[i]] = isExcluded; } } function setSellFee( uint8 reflection, uint8 liquidity, uint8 vault ) public onlyOwner { sellFee.reflection = reflection; sellFee.vault = vault; sellFee.liquidity = liquidity; require(reflection + liquidity + vault <= 30, "Must keep taxes below 30%"); } function setBuyFee( uint8 reflection, uint8 liquidity, uint8 vault ) public onlyOwner { buyFee.reflection = reflection; buyFee.vault = vault; buyFee.liquidity = liquidity; require(reflection + liquidity + vault <= 20, "Must keep taxes below 20%"); } function setBothFees( uint8 buy_reflection, uint8 buy_liquidity, uint8 buy_vault, uint8 sell_reflection, uint8 sell_liquidity, uint8 sell_vault ) public onlyOwner { buyFee.reflection = buy_reflection; buyFee.vault = buy_vault; buyFee.liquidity = buy_liquidity; require(buy_reflection + buy_vault + buy_liquidity <= 20, "Must buy keep taxes below 20%"); sellFee.reflection = sell_reflection; sellFee.vault = sell_vault; sellFee.liquidity = sell_liquidity; require(sell_reflection + sell_vault + sell_liquidity <= 30, "Must sell keep taxes below 30%"); } function setNumTokensSellToAddToLiquidity(uint256 numTokens) public onlyOwner { numTokensSellToAddToLiquidity = numTokens; } function setMaxTxPercent(uint256 maxTxPercent) public onlyOwner { require(maxTxPercent > 0, "Percent must be above 0"); _maxTxAmount = _tTotal.mul(maxTxPercent).div(10**3); } function _setMaxWalletSizePercent(uint256 maxWalletSize) external onlyOwner { require(maxWalletSize > 0, "Percent must be above 0"); _maxWalletSize = _tTotal.mul(maxWalletSize).div(10**3); } function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner { swapAndLiquifyEnabled = _enabled; } receive() external payable {} fallback() external payable {} function _reflectFee(uint256 rFee, uint256 tFee) private { _rTotal = _rTotal.sub(rFee); _tFeeTotal = _tFeeTotal.add(tFee); } function _getTValues(uint256 tAmount) private view returns ( uint256, uint256, uint256, uint256 ) { uint256 tFee = calculateReflectionFee(tAmount); uint256 tLiquidity = calculateLiquidityFee(tAmount); uint256 tWallet = calculatevaultFee(tAmount); uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity); tTransferAmount = tTransferAmount.sub(tWallet); return (tTransferAmount, tFee, tLiquidity, tWallet); } function _getRValues( uint256 tAmount, uint256 tFee, uint256 tLiquidity, uint256 tWallet, uint256 currentRate ) private pure returns ( uint256, uint256, uint256 ) { uint256 rAmount = tAmount.mul(currentRate); uint256 rFee = tFee.mul(currentRate); uint256 rLiquidity = tLiquidity.mul(currentRate); uint256 rWallet = tWallet.mul(currentRate); uint256 rTransferAmount = rAmount .sub(rFee) .sub(rLiquidity) .sub(rWallet); return (rAmount, rTransferAmount, rFee); } function _getRate() private view returns (uint256) { (uint256 rSupply, uint256 tSupply) = _getCurrentSupply(); return rSupply.div(tSupply); } function _getCurrentSupply() private view returns (uint256, uint256) { uint256 rSupply = _rTotal; uint256 tSupply = _tTotal; for (uint256 i = 0; i < _excludedFromRewards.length; i++) { if ( _rOwned[_excludedFromRewards[i]] > rSupply || _tOwned[_excludedFromRewards[i]] > tSupply ) return (_rTotal, _tTotal); rSupply = rSupply.sub(_rOwned[_excludedFromRewards[i]]); tSupply = tSupply.sub(_tOwned[_excludedFromRewards[i]]); } if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal); return (rSupply, tSupply); } function _takeLiquidity(uint256 tLiquidity) private { uint256 currentRate = _getRate(); uint256 rLiquidity = tLiquidity.mul(currentRate); _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity); if (_isExcludedFromRewards[address(this)]) _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity); } function _takeWalletFee(uint256 tWallet) private { uint256 currentRate = _getRate(); uint256 rWallet = tWallet.mul(currentRate); _rOwned[address(this)] = _rOwned[address(this)].add(rWallet); if (_isExcludedFromRewards[address(this)]) _tOwned[address(this)] = _tOwned[address(this)].add(tWallet); } function calculateReflectionFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_reflectionFee).div(10**2); } function calculateLiquidityFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_liquidityFee).div(10**2); } function calculatevaultFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_vaultFee).div(10**2); } function removeAllFee() private { _reflectionFee = 0; _liquidityFee = 0; _vaultFee = 0; } function setBuy() private { _reflectionFee = buyFee.reflection; _liquidityFee = buyFee.liquidity; _vaultFee = buyFee.vault; } function setSell() private { _reflectionFee = sellFee.reflection; _liquidityFee = sellFee.liquidity; _vaultFee = sellFee.vault; } function isExcludedFromFee(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function isExcludedFromLimit(address account) public view returns (bool) { return _isExcludedFromLimits[account]; } function _approve( address owner, address spender, uint256 amount ) private { require(owner != ZERO, "ERC20: approve from the zero address"); require(spender != ZERO, "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function _transfer( address from, address to, uint256 amount ) private { require(from != ZERO, "ERC20: transfer from the zero address"); require(to != ZERO, "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); if ( from != owner() && to != owner() ) require(tradingOpen, "Trading not yet enabled."); uint256 contractTokenBalance = balanceOf(address(this)); if (contractTokenBalance >= _maxTxAmount) { contractTokenBalance = _maxTxAmount; } bool overMinTokenBalance = contractTokenBalance >= numTokensSellToAddToLiquidity; if ( overMinTokenBalance && !inSwapAndLiquify && from != uniswapV2Pair && swapAndLiquifyEnabled ) { contractTokenBalance = numTokensSellToAddToLiquidity; swapAndLiquify(contractTokenBalance); } bool takeFee = true; if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } if (takeFee) { if (!_isExcludedFromLimits[from] && !_isExcludedFromLimits[to]) { require( amount <= _maxTxAmount, "Transfer amount exceeds the maxTxAmount." ); if (to != uniswapV2Pair) { require( amount + balanceOf(to) <= _maxWalletSize, "Recipient exceeds max wallet size." ); } } } _tokenTransfer(from, to, amount, takeFee); } function swapAndLiquify(uint256 tokens) private lockTheSwap { uint256 denominator = (buyFee.liquidity + sellFee.liquidity + buyFee.vault + sellFee.vault) * 2; uint256 tokensToAddLiquidityWith = (tokens * (buyFee.liquidity + sellFee.liquidity)) / denominator; uint256 toSwap = tokens - tokensToAddLiquidityWith; uint256 initialBalance = address(this).balance; swapTokensForETH(toSwap); uint256 deltaBalance = address(this).balance - initialBalance; uint256 unitBalance = deltaBalance / (denominator - (buyFee.liquidity + sellFee.liquidity)); uint256 ethToAddLiquidityWith = unitBalance * (buyFee.liquidity + sellFee.liquidity); if (ethToAddLiquidityWith > 0) { addLiquidity(tokensToAddLiquidityWith, ethToAddLiquidityWith); } uint256 vaultAmt = unitBalance * 2 * (buyFee.vault + sellFee.vault); if (vaultAmt > 0) { payable(_vaultAddress).transfer(vaultAmt); } } function swapTokensForETH(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function sendETHToFee(uint256 amount) private { _vaultAddress.transfer(amount); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, 0, address(this), block.timestamp ); } function _tokenTransfer( address sender, address recipient, uint256 amount, bool takeFee ) private { if (takeFee) { removeAllFee(); if (sender == uniswapV2Pair) { setBuy(); } if (recipient == uniswapV2Pair) { setSell(); } } if (_isExcludedFromRewards[sender] && !_isExcludedFromRewards[recipient]) { _transferFromExcluded(sender, recipient, amount); } else if (!_isExcludedFromRewards[sender] && _isExcludedFromRewards[recipient]) { _transferToExcluded(sender, recipient, amount); } else if (!_isExcludedFromRewards[sender] && !_isExcludedFromRewards[recipient]) { _transferStandard(sender, recipient, amount); } else if (_isExcludedFromRewards[sender] && _isExcludedFromRewards[recipient]) { _transferBothExcluded(sender, recipient, amount); } else { _transferStandard(sender, recipient, amount); } removeAllFee(); } function _transferStandard( address sender, address recipient, uint256 tAmount ) private { ( uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity, uint256 tWallet ) = _getTValues(tAmount); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues( tAmount, tFee, tLiquidity, tWallet, _getRate() ); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _takeWalletFee(tWallet); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferToExcluded( address sender, address recipient, uint256 tAmount ) private { ( uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity, uint256 tWallet ) = _getTValues(tAmount); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues( tAmount, tFee, tLiquidity, tWallet, _getRate() ); _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _takeWalletFee(tWallet); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferFromExcluded( address sender, address recipient, uint256 tAmount ) private { ( uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity, uint256 tWallet ) = _getTValues(tAmount); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues( tAmount, tFee, tLiquidity, tWallet, _getRate() ); _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _takeWalletFee(tWallet); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferBothExcluded( address sender, address recipient, uint256 tAmount ) private { ( uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity, uint256 tWallet ) = _getTValues(tAmount); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues( tAmount, tFee, tLiquidity, tWallet, _getRate() ); _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _takeWalletFee(tWallet); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function openTrading() public onlyOwner { require(!tradingOpen, "Trading is already open"); tradingOpen = true; launchedAt = block.number; } function unclog() external { require(msg.sender == _vaultAddress); uint256 contractBalance = balanceOf(address(this)); swapTokensForETH(contractBalance); } function distributeFees() external { require(msg.sender == _vaultAddress); uint256 contractETHBalance = address(this).balance; sendETHToFee(contractETHBalance); } function rescueStuckETH() external { require(msg.sender == _vaultAddress); bool success; (success,) = address(msg.sender).call{value: address(this).balance}(""); } function rescueStuckTokens(address tkn) external { require(msg.sender == _vaultAddress); require(tkn != address(this), "Cannot withdraw this token"); require(IERC20(tkn).balanceOf(address(this)) > 0, "No tokens"); uint amount = IERC20(tkn).balanceOf(address(this)); IERC20(tkn).transfer(msg.sender, amount); } function removeLimits() external onlyOwner { _maxTxAmount = _tTotal; _maxWalletSize = _tTotal; } }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; 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; }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_lastTrade","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWalletSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxWalletSize","type":"uint256"}],"name":"_setMaxWalletSizePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFee","outputs":[{"internalType":"uint8","name":"reflection","type":"uint8"},{"internalType":"uint8","name":"liquidity","type":"uint8"},{"internalType":"uint8","name":"vault","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadBlocks","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":[{"internalType":"uint256","name":"tAmount","type":"uint256"}],"name":"deliver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"distributeFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"excludeFromLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feesEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromLimit","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":"launchedAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"multipleExcludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"multipleExcludeFromLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rescueStuckETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tkn","type":"address"}],"name":"rescueStuckTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFee","outputs":[{"internalType":"uint8","name":"reflection","type":"uint8"},{"internalType":"uint8","name":"liquidity","type":"uint8"},{"internalType":"uint8","name":"vault","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"buy_reflection","type":"uint8"},{"internalType":"uint8","name":"buy_liquidity","type":"uint8"},{"internalType":"uint8","name":"buy_vault","type":"uint8"},{"internalType":"uint8","name":"sell_reflection","type":"uint8"},{"internalType":"uint8","name":"sell_liquidity","type":"uint8"},{"internalType":"uint8","name":"sell_vault","type":"uint8"}],"name":"setBothFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"reflection","type":"uint8"},{"internalType":"uint8","name":"liquidity","type":"uint8"},{"internalType":"uint8","name":"vault","type":"uint8"}],"name":"setBuyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTxPercent","type":"uint256"}],"name":"setMaxTxPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"setNumTokensSellToAddToLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"reflection","type":"uint8"},{"internalType":"uint8","name":"liquidity","type":"uint8"},{"internalType":"uint8","name":"vault","type":"uint8"}],"name":"setSellFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","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":[{"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":[],"name":"tradingOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unclog","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"newAddress","type":"address"}],"name":"updatevaultAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c06040526009805460ff191660129081179091556200002190600a62000a59565b62000031906305f5e10062000a6a565b600a819055620000449060001962000aa2565b620000529060001962000ab9565b600b556200008d600a620000796103e8600a54620004aa60201b62001d261790919060201c565b620004c160201b62001d321790919060201c565b600d55620000b4600a620000796103e8600a54620004aa60201b62001d261790919060201c565b600e55620000db60016200007961c350600a54620004aa60201b62001d261790919060201c565b600f5560026010556000601155601380546001600160a01b031990811661dead1790915560148054909116905560408051808201909152600981526804b75436f696e2031360bc1b602082015260159062000137908262000b74565b5060408051808201909152600381526204b31360ec1b602082015260169062000161908262000b74565b506017805463ffffff00191663010001001790553480156200018257600080fd5b506200018e33620004cf565b601280546001600160a01b03191633908117909155600b5460009182526001602090815260409283902091909155601880546203020162ffffff199182168117909255601980549091169091179055815163c45a015560e01b81529151737a250d5630b4cf539739df2c5dacb4c659f2488d92839263c45a0155926004808401938290030181865afa15801562000229573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200024f919062000c40565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200029d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c3919062000c40565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000311573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000337919062000c40565b6001600160a01b03908116608052811660a052600160056000620003636000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790553081526005909352818320805485166001908117909155601354909116835290822080549093168117909255600690620003d36000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905530808252600690945282812080548616600190811790915560135490921681529190912080549093161790915562000439906200051f565b60135462000450906001600160a01b03166200051f565b6080516200045e906200051f565b601454600a54604080519182525133926001600160a01b0316917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef919081900360200190a35062000cb4565b6000620004b8828462000c6b565b90505b92915050565b6000620004b8828462000a6a565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b031633146200057f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b03811660009081526007602052604090205460ff1615620005ea5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015260640162000576565b6001600160a01b0381166000908152600160205260409020541562000647576001600160a01b0381166000908152600160205260409020546200062d90620006ad565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600760205260408120805460ff191660019081179091556008805491820181559091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319169091179055565b6000600b54821115620007165760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b606482015260840162000576565b60006200072262000745565b90506200073e8184620004aa60201b62001d261790919060201c565b9392505050565b600080806200075362000778565b91509150620007718183620004aa60201b62001d261790919060201c565b9250505090565b600b54600a546000918291825b600854811015620008f857826001600060088481548110620007ab57620007ab62000c82565b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806200081a5750816002600060088481548110620007f357620007f362000c82565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b156200083157600b54600a54945094505050509091565b6200088860016000600884815481106200084f576200084f62000c82565b60009182526020808320909101546001600160a01b03168352828101939093526040909101902054859162001d3e62000938821b17901c565b9250620008e16002600060088481548110620008a857620008a862000c82565b60009182526020808320909101546001600160a01b03168352828101939093526040909101902054849162001d3e62000938821b17901c565b915080620008ef8162000c98565b91505062000785565b5062000917600a54600b54620004aa60201b62001d261790919060201c565b8210156200092f57600b54600a549350935050509091565b90939092509050565b6000620004b8828462000ab9565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200099d57816000190482111562000981576200098162000946565b808516156200098f57918102915b93841c939080029062000961565b509250929050565b600082620009b657506001620004bb565b81620009c557506000620004bb565b8160018114620009de5760028114620009e95762000a09565b6001915050620004bb565b60ff841115620009fd57620009fd62000946565b50506001821b620004bb565b5060208310610133831016604e8410600b841016171562000a2e575081810a620004bb565b62000a3a83836200095c565b806000190482111562000a515762000a5162000946565b029392505050565b6000620004b860ff841683620009a5565b600081600019048311821515161562000a875762000a8762000946565b500290565b634e487b7160e01b600052601260045260246000fd5b60008262000ab45762000ab462000a8c565b500690565b81810381811115620004bb57620004bb62000946565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000afa57607f821691505b60208210810362000b1b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000b6f57600081815260208120601f850160051c8101602086101562000b4a5750805b601f850160051c820191505b8181101562000b6b5782815560010162000b56565b5050505b505050565b81516001600160401b0381111562000b905762000b9062000acf565b62000ba88162000ba1845462000ae5565b8462000b21565b602080601f83116001811462000be0576000841562000bc75750858301515b600019600386901b1c1916600185901b17855562000b6b565b600085815260208120601f198616915b8281101562000c115788860151825594840194600190910190840162000bf0565b508582101562000c305787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121562000c5357600080fd5b81516001600160a01b03811681146200073e57600080fd5b60008262000c7d5762000c7d62000a8c565b500490565b634e487b7160e01b600052603260045260246000fd5b60006001820162000cad5762000cad62000946565b5060010190565b60805160a05161370762000d19600039600081816103e1015281816123f7015281816124b0015281816124ec01528181612c340152612c900152600081816105c20152818161207a015281816121d2015281816127d7015261285e01526137076000f3fe6080604052600436106102f75760003560e01c8063751039fc11610196578063b4646909116100eb578063d543dbeb1161008f578063f0f165af1161006c578063f0f165af146109c0578063f2fde38b146109e0578063fabb0b4f14610a00578063ffb54a9914610a1657005b8063d543dbeb14610921578063d94160e014610941578063dd62ed3e1461097a57005b8063c0246668116100c8578063c0246668146108ac578063c0a904a2146108cc578063c49b9a80146108ec578063c9567bf91461090c57005b8063b464690914610861578063bb57ad2014610881578063bf56b3711461089657005b806395d89b4111610152578063a87859f61161012f578063a87859f6146107d4578063a9059cbb14610801578063af2ce61414610821578063b27bcfba1461084157005b806395d89b411461077e578063a457c2d714610793578063a64e4f8a146107b357005b8063751039fc146106c65780637d1db4a5146106db57806388f82020146106f15780638da5cb5b1461072a5780638f9a55c014610748578063954c6d3f1461075e57005b80633685d4191161024c5780634a74bb02116102085780635342acb4116101e55780635342acb41461064357806367c453491461067c57806370a0823114610691578063715018a6146106b157005b80634a74bb02146105e45780634ed6fdf31461060357806352390c021461062357005b80633685d4191461050357806339509351146105235780633bd5d173146105435780634549b03914610563578063470624021461058357806349bd5a5e146105b057005b80631694505e116102b35780632a222251116102905780632a222251146104505780632b14ca56146104705780632d838119146104c1578063313ce567146104e157005b80631694505e146103cf57806318160ddd1461041b57806323b872dd1461043057005b80630150fe4c1461030057806306fdde0314610315578063095ea7b3146103405780630c1fe80c146103705780630c2536d71461039057806313114a9d146103b057005b366102fe57005b005b34801561030c57600080fd5b506102fe610a36565b34801561032157600080fd5b5061032a610a9a565b6040516103379190613092565b60405180910390f35b34801561034c57600080fd5b5061036061035b366004613105565b610b2c565b6040519015158152602001610337565b34801561037c57600080fd5b506102fe61038b366004613131565b610b43565b34801561039c57600080fd5b506102fe6103ab36600461315f565b610d3f565b3480156103bc57600080fd5b50600c545b604051908152602001610337565b3480156103db57600080fd5b506104037f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610337565b34801561042757600080fd5b50600a546103c1565b34801561043c57600080fd5b5061036061044b3660046131a2565b610e01565b34801561045c57600080fd5b506102fe61046b366004613212565b610e6a565b34801561047c57600080fd5b5060195461049d9060ff808216916101008104821691620100009091041683565b6040805160ff94851681529284166020840152921691810191909152606001610337565b3480156104cd57600080fd5b506103c16104dc3660046132e9565b610efb565b3480156104ed57600080fd5b5060095460405160ff9091168152602001610337565b34801561050f57600080fd5b506102fe61051e366004613131565b610f7f565b34801561052f57600080fd5b5061036061053e366004613105565b611135565b34801561054f57600080fd5b506102fe61055e3660046132e9565b61116b565b34801561056f57600080fd5b506103c161057e366004613302565b611274565b34801561058f57600080fd5b5060185461049d9060ff808216916101008104821691620100009091041683565b3480156105bc57600080fd5b506104037f000000000000000000000000000000000000000000000000000000000000000081565b3480156105f057600080fd5b5060175461036090610100900460ff1681565b34801561060f57600080fd5b506102fe61061e366004613212565b611311565b34801561062f57600080fd5b506102fe61063e366004613131565b6113a2565b34801561064f57600080fd5b5061036061065e366004613131565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561068857600080fd5b506102fe6114f5565b34801561069d57600080fd5b506103c16106ac366004613131565b611525565b3480156106bd57600080fd5b506102fe611584565b3480156106d257600080fd5b506102fe6115ba565b3480156106e757600080fd5b506103c1600d5481565b3480156106fd57600080fd5b5061036061070c366004613131565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561073657600080fd5b506000546001600160a01b0316610403565b34801561075457600080fd5b506103c1600e5481565b34801561076a57600080fd5b506102fe61077936600461315f565b6115f1565b34801561078a57600080fd5b5061032a6116b3565b34801561079f57600080fd5b506103606107ae366004613105565b6116c2565b3480156107bf57600080fd5b50601754610360906301000000900460ff1681565b3480156107e057600080fd5b506103c16107ef366004613131565b60036020526000908152604090205481565b34801561080d57600080fd5b5061036061081c366004613105565b611711565b34801561082d57600080fd5b506102fe61083c3660046132e9565b61171e565b34801561084d57600080fd5b506102fe61085c366004613332565b6117b9565b34801561086d57600080fd5b506102fe61087c366004613131565b61191b565b34801561088d57600080fd5b506102fe611a21565b3480156108a257600080fd5b506103c160115481565b3480156108b857600080fd5b506102fe6108c73660046133a6565b611a42565b3480156108d857600080fd5b506102fe6108e73660046133a6565b611a97565b3480156108f857600080fd5b506102fe6109073660046133d4565b611aec565b34801561091857600080fd5b506102fe611b30565b34801561092d57600080fd5b506102fe61093c3660046132e9565b611bca565b34801561094d57600080fd5b5061036061095c366004613131565b6001600160a01b031660009081526006602052604090205460ff1690565b34801561098657600080fd5b506103c16109953660046133f1565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156109cc57600080fd5b506102fe6109db3660046132e9565b611c5f565b3480156109ec57600080fd5b506102fe6109fb366004613131565b611c8e565b348015610a0c57600080fd5b506103c160105481565b348015610a2257600080fd5b506017546103609062010000900460ff1681565b6012546001600160a01b03163314610a4d57600080fd5b604051600090339047908381818185875af1925050503d8060008114610a8f576040519150601f19603f3d011682016040523d82523d6000602084013e610a94565b606091505b50505050565b606060158054610aa99061341f565b80601f0160208091040260200160405190810160405280929190818152602001828054610ad59061341f565b8015610b225780601f10610af757610100808354040283529160200191610b22565b820191906000526020600020905b815481529060010190602001808311610b0557829003601f168201915b5050505050905090565b6000610b39338484611d4a565b5060015b92915050565b6012546001600160a01b03163314610b5a57600080fd5b306001600160a01b03821603610bb75760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f74207769746864726177207468697320746f6b656e00000000000060448201526064015b60405180910390fd5b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610bfe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c229190613459565b11610c5b5760405162461bcd60e51b81526020600482015260096024820152684e6f20746f6b656e7360b81b6044820152606401610bae565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610ca2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc69190613459565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610d16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3a9190613472565b505050565b6000546001600160a01b03163314610d695760405162461bcd60e51b8152600401610bae9061348f565b6019805460ff8481166101000261ff0019858316620100000262ff00ff19909416928816929092179290921716179055601e81610da684866134da565b610db091906134da565b60ff161115610d3a5760405162461bcd60e51b815260206004820152601960248201527f4d757374206b6565702074617865732062656c6f7720333025000000000000006044820152606401610bae565b6000610e0e848484611e7e565b610e608433610e5b85604051806060016040528060288152602001613685602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190612284565b611d4a565b5060019392505050565b6000546001600160a01b03163314610e945760405162461bcd60e51b8152600401610bae9061348f565b60005b8251811015610d3a578160066000858481518110610eb757610eb76134f3565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610ef381613509565b915050610e97565b6000600b54821115610f625760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610bae565b6000610f6c6122b0565b9050610f788382611d26565b9392505050565b6000546001600160a01b03163314610fa95760405162461bcd60e51b8152600401610bae9061348f565b6001600160a01b03811660009081526007602052604090205460ff166110115760405162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f74206578636c756465640000000000000000006044820152606401610bae565b60005b60085481101561113157816001600160a01b03166008828154811061103b5761103b6134f3565b6000918252602090912001546001600160a01b03160361111f576008805461106590600190613522565b81548110611075576110756134f3565b600091825260209091200154600880546001600160a01b0390921691839081106110a1576110a16134f3565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600790925220805460ff1916905560088054806110f9576110f9613535565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b8061112981613509565b915050611014565b5050565b3360008181526004602090815260408083206001600160a01b03871684529091528120549091610b39918590610e5b90866122d3565b3360008181526007602052604090205460ff16156111e05760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610bae565b60008060006111ee856122df565b93509350935050600061120b868585856112066122b0565b61233e565b50506001600160a01b0386166000908152600160205260409020549091506112339082611d3e565b6001600160a01b038616600090815260016020526040902055600b546112599082611d3e565b600b55600c5461126990876122d3565b600c55505050505050565b6000600a548311156112c85760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610bae565b60008060006112d6866122df565b935093509350506000806112ef888686866112066122b0565b50915091508661130557509350610b3d92505050565b9450610b3d9350505050565b6000546001600160a01b0316331461133b5760405162461bcd60e51b8152600401610bae9061348f565b60005b8251811015610d3a57816005600085848151811061135e5761135e6134f3565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061139a81613509565b91505061133e565b6000546001600160a01b031633146113cc5760405162461bcd60e51b8152600401610bae9061348f565b6001600160a01b03811660009081526007602052604090205460ff16156114355760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610bae565b6001600160a01b0381166000908152600160205260409020541561148f576001600160a01b03811660009081526001602052604090205461147590610efb565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600760205260408120805460ff191660019081179091556008805491820181559091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319169091179055565b6012546001600160a01b0316331461150c57600080fd5b600061151730611525565b9050611522816123a0565b50565b6001600160a01b03811660009081526007602052604081205460ff161561156257506001600160a01b031660009081526002602052604090205490565b6001600160a01b038216600090815260016020526040902054610b3d90610efb565b6000546001600160a01b031633146115ae5760405162461bcd60e51b8152600401610bae9061348f565b6115b86000612558565b565b6000546001600160a01b031633146115e45760405162461bcd60e51b8152600401610bae9061348f565b600a54600d819055600e55565b6000546001600160a01b0316331461161b5760405162461bcd60e51b8152600401610bae9061348f565b6018805460ff8481166101000261ff0019858316620100000262ff00ff1990941692881692909217929092171617905560148161165884866134da565b61166291906134da565b60ff161115610d3a5760405162461bcd60e51b815260206004820152601960248201527f4d757374206b6565702074617865732062656c6f7720323025000000000000006044820152606401610bae565b606060168054610aa99061341f565b6000610b393384610e5b856040518060600160405280602581526020016136ad602591393360009081526004602090815260408083206001600160a01b038d1684529091529020549190612284565b6000610b39338484611e7e565b6000546001600160a01b031633146117485760405162461bcd60e51b8152600401610bae9061348f565b600081116117925760405162461bcd60e51b8152602060048201526017602482015276050657263656e74206d7573742062652061626f7665203604c1b6044820152606401610bae565b6117b36103e86117ad83600a54611d3290919063ffffffff16565b90611d26565b600e5550565b6000546001600160a01b031633146117e35760405162461bcd60e51b8152600401610bae9061348f565b6018805460ff8781166101000261ff0019888316620100000262ff00ff19909416928b1692909217929092171617905560148561182086896134da565b61182a91906134da565b60ff16111561187b5760405162461bcd60e51b815260206004820152601d60248201527f4d75737420627579206b6565702074617865732062656c6f77203230250000006044820152606401610bae565b6019805460ff8481166101000261ff0019858316620100000262ff00ff19909416928816929092179290921716179055601e826118b883866134da565b6118c291906134da565b60ff1611156119135760405162461bcd60e51b815260206004820152601e60248201527f4d7573742073656c6c206b6565702074617865732062656c6f772033302500006044820152606401610bae565b505050505050565b6000546001600160a01b031633146119455760405162461bcd60e51b8152600401610bae9061348f565b6014546001600160a01b03908116908216036119a35760405162461bcd60e51b815260206004820152601f60248201527f7661756c7457616c6c657420616464726573732063616e6e6f742062652030006044820152606401610bae565b601280546001600160a01b039081166000908152600560208181526040808420805460ff19908116909155865486168552600680845282862080548316905587546001600160a01b03191698871698891788559785529282528084208054841660019081179091559554909416835294909452208054909216179055565b6012546001600160a01b03163314611a3857600080fd5b47611522816125a8565b6000546001600160a01b03163314611a6c5760405162461bcd60e51b8152600401610bae9061348f565b6001600160a01b03919091166000908152600560205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314611ac15760405162461bcd60e51b8152600401610bae9061348f565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314611b165760405162461bcd60e51b8152600401610bae9061348f565b601780549115156101000261ff0019909216919091179055565b6000546001600160a01b03163314611b5a5760405162461bcd60e51b8152600401610bae9061348f565b60175462010000900460ff1615611bb35760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610bae565b6017805462ff000019166201000017905543601155565b6000546001600160a01b03163314611bf45760405162461bcd60e51b8152600401610bae9061348f565b60008111611c3e5760405162461bcd60e51b8152602060048201526017602482015276050657263656e74206d7573742062652061626f7665203604c1b6044820152606401610bae565b611c596103e86117ad83600a54611d3290919063ffffffff16565b600d5550565b6000546001600160a01b03163314611c895760405162461bcd60e51b8152600401610bae9061348f565b600f55565b6000546001600160a01b03163314611cb85760405162461bcd60e51b8152600401610bae9061348f565b6001600160a01b038116611d1d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bae565b61152281612558565b6000610f78828461354b565b6000610f78828461356d565b6000610f788284613522565b6014546001600160a01b0390811690841603611db45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610bae565b6014546001600160a01b0390811690831603611e1d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610bae565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6014546001600160a01b0390811690841603611eea5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610bae565b6014546001600160a01b0390811690831603611f545760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610bae565b60008111611fb65760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610bae565b6000546001600160a01b03848116911614801590611fe257506000546001600160a01b03838116911614155b1561203f5760175462010000900460ff1661203f5760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642e00000000000000006044820152606401610bae565b600061204a30611525565b9050600d54811061205a5750600d545b600f5481108015908190612071575060175460ff16155b80156120af57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031614155b80156120c25750601754610100900460ff165b156120d557600f5491506120d5826125e2565b6001600160a01b03851660009081526005602052604090205460019060ff168061211757506001600160a01b03851660009081526005602052604090205460ff165b15612120575060005b8015612278576001600160a01b03861660009081526006602052604090205460ff1615801561216857506001600160a01b03851660009081526006602052604090205460ff16155b1561227857600d548411156121d05760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610bae565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b03161461227857600e5461221586611525565b61221f908661358c565b11156122785760405162461bcd60e51b815260206004820152602260248201527f526563697069656e742065786365656473206d61782077616c6c65742073697a604482015261329760f11b6064820152608401610bae565b611913868686846127bd565b600081848411156122a85760405162461bcd60e51b8152600401610bae9190613092565b505050900390565b60008060006122bd612a49565b90925090506122cc8282611d26565b9250505090565b6000610f78828461358c565b60008060008060006122f086612bcb565b905060006122fd87612beb565b9050600061230a88612c0c565b905060006123228361231c8b87611d3e565b90611d3e565b905061232e8183611d3e565b9993985091965094509092505050565b600080808061234d8986611d32565b9050600061235b8987611d32565b905060006123698988611d32565b905060006123778989611d32565b9050600061238b8261231c85818989611d3e565b949d949c50929a509298505050505050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106123d5576123d56134f3565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612453573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612477919061359f565b8160018151811061248a5761248a6134f3565b60200260200101906001600160a01b031690816001600160a01b0316815250506124d5307f000000000000000000000000000000000000000000000000000000000000000084611d4a565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac9479061252a9085906000908690309042906004016135bc565b600060405180830381600087803b15801561254457600080fd5b505af1158015611913573d6000803e3d6000fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6012546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611131573d6000803e3d6000fd5b6017805460ff191660011790556019546018546000916201000080820460ff908116939182048116926126229261010091829004831692919004166134da565b61262c91906134da565b61263691906134da565b61264190600261362d565b60195460185460ff9283169350600092849261266a9261010091829004831692919004166134da565b6126779060ff168561356d565b612681919061354b565b9050600061268f8285613522565b90504761269b826123a0565b60006126a78247613522565b6019546018549192506000916126cd9160ff6101009182900481169291909104166134da565b6126da9060ff1687613522565b6126e4908361354b565b60195460185491925060009161270a9160ff6101009182900481169291909104166134da565b6127179060ff168361356d565b90508015612729576127298682612c2e565b60195460185460009161274c9160ff6201000092839004811692909104166134da565b60ff1661275a84600261356d565b612764919061356d565b905080156127a8576012546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156127a6573d6000803e3d6000fd5b505b50506017805460ff1916905550505050505050565b80156128e3576127d56009805463ffffff0019169055565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b03160361285c576018546009805462ffff00191660ff80841661010090810262ff00001916929092179184048116620100009081029290921763ff000000191691909304929092166301000000029190911790555b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316036128e3576019546009805462ffff00191660ff80841661010090810262ff00001916929092179184048116620100009081029290921763ff000000191691909304929092166301000000029190911790555b6001600160a01b03841660009081526007602052604090205460ff16801561292457506001600160a01b03831660009081526007602052604090205460ff16155b1561293957612934848484612d0e565b612a37565b6001600160a01b03841660009081526007602052604090205460ff1615801561297a57506001600160a01b03831660009081526007602052604090205460ff165b1561298a57612934848484612e50565b6001600160a01b03841660009081526007602052604090205460ff161580156129cc57506001600160a01b03831660009081526007602052604090205460ff16155b156129dc57612934848484612f0b565b6001600160a01b03841660009081526007602052604090205460ff168015612a1c57506001600160a01b03831660009081526007602052604090205460ff165b15612a2c57612934848484612f61565b612a37848484612f0b565b610a946009805463ffffff0019169055565b600b54600a546000918291825b600854811015612b9b57826001600060088481548110612a7857612a786134f3565b60009182526020808320909101546001600160a01b031683528201929092526040019020541180612ae35750816002600060088481548110612abc57612abc6134f3565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15612af957600b54600a54945094505050509091565b612b3f6001600060088481548110612b1357612b136134f3565b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611d3e565b9250612b876002600060088481548110612b5b57612b5b6134f3565b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611d3e565b915080612b9381613509565b915050612a56565b50600a54600b54612bab91611d26565b821015612bc257600b54600a549350935050509091565b90939092509050565b600954600090610b3d906064906117ad908590610100900460ff16611d32565b600954600090610b3d906064906117ad90859062010000900460ff16611d32565b600954600090610b3d906064906117ad9085906301000000900460ff16611d32565b612c59307f000000000000000000000000000000000000000000000000000000000000000084611d4a565b60405163f305d71960e01b8152306004820181905260248201849052600060448301819052606483015260848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f305d71990839060c40160606040518083038185885af1158015612ce2573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612d079190613656565b5050505050565b600080600080612d1d856122df565b93509350935093506000806000612d39888787876112066122b0565b6001600160a01b038d166000908152600260205260409020549295509093509150612d649089611d3e565b6001600160a01b038b16600090815260026020908152604080832093909355600190522054612d939084611d3e565b6001600160a01b03808c1660009081526001602052604080822093909355908b1681522054612dc290836122d3565b6001600160a01b038a16600090815260016020526040902055612de485612fe6565b612ded84612fe6565b612df7818761306e565b886001600160a01b03168a6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef89604051612e3c91815260200190565b60405180910390a350505050505050505050565b600080600080612e5f856122df565b93509350935093506000806000612e7b888787876112066122b0565b6001600160a01b038d166000908152600160205260409020549295509093509150612ea69084611d3e565b6001600160a01b03808c16600090815260016020908152604080832094909455918c16815260029091522054612edc90886122d3565b6001600160a01b038a16600090815260026020908152604080832093909355600190522054612dc290836122d3565b600080600080612f1a856122df565b93509350935093506000806000612f36888787876112066122b0565b6001600160a01b038d166000908152600160205260409020549295509093509150612d939084611d3e565b600080600080612f70856122df565b93509350935093506000806000612f8c888787876112066122b0565b6001600160a01b038d166000908152600260205260409020549295509093509150612fb79089611d3e565b6001600160a01b038b16600090815260026020908152604080832093909355600190522054612ea69084611d3e565b6000612ff06122b0565b90506000612ffe8383611d32565b3060009081526001602052604090205490915061301b90826122d3565b3060009081526001602090815260408083209390935560079052205460ff1615610d3a573060009081526002602052604090205461305990846122d3565b30600090815260026020526040902055505050565b600b5461307b9083611d3e565b600b55600c5461308b90826122d3565b600c555050565b600060208083528351808285015260005b818110156130bf578581018301518582016040015282016130a3565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461152257600080fd5b8035613100816130e0565b919050565b6000806040838503121561311857600080fd5b8235613123816130e0565b946020939093013593505050565b60006020828403121561314357600080fd5b8135610f78816130e0565b803560ff8116811461310057600080fd5b60008060006060848603121561317457600080fd5b61317d8461314e565b925061318b6020850161314e565b91506131996040850161314e565b90509250925092565b6000806000606084860312156131b757600080fd5b83356131c2816130e0565b925060208401356131d2816130e0565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b801515811461152257600080fd5b8035613100816131f9565b6000806040838503121561322557600080fd5b823567ffffffffffffffff8082111561323d57600080fd5b818501915085601f83011261325157600080fd5b8135602082821115613265576132656131e3565b8160051b604051601f19603f8301168101818110868211171561328a5761328a6131e3565b6040529283528183019350848101820192898411156132a857600080fd5b948201945b838610156132cd576132be866130f5565b855294820194938201936132ad565b96506132dc9050878201613207565b9450505050509250929050565b6000602082840312156132fb57600080fd5b5035919050565b6000806040838503121561331557600080fd5b823591506020830135613327816131f9565b809150509250929050565b60008060008060008060c0878903121561334b57600080fd5b6133548761314e565b95506133626020880161314e565b94506133706040880161314e565b935061337e6060880161314e565b925061338c6080880161314e565b915061339a60a0880161314e565b90509295509295509295565b600080604083850312156133b957600080fd5b82356133c4816130e0565b91506020830135613327816131f9565b6000602082840312156133e657600080fd5b8135610f78816131f9565b6000806040838503121561340457600080fd5b823561340f816130e0565b91506020830135613327816130e0565b600181811c9082168061343357607f821691505b60208210810361345357634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561346b57600080fd5b5051919050565b60006020828403121561348457600080fd5b8151610f78816131f9565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60ff8181168382160190811115610b3d57610b3d6134c4565b634e487b7160e01b600052603260045260246000fd5b60006001820161351b5761351b6134c4565b5060010190565b81810381811115610b3d57610b3d6134c4565b634e487b7160e01b600052603160045260246000fd5b60008261356857634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615613587576135876134c4565b500290565b80820180821115610b3d57610b3d6134c4565b6000602082840312156135b157600080fd5b8151610f78816130e0565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561360c5784516001600160a01b0316835293830193918301916001016135e7565b50506001600160a01b03969096166060850152505050608001529392505050565b600060ff821660ff84168160ff048111821515161561364e5761364e6134c4565b029392505050565b60008060006060848603121561366b57600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d5ba1c3e9473200f80d1db1d68d0b865d097f6ef3a6533a4ed814f14ae928e0764736f6c63430008100033
Deployed Bytecode
0x6080604052600436106102f75760003560e01c8063751039fc11610196578063b4646909116100eb578063d543dbeb1161008f578063f0f165af1161006c578063f0f165af146109c0578063f2fde38b146109e0578063fabb0b4f14610a00578063ffb54a9914610a1657005b8063d543dbeb14610921578063d94160e014610941578063dd62ed3e1461097a57005b8063c0246668116100c8578063c0246668146108ac578063c0a904a2146108cc578063c49b9a80146108ec578063c9567bf91461090c57005b8063b464690914610861578063bb57ad2014610881578063bf56b3711461089657005b806395d89b4111610152578063a87859f61161012f578063a87859f6146107d4578063a9059cbb14610801578063af2ce61414610821578063b27bcfba1461084157005b806395d89b411461077e578063a457c2d714610793578063a64e4f8a146107b357005b8063751039fc146106c65780637d1db4a5146106db57806388f82020146106f15780638da5cb5b1461072a5780638f9a55c014610748578063954c6d3f1461075e57005b80633685d4191161024c5780634a74bb02116102085780635342acb4116101e55780635342acb41461064357806367c453491461067c57806370a0823114610691578063715018a6146106b157005b80634a74bb02146105e45780634ed6fdf31461060357806352390c021461062357005b80633685d4191461050357806339509351146105235780633bd5d173146105435780634549b03914610563578063470624021461058357806349bd5a5e146105b057005b80631694505e116102b35780632a222251116102905780632a222251146104505780632b14ca56146104705780632d838119146104c1578063313ce567146104e157005b80631694505e146103cf57806318160ddd1461041b57806323b872dd1461043057005b80630150fe4c1461030057806306fdde0314610315578063095ea7b3146103405780630c1fe80c146103705780630c2536d71461039057806313114a9d146103b057005b366102fe57005b005b34801561030c57600080fd5b506102fe610a36565b34801561032157600080fd5b5061032a610a9a565b6040516103379190613092565b60405180910390f35b34801561034c57600080fd5b5061036061035b366004613105565b610b2c565b6040519015158152602001610337565b34801561037c57600080fd5b506102fe61038b366004613131565b610b43565b34801561039c57600080fd5b506102fe6103ab36600461315f565b610d3f565b3480156103bc57600080fd5b50600c545b604051908152602001610337565b3480156103db57600080fd5b506104037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610337565b34801561042757600080fd5b50600a546103c1565b34801561043c57600080fd5b5061036061044b3660046131a2565b610e01565b34801561045c57600080fd5b506102fe61046b366004613212565b610e6a565b34801561047c57600080fd5b5060195461049d9060ff808216916101008104821691620100009091041683565b6040805160ff94851681529284166020840152921691810191909152606001610337565b3480156104cd57600080fd5b506103c16104dc3660046132e9565b610efb565b3480156104ed57600080fd5b5060095460405160ff9091168152602001610337565b34801561050f57600080fd5b506102fe61051e366004613131565b610f7f565b34801561052f57600080fd5b5061036061053e366004613105565b611135565b34801561054f57600080fd5b506102fe61055e3660046132e9565b61116b565b34801561056f57600080fd5b506103c161057e366004613302565b611274565b34801561058f57600080fd5b5060185461049d9060ff808216916101008104821691620100009091041683565b3480156105bc57600080fd5b506104037f00000000000000000000000043a1f2fd7dd9bbf4516ef8fc05cb722d39e1545f81565b3480156105f057600080fd5b5060175461036090610100900460ff1681565b34801561060f57600080fd5b506102fe61061e366004613212565b611311565b34801561062f57600080fd5b506102fe61063e366004613131565b6113a2565b34801561064f57600080fd5b5061036061065e366004613131565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561068857600080fd5b506102fe6114f5565b34801561069d57600080fd5b506103c16106ac366004613131565b611525565b3480156106bd57600080fd5b506102fe611584565b3480156106d257600080fd5b506102fe6115ba565b3480156106e757600080fd5b506103c1600d5481565b3480156106fd57600080fd5b5061036061070c366004613131565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561073657600080fd5b506000546001600160a01b0316610403565b34801561075457600080fd5b506103c1600e5481565b34801561076a57600080fd5b506102fe61077936600461315f565b6115f1565b34801561078a57600080fd5b5061032a6116b3565b34801561079f57600080fd5b506103606107ae366004613105565b6116c2565b3480156107bf57600080fd5b50601754610360906301000000900460ff1681565b3480156107e057600080fd5b506103c16107ef366004613131565b60036020526000908152604090205481565b34801561080d57600080fd5b5061036061081c366004613105565b611711565b34801561082d57600080fd5b506102fe61083c3660046132e9565b61171e565b34801561084d57600080fd5b506102fe61085c366004613332565b6117b9565b34801561086d57600080fd5b506102fe61087c366004613131565b61191b565b34801561088d57600080fd5b506102fe611a21565b3480156108a257600080fd5b506103c160115481565b3480156108b857600080fd5b506102fe6108c73660046133a6565b611a42565b3480156108d857600080fd5b506102fe6108e73660046133a6565b611a97565b3480156108f857600080fd5b506102fe6109073660046133d4565b611aec565b34801561091857600080fd5b506102fe611b30565b34801561092d57600080fd5b506102fe61093c3660046132e9565b611bca565b34801561094d57600080fd5b5061036061095c366004613131565b6001600160a01b031660009081526006602052604090205460ff1690565b34801561098657600080fd5b506103c16109953660046133f1565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156109cc57600080fd5b506102fe6109db3660046132e9565b611c5f565b3480156109ec57600080fd5b506102fe6109fb366004613131565b611c8e565b348015610a0c57600080fd5b506103c160105481565b348015610a2257600080fd5b506017546103609062010000900460ff1681565b6012546001600160a01b03163314610a4d57600080fd5b604051600090339047908381818185875af1925050503d8060008114610a8f576040519150601f19603f3d011682016040523d82523d6000602084013e610a94565b606091505b50505050565b606060158054610aa99061341f565b80601f0160208091040260200160405190810160405280929190818152602001828054610ad59061341f565b8015610b225780601f10610af757610100808354040283529160200191610b22565b820191906000526020600020905b815481529060010190602001808311610b0557829003601f168201915b5050505050905090565b6000610b39338484611d4a565b5060015b92915050565b6012546001600160a01b03163314610b5a57600080fd5b306001600160a01b03821603610bb75760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f74207769746864726177207468697320746f6b656e00000000000060448201526064015b60405180910390fd5b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610bfe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c229190613459565b11610c5b5760405162461bcd60e51b81526020600482015260096024820152684e6f20746f6b656e7360b81b6044820152606401610bae565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610ca2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc69190613459565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610d16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3a9190613472565b505050565b6000546001600160a01b03163314610d695760405162461bcd60e51b8152600401610bae9061348f565b6019805460ff8481166101000261ff0019858316620100000262ff00ff19909416928816929092179290921716179055601e81610da684866134da565b610db091906134da565b60ff161115610d3a5760405162461bcd60e51b815260206004820152601960248201527f4d757374206b6565702074617865732062656c6f7720333025000000000000006044820152606401610bae565b6000610e0e848484611e7e565b610e608433610e5b85604051806060016040528060288152602001613685602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190612284565b611d4a565b5060019392505050565b6000546001600160a01b03163314610e945760405162461bcd60e51b8152600401610bae9061348f565b60005b8251811015610d3a578160066000858481518110610eb757610eb76134f3565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610ef381613509565b915050610e97565b6000600b54821115610f625760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610bae565b6000610f6c6122b0565b9050610f788382611d26565b9392505050565b6000546001600160a01b03163314610fa95760405162461bcd60e51b8152600401610bae9061348f565b6001600160a01b03811660009081526007602052604090205460ff166110115760405162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f74206578636c756465640000000000000000006044820152606401610bae565b60005b60085481101561113157816001600160a01b03166008828154811061103b5761103b6134f3565b6000918252602090912001546001600160a01b03160361111f576008805461106590600190613522565b81548110611075576110756134f3565b600091825260209091200154600880546001600160a01b0390921691839081106110a1576110a16134f3565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600790925220805460ff1916905560088054806110f9576110f9613535565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b8061112981613509565b915050611014565b5050565b3360008181526004602090815260408083206001600160a01b03871684529091528120549091610b39918590610e5b90866122d3565b3360008181526007602052604090205460ff16156111e05760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610bae565b60008060006111ee856122df565b93509350935050600061120b868585856112066122b0565b61233e565b50506001600160a01b0386166000908152600160205260409020549091506112339082611d3e565b6001600160a01b038616600090815260016020526040902055600b546112599082611d3e565b600b55600c5461126990876122d3565b600c55505050505050565b6000600a548311156112c85760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610bae565b60008060006112d6866122df565b935093509350506000806112ef888686866112066122b0565b50915091508661130557509350610b3d92505050565b9450610b3d9350505050565b6000546001600160a01b0316331461133b5760405162461bcd60e51b8152600401610bae9061348f565b60005b8251811015610d3a57816005600085848151811061135e5761135e6134f3565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061139a81613509565b91505061133e565b6000546001600160a01b031633146113cc5760405162461bcd60e51b8152600401610bae9061348f565b6001600160a01b03811660009081526007602052604090205460ff16156114355760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610bae565b6001600160a01b0381166000908152600160205260409020541561148f576001600160a01b03811660009081526001602052604090205461147590610efb565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600760205260408120805460ff191660019081179091556008805491820181559091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319169091179055565b6012546001600160a01b0316331461150c57600080fd5b600061151730611525565b9050611522816123a0565b50565b6001600160a01b03811660009081526007602052604081205460ff161561156257506001600160a01b031660009081526002602052604090205490565b6001600160a01b038216600090815260016020526040902054610b3d90610efb565b6000546001600160a01b031633146115ae5760405162461bcd60e51b8152600401610bae9061348f565b6115b86000612558565b565b6000546001600160a01b031633146115e45760405162461bcd60e51b8152600401610bae9061348f565b600a54600d819055600e55565b6000546001600160a01b0316331461161b5760405162461bcd60e51b8152600401610bae9061348f565b6018805460ff8481166101000261ff0019858316620100000262ff00ff1990941692881692909217929092171617905560148161165884866134da565b61166291906134da565b60ff161115610d3a5760405162461bcd60e51b815260206004820152601960248201527f4d757374206b6565702074617865732062656c6f7720323025000000000000006044820152606401610bae565b606060168054610aa99061341f565b6000610b393384610e5b856040518060600160405280602581526020016136ad602591393360009081526004602090815260408083206001600160a01b038d1684529091529020549190612284565b6000610b39338484611e7e565b6000546001600160a01b031633146117485760405162461bcd60e51b8152600401610bae9061348f565b600081116117925760405162461bcd60e51b8152602060048201526017602482015276050657263656e74206d7573742062652061626f7665203604c1b6044820152606401610bae565b6117b36103e86117ad83600a54611d3290919063ffffffff16565b90611d26565b600e5550565b6000546001600160a01b031633146117e35760405162461bcd60e51b8152600401610bae9061348f565b6018805460ff8781166101000261ff0019888316620100000262ff00ff19909416928b1692909217929092171617905560148561182086896134da565b61182a91906134da565b60ff16111561187b5760405162461bcd60e51b815260206004820152601d60248201527f4d75737420627579206b6565702074617865732062656c6f77203230250000006044820152606401610bae565b6019805460ff8481166101000261ff0019858316620100000262ff00ff19909416928816929092179290921716179055601e826118b883866134da565b6118c291906134da565b60ff1611156119135760405162461bcd60e51b815260206004820152601e60248201527f4d7573742073656c6c206b6565702074617865732062656c6f772033302500006044820152606401610bae565b505050505050565b6000546001600160a01b031633146119455760405162461bcd60e51b8152600401610bae9061348f565b6014546001600160a01b03908116908216036119a35760405162461bcd60e51b815260206004820152601f60248201527f7661756c7457616c6c657420616464726573732063616e6e6f742062652030006044820152606401610bae565b601280546001600160a01b039081166000908152600560208181526040808420805460ff19908116909155865486168552600680845282862080548316905587546001600160a01b03191698871698891788559785529282528084208054841660019081179091559554909416835294909452208054909216179055565b6012546001600160a01b03163314611a3857600080fd5b47611522816125a8565b6000546001600160a01b03163314611a6c5760405162461bcd60e51b8152600401610bae9061348f565b6001600160a01b03919091166000908152600560205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314611ac15760405162461bcd60e51b8152600401610bae9061348f565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314611b165760405162461bcd60e51b8152600401610bae9061348f565b601780549115156101000261ff0019909216919091179055565b6000546001600160a01b03163314611b5a5760405162461bcd60e51b8152600401610bae9061348f565b60175462010000900460ff1615611bb35760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610bae565b6017805462ff000019166201000017905543601155565b6000546001600160a01b03163314611bf45760405162461bcd60e51b8152600401610bae9061348f565b60008111611c3e5760405162461bcd60e51b8152602060048201526017602482015276050657263656e74206d7573742062652061626f7665203604c1b6044820152606401610bae565b611c596103e86117ad83600a54611d3290919063ffffffff16565b600d5550565b6000546001600160a01b03163314611c895760405162461bcd60e51b8152600401610bae9061348f565b600f55565b6000546001600160a01b03163314611cb85760405162461bcd60e51b8152600401610bae9061348f565b6001600160a01b038116611d1d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bae565b61152281612558565b6000610f78828461354b565b6000610f78828461356d565b6000610f788284613522565b6014546001600160a01b0390811690841603611db45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610bae565b6014546001600160a01b0390811690831603611e1d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610bae565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6014546001600160a01b0390811690841603611eea5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610bae565b6014546001600160a01b0390811690831603611f545760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610bae565b60008111611fb65760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610bae565b6000546001600160a01b03848116911614801590611fe257506000546001600160a01b03838116911614155b1561203f5760175462010000900460ff1661203f5760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642e00000000000000006044820152606401610bae565b600061204a30611525565b9050600d54811061205a5750600d545b600f5481108015908190612071575060175460ff16155b80156120af57507f00000000000000000000000043a1f2fd7dd9bbf4516ef8fc05cb722d39e1545f6001600160a01b0316856001600160a01b031614155b80156120c25750601754610100900460ff165b156120d557600f5491506120d5826125e2565b6001600160a01b03851660009081526005602052604090205460019060ff168061211757506001600160a01b03851660009081526005602052604090205460ff165b15612120575060005b8015612278576001600160a01b03861660009081526006602052604090205460ff1615801561216857506001600160a01b03851660009081526006602052604090205460ff16155b1561227857600d548411156121d05760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610bae565b7f00000000000000000000000043a1f2fd7dd9bbf4516ef8fc05cb722d39e1545f6001600160a01b0316856001600160a01b03161461227857600e5461221586611525565b61221f908661358c565b11156122785760405162461bcd60e51b815260206004820152602260248201527f526563697069656e742065786365656473206d61782077616c6c65742073697a604482015261329760f11b6064820152608401610bae565b611913868686846127bd565b600081848411156122a85760405162461bcd60e51b8152600401610bae9190613092565b505050900390565b60008060006122bd612a49565b90925090506122cc8282611d26565b9250505090565b6000610f78828461358c565b60008060008060006122f086612bcb565b905060006122fd87612beb565b9050600061230a88612c0c565b905060006123228361231c8b87611d3e565b90611d3e565b905061232e8183611d3e565b9993985091965094509092505050565b600080808061234d8986611d32565b9050600061235b8987611d32565b905060006123698988611d32565b905060006123778989611d32565b9050600061238b8261231c85818989611d3e565b949d949c50929a509298505050505050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106123d5576123d56134f3565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612453573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612477919061359f565b8160018151811061248a5761248a6134f3565b60200260200101906001600160a01b031690816001600160a01b0316815250506124d5307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611d4a565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac9479061252a9085906000908690309042906004016135bc565b600060405180830381600087803b15801561254457600080fd5b505af1158015611913573d6000803e3d6000fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6012546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611131573d6000803e3d6000fd5b6017805460ff191660011790556019546018546000916201000080820460ff908116939182048116926126229261010091829004831692919004166134da565b61262c91906134da565b61263691906134da565b61264190600261362d565b60195460185460ff9283169350600092849261266a9261010091829004831692919004166134da565b6126779060ff168561356d565b612681919061354b565b9050600061268f8285613522565b90504761269b826123a0565b60006126a78247613522565b6019546018549192506000916126cd9160ff6101009182900481169291909104166134da565b6126da9060ff1687613522565b6126e4908361354b565b60195460185491925060009161270a9160ff6101009182900481169291909104166134da565b6127179060ff168361356d565b90508015612729576127298682612c2e565b60195460185460009161274c9160ff6201000092839004811692909104166134da565b60ff1661275a84600261356d565b612764919061356d565b905080156127a8576012546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156127a6573d6000803e3d6000fd5b505b50506017805460ff1916905550505050505050565b80156128e3576127d56009805463ffffff0019169055565b7f00000000000000000000000043a1f2fd7dd9bbf4516ef8fc05cb722d39e1545f6001600160a01b0316846001600160a01b03160361285c576018546009805462ffff00191660ff80841661010090810262ff00001916929092179184048116620100009081029290921763ff000000191691909304929092166301000000029190911790555b7f00000000000000000000000043a1f2fd7dd9bbf4516ef8fc05cb722d39e1545f6001600160a01b0316836001600160a01b0316036128e3576019546009805462ffff00191660ff80841661010090810262ff00001916929092179184048116620100009081029290921763ff000000191691909304929092166301000000029190911790555b6001600160a01b03841660009081526007602052604090205460ff16801561292457506001600160a01b03831660009081526007602052604090205460ff16155b1561293957612934848484612d0e565b612a37565b6001600160a01b03841660009081526007602052604090205460ff1615801561297a57506001600160a01b03831660009081526007602052604090205460ff165b1561298a57612934848484612e50565b6001600160a01b03841660009081526007602052604090205460ff161580156129cc57506001600160a01b03831660009081526007602052604090205460ff16155b156129dc57612934848484612f0b565b6001600160a01b03841660009081526007602052604090205460ff168015612a1c57506001600160a01b03831660009081526007602052604090205460ff165b15612a2c57612934848484612f61565b612a37848484612f0b565b610a946009805463ffffff0019169055565b600b54600a546000918291825b600854811015612b9b57826001600060088481548110612a7857612a786134f3565b60009182526020808320909101546001600160a01b031683528201929092526040019020541180612ae35750816002600060088481548110612abc57612abc6134f3565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15612af957600b54600a54945094505050509091565b612b3f6001600060088481548110612b1357612b136134f3565b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611d3e565b9250612b876002600060088481548110612b5b57612b5b6134f3565b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611d3e565b915080612b9381613509565b915050612a56565b50600a54600b54612bab91611d26565b821015612bc257600b54600a549350935050509091565b90939092509050565b600954600090610b3d906064906117ad908590610100900460ff16611d32565b600954600090610b3d906064906117ad90859062010000900460ff16611d32565b600954600090610b3d906064906117ad9085906301000000900460ff16611d32565b612c59307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611d4a565b60405163f305d71960e01b8152306004820181905260248201849052600060448301819052606483015260848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b03169063f305d71990839060c40160606040518083038185885af1158015612ce2573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612d079190613656565b5050505050565b600080600080612d1d856122df565b93509350935093506000806000612d39888787876112066122b0565b6001600160a01b038d166000908152600260205260409020549295509093509150612d649089611d3e565b6001600160a01b038b16600090815260026020908152604080832093909355600190522054612d939084611d3e565b6001600160a01b03808c1660009081526001602052604080822093909355908b1681522054612dc290836122d3565b6001600160a01b038a16600090815260016020526040902055612de485612fe6565b612ded84612fe6565b612df7818761306e565b886001600160a01b03168a6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef89604051612e3c91815260200190565b60405180910390a350505050505050505050565b600080600080612e5f856122df565b93509350935093506000806000612e7b888787876112066122b0565b6001600160a01b038d166000908152600160205260409020549295509093509150612ea69084611d3e565b6001600160a01b03808c16600090815260016020908152604080832094909455918c16815260029091522054612edc90886122d3565b6001600160a01b038a16600090815260026020908152604080832093909355600190522054612dc290836122d3565b600080600080612f1a856122df565b93509350935093506000806000612f36888787876112066122b0565b6001600160a01b038d166000908152600160205260409020549295509093509150612d939084611d3e565b600080600080612f70856122df565b93509350935093506000806000612f8c888787876112066122b0565b6001600160a01b038d166000908152600260205260409020549295509093509150612fb79089611d3e565b6001600160a01b038b16600090815260026020908152604080832093909355600190522054612ea69084611d3e565b6000612ff06122b0565b90506000612ffe8383611d32565b3060009081526001602052604090205490915061301b90826122d3565b3060009081526001602090815260408083209390935560079052205460ff1615610d3a573060009081526002602052604090205461305990846122d3565b30600090815260026020526040902055505050565b600b5461307b9083611d3e565b600b55600c5461308b90826122d3565b600c555050565b600060208083528351808285015260005b818110156130bf578581018301518582016040015282016130a3565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461152257600080fd5b8035613100816130e0565b919050565b6000806040838503121561311857600080fd5b8235613123816130e0565b946020939093013593505050565b60006020828403121561314357600080fd5b8135610f78816130e0565b803560ff8116811461310057600080fd5b60008060006060848603121561317457600080fd5b61317d8461314e565b925061318b6020850161314e565b91506131996040850161314e565b90509250925092565b6000806000606084860312156131b757600080fd5b83356131c2816130e0565b925060208401356131d2816130e0565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b801515811461152257600080fd5b8035613100816131f9565b6000806040838503121561322557600080fd5b823567ffffffffffffffff8082111561323d57600080fd5b818501915085601f83011261325157600080fd5b8135602082821115613265576132656131e3565b8160051b604051601f19603f8301168101818110868211171561328a5761328a6131e3565b6040529283528183019350848101820192898411156132a857600080fd5b948201945b838610156132cd576132be866130f5565b855294820194938201936132ad565b96506132dc9050878201613207565b9450505050509250929050565b6000602082840312156132fb57600080fd5b5035919050565b6000806040838503121561331557600080fd5b823591506020830135613327816131f9565b809150509250929050565b60008060008060008060c0878903121561334b57600080fd5b6133548761314e565b95506133626020880161314e565b94506133706040880161314e565b935061337e6060880161314e565b925061338c6080880161314e565b915061339a60a0880161314e565b90509295509295509295565b600080604083850312156133b957600080fd5b82356133c4816130e0565b91506020830135613327816131f9565b6000602082840312156133e657600080fd5b8135610f78816131f9565b6000806040838503121561340457600080fd5b823561340f816130e0565b91506020830135613327816130e0565b600181811c9082168061343357607f821691505b60208210810361345357634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561346b57600080fd5b5051919050565b60006020828403121561348457600080fd5b8151610f78816131f9565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60ff8181168382160190811115610b3d57610b3d6134c4565b634e487b7160e01b600052603260045260246000fd5b60006001820161351b5761351b6134c4565b5060010190565b81810381811115610b3d57610b3d6134c4565b634e487b7160e01b600052603160045260246000fd5b60008261356857634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615613587576135876134c4565b500290565b80820180821115610b3d57610b3d6134c4565b6000602082840312156135b157600080fd5b8151610f78816130e0565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561360c5784516001600160a01b0316835293830193918301916001016135e7565b50506001600160a01b03969096166060850152505050608001529392505050565b600060ff821660ff84168160ff048111821515161561364e5761364e6134c4565b029392505050565b60008060006060848603121561366b57600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d5ba1c3e9473200f80d1db1d68d0b865d097f6ef3a6533a4ed814f14ae928e0764736f6c63430008100033
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.