ETH Price: $3,806.59 (+6.53%)

Token

ERC-20: TakaraKuji (TAKARA)
 

Overview

Max Total Supply

100,000,000,000 TAKARA

Holders

63

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

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:
TakaraKuji

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : TakaraKuji.sol
/** TakaraKuji - Treasure Raffle
 *
 *  Token with auto-LP mechanism and lottery for buyers
 *
 *  Initial Anti-Whales Limits:
 *        - Max. Transaction Amount: 1% (1.000.000.000 TAKARA)
 *        - Max. Wallet: 2% (2.000.000.000 TAKARA)
 *
 *  Buy/Sell tax: 6%
 *        - 2%: Added to Liquidity Pool
 *        - 2%: Marketing / Development
 *        - 2%: Added to Lottery Pool Prize
 *
 *  Lotery Raffle
 *        - You'll obtain 1 lotery ticket for each 1.000.000 TAKARA buyed
 *        - When lottery pool prize arrives at 1.000.000.000 TAKARA a new lottery winner will be picked
 *        - Auto tranfer the total lottery pool prize to the winner
 *        - The tickets holders will be reset and a new Lottery will start with the new buyers
 *        - This token implements Chainlink VRF (Verifiable Random Function)
 *          to get a fair and verifiable random number and pick a Lotery Winner
 *
 *  Telegram: https://t.me/takarakujiportal
 *  Twitter:  https://twitter.com/Takarakuji_eth
 *
 */

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "@chainlink/contracts/src/v0.8/interfaces/VRFCoordinatorV2Interface.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBaseV2.sol";

contract TakaraKuji is ERC20, Ownable, VRFConsumerBaseV2 {
  using SafeMath for uint256;

  enum LotteryState {
    OPEN,
    CALCULATING
  }

  IUniswapV2Router02 public immutable uniswapV2Router;
  address public immutable uniswapV2Pair;
  address public constant deadAddress = address(0xdead);
  address private immutable i_usdc;
  bool private swapping;

  address public devWallet;

  uint256 public maxTransactionAmount;
  uint256 public swapTokensAtAmount;
  uint256 public pickLotteryWinnerAtAmount;
  uint256 public maxWallet;

  bool public limitsInEffect = true;
  bool public tradingActive = false;
  bool public swapEnabled = false;

  uint256 public buyTotalFees;
  uint256 public buyDevFee;
  uint256 public buyLiquidityFee;
  uint256 public buyLotteryFee;

  uint256 public sellTotalFees;
  uint256 public sellDevFee;
  uint256 public sellLiquidityFee;
  uint256 public sellLotteryFee;

  // exclude from fees and max transaction amount
  mapping(address => bool) private _isExcludedFromFees;
  mapping(address => bool) public _isExcludedMaxTransactionAmount;

  uint256 public lotteryRound = 0;
  mapping(uint256 => address[]) public lotteryTicketsAtRound;
  uint256 public minTicketLotteryAmount;
  VRFCoordinatorV2Interface private immutable i_vrfCoordinator;
  bytes32 private immutable i_keyHash;
  uint64 private immutable i_subscriptionId;
  uint16 private constant REQUEST_CONFIRMATIONS = 3;
  uint32 private immutable i_callbackGasLimit;
  uint16 private constant NUM_WORDS = 1;

  address public lastLotteryWinner;
  uint256 public lastLotteryTokensWinned;
  uint256 public totalLotteryTokens;
  LotteryState public lotteryState;

  event LotteryTicketsAdded(address indexed account, uint256 numTickets);
  event RequestedLotteryWinner(uint256 indexed requestId);
  event PickedLotteryWinner(address indexed winner, uint256 numTokens);

  event ExcludeFromFees(address indexed account, bool isExcluded);

  event devWalletUpdated(address indexed newWallet, address indexed oldWallet);

  constructor(
    address _vrfCoordinatorV2,
    bytes32 _keyHash,
    uint64 _subscriptionId,
    uint32 _callbackGasLimit,
    address _uniswapV2Router,
    address _usdc
  ) ERC20("TakaraKuji", "TAKARA") VRFConsumerBaseV2(_vrfCoordinatorV2) {
    // Chainlink VRF data
    i_vrfCoordinator = VRFCoordinatorV2Interface(_vrfCoordinatorV2);
    i_keyHash = _keyHash;
    i_subscriptionId = _subscriptionId;
    i_callbackGasLimit = _callbackGasLimit;
    lotteryState = LotteryState.OPEN;
    // USDC Address
    i_usdc = _usdc;
    // Uniswap Router
    uniswapV2Router = IUniswapV2Router02(_uniswapV2Router);
    excludeFromMaxTransaction(_uniswapV2Router, true);
    uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), i_usdc);
    excludeFromMaxTransaction(address(uniswapV2Pair), true);

    uint256 _buyDevFee = 2;
    uint256 _buyLiquidityFee = 2;
    uint256 _buyLotteryFee = 2;

    uint256 _sellDevFee = 2;
    uint256 _sellLiquidityFee = 2;
    uint256 _sellLotteryFee = 2;

    uint256 totalSupply = 100_000_000_000 * 1e18;

    maxTransactionAmount = (totalSupply * 1) / 100; // 1% from total supply (1_000_000_000) maxTransactionAmountTxn
    maxWallet = (totalSupply * 2) / 100; // 2% from total supply (2_000_000_000) maxWallet
    minTicketLotteryAmount = (totalSupply * 1) / 100000; // 0.001% from from total supply (1_000_000) to obtain a new lottery ticket
    pickLotteryWinnerAtAmount = (totalSupply * 1) / 100; // 1% from total supply (1_000_000_000) for pick a new lottery winner
    swapTokensAtAmount = (totalSupply * 1) / 100; // 1% from total supply (1_000_000_000) to swap wallet

    buyDevFee = _buyDevFee;
    buyLiquidityFee = _buyLiquidityFee;
    buyLotteryFee = _buyLotteryFee;
    buyTotalFees = buyDevFee + buyLiquidityFee + buyLotteryFee;

    sellDevFee = _sellDevFee;
    sellLiquidityFee = _sellLiquidityFee;
    sellLotteryFee = _sellLotteryFee;
    sellTotalFees = sellDevFee + sellLiquidityFee + sellLotteryFee;

    devWallet = address(0xC24DAf9A82b3bA4A962e17812CC177883625322B); // set as dev wallet

    // exclude from paying fees or having max transaction amount
    excludeFromFees(owner(), true);
    excludeFromFees(address(this), true);
    excludeFromFees(address(0xdead), true);

    excludeFromMaxTransaction(owner(), true);
    excludeFromMaxTransaction(address(this), true);
    excludeFromMaxTransaction(address(0xdead), true);

    /** @dev
     *   _mint is an internal function in ERC20.sol that is only called here,
     *    and CANNOT be called ever again
     */
    _mint(msg.sender, totalSupply);
  }

  receive() external payable {}

  // once enabled, can never be turned off
  function enableTrading() external onlyOwner {
    tradingActive = true;
    swapEnabled = true;
  }

  // remove limits after token is stable
  function removeLimits() external onlyOwner returns (bool) {
    limitsInEffect = false;
    return true;
  }

  // change the minimum amount of tokens to sell from fees
  function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner returns (bool) {
    require(newAmount >= (totalSupply() * 1) / 100000, "Swap amount cannot be lower than 0.001% total supply.");
    require(newAmount <= (totalSupply() * 1) / 100, "Swap amount cannot be higher than 1% total supply.");
    swapTokensAtAmount = newAmount * (10**18);
    return true;
  }

  // change the minimum amount of tokens to pick a new lottery winner
  function updatePickLotteryWinnerAtAmount(uint256 newAmount) external onlyOwner returns (bool) {
    require(
      newAmount >= (totalSupply() * 1) / 100000,
      "pickLotteryWinnerAtAmount cannot be lower than 0.001% total supply."
    );
    require(newAmount <= (totalSupply() * 1) / 100, "pickLotteryWinnerAtAmount cannot be higher than 1% total supply.");
    pickLotteryWinnerAtAmount = newAmount * (10**18);
    return true;
  }

  function updateMaxTxnAmount(uint256 newNum) external onlyOwner {
    require(newNum >= ((totalSupply() * 1) / 1000) / 1e18, "Cannot set maxTransactionAmount lower than 0.1%");
    maxTransactionAmount = newNum * (10**18);
  }

  function updateMaxWalletAmount(uint256 newNum) external onlyOwner {
    require(newNum >= ((totalSupply() * 5) / 1000) / 1e18, "Cannot set maxWallet lower than 0.5%");
    maxWallet = newNum * (10**18);
  }

  function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner {
    _isExcludedMaxTransactionAmount[updAds] = isEx;
  }

  // only use to disable contract sales if absolutely necessary (emergency use only)
  function updateSwapEnabled(bool enabled) external onlyOwner {
    swapEnabled = enabled;
  }

  function updateBuyFees(uint256 _devFee, uint256 _liquidityFee) external onlyOwner {
    buyDevFee = _devFee;
    buyLiquidityFee = _liquidityFee;
    buyTotalFees = buyDevFee + buyLiquidityFee;
    require(buyTotalFees <= 10, "Must keep fees at 10% or less");
  }

  function updateSellFees(uint256 _devFee, uint256 _liquidityFee) external onlyOwner {
    sellDevFee = _devFee;
    sellLiquidityFee = _liquidityFee;
    sellTotalFees = sellDevFee + sellLiquidityFee;
    require(sellTotalFees <= 10, "Must keep fees at 10% or less");
  }

  function excludeFromFees(address account, bool excluded) public onlyOwner {
    _isExcludedFromFees[account] = excluded;
    emit ExcludeFromFees(account, excluded);
  }

  function updateDevWallet(address newDevWallet) external onlyOwner {
    emit devWalletUpdated(newDevWallet, devWallet);
    devWallet = newDevWallet;
  }

  function isExcludedFromFees(address account) public view returns (bool) {
    return _isExcludedFromFees[account];
  }

  function _transfer(
    address from,
    address to,
    uint256 amount
  ) internal override {
    require(from != address(0), "ERC20: transfer from the zero address");
    require(to != address(0), "ERC20: transfer to the zero address");

    if (amount == 0) {
      super._transfer(from, to, 0);
      return;
    }

    if (limitsInEffect) {
      if (from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping) {
        if (!tradingActive) {
          require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active.");
        }

        // at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch.
        //when buy
        if (from == uniswapV2Pair && !_isExcludedMaxTransactionAmount[to]) {
          require(amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount.");
          require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded");
        } else if (!_isExcludedMaxTransactionAmount[to]) {
          require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded");
        }
      }
    }

    uint256 contractTokenBalance = balanceOf(address(this));

    bool canSwap = contractTokenBalance >= swapTokensAtAmount;

    if (
      canSwap &&
      swapEnabled &&
      !swapping &&
      to == uniswapV2Pair &&
      !_isExcludedFromFees[from] &&
      !_isExcludedFromFees[to]
    ) {
      swapping = true;

      swapBack();

      swapping = false;
    }

    bool takeFee = !swapping;

    // if any account belongs to _isExcludedFromFee account then remove the fee
    if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
      takeFee = false;
    }

    uint256 fees = 0;
    uint256 tokensForLiquidity = 0;
    uint256 tokensForDev = 0;
    uint256 tokensForLottery = 0;
    // only take fees on buys/sells, do not take on wallet transfers
    if (takeFee) {
      // on sell
      if (to == uniswapV2Pair && sellTotalFees > 0) {
        fees = amount.mul(sellTotalFees).div(100);
        tokensForLiquidity = (fees * sellLiquidityFee) / sellTotalFees;
        tokensForDev = (fees * sellDevFee) / sellTotalFees;
        tokensForLottery = (fees * sellLotteryFee) / sellTotalFees;
        totalLotteryTokens = totalLotteryTokens + tokensForLottery;
      }
      // on buy
      else if (from == uniswapV2Pair && buyTotalFees > 0) {
        fees = amount.mul(buyTotalFees).div(100);
        tokensForLiquidity = (fees * buyLiquidityFee) / buyTotalFees;
        tokensForDev = (fees * buyDevFee) / buyTotalFees;
        tokensForLottery = (fees * buyLotteryFee) / buyTotalFees;
        totalLotteryTokens = totalLotteryTokens + tokensForLottery;
        addLotteryTickets(to, tokensForLottery);
      }

      if (fees > 0) {
        super._transfer(from, address(this), fees);
      }
      if (tokensForLiquidity > 0) {
        super._transfer(address(this), uniswapV2Pair, tokensForLiquidity);
      }

      amount -= fees;
    }

    super._transfer(from, to, amount);
  }

  function swapTokensForUSDC(uint256 tokenAmount) private {
    // generate the uniswap pair path of token -> usdc
    address[] memory path = new address[](2);
    path[0] = address(this);
    path[1] = i_usdc;

    _approve(address(this), address(uniswapV2Router), tokenAmount);

    // make the swap
    uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(
      tokenAmount,
      0, // accept any amount of USDC
      path,
      devWallet,
      block.timestamp
    );
  }

  function swapBack() private {
    uint256 contractBalance = balanceOf(address(this));
    if (contractBalance == 0) {
      return;
    }
    contractBalance = contractBalance - totalLotteryTokens;
    if (contractBalance > swapTokensAtAmount) {
      contractBalance = swapTokensAtAmount;
    }
    swapTokensForUSDC(contractBalance);
    // Check if we have to pick a new lottery winner
    if (
      lotteryState == LotteryState.OPEN &&
      lotteryTicketsAtRound[lotteryRound].length > 0 &&
      totalLotteryTokens > pickLotteryWinnerAtAmount
    ) {
      requestRandomWinner();
    }
  }

  function addLotteryTickets(address holder, uint256 tokensForLottery) private {
    if (tokensForLottery >= minTicketLotteryAmount && lotteryState == LotteryState.OPEN) {
      uint256 numTickets = tokensForLottery / minTicketLotteryAmount;
      for (uint256 i = 1; i <= numTickets; i++) {
        lotteryTicketsAtRound[lotteryRound].push(holder);
      }
      emit LotteryTicketsAdded(holder, numTickets);
    }
  }

  function requestRandomWinner() private {
    // Will revert if subscription is not set and funded.
    lotteryState = LotteryState.CALCULATING;
    uint256 requestId = i_vrfCoordinator.requestRandomWords(
      i_keyHash,
      i_subscriptionId,
      REQUEST_CONFIRMATIONS,
      i_callbackGasLimit,
      NUM_WORDS
    );
    emit RequestedLotteryWinner(requestId);
  }

  function fulfillRandomWords(
    uint256, /* requestId */
    uint256[] memory randomWords
  ) internal override {
    uint256 indexOfWinner = randomWords[0] % lotteryTicketsAtRound[lotteryRound].length;
    // lastLotteryWinner = lotteryTickets[indexOfWinner];
    lastLotteryWinner = lotteryTicketsAtRound[lotteryRound][indexOfWinner];
    // Reset accumulated Current Lottery Tokens
    lastLotteryTokensWinned = totalLotteryTokens;
    totalLotteryTokens = 0;
    // Reset lotteryTickets after winner picked
    lotteryRound++;
    lotteryState = LotteryState.OPEN;
    // Transfer the last Lottery Tokens winned to the winner
    super._transfer(address(this), lastLotteryWinner, lastLotteryTokensWinned);
    emit PickedLotteryWinner(lastLotteryWinner, lastLotteryTokensWinned);
  }

  function getCurrentNumberOfLotteryTickets() public view returns (uint256) {
    return lotteryTicketsAtRound[lotteryRound].length;
  }
}

