ETH Price: $3,249.56 (-0.28%)
Gas: 1 Gwei

Token

Conviction (CONV)
 

Overview

Max Total Supply

1,000,000,000 CONV

Holders

225

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
608,469.988217834474584117 CONV

Value
$0.00
0xecad3303120522a851aa0765e98028f6a65f6f81
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:
Conviction

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : Conviction.sol
/*********************************************************************************
Conviction (CONV)

                       _             _             
                      (_)        _  (_)            
  ____ ___  ____ _   _ _  ____ _| |_ _  ___  ____  
 / ___) _ \|  _ \ | | | |/ ___|_   _) |/ _ \|  _ \ 
( (__| |_| | | | \ V /| ( (___  | |_| | |_| | | | |
 \____)___/|_| |_|\_/ |_|\____)  \__)_|\___/|_| |_|

Live your life with conviction. Conviction can catalyze your dreams becoming reality
and determine whether you make it or not. We're here to completely upend the
scene with conviction for the culture by building the biggest
degen ecosystem to ever show it's face in crypto. With CONV's tokenomics,
innovative tapering jeet tax, and buyer incentive lottery program,
you can have a shot at winning massive amounts of ETH every hour. In
conjunction with Chainlink verifiable random functions and a little creativity,
we built an innovative mechanism to reward buyers of CONV and those who
execute the lottery draw function each buy period.


TOKEN DISTRIBUTION

Fixed supply: 1,000,000,000 CONV
100% supply went into the liquidity pool on day 1
  - No VCs
  - No team tokens
  - No funny business


TOKENOMICS

buy: 5% tax
  - 2.5% reward pool
  - 2.5% auto LP
sell: 5-20% tax (see JEET SELL TAX below)


BUYER INCENTIVE PROGRAM

When you buy CONV you are entered into an hourly lottery drawn by Chainlink VRFs
that will reward 5 buyers who bought during that hour with 20% (4% each) of the current
buyer incentive pool, which is the amount of ETH in the token contract.
Every hour 5 new winners will be drawn, and the pool of buyers will then
reset to be drawn from again for the next hour for buyers during that next hour period.


DRAW THE WINNERS

In order for the winners of the lottery to be drawn, either
`drawWinnerAtPreviousBuyPeriod` or `drawWinnerAt` need to be executed on this contract.
Anyone who wants can execute these functions when a buy period is over and winners have
not been drawn yet. The lottery drawer will be rewarded 2% of the buyer
incentive pool at that point in time.


JEET SELL TAX

We're building something massive: one of the largest decentralized
lottery mechanisms to exist in crypto. In order to support
this vision we want fellow CONVers to hold their CONV or get punished
accordingly. We implemented a tapering sell tax that rewards you by taxing
less the longer you hold your CONV.

At the point you buy, to sell you will be charged 4x the standard tax (20%).
Every hour your sell tax will decrease from 20% all the way down to the standard tax
if you hold for >=72 hours.

See below for an example of how tax is calculated:

Your calculated sell tax amount based on when you sell:
  - 0-1 hours after buy: 20%
  - 1-2 hour after buy: 19.93%
  - 2-3 hours after buy: 19.86%
  - 3-4 hours after buy: 19.79%
  ...
  - 72+ hours after buy: 5%


COMMUNITY

Our vision is CONV will become a community-owned, organically grown project. We
want the community and holders to take over, create the website & socials, and
when we grow the dev will reenter the scene for a full DAO build-out to empower the
community to vote on the future of CONV and it's ecosystem.
*********************************************************************************/

// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.4;

import '@chainlink/contracts/src/v0.8/interfaces/LinkTokenInterface.sol';
import '@chainlink/contracts/src/v0.8/interfaces/VRFCoordinatorV2Interface.sol';
import '@chainlink/contracts/src/v0.8/VRFConsumerBaseV2.sol';
import '@openzeppelin/contracts/token/ERC20/ERC20.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol';
import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol';
import '@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol';

