ETH Price: $3,527.17 (+6.97%)

Contract

0x0d8ca4b20b115D4DA5c13DC45Dd582A5de3e78BF
 
Transaction Hash
Method
Block
From
To
Approve212795392024-11-27 13:58:351 hr ago1732715915IN
GeneraitivAI: GAI Token
0 ETH0.0008153517.50362472
Approve212759222024-11-27 1:52:1113 hrs ago1732672331IN
GeneraitivAI: GAI Token
0 ETH0.0005179211.10435154
Approve212741132024-11-26 19:48:1119 hrs ago1732650491IN
GeneraitivAI: GAI Token
0 ETH0.0006406413.73533477
Approve212740082024-11-26 19:26:5919 hrs ago1732649219IN
GeneraitivAI: GAI Token
0 ETH0.000235059.67366088
Approve212740072024-11-26 19:26:4719 hrs ago1732649207IN
GeneraitivAI: GAI Token
0 ETH0.000239579.83540605
Approve212723032024-11-26 13:44:5925 hrs ago1732628699IN
GeneraitivAI: GAI Token
0 ETH0.0004228717.36091595
Approve212723022024-11-26 13:44:4725 hrs ago1732628687IN
GeneraitivAI: GAI Token
0 ETH0.0004339517.815767
Approve212664932024-11-25 18:15:2345 hrs ago1732558523IN
GeneraitivAI: GAI Token
0 ETH0.0007041215.10031887
Approve212655672024-11-25 15:08:352 days ago1732547315IN
GeneraitivAI: GAI Token
0 ETH0.0014645731.62822901
Approve212612462024-11-25 0:40:112 days ago1732495211IN
GeneraitivAI: GAI Token
0 ETH0.00035612.05077475
Approve212583302024-11-24 14:54:233 days ago1732460063IN
GeneraitivAI: GAI Token
0 ETH0.000371488.02453069
Approve212502102024-11-23 11:41:594 days ago1732362119IN
GeneraitivAI: GAI Token
0 ETH0.000462549.9297344
Withdraw Stuck E...212493412024-11-23 8:47:474 days ago1732351667IN
GeneraitivAI: GAI Token
0 ETH0.0002731811.5949366
Withdraw Stuck E...212493212024-11-23 8:43:474 days ago1732351427IN
GeneraitivAI: GAI Token
0 ETH0.0002800511.88638438
Approve212490192024-11-23 7:43:234 days ago1732347803IN
GeneraitivAI: GAI Token
0 ETH0.0005047710.88681549
Transfer212489352024-11-23 7:26:234 days ago1732346783IN
GeneraitivAI: GAI Token
0 ETH0.0011787710.58079142
Transfer212460722024-11-22 21:51:354 days ago1732312295IN
GeneraitivAI: GAI Token
0 ETH0.0018769919.90304375
Approve212356302024-11-21 10:52:476 days ago1732186367IN
GeneraitivAI: GAI Token
0 ETH0.0005973412.82354761
Transfer212284872024-11-20 10:55:117 days ago1732100111IN
GeneraitivAI: GAI Token
0 ETH0.001066469.17821536
Transfer212284732024-11-20 10:52:237 days ago1732099943IN
GeneraitivAI: GAI Token
0 ETH0.000412989.83308144
Approve212273462024-11-20 7:05:357 days ago1732086335IN
GeneraitivAI: GAI Token
0 ETH0.000365877.90339685
Approve212240632024-11-19 20:06:357 days ago1732046795IN
GeneraitivAI: GAI Token
0 ETH0.0009166119.67742492
Approve212195032024-11-19 4:51:358 days ago1731991895IN
GeneraitivAI: GAI Token
0 ETH0.000388388.33765843
Approve212181512024-11-19 0:20:358 days ago1731975635IN
GeneraitivAI: GAI Token
0 ETH0.0006754414.50017849
Transfer212180472024-11-18 23:59:358 days ago1731974375IN
GeneraitivAI: GAI Token
0 ETH0.001258611.29614408
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
208484472024-09-28 10:10:3560 days ago1727518235
GeneraitivAI: GAI Token
0.07597931 ETH
208484472024-09-28 10:10:3560 days ago1727518235
GeneraitivAI: GAI Token
0.07597931 ETH
208484472024-09-28 10:10:3560 days ago1727518235
GeneraitivAI: GAI Token
0.03798965 ETH
208484472024-09-28 10:10:3560 days ago1727518235
GeneraitivAI: GAI Token
0.18994827 ETH
207704692024-09-17 12:56:1171 days ago1726577771
GeneraitivAI: GAI Token
0.04896999 ETH
207704692024-09-17 12:56:1171 days ago1726577771
GeneraitivAI: GAI Token
0.04896999 ETH
207704692024-09-17 12:56:1171 days ago1726577771
GeneraitivAI: GAI Token
0.02448499 ETH
207704692024-09-17 12:56:1171 days ago1726577771
GeneraitivAI: GAI Token
0.12242499 ETH
206313062024-08-29 2:36:2390 days ago1724898983
GeneraitivAI: GAI Token
0.04742187 ETH
206313062024-08-29 2:36:2390 days ago1724898983
GeneraitivAI: GAI Token
0.04742187 ETH
206313062024-08-29 2:36:2390 days ago1724898983
GeneraitivAI: GAI Token
0.02371093 ETH
206313062024-08-29 2:36:2390 days ago1724898983
GeneraitivAI: GAI Token
0.11855467 ETH
205559452024-08-18 13:54:59101 days ago1723989299
GeneraitivAI: GAI Token
0.03904039 ETH
205559452024-08-18 13:54:59101 days ago1723989299
GeneraitivAI: GAI Token
0.03904039 ETH
205559452024-08-18 13:54:59101 days ago1723989299
GeneraitivAI: GAI Token
0.01952019 ETH
205559452024-08-18 13:54:59101 days ago1723989299
GeneraitivAI: GAI Token
0.09760099 ETH
204710572024-08-06 17:35:11112 days ago1722965711
GeneraitivAI: GAI Token
0.03878165 ETH
204710572024-08-06 17:35:11112 days ago1722965711
GeneraitivAI: GAI Token
0.03878165 ETH
204710572024-08-06 17:35:11112 days ago1722965711
GeneraitivAI: GAI Token
0.01939082 ETH
204710572024-08-06 17:35:11112 days ago1722965711
GeneraitivAI: GAI Token
0.09695413 ETH
204144302024-07-29 19:51:35120 days ago1722282695
GeneraitivAI: GAI Token
0.03361471 ETH
204144302024-07-29 19:51:35120 days ago1722282695
GeneraitivAI: GAI Token
0.03361471 ETH
204144302024-07-29 19:51:35120 days ago1722282695
GeneraitivAI: GAI Token
0.01680735 ETH
204144302024-07-29 19:51:35120 days ago1722282695
GeneraitivAI: GAI Token
0.08403678 ETH
202487672024-07-06 16:49:11143 days ago1720284551
GeneraitivAI: GAI Token
0.03432038 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Generaitiv

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : generaitiv.sol
// SPDX-License-Identifier: MIT

/*
    Generaitiv AI is a community-driven AI platform built to
    empower AI contributors by recognizing and rewarding their efforts.

    Website:
    https://generaitiv.xyz

    Telegram:
    https://t.me/generaitiv

    Twitter:
    https://twitter.com/generaitiv

    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
    ░░░░░██░░░░░░░░░░░░░░░░░░░░░░░░░░
    ░░░███████╗░██████╗░░█████╗░██╗░░
    ░░██╔██╔══╝██╔════╝░██╔══██╗██║░░
    ░░╚██████╗░██║░░██╗░███████║██║░░
    ░░░╚═██╔██╗██║░░╚██╗██╔══██║██║░░
    ░░███████╔╝╚██████╔╝██║░░██║██║░░
    ░░╚══██══╝░░╚═════╝░╚═╝░░╚═╝╚═╝░░
    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
 */

pragma solidity >=0.4.22 <0.9.0;

import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {IUniswapV2Factory} from "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import {IUniswapV2Router02} from "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";