File 2 of 12 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

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

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 3 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 4 of 12 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 5 of 12 : 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 6 of 12 : 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 12 : VRFCoordinatorV2Interface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface VRFCoordinatorV2Interface {
  /**
   * @notice Get configuration relevant for making requests
   * @return minimumRequestConfirmations global min for request confirmations
   * @return maxGasLimit global max for request gas limit
   * @return s_provingKeyHashes list of registered key hashes
   */
  function getRequestConfig()
    external
    view
    returns (
      uint16,
      uint32,
      bytes32[] memory
    );

  /**
   * @notice Request a set of random words.
   * @param keyHash - Corresponds to a particular oracle job which uses
   * that key for generating the VRF proof. Different keyHash's have different gas price
   * ceilings, so you can select a specific one to bound your maximum per request cost.
   * @param subId  - The ID of the VRF subscription. Must be funded
   * with the minimum subscription balance required for the selected keyHash.
   * @param minimumRequestConfirmations - How many blocks you'd like the
   * oracle to wait before responding to the request. See SECURITY CONSIDERATIONS
   * for why you may want to request more. The acceptable range is
   * [minimumRequestBlockConfirmations, 200].
   * @param callbackGasLimit - How much gas you'd like to receive in your
   * fulfillRandomWords callback. Note that gasleft() inside fulfillRandomWords
   * may be slightly less than this amount because of gas used calling the function
   * (argument decoding etc.), so you may need to request slightly more than you expect
   * to have inside fulfillRandomWords. The acceptable range is
   * [0, maxGasLimit]
   * @param numWords - The number of uint256 random values you'd like to receive
   * in your fulfillRandomWords callback. Note these numbers are expanded in a
   * secure way by the VRFCoordinator from a single random value supplied by the oracle.
   * @return requestId - A unique identifier of the request. Can be used to match
   * a request to a response in fulfillRandomWords.
   */
  function requestRandomWords(
    bytes32 keyHash,
    uint64 subId,
    uint16 minimumRequestConfirmations,
    uint32 callbackGasLimit,
    uint32 numWords
  ) external returns (uint256 requestId);

  /**
   * @notice Create a VRF subscription.
   * @return subId - A unique subscription id.
   * @dev You can manage the consumer set dynamically with addConsumer/removeConsumer.
   * @dev Note to fund the subscription, use transferAndCall. For example
   * @dev  LINKTOKEN.transferAndCall(
   * @dev    address(COORDINATOR),
   * @dev    amount,
   * @dev    abi.encode(subId));
   */
  function createSubscription() external returns (uint64 subId);

  /**
   * @notice Get a VRF subscription.
   * @param subId - ID of the subscription
   * @return balance - LINK balance of the subscription in juels.
   * @return reqCount - number of requests for this subscription, determines fee tier.
   * @return owner - owner of the subscription.
   * @return consumers - list of consumer address which are able to use this subscription.
   */
  function getSubscription(uint64 subId)
    external
    view
    returns (
      uint96 balance,
      uint64 reqCount,
      address owner,
      address[] memory consumers
    );

  /**
   * @notice Request subscription owner transfer.
   * @param subId - ID of the subscription
   * @param newOwner - proposed new owner of the subscription
   */
  function requestSubscriptionOwnerTransfer(uint64 subId, address newOwner) external;

  /**
   * @notice Request subscription owner transfer.
   * @param subId - ID of the subscription
   * @dev will revert if original owner of subId has
   * not requested that msg.sender become the new owner.
   */
  function acceptSubscriptionOwnerTransfer(uint64 subId) external;

  /**
   * @notice Add a consumer to a VRF subscription.
   * @param subId - ID of the subscription
   * @param consumer - New consumer which can use the subscription
   */
  function addConsumer(uint64 subId, address consumer) external;

  /**
   * @notice Remove a consumer from a VRF subscription.
   * @param subId - ID of the subscription
   * @param consumer - Consumer to remove from the subscription
   */
  function removeConsumer(uint64 subId, address consumer) external;

  /**
   * @notice Cancel a subscription
   * @param subId - ID of the subscription
   * @param to - Where to send the remaining LINK to
   */
  function cancelSubscription(uint64 subId, address to) external;
}

File 8 of 12 : VRFConsumerBaseV2.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/** ****************************************************************************
 * @notice Interface for contracts using VRF randomness
 * *****************************************************************************
 * @dev PURPOSE
 *
 * @dev Reggie the Random Oracle (not his real job) wants to provide randomness
 * @dev to Vera the verifier in such a way that Vera can be sure he's not
 * @dev making his output up to suit himself. Reggie provides Vera a public key
 * @dev to which he knows the secret key. Each time Vera provides a seed to
 * @dev Reggie, he gives back a value which is computed completely
 * @dev deterministically from the seed and the secret key.
 *
 * @dev Reggie provides a proof by which Vera can verify that the output was
 * @dev correctly computed once Reggie tells it to her, but without that proof,
 * @dev the output is indistinguishable to her from a uniform random sample
 * @dev from the output space.
 *
 * @dev The purpose of this contract is to make it easy for unrelated contracts
 * @dev to talk to Vera the verifier about the work Reggie is doing, to provide
 * @dev simple access to a verifiable source of randomness. It ensures 2 things:
 * @dev 1. The fulfillment came from the VRFCoordinator
 * @dev 2. The consumer contract implements fulfillRandomWords.
 * *****************************************************************************
 * @dev USAGE
 *
 * @dev Calling contracts must inherit from VRFConsumerBase, and can
 * @dev initialize VRFConsumerBase's attributes in their constructor as
 * @dev shown:
 *
 * @dev   contract VRFConsumer {
 * @dev     constructor(<other arguments>, address _vrfCoordinator, address _link)
 * @dev       VRFConsumerBase(_vrfCoordinator) public {
 * @dev         <initialization with other arguments goes here>
 * @dev       }
 * @dev   }
 *
 * @dev The oracle will have given you an ID for the VRF keypair they have
 * @dev committed to (let's call it keyHash). Create subscription, fund it
 * @dev and your consumer contract as a consumer of it (see VRFCoordinatorInterface
 * @dev subscription management functions).
 * @dev Call requestRandomWords(keyHash, subId, minimumRequestConfirmations,
 * @dev callbackGasLimit, numWords),
 * @dev see (VRFCoordinatorInterface for a description of the arguments).
 *
 * @dev Once the VRFCoordinator has received and validated the oracle's response
 * @dev to your request, it will call your contract's fulfillRandomWords method.
 *
 * @dev The randomness argument to fulfillRandomWords is a set of random words
 * @dev generated from your requestId and the blockHash of the request.
 *
 * @dev If your contract could have concurrent requests open, you can use the
 * @dev requestId returned from requestRandomWords to track which response is associated
 * @dev with which randomness request.
 * @dev See "SECURITY CONSIDERATIONS" for principles to keep in mind,
 * @dev if your contract could have multiple requests in flight simultaneously.
 *
 * @dev Colliding `requestId`s are cryptographically impossible as long as seeds
 * @dev differ.
 *
 * *****************************************************************************
 * @dev SECURITY CONSIDERATIONS
 *
 * @dev A method with the ability to call your fulfillRandomness method directly
 * @dev could spoof a VRF response with any random value, so it's critical that
 * @dev it cannot be directly called by anything other than this base contract
 * @dev (specifically, by the VRFConsumerBase.rawFulfillRandomness method).
 *
 * @dev For your users to trust that your contract's random behavior is free
 * @dev from malicious interference, it's best if you can write it so that all
 * @dev behaviors implied by a VRF response are executed *during* your
 * @dev fulfillRandomness method. If your contract must store the response (or
 * @dev anything derived from it) and use it later, you must ensure that any
 * @dev user-significant behavior which depends on that stored value cannot be
 * @dev manipulated by a subsequent VRF request.
 *
 * @dev Similarly, both miners and the VRF oracle itself have some influence
 * @dev over the order in which VRF responses appear on the blockchain, so if
 * @dev your contract could have multiple VRF requests in flight simultaneously,
 * @dev you must ensure that the order in which the VRF responses arrive cannot
 * @dev be used to manipulate your contract's user-significant behavior.
 *
 * @dev Since the block hash of the block which contains the requestRandomness
 * @dev call is mixed into the input to the VRF *last*, a sufficiently powerful
 * @dev miner could, in principle, fork the blockchain to evict the block
 * @dev containing the request, forcing the request to be included in a
 * @dev different block with a different hash, and therefore a different input
 * @dev to the VRF. However, such an attack would incur a substantial economic
 * @dev cost. This cost scales with the number of blocks the VRF oracle waits
 * @dev until it calls responds to a request. It is for this reason that
 * @dev that you can signal to an oracle you'd like them to wait longer before
 * @dev responding to the request (however this is not enforced in the contract
 * @dev and so remains effective only in the case of unmodified oracle software).
 */
