ETH Price: $2,846.70 (-3.13%)
 

Overview

Max Total Supply

215,000,000 BUIDL

Holders

33,903 (0.00%)

Market

Price

$0.0002 @ 0.000000 ETH (-1.46%)

Onchain Market Cap

-

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
2,231.683694 BUIDL

Value
$0.34 ( ~0.000119436558205112 ETH) [0.0010%]
0x50f527a8f3898bc4b26f5b032ee60c5fc906a2c9
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Onchain launchpad for early stage tokenized ventures. Join the onchain capital revolution with Starter, where entrepreneurs connect with visionary backers to create a new future.

Market

Volume (24H):$222,527.71
Market Capitalization:$0.00
Circulating Supply:0.00 BUIDL
Market Data Source: Coinmarketcap

Contract Source Code Verified (Exact Match)

Contract Name:
BUIDL404

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion
File 1 of 14 : BUIDL404.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import {Strings} from "@openzeppelin/contracts/utils/Strings.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {IERC721Receiver} from "@openzeppelin/contracts/interfaces/IERC721Receiver.sol";
import {IERC165} from "@openzeppelin/contracts/interfaces/IERC165.sol";
import {IERC404} from "./interfaces/IERC404.sol";
import {DoubleEndedQueue} from "./lib/DoubleEndedQueue.sol";
import {ERC721Events} from "./lib/ERC721Events.sol";
import {ERC20Events} from "./lib/ERC20Events.sol";

interface IUniswapV2Factory {
  function createPair(
    address tokenA,
    address tokenB
  ) external returns (address pair);
}

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

  function WETH() external pure returns (address);
}

