ETH Price: $3,459.75 (+1.21%)

Token

Dogens (DOGENS)
 

Overview

Max Total Supply

666,999 DOGENS

Holders

850

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
1 DOGENS

Value
$0.00
0x57523eb93cf6887a79cd69207151a280cb3cb4a5
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Dogens

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : Dogens.sol
/*
Dogens (DOGENS)

Website: https://dogens.io
Twitter: https://twitter.com/DogensToken
Telegram: https://t.me/dogenstoken
*/
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.17;

import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol';
import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol';
import '@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol';

contract Dogens is Context, IERC20, Ownable {
  using SafeMath for uint256;
  using Address for address;

  address payable public treasuryWallet =
    payable(0x869004596bF3319d67c595d612fc0d4d448aa152);

  mapping(address => uint256) private _tOwned;
  mapping(address => mapping(address => uint256)) private _allowances;
  mapping(address => bool) private _isSniper;
  address[] private _confirmedSnipers;
  mapping(address => bool) private _isExcludedFee;

  string private constant _name = 'Dogens';
  string private constant _symbol = 'DOGENS';
  uint8 private constant _decimals = 9;

  uint256 private constant MAX = ~uint256(0);
  uint256 private constant _tTotal = 666999 * 10**_decimals;

  uint256 public treasuryFeeOnBuy = 3;
  uint256 public treasuryFeeOnSell = 3;

  IUniswapV2Router02 public uniswapV2Router;
  address public uniswapV2Pair;

  // PancakeSwap: 0x10ED43C718714eb63d5aA57B78B54704E256024E
  // Uniswap V2: 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
  address private constant _uniswapRouterAddress =
    0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;

  bool private _inSwapAndLiquify;

  uint256 public launchTime;
  bool private _tradingOpen;
  bool private _transferOpen;

  uint256 public maxWallet = _tTotal.div(33);
  uint256 public swapAtAmount = _tTotal.div(100);

  bool public swapAndTreasureEnabled;

  event SendETHRewards(address to, uint256 amountETH);
  event SendTokenRewards(address to, address token, uint256 amount);
  event SwapETHForTokens(address whereTo, uint256 amountIn, address[] path);
  event SwapTokensForETH(uint256 amountIn, address[] path);
  event SwapAndLiquify(
    uint256 tokensSwappedForEth,
    uint256 ethAddedForLp,
    uint256 tokensAddedForLp
  );

  modifier lockTheSwap() {
    _inSwapAndLiquify = true;
    _;
    _inSwapAndLiquify = false;
  }

  constructor() {
    _tOwned[address(this)] = _tTotal;
    treasuryWallet = payable(owner());

    IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
      _uniswapRouterAddress
    );
    uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(
      address(this),
      _uniswapV2Router.WETH()
    );

    uniswapV2Router = _uniswapV2Router;

    _isExcludedFee[owner()] = true;
    _isExcludedFee[address(this)] = true;
    _isExcludedFee[treasuryWallet] = true;

    emit Transfer(address(0), _msgSender(), _tTotal);
  }

  function openTrading() external onlyOwner {
    _tradingOpen = true;
    _transferOpen = true;
    launchTime = block.timestamp;
  }

  function name() external pure returns (string memory) {
    return _name;
  }

  function symbol() external pure returns (string memory) {
    return _symbol;
  }

  function decimals() external pure returns (uint8) {
    return _decimals;
  }

  function totalSupply() external pure override returns (uint256) {
    return _tTotal;
  }

  function balanceOf(address account) public view override returns (uint256) {
    return _tOwned[account];
  }

  function balanceOfIt(address token) external view returns (uint256) {
    return IERC20(token).balanceOf(address(this));
  }

  function transfer(address recipient, uint256 amount)
    external
    override
    returns (bool)
  {
    _transfer(_msgSender(), recipient, amount);
    return true;
  }

  function allowance(address owner, address spender)
    external
    view
    override
    returns (uint256)
  {
    return _allowances[owner][spender];
  }

  function approve(address spender, uint256 amount)
    external
    override
    returns (bool)
  {
    _approve(_msgSender(), spender, amount);
    return true;
  }

  function transferFrom(
    address sender,
    address recipient,
    uint256 amount
  ) external override returns (bool) {
    _transfer(sender, recipient, amount);
    _approve(
      sender,
      _msgSender(),
      _allowances[sender][_msgSender()].sub(
        amount,
        'ERC20: transfer amount exceeds allowance'
      )
    );
    return true;
  }

  function increaseAllowance(address spender, uint256 addedValue)
    external
    virtual
    returns (bool)
  {
    _approve(
      _msgSender(),
      spender,
      _allowances[_msgSender()][spender].add(addedValue)
    );
    return true;
  }

  function decreaseAllowance(address spender, uint256 subtractedValue)
    external
    virtual
    returns (bool)
  {
    _approve(
      _msgSender(),
      spender,
      _allowances[_msgSender()][spender].sub(
        subtractedValue,
        'ERC20: decreased allowance below zero'
      )
    );
    return true;
  }

  function _approve(
    address owner,
    address spender,
    uint256 amount
  ) private {
    require(owner != address(0), 'ERC20: approve from the zero address');
    require(spender != address(0), 'ERC20: approve to the zero address');

    _allowances[owner][spender] = amount;
    emit Approval(owner, spender, amount);
  }

  function _transfer(
    address from,
    address to,
    uint256 amount
  ) private {
    require(from != address(0), 'ERC20: transfer from the zero address');
    require(to != address(0), 'ERC20: transfer to the zero address');
    require(amount > 0, 'Transfer amount must be greater than zero');
    require(!_isSniper[to], 'Stop sniping!');
    require(!_isSniper[from], 'Stop sniping!');
    require(!_isSniper[_msgSender()], 'Stop sniping!');
    //from contract
    require(
      _transferOpen || from == owner() || from == address(this),
      'transferring tokens is not currently allowed'
    );
    if (
      (from == uniswapV2Pair || to == uniswapV2Pair) &&
      from != owner() &&
      from != address(this)
    ) {
      require(_tradingOpen, 'Trading not yet enabled.');
    }
    if (block.timestamp == launchTime && from == uniswapV2Pair) {
      _isSniper[to] = true;
      _confirmedSnipers.push(to);
    }

    if (
      balanceOf(address(this)) >= swapAtAmount &&
      !_inSwapAndLiquify &&
      from != uniswapV2Pair &&
      swapAndTreasureEnabled
    ) {
      swapAndSendTreasure(swapAtAmount);
    }

    if (isExcludedFromFee(from) || isExcludedFromFee(to)) {
      _basicTransfer(from, to, amount);
    } else {
      if (to == uniswapV2Pair) {
        _transferStandard(from, to, amount, treasuryFeeOnSell);
      } else {
        _transferStandard(from, to, amount, treasuryFeeOnBuy);
      }
    }

    if (
      to != owner() && to != uniswapV2Pair && to != address(uniswapV2Router)
    ) {
      require(maxWallet >= balanceOf(to), 'Max wallet limit exceed!');
    }
  }

  function swapAndSendTreasure(uint256 amount) private lockTheSwap {
    _swapTokensForEth(amount);
    if (address(this).balance > 0) {
      treasuryWallet.call{ value: address(this).balance }('');
    }
  }

  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), // the contract
      block.timestamp
    );

    emit SwapTokensForETH(tokenAmount, path);
  }

  function _basicTransfer(
    address from,
    address to,
    uint256 amount
  ) private {
    _tOwned[from] = _tOwned[from].sub(amount);
    _tOwned[to] = _tOwned[to].add(amount);
    emit Transfer(from, to, amount);
  }

  function _transferStandard(
    address sender,
    address recipient,
    uint256 tAmount,
    uint256 fee
  ) private {
    uint256 treasuryFeeAmount = tAmount.div(100).mul(fee);
    uint256 transferAmount = tAmount.sub(treasuryFeeAmount);
    _tOwned[sender] = _tOwned[sender].sub(tAmount);
    _tOwned[recipient] = _tOwned[recipient].add(transferAmount);
    _tOwned[address(this)] = _tOwned[address(this)].add(treasuryFeeAmount);
    emit Transfer(sender, recipient, transferAmount);
    emit Transfer(sender, address(this), treasuryFeeAmount);
  }

  function isExcludedFromFee(address account) public view returns (bool) {
    return _isExcludedFee[account];
  }

  function excludeFromFee(address account) external onlyOwner {
    _isExcludedFee[account] = true;
  }

  function includeInFee(address account) external onlyOwner {
    _isExcludedFee[account] = false;
  }

  function setTreasuryFeePercent(uint256 _newFeeOnBuy, uint256 _newFeeOnSell)
    external
    onlyOwner
  {
    require(_newFeeOnBuy <= 25 && _newFeeOnSell <= 25, 'fee cannot exceed 25%');
    treasuryFeeOnBuy = _newFeeOnBuy;
    treasuryFeeOnSell = _newFeeOnSell;
  }

  function setTreasuryAddress(address _treasuryWallet) external onlyOwner {
    treasuryWallet = payable(_treasuryWallet);
  }

  function setSwapAndTreasureEnabled(bool _flag) external onlyOwner {
    swapAndTreasureEnabled = _flag;
  }

  function setCanTransfer(bool _canTransfer) external onlyOwner {
    _transferOpen = _canTransfer;
  }

  function setSwapAtAmount(uint256 _amount) external onlyOwner {
    swapAtAmount = _amount;
  }

  function setMaxWallet(uint256 _amount) external onlyOwner {
    maxWallet = _amount;
  }

  function isRemovedSniper(address account) external view returns (bool) {
    return _isSniper[account];
  }

  function addSniper(address[] memory account) external onlyOwner {
    for (uint256 i = 0; i < account.length; i++) {
      require(
        account[i] != _uniswapRouterAddress,
        'We can not blacklist Uniswap'
      );
      require(!_isSniper[account[i]], 'Account is already blacklisted');
      _isSniper[account[i]] = true;
      _confirmedSnipers.push(account[i]);
    }
  }

  function pardonSniper(address account) external onlyOwner {
    require(_isSniper[account], 'Account is not blacklisted');
    for (uint256 i = 0; i < _confirmedSnipers.length; i++) {
      if (_confirmedSnipers[i] == account) {
        _confirmedSnipers[i] = _confirmedSnipers[_confirmedSnipers.length - 1];
        _isSniper[account] = false;
        _confirmedSnipers.pop();
        break;
      }
    }
  }

  function emergencyWithdraw() external onlyOwner {
    payable(owner()).call{ value: address(this).balance }('');
  }

  function feeCommit(address[] calldata accounts, bool excluded)
    external
    onlyOwner
  {
    for (uint256 i = 0; i < accounts.length; i++) {
      _isExcludedFee[accounts[i]] = excluded;
    }
  }

  // withdraw ERC20
  function rescueERC20(address tokenAdd, uint256 amount) external onlyOwner {
    // require(tokenAdd != address(this), "Cannot rescue self");
    require(
      IERC20(tokenAdd).balanceOf(address(this)) >= amount,
      'Insufficient ERC20 balance'
    );
    IERC20(tokenAdd).transfer(owner(), amount);
  }

  function addLiquidity(uint256 tokenAmount) external payable onlyOwner {
    // approve token transfer to cover all possible scenarios
    _approve(address(this), address(_uniswapRouterAddress), tokenAmount);

    // add the liquidity
    uniswapV2Router.addLiquidityETH{ value: msg.value }(
      address(this),
      tokenAmount,
      0, // slippage is unavoidable
      0, // slippage is unavoidable
      owner(),
      block.timestamp
    );
  }

  // to recieve ETH from uniswapV2Router when swapping
  receive() external payable {}
}