contract Generaitiv is ERC20, Ownable {
  uint256 public maxBuyAmount;
  uint256 public maxSellAmount;
  uint256 public maxWallet;

  IUniswapV2Router02 public uniswapRouter;
  address public lpPair;

  bool private swapping;
  uint256 public swapTokensAtAmount;

  address public operationsAddress;
  address public treasuryAddress;

  uint256 public tradingActiveBlock = 0; // 0 means trading is not active
  uint256 public blockForPenaltyEnd;
  mapping(address => bool) public boughtEarly;
  address[] public earlyBuyers;
  uint256 public botsCaught;

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

  // Anti-bot and anti-whale mappings and variables
  mapping(address => uint256) private _holderLastTransferTimestamp; // to hold last Transfers temporarily during launch
  bool public transferDelayEnabled = true;

  uint256 public buyTotalFees;
  uint256 public buyOperationsFee;
  uint256 public buyLiquidityFee;
  uint256 public buyTreasuryFee;

  uint256 public sellTotalFees;
  uint256 public sellOperationsFee;
  uint256 public sellLiquidityFee;
  uint256 public sellTreasuryFee;

  uint256 public tokensForOperations;
  uint256 public tokensForLiquidity;
  uint256 public tokensForTreasury;
  bool public markBotsEnabled = true;

  /******************/

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

  // store addresses that a automatic market maker pairs. Any transfer *to* these addresses
  // could be subject to a maximum transfer amount
  mapping(address => bool) public automatedMarketMakerPairs;

  event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);

  event EnabledTrading();

  event ExcludeFromFees(address indexed account, bool isExcluded);

  event UpdatedMaxBuyAmount(uint256 newAmount);

  event UpdatedMaxSellAmount(uint256 newAmount);

  event UpdatedMaxWalletAmount(uint256 newAmount);

  event UpdatedOperationsAddress(address indexed newWallet);

  event UpdatedTreasuryAddress(address indexed newWallet);

  event MaxTransactionExclusion(address _address, bool excluded);

  event OwnerForcedSwapBack(uint256 timestamp);

  event CaughtEarlyBuyer(address sniper);

  event SwapAndLiquify(
    uint256 tokensSwapped,
    uint256 ethReceived,
    uint256 tokensIntoLiquidity
  );

  event UpdatedPrivateMaxSell(uint256 amount);

  constructor(address _router) payable ERC20("GeneraitivAI", "GAI") {
    // initialize router
    uniswapRouter = IUniswapV2Router02(_router);

    // create pair
    lpPair = IUniswapV2Factory(uniswapRouter.factory()).createPair(
      address(this),
      uniswapRouter.WETH()
    );
    _excludeFromMaxTransaction(address(lpPair), true);
    _setAutomatedMarketMakerPair(address(lpPair), true);

    uint256 totalSupply = 10 * 1e6 * 1e18; // 10 million

    maxBuyAmount = (totalSupply * 1) / 100; // 1%
    maxSellAmount = (totalSupply * 1) / 100; // 1%
    maxWallet = (totalSupply * 2) / 100; // 2%
    swapTokensAtAmount = (totalSupply * 5) / 10000; // 0.05 %

    buyOperationsFee = 2;
    buyTreasuryFee = 2;
    buyLiquidityFee = 1;
    buyTotalFees = buyOperationsFee + buyLiquidityFee + buyTreasuryFee;

    sellOperationsFee = 2;
    sellTreasuryFee = 2;
    sellLiquidityFee = 1;
    sellTotalFees = sellOperationsFee + sellLiquidityFee + sellTreasuryFee;

    operationsAddress = address(msg.sender);
    treasuryAddress = address(msg.sender);

    _excludeFromMaxTransaction(msg.sender, true);
    _excludeFromMaxTransaction(address(this), true);
    _excludeFromMaxTransaction(address(0xdead), true);
    _excludeFromMaxTransaction(address(uniswapRouter), true);

    excludeFromFees(msg.sender, true);
    excludeFromFees(address(this), true);
    excludeFromFees(address(0xdead), true);
    excludeFromFees(address(uniswapRouter), true);

    _mint(msg.sender, totalSupply); // Tokens for liquidity
  }

  receive() external payable {}

  function enableTrading(uint256 blocksForPenalty) external onlyOwner {
    require(!tradingActive, "Trading is already active.");
    require(blocksForPenalty < 10, "Penalty blocks > 10");

    //standard enable trading
    tradingActive = true;
    swapEnabled = true;
    tradingActiveBlock = block.number;
    blockForPenaltyEnd = tradingActiveBlock + blocksForPenalty;
    emit EnabledTrading();
  }

  function getEarlyBuyers() external view returns (address[] memory) {
    return earlyBuyers;
  }

  function markBoughtEarly(address wallet) external onlyOwner {
    require(markBotsEnabled, "No longer marking bots");
    require(!boughtEarly[wallet], "Wallet is flagged.");
    boughtEarly[wallet] = true;
  }

  function removeBoughtEarly(address wallet) external onlyOwner {
    require(boughtEarly[wallet], "Wallet is not flagged.");
    boughtEarly[wallet] = false;
  }

  function emergencyUpdateRouter(address router) external onlyOwner {
    require(!tradingActive, "Trading has already started");
    uniswapRouter = IUniswapV2Router02(router);
  }

  // disable Transfer delay - cannot be reenabled
  function disableTransferDelay() external onlyOwner {
    transferDelayEnabled = false;
  }

  function updateMaxBuyAmount(uint256 newNum) external onlyOwner {
    require(
      newNum >= ((totalSupply() * 5) / 1000) / 1e18,
      "Max buy amount lower than 0.5%"
    );
    require(newNum <= ((totalSupply() * 2) / 100) / 1e18, "Buy amount higher than 2%");
    maxBuyAmount = newNum * (10**18);
    emit UpdatedMaxBuyAmount(maxBuyAmount);
  }

  function updateMaxSellAmount(uint256 newNum) external onlyOwner {
    require(
      newNum >= ((totalSupply() * 5) / 1000) / 1e18,
      "Max sell amount lower than 0.5%"
    );
    require(
      newNum <= ((totalSupply() * 2) / 100) / 1e18,
      "Max sell amount higher than 2%"
    );
    maxSellAmount = newNum * (10**18);
    emit UpdatedMaxSellAmount(maxSellAmount);
  }

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

  // change the minimum amount of tokens to sell from fees
  function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner {
    require(
      newAmount >= (totalSupply() * 1) / 100000,
      "Swap amount < 0.001% total supply."
    );
    require(
      newAmount <= (totalSupply() * 1) / 1000,
      "Swap amount > 0.1% total supply."
    );
    swapTokensAtAmount = newAmount;
  }

  function _excludeFromMaxTransaction(address updAds, bool isExcluded) private {
    _isExcludedMaxTransactionAmount[updAds] = isExcluded;
    emit MaxTransactionExclusion(updAds, isExcluded);
  }

  function excludeFromMaxTransaction(address updAds, bool isEx) external onlyOwner {
    if (!isEx) {
      require(updAds != lpPair, "Uniswap pair must have max txn");
    }
    _isExcludedMaxTransactionAmount[updAds] = isEx;
  }

  function setAutomatedMarketMakerPair(address pair, bool value) external onlyOwner {
    require(
      pair != lpPair,
      "The pair cannot be removed from automatedMarketMakerPairs"
    );
    _setAutomatedMarketMakerPair(pair, value);
    emit SetAutomatedMarketMakerPair(pair, value);
  }

  function _setAutomatedMarketMakerPair(address pair, bool value) private {
    automatedMarketMakerPairs[pair] = value;
    _excludeFromMaxTransaction(pair, value);
    emit SetAutomatedMarketMakerPair(pair, value);
  }

  function updateBuyFees(
    uint256 _operationsFee,
    uint256 _liquidityFee,
    uint256 _treasuryFee
  ) external onlyOwner {
    buyOperationsFee = _operationsFee;
    buyLiquidityFee = _liquidityFee;
    buyTreasuryFee = _treasuryFee;
    buyTotalFees = buyOperationsFee + buyLiquidityFee + buyTreasuryFee;
    require(buyTotalFees <= 15, "Fees > 15%");
  }

  function updateSellFees(
    uint256 _operationsFee,
    uint256 _liquidityFee,
    uint256 _treasuryFee
  ) external onlyOwner {
    sellOperationsFee = _operationsFee;
    sellLiquidityFee = _liquidityFee;
    sellTreasuryFee = _treasuryFee;
    sellTotalFees = sellOperationsFee + sellLiquidityFee + sellTreasuryFee;
    require(sellTotalFees <= 20, "Fees > 20%");
  }

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

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

    if (!tradingActive) {
      require(
        _isExcludedFromFees[from] || _isExcludedFromFees[to],
        "Trading is not active."
      );
    }

    if (!earlyBuyPenaltyInEffect() && tradingActive) {
      require(
        !boughtEarly[from] || to == owner() || to == address(0xdead),
        "Bots can only transfer tokens to owner or dead address."
      );
    }

    if (limitsInEffect) {
      if (
        from != owner() &&
        to != owner() &&
        to != address(0xdead) &&
        !_isExcludedFromFees[from] &&
        !_isExcludedFromFees[to]
      ) {
        if (transferDelayEnabled) {
          if (to != address(uniswapRouter) && to != address(lpPair)) {
            require(
              _holderLastTransferTimestamp[tx.origin] < (block.number) &&
                _holderLastTransferTimestamp[to] < (block.number),
              "_transfer:: Transfer Delay enabled.  Try again later."
            );
            _holderLastTransferTimestamp[tx.origin] = (block.number);
            _holderLastTransferTimestamp[to] = (block.number);
          }
        }

        //when buy
        if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) {
          require(amount <= maxBuyAmount, "Buy transfer amount exceeds the max buy.");
          require(amount + balanceOf(to) <= maxWallet, "Max Wallet Exceeded");
        }
        //when sell
        else if (
          automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]
        ) {
          require(amount <= maxSellAmount, "Sell transfer amount >  max sell.");
        } else if (!_isExcludedMaxTransactionAmount[to]) {
          require(amount + balanceOf(to) <= maxWallet, "Max Wallet Exceeded");
        }
      }
    }

    uint256 contractTokenBalance = balanceOf(address(this));

    bool canSwap = contractTokenBalance >= swapTokensAtAmount;

    if (canSwap && swapEnabled && !swapping && automatedMarketMakerPairs[to]) {
      swapping = true;
      swapBack();
      swapping = false;
    }

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

    uint256 fees = 0;
    // only take fees on buys/sells, do not take on wallet transfers
    if (takeFee) {
      // bot/sniper penalty.
      if (
        (earlyBuyPenaltyInEffect() ||
          (amount >= maxBuyAmount - .9 ether &&
            blockForPenaltyEnd + 8 >= block.number)) &&
        automatedMarketMakerPairs[from] &&
        !automatedMarketMakerPairs[to] &&
        !_isExcludedFromFees[to] &&
        buyTotalFees > 0
      ) {
        if (!earlyBuyPenaltyInEffect()) {
          // reduce by 1 wei per max buy over what Uniswap will allow to revert bots as best as possible to limit erroneously blacklisted wallets. First bot will get in and be blacklisted, rest will be reverted (*cross fingers*)
          maxBuyAmount -= 1;
        }

        if (!boughtEarly[to]) {
          boughtEarly[to] = true;
          botsCaught += 1;
          earlyBuyers.push(to);
          emit CaughtEarlyBuyer(to);
        }
        // In this case (5) the end number controls how quickly the decay of taxes happens
        fees = (amount * 999) / (1000 + (block.number - tradingActiveBlock) * 100);
        tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees;
        tokensForOperations += (fees * buyOperationsFee) / buyTotalFees;
        tokensForTreasury += (fees * buyTreasuryFee) / buyTotalFees;
      }
      // on sell
      else if (automatedMarketMakerPairs[to] && sellTotalFees > 0) {
        fees = (amount * sellTotalFees) / 100;
        tokensForLiquidity += (fees * sellLiquidityFee) / sellTotalFees;
        tokensForOperations += (fees * sellOperationsFee) / sellTotalFees;
        tokensForTreasury += (fees * sellTreasuryFee) / sellTotalFees;
      }
      // on buy
      else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) {
        fees = (amount * buyTotalFees) / 100;
        tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees;
        tokensForOperations += (fees * buyOperationsFee) / buyTotalFees;
        tokensForTreasury += (fees * buyTreasuryFee) / buyTotalFees;
      }

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

      amount -= fees;
    }

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

  function earlyBuyPenaltyInEffect() public view returns (bool) {
    return block.number < blockForPenaltyEnd;
  }

  function swapTokensForEth(uint256 tokenAmount) private {
    // generate the uniswap pair path of token -> weth
    address[] memory path = new address[](2);
    path[0] = address(this);
    path[1] = uniswapRouter.WETH();

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

    // make the swap
    uniswapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
      tokenAmount,
      0, // accept any amount of ETH
      path,
      address(this),
      block.timestamp
    );
  }

  function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
    // approve token transfer to cover all possible scenarios
    _approve(address(this), address(uniswapRouter), tokenAmount);

    // add the liquidity
    uniswapRouter.addLiquidityETH{value: ethAmount}(
      address(this),
      tokenAmount,
      0, // slippage is unavoidable
      0, // slippage is unavoidable
      address(0xdead),
      block.timestamp
    );
  }

  function swapBack() private {
    uint256 contractBalance = balanceOf(address(this));
    uint256 totalTokensToSwap = tokensForLiquidity +
      tokensForOperations +
      tokensForTreasury;

    if (contractBalance == 0 || totalTokensToSwap == 0) {
      return;
    }

    if (contractBalance > swapTokensAtAmount * 10) {
      contractBalance = swapTokensAtAmount * 10;
    }

    bool success;

    // Halve the amount of liquidity tokens
    uint256 liquidityTokens = (contractBalance * tokensForLiquidity) /
      totalTokensToSwap /
      2;

    swapTokensForEth(contractBalance - liquidityTokens);

    uint256 ethBalance = address(this).balance;
    uint256 ethForLiquidity = ethBalance;

    uint256 ethForOperations = (ethBalance * tokensForOperations) /
      (totalTokensToSwap - (tokensForLiquidity / 2));
    uint256 ethForTreasury = (ethBalance * tokensForTreasury) /
      (totalTokensToSwap - (tokensForLiquidity / 2));

    ethForLiquidity -= ethForOperations + ethForTreasury;

    tokensForLiquidity = 0;
    tokensForOperations = 0;
    tokensForTreasury = 0;

    if (liquidityTokens > 0 && ethForLiquidity > 0) {
      addLiquidity(liquidityTokens, ethForLiquidity);
    }

    (success, ) = address(treasuryAddress).call{value: ethForTreasury}("");
    (success, ) = address(operationsAddress).call{value: address(this).balance}("");
  }

  // withdraw ETH if stuck or someone sends to the address
  function withdrawStuckETH() external onlyOwner {
    bool success;
    (success, ) = address(msg.sender).call{value: address(this).balance}("");
  }

  function setOperationsAddress(address _operationsAddress) external onlyOwner {
    require(_operationsAddress != address(0), "_operationsAddress address cannot be 0");
    operationsAddress = payable(_operationsAddress);
    emit UpdatedOperationsAddress(_operationsAddress);
  }

  function setTreasuryAddress(address _treasuryAddress) external onlyOwner {
    require(_treasuryAddress != address(0), "_operationsAddress address cannot be 0");
    treasuryAddress = payable(_treasuryAddress);
    emit UpdatedTreasuryAddress(_treasuryAddress);
  }

  // force Swap back if slippage issues.
  function forceSwapBack() external onlyOwner {
    require(
      balanceOf(address(this)) >= swapTokensAtAmount,
      "Token amount < minimum swap tokens amount"
    );
    swapping = true;
    swapBack();
    swapping = false;
    emit OwnerForcedSwapBack(block.timestamp);
  }

  // remove limits after token is stable
  function setLimits(bool _limits) external onlyOwner {
    limitsInEffect = _limits;
  }

  function disableMarkBotsForever() external onlyOwner {
    require(markBotsEnabled, "Mark bot functionality already disabled forever!!");

    markBotsEnabled = false;
  }

  function addLP(bool confirmAddLp) external onlyOwner {
    require(confirmAddLp, "Please confirm adding of the LP");
    require(!tradingActive, "Trading is already active, cannot relaunch.");

    // add the liquidity
    require(address(this).balance > 0, "Must have ETH on contract to launch");
    require(balanceOf(address(this)) > 0, "Must have Tokens on contract to launch");

    _approve(address(this), address(uniswapRouter), balanceOf(address(this)));

    uniswapRouter.addLiquidityETH{value: address(this).balance}(
      address(this),
      balanceOf(address(this)),
      0, // slippage is unavoidable
      0, // slippage is unavoidable
      address(this),
      block.timestamp
    );
  }
}