contract BUIDL404 is IERC404, Ownable {
  using DoubleEndedQueue for DoubleEndedQueue.Uint256Deque;

  /// @dev The queue of ERC-721 tokens stored in the contract.
  DoubleEndedQueue.Uint256Deque private _storedERC721Ids;

  /// @dev are early pros on
  bool public earlyPro = true;
  uint256 public earlyPro1;
  uint256 public earlyPro2;

  /// @dev Active indicator
  bool public active = false;
  address public corePair;

  /// @dev uniswap v2 router
  address public router = address(0x4752ba5DBc23f44D87826276BF6Fd6b1C372aD24);

  /// @dev block number of opened trading
  uint256 launchedAt;

  /// @dev Token name
  string public name;

  /// @dev Token symbol
  string public symbol;

  /// @dev Decimals for ERC-20 representation
  uint8 public immutable decimals;

  /// @dev Units for ERC-20 representation
  uint256 public immutable units;

  /// @dev Total supply in ERC-20 representation
  uint256 public totalSupply;

  /// @dev Current mint counter which also represents the highest
  ///      minted id, monotonically increasing to ensure accurate ownership
  uint256 public minted;

  mapping(address => bool) public isErc20Valid;

  /// @dev 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 ammPairs;

  /// @dev Balance of user in ERC-20 representation
  mapping(address => uint256) public balanceOf;

  /// @dev Allowance of user in ERC-20 representation
  mapping(address => mapping(address => uint256)) public allowance;

  /// @dev Approval in ERC-721 representaion
  mapping(uint256 => address) public getApproved;

  /// @dev Approval for all in ERC-721 representation
  mapping(address => mapping(address => bool)) public isApprovedForAll;

  /// @dev Packed representation of ownerOf and owned indices
  mapping(uint256 => uint256) internal _ownedData;

  /// @dev Array of owned ids in ERC-721 representation
  mapping(address => uint256[]) internal _owned;

  /// @dev Addresses that are exempt from ERC-721 transfer, typically for gas savings (pairs, routers, etc)
  mapping(address => bool) internal _erc721TransferExempt;

  /// @dev Address bitmask for packed ownership data
  uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

  /// @dev Owned index bitmask for packed ownership data
  uint256 private constant _BITMASK_OWNED_INDEX = ((1 << 96) - 1) << 160;

  /// @dev Constant for token id encoding
  uint256 public constant ID_ENCODING_PREFIX = 1 << 255;

  /// @dev Notify new pair support
  event SetAMMPair(address indexed pair, bool indexed value);

  constructor(
    string memory name_,
    string memory symbol_,
    uint8 decimals_
  ) Ownable(msg.sender) {
    name = name_;
    symbol = symbol_;

    if (decimals_ < 18) {
      revert DecimalsTooLow();
    }

    decimals = decimals_;
    units = 21500 * (10 ** uint256(decimals)); // 21500 ERC-20 tokens == 1 ERC-721 token

    uint256 _totalSupply = 215000000 * 1e18;

    earlyPro1 = _totalSupply / 1000; // 0.1%
    earlyPro2 = _totalSupply / 1000; // 0.1%

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

    _setERC721TransferExempt(owner(), true);
    _mintERC20(owner(), _totalSupply);
  }

  function initialize() public onlyOwner {
    IUniswapV2Router01 _v2Router = IUniswapV2Router01(router);
    corePair = IUniswapV2Factory(_v2Router.factory()).createPair(
      address(this),
      _v2Router.WETH()
    );

    setErc20Valid(address(router), true);
    setErc20Valid(address(corePair), true);

    _setERC721TransferExempt(address(router), true);
    setAMMPair(address(corePair), true);
  }

  function setAMMPair(
    address pair,
    bool value
  ) public onlyOwner {
    require(pair != corePair, "Pair cannot be removed");

    ammPairs[pair] = value;

    _setERC721TransferExempt(address(pair), true);

    emit SetAMMPair(pair, value);
  }

  function removePro() public onlyOwner {
    earlyPro = false;
  }

  function setActive() public onlyOwner {
    active = true;
    launchedAt = block.number;
  }

  function setErc20Valid(address to_, bool state_) public onlyOwner {
    isErc20Valid[to_] = state_;
  }

  function setPros(uint256 _earlyPro2, uint256 _earlyPro1) public onlyOwner {
    earlyPro1 = _earlyPro1;
    earlyPro2 = _earlyPro2;
  }

  /// @notice Function to find owner of a given ERC-721 token
  function ownerOf(uint256 id_) public view returns (address erc721Owner) {
    erc721Owner = _getOwnerOf(id_);

    if (!_isValidTokenId(id_)) {
      revert InvalidTokenId();
    }

    if (erc721Owner == address(0)) {
      revert NotFound();
    }
  }

  function owned(address owner_) public view returns (uint256[] memory) {
    return _owned[owner_];
  }

  function erc721BalanceOf(address owner_) public view returns (uint256) {
    return _owned[owner_].length;
  }

  function erc20BalanceOf(address owner_) public view returns (uint256) {
    return balanceOf[owner_];
  }

  function erc20TotalSupply() public view returns (uint256) {
    return totalSupply;
  }

  function erc721TotalSupply() public view returns (uint256) {
    return minted;
  }

  function getERC721QueueLength() public view returns (uint256) {
    return _storedERC721Ids.length();
  }

  function getERC721TokensInQueue(
    uint256 start_,
    uint256 count_
  ) public view returns (uint256[] memory) {
    uint256[] memory tokensInQueue = new uint256[](count_);

    for (uint256 i = start_; i < start_ + count_; ) {
      tokensInQueue[i - start_] = _storedERC721Ids.at(i);

      unchecked {
        ++i;
      }
    }

    return tokensInQueue;
  }

  /// @notice Load erc721 by id
  function tokenURI(uint256 id_) public pure returns (string memory) {
    return string.concat("https://starter.xyz/buidl404/", Strings.toString(id_));
  }

  /// @notice Function for token approvals
  /// @dev This function assumes the operator is attempting to approve
  ///      an ERC-721 if valueOrId_ is a possibly valid ERC-721 token id.
  ///      Unlike setApprovalForAll, spender_ must be allowed to be 0x0 so
  ///      that approval can be revoked.
  function approve(address spender_, uint256 valueOrId_) public returns (bool) {
    if (_isValidTokenId(valueOrId_)) {
      erc721Approve(spender_, valueOrId_);
    } else {
      return erc20Approve(spender_, valueOrId_);
    }

    return true;
  }

  function erc721Approve(address spender_, uint256 id_) public {
    // Intention is to approve as ERC-721 token (id).
    address erc721Owner = _getOwnerOf(id_);

    if (
      msg.sender != erc721Owner && !isApprovedForAll[erc721Owner][msg.sender]
    ) {
      revert Unauthorized();
    }

    getApproved[id_] = spender_;

    emit ERC721Events.Approval(erc721Owner, spender_, id_);
  }

  /// @dev Providing type(uint256).max for approval value results in an
  ///      unlimited approval that is not deducted from on transfers.
  function erc20Approve(
    address spender_,
    uint256 value_
  ) public returns (bool) {
    // Prevent granting 0x0 an ERC-20 allowance.
    if (spender_ == address(0)) {
      revert InvalidSpender();
    }

    allowance[msg.sender][spender_] = value_;

    emit ERC20Events.Approval(msg.sender, spender_, value_);

    return true;
  }

  /// @notice Function for ERC-721 approvals
  function setApprovalForAll(address operator_, bool approved_) public {
    // Prevent approvals to 0x0.
    if (operator_ == address(0)) {
      revert InvalidOperator();
    }
    isApprovedForAll[msg.sender][operator_] = approved_;
    emit ERC721Events.ApprovalForAll(msg.sender, operator_, approved_);
  }

  /// @notice Function for mixed transfers from an operator that may be different than 'from'.
  /// @dev This function assumes the operator is attempting to transfer an ERC-721
  ///      if valueOrId is a possible valid token id.
  function transferFrom(
    address from_,
    address to_,
    uint256 valueOrId_
  ) public returns (bool) {
    if (_isValidTokenId(valueOrId_)) {
      erc721TransferFrom(from_, to_, valueOrId_);
    } else {
      // Intention is to transfer as ERC-20 token (value).
      return erc20TransferFrom(from_, to_, valueOrId_);
    }

    return true;
  }

  /// @notice Function for ERC-721 transfers from.
  /// @dev This function is recommended for ERC721 transfers.
  function erc721TransferFrom(address from_, address to_, uint256 id_) public {
    // Prevent minting tokens from 0x0.
    if (from_ == address(0)) {
      revert InvalidSender();
    }

    // Prevent burning tokens to 0x0.
    if (to_ == address(0)) {
      revert InvalidRecipient();
    }

    if (from_ != _getOwnerOf(id_)) {
      revert Unauthorized();
    }

    // Check that the operator is either the sender or approved for the transfer.
    if (
      msg.sender != from_ &&
      !isApprovedForAll[from_][msg.sender] &&
      msg.sender != getApproved[id_]
    ) {
      revert Unauthorized();
    }

    // We only need to check ERC-721 transfer exempt status for the recipient
    // since the sender being ERC-721 transfer exempt means they have already
    // had their ERC-721s stripped away during the rebalancing process.
    if (erc721TransferExempt(to_)) {
      revert RecipientIsERC721TransferExempt();
    }

    // Transfer 1 * units ERC-20 and 1 ERC-721 token.
    // ERC-721 transfer exemptions handled above. Can't make it to this point if either is transfer exempt.
    _transferERC20(from_, to_, units);
    _transferERC721(from_, to_, id_);
  }

  /// @notice Function for ERC-20 transfers from.
  /// @dev This function is recommended for ERC20 transfers
  function erc20TransferFrom(
    address from_,
    address to_,
    uint256 value_
  ) public returns (bool) {
    // Prevent minting tokens from 0x0.
    if (from_ == address(0)) {
      revert InvalidSender();
    }

    // Prevent burning tokens to 0x0.
    if (to_ == address(0)) {
      revert InvalidRecipient();
    }

    uint256 allowed = allowance[from_][msg.sender];

    // Check that the operator has sufficient allowance.
    if (allowed != type(uint256).max) {
      if (allowance[from_][msg.sender] < value_) {
        revert InsufficientAllowance();
      }
      allowance[from_][msg.sender] = allowed - value_;
    }

    // Transferring ERC-20s directly requires the _transferERC20WithERC721 function.
    // Handles ERC-721 exemptions internally.
    return _transferERC20WithERC721(from_, to_, value_);
  }

  /// @notice Function for ERC-20 transfers.
  /// @dev This function assumes the operator is attempting to transfer as ERC-20
  ///      given this function is only supported on the ERC-20 interface.
  ///      Treats even large amounts that are valid ERC-721 ids as ERC-20s.
  function transfer(address to_, uint256 value_) public returns (bool) {
    // Prevent burning tokens to 0x0.
    if (to_ == address(0)) {
      revert InvalidRecipient();
    }

    // Transferring ERC-20s directly requires the _transferERC20WithERC721 function.
    // Handles ERC-721 exemptions internally.
    return _transferERC20WithERC721(msg.sender, to_, value_);
  }

  /// @notice Function for ERC-721 transfers with contract support.
  /// This function only supports moving valid ERC-721 ids, as it does not exist on the ERC-20
  /// spec and will revert otherwise.
  function safeTransferFrom(address from_, address to_, uint256 id_) public {
    safeTransferFrom(from_, to_, id_, "");
  }

  /// @notice Function for ERC-721 transfers with contract support and callback data.
  /// This function only supports moving valid ERC-721 ids, as it does not exist on the
  /// ERC-20 spec and will revert otherwise.
  function safeTransferFrom(
    address from_,
    address to_,
    uint256 id_,
    bytes memory data_
  ) public {
    if (!_isValidTokenId(id_)) {
      revert InvalidTokenId();
    }

    transferFrom(from_, to_, id_);

    if (
      to_.code.length != 0 &&
      IERC721Receiver(to_).onERC721Received(msg.sender, from_, id_, data_) !=
      IERC721Receiver.onERC721Received.selector
    ) {
      revert UnsafeRecipient();
    }
  }

  function supportsInterface(bytes4 interfaceId) public pure returns (bool) {
    return
      interfaceId == type(IERC404).interfaceId ||
      interfaceId == type(IERC165).interfaceId;
  }

  /// @notice Function for self-exemption by owner
  function setNonErc721Recepient(address to_, bool state_) public onlyOwner {
    _setERC721TransferExempt(to_, state_);
  }

  /// @notice Function to check if address is transfer exempt
  function erc721TransferExempt(address target_) public view returns (bool) {
    return target_ == address(0) || _erc721TransferExempt[target_];
  }

  /// @notice For a token token id to be considered valid, it just needs
  ///         to fall within the range of possible token ids, it does not
  ///         necessarily have to be minted yet.
  function _isValidTokenId(uint256 id_) internal pure returns (bool) {
    return id_ > ID_ENCODING_PREFIX && id_ != type(uint256).max;
  }

  /// @notice This is the lowest level ERC-20 transfer function, which
  ///         should be used for both normal ERC-20 transfers as well as minting.
  /// Note that this function allows transfers to and from 0x0.
  function _transferERC20(address from_, address to_, uint256 value_) private {
    if (earlyPro) {
      if (
        from_ != owner() &&
        from_ != address(0) &&
        to_ != owner() &&
        to_ != address(0) &&
        to_ != address(0xdead)
      ) {
        if(!active) {
          require(isErc20Valid[from_] || isErc20Valid[to_], "1");
        }

        //accepting
        if (ammPairs[from_] && !isErc20Valid[to_]) {
          require(value_ <= earlyPro1, "2");
          require(value_ + balanceOf[to_] <= earlyPro2, "3");
        }
        //offering
        else if (ammPairs[to_] && !isErc20Valid[from_]) {
          require(value_ <= earlyPro1, "4");
        } else if (!isErc20Valid[to_]) {
          require(value_ + balanceOf[to_] <= earlyPro2, "3");
        }
      }
    }

    // Minting is a special case for which we should not check the balance of
    // the sender, and we should increase the total supply.
    if (from_ == address(0)) {
      totalSupply += value_;
    } else {
      // Deduct value from sender's balance.
      balanceOf[from_] -= value_;
    }

    // Update the recipient's balance.
    // Can be unchecked because on mint, adding to totalSupply is checked, and on transfer balance deduction is checked.
    unchecked {
      balanceOf[to_] += value_;
    }

    emit ERC20Events.Transfer(from_, to_, value_);
  }

  /// @notice Consolidated record keeping function for transferring ERC-721s.
  /// @dev Assign the token to the new owner, and remove from the old owner.
  /// Note that this function allows transfers to and from 0x0.
  /// Does not handle ERC-721 exemptions.
  function _transferERC721(address from_, address to_, uint256 id_) private {
    // If this is not a mint, handle record keeping for transfer from previous owner.
    if (from_ != address(0)) {
      // On transfer of an NFT, any previous approval is reset.
      delete getApproved[id_];

      uint256 updatedId = _owned[from_][_owned[from_].length - 1];
      if (updatedId != id_) {
        uint256 updatedIndex = _getOwnedIndex(id_);
        // update _owned for sender
        _owned[from_][updatedIndex] = updatedId;
        // update index for the moved id
        _setOwnedIndex(updatedId, updatedIndex);
      }

      // pop
      _owned[from_].pop();
    }

    // Check if this is a burn.
    if (to_ != address(0)) {
      // If not a burn, update the owner of the token to the new owner.
      // Update owner of the token to the new owner.
      _setOwnerOf(id_, to_);
      // Push token onto the new owner's stack.
      _owned[to_].push(id_);
      // Update index for new owner's stack.
      _setOwnedIndex(id_, _owned[to_].length - 1);
    } else {
      // If this is a burn, reset the owner of the token to 0x0 by deleting the token from _ownedData.
      delete _ownedData[id_];
    }

    emit ERC721Events.Transfer(from_, to_, id_);
  }

  /// @notice private function for ERC-20 transfers. Also handles any ERC-721 transfers that may be required.
  // Handles ERC-721 exemptions.
  function _transferERC20WithERC721(
    address from_,
    address to_,
    uint256 value_
  ) private returns (bool) {
    uint256 erc20BalanceOfSenderBefore = erc20BalanceOf(from_);
    uint256 erc20BalanceOfReceiverBefore = erc20BalanceOf(to_);

    _transferERC20(from_, to_, value_);

    // Preload for gas savings on branches
    bool isFromERC721TransferExempt = erc721TransferExempt(from_);
    bool isToERC721TransferExempt = erc721TransferExempt(to_);

    // Skip _withdrawAndStoreERC721 and/or _retrieveOrMintERC721 for ERC-721 transfer exempt addresses
    // 1) to save gas
    // 2) because ERC-721 transfer exempt addresses won't always have/need ERC-721s corresponding to their ERC20s.
    if (isFromERC721TransferExempt && isToERC721TransferExempt) {
      // Case 1) Both sender and recipient are ERC-721 transfer exempt. No ERC-721s need to be transferred.
      // NOOP.
    } else if (isFromERC721TransferExempt) {
      // Case 2) The sender is ERC-721 transfer exempt, but the recipient is not. Contract should not attempt
      //         to transfer ERC-721s from the sender, but the recipient should receive ERC-721s
      //         from the bank/minted for any whole number increase in their balance.
      // Only cares about whole number increments.
      uint256 tokensToRetrieveOrMint = (balanceOf[to_] / units) -
        (erc20BalanceOfReceiverBefore / units);
      for (uint256 i = 0; i < tokensToRetrieveOrMint; ) {
        _retrieveOrMintERC721(to_);
        unchecked {
          ++i;
        }
      }
    } else if (isToERC721TransferExempt) {
      // Case 3) The sender is not ERC-721 transfer exempt, but the recipient is. Contract should attempt
      //         to withdraw and store ERC-721s from the sender, but the recipient should not
      //         receive ERC-721s from the bank/minted.
      // Only cares about whole number increments.
      uint256 tokensToWithdrawAndStore = (erc20BalanceOfSenderBefore / units) -
        (balanceOf[from_] / units);
      for (uint256 i = 0; i < tokensToWithdrawAndStore; ) {
        _withdrawAndStoreERC721(from_);
        unchecked {
          ++i;
        }
      }
    } else {
      // Case 4) Neither the sender nor the recipient are ERC-721 transfer exempt.
      // Strategy:
      // 1. First deal with the whole tokens. These are easy and will just be transferred.
      // 2. Look at the fractional part of the value:
      //   a) If it causes the sender to lose a whole token that was represented by an NFT due to a
      //      fractional part being transferred, withdraw and store an additional NFT from the sender.
      //   b) If it causes the receiver to gain a whole new token that should be represented by an NFT
      //      due to receiving a fractional part that completes a whole token, retrieve or mint an NFT to the recevier.

      // Whole tokens worth of ERC-20s get transferred as ERC-721s without any burning/minting.
      uint256 nftsToTransfer = value_ / units;
      for (uint256 i = 0; i < nftsToTransfer; ) {
        // Pop from sender's ERC-721 stack and transfer them (LIFO)
        uint256 indexOfLastToken = _owned[from_].length - 1;
        uint256 tokenId = _owned[from_][indexOfLastToken];
        _transferERC721(from_, to_, tokenId);
        unchecked {
          ++i;
        }
      }

      // If the transfer changes either the sender or the recipient's holdings from a fractional to a non-fractional
      // amount (or vice versa), adjust ERC-721s.

      // First check if the send causes the sender to lose a whole token that was represented by an ERC-721
      // due to a fractional part being transferred.
      //
      // Process:
      // Take the difference between the whole number of tokens before and after the transfer for the sender.
      // If that difference is greater than the number of ERC-721s transferred (whole units), then there was
      // an additional ERC-721 lost due to the fractional portion of the transfer.
      // If this is a self-send and the before and after balances are equal (not always the case but often),
      // then no ERC-721s will be lost here.
      if (
        erc20BalanceOfSenderBefore / units - erc20BalanceOf(from_) / units >
        nftsToTransfer
      ) {
        _withdrawAndStoreERC721(from_);
      }

      // Then, check if the transfer causes the receiver to gain a whole new token which requires gaining
      // an additional ERC-721.
      //
      // Process:
      // Take the difference between the whole number of tokens before and after the transfer for the recipient.
      // If that difference is greater than the number of ERC-721s transferred (whole units), then there was
      // an additional ERC-721 gained due to the fractional portion of the transfer.
      // Again, for self-sends where the before and after balances are equal, no ERC-721s will be gained here.
      if (
        erc20BalanceOf(to_) / units - erc20BalanceOfReceiverBefore / units >
        nftsToTransfer
      ) {
        _retrieveOrMintERC721(to_);
      }
    }

    return true;
  }

  /// @notice Internal function for ERC20 minting
  /// @dev This function will allow minting of new ERC20s.
  ///      If mintCorrespondingERC721s_ is true, and the recipient is not ERC-721 exempt, it will
  ///      also mint the corresponding ERC721s.
  /// Handles ERC-721 exemptions.
  function _mintERC20(address to_, uint256 value_) private {
    /// You cannot mint to the zero address (you can't mint and immediately burn in the same transfer).
    if (to_ == address(0)) {
      revert InvalidRecipient();
    }

    if (totalSupply + value_ > ID_ENCODING_PREFIX) {
      revert MintLimitReached();
    }

    _transferERC20WithERC721(address(0), to_, value_);
  }

  /// @notice Internal function for ERC-721 minting and retrieval from the bank.
  /// @dev This function will allow minting of new ERC-721s up to the total fractional supply. It will
  ///      first try to pull from the bank, and if the bank is empty, it will mint a new token.
  /// Does not handle ERC-721 exemptions.
  function _retrieveOrMintERC721(address to_) private {
    if (to_ == address(0)) {
      revert InvalidRecipient();
    }

    uint256 id;

    if (!_storedERC721Ids.empty()) {
      // If there are any tokens in the bank, use those first.
      // Pop off the end of the queue (FIFO).
      id = _storedERC721Ids.popBack();
    } else {
      // Otherwise, mint a new token, should not be able to go over the total fractional supply.
      ++minted;

      // Reserve max uint256 for approvals
      if (minted == type(uint256).max) {
        revert MintLimitReached();
      }

      id = ID_ENCODING_PREFIX + minted;
    }

    address erc721Owner = _getOwnerOf(id);

    // The token should not already belong to anyone besides 0x0 or this contract.
    // If it does, something is wrong, as this should never happen.
    if (erc721Owner != address(0)) {
      revert AlreadyExists();
    }

    // Transfer the token to the recipient, either transferring from the contract's bank or minting.
    // Does not handle ERC-721 exemptions.
    _transferERC721(erc721Owner, to_, id);
  }

  /// @notice private function for ERC-721 deposits to bank (this contract).
  /// @dev This function will allow depositing of ERC-721s to the bank, which can be retrieved by future minters.
  // Does not handle ERC-721 exemptions.
  function _withdrawAndStoreERC721(address from_) private {
    if (from_ == address(0)) {
      revert InvalidSender();
    }

    // Retrieve the latest token added to the owner's stack (LIFO).
    uint256 id = _owned[from_][_owned[from_].length - 1];

    // Transfer to 0x0.
    // Does not handle ERC-721 exemptions.
    _transferERC721(from_, address(0), id);

    // Record the token in the contract's bank queue.
    _storedERC721Ids.pushFront(id);
  }

  /// @notice Initialization function to set pairs / etc, saving gas by avoiding mint / burn on unnecessary targets
  function _setERC721TransferExempt(address target_, bool state_) private {
    if (target_ == address(0)) {
      revert InvalidExemption();
    }

    // Adjust the ERC721 balances of the target to respect exemption rules.
    // Despite this logic, it is still recommended practice to exempt prior to the target
    // having an active balance.
    if (state_) {
      _clearERC721Balance(target_);
    } else {
      _reinstateERC721Balance(target_);
    }

    _erc721TransferExempt[target_] = state_;
  }

  /// @notice Function to reinstate balance on exemption removal
  function _reinstateERC721Balance(address target_) private {
    uint256 expectedERC721Balance = erc20BalanceOf(target_) / units;
    uint256 actualERC721Balance = erc721BalanceOf(target_);

    for (uint256 i = 0; i < expectedERC721Balance - actualERC721Balance; ) {
      // Transfer ERC721 balance in from pool
      _retrieveOrMintERC721(target_);
      unchecked {
        ++i;
      }
    }
  }

  /// @notice Function to clear balance on exemption inclusion
  function _clearERC721Balance(address target_) private {
    uint256 erc721Balance = erc721BalanceOf(target_);

    for (uint256 i = 0; i < erc721Balance; ) {
      // Transfer out ERC721 balance
      _withdrawAndStoreERC721(target_);
      unchecked {
        ++i;
      }
    }
  }

  function _getOwnerOf(uint256 id_) internal view returns (address ownerOf_) {
    uint256 data = _ownedData[id_];

    assembly {
      ownerOf_ := and(data, _BITMASK_ADDRESS)
    }
  }

  function _setOwnerOf(uint256 id_, address owner_) private {
    uint256 data = _ownedData[id_];

    assembly {
      data := add(
        and(data, _BITMASK_OWNED_INDEX),
        and(owner_, _BITMASK_ADDRESS)
      )
    }

    _ownedData[id_] = data;
  }

  function _getOwnedIndex(
    uint256 id_
  ) internal view returns (uint256 ownedIndex_) {
    uint256 data = _ownedData[id_];

    assembly {
      ownedIndex_ := shr(160, data)
    }
  }

  function _setOwnedIndex(uint256 id_, uint256 index_) private {
    uint256 data = _ownedData[id_];

    if (index_ > _BITMASK_OWNED_INDEX >> 160) {
      revert OwnedIndexOverflow();
    }

    assembly {
      data := add(
        and(data, _BITMASK_ADDRESS),
        and(shl(160, index_), _BITMASK_OWNED_INDEX)
      )
    }

    _ownedData[id_] = data;
  }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

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

File 3 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol)