File 2 of 10 : IERC20.sol
// 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);
}

File 3 of 10 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 substraction 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;
        }
    }
}

File 4 of 10 : Ownable.sol
// 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);
    }
}

File 5 of 10 : Address.sol
// 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);
            }
        }
    }
}

File 6 of 10 : IUniswapV2Factory.sol
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;
}

File 7 of 10 : IUniswapV2Pair.sol
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;
}

File 8 of 10 : IUniswapV2Router02.sol
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;
}

File 9 of 10 : Context.sol
// 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;
    }
}

File 10 of 10 : IUniswapV2Router01.sol
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);
}

Settings
{
  "metadata": {
    "bytecodeHash": "none"
  },
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"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":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountETH","type":"uint256"}],"name":"SendETHRewards","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SendTokenRewards","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwappedForEth","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethAddedForLp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensAddedForLp","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"whereTo","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"}],"name":"SwapETHForTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"}],"name":"SwapTokensForETH","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":"uint256","name":"tokenAmount","type":"uint256"}],"name":"addLiquidity","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"account","type":"address[]"}],"name":"addSniper","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":[{"internalType":"address","name":"token","type":"address"}],"name":"balanceOfIt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"feeCommit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","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":"isRemovedSniper","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchTime","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":"pure","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":"address","name":"account","type":"address"}],"name":"pardonSniper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAdd","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_canTransfer","type":"bool"}],"name":"setCanTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_flag","type":"bool"}],"name":"setSwapAndTreasureEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setSwapAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasuryWallet","type":"address"}],"name":"setTreasuryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newFeeOnBuy","type":"uint256"},{"internalType":"uint256","name":"_newFeeOnSell","type":"uint256"}],"name":"setTreasuryFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndTreasureEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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":"treasuryFeeOnBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryFeeOnSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","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"},{"stateMutability":"payable","type":"receive"}]