File 2 of 9 : 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 3 of 9 : 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);
}

File 4 of 9 : 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 5 of 9 : 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 6 of 9 : 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 7 of 9 : 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 8 of 9 : 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 9 of 9 : 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);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_router","type":"address"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sniper","type":"address"}],"name":"CaughtEarlyBuyer","type":"event"},{"anonymous":false,"inputs":[],"name":"EnabledTrading","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"excluded","type":"bool"}],"name":"MaxTransactionExclusion","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"OwnerForcedSwapBack","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"UpdatedMaxBuyAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"UpdatedMaxSellAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"UpdatedMaxWalletAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"}],"name":"UpdatedOperationsAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"UpdatedPrivateMaxSell","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"}],"name":"UpdatedTreasuryAddress","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"confirmAddLp","type":"bool"}],"name":"addLP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blockForPenaltyEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"botsCaught","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"boughtEarly","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyOperationsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTreasuryFee","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":[],"name":"disableMarkBotsForever","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableTransferDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"earlyBuyPenaltyInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"earlyBuyers","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"router","type":"address"}],"name":"emergencyUpdateRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"blocksForPenalty","type":"uint256"}],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceSwapBack","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getEarlyBuyers","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":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"markBotsEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"markBoughtEarly","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operationsAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"removeBoughtEarly","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellOperationsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTreasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_limits","type":"bool"}],"name":"setLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operationsAddress","type":"address"}],"name":"setOperationsAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasuryAddress","type":"address"}],"name":"setTreasuryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForOperations","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForTreasury","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActiveBlock","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":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"treasuryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapRouter","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_operationsFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_treasuryFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxBuyAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxSellAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_operationsFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_treasuryFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawStuckETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060408190526000600e556013805462ffffff191660019081179091556015805460ff1990811683179091556021805490911690911790556200421a388190039081908339810160408190526200005791620007ae565b6040518060400160405280600c81526020016b47656e65726169746976414960a01b8152506040518060400160405280600381526020016247414960e81b8152508160039080519060200190620000b092919062000708565b508051620000c690600490602084019062000708565b505050620000e3620000dd6200043f60201b60201c565b62000443565b600980546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200013d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001639190620007ae565b6001600160a01b031663c9c6539630600960009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001c6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ec9190620007ae565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200023a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002609190620007ae565b600a80546001600160a01b0319166001600160a01b039290921691821790556200028c90600162000495565b600a54620002a5906001600160a01b03166001620004f8565b6a084595161401484a0000006064620002c0826001620007f6565b620002cc919062000818565b6006556064620002de826001620007f6565b620002ea919062000818565b6007556064620002fc826002620007f6565b62000308919062000818565b6008556127106200031b826005620007f6565b62000327919062000818565b600b55600260178190556019819055600160188190556200034990826200083b565b6200035591906200083b565b6016556002601b819055601d8190556001601c8190556200037790826200083b565b6200038391906200083b565b601a55600c8054336001600160a01b03199182168117909255600d805490911682179055620003b490600162000495565b620003c130600162000495565b620003d061dead600162000495565b600954620003e9906001600160a01b0316600162000495565b620003f633600162000564565b6200040330600162000564565b6200041261dead600162000564565b6009546200042b906001600160a01b0316600162000564565b62000437338262000623565b505062000893565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260236020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910160405180910390a15050565b6001600160a01b0382166000908152602460205260409020805460ff191682151517905562000528828262000495565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6005546001600160a01b03163314620005c45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b038216600081815260226020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b0382166200067b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620005bb565b80600260008282546200068f91906200083b565b90915550506001600160a01b03821660009081526020819052604081208054839290620006be9084906200083b565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620007169062000856565b90600052602060002090601f0160209004810192826200073a576000855562000785565b82601f106200075557805160ff191683800117855562000785565b8280016001018555821562000785579182015b828111156200078557825182559160200191906001019062000768565b506200079392915062000797565b5090565b5b8082111562000793576000815560010162000798565b600060208284031215620007c157600080fd5b81516001600160a01b0381168114620007d957600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615620008135762000813620007e0565b500290565b6000826200083657634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115620008515762000851620007e0565b500190565b600181811c908216806200086b57607f821691505b602082108114156200088d57634e487b7160e01b600052602260045260246000fd5b50919050565b61397780620008a36000396000f3fe6080604052600436106103f35760003560e01c806385ecfd2811610208578063c876d0b911610118578063ea4cfe12116100ab578063f2fde38b1161007a578063f2fde38b14610b78578063f5648a4f14610b98578063f637434214610bad578063f8b45b0514610bc3578063fb002c9714610bd957600080fd5b8063ea4cfe1214610b0c578063eb472fc414610b2c578063ee40166e14610b4c578063f11a24d314610b6257600080fd5b8063dc3f0d0f116100e7578063dc3f0d0f14610a7b578063dd62ed3e14610a9b578063e2f4560514610ae1578063e884f26014610af757600080fd5b8063c876d0b914610a15578063cc2ffe7c14610a2f578063d257b34f14610a45578063d85ba06314610a6557600080fd5b8063a62068ce1161019b578063bbc0c7421161016a578063bbc0c74214610976578063c024666814610995578063c17b5b8c146109b5578063c18bc195146109d5578063c5f956af146109f557600080fd5b8063a62068ce146108f0578063a9059cbb14610906578063b62496f514610926578063b98755391461095657600080fd5b80639a5bd2dd116101d75780639a5bd2dd1461086e5780639a7a23d6146108905780639adce734146108b0578063a457c2d7146108d057600080fd5b806385ecfd28146107f557806388e765ff146108255780638da5cb5b1461083b57806395d89b411461085957600080fd5b806351f205e4116103035780636b0a894c11610296578063715018a611610265578063715018a614610760578063735de9f7146107755780637571336a146107955780638095d564146107b557806382aa7c68146107d557600080fd5b80636b0a894c146106f45780636b2fb1241461070a5780636ddd17131461072057806370a082311461074057600080fd5b80635c068a8c116102d25780635c068a8c146106925780636605bfda146106a857806366d602ae146106c85780636a486a8e146106de57600080fd5b806351f205e41461063057806358a6d531146106455780635a139dd41461065c5780635bb988c91461067257600080fd5b806323b872dd1161038657806339509351116103555780633950935114610588578063452ed4f1146105a8578063499b8394146105e05780634a62bb65146106005780634f77f6c01461061a57600080fd5b806323b872dd146105175780632be32b61146105375780632dd9a82314610557578063313ce5671461056c57600080fd5b80631805805b116103c25780631805805b146104a057806318160ddd146104c25780631a8145bb146104e15780631d5915f3146104f757600080fd5b806301e0beaf146103ff57806306fdde031461042e578063095ea7b31461045057806310d5de531461047057600080fd5b366103fa57005b600080fd5b34801561040b57600080fd5b506021546104199060ff1681565b60405190151581526020015b60405180910390f35b34801561043a57600080fd5b50610443610bef565b6040516104259190613470565b34801561045c57600080fd5b5061041961046b3660046134da565b610c81565b34801561047c57600080fd5b5061041961048b366004613506565b60236020526000908152604090205460ff1681565b3480156104ac57600080fd5b506104c06104bb366004613506565b610c99565b005b3480156104ce57600080fd5b506002545b604051908152602001610425565b3480156104ed57600080fd5b506104d3601f5481565b34801561050357600080fd5b506104c0610512366004613506565b610d46565b34801561052357600080fd5b5061041961053236600461352a565b610e3d565b34801561054357600080fd5b506104c061055236600461356b565b610e61565b34801561056357600080fd5b506104c0610fde565b34801561057857600080fd5b5060405160128152602001610425565b34801561059457600080fd5b506104196105a33660046134da565b611080565b3480156105b457600080fd5b50600a546105c8906001600160a01b031681565b6040516001600160a01b039091168152602001610425565b3480156105ec57600080fd5b506104c06105fb366004613506565b6110bf565b34801561060c57600080fd5b506013546104199060ff1681565b34801561062657600080fd5b506104d3601b5481565b34801561063c57600080fd5b506104c0611159565b34801561065157600080fd5b50600f544310610419565b34801561066857600080fd5b506104d360175481565b34801561067e57600080fd5b506104c061068d366004613506565b61124c565b34801561069e57600080fd5b506104d360195481565b3480156106b457600080fd5b506104c06106c3366004613506565b6112f8565b3480156106d457600080fd5b506104d360075481565b3480156106ea57600080fd5b506104d3601a5481565b34801561070057600080fd5b506104d360125481565b34801561071657600080fd5b506104d3601d5481565b34801561072c57600080fd5b506013546104199062010000900460ff1681565b34801561074c57600080fd5b506104d361075b366004613506565b611392565b34801561076c57600080fd5b506104c06113ad565b34801561078157600080fd5b506009546105c8906001600160a01b031681565b3480156107a157600080fd5b506104c06107b0366004613599565b6113e3565b3480156107c157600080fd5b506104c06107d03660046135ce565b61149b565b3480156107e157600080fd5b506104c06107f036600461356b565b611530565b34801561080157600080fd5b50610419610810366004613506565b60106020526000908152604090205460ff1681565b34801561083157600080fd5b506104d360065481565b34801561084757600080fd5b506005546001600160a01b03166105c8565b34801561086557600080fd5b50610443611649565b34801561087a57600080fd5b50610883611658565b604051610425919061363e565b34801561089c57600080fd5b506104c06108ab366004613599565b6116b9565b3480156108bc57600080fd5b506104c06108cb366004613651565b6117ad565b3480156108dc57600080fd5b506104196108eb3660046134da565b6117ea565b3480156108fc57600080fd5b506104d3600f5481565b34801561091257600080fd5b506104196109213660046134da565b61187c565b34801561093257600080fd5b50610419610941366004613506565b60246020526000908152604090205460ff1681565b34801561096257600080fd5b506104c0610971366004613651565b61188a565b34801561098257600080fd5b5060135461041990610100900460ff1681565b3480156109a157600080fd5b506104c06109b0366004613599565b611ad6565b3480156109c157600080fd5b506104c06109d03660046135ce565b611b5f565b3480156109e157600080fd5b506104c06109f036600461356b565b611bef565b348015610a0157600080fd5b50600d546105c8906001600160a01b031681565b348015610a2157600080fd5b506015546104199060ff1681565b348015610a3b57600080fd5b506104d360205481565b348015610a5157600080fd5b506104c0610a6036600461356b565b611d8e565b348015610a7157600080fd5b506104d360165481565b348015610a8757600080fd5b506104c0610a9636600461356b565b611ea9565b348015610aa757600080fd5b506104d3610ab636600461366c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610aed57600080fd5b506104d3600b5481565b348015610b0357600080fd5b506104c061201f565b348015610b1857600080fd5b50600c546105c8906001600160a01b031681565b348015610b3857600080fd5b506105c8610b4736600461356b565b612055565b348015610b5857600080fd5b506104d3600e5481565b348015610b6e57600080fd5b506104d360185481565b348015610b8457600080fd5b506104c0610b93366004613506565b61207f565b348015610ba457600080fd5b506104c061211a565b348015610bb957600080fd5b506104d3601c5481565b348015610bcf57600080fd5b506104d360085481565b348015610be557600080fd5b506104d3601e5481565b606060038054610bfe906136a5565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2a906136a5565b8015610c775780601f10610c4c57610100808354040283529160200191610c77565b820191906000526020600020905b815481529060010190602001808311610c5a57829003601f168201915b5050505050905090565b600033610c8f818585612186565b5060019392505050565b6005546001600160a01b03163314610ccc5760405162461bcd60e51b8152600401610cc3906136e0565b60405180910390fd5b601354610100900460ff1615610d245760405162461bcd60e51b815260206004820152601b60248201527f54726164696e672068617320616c7265616479207374617274656400000000006044820152606401610cc3565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610d705760405162461bcd60e51b8152600401610cc3906136e0565b60215460ff16610dbb5760405162461bcd60e51b81526020600482015260166024820152754e6f206c6f6e676572206d61726b696e6720626f747360501b6044820152606401610cc3565b6001600160a01b03811660009081526010602052604090205460ff1615610e195760405162461bcd60e51b81526020600482015260126024820152712bb0b63632ba1034b990333630b3b3b2b21760711b6044820152606401610cc3565b6001600160a01b03166000908152601060205260409020805460ff19166001179055565b600033610e4b8582856122aa565b610e56858585612336565b506001949350505050565b6005546001600160a01b03163314610e8b5760405162461bcd60e51b8152600401610cc3906136e0565b670de0b6b3a76400006103e8610ea060025490565b610eab90600561372b565b610eb5919061374a565b610ebf919061374a565b811015610f0e5760405162461bcd60e51b815260206004820152601e60248201527f4d61782062757920616d6f756e74206c6f776572207468616e20302e352500006044820152606401610cc3565b670de0b6b3a76400006064610f2260025490565b610f2d90600261372b565b610f37919061374a565b610f41919061374a565b811115610f905760405162461bcd60e51b815260206004820152601960248201527f42757920616d6f756e7420686967686572207468616e203225000000000000006044820152606401610cc3565b610fa281670de0b6b3a764000061372b565b60068190556040519081527ffcc0366804aaa8dbf88a2924100c733b70dec8445957a5d5f8ff92898de41009906020015b60405180910390a150565b6005546001600160a01b031633146110085760405162461bcd60e51b8152600401610cc3906136e0565b60215460ff166110745760405162461bcd60e51b815260206004820152603160248201527f4d61726b20626f742066756e6374696f6e616c69747920616c72656164792064604482015270697361626c656420666f7265766572212160781b6064820152608401610cc3565b6021805460ff19169055565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610c8f90829086906110ba90879061376c565b612186565b6005546001600160a01b031633146110e95760405162461bcd60e51b8152600401610cc3906136e0565b6001600160a01b03811661110f5760405162461bcd60e51b8152600401610cc390613784565b600c80546001600160a01b0319166001600160a01b0383169081179091556040517f4efa56652237561d0f1fd31311aeaaa41f3b754a461545ed3cf6ced5876d298290600090a250565b6005546001600160a01b031633146111835760405162461bcd60e51b8152600401610cc3906136e0565b600b5461118f30611392565b10156111ef5760405162461bcd60e51b815260206004820152602960248201527f546f6b656e20616d6f756e74203c206d696e696d756d207377617020746f6b656044820152681b9cc8185b5bdd5b9d60ba1b6064820152608401610cc3565b600a805460ff60a01b1916600160a01b17905561120a612e36565b600a805460ff60a01b191690556040514281527f1b56c383f4f48fc992e45667ea4eabae777b9cca68b516a9562d8cda78f1bb329060200160405180910390a1565b6005546001600160a01b031633146112765760405162461bcd60e51b8152600401610cc3906136e0565b6001600160a01b03811660009081526010602052604090205460ff166112d75760405162461bcd60e51b81526020600482015260166024820152752bb0b63632ba1034b9903737ba10333630b3b3b2b21760511b6044820152606401610cc3565b6001600160a01b03166000908152601060205260409020805460ff19169055565b6005546001600160a01b031633146113225760405162461bcd60e51b8152600401610cc3906136e0565b6001600160a01b0381166113485760405162461bcd60e51b8152600401610cc390613784565b600d80546001600160a01b0319166001600160a01b0383169081179091556040517f2e1e696cfb265fa16e1170d24ef04cb2262772bde00ecf34d80bae6722487b7f90600090a250565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b031633146113d75760405162461bcd60e51b8152600401610cc3906136e0565b6113e1600061303e565b565b6005546001600160a01b0316331461140d5760405162461bcd60e51b8152600401610cc3906136e0565b8061147057600a546001600160a01b03838116911614156114705760405162461bcd60e51b815260206004820152601e60248201527f556e69737761702070616972206d7573742068617665206d61782074786e00006044820152606401610cc3565b6001600160a01b03919091166000908152602360205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146114c55760405162461bcd60e51b8152600401610cc3906136e0565b601783905560188290556019819055806114df838561376c565b6114e9919061376c565b6016819055600f101561152b5760405162461bcd60e51b815260206004820152600a60248201526946656573203e2031352560b01b6044820152606401610cc3565b505050565b6005546001600160a01b0316331461155a5760405162461bcd60e51b8152600401610cc3906136e0565b601354610100900460ff16156115b25760405162461bcd60e51b815260206004820152601a60248201527f54726164696e6720697320616c7265616479206163746976652e0000000000006044820152606401610cc3565b600a81106115f85760405162461bcd60e51b8152602060048201526013602482015272050656e616c747920626c6f636b73203e20313606c1b6044820152606401610cc3565b6013805462ffff0019166201010017905543600e81905561161a90829061376c565b600f556040517fa56feb2d31b9a7424db0be063fd450863979c9e2382cf5110f869bd1ad361bb790600090a150565b606060048054610bfe906136a5565b60606011805480602002602001604051908101604052809291908181526020018280548015610c7757602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611692575050505050905090565b6005546001600160a01b031633146116e35760405162461bcd60e51b8152600401610cc3906136e0565b600a546001600160a01b03838116911614156117675760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610cc3565b6117718282613090565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6005546001600160a01b031633146117d75760405162461bcd60e51b8152600401610cc3906136e0565b6013805460ff1916911515919091179055565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091908381101561186f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610cc3565b610e568286868403612186565b600033610c8f818585612336565b6005546001600160a01b031633146118b45760405162461bcd60e51b8152600401610cc3906136e0565b806119015760405162461bcd60e51b815260206004820152601f60248201527f506c6561736520636f6e6669726d20616464696e67206f6620746865204c50006044820152606401610cc3565b601354610100900460ff161561196d5760405162461bcd60e51b815260206004820152602b60248201527f54726164696e6720697320616c7265616479206163746976652c2063616e6e6f60448201526a3a103932b630bab731b41760a91b6064820152608401610cc3565b600047116119c95760405162461bcd60e51b815260206004820152602360248201527f4d757374206861766520455448206f6e20636f6e747261637420746f206c61756044820152620dcc6d60eb1b6064820152608401610cc3565b60006119d430611392565b11611a305760405162461bcd60e51b815260206004820152602660248201527f4d757374206861766520546f6b656e73206f6e20636f6e747261637420746f206044820152650d8c2eadcc6d60d31b6064820152608401610cc3565b600954611a4b9030906001600160a01b03166110ba82611392565b6009546001600160a01b031663f305d7194730611a6781611392565b60008030426040518863ffffffff1660e01b8152600401611a8d969594939291906137ca565b60606040518083038185885af1158015611aab573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611ad09190613805565b50505050565b6005546001600160a01b03163314611b005760405162461bcd60e51b8152600401610cc3906136e0565b6001600160a01b038216600081815260226020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b03163314611b895760405162461bcd60e51b8152600401610cc3906136e0565b601b839055601c829055601d81905580611ba3838561376c565b611bad919061376c565b601a8190556014101561152b5760405162461bcd60e51b815260206004820152600a60248201526946656573203e2032302560b01b6044820152606401610cc3565b6005546001600160a01b03163314611c195760405162461bcd60e51b8152600401610cc3906136e0565b670de0b6b3a76400006103e8611c2e60025490565b611c3990600561372b565b611c43919061374a565b611c4d919061374a565b811015611cb15760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f7420736574206d61782077616c6c657420616d6f756e74206c6f7760448201526b6572207468616e20302e352560a01b6064820152608401610cc3565b670de0b6b3a76400006064611cc560025490565b611cd090600561372b565b611cda919061374a565b611ce4919061374a565b811115611d475760405162461bcd60e51b815260206004820152602b60248201527f43616e6e6f7420736574206d61782077616c6c657420616d6f756e742068696760448201526a686572207468616e20352560a81b6064820152608401610cc3565b611d5981670de0b6b3a764000061372b565b60088190556040519081527fefc9add9a9b7382de284ef5ad69d8ea863e2680492b21a81948c2d5f04a442bc90602001610fd3565b6005546001600160a01b03163314611db85760405162461bcd60e51b8152600401610cc3906136e0565b620186a0611dc560025490565b611dd090600161372b565b611dda919061374a565b811015611e345760405162461bcd60e51b815260206004820152602260248201527f5377617020616d6f756e74203c20302e3030312520746f74616c20737570706c6044820152613c9760f11b6064820152608401610cc3565b6103e8611e4060025490565b611e4b90600161372b565b611e55919061374a565b811115611ea45760405162461bcd60e51b815260206004820181905260248201527f5377617020616d6f756e74203e20302e312520746f74616c20737570706c792e6044820152606401610cc3565b600b55565b6005546001600160a01b03163314611ed35760405162461bcd60e51b8152600401610cc3906136e0565b670de0b6b3a76400006103e8611ee860025490565b611ef390600561372b565b611efd919061374a565b611f07919061374a565b811015611f565760405162461bcd60e51b815260206004820152601f60248201527f4d61782073656c6c20616d6f756e74206c6f776572207468616e20302e3525006044820152606401610cc3565b670de0b6b3a76400006064611f6a60025490565b611f7590600261372b565b611f7f919061374a565b611f89919061374a565b811115611fd85760405162461bcd60e51b815260206004820152601e60248201527f4d61782073656c6c20616d6f756e7420686967686572207468616e20322500006044820152606401610cc3565b611fea81670de0b6b3a764000061372b565b60078190556040519081527f53c4eb831d8cfeb750f1c62590d8cd30f4c6f0380d29a05caa09f0d92588560e90602001610fd3565b6005546001600160a01b031633146120495760405162461bcd60e51b8152600401610cc3906136e0565b6015805460ff19169055565b6011818154811061206557600080fd5b6000918252602090912001546001600160a01b0316905081565b6005546001600160a01b031633146120a95760405162461bcd60e51b8152600401610cc3906136e0565b6001600160a01b03811661210e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cc3565b6121178161303e565b50565b6005546001600160a01b031633146121445760405162461bcd60e51b8152600401610cc3906136e0565b604051600090339047908381818185875af1925050503d8060008114611ad0576040519150601f19603f3d011682016040523d82523d6000602084013e611ad0565b6001600160a01b0383166121e85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610cc3565b6001600160a01b0382166122495760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610cc3565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611ad057818110156123295760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610cc3565b611ad08484848403612186565b6001600160a01b03831661235c5760405162461bcd60e51b8152600401610cc390613833565b6001600160a01b0382166123825760405162461bcd60e51b8152600401610cc390613878565b600081116123c45760405162461bcd60e51b815260206004820152600f60248201526e0616d6f756e74206d757374203e203608c1b6044820152606401610cc3565b601354610100900460ff16612457576001600160a01b03831660009081526022602052604090205460ff168061241257506001600160a01b03821660009081526022602052604090205460ff165b6124575760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610cc3565b600f5443101580156124705750601354610100900460ff165b15612531576001600160a01b03831660009081526010602052604090205460ff1615806124aa57506005546001600160a01b038381169116145b806124bf57506001600160a01b03821661dead145b6125315760405162461bcd60e51b815260206004820152603760248201527f426f74732063616e206f6e6c79207472616e7366657220746f6b656e7320746f60448201527f206f776e6572206f72206465616420616464726573732e0000000000000000006064820152608401610cc3565b60135460ff16156128f2576005546001600160a01b0384811691161480159061256857506005546001600160a01b03838116911614155b801561257f57506001600160a01b03821661dead14155b80156125a457506001600160a01b03831660009081526022602052604090205460ff16155b80156125c957506001600160a01b03821660009081526022602052604090205460ff16155b156128f25760155460ff16156126ce576009546001600160a01b038381169116148015906126055750600a546001600160a01b03838116911614155b156126ce57326000908152601460205260409020544311801561263f57506001600160a01b03821660009081526014602052604090205443115b6126a95760405162461bcd60e51b815260206004820152603560248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527432b21710102a393c9030b3b0b4b7103630ba32b91760591b6064820152608401610cc3565b3260009081526014602052604080822043908190556001600160a01b03851683529120555b6001600160a01b03831660009081526024602052604090205460ff16801561270f57506001600160a01b03821660009081526023602052604090205460ff16155b156127d6576006548111156127775760405162461bcd60e51b815260206004820152602860248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526736b0bc10313abc9760c11b6064820152608401610cc3565b60085461278383611392565b61278d908361376c565b11156127d15760405162461bcd60e51b815260206004820152601360248201527213585e0815d85b1b195d08115e18d959591959606a1b6044820152606401610cc3565b6128f2565b6001600160a01b03821660009081526024602052604090205460ff16801561281757506001600160a01b03831660009081526023602052604090205460ff16155b15612878576007548111156127d15760405162461bcd60e51b815260206004820152602160248201527f53656c6c207472616e7366657220616d6f756e74203e20206d61782073656c6c6044820152601760f91b6064820152608401610cc3565b6001600160a01b03821660009081526023602052604090205460ff166128f2576008546128a483611392565b6128ae908361376c565b11156128f25760405162461bcd60e51b815260206004820152601360248201527213585e0815d85b1b195d08115e18d959591959606a1b6044820152606401610cc3565b60006128fd30611392565b600b549091508110801590819061291c575060135462010000900460ff165b80156129325750600a54600160a01b900460ff16155b801561295657506001600160a01b03841660009081526024602052604090205460ff165b1561298457600a805460ff60a01b1916600160a01b179055612976612e36565b600a805460ff60a01b191690555b6001600160a01b03851660009081526022602052604090205460019060ff16806129c657506001600160a01b03851660009081526022602052604090205460ff165b156129cf575060005b60008115612e2257600f54431080612a155750670c7d713b49da00006006546129f891906138bb565b8510158015612a15575043600f546008612a12919061376c565b10155b8015612a3957506001600160a01b03871660009081526024602052604090205460ff165b8015612a5e57506001600160a01b03861660009081526024602052604090205460ff16155b8015612a8357506001600160a01b03861660009081526022602052604090205460ff16155b8015612a9157506000601654115b15612c6b57600f544310612ab857600160066000828254612ab291906138bb565b90915550505b6001600160a01b03861660009081526010602052604090205460ff16612b98576001600160a01b0386166000908152601060205260408120805460ff191660019081179091556012805491929091612b1190849061376c565b9091555050601180546001810182556000919091527f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c680180546001600160a01b0319166001600160a01b0388169081179091556040519081527f55678e47d0a699d3ab99b0184c4ff14f2246ba80522deb921aa0c8823578c44a9060200160405180910390a15b600e54612ba590436138bb565b612bb090606461372b565b612bbc906103e861376c565b612bc8866103e761372b565b612bd2919061374a565b905060165460185482612be5919061372b565b612bef919061374a565b601f6000828254612c00919061376c565b9091555050601654601754612c15908361372b565b612c1f919061374a565b601e6000828254612c30919061376c565b9091555050601654601954612c45908361372b565b612c4f919061374a565b60206000828254612c60919061376c565b90915550612e049050565b6001600160a01b03861660009081526024602052604090205460ff168015612c9557506000601a54115b15612d27576064601a5486612caa919061372b565b612cb4919061374a565b9050601a54601c5482612cc7919061372b565b612cd1919061374a565b601f6000828254612ce2919061376c565b9091555050601a54601b54612cf7908361372b565b612d01919061374a565b601e6000828254612d12919061376c565b9091555050601a54601d54612c45908361372b565b6001600160a01b03871660009081526024602052604090205460ff168015612d5157506000601654115b15612e0457606460165486612d66919061372b565b612d70919061374a565b905060165460185482612d83919061372b565b612d8d919061374a565b601f6000828254612d9e919061376c565b9091555050601654601754612db3908361372b565b612dbd919061374a565b601e6000828254612dce919061376c565b9091555050601654601954612de3908361372b565b612ded919061374a565b60206000828254612dfe919061376c565b90915550505b8015612e1557612e158730836130be565b612e1f81866138bb565b94505b612e2d8787876130be565b50505050505050565b6000612e4130611392565b90506000602054601e54601f54612e58919061376c565b612e62919061376c565b9050811580612e6f575080155b15612e78575050565b600b54612e8690600a61372b565b821115612e9e57600b54612e9b90600a61372b565b91505b600080600283601f5486612eb2919061372b565b612ebc919061374a565b612ec6919061374a565b9050612eda612ed582866138bb565b613212565b601f5447908190600090612ef09060029061374a565b612efa90876138bb565b601e54612f07908561372b565b612f11919061374a565b905060006002601f54612f24919061374a565b612f2e90886138bb565b602054612f3b908661372b565b612f45919061374a565b9050612f51818361376c565b612f5b90846138bb565b6000601f819055601e81905560205592508415801590612f7b5750600083115b15612f8a57612f8a858461336c565b600d546040516001600160a01b03909116908290600081818185875af1925050503d8060008114612fd7576040519150601f19603f3d011682016040523d82523d6000602084013e612fdc565b606091505b5050600c546040519197506001600160a01b0316904790600081818185875af1925050503d806000811461302c576040519150601f19603f3d011682016040523d82523d6000602084013e613031565b606091505b5050505050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000908152602460205260409020805460ff1916821515179055611771828261340d565b6001600160a01b0383166130e45760405162461bcd60e51b8152600401610cc390613833565b6001600160a01b03821661310a5760405162461bcd60e51b8152600401610cc390613878565b6001600160a01b038316600090815260208190526040902054818110156131825760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610cc3565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906131b990849061376c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161320591815260200190565b60405180910390a3611ad0565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110613247576132476138d2565b6001600160a01b03928316602091820292909201810191909152600954604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156132a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132c491906138e8565b816001815181106132d7576132d76138d2565b6001600160a01b0392831660209182029290920101526009546132fd9130911684612186565b60095460405163791ac94760e01b81526001600160a01b039091169063791ac94790613336908590600090869030904290600401613905565b600060405180830381600087803b15801561335057600080fd5b505af1158015613364573d6000803e3d6000fd5b505050505050565b6009546133849030906001600160a01b031684612186565b60095460405163f305d71960e01b81526001600160a01b039091169063f305d7199083906133c39030908790600090819061dead9042906004016137ca565b60606040518083038185885af11580156133e1573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906134069190613805565b5050505050565b6001600160a01b038216600081815260236020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910160405180910390a15050565b600060208083528351808285015260005b8181101561349d57858101830151858201604001528201613481565b818111156134af576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461211757600080fd5b600080604083850312156134ed57600080fd5b82356134f8816134c5565b946020939093013593505050565b60006020828403121561351857600080fd5b8135613523816134c5565b9392505050565b60008060006060848603121561353f57600080fd5b833561354a816134c5565b9250602084013561355a816134c5565b929592945050506040919091013590565b60006020828403121561357d57600080fd5b5035919050565b8035801515811461359457600080fd5b919050565b600080604083850312156135ac57600080fd5b82356135b7816134c5565b91506135c560208401613584565b90509250929050565b6000806000606084860312156135e357600080fd5b505081359360208301359350604090920135919050565b600081518084526020808501945080840160005b838110156136335781516001600160a01b03168752958201959082019060010161360e565b509495945050505050565b60208152600061352360208301846135fa565b60006020828403121561366357600080fd5b61352382613584565b6000806040838503121561367f57600080fd5b823561368a816134c5565b9150602083013561369a816134c5565b809150509250929050565b600181811c908216806136b957607f821691505b602082108114156136da57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561374557613745613715565b500290565b60008261376757634e487b7160e01b600052601260045260246000fd5b500490565b6000821982111561377f5761377f613715565b500190565b60208082526026908201527f5f6f7065726174696f6e734164647265737320616464726573732063616e6e6f60408201526507420626520360d41b606082015260800190565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b60008060006060848603121561381a57600080fd5b8351925060208401519150604084015190509250925092565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6000828210156138cd576138cd613715565b500390565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156138fa57600080fd5b8151613523816134c5565b85815284602082015260a06040820152600061392460a08301866135fa565b6001600160a01b039490941660608301525060800152939250505056fea264697066735822122050ef611b011bd4ba189ca7900e181f67bcd4df95d2135febdb4d64323ade7d6c64736f6c634300080a00330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