pragma solidity ^0.8.20;

import {IERC165} from "../utils/introspection/IERC165.sol";

File 4 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC721Receiver.sol)

pragma solidity ^0.8.20;

import {IERC721Receiver} from "../token/ERC721/IERC721Receiver.sol";

File 5 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.20;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be
     * reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

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

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

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

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            return a / b;
        }

        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or
     * denominator == 0.
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by
     * Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0 = x * y; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            if (denominator <= prod1) {
                revert MathOverflowedMulDiv();
            }

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.
            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.

            uint256 twos = denominator & (0 - denominator);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also
            // works in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded
     * towards zero.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
        }
    }

    /**
     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
     */
    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
        return uint8(rounding) % 2 == 1;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)

pragma solidity ^0.8.20;

import {Math} from "./math/Math.sol";
import {SignedMath} from "./math/SignedMath.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant HEX_DIGITS = "0123456789abcdef";
    uint8 private constant ADDRESS_LENGTH = 20;

    /**
     * @dev The `value` string doesn't fit in the specified `length`.
     */
    error StringsInsufficientHexLength(uint256 value, uint256 length);

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toStringSigned(int256 value) internal pure returns (string memory) {
        return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        uint256 localValue = value;
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = HEX_DIGITS[localValue & 0xf];
            localValue >>= 4;
        }
        if (localValue != 0) {
            revert StringsInsufficientHexLength(value, length);
        }
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal
     * representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

//SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import {IERC165} from "@openzeppelin/contracts/interfaces/IERC165.sol";

interface IERC404 is IERC165 {
  error NotFound();
  error InvalidTokenId();
  error AlreadyExists();
  error InvalidRecipient();
  error InvalidSender();
  error InvalidSpender();
  error InvalidOperator();
  error UnsafeRecipient();
  error RecipientIsERC721TransferExempt();
  error Unauthorized();
  error InsufficientAllowance();
  error DecimalsTooLow();
  error PermitDeadlineExpired();
  error InvalidSigner();
  error InvalidApproval();
  error OwnedIndexOverflow();
  error MintLimitReached();
  error InvalidExemption();

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

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

  function decimals() external view returns (uint8);

  function totalSupply() external view returns (uint256);

  function erc20TotalSupply() external view returns (uint256);

  function erc721TotalSupply() external view returns (uint256);

  function balanceOf(address owner_) external view returns (uint256);

  function erc721BalanceOf(address owner_) external view returns (uint256);

  function erc20BalanceOf(address owner_) external view returns (uint256);

  function erc721TransferExempt(address account_) external view returns (bool);

  function isApprovedForAll(
    address owner_,
    address operator_
  ) external view returns (bool);

  function allowance(
    address owner_,
    address spender_
  ) external view returns (uint256);

  function owned(address owner_) external view returns (uint256[] memory);

  function ownerOf(uint256 id_) external view returns (address erc721Owner);

  function tokenURI(uint256 id_) external view returns (string memory);

  function approve(
    address spender_,
    uint256 valueOrId_
  ) external returns (bool);

  function erc20Approve(
    address spender_,
    uint256 value_
  ) external returns (bool);

  function erc721Approve(address spender_, uint256 id_) external;

  function setApprovalForAll(address operator_, bool approved_) external;

  function transferFrom(
    address from_,
    address to_,
    uint256 valueOrId_
  ) external returns (bool);

  function erc20TransferFrom(
    address from_,
    address to_,
    uint256 value_
  ) external returns (bool);

  function erc721TransferFrom(address from_, address to_, uint256 id_) external;

  function transfer(address to_, uint256 amount_) external returns (bool);

  function getERC721QueueLength() external view returns (uint256);

  function getERC721TokensInQueue(
    uint256 start_,
    uint256 count_
  ) external view returns (uint256[] memory);

  function safeTransferFrom(address from_, address to_, uint256 id_) external;

  function safeTransferFrom(
    address from_,
    address to_,
    uint256 id_,
    bytes calldata data_
  ) external;
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/structs/DoubleEndedQueue.sol)
// Modified by Pandora Labs to support native uint256 operations
pragma solidity ^0.8.20;

/**
 * @dev A sequence of items with the ability to efficiently push and pop items (i.e. insert and remove) on both ends of
 * the sequence (called front and back). Among other access patterns, it can be used to implement efficient LIFO and
 * FIFO queues. Storage use is optimized, and all operations are O(1) constant time. This includes {clear}, given that
 * the existing queue contents are left in storage.
 *
 * The struct is called `Uint256Deque`. This data structure can only be used in storage, and not in memory.
 *
 * ```solidity
 * DoubleEndedQueue.Uint256Deque queue;
 * ```
 */
library DoubleEndedQueue {
  /**
   * @dev An operation (e.g. {front}) couldn't be completed due to the queue being empty.
   */
  error QueueEmpty();

  /**
   * @dev A push operation couldn't be completed due to the queue being full.
   */
  error QueueFull();

  /**
   * @dev An operation (e.g. {at}) couldn't be completed due to an index being out of bounds.
   */
  error QueueOutOfBounds();

  /**
   * @dev Indices are 128 bits so begin and end are packed in a single storage slot for efficient access.
   *
   * Struct members have an underscore prefix indicating that they are "private" and should not be read or written to
   * directly. Use the functions provided below instead. Modifying the struct manually may violate assumptions and
   * lead to unexpected behavior.
   *
   * The first item is at data[begin] and the last item is at data[end - 1]. This range can wrap around.
   */
  struct Uint256Deque {
    uint128 _begin;
    uint128 _end;
    mapping(uint128 index => uint256) _data;
  }

  /**
   * @dev Inserts an item at the end of the queue.
   *
   * Reverts with {QueueFull} if the queue is full.
   */
  function pushBack(Uint256Deque storage deque, uint256 value) internal {
    unchecked {
      uint128 backIndex = deque._end;
      if (backIndex + 1 == deque._begin) revert QueueFull();
      deque._data[backIndex] = value;
      deque._end = backIndex + 1;
    }
  }

  /**
   * @dev Removes the item at the end of the queue and returns it.
   *
   * Reverts with {QueueEmpty} if the queue is empty.
   */
  function popBack(
    Uint256Deque storage deque
  ) internal returns (uint256 value) {
    unchecked {
      uint128 backIndex = deque._end;
      if (backIndex == deque._begin) revert QueueEmpty();
      --backIndex;
      value = deque._data[backIndex];
      delete deque._data[backIndex];
      deque._end = backIndex;
    }
  }

  /**
   * @dev Inserts an item at the beginning of the queue.
   *
   * Reverts with {QueueFull} if the queue is full.
   */
  function pushFront(Uint256Deque storage deque, uint256 value) internal {
    unchecked {
      uint128 frontIndex = deque._begin - 1;
      if (frontIndex == deque._end) revert QueueFull();
      deque._data[frontIndex] = value;
      deque._begin = frontIndex;
    }
  }

  /**
   * @dev Removes the item at the beginning of the queue and returns it.
   *
   * Reverts with `QueueEmpty` if the queue is empty.
   */
  function popFront(
    Uint256Deque storage deque
  ) internal returns (uint256 value) {
    unchecked {
      uint128 frontIndex = deque._begin;
      if (frontIndex == deque._end) revert QueueEmpty();
      value = deque._data[frontIndex];
      delete deque._data[frontIndex];
      deque._begin = frontIndex + 1;
    }
  }

  /**
   * @dev Returns the item at the beginning of the queue.
   *
   * Reverts with `QueueEmpty` if the queue is empty.
   */
  function front(
    Uint256Deque storage deque
  ) internal view returns (uint256 value) {
    if (empty(deque)) revert QueueEmpty();
    return deque._data[deque._begin];
  }

  /**
   * @dev Returns the item at the end of the queue.
   *
   * Reverts with `QueueEmpty` if the queue is empty.
   */
  function back(
    Uint256Deque storage deque
  ) internal view returns (uint256 value) {
    if (empty(deque)) revert QueueEmpty();
    unchecked {
      return deque._data[deque._end - 1];
    }
  }

  /**
   * @dev Return the item at a position in the queue given by `index`, with the first item at 0 and last item at
   * `length(deque) - 1`.
   *
   * Reverts with `QueueOutOfBounds` if the index is out of bounds.
   */
  function at(
    Uint256Deque storage deque,
    uint256 index
  ) internal view returns (uint256 value) {
    if (index >= length(deque)) revert QueueOutOfBounds();
    // By construction, length is a uint128, so the check above ensures that index can be safely downcast to uint128
    unchecked {
      return deque._data[deque._begin + uint128(index)];
    }
  }

  /**
   * @dev Resets the queue back to being empty.
   *
   * NOTE: The current items are left behind in storage. This does not affect the functioning of the queue, but misses
   * out on potential gas refunds.
   */
  function clear(Uint256Deque storage deque) internal {
    deque._begin = 0;
    deque._end = 0;
  }

  /**
   * @dev Returns the number of items in the queue.
   */
  function length(Uint256Deque storage deque) internal view returns (uint256) {
    unchecked {
      return uint256(deque._end - deque._begin);
    }
  }

  /**
   * @dev Returns true if the queue is empty.
   */
  function empty(Uint256Deque storage deque) internal view returns (bool) {
    return deque._end == deque._begin;
  }
}

File 13 of 14 : ERC20Events.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