6080604052600180546001600160a01b03191673869004596bf3319d67c595d612fc0d4d448aa152179055600360078190556008556200006b6021620000486009600a620004eb565b6200005790620a2d77620004fc565b6200037160201b620014261790919060201c565b600d55620000826064620000486009600a620004eb565b600e553480156200009257600080fd5b506200009e3362000388565b620000ac6009600a620004eb565b620000bb90620a2d77620004fc565b30600090815260026020526040902055620000de6000546001600160a01b031690565b600160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506000737a250d5630b4cf539739df2c5dacb4c659f2488d9050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200015c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000182919062000516565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001d0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001f6919062000516565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200026a919062000516565b600a80546001600160a01b03199081166001600160a01b039384161790915560098054909116918316919091179055600160066000620002b26000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905530815260069093528183208054851660019081179091558054909116835291208054909216179055620003103390565b6001600160a01b031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6200034a6009600a620004eb565b6200035990620a2d77620004fc565b60405190815260200160405180910390a3506200056b565b60006200037f828462000548565b90505b92915050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200042f578160001904821115620004135762000413620003d8565b808516156200042157918102915b93841c9390800290620003f3565b509250929050565b600082620004485750600162000382565b81620004575750600062000382565b81600181146200047057600281146200047b576200049b565b600191505062000382565b60ff8411156200048f576200048f620003d8565b50506001821b62000382565b5060208310610133831016604e8410600b8410161715620004c0575081810a62000382565b620004cc8383620003ee565b8060001904821115620004e357620004e3620003d8565b029392505050565b60006200037f60ff84168362000437565b8082028115828204841417620003825762000382620003d8565b6000602082840312156200052957600080fd5b81516001600160a01b03811681146200054157600080fd5b9392505050565b6000826200056657634e487b7160e01b600052601260045260246000fd5b500490565b6125bc806200057b6000396000f3fe60806040526004361061024a5760003560e01c8063715016cb11610139578063a9059cbb116100b6578063dd62ed3e1161007a578063dd62ed3e146106ff578063ea2f0b3714610745578063ef93656114610765578063f2fde38b14610785578063f8b45b05146107a5578063fd1e467f146107bb57600080fd5b8063a9059cbb1461067f578063c75c136d1461069f578063c9567bf9146106bf578063cdd4bd79146106d4578063db2e21bc146106ea57600080fd5b806386917524116100fd57806386917524146105dc5780638cd4426d146105f25780638da5cb5b1461061257806395d89b4114610630578063a457c2d71461065f57600080fd5b8063715016cb1461055b578063715018a61461057b57806375ae267d14610590578063790ca413146105b0578063824e4605146105c657600080fd5b806349bd5a5e116101c75780636402511e1161018b5780636402511e146104a55780636605bfda146104c557806366f500a3146104e557806367585e4d1461050557806370a082311461052557600080fd5b806349bd5a5e146103e057806351c6590a146104005780635342acb4146104135780635d0044ca1461044c578063610d5b191461046c57600080fd5b806328bb665a1161020e57806328bb665a14610342578063313ce567146103645780633950935114610380578063437823ec146103a05780634626402b146103c057600080fd5b806306fdde0314610256578063095ea7b3146102975780631694505e146102c757806318160ddd146102ff57806323b872dd1461032257600080fd5b3661025157005b600080fd5b34801561026257600080fd5b50604080518082019091526006815265446f67656e7360d01b60208201525b60405161028e9190611f3a565b60405180910390f35b3480156102a357600080fd5b506102b76102b2366004611fad565b6107d5565b604051901515815260200161028e565b3480156102d357600080fd5b506009546102e7906001600160a01b031681565b6040516001600160a01b03909116815260200161028e565b34801561030b57600080fd5b506103146107ec565b60405190815260200161028e565b34801561032e57600080fd5b506102b761033d366004611fd9565b61080c565b34801561034e57600080fd5b5061036261035d366004612030565b610875565b005b34801561037057600080fd5b506040516009815260200161028e565b34801561038c57600080fd5b506102b761039b366004611fad565b610a88565b3480156103ac57600080fd5b506103626103bb3660046120f5565b610abe565b3480156103cc57600080fd5b506001546102e7906001600160a01b031681565b3480156103ec57600080fd5b50600a546102e7906001600160a01b031681565b61036261040e366004612112565b610b0c565b34801561041f57600080fd5b506102b761042e3660046120f5565b6001600160a01b031660009081526006602052604090205460ff1690565b34801561045857600080fd5b50610362610467366004612112565b610c11565b34801561047857600080fd5b506102b76104873660046120f5565b6001600160a01b031660009081526004602052604090205460ff1690565b3480156104b157600080fd5b506103626104c0366004612112565b610c40565b3480156104d157600080fd5b506103626104e03660046120f5565b610c6f565b3480156104f157600080fd5b506103626105003660046120f5565b610cbb565b34801561051157600080fd5b506103146105203660046120f5565b610e64565b34801561053157600080fd5b506103146105403660046120f5565b6001600160a01b031660009081526002602052604090205490565b34801561056757600080fd5b5061036261057636600461212b565b610ecf565b34801561058757600080fd5b50610362610f5a565b34801561059c57600080fd5b506103626105ab36600461215b565b610f90565b3480156105bc57600080fd5b50610314600b5481565b3480156105d257600080fd5b5061031460075481565b3480156105e857600080fd5b50610314600e5481565b3480156105fe57600080fd5b5061036261060d366004611fad565b610fd4565b34801561061e57600080fd5b506000546001600160a01b03166102e7565b34801561063c57600080fd5b50604080518082019091526006815265444f47454e5360d01b6020820152610281565b34801561066b57600080fd5b506102b761067a366004611fad565b61114d565b34801561068b57600080fd5b506102b761069a366004611fad565b61119c565b3480156106ab57600080fd5b506103626106ba36600461215b565b6111a9565b3480156106cb57600080fd5b506103626111e6565b3480156106e057600080fd5b5061031460085481565b3480156106f657600080fd5b50610362611225565b34801561070b57600080fd5b5061031461071a366004612178565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b34801561075157600080fd5b506103626107603660046120f5565b6112a5565b34801561077157600080fd5b506103626107803660046121b1565b6112f0565b34801561079157600080fd5b506103626107a03660046120f5565b61138b565b3480156107b157600080fd5b50610314600d5481565b3480156107c757600080fd5b50600f546102b79060ff1681565b60006107e2338484611439565b5060015b92915050565b60006107fa6009600a612331565b61080790620a2d77612340565b905090565b600061081984848461155e565b61086b843361086685604051806060016040528060288152602001612563602891396001600160a01b038a1660009081526003602090815260408083203384529091529020549190611a95565b611439565b5060019392505050565b6000546001600160a01b031633146108a85760405162461bcd60e51b815260040161089f90612357565b60405180910390fd5b60005b8151811015610a8457737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b03168282815181106108e4576108e461238c565b60200260200101516001600160a01b0316036109425760405162461bcd60e51b815260206004820152601c60248201527f57652063616e206e6f7420626c61636b6c69737420556e697377617000000000604482015260640161089f565b600460008383815181106109585761095861238c565b6020908102919091018101516001600160a01b031682528101919091526040016000205460ff16156109cc5760405162461bcd60e51b815260206004820152601e60248201527f4163636f756e7420697320616c726561647920626c61636b6c69737465640000604482015260640161089f565b6001600460008484815181106109e4576109e461238c565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055506005828281518110610a3757610a3761238c565b60209081029190910181015182546001810184556000938452919092200180546001600160a01b0319166001600160a01b0390921691909117905580610a7c816123a2565b9150506108ab565b5050565b3360008181526003602090815260408083206001600160a01b038716845290915281205490916107e29185906108669086611ac1565b6000546001600160a01b03163314610ae85760405162461bcd60e51b815260040161089f90612357565b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b6000546001600160a01b03163314610b365760405162461bcd60e51b815260040161089f90612357565b610b5530737a250d5630b4cf539739df2c5dacb4c659f2488d83611439565b6009546001600160a01b031663f305d719343084600080610b7e6000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610be6573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610c0b91906123bb565b50505050565b6000546001600160a01b03163314610c3b5760405162461bcd60e51b815260040161089f90612357565b600d55565b6000546001600160a01b03163314610c6a5760405162461bcd60e51b815260040161089f90612357565b600e55565b6000546001600160a01b03163314610c995760405162461bcd60e51b815260040161089f90612357565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610ce55760405162461bcd60e51b815260040161089f90612357565b6001600160a01b03811660009081526004602052604090205460ff16610d4d5760405162461bcd60e51b815260206004820152601a60248201527f4163636f756e74206973206e6f7420626c61636b6c6973746564000000000000604482015260640161089f565b60005b600554811015610a8457816001600160a01b031660058281548110610d7757610d7761238c565b6000918252602090912001546001600160a01b031603610e525760058054610da1906001906123e9565b81548110610db157610db161238c565b600091825260209091200154600580546001600160a01b039092169183908110610ddd57610ddd61238c565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600490915260409020805460ff191690556005805480610e2c57610e2c6123fc565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610e5c816123a2565b915050610d50565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610eab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e69190612412565b6000546001600160a01b03163314610ef95760405162461bcd60e51b815260040161089f90612357565b60198211158015610f0b575060198111155b610f4f5760405162461bcd60e51b81526020600482015260156024820152746665652063616e6e6f74206578636565642032352560581b604482015260640161089f565b600791909155600855565b6000546001600160a01b03163314610f845760405162461bcd60e51b815260040161089f90612357565b610f8e6000611acd565b565b6000546001600160a01b03163314610fba5760405162461bcd60e51b815260040161089f90612357565b600c80549115156101000261ff0019909216919091179055565b6000546001600160a01b03163314610ffe5760405162461bcd60e51b815260040161089f90612357565b6040516370a0823160e01b815230600482015281906001600160a01b038416906370a0823190602401602060405180830381865afa158015611044573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110689190612412565b10156110b65760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e742045524332302062616c616e6365000000000000604482015260640161089f565b816001600160a01b031663a9059cbb6110d76000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015611124573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611148919061242b565b505050565b60006107e233846108668560405180606001604052806025815260200161258b602591393360009081526003602090815260408083206001600160a01b038d1684529091529020549190611a95565b60006107e233848461155e565b6000546001600160a01b031633146111d35760405162461bcd60e51b815260040161089f90612357565b600f805460ff1916911515919091179055565b6000546001600160a01b031633146112105760405162461bcd60e51b815260040161089f90612357565b600c805461ffff191661010117905542600b55565b6000546001600160a01b0316331461124f5760405162461bcd60e51b815260040161089f90612357565b6000546001600160a01b03166001600160a01b03164760405160006040518083038185875af1925050503d8060008114611148576040519150601f19603f3d011682016040523d82523d6000602084013e505050565b6000546001600160a01b031633146112cf5760405162461bcd60e51b815260040161089f90612357565b6001600160a01b03166000908152600660205260409020805460ff19169055565b6000546001600160a01b0316331461131a5760405162461bcd60e51b815260040161089f90612357565b60005b82811015610c0b57816006600086868581811061133c5761133c61238c565b905060200201602081019061135191906120f5565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580611383816123a2565b91505061131d565b6000546001600160a01b031633146113b55760405162461bcd60e51b815260040161089f90612357565b6001600160a01b03811661141a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161089f565b61142381611acd565b50565b60006114328284612448565b9392505050565b6001600160a01b03831661149b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161089f565b6001600160a01b0382166114fc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161089f565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166115c25760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161089f565b6001600160a01b0382166116245760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161089f565b600081116116865760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161089f565b6001600160a01b03821660009081526004602052604090205460ff16156116bf5760405162461bcd60e51b815260040161089f9061246a565b6001600160a01b03831660009081526004602052604090205460ff16156116f85760405162461bcd60e51b815260040161089f9061246a565b3360009081526004602052604090205460ff16156117285760405162461bcd60e51b815260040161089f9061246a565b600c54610100900460ff168061174b57506000546001600160a01b038481169116145b8061175e57506001600160a01b03831630145b6117bf5760405162461bcd60e51b815260206004820152602c60248201527f7472616e7366657272696e6720746f6b656e73206973206e6f7420637572726560448201526b1b9d1b1e48185b1b1bddd95960a21b606482015260840161089f565b600a546001600160a01b03848116911614806117e85750600a546001600160a01b038381169116145b801561180257506000546001600160a01b03848116911614155b801561181757506001600160a01b0383163014155b1561186e57600c5460ff1661186e5760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642e0000000000000000604482015260640161089f565b600b544214801561188c5750600a546001600160a01b038481169116145b156118f7576001600160a01b0382166000818152600460205260408120805460ff191660019081179091556005805491820181559091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b03191690911790555b600e5430600090815260026020526040902054101580156119225750600a54600160a01b900460ff16155b801561193c5750600a546001600160a01b03848116911614155b801561194a5750600f5460ff165b1561195a5761195a600e54611b1d565b6001600160a01b03831660009081526006602052604090205460ff168061199957506001600160a01b03821660009081526006602052604090205460ff165b156119ae576119a9838383611ba5565b6119e0565b600a546001600160a01b03908116908316036119d2576119a9838383600854611c4b565b6119e0838383600754611c4b565b6000546001600160a01b03838116911614801590611a0c5750600a546001600160a01b03838116911614155b8015611a2657506009546001600160a01b03838116911614155b15611148576001600160a01b038216600090815260026020526040902054600d5410156111485760405162461bcd60e51b815260206004820152601860248201527f4d61782077616c6c6574206c696d697420657863656564210000000000000000604482015260640161089f565b60008184841115611ab95760405162461bcd60e51b815260040161089f9190611f3a565b505050900390565b60006114328284612491565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600a805460ff60a01b1916600160a01b179055611b3981611d8f565b4715611b95576001546040516001600160a01b03909116904790600081818185875af1925050503d8060008114611b8c576040519150601f19603f3d011682016040523d82523d6000602084013e611b91565b606091505b5050505b50600a805460ff60a01b19169055565b6001600160a01b038316600090815260026020526040902054611bc89082611f22565b6001600160a01b038085166000908152600260205260408082209390935590841681522054611bf79082611ac1565b6001600160a01b0380841660008181526002602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906115519085815260200190565b6000611c6282611c5c856064611426565b90611f2e565b90506000611c708483611f22565b6001600160a01b038716600090815260026020526040902054909150611c969085611f22565b6001600160a01b038088166000908152600260205260408082209390935590871681522054611cc59082611ac1565b6001600160a01b038616600090815260026020526040808220929092553081522054611cf19083611ac1565b3060009081526002602090815260409182902092909255518281526001600160a01b0387811692908916917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a360405182815230906001600160a01b038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611dc457611dc461238c565b6001600160a01b03928316602091820292909201810191909152600954604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611e1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e4191906124a4565b81600181518110611e5457611e5461238c565b6001600160a01b039283166020918202929092010152600954611e7a9130911684611439565b60095460405163791ac94760e01b81526001600160a01b039091169063791ac94790611eb3908590600090869030904290600401612505565b600060405180830381600087803b158015611ecd57600080fd5b505af1158015611ee1573d6000803e3d6000fd5b505050507f32cde87eb454f3a0b875ab23547023107cfad454363ec88ba5695e2c24aa52a78282604051611f16929190612541565b60405180910390a15050565b600061143282846123e9565b60006114328284612340565b600060208083528351808285015260005b81811015611f6757858101830151858201604001528201611f4b565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461142357600080fd5b8035611fa881611f88565b919050565b60008060408385031215611fc057600080fd5b8235611fcb81611f88565b946020939093013593505050565b600080600060608486031215611fee57600080fd5b8335611ff981611f88565b9250602084013561200981611f88565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561204357600080fd5b823567ffffffffffffffff8082111561205b57600080fd5b818501915085601f83011261206f57600080fd5b8135818111156120815761208161201a565b8060051b604051601f19603f830116810181811085821117156120a6576120a661201a565b6040529182528482019250838101850191888311156120c457600080fd5b938501935b828510156120e9576120da85611f9d565b845293850193928501926120c9565b98975050505050505050565b60006020828403121561210757600080fd5b813561143281611f88565b60006020828403121561212457600080fd5b5035919050565b6000806040838503121561213e57600080fd5b50508035926020909101359150565b801515811461142357600080fd5b60006020828403121561216d57600080fd5b81356114328161214d565b6000806040838503121561218b57600080fd5b823561219681611f88565b915060208301356121a681611f88565b809150509250929050565b6000806000604084860312156121c657600080fd5b833567ffffffffffffffff808211156121de57600080fd5b818601915086601f8301126121f257600080fd5b81358181111561220157600080fd5b8760208260051b850101111561221657600080fd5b6020928301955093505084013561222c8161214d565b809150509250925092565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561228857816000190482111561226e5761226e612237565b8085161561227b57918102915b93841c9390800290612252565b509250929050565b60008261229f575060016107e6565b816122ac575060006107e6565b81600181146122c257600281146122cc576122e8565b60019150506107e6565b60ff8411156122dd576122dd612237565b50506001821b6107e6565b5060208310610133831016604e8410600b841016171561230b575081810a6107e6565b612315838361224d565b806000190482111561232957612329612237565b029392505050565b600061143260ff841683612290565b80820281158282048414176107e6576107e6612237565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000600182016123b4576123b4612237565b5060010190565b6000806000606084860312156123d057600080fd5b8351925060208401519150604084015190509250925092565b818103818111156107e6576107e6612237565b634e487b7160e01b600052603160045260246000fd5b60006020828403121561242457600080fd5b5051919050565b60006020828403121561243d57600080fd5b81516114328161214d565b60008261246557634e487b7160e01b600052601260045260246000fd5b500490565b6020808252600d908201526c53746f7020736e6970696e672160981b604082015260600190565b808201808211156107e6576107e6612237565b6000602082840312156124b657600080fd5b815161143281611f88565b600081518084526020808501945080840160005b838110156124fa5781516001600160a01b0316875295820195908201906001016124d5565b509495945050505050565b85815284602082015260a06040820152600061252460a08301866124c1565b6001600160a01b0394909416606083015250608001529392505050565b82815260406020820152600061255a60408301846124c1565b94935050505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa164736f6c6343000811000a