contract Conviction is ERC20, Ownable, VRFConsumerBaseV2 {
  uint256 private constant ONE_HOUR = 60 * 60;
  uint256 private constant PERCENT_DENOMENATOR = 1000;

  // FUCK THE JEETS
  uint256 public constant JEET_TAX_MULTIPLIER = 4;
  uint256 public constant JEET_TAPER_HOURS = 72;

  VRFCoordinatorV2Interface vrfCoord;
  LinkTokenInterface link;
  uint64 private _vrfSubscriptionId;
  bytes32 private _vrfKeyHash;
  uint32 private _vrfCallbackGasLimit = 600000;
  mapping(uint256 => uint256) private _buyInitiators;
  mapping(uint256 => address[]) private _buyWinners;

  uint16 public numBuyWinners = 5;

  uint256 public percentTreasuryBuyerPool = 200; // 20%
  uint256 public percentTreasuryInitiatorPool = 20; // 2%

  address payable public treasury;

  mapping(address => bool) private _isTaxExcluded;

  bool private _taxesOff;
  uint256 private _taxBuyerIncent = 25; // 2.5%
  uint256 private _taxLp = 25; // 2.5%
  uint256 private _totalTax;

  uint256 private _liquifyRate = 10;
  uint256 public launchTime;

  IUniswapV2Router02 public uniswapV2Router;
  address public uniswapV2Pair;

  mapping(address => uint256) private _lastBuy;
  uint256 public buyDrawSeconds = ONE_HOUR;
  mapping(uint256 => address[]) public buyPeriodBuyers;
  mapping(uint256 => mapping(address => bool)) public buyPeriodBuyersIndexed;

  mapping(address => bool) private _isFucker;
  address[] private _confirmedFuckers;

  uint256 private _lastNuke;
  uint256 private _nukeFreq = 60 * 10;

  bool private _swapEnabled = true;
  bool private _swapping = false;

  event InitiatedBuyWinner(
    uint256 indexed requestId,
    uint256 indexed buyPeriod
  );
  event SelectedBuyWinner(uint256 indexed requestId, uint256 indexed buyPeriod);

  modifier lockTheFuckingSwap() {
    _swapping = true;
    _;
    _swapping = false;
  }

  constructor(
    address _vrfCoordinator,
    uint64 _subscriptionId,
    address _linkToken,
    bytes32 _keyHash
  ) ERC20('Conviction', 'CONV') VRFConsumerBaseV2(_vrfCoordinator) {
    _mint(address(this), 1_000_000_000 * 10**18);

    IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
      0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
    );
    uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(
      address(this),
      _uniswapV2Router.WETH()
    );
    uniswapV2Router = _uniswapV2Router;
    _setTotalTax();

    _isTaxExcluded[address(this)] = true;
    _isTaxExcluded[msg.sender] = true;

    vrfCoord = VRFCoordinatorV2Interface(_vrfCoordinator);
    link = LinkTokenInterface(_linkToken);
    _vrfSubscriptionId = _subscriptionId;
    _vrfKeyHash = _keyHash;
  }

  function launch() external payable onlyOwner {
    require(launchTime == 0, 'already launched');
    require(msg.value > 0, 'need ETH for initial LP');
    _addLp(totalSupply(), msg.value);
    launchTime = block.timestamp;
  }

  function getBuyPeriodWinners(uint256 _period)
    external
    view
    returns (address[] memory)
  {
    return _buyWinners[_period];
  }

  function drawWinnerAtPreviousBuyPeriod() external {
    uint256 _period = getBuyPeriod() - 1;
    _drawWinnerAtBuyPeriod(_period);
  }

  function drawWinnerAt(uint256 _period) external {
    _drawWinnerAtBuyPeriod(_period);
  }

  function _drawWinnerAtBuyPeriod(uint256 _period) internal {
    require(address(this).balance > 0, 'nothing to give winners');
    require(getBuyPeriod() > _period, 'buyPeriod is not complete');
    require(getAllBuyPeriodBuyerAmount(_period) > 0, 'no buyers during period');

    uint256 requestId = vrfCoord.requestRandomWords(
      _vrfKeyHash,
      _vrfSubscriptionId,
      uint16(3),
      _vrfCallbackGasLimit,
      numBuyWinners
    );

    require(_buyInitiators[requestId] == 0, 'already initiated');
    _buyInitiators[requestId] = _period;

    uint256 _balanceBefore = address(this).balance;
    uint256 _initiatorAmount = (_balanceBefore * percentTreasuryInitiatorPool) /
      PERCENT_DENOMENATOR;
    payable(msg.sender).call{ value: _initiatorAmount }('');
    require(
      address(this).balance >= _balanceBefore - _initiatorAmount,
      'took too much'
    );
    emit InitiatedBuyWinner(requestId, _period);
  }

  function fulfillRandomWords(uint256 requestId, uint256[] memory randomWords)
    internal
    override
  {
    uint256 _period = _buyInitiators[requestId];
    uint256 _allBuyerLength = getAllBuyPeriodBuyerAmount(_period);

    uint256 _balanceBefore = address(this).balance;
    uint256 _amountETHTotal = (_balanceBefore * percentTreasuryBuyerPool) /
      PERCENT_DENOMENATOR;
    uint256 _amountETHPerWinner = _amountETHTotal / randomWords.length;

    for (uint256 i = 0; i < randomWords.length; i++) {
      uint256 _word = randomWords[i];
      uint256 _winnerIdx = _word % _allBuyerLength;
      _buyWinners[_period].push(buyPeriodBuyers[_period][_winnerIdx]);
      payable(_buyWinners[_period][i]).call{ value: _amountETHPerWinner }('');
    }
    require(address(this).balance >= _balanceBefore - _amountETHTotal);
    emit SelectedBuyWinner(requestId, _period);
  }

  function _transfer(
    address sender,
    address recipient,
    uint256 amount
  ) internal virtual override {
    bool _isOwner = sender == owner() || recipient == owner();
    require(
      _isOwner || amount <= _maxTx(sender, recipient),
      'ERC20: exceed amx txn'
    );
    require(!_isFucker[recipient], 'Stop fucker!');
    require(!_isFucker[sender], 'Stop fucker!');
    require(!_isFucker[_msgSender()], 'Stop fucker!');
    uint256 contractTokenBalance = balanceOf(address(this));

    bool _isBuy = sender == uniswapV2Pair &&
      recipient != address(uniswapV2Router);
    bool _isSell = recipient == uniswapV2Pair;
    bool _isSwap = _isBuy || _isSell;
    if (_isSwap) {
      if (block.timestamp == launchTime) {
        _isFucker[recipient] = true;
        _confirmedFuckers.push(recipient);
      }
    }

    if (_isBuy) {
      _lastBuy[recipient] = block.timestamp;

      uint256 _period = getBuyPeriod();
      if (!buyPeriodBuyersIndexed[_period][recipient]) {
        buyPeriodBuyersIndexed[_period][recipient] = true;
        buyPeriodBuyers[_period].push(recipient);
      }
    }

    uint256 _minSwap = (balanceOf(uniswapV2Pair) * _liquifyRate) /
      PERCENT_DENOMENATOR;
    bool _overMin = contractTokenBalance >= _minSwap;
    if (
      _swapEnabled &&
      !_swapping &&
      !_isOwner &&
      _overMin &&
      launchTime != 0 &&
      sender != uniswapV2Pair
    ) {
      _swap(_minSwap);
    }

    uint256 tax = 0;
    if (
      launchTime != 0 &&
      !_taxesOff &&
      !(_isTaxExcluded[sender] || _isTaxExcluded[recipient])
    ) {
      tax = (amount * _totalTax) / PERCENT_DENOMENATOR;
      if (tax > 0) {
        if (_isSell) {
          tax = calculateJeetTax(sender, tax);
        }
        super._transfer(sender, address(this), tax);
      }
    }

    super._transfer(sender, recipient, amount - tax);
  }

  function getAllBuyPeriodBuyerAmount(uint256 _period)
    public
    view
    returns (uint256)
  {
    return buyPeriodBuyers[_period].length;
  }

  function _maxTx(address sender, address recipient)
    private
    view
    returns (uint256)
  {
    bool _isOwner = sender == owner() || recipient == owner();
    uint256 expiration = 60 * 15; // 15 minutes
    if (
      _isOwner || launchTime == 0 || block.timestamp > launchTime + expiration
    ) {
      return totalSupply();
    }
    return totalSupply() / 100; // 1%
  }

  function _swap(uint256 contractTokenBalance) private lockTheFuckingSwap {
    uint256 balBefore = address(this).balance;
    uint256 liquidityTokens = (contractTokenBalance * _taxLp) / _totalTax / 2;
    uint256 tokensToSwap = contractTokenBalance - liquidityTokens;

    // generate the uniswap pair path of token -> weth
    address[] memory path = new address[](2);
    path[0] = address(this);
    path[1] = uniswapV2Router.WETH();

    _approve(address(this), address(uniswapV2Router), tokensToSwap);
    uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
      tokensToSwap,
      0,
      path,
      address(this),
      block.timestamp
    );

    uint256 balToProcess = address(this).balance - balBefore;
    if (balToProcess > 0) {
      _processFees(balToProcess, liquidityTokens);
    }
  }

  function _addLp(uint256 tokenAmount, uint256 ethAmount) private {
    _approve(address(this), address(uniswapV2Router), tokenAmount);
    uniswapV2Router.addLiquidityETH{ value: ethAmount }(
      address(this),
      tokenAmount,
      0,
      0,
      treasury == address(0) ? owner() : treasury,
      block.timestamp
    );
  }

  function _processFees(uint256 amountETH, uint256 amountLpTokens) private {
    uint256 lpETH = (amountETH * _taxLp) / _totalTax;
    if (amountLpTokens > 0) {
      _addLp(amountLpTokens, lpETH);
    }
  }

  function _setTotalTax() private {
    _totalTax = _taxBuyerIncent + _taxLp;
    require(
      _totalTax <= (PERCENT_DENOMENATOR * 20) / 100,
      'tax cannot be above 20%'
    );
  }

  // fuck you jeets
  function calculateJeetTax(address _sender, uint256 _tax)
    public
    view
    returns (uint256)
  {
    if (block.timestamp < calculateJeetExpiration(_sender)) {
      uint256 _hoursAfterBuy = (block.timestamp - _lastBuy[_sender]) / ONE_HOUR;
      return
        (_tax * ((JEET_TAX_MULTIPLIER * JEET_TAPER_HOURS) - _hoursAfterBuy)) /
        JEET_TAPER_HOURS;
    }
    return _tax;
  }

  function calculateJeetExpiration(address _sender)
    public
    view
    returns (uint256)
  {
    return _lastBuy[_sender] + (JEET_TAPER_HOURS * ONE_HOUR);
  }

  function getBuyPeriod() public view returns (uint256) {
    uint256 secondsSinceLaunch = block.timestamp - launchTime;
    return 1 + (secondsSinceLaunch / buyDrawSeconds);
  }

  function isFuckerRemoved(address account) external view returns (bool) {
    return _isFucker[account];
  }

  function blacklistFucker(address account) external onlyOwner {
    require(
      account != address(uniswapV2Router),
      'cannot not blacklist Uniswap'
    );
    require(!_isFucker[account], 'user is already blacklisted');
    _isFucker[account] = true;
    _confirmedFuckers.push(account);
  }

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

  function setTaxBuyerIncent(uint256 _tax) external onlyOwner {
    _taxBuyerIncent = _tax;
    _setTotalTax();
  }

  function setTaxLp(uint256 _tax) external onlyOwner {
    _taxLp = _tax;
    _setTotalTax();
  }

  function setTreasury(address _treasury) external onlyOwner {
    treasury = payable(_treasury);
  }

  function setLiquifyRate(uint256 _rate) external onlyOwner {
    require(_rate <= PERCENT_DENOMENATOR / 10, 'cannot be more than 10%');
    _liquifyRate = _rate;
  }

  function setIsTaxExcluded(address _wallet, bool _isExcluded)
    external
    onlyOwner
  {
    _isTaxExcluded[_wallet] = _isExcluded;
  }

  function setTaxesOff(bool _areOff) external onlyOwner {
    _taxesOff = _areOff;
  }

  function setSwapEnabled(bool _enabled) external onlyOwner {
    _swapEnabled = _enabled;
  }

  function setNukeFreq(uint256 _seconds) external onlyOwner {
    _nukeFreq = _seconds;
  }

  function setBuyDrawSeconds(uint256 _seconds) external onlyOwner {
    buyDrawSeconds = _seconds;
  }

  function setPercentTreasuryBuyerPool(uint256 _percent) external onlyOwner {
    require(_percent <= PERCENT_DENOMENATOR, 'cannot be more than 100%');
    percentTreasuryBuyerPool = _percent;
  }

  function setPercentTreasuryInitiatorPool(uint256 _percent)
    external
    onlyOwner
  {
    require(
      _percent <= (PERCENT_DENOMENATOR * 20) / 100,
      'cannot be more than 20%'
    );
    percentTreasuryInitiatorPool = _percent;
  }

  function setNumBuyerWinners(uint16 _winners) external onlyOwner {
    require(_winners <= 20, 'no more than 20 winners at a time');
    numBuyWinners = _winners;
  }

  function setVrfCallbackGasLimit(uint32 _gas) external onlyOwner {
    _vrfCallbackGasLimit = _gas;
  }

  function manualNuke(uint256 _percent, address _to) external onlyOwner {
    require(block.timestamp > _lastNuke + _nukeFreq, 'cooldown please');
    require(_percent <= PERCENT_DENOMENATOR / 10, 'cannot nuke more than 10%');
    _lastNuke = block.timestamp;

    uint256 amountToBurn = (balanceOf(uniswapV2Pair) * _percent) /
      PERCENT_DENOMENATOR;
    if (amountToBurn > 0) {
      address receiver = _to == address(0) ? address(0xdead) : _to;
      super._transfer(uniswapV2Pair, receiver, amountToBurn);
    }

    IUniswapV2Pair pair = IUniswapV2Pair(uniswapV2Pair);
    pair.sync();
  }

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

  receive() external payable {}
}