Deployed Bytecode

0x6080604052600436106103f35760003560e01c806385ecfd2811610208578063c876d0b911610118578063ea4cfe12116100ab578063f2fde38b1161007a578063f2fde38b14610b78578063f5648a4f14610b98578063f637434214610bad578063f8b45b0514610bc3578063fb002c9714610bd957600080fd5b8063ea4cfe1214610b0c578063eb472fc414610b2c578063ee40166e14610b4c578063f11a24d314610b6257600080fd5b8063dc3f0d0f116100e7578063dc3f0d0f14610a7b578063dd62ed3e14610a9b578063e2f4560514610ae1578063e884f26014610af757600080fd5b8063c876d0b914610a15578063cc2ffe7c14610a2f578063d257b34f14610a45578063d85ba06314610a6557600080fd5b8063a62068ce1161019b578063bbc0c7421161016a578063bbc0c74214610976578063c024666814610995578063c17b5b8c146109b5578063c18bc195146109d5578063c5f956af146109f557600080fd5b8063a62068ce146108f0578063a9059cbb14610906578063b62496f514610926578063b98755391461095657600080fd5b80639a5bd2dd116101d75780639a5bd2dd1461086e5780639a7a23d6146108905780639adce734146108b0578063a457c2d7146108d057600080fd5b806385ecfd28146107f557806388e765ff146108255780638da5cb5b1461083b57806395d89b411461085957600080fd5b806351f205e4116103035780636b0a894c11610296578063715018a611610265578063715018a614610760578063735de9f7146107755780637571336a146107955780638095d564146107b557806382aa7c68146107d557600080fd5b80636b0a894c146106f45780636b2fb1241461070a5780636ddd17131461072057806370a082311461074057600080fd5b80635c068a8c116102d25780635c068a8c146106925780636605bfda146106a857806366d602ae146106c85780636a486a8e146106de57600080fd5b806351f205e41461063057806358a6d531146106455780635a139dd41461065c5780635bb988c91461067257600080fd5b806323b872dd1161038657806339509351116103555780633950935114610588578063452ed4f1146105a8578063499b8394146105e05780634a62bb65146106005780634f77f6c01461061a57600080fd5b806323b872dd146105175780632be32b61146105375780632dd9a82314610557578063313ce5671461056c57600080fd5b80631805805b116103c25780631805805b146104a057806318160ddd146104c25780631a8145bb146104e15780631d5915f3146104f757600080fd5b806301e0beaf146103ff57806306fdde031461042e578063095ea7b31461045057806310d5de531461047057600080fd5b366103fa57005b600080fd5b34801561040b57600080fd5b506021546104199060ff1681565b60405190151581526020015b60405180910390f35b34801561043a57600080fd5b50610443610bef565b6040516104259190613470565b34801561045c57600080fd5b5061041961046b3660046134da565b610c81565b34801561047c57600080fd5b5061041961048b366004613506565b60236020526000908152604090205460ff1681565b3480156104ac57600080fd5b506104c06104bb366004613506565b610c99565b005b3480156104ce57600080fd5b506002545b604051908152602001610425565b3480156104ed57600080fd5b506104d3601f5481565b34801561050357600080fd5b506104c0610512366004613506565b610d46565b34801561052357600080fd5b5061041961053236600461352a565b610e3d565b34801561054357600080fd5b506104c061055236600461356b565b610e61565b34801561056357600080fd5b506104c0610fde565b34801561057857600080fd5b5060405160128152602001610425565b34801561059457600080fd5b506104196105a33660046134da565b611080565b3480156105b457600080fd5b50600a546105c8906001600160a01b031681565b6040516001600160a01b039091168152602001610425565b3480156105ec57600080fd5b506104c06105fb366004613506565b6110bf565b34801561060c57600080fd5b506013546104199060ff1681565b34801561062657600080fd5b506104d3601b5481565b34801561063c57600080fd5b506104c0611159565b34801561065157600080fd5b50600f544310610419565b34801561066857600080fd5b506104d360175481565b34801561067e57600080fd5b506104c061068d366004613506565b61124c565b34801561069e57600080fd5b506104d360195481565b3480156106b457600080fd5b506104c06106c3366004613506565b6112f8565b3480156106d457600080fd5b506104d360075481565b3480156106ea57600080fd5b506104d3601a5481565b34801561070057600080fd5b506104d360125481565b34801561071657600080fd5b506104d3601d5481565b34801561072c57600080fd5b506013546104199062010000900460ff1681565b34801561074c57600080fd5b506104d361075b366004613506565b611392565b34801561076c57600080fd5b506104c06113ad565b34801561078157600080fd5b506009546105c8906001600160a01b031681565b3480156107a157600080fd5b506104c06107b0366004613599565b6113e3565b3480156107c157600080fd5b506104c06107d03660046135ce565b61149b565b3480156107e157600080fd5b506104c06107f036600461356b565b611530565b34801561080157600080fd5b50610419610810366004613506565b60106020526000908152604090205460ff1681565b34801561083157600080fd5b506104d360065481565b34801561084757600080fd5b506005546001600160a01b03166105c8565b34801561086557600080fd5b50610443611649565b34801561087a57600080fd5b50610883611658565b604051610425919061363e565b34801561089c57600080fd5b506104c06108ab366004613599565b6116b9565b3480156108bc57600080fd5b506104c06108cb366004613651565b6117ad565b3480156108dc57600080fd5b506104196108eb3660046134da565b6117ea565b3480156108fc57600080fd5b506104d3600f5481565b34801561091257600080fd5b506104196109213660046134da565b61187c565b34801561093257600080fd5b50610419610941366004613506565b60246020526000908152604090205460ff1681565b34801561096257600080fd5b506104c0610971366004613651565b61188a565b34801561098257600080fd5b5060135461041990610100900460ff1681565b3480156109a157600080fd5b506104c06109b0366004613599565b611ad6565b3480156109c157600080fd5b506104c06109d03660046135ce565b611b5f565b3480156109e157600080fd5b506104c06109f036600461356b565b611bef565b348015610a0157600080fd5b50600d546105c8906001600160a01b031681565b348015610a2157600080fd5b506015546104199060ff1681565b348015610a3b57600080fd5b506104d360205481565b348015610a5157600080fd5b506104c0610a6036600461356b565b611d8e565b348015610a7157600080fd5b506104d360165481565b348015610a8757600080fd5b506104c0610a9636600461356b565b611ea9565b348015610aa757600080fd5b506104d3610ab636600461366c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610aed57600080fd5b506104d3600b5481565b348015610b0357600080fd5b506104c061201f565b348015610b1857600080fd5b50600c546105c8906001600160a01b031681565b348015610b3857600080fd5b506105c8610b4736600461356b565b612055565b348015610b5857600080fd5b506104d3600e5481565b348015610b6e57600080fd5b506104d360185481565b348015610b8457600080fd5b506104c0610b93366004613506565b61207f565b348015610ba457600080fd5b506104c061211a565b348015610bb957600080fd5b506104d3601c5481565b348015610bcf57600080fd5b506104d360085481565b348015610be557600080fd5b506104d3601e5481565b606060038054610bfe906136a5565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2a906136a5565b8015610c775780601f10610c4c57610100808354040283529160200191610c77565b820191906000526020600020905b815481529060010190602001808311610c5a57829003601f168201915b5050505050905090565b600033610c8f818585612186565b5060019392505050565b6005546001600160a01b03163314610ccc5760405162461bcd60e51b8152600401610cc3906136e0565b60405180910390fd5b601354610100900460ff1615610d245760405162461bcd60e51b815260206004820152601b60248201527f54726164696e672068617320616c7265616479207374617274656400000000006044820152606401610cc3565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610d705760405162461bcd60e51b8152600401610cc3906136e0565b60215460ff16610dbb5760405162461bcd60e51b81526020600482015260166024820152754e6f206c6f6e676572206d61726b696e6720626f747360501b6044820152606401610cc3565b6001600160a01b03811660009081526010602052604090205460ff1615610e195760405162461bcd60e51b81526020600482015260126024820152712bb0b63632ba1034b990333630b3b3b2b21760711b6044820152606401610cc3565b6001600160a01b03166000908152601060205260409020805460ff19166001179055565b600033610e4b8582856122aa565b610e56858585612336565b506001949350505050565b6005546001600160a01b03163314610e8b5760405162461bcd60e51b8152600401610cc3906136e0565b670de0b6b3a76400006103e8610ea060025490565b610eab90600561372b565b610eb5919061374a565b610ebf919061374a565b811015610f0e5760405162461bcd60e51b815260206004820152601e60248201527f4d61782062757920616d6f756e74206c6f776572207468616e20302e352500006044820152606401610cc3565b670de0b6b3a76400006064610f2260025490565b610f2d90600261372b565b610f37919061374a565b610f41919061374a565b811115610f905760405162461bcd60e51b815260206004820152601960248201527f42757920616d6f756e7420686967686572207468616e203225000000000000006044820152606401610cc3565b610fa281670de0b6b3a764000061372b565b60068190556040519081527ffcc0366804aaa8dbf88a2924100c733b70dec8445957a5d5f8ff92898de41009906020015b60405180910390a150565b6005546001600160a01b031633146110085760405162461bcd60e51b8152600401610cc3906136e0565b60215460ff166110745760405162461bcd60e51b815260206004820152603160248201527f4d61726b20626f742066756e6374696f6e616c69747920616c72656164792064604482015270697361626c656420666f7265766572212160781b6064820152608401610cc3565b6021805460ff19169055565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610c8f90829086906110ba90879061376c565b612186565b6005546001600160a01b031633146110e95760405162461bcd60e51b8152600401610cc3906136e0565b6001600160a01b03811661110f5760405162461bcd60e51b8152600401610cc390613784565b600c80546001600160a01b0319166001600160a01b0383169081179091556040517f4efa56652237561d0f1fd31311aeaaa41f3b754a461545ed3cf6ced5876d298290600090a250565b6005546001600160a01b031633146111835760405162461bcd60e51b8152600401610cc3906136e0565b600b5461118f30611392565b10156111ef5760405162461bcd60e51b815260206004820152602960248201527f546f6b656e20616d6f756e74203c206d696e696d756d207377617020746f6b656044820152681b9cc8185b5bdd5b9d60ba1b6064820152608401610cc3565b600a805460ff60a01b1916600160a01b17905561120a612e36565b600a805460ff60a01b191690556040514281527f1b56c383f4f48fc992e45667ea4eabae777b9cca68b516a9562d8cda78f1bb329060200160405180910390a1565b6005546001600160a01b031633146112765760405162461bcd60e51b8152600401610cc3906136e0565b6001600160a01b03811660009081526010602052604090205460ff166112d75760405162461bcd60e51b81526020600482015260166024820152752bb0b63632ba1034b9903737ba10333630b3b3b2b21760511b6044820152606401610cc3565b6001600160a01b03166000908152601060205260409020805460ff19169055565b6005546001600160a01b031633146113225760405162461bcd60e51b8152600401610cc3906136e0565b6001600160a01b0381166113485760405162461bcd60e51b8152600401610cc390613784565b600d80546001600160a01b0319166001600160a01b0383169081179091556040517f2e1e696cfb265fa16e1170d24ef04cb2262772bde00ecf34d80bae6722487b7f90600090a250565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b031633146113d75760405162461bcd60e51b8152600401610cc3906136e0565b6113e1600061303e565b565b6005546001600160a01b0316331461140d5760405162461bcd60e51b8152600401610cc3906136e0565b8061147057600a546001600160a01b03838116911614156114705760405162461bcd60e51b815260206004820152601e60248201527f556e69737761702070616972206d7573742068617665206d61782074786e00006044820152606401610cc3565b6001600160a01b03919091166000908152602360205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146114c55760405162461bcd60e51b8152600401610cc3906136e0565b601783905560188290556019819055806114df838561376c565b6114e9919061376c565b6016819055600f101561152b5760405162461bcd60e51b815260206004820152600a60248201526946656573203e2031352560b01b6044820152606401610cc3565b505050565b6005546001600160a01b0316331461155a5760405162461bcd60e51b8152600401610cc3906136e0565b601354610100900460ff16156115b25760405162461bcd60e51b815260206004820152601a60248201527f54726164696e6720697320616c7265616479206163746976652e0000000000006044820152606401610cc3565b600a81106115f85760405162461bcd60e51b8152602060048201526013602482015272050656e616c747920626c6f636b73203e20313606c1b6044820152606401610cc3565b6013805462ffff0019166201010017905543600e81905561161a90829061376c565b600f556040517fa56feb2d31b9a7424db0be063fd450863979c9e2382cf5110f869bd1ad361bb790600090a150565b606060048054610bfe906136a5565b60606011805480602002602001604051908101604052809291908181526020018280548015610c7757602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611692575050505050905090565b6005546001600160a01b031633146116e35760405162461bcd60e51b8152600401610cc3906136e0565b600a546001600160a01b03838116911614156117675760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610cc3565b6117718282613090565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6005546001600160a01b031633146117d75760405162461bcd60e51b8152600401610cc3906136e0565b6013805460ff1916911515919091179055565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091908381101561186f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610cc3565b610e568286868403612186565b600033610c8f818585612336565b6005546001600160a01b031633146118b45760405162461bcd60e51b8152600401610cc3906136e0565b806119015760405162461bcd60e51b815260206004820152601f60248201527f506c6561736520636f6e6669726d20616464696e67206f6620746865204c50006044820152606401610cc3565b601354610100900460ff161561196d5760405162461bcd60e51b815260206004820152602b60248201527f54726164696e6720697320616c7265616479206163746976652c2063616e6e6f60448201526a3a103932b630bab731b41760a91b6064820152608401610cc3565b600047116119c95760405162461bcd60e51b815260206004820152602360248201527f4d757374206861766520455448206f6e20636f6e747261637420746f206c61756044820152620dcc6d60eb1b6064820152608401610cc3565b60006119d430611392565b11611a305760405162461bcd60e51b815260206004820152602660248201527f4d757374206861766520546f6b656e73206f6e20636f6e747261637420746f206044820152650d8c2eadcc6d60d31b6064820152608401610cc3565b600954611a4b9030906001600160a01b03166110ba82611392565b6009546001600160a01b031663f305d7194730611a6781611392565b60008030426040518863ffffffff1660e01b8152600401611a8d969594939291906137ca565b60606040518083038185885af1158015611aab573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611ad09190613805565b50505050565b6005546001600160a01b03163314611b005760405162461bcd60e51b8152600401610cc3906136e0565b6001600160a01b038216600081815260226020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b03163314611b895760405162461bcd60e51b8152600401610cc3906136e0565b601b839055601c829055601d81905580611ba3838561376c565b611bad919061376c565b601a8190556014101561152b5760405162461bcd60e51b815260206004820152600a60248201526946656573203e2032302560b01b6044820152606401610cc3565b6005546001600160a01b03163314611c195760405162461bcd60e51b8152600401610cc3906136e0565b670de0b6b3a76400006103e8611c2e60025490565b611c3990600561372b565b611c43919061374a565b611c4d919061374a565b811015611cb15760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f7420736574206d61782077616c6c657420616d6f756e74206c6f7760448201526b6572207468616e20302e352560a01b6064820152608401610cc3565b670de0b6b3a76400006064611cc560025490565b611cd090600561372b565b611cda919061374a565b611ce4919061374a565b811115611d475760405162461bcd60e51b815260206004820152602b60248201527f43616e6e6f7420736574206d61782077616c6c657420616d6f756e742068696760448201526a686572207468616e20352560a81b6064820152608401610cc3565b611d5981670de0b6b3a764000061372b565b60088190556040519081527fefc9add9a9b7382de284ef5ad69d8ea863e2680492b21a81948c2d5f04a442bc90602001610fd3565b6005546001600160a01b03163314611db85760405162461bcd60e51b8152600401610cc3906136e0565b620186a0611dc560025490565b611dd090600161372b565b611dda919061374a565b811015611e345760405162461bcd60e51b815260206004820152602260248201527f5377617020616d6f756e74203c20302e3030312520746f74616c20737570706c6044820152613c9760f11b6064820152608401610cc3565b6103e8611e4060025490565b611e4b90600161372b565b611e55919061374a565b811115611ea45760405162461bcd60e51b815260206004820181905260248201527f5377617020616d6f756e74203e20302e312520746f74616c20737570706c792e6044820152606401610cc3565b600b55565b6005546001600160a01b03163314611ed35760405162461bcd60e51b8152600401610cc3906136e0565b670de0b6b3a76400006103e8611ee860025490565b611ef390600561372b565b611efd919061374a565b611f07919061374a565b811015611f565760405162461bcd60e51b815260206004820152601f60248201527f4d61782073656c6c20616d6f756e74206c6f776572207468616e20302e3525006044820152606401610cc3565b670de0b6b3a76400006064611f6a60025490565b611f7590600261372b565b611f7f919061374a565b611f89919061374a565b811115611fd85760405162461bcd60e51b815260206004820152601e60248201527f4d61782073656c6c20616d6f756e7420686967686572207468616e20322500006044820152606401610cc3565b611fea81670de0b6b3a764000061372b565b60078190556040519081527f53c4eb831d8cfeb750f1c62590d8cd30f4c6f0380d29a05caa09f0d92588560e90602001610fd3565b6005546001600160a01b031633146120495760405162461bcd60e51b8152600401610cc3906136e0565b6015805460ff19169055565b6011818154811061206557600080fd5b6000918252602090912001546001600160a01b0316905081565b6005546001600160a01b031633146120a95760405162461bcd60e51b8152600401610cc3906136e0565b6001600160a01b03811661210e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cc3565b6121178161303e565b50565b6005546001600160a01b031633146121445760405162461bcd60e51b8152600401610cc3906136e0565b604051600090339047908381818185875af1925050503d8060008114611ad0576040519150601f19603f3d011682016040523d82523d6000602084013e611ad0565b6001600160a01b0383166121e85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610cc3565b6001600160a01b0382166122495760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610cc3565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611ad057818110156123295760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610cc3565b611ad08484848403612186565b6001600160a01b03831661235c5760405162461bcd60e51b8152600401610cc390613833565b6001600160a01b0382166123825760405162461bcd60e51b8152600401610cc390613878565b600081116123c45760405162461bcd60e51b815260206004820152600f60248201526e0616d6f756e74206d757374203e203608c1b6044820152606401610cc3565b601354610100900460ff16612457576001600160a01b03831660009081526022602052604090205460ff168061241257506001600160a01b03821660009081526022602052604090205460ff165b6124575760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610cc3565b600f5443101580156124705750601354610100900460ff165b15612531576001600160a01b03831660009081526010602052604090205460ff1615806124aa57506005546001600160a01b038381169116145b806124bf57506001600160a01b03821661dead145b6125315760405162461bcd60e51b815260206004820152603760248201527f426f74732063616e206f6e6c79207472616e7366657220746f6b656e7320746f60448201527f206f776e6572206f72206465616420616464726573732e0000000000000000006064820152608401610cc3565b60135460ff16156128f2576005546001600160a01b0384811691161480159061256857506005546001600160a01b03838116911614155b801561257f57506001600160a01b03821661dead14155b80156125a457506001600160a01b03831660009081526022602052604090205460ff16155b80156125c957506001600160a01b03821660009081526022602052604090205460ff16155b156128f25760155460ff16156126ce576009546001600160a01b038381169116148015906126055750600a546001600160a01b03838116911614155b156126ce57326000908152601460205260409020544311801561263f57506001600160a01b03821660009081526014602052604090205443115b6126a95760405162461bcd60e51b815260206004820152603560248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527432b21710102a393c9030b3b0b4b7103630ba32b91760591b6064820152608401610cc3565b3260009081526014602052604080822043908190556001600160a01b03851683529120555b6001600160a01b03831660009081526024602052604090205460ff16801561270f57506001600160a01b03821660009081526023602052604090205460ff16155b156127d6576006548111156127775760405162461bcd60e51b815260206004820152602860248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526736b0bc10313abc9760c11b6064820152608401610cc3565b60085461278383611392565b61278d908361376c565b11156127d15760405162461bcd60e51b815260206004820152601360248201527213585e0815d85b1b195d08115e18d959591959606a1b6044820152606401610cc3565b6128f2565b6001600160a01b03821660009081526024602052604090205460ff16801561281757506001600160a01b03831660009081526023602052604090205460ff16155b15612878576007548111156127d15760405162461bcd60e51b815260206004820152602160248201527f53656c6c207472616e7366657220616d6f756e74203e20206d61782073656c6c6044820152601760f91b6064820152608401610cc3565b6001600160a01b03821660009081526023602052604090205460ff166128f2576008546128a483611392565b6128ae908361376c565b11156128f25760405162461bcd60e51b815260206004820152601360248201527213585e0815d85b1b195d08115e18d959591959606a1b6044820152606401610cc3565b60006128fd30611392565b600b549091508110801590819061291c575060135462010000900460ff165b80156129325750600a54600160a01b900460ff16155b801561295657506001600160a01b03841660009081526024602052604090205460ff165b1561298457600a805460ff60a01b1916600160a01b179055612976612e36565b600a805460ff60a01b191690555b6001600160a01b03851660009081526022602052604090205460019060ff16806129c657506001600160a01b03851660009081526022602052604090205460ff165b156129cf575060005b60008115612e2257600f54431080612a155750670c7d713b49da00006006546129f891906138bb565b8510158015612a15575043600f546008612a12919061376c565b10155b8015612a3957506001600160a01b03871660009081526024602052604090205460ff165b8015612a5e57506001600160a01b03861660009081526024602052604090205460ff16155b8015612a8357506001600160a01b03861660009081526022602052604090205460ff16155b8015612a9157506000601654115b15612c6b57600f544310612ab857600160066000828254612ab291906138bb565b90915550505b6001600160a01b03861660009081526010602052604090205460ff16612b98576001600160a01b0386166000908152601060205260408120805460ff191660019081179091556012805491929091612b1190849061376c565b9091555050601180546001810182556000919091527f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c680180546001600160a01b0319166001600160a01b0388169081179091556040519081527f55678e47d0a699d3ab99b0184c4ff14f2246ba80522deb921aa0c8823578c44a9060200160405180910390a15b600e54612ba590436138bb565b612bb090606461372b565b612bbc906103e861376c565b612bc8866103e761372b565b612bd2919061374a565b905060165460185482612be5919061372b565b612bef919061374a565b601f6000828254612c00919061376c565b9091555050601654601754612c15908361372b565b612c1f919061374a565b601e6000828254612c30919061376c565b9091555050601654601954612c45908361372b565b612c4f919061374a565b60206000828254612c60919061376c565b90915550612e049050565b6001600160a01b03861660009081526024602052604090205460ff168015612c9557506000601a54115b15612d27576064601a5486612caa919061372b565b612cb4919061374a565b9050601a54601c5482612cc7919061372b565b612cd1919061374a565b601f6000828254612ce2919061376c565b9091555050601a54601b54612cf7908361372b565b612d01919061374a565b601e6000828254612d12919061376c565b9091555050601a54601d54612c45908361372b565b6001600160a01b03871660009081526024602052604090205460ff168015612d5157506000601654115b15612e0457606460165486612d66919061372b565b612d70919061374a565b905060165460185482612d83919061372b565b612d8d919061374a565b601f6000828254612d9e919061376c565b9091555050601654601754612db3908361372b565b612dbd919061374a565b601e6000828254612dce919061376c565b9091555050601654601954612de3908361372b565b612ded919061374a565b60206000828254612dfe919061376c565b90915550505b8015612e1557612e158730836130be565b612e1f81866138bb565b94505b612e2d8787876130be565b50505050505050565b6000612e4130611392565b90506000602054601e54601f54612e58919061376c565b612e62919061376c565b9050811580612e6f575080155b15612e78575050565b600b54612e8690600a61372b565b821115612e9e57600b54612e9b90600a61372b565b91505b600080600283601f5486612eb2919061372b565b612ebc919061374a565b612ec6919061374a565b9050612eda612ed582866138bb565b613212565b601f5447908190600090612ef09060029061374a565b612efa90876138bb565b601e54612f07908561372b565b612f11919061374a565b905060006002601f54612f24919061374a565b612f2e90886138bb565b602054612f3b908661372b565b612f45919061374a565b9050612f51818361376c565b612f5b90846138bb565b6000601f819055601e81905560205592508415801590612f7b5750600083115b15612f8a57612f8a858461336c565b600d546040516001600160a01b03909116908290600081818185875af1925050503d8060008114612fd7576040519150601f19603f3d011682016040523d82523d6000602084013e612fdc565b606091505b5050600c546040519197506001600160a01b0316904790600081818185875af1925050503d806000811461302c576040519150601f19603f3d011682016040523d82523d6000602084013e613031565b606091505b5050505050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000908152602460205260409020805460ff1916821515179055611771828261340d565b6001600160a01b0383166130e45760405162461bcd60e51b8152600401610cc390613833565b6001600160a01b03821661310a5760405162461bcd60e51b8152600401610cc390613878565b6001600160a01b038316600090815260208190526040902054818110156131825760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610cc3565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906131b990849061376c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161320591815260200190565b60405180910390a3611ad0565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110613247576132476138d2565b6001600160a01b03928316602091820292909201810191909152600954604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156132a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132c491906138e8565b816001815181106132d7576132d76138d2565b6001600160a01b0392831660209182029290920101526009546132fd9130911684612186565b60095460405163791ac94760e01b81526001600160a01b039091169063791ac94790613336908590600090869030904290600401613905565b600060405180830381600087803b15801561335057600080fd5b505af1158015613364573d6000803e3d6000fd5b505050505050565b6009546133849030906001600160a01b031684612186565b60095460405163f305d71960e01b81526001600160a01b039091169063f305d7199083906133c39030908790600090819061dead9042906004016137ca565b60606040518083038185885af11580156133e1573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906134069190613805565b5050505050565b6001600160a01b038216600081815260236020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910160405180910390a15050565b600060208083528351808285015260005b8181101561349d57858101830151858201604001528201613481565b818111156134af576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461211757600080fd5b600080604083850312156134ed57600080fd5b82356134f8816134c5565b946020939093013593505050565b60006020828403121561351857600080fd5b8135613523816134c5565b9392505050565b60008060006060848603121561353f57600080fd5b833561354a816134c5565b9250602084013561355a816134c5565b929592945050506040919091013590565b60006020828403121561357d57600080fd5b5035919050565b8035801515811461359457600080fd5b919050565b600080604083850312156135ac57600080fd5b82356135b7816134c5565b91506135c560208401613584565b90509250929050565b6000806000606084860312156135e357600080fd5b505081359360208301359350604090920135919050565b600081518084526020808501945080840160005b838110156136335781516001600160a01b03168752958201959082019060010161360e565b509495945050505050565b60208152600061352360208301846135fa565b60006020828403121561366357600080fd5b61352382613584565b6000806040838503121561367f57600080fd5b823561368a816134c5565b9150602083013561369a816134c5565b809150509250929050565b600181811c908216806136b957607f821691505b602082108114156136da57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561374557613745613715565b500290565b60008261376757634e487b7160e01b600052601260045260246000fd5b500490565b6000821982111561377f5761377f613715565b500190565b60208082526026908201527f5f6f7065726174696f6e734164647265737320616464726573732063616e6e6f60408201526507420626520360d41b606082015260800190565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b60008060006060848603121561381a57600080fd5b8351925060208401519150604084015190509250925092565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6000828210156138cd576138cd613715565b500390565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156138fa57600080fd5b8151613523816134c5565b85815284602082015260a06040820152600061392460a08301866135fa565b6001600160a01b039490941660608301525060800152939250505056fea264697066735822122050ef611b011bd4ba189ca7900e181f67bcd4df95d2135febdb4d64323ade7d6c64736f6c634300080a0033

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

0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

-----Decoded View---------------
Arg [0] : _router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

Generaitiv is a community-driven AI platform uniting Artists, AI Model Creators, and Collectors. Generaitiv is built to empower AI contributors by recognizing and rewarding their efforts through scalable grass-roots approaches.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.