abstract contract VRFConsumerBaseV2 {
  error OnlyCoordinatorCanFulfill(address have, address want);
  address private immutable vrfCoordinator;

  /**
   * @param _vrfCoordinator address of VRFCoordinator contract
   */
  constructor(address _vrfCoordinator) {
    vrfCoordinator = _vrfCoordinator;
  }

  /**
   * @notice fulfillRandomness handles the VRF response. Your contract must
   * @notice implement it. See "SECURITY CONSIDERATIONS" above for important
   * @notice principles to keep in mind when implementing your fulfillRandomness
   * @notice method.
   *
   * @dev VRFConsumerBaseV2 expects its subcontracts to have a method with this
   * @dev signature, and will call it once it has verified the proof
   * @dev associated with the randomness. (It is triggered via a call to
   * @dev rawFulfillRandomness, below.)
   *
   * @param requestId The Id initially returned by requestRandomness
   * @param randomWords the VRF output expanded to the requested number of words
   */
  function fulfillRandomWords(uint256 requestId, uint256[] memory randomWords) internal virtual;

  // rawFulfillRandomness is called by VRFCoordinator when it receives a valid VRF
  // proof. rawFulfillRandomness then calls fulfillRandomness, after validating
  // the origin of the call
  function rawFulfillRandomWords(uint256 requestId, uint256[] memory randomWords) external {
    if (msg.sender != vrfCoordinator) {
      revert OnlyCoordinatorCanFulfill(msg.sender, vrfCoordinator);
    }
    fulfillRandomWords(requestId, randomWords);
  }
}