File 2 of 13 : LinkTokenInterface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface LinkTokenInterface {
  function allowance(address owner, address spender) external view returns (uint256 remaining);

  function approve(address spender, uint256 value) external returns (bool success);

  function balanceOf(address owner) external view returns (uint256 balance);

  function decimals() external view returns (uint8 decimalPlaces);

  function decreaseApproval(address spender, uint256 addedValue) external returns (bool success);

  function increaseApproval(address spender, uint256 subtractedValue) external;

  function name() external view returns (string memory tokenName);

  function symbol() external view returns (string memory tokenSymbol);

  function totalSupply() external view returns (uint256 totalTokensIssued);

  function transfer(address to, uint256 value) external returns (bool success);

  function transferAndCall(
    address to,
    uint256 value,
    bytes calldata data
  ) external returns (bool success);

  function transferFrom(
    address from,
    address to,
    uint256 value
  ) external returns (bool success);
}

File 3 of 13 : 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 4 of 13 : VRFConsumerBaseV2.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/** ****************************************************************************
 * @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 5 of 13 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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, _allowances[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 = _allowances[owner][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * 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 Spend `amount` form the allowance of `owner` toward `spender`.
     *
     * 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 6 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

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

File 7 of 13 : 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 8 of 13 : IUniswapV2Pair.sol
pragma solidity >=0.5.0;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

File 9 of 13 : 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 10 of 13 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

File 11 of 13 : 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 12 of 13 : 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 13 of 13 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_vrfCoordinator","type":"address"},{"internalType":"uint64","name":"_subscriptionId","type":"uint64"},{"internalType":"address","name":"_linkToken","type":"address"},{"internalType":"bytes32","name":"_keyHash","type":"bytes32"}],"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":"uint256","name":"requestId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"buyPeriod","type":"uint256"}],"name":"InitiatedBuyWinner","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":"uint256","name":"requestId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"buyPeriod","type":"uint256"}],"name":"SelectedBuyWinner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"JEET_TAPER_HOURS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"JEET_TAX_MULTIPLIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"account","type":"address"}],"name":"blacklistFucker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyDrawSeconds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"buyPeriodBuyers","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"buyPeriodBuyersIndexed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_sender","type":"address"}],"name":"calculateJeetExpiration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_sender","type":"address"},{"internalType":"uint256","name":"_tax","type":"uint256"}],"name":"calculateJeetTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_period","type":"uint256"}],"name":"drawWinnerAt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"drawWinnerAtPreviousBuyPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"forgiveFucker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_period","type":"uint256"}],"name":"getAllBuyPeriodBuyerAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBuyPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_period","type":"uint256"}],"name":"getBuyPeriodWinners","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isFuckerRemoved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launch","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"launchTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_percent","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"manualNuke","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numBuyWinners","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"percentTreasuryBuyerPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"percentTreasuryInitiatorPool","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_seconds","type":"uint256"}],"name":"setBuyDrawSeconds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"bool","name":"_isExcluded","type":"bool"}],"name":"setIsTaxExcluded","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rate","type":"uint256"}],"name":"setLiquifyRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_seconds","type":"uint256"}],"name":"setNukeFreq","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_winners","type":"uint16"}],"name":"setNumBuyerWinners","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_percent","type":"uint256"}],"name":"setPercentTreasuryBuyerPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_percent","type":"uint256"}],"name":"setPercentTreasuryInitiatorPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tax","type":"uint256"}],"name":"setTaxBuyerIncent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tax","type":"uint256"}],"name":"setTaxLp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_areOff","type":"bool"}],"name":"setTaxesOff","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_gas","type":"uint32"}],"name":"setVrfCallbackGasLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a06040526009805463ffffffff1916620927c0179055600c805461ffff1990811660051790915560c8600d556014600e5560196012819055601355600a601555610e10601a556102586020556021805490911660011790553480156200006557600080fd5b50604051620037c5380380620037c583398101604081905262000088916200063a565b604080518082018252600a81526921b7b73b34b1ba34b7b760b11b60208083019182528351808501909452600484526321a7a72b60e11b908401528151879391620000d7916003919062000553565b508051620000ed90600490602084019062000553565b5050506200010a620001046200038a60201b60201c565b6200038e565b60601b6001600160601b03191660805262000132306b033b2e3c9fd0803ce8000000620003e0565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d9050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156200018557600080fd5b505afa1580156200019a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c0919062000616565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200020957600080fd5b505afa1580156200021e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000244919062000616565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200028d57600080fd5b505af1158015620002a2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c8919062000616565b601880546001600160a01b03199081166001600160a01b03938416179091556017805490911691831691909117905562000301620004c9565b5030600090815260106020526040808220805460ff1990811660019081179092553384529190922080549091169091179055600680546001600160a01b039586166001600160a01b0319909116179055600780546001600160401b03909416600160a01b026001600160e01b031990941692909416919091179190911790915560085562000749565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200043c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b806002600082825462000450919062000698565b90915550506001600160a01b038216600090815260208190526040812080548392906200047f90849062000698565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b601354601254620004db919062000698565b6014908155606490620004f2906103e890620006d4565b620004fe9190620006b3565b6014541115620005515760405162461bcd60e51b815260206004820152601760248201527f7461782063616e6e6f742062652061626f766520323025000000000000000000604482015260640162000433565b565b8280546200056190620006f6565b90600052602060002090601f016020900481019282620005855760008555620005d0565b82601f10620005a057805160ff1916838001178555620005d0565b82800160010185558215620005d0579182015b82811115620005d0578251825591602001919060010190620005b3565b50620005de929150620005e2565b5090565b5b80821115620005de5760008155600101620005e3565b80516001600160a01b03811681146200061157600080fd5b919050565b60006020828403121562000628578081fd5b6200063382620005f9565b9392505050565b6000806000806080858703121562000650578283fd5b6200065b85620005f9565b60208601519094506001600160401b038116811462000678578384fd5b92506200068860408601620005f9565b6060959095015193969295505050565b60008219821115620006ae57620006ae62000733565b500190565b600082620006cf57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615620006f157620006f162000733565b500290565b600181811c908216806200070b57607f821691505b602082108114156200072d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60805160601c6130566200076f60003960008181610e5a0152610e9c01526130566000f3fe60806040526004361061031e5760003560e01c80637b8b9de0116101ab578063d0a51cc1116100f7578063e086e5ec11610095578063f2fde38b1161006f578063f2fde38b14610992578063f77d1a2f146109b2578063fbeedd88146109d2578063fc9e81e2146109f257600080fd5b8063e086e5ec14610948578063e3be486e1461095d578063f0f442601461097257600080fd5b8063d97a2221116100d1578063d97a2221146108b7578063dd62ed3e146108cc578063de6c7c3e14610912578063e01af92c1461092857600080fd5b8063d0a51cc114610857578063d6594eda14610877578063d7c7968b1461089757600080fd5b8063a9059cbb11610164578063b5805a171161013e578063b5805a17146107bb578063be4c5162146107e8578063caef86df14610808578063cfba057b1461084157600080fd5b8063a9059cbb1461075b578063adfbc8601461077b578063af6b24c81461079b57600080fd5b80637b8b9de0146106a85780638da5cb5b146106c8578063923dc230146106e65780639387c8da1461070657806395d89b4114610726578063a457c2d71461073b57600080fd5b8063313ce5671161026a5780635a405c871161022357806370a08231116101fd57806370a0823114610627578063715018a61461065d578063764b3cfe14610672578063790ca4131461069257600080fd5b80635a405c87146105b957806360df2183146105d957806361d027b31461060757600080fd5b8063313ce567146104ed57806338036cd91461050957806339509351146105295780633f7944901461054957806346322a9d1461055e57806349bd5a5e1461059957600080fd5b80631694505e116102d75780631f0fde80116102b15780631f0fde801461046d5780631fe543e31461048d57806323b872dd146104ad57806329beefd2146104cd57600080fd5b80631694505e146103f357806318160ddd1461042b5780631e088dfa1461044057600080fd5b806301339c211461032a57806306fdde0314610334578063088f665b1461035f578063095ea7b31461037f5780630dff3e66146103af57806314ea796d146103d357600080fd5b3661032557005b600080fd5b610332610a07565b005b34801561034057600080fd5b50610349610ae5565b6040516103569190612e42565b60405180910390f35b34801561036b57600080fd5b5061033261037a366004612b08565b610b77565b34801561038b57600080fd5b5061039f61039a366004612bf3565b610d5d565b6040519015158152602001610356565b3480156103bb57600080fd5b506103c5600e5481565b604051908152602001610356565b3480156103df57600080fd5b506103326103ee366004612c1e565b610d77565b3480156103ff57600080fd5b50601754610413906001600160a01b031681565b6040516001600160a01b039091168152602001610356565b34801561043757600080fd5b506002546103c5565b34801561044c57600080fd5b5061046061045b366004612c5a565b610db4565b6040516103569190612e2f565b34801561047957600080fd5b50610332610488366004612c5a565b610e20565b34801561049957600080fd5b506103326104a8366004612cae565b610e4f565b3480156104b957600080fd5b5061039f6104c8366004612b7f565b610ed3565b3480156104d957600080fd5b506103326104e8366004612c5a565b610ef7565b3480156104f957600080fd5b5060405160128152602001610356565b34801561051557600080fd5b50610332610524366004612c5a565b610f31565b34801561053557600080fd5b5061039f610544366004612bf3565b610f60565b34801561055557600080fd5b50610332610f9f565b34801561056a57600080fd5b5061039f610579366004612c8a565b601c60209081526000928352604080842090915290825290205460ff1681565b3480156105a557600080fd5b50601854610413906001600160a01b031681565b3480156105c557600080fd5b506103326105d4366004612dc8565b610fc0565b3480156105e557600080fd5b50600c546105f49061ffff1681565b60405161ffff9091168152602001610356565b34801561061357600080fd5b50600f54610413906001600160a01b031681565b34801561063357600080fd5b506103c5610642366004612b08565b6001600160a01b031660009081526020819052604090205490565b34801561066957600080fd5b50610332611006565b34801561067e57600080fd5b506103c561068d366004612b08565b61103c565b34801561069e57600080fd5b506103c560165481565b3480156106b457600080fd5b506103c56106c3366004612bf3565b61106e565b3480156106d457600080fd5b506005546001600160a01b0316610413565b3480156106f257600080fd5b50610413610701366004612d7a565b6110ed565b34801561071257600080fd5b50610332610721366004612b08565b611125565b34801561073257600080fd5b5061034961127c565b34801561074757600080fd5b5061039f610756366004612bf3565b61128b565b34801561076757600080fd5b5061039f610776366004612bf3565b61131d565b34801561078757600080fd5b50610332610796366004612c5a565b61132b565b3480156107a757600080fd5b506103326107b6366004612c5a565b611334565b3480156107c757600080fd5b506103c56107d6366004612c5a565b6000908152601b602052604090205490565b3480156107f457600080fd5b50610332610803366004612c8a565b6113cb565b34801561081457600080fd5b5061039f610823366004612b08565b6001600160a01b03166000908152601d602052604090205460ff1690565b34801561084d57600080fd5b506103c5600d5481565b34801561086357600080fd5b50610332610872366004612c5a565b611580565b34801561088357600080fd5b50610332610892366004612c5a565b6115b7565b3480156108a357600080fd5b506103326108b2366004612c5a565b611642565b3480156108c357600080fd5b506103c5604881565b3480156108d857600080fd5b506103c56108e7366004612b47565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561091e57600080fd5b506103c5601a5481565b34801561093457600080fd5b50610332610943366004612c1e565b6116c3565b34801561095457600080fd5b50610332611700565b34801561096957600080fd5b506103c5611781565b34801561097e57600080fd5b5061033261098d366004612b08565b6117b3565b34801561099e57600080fd5b506103326109ad366004612b08565b6117ff565b3480156109be57600080fd5b506103326109cd366004612c38565b611897565b3480156109de57600080fd5b506103326109ed366004612bbf565b611938565b3480156109fe57600080fd5b506103c5600481565b6005546001600160a01b03163314610a3a5760405162461bcd60e51b8152600401610a3190612e95565b60405180910390fd5b60165415610a7d5760405162461bcd60e51b815260206004820152601060248201526f185b1c9958591e481b185d5b98da195960821b6044820152606401610a31565b60003411610acd5760405162461bcd60e51b815260206004820152601760248201527f6e6565642045544820666f7220696e697469616c204c500000000000000000006044820152606401610a31565b610adf610ad960025490565b3461198d565b42601655565b606060038054610af490612f8e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2090612f8e565b8015610b6d5780601f10610b4257610100808354040283529160200191610b6d565b820191906000526020600020905b815481529060010190602001808311610b5057829003601f168201915b5050505050905090565b6005546001600160a01b03163314610ba15760405162461bcd60e51b8152600401610a3190612e95565b6001600160a01b0381166000908152601d602052604090205460ff16610c095760405162461bcd60e51b815260206004820152601760248201527f75736572206973206e6f7420626c61636b6c69737465640000000000000000006044820152606401610a31565b60005b601e54811015610d5957816001600160a01b0316601e8281548110610c4157634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610d4757601e8054610c6c90600190612f77565b81548110610c8a57634e487b7160e01b600052603260045260246000fd5b600091825260209091200154601e80546001600160a01b039092169183908110610cc457634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152601d90915260409020805460ff19169055601e805480610d2157634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610d5181612fc3565b915050610c0c565b5050565b600033610d6b818585611a8f565b60019150505b92915050565b6005546001600160a01b03163314610da15760405162461bcd60e51b8152600401610a3190612e95565b6011805460ff1916911515919091179055565b6000818152600b6020908152604091829020805483518184028101840190945280845260609392830182828015610e1457602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610df6575b50505050509050919050565b6005546001600160a01b03163314610e4a5760405162461bcd60e51b8152600401610a3190612e95565b601a55565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610ec95760405163073e64fd60e21b81523360048201526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166024820152604401610a31565b610d598282611bb3565b600033610ee1858285611dbb565b610eec858585611e4d565b506001949350505050565b6005546001600160a01b03163314610f215760405162461bcd60e51b8152600401610a3190612e95565b6012819055610f2e61227e565b50565b6005546001600160a01b03163314610f5b5760405162461bcd60e51b8152600401610a3190612e95565b602055565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610d6b9082908690610f9a908790612f2c565b611a8f565b60006001610fab611781565b610fb59190612f77565b9050610f2e816122fe565b6005546001600160a01b03163314610fea5760405162461bcd60e51b8152600401610a3190612e95565b6009805463ffffffff191663ffffffff92909216919091179055565b6005546001600160a01b031633146110305760405162461bcd60e51b8152600401610a3190612e95565b61103a6000612609565b565b600061104b610e106048612f58565b6001600160a01b038316600090815260196020526040902054610d719190612f2c565b60006110798361103c565b4210156110e7576001600160a01b038316600090815260196020526040812054610e10906110a79042612f77565b6110b19190612f44565b90506048816110c1826004612f58565b6110cb9190612f77565b6110d59085612f58565b6110df9190612f44565b915050610d71565b50919050565b601b602052816000526040600020818154811061110957600080fd5b6000918252602090912001546001600160a01b03169150829050565b6005546001600160a01b0316331461114f5760405162461bcd60e51b8152600401610a3190612e95565b6017546001600160a01b03828116911614156111ad5760405162461bcd60e51b815260206004820152601c60248201527f63616e6e6f74206e6f7420626c61636b6c69737420556e6973776170000000006044820152606401610a31565b6001600160a01b0381166000908152601d602052604090205460ff16156112165760405162461bcd60e51b815260206004820152601b60248201527f7573657220697320616c726561647920626c61636b6c697374656400000000006044820152606401610a31565b6001600160a01b03166000818152601d60205260408120805460ff19166001908117909155601e805491820181559091527f50bb669a95c7b50b7e8a6f09454034b2b14cf2b85c730dca9a539ca82cb6e3500180546001600160a01b0319169091179055565b606060048054610af490612f8e565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156113105760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a31565b610eec8286868403611a8f565b600033610d6b818585611e4d565b610f2e816122fe565b6005546001600160a01b0316331461135e5760405162461bcd60e51b8152600401610a3190612e95565b606461136d6103e86014612f58565b6113779190612f44565b8111156113c65760405162461bcd60e51b815260206004820152601760248201527f63616e6e6f74206265206d6f7265207468616e203230250000000000000000006044820152606401610a31565b600e55565b6005546001600160a01b031633146113f55760405162461bcd60e51b8152600401610a3190612e95565b602054601f546114059190612f2c565b42116114455760405162461bcd60e51b815260206004820152600f60248201526e636f6f6c646f776e20706c6561736560881b6044820152606401610a31565b611452600a6103e8612f44565b8211156114a15760405162461bcd60e51b815260206004820152601960248201527f63616e6e6f74206e756b65206d6f7265207468616e20313025000000000000006044820152606401610a31565b42601f556018546001600160a01b03166000908152602081905260408120546103e8906114cf908590612f58565b6114d99190612f44565b905080156115185760006001600160a01b038316156114f857826114fc565b61dead5b601854909150611516906001600160a01b0316828461265b565b505b6018546040805160016209351760e01b0319815290516001600160a01b0390921691829163fff6cae991600480830192600092919082900301818387803b15801561156257600080fd5b505af1158015611576573d6000803e3d6000fd5b5050505050505050565b6005546001600160a01b031633146115aa5760405162461bcd60e51b8152600401610a3190612e95565b6013819055610f2e61227e565b6005546001600160a01b031633146115e15760405162461bcd60e51b8152600401610a3190612e95565b6115ee600a6103e8612f44565b81111561163d5760405162461bcd60e51b815260206004820152601760248201527f63616e6e6f74206265206d6f7265207468616e203130250000000000000000006044820152606401610a31565b601555565b6005546001600160a01b0316331461166c5760405162461bcd60e51b8152600401610a3190612e95565b6103e88111156116be5760405162461bcd60e51b815260206004820152601860248201527f63616e6e6f74206265206d6f7265207468616e203130302500000000000000006044820152606401610a31565b600d55565b6005546001600160a01b031633146116ed5760405162461bcd60e51b8152600401610a3190612e95565b6021805460ff1916911515919091179055565b6005546001600160a01b0316331461172a5760405162461bcd60e51b8152600401610a3190612e95565b6005546040516001600160a01b03909116904790600081818185875af1925050503d8060008114611777576040519150601f19603f3d011682016040523d82523d6000602084013e505050565b606091505b505050565b600080601654426117929190612f77565b9050601a54816117a29190612f44565b6117ad906001612f2c565b91505090565b6005546001600160a01b031633146117dd5760405162461bcd60e51b8152600401610a3190612e95565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146118295760405162461bcd60e51b8152600401610a3190612e95565b6001600160a01b03811661188e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a31565b610f2e81612609565b6005546001600160a01b031633146118c15760405162461bcd60e51b8152600401610a3190612e95565b60148161ffff1611156119205760405162461bcd60e51b815260206004820152602160248201527f6e6f206d6f7265207468616e2032302077696e6e65727320617420612074696d6044820152606560f81b6064820152608401610a31565b600c805461ffff191661ffff92909216919091179055565b6005546001600160a01b031633146119625760405162461bcd60e51b8152600401610a3190612e95565b6001600160a01b03919091166000908152601060205260409020805460ff1916911515919091179055565b6017546119a59030906001600160a01b031684611a8f565b601754600f546001600160a01b039182169163f305d71991849130918791600091829116156119df57600f546001600160a01b03166119ec565b6005546001600160a01b03165b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b158015611a4f57600080fd5b505af1158015611a63573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611a889190612d9b565b5050505050565b6001600160a01b038316611af15760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a31565b6001600160a01b038216611b525760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a31565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000828152600a602052604081205490611bd9826000908152601b602052604090205490565b9050600047905060006103e8600d5483611bf39190612f58565b611bfd9190612f44565b90506000855182611c0e9190612f44565b905060005b8651811015611d6e576000878281518110611c3e57634e487b7160e01b600052603260045260246000fd5b6020026020010151905060008682611c569190612fde565b6000898152600b60209081526040808320601b9092529091208054929350909183908110611c9457634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910154835460018101855593835281832090930180546001600160a01b0319166001600160a01b0390941693909317909255898152600b90915260409020805484908110611cfd57634e487b7160e01b600052603260045260246000fd5b60009182526020822001546040516001600160a01b039091169186919081818185875af1925050503d8060008114611d51576040519150601f19603f3d011682016040523d82523d6000602084013e611d56565b606091505b50505050508080611d6690612fc3565b915050611c13565b50611d798284612f77565b471015611d8557600080fd5b604051859088907f1d4caef352581b8902f77967fa33eb5231499eff636b3cec5146ec1f1df5af9590600090a350505050505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611e475781811015611e3a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a31565b611e478484848403611a8f565b50505050565b6000611e616005546001600160a01b031690565b6001600160a01b0316846001600160a01b03161480611e8d57506005546001600160a01b038481169116145b90508080611ea45750611ea08484612829565b8211155b611ee85760405162461bcd60e51b815260206004820152601560248201527422a92199181d1032bc31b2b2b21030b6bc103a3c3760591b6044820152606401610a31565b6001600160a01b0383166000908152601d602052604090205460ff1615611f215760405162461bcd60e51b8152600401610a3190612eca565b6001600160a01b0384166000908152601d602052604090205460ff1615611f5a5760405162461bcd60e51b8152600401610a3190612eca565b336000908152601d602052604090205460ff1615611f8a5760405162461bcd60e51b8152600401610a3190612eca565b306000908152602081905260408120546018549091906001600160a01b038781169116148015611fc857506017546001600160a01b03868116911614155b6018549091506001600160a01b0386811691161460008280611fe75750815b9050801561205f5760165442141561205f576001600160a01b0387166000818152601d60205260408120805460ff19166001908117909155601e805491820181559091527f50bb669a95c7b50b7e8a6f09454034b2b14cf2b85c730dca9a539ca82cb6e3500180546001600160a01b03191690911790555b8215612115576001600160a01b0387166000908152601960205260408120429055612088611781565b6000818152601c602090815260408083206001600160a01b038d16845290915290205490915060ff16612113576000818152601c602090815260408083206001600160a01b038c16808552908352818420805460ff19166001908117909155858552601b84529184208054928301815584529190922090910180546001600160a01b03191690911790555b505b6015546018546001600160a01b031660009081526020819052604081205490916103e8916121439190612f58565b61214d9190612f44565b602154909150818610159060ff16801561216f5750602154610100900460ff16155b8015612179575086155b80156121825750805b801561218f575060165415155b80156121a957506018546001600160a01b038b8116911614155b156121b7576121b7826128c1565b60006016546000141580156121cf575060115460ff16155b801561221757506001600160a01b038b1660009081526010602052604090205460ff168061221557506001600160a01b038a1660009081526010602052604090205460ff165b155b1561225d576103e86014548a61222d9190612f58565b6122379190612f44565b9050801561225d5784156122525761224f8b8261106e565b90505b61225d8b308361265b565b6122718b8b61226c848d612f77565b61265b565b5050505050505050505050565b60135460125461228e9190612f2c565b60149081556064906122a3906103e890612f58565b6122ad9190612f44565b601454111561103a5760405162461bcd60e51b815260206004820152601760248201527f7461782063616e6e6f742062652061626f7665203230250000000000000000006044820152606401610a31565b6000471161234e5760405162461bcd60e51b815260206004820152601760248201527f6e6f7468696e6720746f20676976652077696e6e6572730000000000000000006044820152606401610a31565b80612357611781565b116123a45760405162461bcd60e51b815260206004820152601960248201527f627579506572696f64206973206e6f7420636f6d706c657465000000000000006044820152606401610a31565b6000818152601b6020526040812054116124005760405162461bcd60e51b815260206004820152601760248201527f6e6f2062757965727320647572696e6720706572696f640000000000000000006044820152606401610a31565b600654600854600754600954600c546040516305d3b1d360e41b81526004810194909452600160a01b90920467ffffffffffffffff1660248401526003604484015263ffffffff16606483015261ffff1660848201526000916001600160a01b031690635d3b1d309060a401602060405180830381600087803b15801561248657600080fd5b505af115801561249a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124be9190612c72565b6000818152600a6020526040902054909150156125115760405162461bcd60e51b8152602060048201526011602482015270185b1c9958591e481a5b9a5d1a585d1959607a1b6044820152606401610a31565b6000818152600a60205260408120839055600e544791906103e8906125369084612f58565b6125409190612f44565b60405190915033908290600081818185875af1925050503d8060008114612583576040519150601f19603f3d011682016040523d82523d6000602084013e612588565b606091505b50505080826125979190612f77565b4710156125d65760405162461bcd60e51b815260206004820152600d60248201526c0e8deded640e8dede40daeac6d609b1b6044820152606401610a31565b604051849084907fff9b86959f6939db1d5f19020bced71f6ed492d37516343207338bbe97b2c06190600090a350505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166126bf5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a31565b6001600160a01b0382166127215760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a31565b6001600160a01b038316600090815260208190526040902054818110156127995760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a31565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906127d0908490612f2c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161281c91815260200190565b60405180910390a3611e47565b60008061283e6005546001600160a01b031690565b6001600160a01b0316846001600160a01b0316148061286a57506005546001600160a01b038481169116145b9050610384818061287b5750601654155b8061289257508060165461288f9190612f2c565b42115b156128a35760025492505050610d71565b60646128ae60025490565b6128b89190612f44565b95945050505050565b6021805461ff0019166101001790556014546013544791600091600291906128e99086612f58565b6128f39190612f44565b6128fd9190612f44565b9050600061290b8285612f77565b6040805160028082526060820183529293506000929091602083019080368337019050509050308160008151811061295357634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601754604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156129a757600080fd5b505afa1580156129bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129df9190612b2b565b81600181518110612a0057634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152601754612a269130911684611a8f565b60175460405163791ac94760e01b81526001600160a01b039091169063791ac94790612a5f908590600090869030904290600401612ef0565b600060405180830381600087803b158015612a7957600080fd5b505af1158015612a8d573d6000803e3d6000fd5b5050505060008447612a9f9190612f77565b90508015612ab157612ab18185612ac4565b50506021805461ff001916905550505050565b600060145460135484612ad79190612f58565b612ae19190612f44565b9050811561177c5761177c828261198d565b80358015158114612b0357600080fd5b919050565b600060208284031215612b19578081fd5b8135612b2481613034565b9392505050565b600060208284031215612b3c578081fd5b8151612b2481613034565b60008060408385031215612b59578081fd5b8235612b6481613034565b91506020830135612b7481613034565b809150509250929050565b600080600060608486031215612b93578081fd5b8335612b9e81613034565b92506020840135612bae81613034565b929592945050506040919091013590565b60008060408385031215612bd1578182fd5b8235612bdc81613034565b9150612bea60208401612af3565b90509250929050565b60008060408385031215612c05578182fd5b8235612c1081613034565b946020939093013593505050565b600060208284031215612c2f578081fd5b612b2482612af3565b600060208284031215612c49578081fd5b813561ffff81168114612b24578182fd5b600060208284031215612c6b578081fd5b5035919050565b600060208284031215612c83578081fd5b5051919050565b60008060408385031215612c9c578182fd5b823591506020830135612b7481613034565b60008060408385031215612cc0578182fd5b8235915060208084013567ffffffffffffffff80821115612cdf578384fd5b818601915086601f830112612cf2578384fd5b813581811115612d0457612d0461301e565b8060051b604051601f19603f83011681018181108582111715612d2957612d2961301e565b604052828152858101935084860182860187018b1015612d47578788fd5b8795505b83861015612d69578035855260019590950194938601938601612d4b565b508096505050505050509250929050565b60008060408385031215612d8c578182fd5b50508035926020909101359150565b600080600060608486031215612daf578283fd5b8351925060208401519150604084015190509250925092565b600060208284031215612dd9578081fd5b813563ffffffff81168114612b24578182fd5b6000815180845260208085019450808401835b83811015612e245781516001600160a01b031687529582019590820190600101612dff565b509495945050505050565b602081526000612b246020830184612dec565b6000602080835283518082850152825b81811015612e6e57858101830151858201604001528201612e52565b81811115612e7f5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600c908201526b53746f70206675636b65722160a01b604082015260600190565b85815284602082015260a060408201526000612f0f60a0830186612dec565b6001600160a01b0394909416606083015250608001529392505050565b60008219821115612f3f57612f3f612ff2565b500190565b600082612f5357612f53613008565b500490565b6000816000190483118215151615612f7257612f72612ff2565b500290565b600082821015612f8957612f89612ff2565b500390565b600181811c90821680612fa257607f821691505b602082108114156110e757634e487b7160e01b600052602260045260246000fd5b6000600019821415612fd757612fd7612ff2565b5060010190565b600082612fed57612fed613008565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610f2e57600080fdfea164736f6c6343000804000a000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e699090000000000000000000000000000000000000000000000000000000000000039000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca8af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef

Deployed Bytecode

0x60806040526004361061031e5760003560e01c80637b8b9de0116101ab578063d0a51cc1116100f7578063e086e5ec11610095578063f2fde38b1161006f578063f2fde38b14610992578063f77d1a2f146109b2578063fbeedd88146109d2578063fc9e81e2146109f257600080fd5b8063e086e5ec14610948578063e3be486e1461095d578063f0f442601461097257600080fd5b8063d97a2221116100d1578063d97a2221146108b7578063dd62ed3e146108cc578063de6c7c3e14610912578063e01af92c1461092857600080fd5b8063d0a51cc114610857578063d6594eda14610877578063d7c7968b1461089757600080fd5b8063a9059cbb11610164578063b5805a171161013e578063b5805a17146107bb578063be4c5162146107e8578063caef86df14610808578063cfba057b1461084157600080fd5b8063a9059cbb1461075b578063adfbc8601461077b578063af6b24c81461079b57600080fd5b80637b8b9de0146106a85780638da5cb5b146106c8578063923dc230146106e65780639387c8da1461070657806395d89b4114610726578063a457c2d71461073b57600080fd5b8063313ce5671161026a5780635a405c871161022357806370a08231116101fd57806370a0823114610627578063715018a61461065d578063764b3cfe14610672578063790ca4131461069257600080fd5b80635a405c87146105b957806360df2183146105d957806361d027b31461060757600080fd5b8063313ce567146104ed57806338036cd91461050957806339509351146105295780633f7944901461054957806346322a9d1461055e57806349bd5a5e1461059957600080fd5b80631694505e116102d75780631f0fde80116102b15780631f0fde801461046d5780631fe543e31461048d57806323b872dd146104ad57806329beefd2146104cd57600080fd5b80631694505e146103f357806318160ddd1461042b5780631e088dfa1461044057600080fd5b806301339c211461032a57806306fdde0314610334578063088f665b1461035f578063095ea7b31461037f5780630dff3e66146103af57806314ea796d146103d357600080fd5b3661032557005b600080fd5b610332610a07565b005b34801561034057600080fd5b50610349610ae5565b6040516103569190612e42565b60405180910390f35b34801561036b57600080fd5b5061033261037a366004612b08565b610b77565b34801561038b57600080fd5b5061039f61039a366004612bf3565b610d5d565b6040519015158152602001610356565b3480156103bb57600080fd5b506103c5600e5481565b604051908152602001610356565b3480156103df57600080fd5b506103326103ee366004612c1e565b610d77565b3480156103ff57600080fd5b50601754610413906001600160a01b031681565b6040516001600160a01b039091168152602001610356565b34801561043757600080fd5b506002546103c5565b34801561044c57600080fd5b5061046061045b366004612c5a565b610db4565b6040516103569190612e2f565b34801561047957600080fd5b50610332610488366004612c5a565b610e20565b34801561049957600080fd5b506103326104a8366004612cae565b610e4f565b3480156104b957600080fd5b5061039f6104c8366004612b7f565b610ed3565b3480156104d957600080fd5b506103326104e8366004612c5a565b610ef7565b3480156104f957600080fd5b5060405160128152602001610356565b34801561051557600080fd5b50610332610524366004612c5a565b610f31565b34801561053557600080fd5b5061039f610544366004612bf3565b610f60565b34801561055557600080fd5b50610332610f9f565b34801561056a57600080fd5b5061039f610579366004612c8a565b601c60209081526000928352604080842090915290825290205460ff1681565b3480156105a557600080fd5b50601854610413906001600160a01b031681565b3480156105c557600080fd5b506103326105d4366004612dc8565b610fc0565b3480156105e557600080fd5b50600c546105f49061ffff1681565b60405161ffff9091168152602001610356565b34801561061357600080fd5b50600f54610413906001600160a01b031681565b34801561063357600080fd5b506103c5610642366004612b08565b6001600160a01b031660009081526020819052604090205490565b34801561066957600080fd5b50610332611006565b34801561067e57600080fd5b506103c561068d366004612b08565b61103c565b34801561069e57600080fd5b506103c560165481565b3480156106b457600080fd5b506103c56106c3366004612bf3565b61106e565b3480156106d457600080fd5b506005546001600160a01b0316610413565b3480156106f257600080fd5b50610413610701366004612d7a565b6110ed565b34801561071257600080fd5b50610332610721366004612b08565b611125565b34801561073257600080fd5b5061034961127c565b34801561074757600080fd5b5061039f610756366004612bf3565b61128b565b34801561076757600080fd5b5061039f610776366004612bf3565b61131d565b34801561078757600080fd5b50610332610796366004612c5a565b61132b565b3480156107a757600080fd5b506103326107b6366004612c5a565b611334565b3480156107c757600080fd5b506103c56107d6366004612c5a565b6000908152601b602052604090205490565b3480156107f457600080fd5b50610332610803366004612c8a565b6113cb565b34801561081457600080fd5b5061039f610823366004612b08565b6001600160a01b03166000908152601d602052604090205460ff1690565b34801561084d57600080fd5b506103c5600d5481565b34801561086357600080fd5b50610332610872366004612c5a565b611580565b34801561088357600080fd5b50610332610892366004612c5a565b6115b7565b3480156108a357600080fd5b506103326108b2366004612c5a565b611642565b3480156108c357600080fd5b506103c5604881565b3480156108d857600080fd5b506103c56108e7366004612b47565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561091e57600080fd5b506103c5601a5481565b34801561093457600080fd5b50610332610943366004612c1e565b6116c3565b34801561095457600080fd5b50610332611700565b34801561096957600080fd5b506103c5611781565b34801561097e57600080fd5b5061033261098d366004612b08565b6117b3565b34801561099e57600080fd5b506103326109ad366004612b08565b6117ff565b3480156109be57600080fd5b506103326109cd366004612c38565b611897565b3480156109de57600080fd5b506103326109ed366004612bbf565b611938565b3480156109fe57600080fd5b506103c5600481565b6005546001600160a01b03163314610a3a5760405162461bcd60e51b8152600401610a3190612e95565b60405180910390fd5b60165415610a7d5760405162461bcd60e51b815260206004820152601060248201526f185b1c9958591e481b185d5b98da195960821b6044820152606401610a31565b60003411610acd5760405162461bcd60e51b815260206004820152601760248201527f6e6565642045544820666f7220696e697469616c204c500000000000000000006044820152606401610a31565b610adf610ad960025490565b3461198d565b42601655565b606060038054610af490612f8e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2090612f8e565b8015610b6d5780601f10610b4257610100808354040283529160200191610b6d565b820191906000526020600020905b815481529060010190602001808311610b5057829003601f168201915b5050505050905090565b6005546001600160a01b03163314610ba15760405162461bcd60e51b8152600401610a3190612e95565b6001600160a01b0381166000908152601d602052604090205460ff16610c095760405162461bcd60e51b815260206004820152601760248201527f75736572206973206e6f7420626c61636b6c69737465640000000000000000006044820152606401610a31565b60005b601e54811015610d5957816001600160a01b0316601e8281548110610c4157634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610d4757601e8054610c6c90600190612f77565b81548110610c8a57634e487b7160e01b600052603260045260246000fd5b600091825260209091200154601e80546001600160a01b039092169183908110610cc457634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152601d90915260409020805460ff19169055601e805480610d2157634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610d5181612fc3565b915050610c0c565b5050565b600033610d6b818585611a8f565b60019150505b92915050565b6005546001600160a01b03163314610da15760405162461bcd60e51b8152600401610a3190612e95565b6011805460ff1916911515919091179055565b6000818152600b6020908152604091829020805483518184028101840190945280845260609392830182828015610e1457602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610df6575b50505050509050919050565b6005546001600160a01b03163314610e4a5760405162461bcd60e51b8152600401610a3190612e95565b601a55565b336001600160a01b037f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e699091614610ec95760405163073e64fd60e21b81523360048201526001600160a01b037f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e69909166024820152604401610a31565b610d598282611bb3565b600033610ee1858285611dbb565b610eec858585611e4d565b506001949350505050565b6005546001600160a01b03163314610f215760405162461bcd60e51b8152600401610a3190612e95565b6012819055610f2e61227e565b50565b6005546001600160a01b03163314610f5b5760405162461bcd60e51b8152600401610a3190612e95565b602055565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610d6b9082908690610f9a908790612f2c565b611a8f565b60006001610fab611781565b610fb59190612f77565b9050610f2e816122fe565b6005546001600160a01b03163314610fea5760405162461bcd60e51b8152600401610a3190612e95565b6009805463ffffffff191663ffffffff92909216919091179055565b6005546001600160a01b031633146110305760405162461bcd60e51b8152600401610a3190612e95565b61103a6000612609565b565b600061104b610e106048612f58565b6001600160a01b038316600090815260196020526040902054610d719190612f2c565b60006110798361103c565b4210156110e7576001600160a01b038316600090815260196020526040812054610e10906110a79042612f77565b6110b19190612f44565b90506048816110c1826004612f58565b6110cb9190612f77565b6110d59085612f58565b6110df9190612f44565b915050610d71565b50919050565b601b602052816000526040600020818154811061110957600080fd5b6000918252602090912001546001600160a01b03169150829050565b6005546001600160a01b0316331461114f5760405162461bcd60e51b8152600401610a3190612e95565b6017546001600160a01b03828116911614156111ad5760405162461bcd60e51b815260206004820152601c60248201527f63616e6e6f74206e6f7420626c61636b6c69737420556e6973776170000000006044820152606401610a31565b6001600160a01b0381166000908152601d602052604090205460ff16156112165760405162461bcd60e51b815260206004820152601b60248201527f7573657220697320616c726561647920626c61636b6c697374656400000000006044820152606401610a31565b6001600160a01b03166000818152601d60205260408120805460ff19166001908117909155601e805491820181559091527f50bb669a95c7b50b7e8a6f09454034b2b14cf2b85c730dca9a539ca82cb6e3500180546001600160a01b0319169091179055565b606060048054610af490612f8e565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156113105760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a31565b610eec8286868403611a8f565b600033610d6b818585611e4d565b610f2e816122fe565b6005546001600160a01b0316331461135e5760405162461bcd60e51b8152600401610a3190612e95565b606461136d6103e86014612f58565b6113779190612f44565b8111156113c65760405162461bcd60e51b815260206004820152601760248201527f63616e6e6f74206265206d6f7265207468616e203230250000000000000000006044820152606401610a31565b600e55565b6005546001600160a01b031633146113f55760405162461bcd60e51b8152600401610a3190612e95565b602054601f546114059190612f2c565b42116114455760405162461bcd60e51b815260206004820152600f60248201526e636f6f6c646f776e20706c6561736560881b6044820152606401610a31565b611452600a6103e8612f44565b8211156114a15760405162461bcd60e51b815260206004820152601960248201527f63616e6e6f74206e756b65206d6f7265207468616e20313025000000000000006044820152606401610a31565b42601f556018546001600160a01b03166000908152602081905260408120546103e8906114cf908590612f58565b6114d99190612f44565b905080156115185760006001600160a01b038316156114f857826114fc565b61dead5b601854909150611516906001600160a01b0316828461265b565b505b6018546040805160016209351760e01b0319815290516001600160a01b0390921691829163fff6cae991600480830192600092919082900301818387803b15801561156257600080fd5b505af1158015611576573d6000803e3d6000fd5b5050505050505050565b6005546001600160a01b031633146115aa5760405162461bcd60e51b8152600401610a3190612e95565b6013819055610f2e61227e565b6005546001600160a01b031633146115e15760405162461bcd60e51b8152600401610a3190612e95565b6115ee600a6103e8612f44565b81111561163d5760405162461bcd60e51b815260206004820152601760248201527f63616e6e6f74206265206d6f7265207468616e203130250000000000000000006044820152606401610a31565b601555565b6005546001600160a01b0316331461166c5760405162461bcd60e51b8152600401610a3190612e95565b6103e88111156116be5760405162461bcd60e51b815260206004820152601860248201527f63616e6e6f74206265206d6f7265207468616e203130302500000000000000006044820152606401610a31565b600d55565b6005546001600160a01b031633146116ed5760405162461bcd60e51b8152600401610a3190612e95565b6021805460ff1916911515919091179055565b6005546001600160a01b0316331461172a5760405162461bcd60e51b8152600401610a3190612e95565b6005546040516001600160a01b03909116904790600081818185875af1925050503d8060008114611777576040519150601f19603f3d011682016040523d82523d6000602084013e505050565b606091505b505050565b600080601654426117929190612f77565b9050601a54816117a29190612f44565b6117ad906001612f2c565b91505090565b6005546001600160a01b031633146117dd5760405162461bcd60e51b8152600401610a3190612e95565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146118295760405162461bcd60e51b8152600401610a3190612e95565b6001600160a01b03811661188e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a31565b610f2e81612609565b6005546001600160a01b031633146118c15760405162461bcd60e51b8152600401610a3190612e95565b60148161ffff1611156119205760405162461bcd60e51b815260206004820152602160248201527f6e6f206d6f7265207468616e2032302077696e6e65727320617420612074696d6044820152606560f81b6064820152608401610a31565b600c805461ffff191661ffff92909216919091179055565b6005546001600160a01b031633146119625760405162461bcd60e51b8152600401610a3190612e95565b6001600160a01b03919091166000908152601060205260409020805460ff1916911515919091179055565b6017546119a59030906001600160a01b031684611a8f565b601754600f546001600160a01b039182169163f305d71991849130918791600091829116156119df57600f546001600160a01b03166119ec565b6005546001600160a01b03165b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b158015611a4f57600080fd5b505af1158015611a63573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611a889190612d9b565b5050505050565b6001600160a01b038316611af15760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a31565b6001600160a01b038216611b525760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a31565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000828152600a602052604081205490611bd9826000908152601b602052604090205490565b9050600047905060006103e8600d5483611bf39190612f58565b611bfd9190612f44565b90506000855182611c0e9190612f44565b905060005b8651811015611d6e576000878281518110611c3e57634e487b7160e01b600052603260045260246000fd5b6020026020010151905060008682611c569190612fde565b6000898152600b60209081526040808320601b9092529091208054929350909183908110611c9457634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910154835460018101855593835281832090930180546001600160a01b0319166001600160a01b0390941693909317909255898152600b90915260409020805484908110611cfd57634e487b7160e01b600052603260045260246000fd5b60009182526020822001546040516001600160a01b039091169186919081818185875af1925050503d8060008114611d51576040519150601f19603f3d011682016040523d82523d6000602084013e611d56565b606091505b50505050508080611d6690612fc3565b915050611c13565b50611d798284612f77565b471015611d8557600080fd5b604051859088907f1d4caef352581b8902f77967fa33eb5231499eff636b3cec5146ec1f1df5af9590600090a350505050505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611e475781811015611e3a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a31565b611e478484848403611a8f565b50505050565b6000611e616005546001600160a01b031690565b6001600160a01b0316846001600160a01b03161480611e8d57506005546001600160a01b038481169116145b90508080611ea45750611ea08484612829565b8211155b611ee85760405162461bcd60e51b815260206004820152601560248201527422a92199181d1032bc31b2b2b21030b6bc103a3c3760591b6044820152606401610a31565b6001600160a01b0383166000908152601d602052604090205460ff1615611f215760405162461bcd60e51b8152600401610a3190612eca565b6001600160a01b0384166000908152601d602052604090205460ff1615611f5a5760405162461bcd60e51b8152600401610a3190612eca565b336000908152601d602052604090205460ff1615611f8a5760405162461bcd60e51b8152600401610a3190612eca565b306000908152602081905260408120546018549091906001600160a01b038781169116148015611fc857506017546001600160a01b03868116911614155b6018549091506001600160a01b0386811691161460008280611fe75750815b9050801561205f5760165442141561205f576001600160a01b0387166000818152601d60205260408120805460ff19166001908117909155601e805491820181559091527f50bb669a95c7b50b7e8a6f09454034b2b14cf2b85c730dca9a539ca82cb6e3500180546001600160a01b03191690911790555b8215612115576001600160a01b0387166000908152601960205260408120429055612088611781565b6000818152601c602090815260408083206001600160a01b038d16845290915290205490915060ff16612113576000818152601c602090815260408083206001600160a01b038c16808552908352818420805460ff19166001908117909155858552601b84529184208054928301815584529190922090910180546001600160a01b03191690911790555b505b6015546018546001600160a01b031660009081526020819052604081205490916103e8916121439190612f58565b61214d9190612f44565b602154909150818610159060ff16801561216f5750602154610100900460ff16155b8015612179575086155b80156121825750805b801561218f575060165415155b80156121a957506018546001600160a01b038b8116911614155b156121b7576121b7826128c1565b60006016546000141580156121cf575060115460ff16155b801561221757506001600160a01b038b1660009081526010602052604090205460ff168061221557506001600160a01b038a1660009081526010602052604090205460ff165b155b1561225d576103e86014548a61222d9190612f58565b6122379190612f44565b9050801561225d5784156122525761224f8b8261106e565b90505b61225d8b308361265b565b6122718b8b61226c848d612f77565b61265b565b5050505050505050505050565b60135460125461228e9190612f2c565b60149081556064906122a3906103e890612f58565b6122ad9190612f44565b601454111561103a5760405162461bcd60e51b815260206004820152601760248201527f7461782063616e6e6f742062652061626f7665203230250000000000000000006044820152606401610a31565b6000471161234e5760405162461bcd60e51b815260206004820152601760248201527f6e6f7468696e6720746f20676976652077696e6e6572730000000000000000006044820152606401610a31565b80612357611781565b116123a45760405162461bcd60e51b815260206004820152601960248201527f627579506572696f64206973206e6f7420636f6d706c657465000000000000006044820152606401610a31565b6000818152601b6020526040812054116124005760405162461bcd60e51b815260206004820152601760248201527f6e6f2062757965727320647572696e6720706572696f640000000000000000006044820152606401610a31565b600654600854600754600954600c546040516305d3b1d360e41b81526004810194909452600160a01b90920467ffffffffffffffff1660248401526003604484015263ffffffff16606483015261ffff1660848201526000916001600160a01b031690635d3b1d309060a401602060405180830381600087803b15801561248657600080fd5b505af115801561249a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124be9190612c72565b6000818152600a6020526040902054909150156125115760405162461bcd60e51b8152602060048201526011602482015270185b1c9958591e481a5b9a5d1a585d1959607a1b6044820152606401610a31565b6000818152600a60205260408120839055600e544791906103e8906125369084612f58565b6125409190612f44565b60405190915033908290600081818185875af1925050503d8060008114612583576040519150601f19603f3d011682016040523d82523d6000602084013e612588565b606091505b50505080826125979190612f77565b4710156125d65760405162461bcd60e51b815260206004820152600d60248201526c0e8deded640e8dede40daeac6d609b1b6044820152606401610a31565b604051849084907fff9b86959f6939db1d5f19020bced71f6ed492d37516343207338bbe97b2c06190600090a350505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166126bf5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a31565b6001600160a01b0382166127215760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a31565b6001600160a01b038316600090815260208190526040902054818110156127995760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a31565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906127d0908490612f2c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161281c91815260200190565b60405180910390a3611e47565b60008061283e6005546001600160a01b031690565b6001600160a01b0316846001600160a01b0316148061286a57506005546001600160a01b038481169116145b9050610384818061287b5750601654155b8061289257508060165461288f9190612f2c565b42115b156128a35760025492505050610d71565b60646128ae60025490565b6128b89190612f44565b95945050505050565b6021805461ff0019166101001790556014546013544791600091600291906128e99086612f58565b6128f39190612f44565b6128fd9190612f44565b9050600061290b8285612f77565b6040805160028082526060820183529293506000929091602083019080368337019050509050308160008151811061295357634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601754604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156129a757600080fd5b505afa1580156129bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129df9190612b2b565b81600181518110612a0057634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152601754612a269130911684611a8f565b60175460405163791ac94760e01b81526001600160a01b039091169063791ac94790612a5f908590600090869030904290600401612ef0565b600060405180830381600087803b158015612a7957600080fd5b505af1158015612a8d573d6000803e3d6000fd5b5050505060008447612a9f9190612f77565b90508015612ab157612ab18185612ac4565b50506021805461ff001916905550505050565b600060145460135484612ad79190612f58565b612ae19190612f44565b9050811561177c5761177c828261198d565b80358015158114612b0357600080fd5b919050565b600060208284031215612b19578081fd5b8135612b2481613034565b9392505050565b600060208284031215612b3c578081fd5b8151612b2481613034565b60008060408385031215612b59578081fd5b8235612b6481613034565b91506020830135612b7481613034565b809150509250929050565b600080600060608486031215612b93578081fd5b8335612b9e81613034565b92506020840135612bae81613034565b929592945050506040919091013590565b60008060408385031215612bd1578182fd5b8235612bdc81613034565b9150612bea60208401612af3565b90509250929050565b60008060408385031215612c05578182fd5b8235612c1081613034565b946020939093013593505050565b600060208284031215612c2f578081fd5b612b2482612af3565b600060208284031215612c49578081fd5b813561ffff81168114612b24578182fd5b600060208284031215612c6b578081fd5b5035919050565b600060208284031215612c83578081fd5b5051919050565b60008060408385031215612c9c578182fd5b823591506020830135612b7481613034565b60008060408385031215612cc0578182fd5b8235915060208084013567ffffffffffffffff80821115612cdf578384fd5b818601915086601f830112612cf2578384fd5b813581811115612d0457612d0461301e565b8060051b604051601f19603f83011681018181108582111715612d2957612d2961301e565b604052828152858101935084860182860187018b1015612d47578788fd5b8795505b83861015612d69578035855260019590950194938601938601612d4b565b508096505050505050509250929050565b60008060408385031215612d8c578182fd5b50508035926020909101359150565b600080600060608486031215612daf578283fd5b8351925060208401519150604084015190509250925092565b600060208284031215612dd9578081fd5b813563ffffffff81168114612b24578182fd5b6000815180845260208085019450808401835b83811015612e245781516001600160a01b031687529582019590820190600101612dff565b509495945050505050565b602081526000612b246020830184612dec565b6000602080835283518082850152825b81811015612e6e57858101830151858201604001528201612e52565b81811115612e7f5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600c908201526b53746f70206675636b65722160a01b604082015260600190565b85815284602082015260a060408201526000612f0f60a0830186612dec565b6001600160a01b0394909416606083015250608001529392505050565b60008219821115612f3f57612f3f612ff2565b500190565b600082612f5357612f53613008565b500490565b6000816000190483118215151615612f7257612f72612ff2565b500290565b600082821015612f8957612f89612ff2565b500390565b600181811c90821680612fa257607f821691505b602082108114156110e757634e487b7160e01b600052602260045260246000fd5b6000600019821415612fd757612fd7612ff2565b5060010190565b600082612fed57612fed613008565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610f2e57600080fdfea164736f6c6343000804000a

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

000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e699090000000000000000000000000000000000000000000000000000000000000039000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca8af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef

-----Decoded View---------------
Arg [0] : _vrfCoordinator (address): 0x271682DEB8C4E0901D1a1550aD2e64D568E69909
Arg [1] : _subscriptionId (uint64): 57
Arg [2] : _linkToken (address): 0x514910771AF9Ca656af840dff83E8264EcF986CA
Arg [3] : _keyHash (bytes32): 0x8af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e69909
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000039
Arg [2] : 000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca
Arg [3] : 8af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef


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.