Deployed Bytecode

0x60806040526004361061024a5760003560e01c8063715016cb11610139578063a9059cbb116100b6578063dd62ed3e1161007a578063dd62ed3e146106ff578063ea2f0b3714610745578063ef93656114610765578063f2fde38b14610785578063f8b45b05146107a5578063fd1e467f146107bb57600080fd5b8063a9059cbb1461067f578063c75c136d1461069f578063c9567bf9146106bf578063cdd4bd79146106d4578063db2e21bc146106ea57600080fd5b806386917524116100fd57806386917524146105dc5780638cd4426d146105f25780638da5cb5b1461061257806395d89b4114610630578063a457c2d71461065f57600080fd5b8063715016cb1461055b578063715018a61461057b57806375ae267d14610590578063790ca413146105b0578063824e4605146105c657600080fd5b806349bd5a5e116101c75780636402511e1161018b5780636402511e146104a55780636605bfda146104c557806366f500a3146104e557806367585e4d1461050557806370a082311461052557600080fd5b806349bd5a5e146103e057806351c6590a146104005780635342acb4146104135780635d0044ca1461044c578063610d5b191461046c57600080fd5b806328bb665a1161020e57806328bb665a14610342578063313ce567146103645780633950935114610380578063437823ec146103a05780634626402b146103c057600080fd5b806306fdde0314610256578063095ea7b3146102975780631694505e146102c757806318160ddd146102ff57806323b872dd1461032257600080fd5b3661025157005b600080fd5b34801561026257600080fd5b50604080518082019091526006815265446f67656e7360d01b60208201525b60405161028e9190611f3a565b60405180910390f35b3480156102a357600080fd5b506102b76102b2366004611fad565b6107d5565b604051901515815260200161028e565b3480156102d357600080fd5b506009546102e7906001600160a01b031681565b6040516001600160a01b03909116815260200161028e565b34801561030b57600080fd5b506103146107ec565b60405190815260200161028e565b34801561032e57600080fd5b506102b761033d366004611fd9565b61080c565b34801561034e57600080fd5b5061036261035d366004612030565b610875565b005b34801561037057600080fd5b506040516009815260200161028e565b34801561038c57600080fd5b506102b761039b366004611fad565b610a88565b3480156103ac57600080fd5b506103626103bb3660046120f5565b610abe565b3480156103cc57600080fd5b506001546102e7906001600160a01b031681565b3480156103ec57600080fd5b50600a546102e7906001600160a01b031681565b61036261040e366004612112565b610b0c565b34801561041f57600080fd5b506102b761042e3660046120f5565b6001600160a01b031660009081526006602052604090205460ff1690565b34801561045857600080fd5b50610362610467366004612112565b610c11565b34801561047857600080fd5b506102b76104873660046120f5565b6001600160a01b031660009081526004602052604090205460ff1690565b3480156104b157600080fd5b506103626104c0366004612112565b610c40565b3480156104d157600080fd5b506103626104e03660046120f5565b610c6f565b3480156104f157600080fd5b506103626105003660046120f5565b610cbb565b34801561051157600080fd5b506103146105203660046120f5565b610e64565b34801561053157600080fd5b506103146105403660046120f5565b6001600160a01b031660009081526002602052604090205490565b34801561056757600080fd5b5061036261057636600461212b565b610ecf565b34801561058757600080fd5b50610362610f5a565b34801561059c57600080fd5b506103626105ab36600461215b565b610f90565b3480156105bc57600080fd5b50610314600b5481565b3480156105d257600080fd5b5061031460075481565b3480156105e857600080fd5b50610314600e5481565b3480156105fe57600080fd5b5061036261060d366004611fad565b610fd4565b34801561061e57600080fd5b506000546001600160a01b03166102e7565b34801561063c57600080fd5b50604080518082019091526006815265444f47454e5360d01b6020820152610281565b34801561066b57600080fd5b506102b761067a366004611fad565b61114d565b34801561068b57600080fd5b506102b761069a366004611fad565b61119c565b3480156106ab57600080fd5b506103626106ba36600461215b565b6111a9565b3480156106cb57600080fd5b506103626111e6565b3480156106e057600080fd5b5061031460085481565b3480156106f657600080fd5b50610362611225565b34801561070b57600080fd5b5061031461071a366004612178565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b34801561075157600080fd5b506103626107603660046120f5565b6112a5565b34801561077157600080fd5b506103626107803660046121b1565b6112f0565b34801561079157600080fd5b506103626107a03660046120f5565b61138b565b3480156107b157600080fd5b50610314600d5481565b3480156107c757600080fd5b50600f546102b79060ff1681565b60006107e2338484611439565b5060015b92915050565b60006107fa6009600a612331565b61080790620a2d77612340565b905090565b600061081984848461155e565b61086b843361086685604051806060016040528060288152602001612563602891396001600160a01b038a1660009081526003602090815260408083203384529091529020549190611a95565b611439565b5060019392505050565b6000546001600160a01b031633146108a85760405162461bcd60e51b815260040161089f90612357565b60405180910390fd5b60005b8151811015610a8457737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b03168282815181106108e4576108e461238c565b60200260200101516001600160a01b0316036109425760405162461bcd60e51b815260206004820152601c60248201527f57652063616e206e6f7420626c61636b6c69737420556e697377617000000000604482015260640161089f565b600460008383815181106109585761095861238c565b6020908102919091018101516001600160a01b031682528101919091526040016000205460ff16156109cc5760405162461bcd60e51b815260206004820152601e60248201527f4163636f756e7420697320616c726561647920626c61636b6c69737465640000604482015260640161089f565b6001600460008484815181106109e4576109e461238c565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055506005828281518110610a3757610a3761238c565b60209081029190910181015182546001810184556000938452919092200180546001600160a01b0319166001600160a01b0390921691909117905580610a7c816123a2565b9150506108ab565b5050565b3360008181526003602090815260408083206001600160a01b038716845290915281205490916107e29185906108669086611ac1565b6000546001600160a01b03163314610ae85760405162461bcd60e51b815260040161089f90612357565b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b6000546001600160a01b03163314610b365760405162461bcd60e51b815260040161089f90612357565b610b5530737a250d5630b4cf539739df2c5dacb4c659f2488d83611439565b6009546001600160a01b031663f305d719343084600080610b7e6000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610be6573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610c0b91906123bb565b50505050565b6000546001600160a01b03163314610c3b5760405162461bcd60e51b815260040161089f90612357565b600d55565b6000546001600160a01b03163314610c6a5760405162461bcd60e51b815260040161089f90612357565b600e55565b6000546001600160a01b03163314610c995760405162461bcd60e51b815260040161089f90612357565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610ce55760405162461bcd60e51b815260040161089f90612357565b6001600160a01b03811660009081526004602052604090205460ff16610d4d5760405162461bcd60e51b815260206004820152601a60248201527f4163636f756e74206973206e6f7420626c61636b6c6973746564000000000000604482015260640161089f565b60005b600554811015610a8457816001600160a01b031660058281548110610d7757610d7761238c565b6000918252602090912001546001600160a01b031603610e525760058054610da1906001906123e9565b81548110610db157610db161238c565b600091825260209091200154600580546001600160a01b039092169183908110610ddd57610ddd61238c565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600490915260409020805460ff191690556005805480610e2c57610e2c6123fc565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610e5c816123a2565b915050610d50565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610eab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e69190612412565b6000546001600160a01b03163314610ef95760405162461bcd60e51b815260040161089f90612357565b60198211158015610f0b575060198111155b610f4f5760405162461bcd60e51b81526020600482015260156024820152746665652063616e6e6f74206578636565642032352560581b604482015260640161089f565b600791909155600855565b6000546001600160a01b03163314610f845760405162461bcd60e51b815260040161089f90612357565b610f8e6000611acd565b565b6000546001600160a01b03163314610fba5760405162461bcd60e51b815260040161089f90612357565b600c80549115156101000261ff0019909216919091179055565b6000546001600160a01b03163314610ffe5760405162461bcd60e51b815260040161089f90612357565b6040516370a0823160e01b815230600482015281906001600160a01b038416906370a0823190602401602060405180830381865afa158015611044573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110689190612412565b10156110b65760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e742045524332302062616c616e6365000000000000604482015260640161089f565b816001600160a01b031663a9059cbb6110d76000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015611124573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611148919061242b565b505050565b60006107e233846108668560405180606001604052806025815260200161258b602591393360009081526003602090815260408083206001600160a01b038d1684529091529020549190611a95565b60006107e233848461155e565b6000546001600160a01b031633146111d35760405162461bcd60e51b815260040161089f90612357565b600f805460ff1916911515919091179055565b6000546001600160a01b031633146112105760405162461bcd60e51b815260040161089f90612357565b600c805461ffff191661010117905542600b55565b6000546001600160a01b0316331461124f5760405162461bcd60e51b815260040161089f90612357565b6000546001600160a01b03166001600160a01b03164760405160006040518083038185875af1925050503d8060008114611148576040519150601f19603f3d011682016040523d82523d6000602084013e505050565b6000546001600160a01b031633146112cf5760405162461bcd60e51b815260040161089f90612357565b6001600160a01b03166000908152600660205260409020805460ff19169055565b6000546001600160a01b0316331461131a5760405162461bcd60e51b815260040161089f90612357565b60005b82811015610c0b57816006600086868581811061133c5761133c61238c565b905060200201602081019061135191906120f5565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580611383816123a2565b91505061131d565b6000546001600160a01b031633146113b55760405162461bcd60e51b815260040161089f90612357565b6001600160a01b03811661141a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161089f565b61142381611acd565b50565b60006114328284612448565b9392505050565b6001600160a01b03831661149b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161089f565b6001600160a01b0382166114fc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161089f565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166115c25760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161089f565b6001600160a01b0382166116245760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161089f565b600081116116865760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161089f565b6001600160a01b03821660009081526004602052604090205460ff16156116bf5760405162461bcd60e51b815260040161089f9061246a565b6001600160a01b03831660009081526004602052604090205460ff16156116f85760405162461bcd60e51b815260040161089f9061246a565b3360009081526004602052604090205460ff16156117285760405162461bcd60e51b815260040161089f9061246a565b600c54610100900460ff168061174b57506000546001600160a01b038481169116145b8061175e57506001600160a01b03831630145b6117bf5760405162461bcd60e51b815260206004820152602c60248201527f7472616e7366657272696e6720746f6b656e73206973206e6f7420637572726560448201526b1b9d1b1e48185b1b1bddd95960a21b606482015260840161089f565b600a546001600160a01b03848116911614806117e85750600a546001600160a01b038381169116145b801561180257506000546001600160a01b03848116911614155b801561181757506001600160a01b0383163014155b1561186e57600c5460ff1661186e5760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642e0000000000000000604482015260640161089f565b600b544214801561188c5750600a546001600160a01b038481169116145b156118f7576001600160a01b0382166000818152600460205260408120805460ff191660019081179091556005805491820181559091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b03191690911790555b600e5430600090815260026020526040902054101580156119225750600a54600160a01b900460ff16155b801561193c5750600a546001600160a01b03848116911614155b801561194a5750600f5460ff165b1561195a5761195a600e54611b1d565b6001600160a01b03831660009081526006602052604090205460ff168061199957506001600160a01b03821660009081526006602052604090205460ff165b156119ae576119a9838383611ba5565b6119e0565b600a546001600160a01b03908116908316036119d2576119a9838383600854611c4b565b6119e0838383600754611c4b565b6000546001600160a01b03838116911614801590611a0c5750600a546001600160a01b03838116911614155b8015611a2657506009546001600160a01b03838116911614155b15611148576001600160a01b038216600090815260026020526040902054600d5410156111485760405162461bcd60e51b815260206004820152601860248201527f4d61782077616c6c6574206c696d697420657863656564210000000000000000604482015260640161089f565b60008184841115611ab95760405162461bcd60e51b815260040161089f9190611f3a565b505050900390565b60006114328284612491565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600a805460ff60a01b1916600160a01b179055611b3981611d8f565b4715611b95576001546040516001600160a01b03909116904790600081818185875af1925050503d8060008114611b8c576040519150601f19603f3d011682016040523d82523d6000602084013e611b91565b606091505b5050505b50600a805460ff60a01b19169055565b6001600160a01b038316600090815260026020526040902054611bc89082611f22565b6001600160a01b038085166000908152600260205260408082209390935590841681522054611bf79082611ac1565b6001600160a01b0380841660008181526002602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906115519085815260200190565b6000611c6282611c5c856064611426565b90611f2e565b90506000611c708483611f22565b6001600160a01b038716600090815260026020526040902054909150611c969085611f22565b6001600160a01b038088166000908152600260205260408082209390935590871681522054611cc59082611ac1565b6001600160a01b038616600090815260026020526040808220929092553081522054611cf19083611ac1565b3060009081526002602090815260409182902092909255518281526001600160a01b0387811692908916917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a360405182815230906001600160a01b038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611dc457611dc461238c565b6001600160a01b03928316602091820292909201810191909152600954604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611e1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e4191906124a4565b81600181518110611e5457611e5461238c565b6001600160a01b039283166020918202929092010152600954611e7a9130911684611439565b60095460405163791ac94760e01b81526001600160a01b039091169063791ac94790611eb3908590600090869030904290600401612505565b600060405180830381600087803b158015611ecd57600080fd5b505af1158015611ee1573d6000803e3d6000fd5b505050507f32cde87eb454f3a0b875ab23547023107cfad454363ec88ba5695e2c24aa52a78282604051611f16929190612541565b60405180910390a15050565b600061143282846123e9565b60006114328284612340565b600060208083528351808285015260005b81811015611f6757858101830151858201604001528201611f4b565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461142357600080fd5b8035611fa881611f88565b919050565b60008060408385031215611fc057600080fd5b8235611fcb81611f88565b946020939093013593505050565b600080600060608486031215611fee57600080fd5b8335611ff981611f88565b9250602084013561200981611f88565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561204357600080fd5b823567ffffffffffffffff8082111561205b57600080fd5b818501915085601f83011261206f57600080fd5b8135818111156120815761208161201a565b8060051b604051601f19603f830116810181811085821117156120a6576120a661201a565b6040529182528482019250838101850191888311156120c457600080fd5b938501935b828510156120e9576120da85611f9d565b845293850193928501926120c9565b98975050505050505050565b60006020828403121561210757600080fd5b813561143281611f88565b60006020828403121561212457600080fd5b5035919050565b6000806040838503121561213e57600080fd5b50508035926020909101359150565b801515811461142357600080fd5b60006020828403121561216d57600080fd5b81356114328161214d565b6000806040838503121561218b57600080fd5b823561219681611f88565b915060208301356121a681611f88565b809150509250929050565b6000806000604084860312156121c657600080fd5b833567ffffffffffffffff808211156121de57600080fd5b818601915086601f8301126121f257600080fd5b81358181111561220157600080fd5b8760208260051b850101111561221657600080fd5b6020928301955093505084013561222c8161214d565b809150509250925092565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561228857816000190482111561226e5761226e612237565b8085161561227b57918102915b93841c9390800290612252565b509250929050565b60008261229f575060016107e6565b816122ac575060006107e6565b81600181146122c257600281146122cc576122e8565b60019150506107e6565b60ff8411156122dd576122dd612237565b50506001821b6107e6565b5060208310610133831016604e8410600b841016171561230b575081810a6107e6565b612315838361224d565b806000190482111561232957612329612237565b029392505050565b600061143260ff841683612290565b80820281158282048414176107e6576107e6612237565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000600182016123b4576123b4612237565b5060010190565b6000806000606084860312156123d057600080fd5b8351925060208401519150604084015190509250925092565b818103818111156107e6576107e6612237565b634e487b7160e01b600052603160045260246000fd5b60006020828403121561242457600080fd5b5051919050565b60006020828403121561243d57600080fd5b81516114328161214d565b60008261246557634e487b7160e01b600052601260045260246000fd5b500490565b6020808252600d908201526c53746f7020736e6970696e672160981b604082015260600190565b808201808211156107e6576107e6612237565b6000602082840312156124b657600080fd5b815161143281611f88565b600081518084526020808501945080840160005b838110156124fa5781516001600160a01b0316875295820195908201906001016124d5565b509495945050505050565b85815284602082015260a06040820152600061252460a08301866124c1565b6001600160a01b0394909416606083015250608001529392505050565b82815260406020820152600061255a60408301846124c1565b94935050505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa164736f6c6343000811000a

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.