library ERC20Events {
  event Approval(address indexed owner, address indexed spender, uint256 value);
  event Transfer(address indexed from, address indexed to, uint256 amount);
}

File 14 of 14 : ERC721Events.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

library ERC721Events {
  event ApprovalForAll(
    address indexed owner,
    address indexed operator,
    bool approved
  );
  event Approval(
    address indexed owner,
    address indexed spender,
    uint256 indexed id
  );
  event Transfer(address indexed from, address indexed to, uint256 indexed id);
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint8","name":"decimals_","type":"uint8"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyExists","type":"error"},{"inputs":[],"name":"DecimalsTooLow","type":"error"},{"inputs":[],"name":"InsufficientAllowance","type":"error"},{"inputs":[],"name":"InvalidApproval","type":"error"},{"inputs":[],"name":"InvalidExemption","type":"error"},{"inputs":[],"name":"InvalidOperator","type":"error"},{"inputs":[],"name":"InvalidRecipient","type":"error"},{"inputs":[],"name":"InvalidSender","type":"error"},{"inputs":[],"name":"InvalidSigner","type":"error"},{"inputs":[],"name":"InvalidSpender","type":"error"},{"inputs":[],"name":"InvalidTokenId","type":"error"},{"inputs":[],"name":"MintLimitReached","type":"error"},{"inputs":[],"name":"NotFound","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"OwnedIndexOverflow","type":"error"},{"inputs":[],"name":"PermitDeadlineExpired","type":"error"},{"inputs":[],"name":"QueueEmpty","type":"error"},{"inputs":[],"name":"QueueFull","type":"error"},{"inputs":[],"name":"QueueOutOfBounds","type":"error"},{"inputs":[],"name":"RecipientIsERC721TransferExempt","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"inputs":[],"name":"UnsafeRecipient","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","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":"SetAMMPair","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":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ID_ENCODING_PREFIX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"active","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"ammPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender_","type":"address"},{"internalType":"uint256","name":"valueOrId_","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"corePair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"earlyPro","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"earlyPro1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"earlyPro2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender_","type":"address"},{"internalType":"uint256","name":"value_","type":"uint256"}],"name":"erc20Approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"}],"name":"erc20BalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"erc20TotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from_","type":"address"},{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256","name":"value_","type":"uint256"}],"name":"erc20TransferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender_","type":"address"},{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"erc721Approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"}],"name":"erc721BalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"erc721TotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target_","type":"address"}],"name":"erc721TransferExempt","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":"id_","type":"uint256"}],"name":"erc721TransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getERC721QueueLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"start_","type":"uint256"},{"internalType":"uint256","name":"count_","type":"uint256"}],"name":"getERC721TokensInQueue","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isErc20Valid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"}],"name":"owned","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"erc721Owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removePro","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from_","type":"address"},{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from_","type":"address"},{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256","name":"id_","type":"uint256"},{"internalType":"bytes","name":"data_","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAMMPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator_","type":"address"},{"internalType":"bool","name":"approved_","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to_","type":"address"},{"internalType":"bool","name":"state_","type":"bool"}],"name":"setErc20Valid","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to_","type":"address"},{"internalType":"bool","name":"state_","type":"bool"}],"name":"setNonErc721Recepient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_earlyPro2","type":"uint256"},{"internalType":"uint256","name":"_earlyPro1","type":"uint256"}],"name":"setPros","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256","name":"value_","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from_","type":"address"},{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256","name":"valueOrId_","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":"units","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60c06040526001600360006101000a81548160ff0219169083151502179055506000600660006101000a81548160ff021916908315150217905550734752ba5dbc23f44d87826276bf6fd6b1c372ad24600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200009c57600080fd5b5060405162007738380380620077388339818101604052810190620000c2919062002045565b33600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620001385760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016200012f919062002124565b60405180910390fd5b6200014981620002b860201b60201c565b5082600990816200015b91906200238c565b5081600a90816200016d91906200238c565b5060128160ff161015620001ad576040517f98790fd500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060ff1660808160ff168152505060805160ff16600a620001cf9190620025f6565b6153fc620001de919062002647565b60a0818152505060006ab1d8055aae1b923700000090506103e881620002059190620026c1565b6004819055506103e8816200021b9190620026c1565b60058190555062000243620002356200037c60201b60201c565b6001620003a560201b60201c565b62000256306001620003a560201b60201c565b6200026b61dead6001620003a560201b60201c565b6200028d6200027f6200037c60201b60201c565b60016200041060201b60201c565b620002ae620002a16200037c60201b60201c565b826200050260201b60201c565b5050505062002a21565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b620003b5620005ec60201b60201c565b80600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000477576040517fa41e3d3f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b801562000495576200048f826200068e60201b60201c565b620004a7565b620004a682620006d160201b60201c565b5b80601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000569576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f800000000000000000000000000000000000000000000000000000000000000081600b546200059a9190620026f9565b1115620005d3576040517f303b682f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b620005e7600083836200074660201b60201c565b505050565b620005fc62000ac560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620006226200037c60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200068c576200064e62000ac560201b60201c565b6040517f118cdaa700000000000000000000000000000000000000000000000000000000815260040162000683919062002124565b60405180910390fd5b565b6000620006a18262000acd60201b60201c565b905060005b81811015620006cc57620006c08362000b1960201b60201c565b806001019050620006a6565b505050565b600060a051620006e78362000c6160201b60201c565b620006f39190620026c1565b90506000620007088362000acd60201b60201c565b905060005b81836200071b919062002734565b8110156200074057620007348462000caa60201b60201c565b8060010190506200070d565b50505050565b6000806200075a8562000c6160201b60201c565b905060006200076f8562000c6160201b60201c565b90506200078486868662000e7f60201b60201c565b60006200079787620015a260201b60201c565b90506000620007ac87620015a260201b60201c565b9050818015620007b95750805b62000ab65781156200086557600060a05184620007d79190620026c1565b60a051600f60008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054620008269190620026c1565b62000832919062002734565b905060005b818110156200085d57620008518962000caa60201b60201c565b80600101905062000837565b505062000ab5565b80156200090c57600060a051600f60008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054620008bd9190620026c1565b60a05186620008cd9190620026c1565b620008d9919062002734565b905060005b818110156200090457620008f88a62000b1960201b60201c565b806001019050620008de565b505062000ab4565b600060a051876200091e9190620026c1565b905060005b8181101562000a055760006001601460008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506200097f919062002734565b90506000601460008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110620009d757620009d66200276f565b5b90600052602060002001549050620009f78c8c836200162f60201b60201c565b826001019250505062000923565b508060a05162000a1b8b62000c6160201b60201c565b62000a279190620026c1565b60a0518762000a379190620026c1565b62000a43919062002734565b111562000a5c5762000a5b8962000b1960201b60201c565b5b8060a0518562000a6d9190620026c1565b60a05162000a818b62000c6160201b60201c565b62000a8d9190620026c1565b62000a99919062002734565b111562000ab25762000ab18862000caa60201b60201c565b5b505b5b5b60019450505050509392505050565b600033905090565b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050919050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160362000b80576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001601460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905062000c12919062002734565b8154811062000c265762000c256200276f565b5b9060005260206000200154905062000c47826000836200162f60201b60201c565b62000c5d816001620019d860201b90919060201c565b5050565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160362000d11576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600062000d25600162001afc60201b60201c565b62000d445762000d3c600162001b6c60201b60201c565b905062000deb565b600c6000815462000d55906200279e565b919050819055507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600c540362000db8576040517f303b682f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c547f800000000000000000000000000000000000000000000000000000000000000062000de89190620026f9565b90505b600062000dfe8262001cd160201b60201c565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161462000e67576040517f23369fa600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b62000e7a8184846200162f60201b60201c565b505050565b600360009054906101000a900460ff16156200143a5762000ea56200037c60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801562000f0e5750600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b801562000f56575062000f266200037c60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801562000f905750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801562000fcb575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b156200143957600660009054906101000a900460ff16620010cb57600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680620010885750600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b620010ca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620010c1906200284c565b60405180910390fd5b5b600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680156200116f5750600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156200125757600454811115620011bd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620011b490620028be565b60405180910390fd5b600554600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826200120d9190620026f9565b111562001251576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620012489062002930565b60405180910390fd5b62001438565b600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168015620012fb5750600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156200134f5760045481111562001349576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200134090620029a2565b60405180910390fd5b62001437565b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166200143657600554600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482620013f19190620026f9565b111562001435576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200142c9062002930565b60405180910390fd5b5b5b5b5b5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620014905780600b6000828254620014839190620026f9565b92505081905550620014e9565b80600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620014e1919062002734565b925050819055505b80600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620015959190620029d5565b60405180910390a3505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161480620016285750601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146200184b576011600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000601460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001601460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506200172c919062002734565b8154811062001740576200173f6200276f565b5b90600052602060002001549050818114620017e1576000620017688362001d0960201b60201c565b905081601460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110620017bf57620017be6200276f565b5b9060005260206000200181905550620017df828262001d2e60201b60201c565b505b601460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480620018335762001832620029f2565b5b60019003818190600052602060002001600090559055505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620019605762001892818362001e0260201b60201c565b601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190806001815401808255809150506001900390600052602060002001600090919091909150556200195a816001601460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506200194e919062002734565b62001d2e60201b60201c565b62001978565b60136000828152602001908152602001600020600090555b808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600060018360000160009054906101000a90046fffffffffffffffffffffffffffffffff160390508260000160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16816fffffffffffffffffffffffffffffffff160362001a7e576040517f8acb5f2700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81836001016000836fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808360000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550505050565b60008160000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168260000160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16149050919050565b6000808260000160109054906101000a90046fffffffffffffffffffffffffffffffff1690508260000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16816fffffffffffffffffffffffffffffffff160362001c10576040517f75e52f4f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600190039050826001016000826fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152602001908152602001600020549150826001016000826fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16815260200190815260200160002060009055808360000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555050919050565b6000806013600084815260200190815260200160002054905073ffffffffffffffffffffffffffffffffffffffff8116915050919050565b600080601360008481526020019081526020016000205490508060a01c915050919050565b60006013600084815260200190815260200160002054905060a07fffffffffffffffffffffffff0000000000000000000000000000000000000000901c82111562001da5576040517ffcb3438c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fffffffffffffffffffffffff00000000000000000000000000000000000000008260a01b1673ffffffffffffffffffffffffffffffffffffffff8216019050806013600085815260200190815260200160002081905550505050565b60006013600084815260200190815260200160002054905073ffffffffffffffffffffffffffffffffffffffff82167fffffffffffffffffffffffff00000000000000000000000000000000000000008216019050806013600085815260200190815260200160002081905550505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62001edd8262001e92565b810181811067ffffffffffffffff8211171562001eff5762001efe62001ea3565b5b80604052505050565b600062001f1462001e74565b905062001f22828262001ed2565b919050565b600067ffffffffffffffff82111562001f455762001f4462001ea3565b5b62001f508262001e92565b9050602081019050919050565b60005b8381101562001f7d57808201518184015260208101905062001f60565b60008484015250505050565b600062001fa062001f9a8462001f27565b62001f08565b90508281526020810184848401111562001fbf5762001fbe62001e8d565b5b62001fcc84828562001f5d565b509392505050565b600082601f83011262001fec5762001feb62001e88565b5b815162001ffe84826020860162001f89565b91505092915050565b600060ff82169050919050565b6200201f8162002007565b81146200202b57600080fd5b50565b6000815190506200203f8162002014565b92915050565b60008060006060848603121562002061576200206062001e7e565b5b600084015167ffffffffffffffff81111562002082576200208162001e83565b5b620020908682870162001fd4565b935050602084015167ffffffffffffffff811115620020b457620020b362001e83565b5b620020c28682870162001fd4565b9250506040620020d5868287016200202e565b9150509250925092565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200210c82620020df565b9050919050565b6200211e81620020ff565b82525050565b60006020820190506200213b600083018462002113565b92915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200219457607f821691505b602082108103620021aa57620021a96200214c565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620022147fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620021d5565b620022208683620021d5565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200226d62002267620022618462002238565b62002242565b62002238565b9050919050565b6000819050919050565b62002289836200224c565b620022a1620022988262002274565b848454620021e2565b825550505050565b600090565b620022b8620022a9565b620022c58184846200227e565b505050565b5b81811015620022ed57620022e1600082620022ae565b600181019050620022cb565b5050565b601f8211156200233c576200230681620021b0565b6200231184620021c5565b8101602085101562002321578190505b620023396200233085620021c5565b830182620022ca565b50505b505050565b600082821c905092915050565b6000620023616000198460080262002341565b1980831691505092915050565b60006200237c83836200234e565b9150826002028217905092915050565b620023978262002141565b67ffffffffffffffff811115620023b357620023b262001ea3565b5b620023bf82546200217b565b620023cc828285620022f1565b600060209050601f831160018114620024045760008415620023ef578287015190505b620023fb85826200236e565b8655506200246b565b601f1984166200241486620021b0565b60005b828110156200243e5784890151825560018201915060208501945060208101905062002417565b868310156200245e57848901516200245a601f8916826200234e565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b60018511156200250157808604811115620024d957620024d862002473565b5b6001851615620024e95780820291505b8081029050620024f985620024a2565b9450620024b9565b94509492505050565b6000826200251c5760019050620025ef565b816200252c5760009050620025ef565b8160018114620025455760028114620025505762002586565b6001915050620025ef565b60ff84111562002565576200256462002473565b5b8360020a9150848211156200257f576200257e62002473565b5b50620025ef565b5060208310610133831016604e8410600b8410161715620025c05782820a905083811115620025ba57620025b962002473565b5b620025ef565b620025cf8484846001620024af565b92509050818404811115620025e957620025e862002473565b5b81810290505b9392505050565b6000620026038262002238565b9150620026108362002238565b92506200263f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846200250a565b905092915050565b6000620026548262002238565b9150620026618362002238565b9250828202620026718162002238565b915082820484148315176200268b576200268a62002473565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000620026ce8262002238565b9150620026db8362002238565b925082620026ee57620026ed62002692565b5b828204905092915050565b6000620027068262002238565b9150620027138362002238565b92508282019050808211156200272e576200272d62002473565b5b92915050565b6000620027418262002238565b91506200274e8362002238565b925082820390508181111562002769576200276862002473565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000620027ab8262002238565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203620027e057620027df62002473565b5b600182019050919050565b600082825260208201905092915050565b7f3100000000000000000000000000000000000000000000000000000000000000600082015250565b600062002834600183620027eb565b91506200284182620027fc565b602082019050919050565b60006020820190508181036000830152620028678162002825565b9050919050565b7f3200000000000000000000000000000000000000000000000000000000000000600082015250565b6000620028a6600183620027eb565b9150620028b3826200286e565b602082019050919050565b60006020820190508181036000830152620028d98162002897565b9050919050565b7f3300000000000000000000000000000000000000000000000000000000000000600082015250565b600062002918600183620027eb565b91506200292582620028e0565b602082019050919050565b600060208201905081810360008301526200294b8162002909565b9050919050565b7f3400000000000000000000000000000000000000000000000000000000000000600082015250565b60006200298a600183620027eb565b9150620029978262002952565b602082019050919050565b60006020820190508181036000830152620029bd816200297b565b9050919050565b620029cf8162002238565b82525050565b6000602082019050620029ec6000830184620029c4565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b60805160a051614ca462002a94600039600081816114f901528181611f96015281816126aa015281816126d60152818161277b015281816127e6015281816128460152818161294c01528181612980015281816129c7015281816129f3015261366501526000610e3b0152614ca46000f3fe608060405234801561001057600080fd5b50600436106102d65760003560e01c80637624c69311610182578063b3f9ea34116100e9578063dd637699116100a2578063e985e9c51161007c578063e985e9c51461090f578063f2fde38b1461093f578063f780bc1a1461095b578063f887ea401461098b576102d6565b8063dd637699146108a7578063dfabc033146108c3578063e0e29dea146108df576102d6565b8063b3f9ea34146107ad578063b88d4fde146107dd578063c5ab3ba6146107f9578063c87b56dd14610817578063d96ca0b914610847578063dd62ed3e14610877576102d6565b8063976a84351161013b578063976a8435146106c5578063a22cb465146106e3578063a72905a2146106ff578063a9059cbb1461072f578063b1ab93171461075f578063b38b95461461078f576102d6565b80637624c693146106275780638129fc1c14610643578063854b38c91461064d57806389fb4c661461066b5780638da5cb5b1461068957806395d89b41146106a7576102d6565b80632d99d32e1161024157806359700af2116101fa5780636e8f624b116101d45780636e8f624b146105c557806370a08231146105e3578063715018a614610613578063760a8c2a1461061d576102d6565b806359700af21461055b5780636352211e146105795780636937333a146105a9576102d6565b80632d99d32e146104ad5780632e346fc4146104c9578063313ce567146104d357806342842e0e146104f15780634d9660721461050d5780634f02c4201461053d576102d6565b806309674eb01161029357806309674eb0146103d757806309f0ef65146103f557806318160ddd146104255780631863de52146104435780631c9fcf021461045f57806323b872dd1461047d576102d6565b806301ffc9a7146102db57806302519da31461030b57806302fb0c5e1461033b57806306fdde0314610359578063081812fc14610377578063095ea7b3146103a7575b600080fd5b6102f560048036038101906102f09190613fda565b6109a9565b6040516103029190614022565b60405180910390f35b6103256004803603810190610320919061409b565b610a7b565b60405161033291906140e1565b60405180910390f35b610343610ac4565b6040516103509190614022565b60405180910390f35b610361610ad7565b60405161036e919061418c565b60405180910390f35b610391600480360381019061038c91906141da565b610b65565b60405161039e9190614216565b60405180910390f35b6103c160048036038101906103bc9190614231565b610b98565b6040516103ce9190614022565b60405180910390f35b6103df610bd3565b6040516103ec91906140e1565b60405180910390f35b61040f600480360381019061040a919061409b565b610be4565b60405161041c9190614022565b60405180910390f35b61042d610c70565b60405161043a91906140e1565b60405180910390f35b61045d6004803603810190610458919061429d565b610c76565b005b610467610c8c565b60405161047491906140e1565b60405180910390f35b610497600480360381019061049291906142dd565b610c92565b6040516104a49190614022565b60405180910390f35b6104c760048036038101906104c2919061429d565b610cd0565b005b6104d1610e14565b005b6104db610e39565b6040516104e8919061434c565b60405180910390f35b61050b600480360381019061050691906142dd565b610e5d565b005b61052760048036038101906105229190614231565b610e7d565b6040516105349190614022565b60405180910390f35b610545610fd4565b60405161055291906140e1565b60405180910390f35b610563610fda565b6040516105709190614216565b60405180910390f35b610593600480360381019061058e91906141da565b611000565b6040516105a09190614216565b60405180910390f35b6105c360048036038101906105be919061429d565b6110b7565b005b6105cd61111a565b6040516105da91906140e1565b60405180910390f35b6105fd60048036038101906105f8919061409b565b61113e565b60405161060a91906140e1565b60405180910390f35b61061b611156565b005b61062561116a565b005b610641600480360381019061063c9190614367565b611196565b005b61064b6111b0565b005b610655611430565b60405161066291906140e1565b60405180910390f35b610673611436565b60405161068091906140e1565b60405180910390f35b610691611440565b60405161069e9190614216565b60405180910390f35b6106af611469565b6040516106bc919061418c565b60405180910390f35b6106cd6114f7565b6040516106da91906140e1565b60405180910390f35b6106fd60048036038101906106f8919061429d565b61151b565b005b6107196004803603810190610714919061409b565b61167e565b6040516107269190614022565b60405180910390f35b61074960048036038101906107449190614231565b61169e565b6040516107569190614022565b60405180910390f35b6107796004803603810190610774919061409b565b611718565b6040516107869190614465565b60405180910390f35b6107976117af565b6040516107a49190614022565b60405180910390f35b6107c760048036038101906107c2919061409b565b6117c2565b6040516107d491906140e1565b60405180910390f35b6107f760048036038101906107f291906145bc565b61180e565b005b610801611984565b60405161080e91906140e1565b60405180910390f35b610831600480360381019061082c91906141da565b61198e565b60405161083e919061418c565b60405180910390f35b610861600480360381019061085c91906142dd565b6119bf565b60405161086e9190614022565b60405180910390f35b610891600480360381019061088c919061463f565b611c8c565b60405161089e91906140e1565b60405180910390f35b6108c160048036038101906108bc91906142dd565b611cb1565b005b6108dd60048036038101906108d89190614231565b611fca565b005b6108f960048036038101906108f4919061409b565b612183565b6040516109069190614022565b60405180910390f35b6109296004803603810190610924919061463f565b6121a3565b6040516109369190614022565b60405180910390f35b6109596004803603810190610954919061409b565b6121d2565b005b61097560048036038101906109709190614367565b612258565b6040516109829190614465565b60405180910390f35b610993612314565b6040516109a09190614216565b60405180910390f35b60007fa3d1387f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a7457507f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600660009054906101000a900460ff1681565b60098054610ae4906146ae565b80601f0160208091040260200160405190810160405280929190818152602001828054610b10906146ae565b8015610b5d5780601f10610b3257610100808354040283529160200191610b5d565b820191906000526020600020905b815481529060010190602001808311610b4057829003601f168201915b505050505081565b60116020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610ba38261233a565b15610bb757610bb28383611fca565b610bc8565b610bc18383610e7d565b9050610bcd565b600190505b92915050565b6000610bdf6001612392565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161480610c695750601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b9050919050565b600b5481565b610c7e6123f0565b610c888282612477565b5050565b60055481565b6000610c9d8261233a565b15610cb257610cad848484611cb1565b610cc4565b610cbd8484846119bf565b9050610cc9565b600190505b9392505050565b610cd86123f0565b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5f9061472b565b60405180910390fd5b80600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610dca826001612477565b8015158273ffffffffffffffffffffffffffffffffffffffff167fee6ce3a11a74f9a94b8a0152fc219acc6645b25bc298e2cae8ec6a520bd83da960405160405180910390a35050565b610e1c6123f0565b6000600360006101000a81548160ff021916908315150217905550565b7f000000000000000000000000000000000000000000000000000000000000000081565b610e788383836040518060200160405280600081525061180e565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ee4576040517f5461585f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610fc291906140e1565b60405180910390a36001905092915050565b600c5481565b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061100b82612556565b90506110168261233a565b61104c576040517f3f6cc76800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036110b2576040517fc5723b5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6110bf6123f0565b80600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b7f800000000000000000000000000000000000000000000000000000000000000081565b600f6020528060005260406000206000915090505481565b61115e6123f0565b611168600061258e565b565b6111726123f0565b6001600660006101000a81548160ff02191690831515021790555043600881905550565b61119e6123f0565b80600481905550816005819055505050565b6111b86123f0565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561122a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124e9190614760565b73ffffffffffffffffffffffffffffffffffffffff1663c9c65396308373ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d99190614760565b6040518363ffffffff1660e01b81526004016112f692919061478d565b6020604051808303816000875af1158015611315573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113399190614760565b600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506113a6600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660016110b7565b6113d3600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660016110b7565b611400600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166001612477565b61142d600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff166001610cd0565b50565b60045481565b6000600b54905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a8054611476906146ae565b80601f01602080910402602001604051908101604052809291908181526020018280546114a2906146ae565b80156114ef5780601f106114c4576101008083540402835291602001916114ef565b820191906000526020600020905b8154815290600101906020018083116114d257829003601f168201915b505050505081565b7f000000000000000000000000000000000000000000000000000000000000000081565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611581576040517fccea9e6f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116729190614022565b60405180910390a35050565b600e6020528060005260406000206000915054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611705576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611710338484612652565b905092915050565b6060601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806020026020016040519081016040528092919081815260200182805480156117a357602002820191906000526020600020905b81548152602001906001019080831161178f575b50505050509050919050565b600360009054906101000a900460ff1681565b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050919050565b6118178261233a565b61184d576040517f3f6cc76800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611858848484610c92565b5060008373ffffffffffffffffffffffffffffffffffffffff163b14158015611947575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168373ffffffffffffffffffffffffffffffffffffffff1663150b7a02338786866040518563ffffffff1660e01b81526004016118e2949392919061480b565b6020604051808303816000875af1158015611901573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611925919061486c565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b1561197e576040517f3da6393100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6000600c54905090565b606061199982612a52565b6040516020016119a991906148fb565b6040516020818303038152906040529050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611a26576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611a8c576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000601060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611c775782601060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611bea576040517f13be252b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8281611bf69190614950565b601060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b611c82858585612652565b9150509392505050565b6010602052816000526040600020602052806000526040600020600091509150505481565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611d17576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d7d576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611d8681612556565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611dea576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614158015611ead5750601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b8015611f1857506011600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b15611f4f576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f5882610be4565b15611f8f576040517f5ce7539700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611fba83837f0000000000000000000000000000000000000000000000000000000000000000612b20565b611fc5838383613209565b505050565b6000611fd582612556565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415801561209a5750601260008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156120d1576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826011600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600d6020528060005260406000206000915054906101000a900460ff1681565b60126020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b6121da6123f0565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361224c5760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016122439190614216565b60405180910390fd5b6122558161258e565b50565b606060008267ffffffffffffffff81111561227657612275614491565b5b6040519080825280602002602001820160405280156122a45781602001602082028036833780820191505090505b50905060008490505b83856122b99190614984565b811015612309576122d481600161358190919063ffffffff16565b8286836122e19190614950565b815181106122f2576122f16149b8565b5b6020026020010181815250508060010190506122ad565b508091505092915050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f80000000000000000000000000000000000000000000000000000000000000008211801561238b57507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214155b9050919050565b60008160000160009054906101000a90046fffffffffffffffffffffffffffffffff168260000160109054906101000a90046fffffffffffffffffffffffffffffffff16036fffffffffffffffffffffffffffffffff169050919050565b6123f8613628565b73ffffffffffffffffffffffffffffffffffffffff16612416611440565b73ffffffffffffffffffffffffffffffffffffffff161461247557612439613628565b6040517f118cdaa700000000000000000000000000000000000000000000000000000000815260040161246c9190614216565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036124dd576040517fa41e3d3f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80156124f1576124ec82613630565b6124fb565b6124fa82613661565b5b80601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000806013600084815260200190815260200160002054905073ffffffffffffffffffffffffffffffffffffffff8116915050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008061265e85610a7b565b9050600061266b85610a7b565b9050612678868686612b20565b600061268387610be4565b9050600061269087610be4565b905081801561269c5750805b612a435781156127715760007f0000000000000000000000000000000000000000000000000000000000000000846126d49190614a16565b7f0000000000000000000000000000000000000000000000000000000000000000600f60008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461273f9190614a16565b6127499190614950565b905060005b8181101561276a5761275f896136d6565b80600101905061274e565b5050612a42565b80156128425760007f0000000000000000000000000000000000000000000000000000000000000000600f60008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127e49190614a16565b7f0000000000000000000000000000000000000000000000000000000000000000866128109190614a16565b61281a9190614950565b905060005b8181101561283b576128308a613882565b80600101905061281f565b5050612a41565b60007f0000000000000000000000000000000000000000000000000000000000000000876128709190614a16565b905060005b818110156129485760006001601460008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506128ce9190614950565b90506000601460008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110612923576129226149b8565b5b9060005260206000200154905061293b8c8c83613209565b8260010192505050612875565b50807f00000000000000000000000000000000000000000000000000000000000000006129748b610a7b565b61297e9190614a16565b7f0000000000000000000000000000000000000000000000000000000000000000876129aa9190614a16565b6129b49190614950565b11156129c4576129c389613882565b5b807f0000000000000000000000000000000000000000000000000000000000000000856129f19190614a16565b7f0000000000000000000000000000000000000000000000000000000000000000612a1b8b610a7b565b612a259190614a16565b612a2f9190614950565b1115612a3f57612a3e886136d6565b5b505b5b5b60019450505050509392505050565b606060006001612a61846139ba565b01905060008167ffffffffffffffff811115612a8057612a7f614491565b5b6040519080825280601f01601f191660200182016040528015612ab25781602001600182028036833780820191505090505b509050600082602001820190505b600115612b15578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612b0957612b086149e7565b5b04945060008503612ac0575b819350505050919050565b600360009054906101000a900460ff16156130a957612b3d611440565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015612ba55750600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b8015612be45750612bb4611440565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015612c1d5750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015612c57575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b156130a857600660009054906101000a900460ff16612d5157600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680612d115750600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b612d50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d4790614a93565b60405180910390fd5b5b600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168015612df45750600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15612ed257600454811115612e3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3590614aff565b60405180910390fd5b600554600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482612e8c9190614984565b1115612ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec490614b6b565b60405180910390fd5b6130a7565b600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168015612f755750600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15612fc457600454811115612fbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fb690614bd7565b60405180910390fd5b6130a6565b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166130a557600554600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826130639190614984565b11156130a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161309b90614b6b565b60405180910390fd5b5b5b5b5b5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036130fb5780600b60008282546130ef9190614984565b92505081905550613152565b80600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461314a9190614950565b925050819055505b80600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516131fc91906140e1565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613408576011600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000601460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001601460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506133039190614950565b81548110613314576133136149b8565b5b906000526020600020015490508181146133a157600061333383613b0d565b905081601460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110613387576133866149b8565b5b906000526020600020018190555061339f8282613b32565b505b601460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806133f0576133ef614bf7565b5b60019003818190600052602060002001600090559055505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613509576134468183613c05565b601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819080600181540180825580915050600190039060005260206000200160009091909190915055613504816001601460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506134ff9190614950565b613b32565b613521565b60136000828152602001908152602001600020600090555b808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061358c83612392565b82106135c4576040517f580821e700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826001016000838560000160009054906101000a90046fffffffffffffffffffffffffffffffff16016fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b600061363b826117c2565b905060005b8181101561365c5761365183613882565b806001019050613640565b505050565b60007f000000000000000000000000000000000000000000000000000000000000000061368d83610a7b565b6136979190614a16565b905060006136a4836117c2565b905060005b81836136b59190614950565b8110156136d0576136c5846136d6565b8060010190506136a9565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361373c576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006137486001613c77565b61375d576137566001613ce7565b90506137ff565b600c6000815461376c90614c26565b919050819055507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600c54036137ce576040517f303b682f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c547f80000000000000000000000000000000000000000000000000000000000000006137fc9190614984565b90505b600061380a82612556565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614613872576040517f23369fa600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61387d818484613209565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036138e8576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001601460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506139789190614950565b81548110613989576139886149b8565b5b906000526020600020015490506139a282600083613209565b6139b6816001613e4b90919063ffffffff16565b5050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613a18577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381613a0e57613a0d6149e7565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613a55576d04ee2d6d415b85acef81000000008381613a4b57613a4a6149e7565b5b0492506020810190505b662386f26fc100008310613a8457662386f26fc100008381613a7a57613a796149e7565b5b0492506010810190505b6305f5e1008310613aad576305f5e1008381613aa357613aa26149e7565b5b0492506008810190505b6127108310613ad2576127108381613ac857613ac76149e7565b5b0492506004810190505b60648310613af55760648381613aeb57613aea6149e7565b5b0492506002810190505b600a8310613b04576001810190505b80915050919050565b600080601360008481526020019081526020016000205490508060a01c915050919050565b60006013600084815260200190815260200160002054905060a07fffffffffffffffffffffffff0000000000000000000000000000000000000000901c821115613ba8576040517ffcb3438c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fffffffffffffffffffffffff00000000000000000000000000000000000000008260a01b1673ffffffffffffffffffffffffffffffffffffffff8216019050806013600085815260200190815260200160002081905550505050565b60006013600084815260200190815260200160002054905073ffffffffffffffffffffffffffffffffffffffff82167fffffffffffffffffffffffff00000000000000000000000000000000000000008216019050806013600085815260200190815260200160002081905550505050565b60008160000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168260000160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16149050919050565b6000808260000160109054906101000a90046fffffffffffffffffffffffffffffffff1690508260000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16816fffffffffffffffffffffffffffffffff1603613d8a576040517f75e52f4f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600190039050826001016000826fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152602001908152602001600020549150826001016000826fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16815260200190815260200160002060009055808360000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555050919050565b600060018360000160009054906101000a90046fffffffffffffffffffffffffffffffff160390508260000160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16816fffffffffffffffffffffffffffffffff1603613ef0576040517f8acb5f2700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81836001016000836fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808360000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613fb781613f82565b8114613fc257600080fd5b50565b600081359050613fd481613fae565b92915050565b600060208284031215613ff057613fef613f78565b5b6000613ffe84828501613fc5565b91505092915050565b60008115159050919050565b61401c81614007565b82525050565b60006020820190506140376000830184614013565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006140688261403d565b9050919050565b6140788161405d565b811461408357600080fd5b50565b6000813590506140958161406f565b92915050565b6000602082840312156140b1576140b0613f78565b5b60006140bf84828501614086565b91505092915050565b6000819050919050565b6140db816140c8565b82525050565b60006020820190506140f660008301846140d2565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561413657808201518184015260208101905061411b565b60008484015250505050565b6000601f19601f8301169050919050565b600061415e826140fc565b6141688185614107565b9350614178818560208601614118565b61418181614142565b840191505092915050565b600060208201905081810360008301526141a68184614153565b905092915050565b6141b7816140c8565b81146141c257600080fd5b50565b6000813590506141d4816141ae565b92915050565b6000602082840312156141f0576141ef613f78565b5b60006141fe848285016141c5565b91505092915050565b6142108161405d565b82525050565b600060208201905061422b6000830184614207565b92915050565b6000806040838503121561424857614247613f78565b5b600061425685828601614086565b9250506020614267858286016141c5565b9150509250929050565b61427a81614007565b811461428557600080fd5b50565b60008135905061429781614271565b92915050565b600080604083850312156142b4576142b3613f78565b5b60006142c285828601614086565b92505060206142d385828601614288565b9150509250929050565b6000806000606084860312156142f6576142f5613f78565b5b600061430486828701614086565b935050602061431586828701614086565b9250506040614326868287016141c5565b9150509250925092565b600060ff82169050919050565b61434681614330565b82525050565b6000602082019050614361600083018461433d565b92915050565b6000806040838503121561437e5761437d613f78565b5b600061438c858286016141c5565b925050602061439d858286016141c5565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6143dc816140c8565b82525050565b60006143ee83836143d3565b60208301905092915050565b6000602082019050919050565b6000614412826143a7565b61441c81856143b2565b9350614427836143c3565b8060005b8381101561445857815161443f88826143e2565b975061444a836143fa565b92505060018101905061442b565b5085935050505092915050565b6000602082019050818103600083015261447f8184614407565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6144c982614142565b810181811067ffffffffffffffff821117156144e8576144e7614491565b5b80604052505050565b60006144fb613f6e565b905061450782826144c0565b919050565b600067ffffffffffffffff82111561452757614526614491565b5b61453082614142565b9050602081019050919050565b82818337600083830152505050565b600061455f61455a8461450c565b6144f1565b90508281526020810184848401111561457b5761457a61448c565b5b61458684828561453d565b509392505050565b600082601f8301126145a3576145a2614487565b5b81356145b384826020860161454c565b91505092915050565b600080600080608085870312156145d6576145d5613f78565b5b60006145e487828801614086565b94505060206145f587828801614086565b9350506040614606878288016141c5565b925050606085013567ffffffffffffffff81111561462757614626613f7d565b5b6146338782880161458e565b91505092959194509250565b6000806040838503121561465657614655613f78565b5b600061466485828601614086565b925050602061467585828601614086565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806146c657607f821691505b6020821081036146d9576146d861467f565b5b50919050565b7f506169722063616e6e6f742062652072656d6f76656400000000000000000000600082015250565b6000614715601683614107565b9150614720826146df565b602082019050919050565b6000602082019050818103600083015261474481614708565b9050919050565b60008151905061475a8161406f565b92915050565b60006020828403121561477657614775613f78565b5b60006147848482850161474b565b91505092915050565b60006040820190506147a26000830185614207565b6147af6020830184614207565b9392505050565b600081519050919050565b600082825260208201905092915050565b60006147dd826147b6565b6147e781856147c1565b93506147f7818560208601614118565b61480081614142565b840191505092915050565b60006080820190506148206000830187614207565b61482d6020830186614207565b61483a60408301856140d2565b818103606083015261484c81846147d2565b905095945050505050565b60008151905061486681613fae565b92915050565b60006020828403121561488257614881613f78565b5b600061489084828501614857565b91505092915050565b7f68747470733a2f2f737461727465722e78797a2f627569646c3430342f000000815250565b600081905092915050565b60006148d5826140fc565b6148df81856148bf565b93506148ef818560208601614118565b80840191505092915050565b600061490682614899565b601d8201915061491682846148ca565b915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061495b826140c8565b9150614966836140c8565b925082820390508181111561497e5761497d614921565b5b92915050565b600061498f826140c8565b915061499a836140c8565b92508282019050808211156149b2576149b1614921565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614a21826140c8565b9150614a2c836140c8565b925082614a3c57614a3b6149e7565b5b828204905092915050565b7f3100000000000000000000000000000000000000000000000000000000000000600082015250565b6000614a7d600183614107565b9150614a8882614a47565b602082019050919050565b60006020820190508181036000830152614aac81614a70565b9050919050565b7f3200000000000000000000000000000000000000000000000000000000000000600082015250565b6000614ae9600183614107565b9150614af482614ab3565b602082019050919050565b60006020820190508181036000830152614b1881614adc565b9050919050565b7f3300000000000000000000000000000000000000000000000000000000000000600082015250565b6000614b55600183614107565b9150614b6082614b1f565b602082019050919050565b60006020820190508181036000830152614b8481614b48565b9050919050565b7f3400000000000000000000000000000000000000000000000000000000000000600082015250565b6000614bc1600183614107565b9150614bcc82614b8b565b602082019050919050565b60006020820190508181036000830152614bf081614bb4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6000614c31826140c8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614c6357614c62614921565b5b60018201905091905056fea2646970667358221220ad6ef366069924baabd5bf719aa5c5dd72b55bd5e5dc07558faa51c479c0c28664736f6c63430008140033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000009425549444c2034303400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005425549444c000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102d65760003560e01c80637624c69311610182578063b3f9ea34116100e9578063dd637699116100a2578063e985e9c51161007c578063e985e9c51461090f578063f2fde38b1461093f578063f780bc1a1461095b578063f887ea401461098b576102d6565b8063dd637699146108a7578063dfabc033146108c3578063e0e29dea146108df576102d6565b8063b3f9ea34146107ad578063b88d4fde146107dd578063c5ab3ba6146107f9578063c87b56dd14610817578063d96ca0b914610847578063dd62ed3e14610877576102d6565b8063976a84351161013b578063976a8435146106c5578063a22cb465146106e3578063a72905a2146106ff578063a9059cbb1461072f578063b1ab93171461075f578063b38b95461461078f576102d6565b80637624c693146106275780638129fc1c14610643578063854b38c91461064d57806389fb4c661461066b5780638da5cb5b1461068957806395d89b41146106a7576102d6565b80632d99d32e1161024157806359700af2116101fa5780636e8f624b116101d45780636e8f624b146105c557806370a08231146105e3578063715018a614610613578063760a8c2a1461061d576102d6565b806359700af21461055b5780636352211e146105795780636937333a146105a9576102d6565b80632d99d32e146104ad5780632e346fc4146104c9578063313ce567146104d357806342842e0e146104f15780634d9660721461050d5780634f02c4201461053d576102d6565b806309674eb01161029357806309674eb0146103d757806309f0ef65146103f557806318160ddd146104255780631863de52146104435780631c9fcf021461045f57806323b872dd1461047d576102d6565b806301ffc9a7146102db57806302519da31461030b57806302fb0c5e1461033b57806306fdde0314610359578063081812fc14610377578063095ea7b3146103a7575b600080fd5b6102f560048036038101906102f09190613fda565b6109a9565b6040516103029190614022565b60405180910390f35b6103256004803603810190610320919061409b565b610a7b565b60405161033291906140e1565b60405180910390f35b610343610ac4565b6040516103509190614022565b60405180910390f35b610361610ad7565b60405161036e919061418c565b60405180910390f35b610391600480360381019061038c91906141da565b610b65565b60405161039e9190614216565b60405180910390f35b6103c160048036038101906103bc9190614231565b610b98565b6040516103ce9190614022565b60405180910390f35b6103df610bd3565b6040516103ec91906140e1565b60405180910390f35b61040f600480360381019061040a919061409b565b610be4565b60405161041c9190614022565b60405180910390f35b61042d610c70565b60405161043a91906140e1565b60405180910390f35b61045d6004803603810190610458919061429d565b610c76565b005b610467610c8c565b60405161047491906140e1565b60405180910390f35b610497600480360381019061049291906142dd565b610c92565b6040516104a49190614022565b60405180910390f35b6104c760048036038101906104c2919061429d565b610cd0565b005b6104d1610e14565b005b6104db610e39565b6040516104e8919061434c565b60405180910390f35b61050b600480360381019061050691906142dd565b610e5d565b005b61052760048036038101906105229190614231565b610e7d565b6040516105349190614022565b60405180910390f35b610545610fd4565b60405161055291906140e1565b60405180910390f35b610563610fda565b6040516105709190614216565b60405180910390f35b610593600480360381019061058e91906141da565b611000565b6040516105a09190614216565b60405180910390f35b6105c360048036038101906105be919061429d565b6110b7565b005b6105cd61111a565b6040516105da91906140e1565b60405180910390f35b6105fd60048036038101906105f8919061409b565b61113e565b60405161060a91906140e1565b60405180910390f35b61061b611156565b005b61062561116a565b005b610641600480360381019061063c9190614367565b611196565b005b61064b6111b0565b005b610655611430565b60405161066291906140e1565b60405180910390f35b610673611436565b60405161068091906140e1565b60405180910390f35b610691611440565b60405161069e9190614216565b60405180910390f35b6106af611469565b6040516106bc919061418c565b60405180910390f35b6106cd6114f7565b6040516106da91906140e1565b60405180910390f35b6106fd60048036038101906106f8919061429d565b61151b565b005b6107196004803603810190610714919061409b565b61167e565b6040516107269190614022565b60405180910390f35b61074960048036038101906107449190614231565b61169e565b6040516107569190614022565b60405180910390f35b6107796004803603810190610774919061409b565b611718565b6040516107869190614465565b60405180910390f35b6107976117af565b6040516107a49190614022565b60405180910390f35b6107c760048036038101906107c2919061409b565b6117c2565b6040516107d491906140e1565b60405180910390f35b6107f760048036038101906107f291906145bc565b61180e565b005b610801611984565b60405161080e91906140e1565b60405180910390f35b610831600480360381019061082c91906141da565b61198e565b60405161083e919061418c565b60405180910390f35b610861600480360381019061085c91906142dd565b6119bf565b60405161086e9190614022565b60405180910390f35b610891600480360381019061088c919061463f565b611c8c565b60405161089e91906140e1565b60405180910390f35b6108c160048036038101906108bc91906142dd565b611cb1565b005b6108dd60048036038101906108d89190614231565b611fca565b005b6108f960048036038101906108f4919061409b565b612183565b6040516109069190614022565b60405180910390f35b6109296004803603810190610924919061463f565b6121a3565b6040516109369190614022565b60405180910390f35b6109596004803603810190610954919061409b565b6121d2565b005b61097560048036038101906109709190614367565b612258565b6040516109829190614465565b60405180910390f35b610993612314565b6040516109a09190614216565b60405180910390f35b60007fa3d1387f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a7457507f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600660009054906101000a900460ff1681565b60098054610ae4906146ae565b80601f0160208091040260200160405190810160405280929190818152602001828054610b10906146ae565b8015610b5d5780601f10610b3257610100808354040283529160200191610b5d565b820191906000526020600020905b815481529060010190602001808311610b4057829003601f168201915b505050505081565b60116020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610ba38261233a565b15610bb757610bb28383611fca565b610bc8565b610bc18383610e7d565b9050610bcd565b600190505b92915050565b6000610bdf6001612392565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161480610c695750601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b9050919050565b600b5481565b610c7e6123f0565b610c888282612477565b5050565b60055481565b6000610c9d8261233a565b15610cb257610cad848484611cb1565b610cc4565b610cbd8484846119bf565b9050610cc9565b600190505b9392505050565b610cd86123f0565b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5f9061472b565b60405180910390fd5b80600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610dca826001612477565b8015158273ffffffffffffffffffffffffffffffffffffffff167fee6ce3a11a74f9a94b8a0152fc219acc6645b25bc298e2cae8ec6a520bd83da960405160405180910390a35050565b610e1c6123f0565b6000600360006101000a81548160ff021916908315150217905550565b7f000000000000000000000000000000000000000000000000000000000000001281565b610e788383836040518060200160405280600081525061180e565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ee4576040517f5461585f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610fc291906140e1565b60405180910390a36001905092915050565b600c5481565b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061100b82612556565b90506110168261233a565b61104c576040517f3f6cc76800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036110b2576040517fc5723b5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6110bf6123f0565b80600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b7f800000000000000000000000000000000000000000000000000000000000000081565b600f6020528060005260406000206000915090505481565b61115e6123f0565b611168600061258e565b565b6111726123f0565b6001600660006101000a81548160ff02191690831515021790555043600881905550565b61119e6123f0565b80600481905550816005819055505050565b6111b86123f0565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561122a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124e9190614760565b73ffffffffffffffffffffffffffffffffffffffff1663c9c65396308373ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d99190614760565b6040518363ffffffff1660e01b81526004016112f692919061478d565b6020604051808303816000875af1158015611315573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113399190614760565b600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506113a6600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660016110b7565b6113d3600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660016110b7565b611400600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166001612477565b61142d600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff166001610cd0565b50565b60045481565b6000600b54905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a8054611476906146ae565b80601f01602080910402602001604051908101604052809291908181526020018280546114a2906146ae565b80156114ef5780601f106114c4576101008083540402835291602001916114ef565b820191906000526020600020905b8154815290600101906020018083116114d257829003601f168201915b505050505081565b7f00000000000000000000000000000000000000000000048d8470181e3270000081565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611581576040517fccea9e6f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116729190614022565b60405180910390a35050565b600e6020528060005260406000206000915054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611705576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611710338484612652565b905092915050565b6060601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806020026020016040519081016040528092919081815260200182805480156117a357602002820191906000526020600020905b81548152602001906001019080831161178f575b50505050509050919050565b600360009054906101000a900460ff1681565b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050919050565b6118178261233a565b61184d576040517f3f6cc76800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611858848484610c92565b5060008373ffffffffffffffffffffffffffffffffffffffff163b14158015611947575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168373ffffffffffffffffffffffffffffffffffffffff1663150b7a02338786866040518563ffffffff1660e01b81526004016118e2949392919061480b565b6020604051808303816000875af1158015611901573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611925919061486c565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b1561197e576040517f3da6393100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6000600c54905090565b606061199982612a52565b6040516020016119a991906148fb565b6040516020818303038152906040529050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611a26576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611a8c576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000601060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611c775782601060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611bea576040517f13be252b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8281611bf69190614950565b601060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b611c82858585612652565b9150509392505050565b6010602052816000526040600020602052806000526040600020600091509150505481565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611d17576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d7d576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611d8681612556565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611dea576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614158015611ead5750601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b8015611f1857506011600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b15611f4f576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f5882610be4565b15611f8f576040517f5ce7539700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611fba83837f00000000000000000000000000000000000000000000048d8470181e32700000612b20565b611fc5838383613209565b505050565b6000611fd582612556565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415801561209a5750601260008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156120d1576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826011600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600d6020528060005260406000206000915054906101000a900460ff1681565b60126020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b6121da6123f0565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361224c5760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016122439190614216565b60405180910390fd5b6122558161258e565b50565b606060008267ffffffffffffffff81111561227657612275614491565b5b6040519080825280602002602001820160405280156122a45781602001602082028036833780820191505090505b50905060008490505b83856122b99190614984565b811015612309576122d481600161358190919063ffffffff16565b8286836122e19190614950565b815181106122f2576122f16149b8565b5b6020026020010181815250508060010190506122ad565b508091505092915050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f80000000000000000000000000000000000000000000000000000000000000008211801561238b57507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214155b9050919050565b60008160000160009054906101000a90046fffffffffffffffffffffffffffffffff168260000160109054906101000a90046fffffffffffffffffffffffffffffffff16036fffffffffffffffffffffffffffffffff169050919050565b6123f8613628565b73ffffffffffffffffffffffffffffffffffffffff16612416611440565b73ffffffffffffffffffffffffffffffffffffffff161461247557612439613628565b6040517f118cdaa700000000000000000000000000000000000000000000000000000000815260040161246c9190614216565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036124dd576040517fa41e3d3f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80156124f1576124ec82613630565b6124fb565b6124fa82613661565b5b80601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000806013600084815260200190815260200160002054905073ffffffffffffffffffffffffffffffffffffffff8116915050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008061265e85610a7b565b9050600061266b85610a7b565b9050612678868686612b20565b600061268387610be4565b9050600061269087610be4565b905081801561269c5750805b612a435781156127715760007f00000000000000000000000000000000000000000000048d8470181e32700000846126d49190614a16565b7f00000000000000000000000000000000000000000000048d8470181e32700000600f60008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461273f9190614a16565b6127499190614950565b905060005b8181101561276a5761275f896136d6565b80600101905061274e565b5050612a42565b80156128425760007f00000000000000000000000000000000000000000000048d8470181e32700000600f60008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127e49190614a16565b7f00000000000000000000000000000000000000000000048d8470181e32700000866128109190614a16565b61281a9190614950565b905060005b8181101561283b576128308a613882565b80600101905061281f565b5050612a41565b60007f00000000000000000000000000000000000000000000048d8470181e32700000876128709190614a16565b905060005b818110156129485760006001601460008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506128ce9190614950565b90506000601460008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110612923576129226149b8565b5b9060005260206000200154905061293b8c8c83613209565b8260010192505050612875565b50807f00000000000000000000000000000000000000000000048d8470181e327000006129748b610a7b565b61297e9190614a16565b7f00000000000000000000000000000000000000000000048d8470181e32700000876129aa9190614a16565b6129b49190614950565b11156129c4576129c389613882565b5b807f00000000000000000000000000000000000000000000048d8470181e32700000856129f19190614a16565b7f00000000000000000000000000000000000000000000048d8470181e32700000612a1b8b610a7b565b612a259190614a16565b612a2f9190614950565b1115612a3f57612a3e886136d6565b5b505b5b5b60019450505050509392505050565b606060006001612a61846139ba565b01905060008167ffffffffffffffff811115612a8057612a7f614491565b5b6040519080825280601f01601f191660200182016040528015612ab25781602001600182028036833780820191505090505b509050600082602001820190505b600115612b15578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612b0957612b086149e7565b5b04945060008503612ac0575b819350505050919050565b600360009054906101000a900460ff16156130a957612b3d611440565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015612ba55750600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b8015612be45750612bb4611440565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015612c1d5750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015612c57575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b156130a857600660009054906101000a900460ff16612d5157600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680612d115750600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b612d50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d4790614a93565b60405180910390fd5b5b600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168015612df45750600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15612ed257600454811115612e3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3590614aff565b60405180910390fd5b600554600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482612e8c9190614984565b1115612ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec490614b6b565b60405180910390fd5b6130a7565b600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168015612f755750600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15612fc457600454811115612fbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fb690614bd7565b60405180910390fd5b6130a6565b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166130a557600554600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826130639190614984565b11156130a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161309b90614b6b565b60405180910390fd5b5b5b5b5b5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036130fb5780600b60008282546130ef9190614984565b92505081905550613152565b80600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461314a9190614950565b925050819055505b80600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516131fc91906140e1565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613408576011600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000601460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001601460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506133039190614950565b81548110613314576133136149b8565b5b906000526020600020015490508181146133a157600061333383613b0d565b905081601460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110613387576133866149b8565b5b906000526020600020018190555061339f8282613b32565b505b601460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806133f0576133ef614bf7565b5b60019003818190600052602060002001600090559055505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613509576134468183613c05565b601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819080600181540180825580915050600190039060005260206000200160009091909190915055613504816001601460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506134ff9190614950565b613b32565b613521565b60136000828152602001908152602001600020600090555b808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061358c83612392565b82106135c4576040517f580821e700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826001016000838560000160009054906101000a90046fffffffffffffffffffffffffffffffff16016fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b600061363b826117c2565b905060005b8181101561365c5761365183613882565b806001019050613640565b505050565b60007f00000000000000000000000000000000000000000000048d8470181e3270000061368d83610a7b565b6136979190614a16565b905060006136a4836117c2565b905060005b81836136b59190614950565b8110156136d0576136c5846136d6565b8060010190506136a9565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361373c576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006137486001613c77565b61375d576137566001613ce7565b90506137ff565b600c6000815461376c90614c26565b919050819055507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600c54036137ce576040517f303b682f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c547f80000000000000000000000000000000000000000000000000000000000000006137fc9190614984565b90505b600061380a82612556565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614613872576040517f23369fa600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61387d818484613209565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036138e8576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001601460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506139789190614950565b81548110613989576139886149b8565b5b906000526020600020015490506139a282600083613209565b6139b6816001613e4b90919063ffffffff16565b5050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613a18577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381613a0e57613a0d6149e7565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613a55576d04ee2d6d415b85acef81000000008381613a4b57613a4a6149e7565b5b0492506020810190505b662386f26fc100008310613a8457662386f26fc100008381613a7a57613a796149e7565b5b0492506010810190505b6305f5e1008310613aad576305f5e1008381613aa357613aa26149e7565b5b0492506008810190505b6127108310613ad2576127108381613ac857613ac76149e7565b5b0492506004810190505b60648310613af55760648381613aeb57613aea6149e7565b5b0492506002810190505b600a8310613b04576001810190505b80915050919050565b600080601360008481526020019081526020016000205490508060a01c915050919050565b60006013600084815260200190815260200160002054905060a07fffffffffffffffffffffffff0000000000000000000000000000000000000000901c821115613ba8576040517ffcb3438c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fffffffffffffffffffffffff00000000000000000000000000000000000000008260a01b1673ffffffffffffffffffffffffffffffffffffffff8216019050806013600085815260200190815260200160002081905550505050565b60006013600084815260200190815260200160002054905073ffffffffffffffffffffffffffffffffffffffff82167fffffffffffffffffffffffff00000000000000000000000000000000000000008216019050806013600085815260200190815260200160002081905550505050565b60008160000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168260000160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16149050919050565b6000808260000160109054906101000a90046fffffffffffffffffffffffffffffffff1690508260000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16816fffffffffffffffffffffffffffffffff1603613d8a576040517f75e52f4f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600190039050826001016000826fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152602001908152602001600020549150826001016000826fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16815260200190815260200160002060009055808360000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555050919050565b600060018360000160009054906101000a90046fffffffffffffffffffffffffffffffff160390508260000160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16816fffffffffffffffffffffffffffffffff1603613ef0576040517f8acb5f2700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81836001016000836fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808360000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613fb781613f82565b8114613fc257600080fd5b50565b600081359050613fd481613fae565b92915050565b600060208284031215613ff057613fef613f78565b5b6000613ffe84828501613fc5565b91505092915050565b60008115159050919050565b61401c81614007565b82525050565b60006020820190506140376000830184614013565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006140688261403d565b9050919050565b6140788161405d565b811461408357600080fd5b50565b6000813590506140958161406f565b92915050565b6000602082840312156140b1576140b0613f78565b5b60006140bf84828501614086565b91505092915050565b6000819050919050565b6140db816140c8565b82525050565b60006020820190506140f660008301846140d2565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561413657808201518184015260208101905061411b565b60008484015250505050565b6000601f19601f8301169050919050565b600061415e826140fc565b6141688185614107565b9350614178818560208601614118565b61418181614142565b840191505092915050565b600060208201905081810360008301526141a68184614153565b905092915050565b6141b7816140c8565b81146141c257600080fd5b50565b6000813590506141d4816141ae565b92915050565b6000602082840312156141f0576141ef613f78565b5b60006141fe848285016141c5565b91505092915050565b6142108161405d565b82525050565b600060208201905061422b6000830184614207565b92915050565b6000806040838503121561424857614247613f78565b5b600061425685828601614086565b9250506020614267858286016141c5565b9150509250929050565b61427a81614007565b811461428557600080fd5b50565b60008135905061429781614271565b92915050565b600080604083850312156142b4576142b3613f78565b5b60006142c285828601614086565b92505060206142d385828601614288565b9150509250929050565b6000806000606084860312156142f6576142f5613f78565b5b600061430486828701614086565b935050602061431586828701614086565b9250506040614326868287016141c5565b9150509250925092565b600060ff82169050919050565b61434681614330565b82525050565b6000602082019050614361600083018461433d565b92915050565b6000806040838503121561437e5761437d613f78565b5b600061438c858286016141c5565b925050602061439d858286016141c5565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6143dc816140c8565b82525050565b60006143ee83836143d3565b60208301905092915050565b6000602082019050919050565b6000614412826143a7565b61441c81856143b2565b9350614427836143c3565b8060005b8381101561445857815161443f88826143e2565b975061444a836143fa565b92505060018101905061442b565b5085935050505092915050565b6000602082019050818103600083015261447f8184614407565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6144c982614142565b810181811067ffffffffffffffff821117156144e8576144e7614491565b5b80604052505050565b60006144fb613f6e565b905061450782826144c0565b919050565b600067ffffffffffffffff82111561452757614526614491565b5b61453082614142565b9050602081019050919050565b82818337600083830152505050565b600061455f61455a8461450c565b6144f1565b90508281526020810184848401111561457b5761457a61448c565b5b61458684828561453d565b509392505050565b600082601f8301126145a3576145a2614487565b5b81356145b384826020860161454c565b91505092915050565b600080600080608085870312156145d6576145d5613f78565b5b60006145e487828801614086565b94505060206145f587828801614086565b9350506040614606878288016141c5565b925050606085013567ffffffffffffffff81111561462757614626613f7d565b5b6146338782880161458e565b91505092959194509250565b6000806040838503121561465657614655613f78565b5b600061466485828601614086565b925050602061467585828601614086565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806146c657607f821691505b6020821081036146d9576146d861467f565b5b50919050565b7f506169722063616e6e6f742062652072656d6f76656400000000000000000000600082015250565b6000614715601683614107565b9150614720826146df565b602082019050919050565b6000602082019050818103600083015261474481614708565b9050919050565b60008151905061475a8161406f565b92915050565b60006020828403121561477657614775613f78565b5b60006147848482850161474b565b91505092915050565b60006040820190506147a26000830185614207565b6147af6020830184614207565b9392505050565b600081519050919050565b600082825260208201905092915050565b60006147dd826147b6565b6147e781856147c1565b93506147f7818560208601614118565b61480081614142565b840191505092915050565b60006080820190506148206000830187614207565b61482d6020830186614207565b61483a60408301856140d2565b818103606083015261484c81846147d2565b905095945050505050565b60008151905061486681613fae565b92915050565b60006020828403121561488257614881613f78565b5b600061489084828501614857565b91505092915050565b7f68747470733a2f2f737461727465722e78797a2f627569646c3430342f000000815250565b600081905092915050565b60006148d5826140fc565b6148df81856148bf565b93506148ef818560208601614118565b80840191505092915050565b600061490682614899565b601d8201915061491682846148ca565b915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061495b826140c8565b9150614966836140c8565b925082820390508181111561497e5761497d614921565b5b92915050565b600061498f826140c8565b915061499a836140c8565b92508282019050808211156149b2576149b1614921565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614a21826140c8565b9150614a2c836140c8565b925082614a3c57614a3b6149e7565b5b828204905092915050565b7f3100000000000000000000000000000000000000000000000000000000000000600082015250565b6000614a7d600183614107565b9150614a8882614a47565b602082019050919050565b60006020820190508181036000830152614aac81614a70565b9050919050565b7f3200000000000000000000000000000000000000000000000000000000000000600082015250565b6000614ae9600183614107565b9150614af482614ab3565b602082019050919050565b60006020820190508181036000830152614b1881614adc565b9050919050565b7f3300000000000000000000000000000000000000000000000000000000000000600082015250565b6000614b55600183614107565b9150614b6082614b1f565b602082019050919050565b60006020820190508181036000830152614b8481614b48565b9050919050565b7f3400000000000000000000000000000000000000000000000000000000000000600082015250565b6000614bc1600183614107565b9150614bcc82614b8b565b602082019050919050565b60006020820190508181036000830152614bf081614bb4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6000614c31826140c8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614c6357614c62614921565b5b60018201905091905056fea2646970667358221220ad6ef366069924baabd5bf719aa5c5dd72b55bd5e5dc07558faa51c479c0c28664736f6c63430008140033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000009425549444c2034303400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005425549444c000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): BUIDL 404
Arg [1] : symbol_ (string): BUIDL
Arg [2] : decimals_ (uint8): 18

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [4] : 425549444c203430340000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 425549444c000000000000000000000000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.