File 9 of 12 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 10 of 12 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 11 of 12 : 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 12 of 12 : 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
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_vrfCoordinatorV2","type":"address"},{"internalType":"bytes32","name":"_keyHash","type":"bytes32"},{"internalType":"uint64","name":"_subscriptionId","type":"uint64"},{"internalType":"uint32","name":"_callbackGasLimit","type":"uint32"},{"internalType":"address","name":"_uniswapV2Router","type":"address"},{"internalType":"address","name":"_usdc","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"have","type":"address"},{"internalType":"address","name":"want","type":"address"}],"name":"OnlyCoordinatorCanFulfill","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"numTickets","type":"uint256"}],"name":"LotteryTicketsAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"winner","type":"address"},{"indexed":false,"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"PickedLotteryWinner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"requestId","type":"uint256"}],"name":"RequestedLotteryWinner","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"devWalletUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLotteryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getCurrentNumberOfLotteryTickets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastLotteryTokensWinned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastLotteryWinner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lotteryRound","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lotteryState","outputs":[{"internalType":"enum TakaraKuji.LotteryState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"lotteryTicketsAtRound","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","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":"minTicketLotteryAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pickLotteryWinnerAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"requestId","type":"uint256"},{"internalType":"uint256[]","name":"randomWords","type":"uint256[]"}],"name":"rawFulfillRandomWords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLotteryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalLotteryTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_devFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newDevWallet","type":"address"}],"name":"updateDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updatePickLotteryWinnerAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_devFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6101806040526001600b60006101000a81548160ff0219169083151502179055506000600b60016101000a81548160ff0219169083151502179055506000600b60026101000a81548160ff02191690831515021790555060006016553480156200006857600080fd5b5060405162005a2538038062005a2583398181016040528101906200008e919062000c77565b856040518060400160405280600a81526020017f54616b6172614b756a69000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f54414b415241000000000000000000000000000000000000000000000000000081525081600390805190602001906200011392919062000a9c565b5080600490805190602001906200012c92919062000a9c565b5050506200014f620001436200066a60201b60201c565b6200067260201b60201c565b8073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1681525050508573ffffffffffffffffffffffffffffffffffffffff166101008173ffffffffffffffffffffffffffffffffffffffff16815250508461012081815250508367ffffffffffffffff166101408167ffffffffffffffff16815250508263ffffffff166101608163ffffffff16815250506000601c60006101000a81548160ff021916908360018111156200021d576200021c62000d13565b5b02179055508073ffffffffffffffffffffffffffffffffffffffff1660e08173ffffffffffffffffffffffffffffffffffffffff16815250508173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff16815250506200029d8260016200073860201b60201c565b60a05173ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015620002e657600080fd5b505afa158015620002fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000321919062000d42565b73ffffffffffffffffffffffffffffffffffffffff1663c9c653963060e0516040518363ffffffff1660e01b81526004016200035f92919062000d85565b602060405180830381600087803b1580156200037a57600080fd5b505af11580156200038f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003b5919062000d42565b73ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1681525050620003fd60c05160016200073860201b60201c565b60006002905060006002905060006002905060006002905060006002905060006002905060006c01431e0fae6d7217caa00000009050606460018262000444919062000deb565b62000450919062000e7b565b600781905550606460028262000467919062000deb565b62000473919062000e7b565b600a81905550620186a06001826200048c919062000deb565b62000498919062000e7b565b6018819055506064600182620004af919062000deb565b620004bb919062000e7b565b6009819055506064600182620004d2919062000deb565b620004de919062000e7b565b60088190555086600d8190555085600e8190555084600f81905550600f54600e54600d546200050e919062000eb3565b6200051a919062000eb3565b600c819055508360118190555082601281905550816013819055506013546012546011546200054a919062000eb3565b62000556919062000eb3565b60108190555073c24daf9a82b3ba4a962e17812cc177883625322b600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620005d3620005c5620007a360201b60201c565b6001620007cd60201b60201c565b620005e6306001620007cd60201b60201c565b620005fb61dead6001620007cd60201b60201c565b6200061d6200060f620007a360201b60201c565b60016200073860201b60201c565b620006303060016200073860201b60201c565b6200064561dead60016200073860201b60201c565b6200065733826200088860201b60201c565b50505050505050505050505050620010d2565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200074862000a0160201b60201c565b80601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b620007dd62000a0160201b60201c565b80601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7826040516200087c919062000f2d565b60405180910390a25050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620008fb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008f29062000fab565b60405180910390fd5b6200090f6000838362000a9260201b60201c565b806002600082825462000923919062000eb3565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546200097a919062000eb3565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620009e1919062000fde565b60405180910390a3620009fd6000838362000a9760201b60201c565b5050565b62000a116200066a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000a37620007a360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000a90576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000a87906200104b565b60405180910390fd5b565b505050565b505050565b82805462000aaa906200109c565b90600052602060002090601f01602090048101928262000ace576000855562000b1a565b82601f1062000ae957805160ff191683800117855562000b1a565b8280016001018555821562000b1a579182015b8281111562000b1957825182559160200191906001019062000afc565b5b50905062000b29919062000b2d565b5090565b5b8082111562000b4857600081600090555060010162000b2e565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000b7e8262000b51565b9050919050565b62000b908162000b71565b811462000b9c57600080fd5b50565b60008151905062000bb08162000b85565b92915050565b6000819050919050565b62000bcb8162000bb6565b811462000bd757600080fd5b50565b60008151905062000beb8162000bc0565b92915050565b600067ffffffffffffffff82169050919050565b62000c108162000bf1565b811462000c1c57600080fd5b50565b60008151905062000c308162000c05565b92915050565b600063ffffffff82169050919050565b62000c518162000c36565b811462000c5d57600080fd5b50565b60008151905062000c718162000c46565b92915050565b60008060008060008060c0878903121562000c975762000c9662000b4c565b5b600062000ca789828a0162000b9f565b965050602062000cba89828a0162000bda565b955050604062000ccd89828a0162000c1f565b945050606062000ce089828a0162000c60565b935050608062000cf389828a0162000b9f565b92505060a062000d0689828a0162000b9f565b9150509295509295509295565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60006020828403121562000d5b5762000d5a62000b4c565b5b600062000d6b8482850162000b9f565b91505092915050565b62000d7f8162000b71565b82525050565b600060408201905062000d9c600083018562000d74565b62000dab602083018462000d74565b9392505050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000df88262000db2565b915062000e058362000db2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161562000e415762000e4062000dbc565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600062000e888262000db2565b915062000e958362000db2565b92508262000ea85762000ea762000e4c565b5b828204905092915050565b600062000ec08262000db2565b915062000ecd8362000db2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000f055762000f0462000dbc565b5b828201905092915050565b60008115159050919050565b62000f278162000f10565b82525050565b600060208201905062000f44600083018462000f1c565b92915050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000f93601f8362000f4a565b915062000fa08262000f5b565b602082019050919050565b6000602082019050818103600083015262000fc68162000f84565b9050919050565b62000fd88162000db2565b82525050565b600060208201905062000ff5600083018462000fcd565b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006200103360208362000f4a565b9150620010408262000ffb565b602082019050919050565b60006020820190508181036000830152620010668162001024565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620010b557607f821691505b60208210811415620010cc57620010cb6200106d565b5b50919050565b60805160a05160c05160e051610100516101205161014051610160516148b562001170600039600061316b0152600061314801526000613127015260006130eb01526000612f6a01526000818161129101528181612282015281816124cb015281816126d7015281816127d301526128f8015260008181610ecc01528181612fdd0152613004015260008181610fc2015261101601526148b56000f3fe60806040526004361061036f5760003560e01c80638a8c523c116101c6578063c18bc195116100f7578063dd62ed3e11610095578063f147b1e71161006f578063f147b1e714610cd5578063f2fde38b14610d00578063f637434214610d29578063f8b45b0514610d5457610376565b8063dd62ed3e14610c42578063e2f4560514610c7f578063f11a24d314610caa57610376565b8063c96beef8116100d1578063c96beef814610b72578063cd38890914610baf578063d257b34f14610bda578063d85ba06314610c1757610376565b8063c18bc19514610af3578063c519642614610b1c578063c8c8ebe414610b4757610376565b8063a40667e611610164578063a9059cbb1161013e578063a9059cbb14610a37578063aabce5ba14610a74578063bbc0c74214610a9f578063c024666814610aca57610376565b8063a40667e6146109a4578063a457c2d7146109cf578063a59e212c14610a0c57610376565b8063924de9b7116101a0578063924de9b7146108fa57806395d89b41146109235780639c3b4fdc1461094e578063a0d82dc51461097957610376565b80638a8c523c1461088d5780638da5cb5b146108a45780638ea5220f146108cf57610376565b806337b29e43116102a05780636a486a8e1161023e578063715018a611610218578063715018a6146107f7578063751039fc1461080e5780637571336a1461083957806381a0b8161461086257610376565b80636a486a8e146107645780636ddd17131461078f57806370a08231146107ba57610376565b80634a62bb651161027a5780634a62bb65146106a85780634fbee193146106d357806366ca9b83146107105780636939864b1461073957610376565b806337b29e4314610615578063395093511461064057806349bd5a5e1461067d57610376565b80631fe543e31161030d57806327c8f835116102e757806327c8f83514610557578063313ce567146105825780633485a316146105ad57806334908e56146105ea57610376565b80631fe543e3146104c8578063203e727e146104f157806323b872dd1461051a57610376565b806310d5de531161034957806310d5de531461040c5780631694505e1461044957806318160ddd146104745780631816467f1461049f57610376565b806302dbd8f81461037b57806306fdde03146103a4578063095ea7b3146103cf57610376565b3661037657005b600080fd5b34801561038757600080fd5b506103a2600480360381019061039d919061327a565b610d7f565b005b3480156103b057600080fd5b506103b9610df5565b6040516103c69190613353565b60405180910390f35b3480156103db57600080fd5b506103f660048036038101906103f191906133d3565b610e87565b604051610403919061342e565b60405180910390f35b34801561041857600080fd5b50610433600480360381019061042e9190613449565b610eaa565b604051610440919061342e565b60405180910390f35b34801561045557600080fd5b5061045e610eca565b60405161046b91906134d5565b60405180910390f35b34801561048057600080fd5b50610489610eee565b60405161049691906134ff565b60405180910390f35b3480156104ab57600080fd5b506104c660048036038101906104c19190613449565b610ef8565b005b3480156104d457600080fd5b506104ef60048036038101906104ea9190613662565b610fc0565b005b3480156104fd57600080fd5b50610518600480360381019061051391906136be565b611080565b005b34801561052657600080fd5b50610541600480360381019061053c91906136eb565b61111b565b60405161054e919061342e565b60405180910390f35b34801561056357600080fd5b5061056c61114a565b604051610579919061374d565b60405180910390f35b34801561058e57600080fd5b50610597611150565b6040516105a49190613784565b60405180910390f35b3480156105b957600080fd5b506105d460048036038101906105cf91906136be565b611159565b6040516105e1919061342e565b60405180910390f35b3480156105f657600080fd5b506105ff61124c565b60405161060c91906134ff565b60405180910390f35b34801561062157600080fd5b5061062a611252565b60405161063791906134ff565b60405180910390f35b34801561064c57600080fd5b50610667600480360381019061066291906133d3565b611258565b604051610674919061342e565b60405180910390f35b34801561068957600080fd5b5061069261128f565b60405161069f919061374d565b60405180910390f35b3480156106b457600080fd5b506106bd6112b3565b6040516106ca919061342e565b60405180910390f35b3480156106df57600080fd5b506106fa60048036038101906106f59190613449565b6112c6565b604051610707919061342e565b60405180910390f35b34801561071c57600080fd5b506107376004803603810190610732919061327a565b61131c565b005b34801561074557600080fd5b5061074e611392565b60405161075b9190613816565b60405180910390f35b34801561077057600080fd5b506107796113a5565b60405161078691906134ff565b60405180910390f35b34801561079b57600080fd5b506107a46113ab565b6040516107b1919061342e565b60405180910390f35b3480156107c657600080fd5b506107e160048036038101906107dc9190613449565b6113be565b6040516107ee91906134ff565b60405180910390f35b34801561080357600080fd5b5061080c611406565b005b34801561081a57600080fd5b5061082361141a565b604051610830919061342e565b60405180910390f35b34801561084557600080fd5b50610860600480360381019061085b919061385d565b611446565b005b34801561086e57600080fd5b506108776114a9565b604051610884919061374d565b60405180910390f35b34801561089957600080fd5b506108a26114cf565b005b3480156108b057600080fd5b506108b961150f565b6040516108c6919061374d565b60405180910390f35b3480156108db57600080fd5b506108e4611539565b6040516108f1919061374d565b60405180910390f35b34801561090657600080fd5b50610921600480360381019061091c919061389d565b61155f565b005b34801561092f57600080fd5b50610938611584565b6040516109459190613353565b60405180910390f35b34801561095a57600080fd5b50610963611616565b60405161097091906134ff565b60405180910390f35b34801561098557600080fd5b5061098e61161c565b60405161099b91906134ff565b60405180910390f35b3480156109b057600080fd5b506109b9611622565b6040516109c691906134ff565b60405180910390f35b3480156109db57600080fd5b506109f660048036038101906109f191906133d3565b611628565b604051610a03919061342e565b60405180910390f35b348015610a1857600080fd5b50610a2161169f565b604051610a2e91906134ff565b60405180910390f35b348015610a4357600080fd5b50610a5e6004803603810190610a5991906133d3565b6116bf565b604051610a6b919061342e565b60405180910390f35b348015610a8057600080fd5b50610a896116e2565b604051610a9691906134ff565b60405180910390f35b348015610aab57600080fd5b50610ab46116e8565b604051610ac1919061342e565b60405180910390f35b348015610ad657600080fd5b50610af16004803603810190610aec919061385d565b6116fb565b005b348015610aff57600080fd5b50610b1a6004803603810190610b1591906136be565b6117ac565b005b348015610b2857600080fd5b50610b31611847565b604051610b3e91906134ff565b60405180910390f35b348015610b5357600080fd5b50610b5c61184d565b604051610b6991906134ff565b60405180910390f35b348015610b7e57600080fd5b50610b996004803603810190610b94919061327a565b611853565b604051610ba6919061374d565b60405180910390f35b348015610bbb57600080fd5b50610bc46118a1565b604051610bd191906134ff565b60405180910390f35b348015610be657600080fd5b50610c016004803603810190610bfc91906136be565b6118a7565b604051610c0e919061342e565b60405180910390f35b348015610c2357600080fd5b50610c2c61199a565b604051610c3991906134ff565b60405180910390f35b348015610c4e57600080fd5b50610c696004803603810190610c6491906138ca565b6119a0565b604051610c7691906134ff565b60405180910390f35b348015610c8b57600080fd5b50610c94611a27565b604051610ca191906134ff565b60405180910390f35b348015610cb657600080fd5b50610cbf611a2d565b604051610ccc91906134ff565b60405180910390f35b348015610ce157600080fd5b50610cea611a33565b604051610cf791906134ff565b60405180910390f35b348015610d0c57600080fd5b50610d276004803603810190610d229190613449565b611a39565b005b348015610d3557600080fd5b50610d3e611abd565b604051610d4b91906134ff565b60405180910390f35b348015610d6057600080fd5b50610d69611ac3565b604051610d7691906134ff565b60405180910390f35b610d87611ac9565b8160118190555080601281905550601254601154610da59190613939565b601081905550600a6010541115610df1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de8906139db565b60405180910390fd5b5050565b606060038054610e0490613a2a565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3090613a2a565b8015610e7d5780601f10610e5257610100808354040283529160200191610e7d565b820191906000526020600020905b815481529060010190602001808311610e6057829003601f168201915b5050505050905090565b600080610e92611b47565b9050610e9f818585611b4f565b600191505092915050565b60156020528060005260406000206000915054906101000a900460ff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600254905090565b610f00611ac9565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e74360405160405180910390a380600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461107257337f00000000000000000000000000000000000000000000000000000000000000006040517f1cf993f4000000000000000000000000000000000000000000000000000000008152600401611069929190613a5c565b60405180910390fd5b61107c8282611d1a565b5050565b611088611ac9565b670de0b6b3a76400006103e8600161109e610eee565b6110a89190613a85565b6110b29190613b0e565b6110bc9190613b0e565b8110156110fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f590613bb1565b60405180910390fd5b670de0b6b3a7640000816111129190613a85565b60078190555050565b600080611126611b47565b9050611133858285611ee9565b61113e858585611f75565b60019150509392505050565b61dead81565b60006012905090565b6000611163611ac9565b620186a06001611171610eee565b61117b9190613a85565b6111859190613b0e565b8210156111c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111be90613c69565b60405180910390fd5b606460016111d3610eee565b6111dd9190613a85565b6111e79190613b0e565b821115611229576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122090613cfb565b60405180910390fd5b670de0b6b3a76400008261123d9190613a85565b60098190555060019050919050565b60135481565b60095481565b600080611263611b47565b905061128481858561127585896119a0565b61127f9190613939565b611b4f565b600191505092915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600b60009054906101000a900460ff1681565b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b611324611ac9565b81600d8190555080600e81905550600e54600d546113429190613939565b600c81905550600a600c54111561138e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611385906139db565b60405180910390fd5b5050565b601c60009054906101000a900460ff1681565b60105481565b600b60029054906101000a900460ff1681565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61140e611ac9565b6114186000612945565b565b6000611424611ac9565b6000600b60006101000a81548160ff0219169083151502179055506001905090565b61144e611ac9565b80601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6114d7611ac9565b6001600b60016101000a81548160ff0219169083151502179055506001600b60026101000a81548160ff021916908315150217905550565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611567611ac9565b80600b60026101000a81548160ff02191690831515021790555050565b60606004805461159390613a2a565b80601f01602080910402602001604051908101604052809291908181526020018280546115bf90613a2a565b801561160c5780601f106115e15761010080835404028352916020019161160c565b820191906000526020600020905b8154815290600101906020018083116115ef57829003601f168201915b5050505050905090565b600d5481565b60115481565b60185481565b600080611633611b47565b9050600061164182866119a0565b905083811015611686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167d90613d8d565b60405180910390fd5b6116938286868403611b4f565b60019250505092915050565b600060176000601654815260200190815260200160002080549050905090565b6000806116ca611b47565b90506116d7818585611f75565b600191505092915050565b601a5481565b600b60019054906101000a900460ff1681565b611703611ac9565b80601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7826040516117a0919061342e565b60405180910390a25050565b6117b4611ac9565b670de0b6b3a76400006103e860056117ca610eee565b6117d49190613a85565b6117de9190613b0e565b6117e89190613b0e565b81101561182a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182190613e1f565b60405180910390fd5b670de0b6b3a76400008161183e9190613a85565b600a8190555050565b60165481565b60075481565b6017602052816000526040600020818154811061186f57600080fd5b906000526020600020016000915091509054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600f5481565b60006118b1611ac9565b620186a060016118bf610eee565b6118c99190613a85565b6118d39190613b0e565b821015611915576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190c90613eb1565b60405180910390fd5b60646001611921610eee565b61192b9190613a85565b6119359190613b0e565b821115611977576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196e90613f43565b60405180910390fd5b670de0b6b3a76400008261198b9190613a85565b60088190555060019050919050565b600c5481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60085481565b600e5481565b601b5481565b611a41611ac9565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ab1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa890613fd5565b60405180910390fd5b611aba81612945565b50565b60125481565b600a5481565b611ad1611b47565b73ffffffffffffffffffffffffffffffffffffffff16611aef61150f565b73ffffffffffffffffffffffffffffffffffffffff1614611b45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3c90614041565b60405180910390fd5b565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb6906140d3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2690614165565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611d0d91906134ff565b60405180910390a3505050565b60006017600060165481526020019081526020016000208054905082600081518110611d4957611d48614185565b5b6020026020010151611d5b91906141b4565b90506017600060165481526020019081526020016000208181548110611d8457611d83614185565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601b54601a819055506000601b8190555060166000815480929190611e13906141e5565b91905055506000601c60006101000a81548160ff02191690836001811115611e3e57611e3d61379f565b5b0217905550611e7230601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601a54612a0b565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fb9815909e14ac9575d8a723093752ec72e44c09bb249481fd9f5ade03c8b4784601a54604051611edc91906134ff565b60405180910390a2505050565b6000611ef584846119a0565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611f6f5781811015611f61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f589061427a565b60405180910390fd5b611f6e8484848403611b4f565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611fe5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fdc9061430c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612055576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204c9061439e565b60405180910390fd5b600081141561206f5761206a83836000612a0b565b612940565b600b60009054906101000a900460ff16156124795761208c61150f565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156120fa57506120ca61150f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156121335750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801561216d575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156121865750600560149054906101000a900460ff16155b1561247857600b60019054906101000a900460ff1661228057601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806122405750601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b61227f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122769061440a565b60405180910390fd5b5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480156123255750601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156123cc5760075481111561236f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123669061449c565b60405180910390fd5b600a5461237b836113be565b826123869190613939565b11156123c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123be90614508565b60405180910390fd5b612477565b601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661247657600a54612429836113be565b826124349190613939565b1115612475576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246c90614508565b60405180910390fd5b5b5b5b5b6000612484306113be565b9050600060085482101590508080156124a95750600b60029054906101000a900460ff165b80156124c25750600560149054906101000a900460ff16155b801561251957507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b801561256f5750601460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b80156125c55750601460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15612609576001600560146101000a81548160ff0219169083151502179055506125ed612c8c565b6000600560146101000a81548160ff0219169083151502179055505b6000600560149054906101000a900460ff16159050601460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806126bf5750601460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b156126c957600090505b600080600080841561292d577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1614801561273257506000601054115b156127d15761275f60646127516010548b612d4d90919063ffffffff16565b612d6390919063ffffffff16565b9350601054601254856127729190613a85565b61277c9190613b0e565b92506010546011548561278f9190613a85565b6127999190613b0e565b9150601054601354856127ac9190613a85565b6127b69190613b0e565b905080601b546127c69190613939565b601b819055506128d4565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff1614801561282e57506000600c54115b156128d35761285b606461284d600c548b612d4d90919063ffffffff16565b612d6390919063ffffffff16565b9350600c54600e548561286e9190613a85565b6128789190613b0e565b9250600c54600d548561288b9190613a85565b6128959190613b0e565b9150600c54600f54856128a89190613a85565b6128b29190613b0e565b905080601b546128c29190613939565b601b819055506128d28982612d79565b5b5b60008411156128e9576128e88a3086612a0b565b5b600083111561291e5761291d307f000000000000000000000000000000000000000000000000000000000000000085612a0b565b5b838861292a9190614528565b97505b6129388a8a8a612a0b565b505050505050505b505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a729061430c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612aeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae29061439e565b60405180910390fd5b612af6838383612ec1565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612b7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b73906145ce565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c0f9190613939565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612c7391906134ff565b60405180910390a3612c86848484612ec6565b50505050565b6000612c97306113be565b90506000811415612ca85750612d4b565b601b5481612cb69190614528565b9050600854811115612cc85760085490505b612cd181612ecb565b60006001811115612ce557612ce461379f565b5b601c60009054906101000a900460ff166001811115612d0757612d0661379f565b5b148015612d2c5750600060176000601654815260200190815260200160002080549050115b8015612d3b5750600954601b54115b15612d4957612d486130bc565b5b505b565b60008183612d5b9190613a85565b905092915050565b60008183612d719190613b0e565b905092915050565b6018548110158015612dbe575060006001811115612d9a57612d9961379f565b5b601c60009054906101000a900460ff166001811115612dbc57612dbb61379f565b5b145b15612ebd57600060185482612dd39190613b0e565b90506000600190505b818111612e6c57601760006016548152602001908152602001600020849080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508080612e64906141e5565b915050612ddc565b508273ffffffffffffffffffffffffffffffffffffffff167f12b6ec754a8ab0a5e7b920ea6e603e369dfc4a9596b3d716dcd9152c1867c42c82604051612eb391906134ff565b60405180910390a2505b5050565b505050565b505050565b6000600267ffffffffffffffff811115612ee857612ee761351f565b5b604051908082528060200260200182016040528015612f165781602001602082028036833780820191505090505b5090503081600081518110612f2e57612f2d614185565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f000000000000000000000000000000000000000000000000000000000000000081600181518110612f9d57612f9c614185565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050613002307f000000000000000000000000000000000000000000000000000000000000000084611b4f565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16635c11d79583600084600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518663ffffffff1660e01b81526004016130869594939291906146e7565b600060405180830381600087803b1580156130a057600080fd5b505af11580156130b4573d6000803e3d6000fd5b505050505050565b6001601c60006101000a81548160ff021916908360018111156130e2576130e161379f565b5b021790555060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16635d3b1d307f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000060037f000000000000000000000000000000000000000000000000000000000000000060016040518663ffffffff1660e01b81526004016131ac9594939291906147ea565b602060405180830381600087803b1580156131c657600080fd5b505af11580156131da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131fe9190614852565b9050807febf56642252004c18a776f30d528e7a0ce8c5db14b6596fb6550f630c8a24c6c60405160405180910390a250565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61325781613244565b811461326257600080fd5b50565b6000813590506132748161324e565b92915050565b600080604083850312156132915761329061323a565b5b600061329f85828601613265565b92505060206132b085828601613265565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156132f45780820151818401526020810190506132d9565b83811115613303576000848401525b50505050565b6000601f19601f8301169050919050565b6000613325826132ba565b61332f81856132c5565b935061333f8185602086016132d6565b61334881613309565b840191505092915050565b6000602082019050818103600083015261336d818461331a565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006133a082613375565b9050919050565b6133b081613395565b81146133bb57600080fd5b50565b6000813590506133cd816133a7565b92915050565b600080604083850312156133ea576133e961323a565b5b60006133f8858286016133be565b925050602061340985828601613265565b9150509250929050565b60008115159050919050565b61342881613413565b82525050565b6000602082019050613443600083018461341f565b92915050565b60006020828403121561345f5761345e61323a565b5b600061346d848285016133be565b91505092915050565b6000819050919050565b600061349b61349661349184613375565b613476565b613375565b9050919050565b60006134ad82613480565b9050919050565b60006134bf826134a2565b9050919050565b6134cf816134b4565b82525050565b60006020820190506134ea60008301846134c6565b92915050565b6134f981613244565b82525050565b600060208201905061351460008301846134f0565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61355782613309565b810181811067ffffffffffffffff821117156135765761357561351f565b5b80604052505050565b6000613589613230565b9050613595828261354e565b919050565b600067ffffffffffffffff8211156135b5576135b461351f565b5b602082029050602081019050919050565b600080fd5b60006135de6135d98461359a565b61357f565b90508083825260208201905060208402830185811115613601576136006135c6565b5b835b8181101561362a57806136168882613265565b845260208401935050602081019050613603565b5050509392505050565b600082601f8301126136495761364861351a565b5b81356136598482602086016135cb565b91505092915050565b600080604083850312156136795761367861323a565b5b600061368785828601613265565b925050602083013567ffffffffffffffff8111156136a8576136a761323f565b5b6136b485828601613634565b9150509250929050565b6000602082840312156136d4576136d361323a565b5b60006136e284828501613265565b91505092915050565b6000806000606084860312156137045761370361323a565b5b6000613712868287016133be565b9350506020613723868287016133be565b925050604061373486828701613265565b9150509250925092565b61374781613395565b82525050565b6000602082019050613762600083018461373e565b92915050565b600060ff82169050919050565b61377e81613768565b82525050565b60006020820190506137996000830184613775565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600281106137df576137de61379f565b5b50565b60008190506137f0826137ce565b919050565b6000613800826137e2565b9050919050565b613810816137f5565b82525050565b600060208201905061382b6000830184613807565b92915050565b61383a81613413565b811461384557600080fd5b50565b60008135905061385781613831565b92915050565b600080604083850312156138745761387361323a565b5b6000613882858286016133be565b925050602061389385828601613848565b9150509250929050565b6000602082840312156138b3576138b261323a565b5b60006138c184828501613848565b91505092915050565b600080604083850312156138e1576138e061323a565b5b60006138ef858286016133be565b9250506020613900858286016133be565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061394482613244565b915061394f83613244565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156139845761398361390a565b5b828201905092915050565b7f4d757374206b656570206665657320617420313025206f72206c657373000000600082015250565b60006139c5601d836132c5565b91506139d08261398f565b602082019050919050565b600060208201905081810360008301526139f4816139b8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613a4257607f821691505b60208210811415613a5657613a556139fb565b5b50919050565b6000604082019050613a71600083018561373e565b613a7e602083018461373e565b9392505050565b6000613a9082613244565b9150613a9b83613244565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ad457613ad361390a565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613b1982613244565b9150613b2483613244565b925082613b3457613b33613adf565b5b828204905092915050565b7f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060008201527f6c6f776572207468616e20302e31250000000000000000000000000000000000602082015250565b6000613b9b602f836132c5565b9150613ba682613b3f565b604082019050919050565b60006020820190508181036000830152613bca81613b8e565b9050919050565b7f7069636b4c6f747465727957696e6e65724174416d6f756e742063616e6e6f7460008201527f206265206c6f776572207468616e20302e3030312520746f74616c207375707060208201527f6c792e0000000000000000000000000000000000000000000000000000000000604082015250565b6000613c536043836132c5565b9150613c5e82613bd1565b606082019050919050565b60006020820190508181036000830152613c8281613c46565b9050919050565b7f7069636b4c6f747465727957696e6e65724174416d6f756e742063616e6e6f7460008201527f20626520686967686572207468616e20312520746f74616c20737570706c792e602082015250565b6000613ce56040836132c5565b9150613cf082613c89565b604082019050919050565b60006020820190508181036000830152613d1481613cd8565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000613d776025836132c5565b9150613d8282613d1b565b604082019050919050565b60006020820190508181036000830152613da681613d6a565b9050919050565b7f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e2060008201527f302e352500000000000000000000000000000000000000000000000000000000602082015250565b6000613e096024836132c5565b9150613e1482613dad565b604082019050919050565b60006020820190508181036000830152613e3881613dfc565b9050919050565b7f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60008201527f20302e3030312520746f74616c20737570706c792e0000000000000000000000602082015250565b6000613e9b6035836132c5565b9150613ea682613e3f565b604082019050919050565b60006020820190508181036000830152613eca81613e8e565b9050919050565b7f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160008201527f6e20312520746f74616c20737570706c792e0000000000000000000000000000602082015250565b6000613f2d6032836132c5565b9150613f3882613ed1565b604082019050919050565b60006020820190508181036000830152613f5c81613f20565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613fbf6026836132c5565b9150613fca82613f63565b604082019050919050565b60006020820190508181036000830152613fee81613fb2565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061402b6020836132c5565b915061403682613ff5565b602082019050919050565b6000602082019050818103600083015261405a8161401e565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006140bd6024836132c5565b91506140c882614061565b604082019050919050565b600060208201905081810360008301526140ec816140b0565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061414f6022836132c5565b915061415a826140f3565b604082019050919050565b6000602082019050818103600083015261417e81614142565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006141bf82613244565b91506141ca83613244565b9250826141da576141d9613adf565b5b828206905092915050565b60006141f082613244565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156142235761422261390a565b5b600182019050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000614264601d836132c5565b915061426f8261422e565b602082019050919050565b6000602082019050818103600083015261429381614257565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006142f66025836132c5565b91506143018261429a565b604082019050919050565b60006020820190508181036000830152614325816142e9565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006143886023836132c5565b91506143938261432c565b604082019050919050565b600060208201905081810360008301526143b78161437b565b9050919050565b7f54726164696e67206973206e6f74206163746976652e00000000000000000000600082015250565b60006143f46016836132c5565b91506143ff826143be565b602082019050919050565b60006020820190508181036000830152614423816143e7565b9050919050565b7f427579207472616e7366657220616d6f756e742065786365656473207468652060008201527f6d61785472616e73616374696f6e416d6f756e742e0000000000000000000000602082015250565b60006144866035836132c5565b91506144918261442a565b604082019050919050565b600060208201905081810360008301526144b581614479565b9050919050565b7f4d61782077616c6c657420657863656564656400000000000000000000000000600082015250565b60006144f26013836132c5565b91506144fd826144bc565b602082019050919050565b60006020820190508181036000830152614521816144e5565b9050919050565b600061453382613244565b915061453e83613244565b9250828210156145515761455061390a565b5b828203905092915050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006145b86026836132c5565b91506145c38261455c565b604082019050919050565b600060208201905081810360008301526145e7816145ab565b9050919050565b6000819050919050565b600061461361460e614609846145ee565b613476565b613244565b9050919050565b614623816145f8565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61465e81613395565b82525050565b60006146708383614655565b60208301905092915050565b6000602082019050919050565b600061469482614629565b61469e8185614634565b93506146a983614645565b8060005b838110156146da5781516146c18882614664565b97506146cc8361467c565b9250506001810190506146ad565b5085935050505092915050565b600060a0820190506146fc60008301886134f0565b614709602083018761461a565b818103604083015261471b8186614689565b905061472a606083018561373e565b61473760808301846134f0565b9695505050505050565b6000819050919050565b61475481614741565b82525050565b600067ffffffffffffffff82169050919050565b6147778161475a565b82525050565b600061ffff82169050919050565b6147948161477d565b82525050565b600063ffffffff82169050919050565b6147b38161479a565b82525050565b60006147d46147cf6147ca8461477d565b613476565b61479a565b9050919050565b6147e4816147b9565b82525050565b600060a0820190506147ff600083018861474b565b61480c602083018761476e565b614819604083018661478b565b61482660608301856147aa565b61483360808301846147db565b9695505050505050565b60008151905061484c8161324e565b92915050565b6000602082840312156148685761486761323a565b5b60006148768482850161483d565b9150509291505056fea2646970667358221220f3fa2e66c6f7ac4ab93f06f6d6ce7b1cbfb2afb23ea36fc11dced6f01e58fbdc64736f6c63430008090033000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e69909ff8dedfbfa60af186cf3c830acbc32c05aae823045ae5ea7da1e45fbfaba4f9200000000000000000000000000000000000000000000000000000000000001c100000000000000000000000000000000000000000000000000000000002625a00000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48

Deployed Bytecode

0x60806040526004361061036f5760003560e01c80638a8c523c116101c6578063c18bc195116100f7578063dd62ed3e11610095578063f147b1e71161006f578063f147b1e714610cd5578063f2fde38b14610d00578063f637434214610d29578063f8b45b0514610d5457610376565b8063dd62ed3e14610c42578063e2f4560514610c7f578063f11a24d314610caa57610376565b8063c96beef8116100d1578063c96beef814610b72578063cd38890914610baf578063d257b34f14610bda578063d85ba06314610c1757610376565b8063c18bc19514610af3578063c519642614610b1c578063c8c8ebe414610b4757610376565b8063a40667e611610164578063a9059cbb1161013e578063a9059cbb14610a37578063aabce5ba14610a74578063bbc0c74214610a9f578063c024666814610aca57610376565b8063a40667e6146109a4578063a457c2d7146109cf578063a59e212c14610a0c57610376565b8063924de9b7116101a0578063924de9b7146108fa57806395d89b41146109235780639c3b4fdc1461094e578063a0d82dc51461097957610376565b80638a8c523c1461088d5780638da5cb5b146108a45780638ea5220f146108cf57610376565b806337b29e43116102a05780636a486a8e1161023e578063715018a611610218578063715018a6146107f7578063751039fc1461080e5780637571336a1461083957806381a0b8161461086257610376565b80636a486a8e146107645780636ddd17131461078f57806370a08231146107ba57610376565b80634a62bb651161027a5780634a62bb65146106a85780634fbee193146106d357806366ca9b83146107105780636939864b1461073957610376565b806337b29e4314610615578063395093511461064057806349bd5a5e1461067d57610376565b80631fe543e31161030d57806327c8f835116102e757806327c8f83514610557578063313ce567146105825780633485a316146105ad57806334908e56146105ea57610376565b80631fe543e3146104c8578063203e727e146104f157806323b872dd1461051a57610376565b806310d5de531161034957806310d5de531461040c5780631694505e1461044957806318160ddd146104745780631816467f1461049f57610376565b806302dbd8f81461037b57806306fdde03146103a4578063095ea7b3146103cf57610376565b3661037657005b600080fd5b34801561038757600080fd5b506103a2600480360381019061039d919061327a565b610d7f565b005b3480156103b057600080fd5b506103b9610df5565b6040516103c69190613353565b60405180910390f35b3480156103db57600080fd5b506103f660048036038101906103f191906133d3565b610e87565b604051610403919061342e565b60405180910390f35b34801561041857600080fd5b50610433600480360381019061042e9190613449565b610eaa565b604051610440919061342e565b60405180910390f35b34801561045557600080fd5b5061045e610eca565b60405161046b91906134d5565b60405180910390f35b34801561048057600080fd5b50610489610eee565b60405161049691906134ff565b60405180910390f35b3480156104ab57600080fd5b506104c660048036038101906104c19190613449565b610ef8565b005b3480156104d457600080fd5b506104ef60048036038101906104ea9190613662565b610fc0565b005b3480156104fd57600080fd5b50610518600480360381019061051391906136be565b611080565b005b34801561052657600080fd5b50610541600480360381019061053c91906136eb565b61111b565b60405161054e919061342e565b60405180910390f35b34801561056357600080fd5b5061056c61114a565b604051610579919061374d565b60405180910390f35b34801561058e57600080fd5b50610597611150565b6040516105a49190613784565b60405180910390f35b3480156105b957600080fd5b506105d460048036038101906105cf91906136be565b611159565b6040516105e1919061342e565b60405180910390f35b3480156105f657600080fd5b506105ff61124c565b60405161060c91906134ff565b60405180910390f35b34801561062157600080fd5b5061062a611252565b60405161063791906134ff565b60405180910390f35b34801561064c57600080fd5b50610667600480360381019061066291906133d3565b611258565b604051610674919061342e565b60405180910390f35b34801561068957600080fd5b5061069261128f565b60405161069f919061374d565b60405180910390f35b3480156106b457600080fd5b506106bd6112b3565b6040516106ca919061342e565b60405180910390f35b3480156106df57600080fd5b506106fa60048036038101906106f59190613449565b6112c6565b604051610707919061342e565b60405180910390f35b34801561071c57600080fd5b506107376004803603810190610732919061327a565b61131c565b005b34801561074557600080fd5b5061074e611392565b60405161075b9190613816565b60405180910390f35b34801561077057600080fd5b506107796113a5565b60405161078691906134ff565b60405180910390f35b34801561079b57600080fd5b506107a46113ab565b6040516107b1919061342e565b60405180910390f35b3480156107c657600080fd5b506107e160048036038101906107dc9190613449565b6113be565b6040516107ee91906134ff565b60405180910390f35b34801561080357600080fd5b5061080c611406565b005b34801561081a57600080fd5b5061082361141a565b604051610830919061342e565b60405180910390f35b34801561084557600080fd5b50610860600480360381019061085b919061385d565b611446565b005b34801561086e57600080fd5b506108776114a9565b604051610884919061374d565b60405180910390f35b34801561089957600080fd5b506108a26114cf565b005b3480156108b057600080fd5b506108b961150f565b6040516108c6919061374d565b60405180910390f35b3480156108db57600080fd5b506108e4611539565b6040516108f1919061374d565b60405180910390f35b34801561090657600080fd5b50610921600480360381019061091c919061389d565b61155f565b005b34801561092f57600080fd5b50610938611584565b6040516109459190613353565b60405180910390f35b34801561095a57600080fd5b50610963611616565b60405161097091906134ff565b60405180910390f35b34801561098557600080fd5b5061098e61161c565b60405161099b91906134ff565b60405180910390f35b3480156109b057600080fd5b506109b9611622565b6040516109c691906134ff565b60405180910390f35b3480156109db57600080fd5b506109f660048036038101906109f191906133d3565b611628565b604051610a03919061342e565b60405180910390f35b348015610a1857600080fd5b50610a2161169f565b604051610a2e91906134ff565b60405180910390f35b348015610a4357600080fd5b50610a5e6004803603810190610a5991906133d3565b6116bf565b604051610a6b919061342e565b60405180910390f35b348015610a8057600080fd5b50610a896116e2565b604051610a9691906134ff565b60405180910390f35b348015610aab57600080fd5b50610ab46116e8565b604051610ac1919061342e565b60405180910390f35b348015610ad657600080fd5b50610af16004803603810190610aec919061385d565b6116fb565b005b348015610aff57600080fd5b50610b1a6004803603810190610b1591906136be565b6117ac565b005b348015610b2857600080fd5b50610b31611847565b604051610b3e91906134ff565b60405180910390f35b348015610b5357600080fd5b50610b5c61184d565b604051610b6991906134ff565b60405180910390f35b348015610b7e57600080fd5b50610b996004803603810190610b94919061327a565b611853565b604051610ba6919061374d565b60405180910390f35b348015610bbb57600080fd5b50610bc46118a1565b604051610bd191906134ff565b60405180910390f35b348015610be657600080fd5b50610c016004803603810190610bfc91906136be565b6118a7565b604051610c0e919061342e565b60405180910390f35b348015610c2357600080fd5b50610c2c61199a565b604051610c3991906134ff565b60405180910390f35b348015610c4e57600080fd5b50610c696004803603810190610c6491906138ca565b6119a0565b604051610c7691906134ff565b60405180910390f35b348015610c8b57600080fd5b50610c94611a27565b604051610ca191906134ff565b60405180910390f35b348015610cb657600080fd5b50610cbf611a2d565b604051610ccc91906134ff565b60405180910390f35b348015610ce157600080fd5b50610cea611a33565b604051610cf791906134ff565b60405180910390f35b348015610d0c57600080fd5b50610d276004803603810190610d229190613449565b611a39565b005b348015610d3557600080fd5b50610d3e611abd565b604051610d4b91906134ff565b60405180910390f35b348015610d6057600080fd5b50610d69611ac3565b604051610d7691906134ff565b60405180910390f35b610d87611ac9565b8160118190555080601281905550601254601154610da59190613939565b601081905550600a6010541115610df1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de8906139db565b60405180910390fd5b5050565b606060038054610e0490613a2a565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3090613a2a565b8015610e7d5780601f10610e5257610100808354040283529160200191610e7d565b820191906000526020600020905b815481529060010190602001808311610e6057829003601f168201915b5050505050905090565b600080610e92611b47565b9050610e9f818585611b4f565b600191505092915050565b60156020528060005260406000206000915054906101000a900460ff1681565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6000600254905090565b610f00611ac9565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e74360405160405180910390a380600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b7f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e6990973ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461107257337f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e699096040517f1cf993f4000000000000000000000000000000000000000000000000000000008152600401611069929190613a5c565b60405180910390fd5b61107c8282611d1a565b5050565b611088611ac9565b670de0b6b3a76400006103e8600161109e610eee565b6110a89190613a85565b6110b29190613b0e565b6110bc9190613b0e565b8110156110fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f590613bb1565b60405180910390fd5b670de0b6b3a7640000816111129190613a85565b60078190555050565b600080611126611b47565b9050611133858285611ee9565b61113e858585611f75565b60019150509392505050565b61dead81565b60006012905090565b6000611163611ac9565b620186a06001611171610eee565b61117b9190613a85565b6111859190613b0e565b8210156111c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111be90613c69565b60405180910390fd5b606460016111d3610eee565b6111dd9190613a85565b6111e79190613b0e565b821115611229576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122090613cfb565b60405180910390fd5b670de0b6b3a76400008261123d9190613a85565b60098190555060019050919050565b60135481565b60095481565b600080611263611b47565b905061128481858561127585896119a0565b61127f9190613939565b611b4f565b600191505092915050565b7f00000000000000000000000063242f1dcac0533de7445a4eb6bb43f4b3fb11c381565b600b60009054906101000a900460ff1681565b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b611324611ac9565b81600d8190555080600e81905550600e54600d546113429190613939565b600c81905550600a600c54111561138e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611385906139db565b60405180910390fd5b5050565b601c60009054906101000a900460ff1681565b60105481565b600b60029054906101000a900460ff1681565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61140e611ac9565b6114186000612945565b565b6000611424611ac9565b6000600b60006101000a81548160ff0219169083151502179055506001905090565b61144e611ac9565b80601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6114d7611ac9565b6001600b60016101000a81548160ff0219169083151502179055506001600b60026101000a81548160ff021916908315150217905550565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611567611ac9565b80600b60026101000a81548160ff02191690831515021790555050565b60606004805461159390613a2a565b80601f01602080910402602001604051908101604052809291908181526020018280546115bf90613a2a565b801561160c5780601f106115e15761010080835404028352916020019161160c565b820191906000526020600020905b8154815290600101906020018083116115ef57829003601f168201915b5050505050905090565b600d5481565b60115481565b60185481565b600080611633611b47565b9050600061164182866119a0565b905083811015611686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167d90613d8d565b60405180910390fd5b6116938286868403611b4f565b60019250505092915050565b600060176000601654815260200190815260200160002080549050905090565b6000806116ca611b47565b90506116d7818585611f75565b600191505092915050565b601a5481565b600b60019054906101000a900460ff1681565b611703611ac9565b80601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7826040516117a0919061342e565b60405180910390a25050565b6117b4611ac9565b670de0b6b3a76400006103e860056117ca610eee565b6117d49190613a85565b6117de9190613b0e565b6117e89190613b0e565b81101561182a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182190613e1f565b60405180910390fd5b670de0b6b3a76400008161183e9190613a85565b600a8190555050565b60165481565b60075481565b6017602052816000526040600020818154811061186f57600080fd5b906000526020600020016000915091509054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600f5481565b60006118b1611ac9565b620186a060016118bf610eee565b6118c99190613a85565b6118d39190613b0e565b821015611915576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190c90613eb1565b60405180910390fd5b60646001611921610eee565b61192b9190613a85565b6119359190613b0e565b821115611977576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196e90613f43565b60405180910390fd5b670de0b6b3a76400008261198b9190613a85565b60088190555060019050919050565b600c5481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60085481565b600e5481565b601b5481565b611a41611ac9565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ab1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa890613fd5565b60405180910390fd5b611aba81612945565b50565b60125481565b600a5481565b611ad1611b47565b73ffffffffffffffffffffffffffffffffffffffff16611aef61150f565b73ffffffffffffffffffffffffffffffffffffffff1614611b45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3c90614041565b60405180910390fd5b565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb6906140d3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2690614165565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611d0d91906134ff565b60405180910390a3505050565b60006017600060165481526020019081526020016000208054905082600081518110611d4957611d48614185565b5b6020026020010151611d5b91906141b4565b90506017600060165481526020019081526020016000208181548110611d8457611d83614185565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601b54601a819055506000601b8190555060166000815480929190611e13906141e5565b91905055506000601c60006101000a81548160ff02191690836001811115611e3e57611e3d61379f565b5b0217905550611e7230601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601a54612a0b565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fb9815909e14ac9575d8a723093752ec72e44c09bb249481fd9f5ade03c8b4784601a54604051611edc91906134ff565b60405180910390a2505050565b6000611ef584846119a0565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611f6f5781811015611f61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f589061427a565b60405180910390fd5b611f6e8484848403611b4f565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611fe5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fdc9061430c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612055576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204c9061439e565b60405180910390fd5b600081141561206f5761206a83836000612a0b565b612940565b600b60009054906101000a900460ff16156124795761208c61150f565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156120fa57506120ca61150f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156121335750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801561216d575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156121865750600560149054906101000a900460ff16155b1561247857600b60019054906101000a900460ff1661228057601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806122405750601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b61227f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122769061440a565b60405180910390fd5b5b7f00000000000000000000000063242f1dcac0533de7445a4eb6bb43f4b3fb11c373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480156123255750601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156123cc5760075481111561236f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123669061449c565b60405180910390fd5b600a5461237b836113be565b826123869190613939565b11156123c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123be90614508565b60405180910390fd5b612477565b601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661247657600a54612429836113be565b826124349190613939565b1115612475576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246c90614508565b60405180910390fd5b5b5b5b5b6000612484306113be565b9050600060085482101590508080156124a95750600b60029054906101000a900460ff165b80156124c25750600560149054906101000a900460ff16155b801561251957507f00000000000000000000000063242f1dcac0533de7445a4eb6bb43f4b3fb11c373ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b801561256f5750601460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b80156125c55750601460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15612609576001600560146101000a81548160ff0219169083151502179055506125ed612c8c565b6000600560146101000a81548160ff0219169083151502179055505b6000600560149054906101000a900460ff16159050601460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806126bf5750601460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b156126c957600090505b600080600080841561292d577f00000000000000000000000063242f1dcac0533de7445a4eb6bb43f4b3fb11c373ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1614801561273257506000601054115b156127d15761275f60646127516010548b612d4d90919063ffffffff16565b612d6390919063ffffffff16565b9350601054601254856127729190613a85565b61277c9190613b0e565b92506010546011548561278f9190613a85565b6127999190613b0e565b9150601054601354856127ac9190613a85565b6127b69190613b0e565b905080601b546127c69190613939565b601b819055506128d4565b7f00000000000000000000000063242f1dcac0533de7445a4eb6bb43f4b3fb11c373ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff1614801561282e57506000600c54115b156128d35761285b606461284d600c548b612d4d90919063ffffffff16565b612d6390919063ffffffff16565b9350600c54600e548561286e9190613a85565b6128789190613b0e565b9250600c54600d548561288b9190613a85565b6128959190613b0e565b9150600c54600f54856128a89190613a85565b6128b29190613b0e565b905080601b546128c29190613939565b601b819055506128d28982612d79565b5b5b60008411156128e9576128e88a3086612a0b565b5b600083111561291e5761291d307f00000000000000000000000063242f1dcac0533de7445a4eb6bb43f4b3fb11c385612a0b565b5b838861292a9190614528565b97505b6129388a8a8a612a0b565b505050505050505b505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a729061430c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612aeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae29061439e565b60405180910390fd5b612af6838383612ec1565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612b7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b73906145ce565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c0f9190613939565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612c7391906134ff565b60405180910390a3612c86848484612ec6565b50505050565b6000612c97306113be565b90506000811415612ca85750612d4b565b601b5481612cb69190614528565b9050600854811115612cc85760085490505b612cd181612ecb565b60006001811115612ce557612ce461379f565b5b601c60009054906101000a900460ff166001811115612d0757612d0661379f565b5b148015612d2c5750600060176000601654815260200190815260200160002080549050115b8015612d3b5750600954601b54115b15612d4957612d486130bc565b5b505b565b60008183612d5b9190613a85565b905092915050565b60008183612d719190613b0e565b905092915050565b6018548110158015612dbe575060006001811115612d9a57612d9961379f565b5b601c60009054906101000a900460ff166001811115612dbc57612dbb61379f565b5b145b15612ebd57600060185482612dd39190613b0e565b90506000600190505b818111612e6c57601760006016548152602001908152602001600020849080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508080612e64906141e5565b915050612ddc565b508273ffffffffffffffffffffffffffffffffffffffff167f12b6ec754a8ab0a5e7b920ea6e603e369dfc4a9596b3d716dcd9152c1867c42c82604051612eb391906134ff565b60405180910390a2505b5050565b505050565b505050565b6000600267ffffffffffffffff811115612ee857612ee761351f565b5b604051908082528060200260200182016040528015612f165781602001602082028036833780820191505090505b5090503081600081518110612f2e57612f2d614185565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881600181518110612f9d57612f9c614185565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050613002307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611b4f565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff16635c11d79583600084600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518663ffffffff1660e01b81526004016130869594939291906146e7565b600060405180830381600087803b1580156130a057600080fd5b505af11580156130b4573d6000803e3d6000fd5b505050505050565b6001601c60006101000a81548160ff021916908360018111156130e2576130e161379f565b5b021790555060007f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e6990973ffffffffffffffffffffffffffffffffffffffff16635d3b1d307fff8dedfbfa60af186cf3c830acbc32c05aae823045ae5ea7da1e45fbfaba4f927f00000000000000000000000000000000000000000000000000000000000001c160037f00000000000000000000000000000000000000000000000000000000002625a060016040518663ffffffff1660e01b81526004016131ac9594939291906147ea565b602060405180830381600087803b1580156131c657600080fd5b505af11580156131da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131fe9190614852565b9050807febf56642252004c18a776f30d528e7a0ce8c5db14b6596fb6550f630c8a24c6c60405160405180910390a250565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61325781613244565b811461326257600080fd5b50565b6000813590506132748161324e565b92915050565b600080604083850312156132915761329061323a565b5b600061329f85828601613265565b92505060206132b085828601613265565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156132f45780820151818401526020810190506132d9565b83811115613303576000848401525b50505050565b6000601f19601f8301169050919050565b6000613325826132ba565b61332f81856132c5565b935061333f8185602086016132d6565b61334881613309565b840191505092915050565b6000602082019050818103600083015261336d818461331a565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006133a082613375565b9050919050565b6133b081613395565b81146133bb57600080fd5b50565b6000813590506133cd816133a7565b92915050565b600080604083850312156133ea576133e961323a565b5b60006133f8858286016133be565b925050602061340985828601613265565b9150509250929050565b60008115159050919050565b61342881613413565b82525050565b6000602082019050613443600083018461341f565b92915050565b60006020828403121561345f5761345e61323a565b5b600061346d848285016133be565b91505092915050565b6000819050919050565b600061349b61349661349184613375565b613476565b613375565b9050919050565b60006134ad82613480565b9050919050565b60006134bf826134a2565b9050919050565b6134cf816134b4565b82525050565b60006020820190506134ea60008301846134c6565b92915050565b6134f981613244565b82525050565b600060208201905061351460008301846134f0565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61355782613309565b810181811067ffffffffffffffff821117156135765761357561351f565b5b80604052505050565b6000613589613230565b9050613595828261354e565b919050565b600067ffffffffffffffff8211156135b5576135b461351f565b5b602082029050602081019050919050565b600080fd5b60006135de6135d98461359a565b61357f565b90508083825260208201905060208402830185811115613601576136006135c6565b5b835b8181101561362a57806136168882613265565b845260208401935050602081019050613603565b5050509392505050565b600082601f8301126136495761364861351a565b5b81356136598482602086016135cb565b91505092915050565b600080604083850312156136795761367861323a565b5b600061368785828601613265565b925050602083013567ffffffffffffffff8111156136a8576136a761323f565b5b6136b485828601613634565b9150509250929050565b6000602082840312156136d4576136d361323a565b5b60006136e284828501613265565b91505092915050565b6000806000606084860312156137045761370361323a565b5b6000613712868287016133be565b9350506020613723868287016133be565b925050604061373486828701613265565b9150509250925092565b61374781613395565b82525050565b6000602082019050613762600083018461373e565b92915050565b600060ff82169050919050565b61377e81613768565b82525050565b60006020820190506137996000830184613775565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600281106137df576137de61379f565b5b50565b60008190506137f0826137ce565b919050565b6000613800826137e2565b9050919050565b613810816137f5565b82525050565b600060208201905061382b6000830184613807565b92915050565b61383a81613413565b811461384557600080fd5b50565b60008135905061385781613831565b92915050565b600080604083850312156138745761387361323a565b5b6000613882858286016133be565b925050602061389385828601613848565b9150509250929050565b6000602082840312156138b3576138b261323a565b5b60006138c184828501613848565b91505092915050565b600080604083850312156138e1576138e061323a565b5b60006138ef858286016133be565b9250506020613900858286016133be565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061394482613244565b915061394f83613244565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156139845761398361390a565b5b828201905092915050565b7f4d757374206b656570206665657320617420313025206f72206c657373000000600082015250565b60006139c5601d836132c5565b91506139d08261398f565b602082019050919050565b600060208201905081810360008301526139f4816139b8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613a4257607f821691505b60208210811415613a5657613a556139fb565b5b50919050565b6000604082019050613a71600083018561373e565b613a7e602083018461373e565b9392505050565b6000613a9082613244565b9150613a9b83613244565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ad457613ad361390a565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613b1982613244565b9150613b2483613244565b925082613b3457613b33613adf565b5b828204905092915050565b7f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060008201527f6c6f776572207468616e20302e31250000000000000000000000000000000000602082015250565b6000613b9b602f836132c5565b9150613ba682613b3f565b604082019050919050565b60006020820190508181036000830152613bca81613b8e565b9050919050565b7f7069636b4c6f747465727957696e6e65724174416d6f756e742063616e6e6f7460008201527f206265206c6f776572207468616e20302e3030312520746f74616c207375707060208201527f6c792e0000000000000000000000000000000000000000000000000000000000604082015250565b6000613c536043836132c5565b9150613c5e82613bd1565b606082019050919050565b60006020820190508181036000830152613c8281613c46565b9050919050565b7f7069636b4c6f747465727957696e6e65724174416d6f756e742063616e6e6f7460008201527f20626520686967686572207468616e20312520746f74616c20737570706c792e602082015250565b6000613ce56040836132c5565b9150613cf082613c89565b604082019050919050565b60006020820190508181036000830152613d1481613cd8565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000613d776025836132c5565b9150613d8282613d1b565b604082019050919050565b60006020820190508181036000830152613da681613d6a565b9050919050565b7f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e2060008201527f302e352500000000000000000000000000000000000000000000000000000000602082015250565b6000613e096024836132c5565b9150613e1482613dad565b604082019050919050565b60006020820190508181036000830152613e3881613dfc565b9050919050565b7f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60008201527f20302e3030312520746f74616c20737570706c792e0000000000000000000000602082015250565b6000613e9b6035836132c5565b9150613ea682613e3f565b604082019050919050565b60006020820190508181036000830152613eca81613e8e565b9050919050565b7f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160008201527f6e20312520746f74616c20737570706c792e0000000000000000000000000000602082015250565b6000613f2d6032836132c5565b9150613f3882613ed1565b604082019050919050565b60006020820190508181036000830152613f5c81613f20565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613fbf6026836132c5565b9150613fca82613f63565b604082019050919050565b60006020820190508181036000830152613fee81613fb2565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061402b6020836132c5565b915061403682613ff5565b602082019050919050565b6000602082019050818103600083015261405a8161401e565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006140bd6024836132c5565b91506140c882614061565b604082019050919050565b600060208201905081810360008301526140ec816140b0565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061414f6022836132c5565b915061415a826140f3565b604082019050919050565b6000602082019050818103600083015261417e81614142565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006141bf82613244565b91506141ca83613244565b9250826141da576141d9613adf565b5b828206905092915050565b60006141f082613244565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156142235761422261390a565b5b600182019050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000614264601d836132c5565b915061426f8261422e565b602082019050919050565b6000602082019050818103600083015261429381614257565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006142f66025836132c5565b91506143018261429a565b604082019050919050565b60006020820190508181036000830152614325816142e9565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006143886023836132c5565b91506143938261432c565b604082019050919050565b600060208201905081810360008301526143b78161437b565b9050919050565b7f54726164696e67206973206e6f74206163746976652e00000000000000000000600082015250565b60006143f46016836132c5565b91506143ff826143be565b602082019050919050565b60006020820190508181036000830152614423816143e7565b9050919050565b7f427579207472616e7366657220616d6f756e742065786365656473207468652060008201527f6d61785472616e73616374696f6e416d6f756e742e0000000000000000000000602082015250565b60006144866035836132c5565b91506144918261442a565b604082019050919050565b600060208201905081810360008301526144b581614479565b9050919050565b7f4d61782077616c6c657420657863656564656400000000000000000000000000600082015250565b60006144f26013836132c5565b91506144fd826144bc565b602082019050919050565b60006020820190508181036000830152614521816144e5565b9050919050565b600061453382613244565b915061453e83613244565b9250828210156145515761455061390a565b5b828203905092915050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006145b86026836132c5565b91506145c38261455c565b604082019050919050565b600060208201905081810360008301526145e7816145ab565b9050919050565b6000819050919050565b600061461361460e614609846145ee565b613476565b613244565b9050919050565b614623816145f8565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61465e81613395565b82525050565b60006146708383614655565b60208301905092915050565b6000602082019050919050565b600061469482614629565b61469e8185614634565b93506146a983614645565b8060005b838110156146da5781516146c18882614664565b97506146cc8361467c565b9250506001810190506146ad565b5085935050505092915050565b600060a0820190506146fc60008301886134f0565b614709602083018761461a565b818103604083015261471b8186614689565b905061472a606083018561373e565b61473760808301846134f0565b9695505050505050565b6000819050919050565b61475481614741565b82525050565b600067ffffffffffffffff82169050919050565b6147778161475a565b82525050565b600061ffff82169050919050565b6147948161477d565b82525050565b600063ffffffff82169050919050565b6147b38161479a565b82525050565b60006147d46147cf6147ca8461477d565b613476565b61479a565b9050919050565b6147e4816147b9565b82525050565b600060a0820190506147ff600083018861474b565b61480c602083018761476e565b614819604083018661478b565b61482660608301856147aa565b61483360808301846147db565b9695505050505050565b60008151905061484c8161324e565b92915050565b6000602082840312156148685761486761323a565b5b60006148768482850161483d565b9150509291505056fea2646970667358221220f3fa2e66c6f7ac4ab93f06f6d6ce7b1cbfb2afb23ea36fc11dced6f01e58fbdc64736f6c63430008090033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e69909ff8dedfbfa60af186cf3c830acbc32c05aae823045ae5ea7da1e45fbfaba4f9200000000000000000000000000000000000000000000000000000000000001c100000000000000000000000000000000000000000000000000000000002625a00000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48

-----Decoded View---------------
Arg [0] : _vrfCoordinatorV2 (address): 0x271682DEB8C4E0901D1a1550aD2e64D568E69909
Arg [1] : _keyHash (bytes32): 0xff8dedfbfa60af186cf3c830acbc32c05aae823045ae5ea7da1e45fbfaba4f92
Arg [2] : _subscriptionId (uint64): 449
Arg [3] : _callbackGasLimit (uint32): 2500000
Arg [4] : _uniswapV2Router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [5] : _usdc (address): 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e69909
Arg [1] : ff8dedfbfa60af186cf3c830acbc32c05aae823045ae5ea7da1e45fbfaba4f92
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001c1
Arg [3] : 00000000000000000000000000000000000000000000000000000000002625a0
Arg [4] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [5] : 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48


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.