ETH Price: $3,391.43 (+6.24%)
Gas: 30 Gwei

Token

PepeLegion (LEGION)
 

Overview

Max Total Supply

10 LEGION

Holders

3

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 LEGION
0xea8e50d517c6a4b7d1c1c68bfe6f7d241a8cd12f
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
PepeLegion

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 420 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 13 of 16: PepeLegion.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./Ownable.sol";
import "./ReentrancyGuard.sol";
import "./ERC721A.sol";
import "./IERC20.sol";

contract PepeLegion is ERC721A, Ownable, ReentrancyGuard {
  uint256 public totalMintedByLegion;
  uint256 public immutable maxLegionMint = 1111;
  uint256 public immutable maxPerAddress;
  uint256 public immutable maxSupply;

  uint256 immutable cost = 0.002 ether;

  IERC20 public erc20Token;

  string public _baseTokenURI;

  mapping(address => bool) public addressLegionMint;

  constructor(
    uint256 maxBatchSize_,
    uint256 collectionSize_,
    address erc20TokenAddress,
    string memory initURI_
  ) ERC721A("PepeLegion", "LEGION", maxBatchSize_, collectionSize_) {
    maxPerAddress = maxBatchSize_;
    maxSupply = collectionSize_;
    erc20Token = IERC20(erc20TokenAddress);
    _baseTokenURI = initURI_;
  }

  modifier callerIsUser() {
    require(tx.origin == msg.sender, "caller is another contract");
    _;
  }

  function legionMint() external callerIsUser {
    require(erc20Token.balanceOf(msg.sender) > 0, "insufficient token balance");
    require(!addressLegionMint[msg.sender], "address has already minted");
    require(totalMintedByLegion + 1 <= maxLegionMint, "reached max legion mints");
    require(totalSupply() + 1 <= maxSupply, "reached max supply");

    _safeMint(msg.sender, 1);
    addressLegionMint[msg.sender] = true;
    totalMintedByLegion ++;
  }

  function mint(uint256 quantity) external payable callerIsUser {
    require(quantity > 0, "cannot mint less than one");
    require(msg.value >= cost * quantity, "not enough funds");
    require(totalSupply() + quantity <= maxSupply, "reached max supply");
    require(quantity <= maxPerAddress, "can not mint this many");
    
    _safeMint(msg.sender, quantity);
  }

  function _baseURI() internal view virtual override returns (string memory) {
    return _baseTokenURI;
  }

  function setBaseURI(string calldata baseURI) external onlyOwner {
    _baseTokenURI = baseURI;
  }

  function withdraw() public onlyOwner nonReentrant {
    (bool os, ) = payable(owner()).call{value: address(this).balance}('');
    require(os);
  }

  function getOwnershipData(uint256 tokenId)
    external
    view
    returns (TokenOwnership memory)
  {
    return ownershipOf(tokenId);
  }
}

File 1 of 16: Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 2 of 16: Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 3 of 16: ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 4 of 16: ERC721A.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./IERC721Metadata.sol";
import "./IERC721Enumerable.sol";
import "./Address.sol";
import "./Context.sol";
import "./Strings.sol";
import "./ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Assumes the number of issuable tokens (collection size) is capped and fits in a uint128.
 *
 * Does not support burning tokens to address(0).
 */
contract ERC721A is
  Context,
  ERC165,
  IERC721,
  IERC721Metadata,
  IERC721Enumerable
{
  using Address for address;
  using Strings for uint256;

  struct TokenOwnership {
    address addr;
    uint64 startTimestamp;
  }

  struct AddressData {
    uint128 balance;
    uint128 numberMinted;
  }

  uint256 private currentIndex = 0;

  uint256 internal immutable collectionSize;
  uint256 internal immutable maxBatchSize;

  // Token name
  string private _name;

  // Token symbol
  string private _symbol;

  // Mapping from token ID to ownership details
  // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
  mapping(uint256 => TokenOwnership) private _ownerships;

  // Mapping owner address to address data
  mapping(address => AddressData) private _addressData;

  // Mapping from token ID to approved address
  mapping(uint256 => address) private _tokenApprovals;

  // Mapping from owner to operator approvals
  mapping(address => mapping(address => bool)) private _operatorApprovals;

  /**
   * @dev
   * `maxBatchSize` refers to how much a minter can mint at a time.
   * `collectionSize_` refers to how many tokens are in the collection.
   */
  constructor(
    string memory name_,
    string memory symbol_,
    uint256 maxBatchSize_,
    uint256 collectionSize_
  ) {
    require(
      collectionSize_ > 0,
      "ERC721A: collection must have a nonzero supply"
    );
    require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
    _name = name_;
    _symbol = symbol_;
    maxBatchSize = maxBatchSize_;
    collectionSize = collectionSize_;
  }

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

  /**
   * @dev See {IERC721Enumerable-tokenByIndex}.
   */
  function tokenByIndex(uint256 index) public view override returns (uint256) {
    require(index < totalSupply(), "ERC721A: global index out of bounds");
    return index;
  }

  /**
   * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
   * This read function is O(collectionSize). If calling from a separate contract, be sure to test gas first.
   * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
   */
  function tokenOfOwnerByIndex(address owner, uint256 index)
    public
    view
    override
    returns (uint256)
  {
    require(index < balanceOf(owner), "ERC721A: owner index out of bounds");
    uint256 numMintedSoFar = totalSupply();
    uint256 tokenIdsIdx = 0;
    address currOwnershipAddr = address(0);
    for (uint256 i = 0; i < numMintedSoFar; i++) {
      TokenOwnership memory ownership = _ownerships[i];
      if (ownership.addr != address(0)) {
        currOwnershipAddr = ownership.addr;
      }
      if (currOwnershipAddr == owner) {
        if (tokenIdsIdx == index) {
          return i;
        }
        tokenIdsIdx++;
      }
    }
    revert("ERC721A: unable to get token of owner by index");
  }

  /**
   * @dev See {IERC165-supportsInterface}.
   */
  function supportsInterface(bytes4 interfaceId)
    public
    view
    virtual
    override(ERC165, IERC165)
    returns (bool)
  {
    return
      interfaceId == type(IERC721).interfaceId ||
      interfaceId == type(IERC721Metadata).interfaceId ||
      interfaceId == type(IERC721Enumerable).interfaceId ||
      super.supportsInterface(interfaceId);
  }

  /**
   * @dev See {IERC721-balanceOf}.
   */
  function balanceOf(address owner) public view override returns (uint256) {
    require(owner != address(0), "ERC721A: balance query for the zero address");
    return uint256(_addressData[owner].balance);
  }

  function _numberMinted(address owner) internal view returns (uint256) {
    require(
      owner != address(0),
      "ERC721A: number minted query for the zero address"
    );
    return uint256(_addressData[owner].numberMinted);
  }

  function ownershipOf(uint256 tokenId)
    internal
    view
    returns (TokenOwnership memory)
  {
    require(_exists(tokenId), "ERC721A: owner query for nonexistent token");

    uint256 lowestTokenToCheck;
    if (tokenId >= maxBatchSize) {
      lowestTokenToCheck = tokenId - maxBatchSize + 1;
    }

    for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) {
      TokenOwnership memory ownership = _ownerships[curr];
      if (ownership.addr != address(0)) {
        return ownership;
      }
    }

    revert("ERC721A: unable to determine the owner of token");
  }

  /**
   * @dev See {IERC721-ownerOf}.
   */
  function ownerOf(uint256 tokenId) public view override returns (address) {
    return ownershipOf(tokenId).addr;
  }

  /**
   * @dev See {IERC721Metadata-name}.
   */
  function name() public view virtual override returns (string memory) {
    return _name;
  }

  /**
   * @dev See {IERC721Metadata-symbol}.
   */
  function symbol() public view virtual override returns (string memory) {
    return _symbol;
  }

  /**
   * @dev See {IERC721Metadata-tokenURI}.
   */
  function tokenURI(uint256 tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    require(
      _exists(tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );

    string memory baseURI = _baseURI();
    return
      bytes(baseURI).length > 0
        ? string(abi.encodePacked(baseURI, tokenId.toString(), ".json"))
        : "";
  }

  /**
   * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
   * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
   * by default, can be overriden in child contracts.
   */
  function _baseURI() internal view virtual returns (string memory) {
    return "";
  }

  /**
   * @dev See {IERC721-approve}.
   */
  function approve(address to, uint256 tokenId) public override {
    address owner = ERC721A.ownerOf(tokenId);
    require(to != owner, "ERC721A: approval to current owner");

    require(
      _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
      "ERC721A: approve caller is not owner nor approved for all"
    );

    _approve(to, tokenId, owner);
  }

  /**
   * @dev See {IERC721-getApproved}.
   */
  function getApproved(uint256 tokenId) public view override returns (address) {
    require(_exists(tokenId), "ERC721A: approved query for nonexistent token");

    return _tokenApprovals[tokenId];
  }

  /**
   * @dev See {IERC721-setApprovalForAll}.
   */
  function setApprovalForAll(address operator, bool approved) public override {
    require(operator != _msgSender(), "ERC721A: approve to caller");

    _operatorApprovals[_msgSender()][operator] = approved;
    emit ApprovalForAll(_msgSender(), operator, approved);
  }

  /**
   * @dev See {IERC721-isApprovedForAll}.
   */
  function isApprovedForAll(address owner, address operator)
    public
    view
    virtual
    override
    returns (bool)
  {
    return _operatorApprovals[owner][operator];
  }

  /**
   * @dev See {IERC721-transferFrom}.
   */
  function transferFrom(
    address from,
    address to,
    uint256 tokenId
  ) public override {
    _transfer(from, to, tokenId);
  }

  /**
   * @dev See {IERC721-safeTransferFrom}.
   */
  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId
  ) public override {
    safeTransferFrom(from, to, tokenId, "");
  }

  /**
   * @dev See {IERC721-safeTransferFrom}.
   */
  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) public override {
    _transfer(from, to, tokenId);
    require(
      _checkOnERC721Received(from, to, tokenId, _data),
      "ERC721A: transfer to non ERC721Receiver implementer"
    );
  }

  /**
   * @dev Returns whether `tokenId` exists.
   *
   * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
   *
   * Tokens start existing when they are minted (`_mint`),
   */
  function _exists(uint256 tokenId) internal view returns (bool) {
    return tokenId < currentIndex;
  }

  function _safeMint(address to, uint256 quantity) internal {
    _safeMint(to, quantity, "");
  }

  /**
   * @dev Mints `quantity` tokens and transfers them to `to`.
   *
   * Requirements:
   *
   * - there must be `quantity` tokens remaining unminted in the total collection.
   * - `to` cannot be the zero address.
   * - `quantity` cannot be larger than the max batch size.
   *
   * Emits a {Transfer} event.
   */
  function _safeMint(
    address to,
    uint256 quantity,
    bytes memory _data
  ) internal {
    uint256 startTokenId = currentIndex;
    require(to != address(0), "ERC721A: mint to the zero address");
    // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
    require(!_exists(startTokenId), "ERC721A: token already minted");
    require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");

    _beforeTokenTransfers(address(0), to, startTokenId, quantity);

    AddressData memory addressData = _addressData[to];
    _addressData[to] = AddressData(
      addressData.balance + uint128(quantity),
      addressData.numberMinted + uint128(quantity)
    );
    _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

    uint256 updatedIndex = startTokenId;

    for (uint256 i = 0; i < quantity; i++) {
      emit Transfer(address(0), to, updatedIndex);
      require(
        _checkOnERC721Received(address(0), to, updatedIndex, _data),
        "ERC721A: transfer to non ERC721Receiver implementer"
      );
      updatedIndex++;
    }

    currentIndex = updatedIndex;
    _afterTokenTransfers(address(0), to, startTokenId, quantity);
  }

  /**
   * @dev Transfers `tokenId` from `from` to `to`.
   *
   * Requirements:
   *
   * - `to` cannot be the zero address.
   * - `tokenId` token must be owned by `from`.
   *
   * Emits a {Transfer} event.
   */
  function _transfer(
    address from,
    address to,
    uint256 tokenId
  ) private {
    TokenOwnership memory prevOwnership = ownershipOf(tokenId);

    bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
      getApproved(tokenId) == _msgSender() ||
      isApprovedForAll(prevOwnership.addr, _msgSender()));

    require(
      isApprovedOrOwner,
      "ERC721A: transfer caller is not owner nor approved"
    );

    require(
      prevOwnership.addr == from,
      "ERC721A: transfer from incorrect owner"
    );
    require(to != address(0), "ERC721A: transfer to the zero address");

    _beforeTokenTransfers(from, to, tokenId, 1);

    // Clear approvals from the previous owner
    _approve(address(0), tokenId, prevOwnership.addr);

    _addressData[from].balance -= 1;
    _addressData[to].balance += 1;
    _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp));

    // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
    // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
    uint256 nextTokenId = tokenId + 1;
    if (_ownerships[nextTokenId].addr == address(0)) {
      if (_exists(nextTokenId)) {
        _ownerships[nextTokenId] = TokenOwnership(
          prevOwnership.addr,
          prevOwnership.startTimestamp
        );
      }
    }

    emit Transfer(from, to, tokenId);
    _afterTokenTransfers(from, to, tokenId, 1);
  }

  /**
   * @dev Approve `to` to operate on `tokenId`
   *
   * Emits a {Approval} event.
   */
  function _approve(
    address to,
    uint256 tokenId,
    address owner
  ) private {
    _tokenApprovals[tokenId] = to;
    emit Approval(owner, to, tokenId);
  }

  uint256 public nextOwnerToExplicitlySet = 0;

  /**
   * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
   */
  function _setOwnersExplicit(uint256 quantity) internal {
    uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
    require(quantity > 0, "quantity must be nonzero");
    uint256 endIndex = oldNextOwnerToSet + quantity - 1;
    if (endIndex > collectionSize - 1) {
      endIndex = collectionSize - 1;
    }
    // We know if the last one in the group exists, all in the group exist, due to serial ordering.
    require(_exists(endIndex), "not enough minted yet for this cleanup");
    for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
      if (_ownerships[i].addr == address(0)) {
        TokenOwnership memory ownership = ownershipOf(i);
        _ownerships[i] = TokenOwnership(
          ownership.addr,
          ownership.startTimestamp
        );
      }
    }
    nextOwnerToExplicitlySet = endIndex + 1;
  }

  /**
   * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
   * The call is not executed if the target address is not a contract.
   *
   * @param from address representing the previous owner of the given token ID
   * @param to target address that will receive the tokens
   * @param tokenId uint256 ID of the token to be transferred
   * @param _data bytes optional data to send along with the call
   * @return bool whether the call correctly returned the expected magic value
   */
  function _checkOnERC721Received(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) private returns (bool) {
    if (to.isContract()) {
      try
        IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data)
      returns (bytes4 retval) {
        return retval == IERC721Receiver(to).onERC721Received.selector;
      } catch (bytes memory reason) {
        if (reason.length == 0) {
          revert("ERC721A: transfer to non ERC721Receiver implementer");
        } else {
          assembly {
            revert(add(32, reason), mload(reason))
          }
        }
      }
    } else {
      return true;
    }
  }

  /**
   * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
   *
   * startTokenId - the first token id to be transferred
   * quantity - the amount to be transferred
   *
   * Calling conditions:
   *
   * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
   * transferred to `to`.
   * - When `from` is zero, `tokenId` will be minted for `to`.
   */
  function _beforeTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}

  /**
   * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
   * minting.
   *
   * startTokenId - the first token id to be transferred
   * quantity - the amount to be transferred
   *
   * Calling conditions:
   *
   * - when `from` and `to` are both non-zero.
   * - `from` and `to` are never both zero.
   */
  function _afterTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}
}

File 5 of 16: IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 6 of 16: IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 7 of 16: IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

File 8 of 16: IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 9 of 16: IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 10 of 16: IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 11 of 16: Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @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 up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (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; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                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.
            require(denominator > prod1, "Math: mulDiv overflow");

            ///////////////////////////////////////////////
            // 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.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            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 (rounding == Rounding.Up && 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 down.
     *
     * 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 + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * 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 + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * 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 + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * 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 + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
        }
    }
}

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

pragma solidity ^0.8.0;

import "./Context.sol";

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

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. 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 {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

File 14 of 16: ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

File 15 of 16: SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.0;

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

File 16 of 16: Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./Math.sol";
import "./SignedMath.sol";

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

    /**
     * @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), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(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) {
        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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        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 keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"maxBatchSize_","type":"uint256"},{"internalType":"uint256","name":"collectionSize_","type":"uint256"},{"internalType":"address","name":"erc20TokenAddress","type":"address"},{"internalType":"string","name":"initURI_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressLegionMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"erc20Token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"legionMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxLegionMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","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":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","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":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","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":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMintedByLegion","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","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":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

610140604052600080805560075561045760c05266071afd498d0000610120523480156200002c57600080fd5b5060405162002b0f38038062002b0f8339810160408190526200004f91620002fe565b6040518060400160405280600a8152602001692832b832a632b3b4b7b760b11b815250604051806040016040528060068152602001652622a3a4a7a760d11b815250858560008111620001005760405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060448201526d6e6f6e7a65726f20737570706c7960901b60648201526084015b60405180910390fd5b60008211620001625760405162461bcd60e51b815260206004820152602760248201527f455243373231413a206d61782062617463682073697a65206d757374206265206044820152666e6f6e7a65726f60c81b6064820152608401620000f7565b83516200017790600190602087019062000242565b5082516200018d90600290602086019062000242565b5060a09190915260805250620001a5905033620001f0565b600160095560e0849052610100839052600b80546001600160a01b0319166001600160a01b0384161790558051620001e590600c90602084019062000242565b50505050506200044d565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620002509062000410565b90600052602060002090601f016020900481019282620002745760008555620002bf565b82601f106200028f57805160ff1916838001178555620002bf565b82800160010185558215620002bf579182015b82811115620002bf578251825591602001919060010190620002a2565b50620002cd929150620002d1565b5090565b5b80821115620002cd5760008155600101620002d2565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156200031557600080fd5b845160208087015160408801519296509450906001600160a01b03811681146200033e57600080fd5b60608701519093506001600160401b03808211156200035c57600080fd5b818801915088601f8301126200037157600080fd5b815181811115620003865762000386620002e8565b604051601f8201601f19908116603f01168101908382118183101715620003b157620003b1620002e8565b816040528281528b86848701011115620003ca57600080fd5b600093505b82841015620003ee5784840186015181850187015292850192620003cf565b82841115620004005760008684830101525b989b979a50959850505050505050565b600181811c908216806200042557607f821691505b602082108114156200044757634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e051610100516101205161264b620004c46000396000610fce0152600081816105c001528181610e4d01526110360152600081816103d301526110ae01526000818161033f0152610dcf01526000818161191d015281816119470152611d2c01526000505061264b6000f3fe6080604052600436106101e35760003560e01c8063715018a611610102578063a22cb46511610095578063d5abeb0111610064578063d5abeb01146105ae578063d7224ba0146105e2578063e985e9c5146105f8578063f2fde38b1461064157600080fd5b8063a22cb46514610539578063b88d4fde14610559578063c87b56dd14610579578063cfc86f7b1461059957600080fd5b80638da5cb5b116100d15780638da5cb5b146104a55780639231ab2a146104c357806395d89b4114610511578063a0712d681461052657600080fd5b8063715018a61461042b578063772ed2e2146104405780637e5af2d9146104555780638a13eea71461048557600080fd5b806342842e0e1161017a5780636352211e116101495780636352211e146103a1578063639814e0146103c15780636bdc3d4d146103f557806370a082311461040b57600080fd5b806342842e0e1461030d5780634df5c4a71461032d5780634f6ccce71461036157806355f804b31461038157600080fd5b806318160ddd116101b657806318160ddd1461029957806323b872dd146102b85780632f745c59146102d85780633ccfd60b146102f857600080fd5b806301ffc9a7146101e857806306fdde031461021d578063081812fc1461023f578063095ea7b314610277575b600080fd5b3480156101f457600080fd5b506102086102033660046120d2565b610661565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b506102326106ce565b6040516102149190612147565b34801561024b57600080fd5b5061025f61025a36600461215a565b610760565b6040516001600160a01b039091168152602001610214565b34801561028357600080fd5b5061029761029236600461218f565b6107f0565b005b3480156102a557600080fd5b506000545b604051908152602001610214565b3480156102c457600080fd5b506102976102d33660046121b9565b610908565b3480156102e457600080fd5b506102aa6102f336600461218f565b610913565b34801561030457600080fd5b50610297610a81565b34801561031957600080fd5b506102976103283660046121b9565b610b0f565b34801561033957600080fd5b506102aa7f000000000000000000000000000000000000000000000000000000000000000081565b34801561036d57600080fd5b506102aa61037c36600461215a565b610b2a565b34801561038d57600080fd5b5061029761039c3660046121f5565b610b8c565b3480156103ad57600080fd5b5061025f6103bc36600461215a565b610ba0565b3480156103cd57600080fd5b506102aa7f000000000000000000000000000000000000000000000000000000000000000081565b34801561040157600080fd5b506102aa600a5481565b34801561041757600080fd5b506102aa610426366004612267565b610bb2565b34801561043757600080fd5b50610297610c43565b34801561044c57600080fd5b50610297610c55565b34801561046157600080fd5b50610208610470366004612267565b600d6020526000908152604090205460ff1681565b34801561049157600080fd5b50600b5461025f906001600160a01b031681565b3480156104b157600080fd5b506008546001600160a01b031661025f565b3480156104cf57600080fd5b506104e36104de36600461215a565b610efd565b6040805182516001600160a01b0316815260209283015167ffffffffffffffff169281019290925201610214565b34801561051d57600080fd5b50610232610f1a565b61029761053436600461215a565b610f29565b34801561054557600080fd5b50610297610554366004612282565b611129565b34801561056557600080fd5b506102976105743660046122d4565b6111ee565b34801561058557600080fd5b5061023261059436600461215a565b611227565b3480156105a557600080fd5b506102326112f4565b3480156105ba57600080fd5b506102aa7f000000000000000000000000000000000000000000000000000000000000000081565b3480156105ee57600080fd5b506102aa60075481565b34801561060457600080fd5b506102086106133660046123b0565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561064d57600080fd5b5061029761065c366004612267565b611382565b60006001600160e01b031982166380ac58cd60e01b148061069257506001600160e01b03198216635b5e139f60e01b145b806106ad57506001600160e01b0319821663780e9d6360e01b145b806106c857506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600180546106dd906123e3565b80601f0160208091040260200160405190810160405280929190818152602001828054610709906123e3565b80156107565780601f1061072b57610100808354040283529160200191610756565b820191906000526020600020905b81548152906001019060200180831161073957829003601f168201915b5050505050905090565b600061076d826000541190565b6107d45760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006107fb82610ba0565b9050806001600160a01b0316836001600160a01b0316141561086a5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b60648201526084016107cb565b336001600160a01b038216148061088657506108868133610613565b6108f85760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000000060648201526084016107cb565b6109038383836113f8565b505050565b610903838383611454565b600061091e83610bb2565b82106109775760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016107cb565b600080549080805b83811015610a21576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156109d257805192505b876001600160a01b0316836001600160a01b03161415610a0e5786841415610a00575093506106c892505050565b83610a0a81612434565b9450505b5080610a1981612434565b91505061097f565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b60648201526084016107cb565b610a896117e7565b610a91611841565b6000610aa56008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610aef576040519150601f19603f3d011682016040523d82523d6000602084013e610af4565b606091505b5050905080610b0257600080fd5b50610b0d6001600955565b565b610903838383604051806020016040528060008152506111ee565b600080548210610b885760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b60648201526084016107cb565b5090565b610b946117e7565b610903600c838361202c565b6000610bab8261189b565b5192915050565b60006001600160a01b038216610c1e5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016107cb565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b610c4b6117e7565b610b0d6000611a45565b323314610ca45760405162461bcd60e51b815260206004820152601a60248201527f63616c6c657220697320616e6f7468657220636f6e747261637400000000000060448201526064016107cb565b600b546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015610ce857600080fd5b505afa158015610cfc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d20919061244f565b11610d6d5760405162461bcd60e51b815260206004820152601a60248201527f696e73756666696369656e7420746f6b656e2062616c616e636500000000000060448201526064016107cb565b336000908152600d602052604090205460ff1615610dcd5760405162461bcd60e51b815260206004820152601a60248201527f616464726573732068617320616c7265616479206d696e74656400000000000060448201526064016107cb565b7f0000000000000000000000000000000000000000000000000000000000000000600a546001610dfd9190612468565b1115610e4b5760405162461bcd60e51b815260206004820152601860248201527f72656163686564206d6178206c6567696f6e206d696e7473000000000000000060448201526064016107cb565b7f0000000000000000000000000000000000000000000000000000000000000000610e7560005490565b610e80906001612468565b1115610ec35760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b60448201526064016107cb565b610ece336001611a97565b336000908152600d60205260408120805460ff19166001179055600a805491610ef683612434565b9190505550565b60408051808201909152600080825260208201526106c88261189b565b6060600280546106dd906123e3565b323314610f785760405162461bcd60e51b815260206004820152601a60248201527f63616c6c657220697320616e6f7468657220636f6e747261637400000000000060448201526064016107cb565b60008111610fc85760405162461bcd60e51b815260206004820152601960248201527f63616e6e6f74206d696e74206c657373207468616e206f6e650000000000000060448201526064016107cb565b610ff2817f0000000000000000000000000000000000000000000000000000000000000000612480565b3410156110345760405162461bcd60e51b815260206004820152601060248201526f6e6f7420656e6f7567682066756e647360801b60448201526064016107cb565b7f00000000000000000000000000000000000000000000000000000000000000008161105f60005490565b6110699190612468565b11156110ac5760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b60448201526064016107cb565b7f000000000000000000000000000000000000000000000000000000000000000081111561111c5760405162461bcd60e51b815260206004820152601660248201527f63616e206e6f74206d696e742074686973206d616e790000000000000000000060448201526064016107cb565b6111263382611a97565b50565b6001600160a01b0382163314156111825760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c657200000000000060448201526064016107cb565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6111f9848484611454565b61120584848484611ab5565b6112215760405162461bcd60e51b81526004016107cb9061249f565b50505050565b6060611234826000541190565b6112985760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107cb565b60006112a2611bc3565b905060008151116112c257604051806020016040528060008152506112ed565b806112cc84611bd2565b6040516020016112dd9291906124fc565b6040516020818303038152906040525b9392505050565b600c8054611301906123e3565b80601f016020809104026020016040519081016040528092919081815260200182805461132d906123e3565b801561137a5780601f1061134f5761010080835404028352916020019161137a565b820191906000526020600020905b81548152906001019060200180831161135d57829003601f168201915b505050505081565b61138a6117e7565b6001600160a01b0381166113ef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107cb565b61112681611a45565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061145f8261189b565b80519091506000906001600160a01b0316336001600160a01b0316148061149657503361148b84610760565b6001600160a01b0316145b806114a8575081516114a89033610613565b90508061151d5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f766564000000000000000000000000000060648201526084016107cb565b846001600160a01b031682600001516001600160a01b0316146115915760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b60648201526084016107cb565b6001600160a01b0384166115f55760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016107cb565b61160560008484600001516113f8565b6001600160a01b03851660009081526004602052604081208054600192906116379084906001600160801b031661253b565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b0386166000908152600460205260408120805460019450909261168391859116612563565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526003909152948520935184549151909216600160a01b026001600160e01b0319909116919092161717905561170b846001612468565b6000818152600360205260409020549091506001600160a01b031661179d57611735816000541190565b1561179d5760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff9081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6008546001600160a01b03163314610b0d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107cb565b600260095414156118945760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107cb565b6002600955565b60408051808201909152600080825260208201526118ba826000541190565b6119195760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b60648201526084016107cb565b60007f0000000000000000000000000000000000000000000000000000000000000000831061197a5761196c7f00000000000000000000000000000000000000000000000000000000000000008461258e565b611977906001612468565b90505b825b8181106119e4576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156119d157949350505050565b50806119dc816125a5565b91505061197c565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b60648201526084016107cb565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611ab1828260405180602001604052806000815250611c6f565b5050565b60006001600160a01b0384163b15611bb757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611af99033908990889088906004016125bc565b602060405180830381600087803b158015611b1357600080fd5b505af1925050508015611b43575060408051601f3d908101601f19168201909252611b40918101906125f8565b60015b611b9d573d808015611b71576040519150601f19603f3d011682016040523d82523d6000602084013e611b76565b606091505b508051611b955760405162461bcd60e51b81526004016107cb9061249f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611bbb565b5060015b949350505050565b6060600c80546106dd906123e3565b60606000611bdf83611f4a565b600101905060008167ffffffffffffffff811115611bff57611bff6122be565b6040519080825280601f01601f191660200182016040528015611c29576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611c6257611c67565b611c33565b509392505050565b6000546001600160a01b038416611cd25760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016107cb565b611cdd816000541190565b15611d2a5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e74656400000060448201526064016107cb565b7f0000000000000000000000000000000000000000000000000000000000000000831115611da55760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b60648201526084016107cb565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190611e01908790612563565b6001600160801b03168152602001858360200151611e1f9190612563565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b0297909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015611f3f5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611f036000888488611ab5565b611f1f5760405162461bcd60e51b81526004016107cb9061249f565b81611f2981612434565b9250508080611f3790612434565b915050611eb6565b5060008190556117df565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611f93577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310611fbf576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611fdd57662386f26fc10000830492506010015b6305f5e1008310611ff5576305f5e100830492506008015b612710831061200957612710830492506004015b6064831061201b576064830492506002015b600a83106106c85760010192915050565b828054612038906123e3565b90600052602060002090601f01602090048101928261205a57600085556120a0565b82601f106120735782800160ff198235161785556120a0565b828001600101855582156120a0579182015b828111156120a0578235825591602001919060010190612085565b50610b889291505b80821115610b8857600081556001016120a8565b6001600160e01b03198116811461112657600080fd5b6000602082840312156120e457600080fd5b81356112ed816120bc565b60005b8381101561210a5781810151838201526020016120f2565b838111156112215750506000910152565b600081518084526121338160208601602086016120ef565b601f01601f19169290920160200192915050565b6020815260006112ed602083018461211b565b60006020828403121561216c57600080fd5b5035919050565b80356001600160a01b038116811461218a57600080fd5b919050565b600080604083850312156121a257600080fd5b6121ab83612173565b946020939093013593505050565b6000806000606084860312156121ce57600080fd5b6121d784612173565b92506121e560208501612173565b9150604084013590509250925092565b6000806020838503121561220857600080fd5b823567ffffffffffffffff8082111561222057600080fd5b818501915085601f83011261223457600080fd5b81358181111561224357600080fd5b86602082850101111561225557600080fd5b60209290920196919550909350505050565b60006020828403121561227957600080fd5b6112ed82612173565b6000806040838503121561229557600080fd5b61229e83612173565b9150602083013580151581146122b357600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156122ea57600080fd5b6122f385612173565b935061230160208601612173565b925060408501359150606085013567ffffffffffffffff8082111561232557600080fd5b818701915087601f83011261233957600080fd5b81358181111561234b5761234b6122be565b604051601f8201601f19908116603f01168101908382118183101715612373576123736122be565b816040528281528a602084870101111561238c57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156123c357600080fd5b6123cc83612173565b91506123da60208401612173565b90509250929050565b600181811c908216806123f757607f821691505b6020821081141561241857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60006000198214156124485761244861241e565b5060010190565b60006020828403121561246157600080fd5b5051919050565b6000821982111561247b5761247b61241e565b500190565b600081600019048311821515161561249a5761249a61241e565b500290565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527f6563656976657220696d706c656d656e74657200000000000000000000000000606082015260800190565b6000835161250e8184602088016120ef565b8351908301906125228183602088016120ef565b64173539b7b760d91b9101908152600501949350505050565b60006001600160801b038381169083168181101561255b5761255b61241e565b039392505050565b60006001600160801b038083168185168083038211156125855761258561241e565b01949350505050565b6000828210156125a0576125a061241e565b500390565b6000816125b4576125b461241e565b506000190190565b60006001600160a01b038087168352808616602084015250836040830152608060608301526125ee608083018461211b565b9695505050505050565b60006020828403121561260a57600080fd5b81516112ed816120bc56fea26469706673582212206074b54dfbd88f9c84e333e89d2f3fc620f6b0fada6f72fae2b48679f40091bc64736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000d050000000000000000000000006982508145454ce325ddbe47a25d4ec3d231193300000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569687872746e6f6c637333716f776a76613767697463356b6c727734656863786d3535646f6a3673736f366b35713369656f6175342f0000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101e35760003560e01c8063715018a611610102578063a22cb46511610095578063d5abeb0111610064578063d5abeb01146105ae578063d7224ba0146105e2578063e985e9c5146105f8578063f2fde38b1461064157600080fd5b8063a22cb46514610539578063b88d4fde14610559578063c87b56dd14610579578063cfc86f7b1461059957600080fd5b80638da5cb5b116100d15780638da5cb5b146104a55780639231ab2a146104c357806395d89b4114610511578063a0712d681461052657600080fd5b8063715018a61461042b578063772ed2e2146104405780637e5af2d9146104555780638a13eea71461048557600080fd5b806342842e0e1161017a5780636352211e116101495780636352211e146103a1578063639814e0146103c15780636bdc3d4d146103f557806370a082311461040b57600080fd5b806342842e0e1461030d5780634df5c4a71461032d5780634f6ccce71461036157806355f804b31461038157600080fd5b806318160ddd116101b657806318160ddd1461029957806323b872dd146102b85780632f745c59146102d85780633ccfd60b146102f857600080fd5b806301ffc9a7146101e857806306fdde031461021d578063081812fc1461023f578063095ea7b314610277575b600080fd5b3480156101f457600080fd5b506102086102033660046120d2565b610661565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b506102326106ce565b6040516102149190612147565b34801561024b57600080fd5b5061025f61025a36600461215a565b610760565b6040516001600160a01b039091168152602001610214565b34801561028357600080fd5b5061029761029236600461218f565b6107f0565b005b3480156102a557600080fd5b506000545b604051908152602001610214565b3480156102c457600080fd5b506102976102d33660046121b9565b610908565b3480156102e457600080fd5b506102aa6102f336600461218f565b610913565b34801561030457600080fd5b50610297610a81565b34801561031957600080fd5b506102976103283660046121b9565b610b0f565b34801561033957600080fd5b506102aa7f000000000000000000000000000000000000000000000000000000000000045781565b34801561036d57600080fd5b506102aa61037c36600461215a565b610b2a565b34801561038d57600080fd5b5061029761039c3660046121f5565b610b8c565b3480156103ad57600080fd5b5061025f6103bc36600461215a565b610ba0565b3480156103cd57600080fd5b506102aa7f000000000000000000000000000000000000000000000000000000000000001481565b34801561040157600080fd5b506102aa600a5481565b34801561041757600080fd5b506102aa610426366004612267565b610bb2565b34801561043757600080fd5b50610297610c43565b34801561044c57600080fd5b50610297610c55565b34801561046157600080fd5b50610208610470366004612267565b600d6020526000908152604090205460ff1681565b34801561049157600080fd5b50600b5461025f906001600160a01b031681565b3480156104b157600080fd5b506008546001600160a01b031661025f565b3480156104cf57600080fd5b506104e36104de36600461215a565b610efd565b6040805182516001600160a01b0316815260209283015167ffffffffffffffff169281019290925201610214565b34801561051d57600080fd5b50610232610f1a565b61029761053436600461215a565b610f29565b34801561054557600080fd5b50610297610554366004612282565b611129565b34801561056557600080fd5b506102976105743660046122d4565b6111ee565b34801561058557600080fd5b5061023261059436600461215a565b611227565b3480156105a557600080fd5b506102326112f4565b3480156105ba57600080fd5b506102aa7f0000000000000000000000000000000000000000000000000000000000000d0581565b3480156105ee57600080fd5b506102aa60075481565b34801561060457600080fd5b506102086106133660046123b0565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561064d57600080fd5b5061029761065c366004612267565b611382565b60006001600160e01b031982166380ac58cd60e01b148061069257506001600160e01b03198216635b5e139f60e01b145b806106ad57506001600160e01b0319821663780e9d6360e01b145b806106c857506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600180546106dd906123e3565b80601f0160208091040260200160405190810160405280929190818152602001828054610709906123e3565b80156107565780601f1061072b57610100808354040283529160200191610756565b820191906000526020600020905b81548152906001019060200180831161073957829003601f168201915b5050505050905090565b600061076d826000541190565b6107d45760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006107fb82610ba0565b9050806001600160a01b0316836001600160a01b0316141561086a5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b60648201526084016107cb565b336001600160a01b038216148061088657506108868133610613565b6108f85760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000000060648201526084016107cb565b6109038383836113f8565b505050565b610903838383611454565b600061091e83610bb2565b82106109775760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016107cb565b600080549080805b83811015610a21576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156109d257805192505b876001600160a01b0316836001600160a01b03161415610a0e5786841415610a00575093506106c892505050565b83610a0a81612434565b9450505b5080610a1981612434565b91505061097f565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b60648201526084016107cb565b610a896117e7565b610a91611841565b6000610aa56008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610aef576040519150601f19603f3d011682016040523d82523d6000602084013e610af4565b606091505b5050905080610b0257600080fd5b50610b0d6001600955565b565b610903838383604051806020016040528060008152506111ee565b600080548210610b885760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b60648201526084016107cb565b5090565b610b946117e7565b610903600c838361202c565b6000610bab8261189b565b5192915050565b60006001600160a01b038216610c1e5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016107cb565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b610c4b6117e7565b610b0d6000611a45565b323314610ca45760405162461bcd60e51b815260206004820152601a60248201527f63616c6c657220697320616e6f7468657220636f6e747261637400000000000060448201526064016107cb565b600b546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015610ce857600080fd5b505afa158015610cfc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d20919061244f565b11610d6d5760405162461bcd60e51b815260206004820152601a60248201527f696e73756666696369656e7420746f6b656e2062616c616e636500000000000060448201526064016107cb565b336000908152600d602052604090205460ff1615610dcd5760405162461bcd60e51b815260206004820152601a60248201527f616464726573732068617320616c7265616479206d696e74656400000000000060448201526064016107cb565b7f0000000000000000000000000000000000000000000000000000000000000457600a546001610dfd9190612468565b1115610e4b5760405162461bcd60e51b815260206004820152601860248201527f72656163686564206d6178206c6567696f6e206d696e7473000000000000000060448201526064016107cb565b7f0000000000000000000000000000000000000000000000000000000000000d05610e7560005490565b610e80906001612468565b1115610ec35760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b60448201526064016107cb565b610ece336001611a97565b336000908152600d60205260408120805460ff19166001179055600a805491610ef683612434565b9190505550565b60408051808201909152600080825260208201526106c88261189b565b6060600280546106dd906123e3565b323314610f785760405162461bcd60e51b815260206004820152601a60248201527f63616c6c657220697320616e6f7468657220636f6e747261637400000000000060448201526064016107cb565b60008111610fc85760405162461bcd60e51b815260206004820152601960248201527f63616e6e6f74206d696e74206c657373207468616e206f6e650000000000000060448201526064016107cb565b610ff2817f00000000000000000000000000000000000000000000000000071afd498d0000612480565b3410156110345760405162461bcd60e51b815260206004820152601060248201526f6e6f7420656e6f7567682066756e647360801b60448201526064016107cb565b7f0000000000000000000000000000000000000000000000000000000000000d058161105f60005490565b6110699190612468565b11156110ac5760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b60448201526064016107cb565b7f000000000000000000000000000000000000000000000000000000000000001481111561111c5760405162461bcd60e51b815260206004820152601660248201527f63616e206e6f74206d696e742074686973206d616e790000000000000000000060448201526064016107cb565b6111263382611a97565b50565b6001600160a01b0382163314156111825760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c657200000000000060448201526064016107cb565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6111f9848484611454565b61120584848484611ab5565b6112215760405162461bcd60e51b81526004016107cb9061249f565b50505050565b6060611234826000541190565b6112985760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107cb565b60006112a2611bc3565b905060008151116112c257604051806020016040528060008152506112ed565b806112cc84611bd2565b6040516020016112dd9291906124fc565b6040516020818303038152906040525b9392505050565b600c8054611301906123e3565b80601f016020809104026020016040519081016040528092919081815260200182805461132d906123e3565b801561137a5780601f1061134f5761010080835404028352916020019161137a565b820191906000526020600020905b81548152906001019060200180831161135d57829003601f168201915b505050505081565b61138a6117e7565b6001600160a01b0381166113ef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107cb565b61112681611a45565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061145f8261189b565b80519091506000906001600160a01b0316336001600160a01b0316148061149657503361148b84610760565b6001600160a01b0316145b806114a8575081516114a89033610613565b90508061151d5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f766564000000000000000000000000000060648201526084016107cb565b846001600160a01b031682600001516001600160a01b0316146115915760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b60648201526084016107cb565b6001600160a01b0384166115f55760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016107cb565b61160560008484600001516113f8565b6001600160a01b03851660009081526004602052604081208054600192906116379084906001600160801b031661253b565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b0386166000908152600460205260408120805460019450909261168391859116612563565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526003909152948520935184549151909216600160a01b026001600160e01b0319909116919092161717905561170b846001612468565b6000818152600360205260409020549091506001600160a01b031661179d57611735816000541190565b1561179d5760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff9081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6008546001600160a01b03163314610b0d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107cb565b600260095414156118945760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107cb565b6002600955565b60408051808201909152600080825260208201526118ba826000541190565b6119195760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b60648201526084016107cb565b60007f0000000000000000000000000000000000000000000000000000000000000014831061197a5761196c7f00000000000000000000000000000000000000000000000000000000000000148461258e565b611977906001612468565b90505b825b8181106119e4576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156119d157949350505050565b50806119dc816125a5565b91505061197c565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b60648201526084016107cb565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611ab1828260405180602001604052806000815250611c6f565b5050565b60006001600160a01b0384163b15611bb757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611af99033908990889088906004016125bc565b602060405180830381600087803b158015611b1357600080fd5b505af1925050508015611b43575060408051601f3d908101601f19168201909252611b40918101906125f8565b60015b611b9d573d808015611b71576040519150601f19603f3d011682016040523d82523d6000602084013e611b76565b606091505b508051611b955760405162461bcd60e51b81526004016107cb9061249f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611bbb565b5060015b949350505050565b6060600c80546106dd906123e3565b60606000611bdf83611f4a565b600101905060008167ffffffffffffffff811115611bff57611bff6122be565b6040519080825280601f01601f191660200182016040528015611c29576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611c6257611c67565b611c33565b509392505050565b6000546001600160a01b038416611cd25760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016107cb565b611cdd816000541190565b15611d2a5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e74656400000060448201526064016107cb565b7f0000000000000000000000000000000000000000000000000000000000000014831115611da55760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b60648201526084016107cb565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190611e01908790612563565b6001600160801b03168152602001858360200151611e1f9190612563565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b0297909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015611f3f5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611f036000888488611ab5565b611f1f5760405162461bcd60e51b81526004016107cb9061249f565b81611f2981612434565b9250508080611f3790612434565b915050611eb6565b5060008190556117df565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611f93577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310611fbf576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611fdd57662386f26fc10000830492506010015b6305f5e1008310611ff5576305f5e100830492506008015b612710831061200957612710830492506004015b6064831061201b576064830492506002015b600a83106106c85760010192915050565b828054612038906123e3565b90600052602060002090601f01602090048101928261205a57600085556120a0565b82601f106120735782800160ff198235161785556120a0565b828001600101855582156120a0579182015b828111156120a0578235825591602001919060010190612085565b50610b889291505b80821115610b8857600081556001016120a8565b6001600160e01b03198116811461112657600080fd5b6000602082840312156120e457600080fd5b81356112ed816120bc565b60005b8381101561210a5781810151838201526020016120f2565b838111156112215750506000910152565b600081518084526121338160208601602086016120ef565b601f01601f19169290920160200192915050565b6020815260006112ed602083018461211b565b60006020828403121561216c57600080fd5b5035919050565b80356001600160a01b038116811461218a57600080fd5b919050565b600080604083850312156121a257600080fd5b6121ab83612173565b946020939093013593505050565b6000806000606084860312156121ce57600080fd5b6121d784612173565b92506121e560208501612173565b9150604084013590509250925092565b6000806020838503121561220857600080fd5b823567ffffffffffffffff8082111561222057600080fd5b818501915085601f83011261223457600080fd5b81358181111561224357600080fd5b86602082850101111561225557600080fd5b60209290920196919550909350505050565b60006020828403121561227957600080fd5b6112ed82612173565b6000806040838503121561229557600080fd5b61229e83612173565b9150602083013580151581146122b357600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156122ea57600080fd5b6122f385612173565b935061230160208601612173565b925060408501359150606085013567ffffffffffffffff8082111561232557600080fd5b818701915087601f83011261233957600080fd5b81358181111561234b5761234b6122be565b604051601f8201601f19908116603f01168101908382118183101715612373576123736122be565b816040528281528a602084870101111561238c57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156123c357600080fd5b6123cc83612173565b91506123da60208401612173565b90509250929050565b600181811c908216806123f757607f821691505b6020821081141561241857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60006000198214156124485761244861241e565b5060010190565b60006020828403121561246157600080fd5b5051919050565b6000821982111561247b5761247b61241e565b500190565b600081600019048311821515161561249a5761249a61241e565b500290565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527f6563656976657220696d706c656d656e74657200000000000000000000000000606082015260800190565b6000835161250e8184602088016120ef565b8351908301906125228183602088016120ef565b64173539b7b760d91b9101908152600501949350505050565b60006001600160801b038381169083168181101561255b5761255b61241e565b039392505050565b60006001600160801b038083168185168083038211156125855761258561241e565b01949350505050565b6000828210156125a0576125a061241e565b500390565b6000816125b4576125b461241e565b506000190190565b60006001600160a01b038087168352808616602084015250836040830152608060608301526125ee608083018461211b565b9695505050505050565b60006020828403121561260a57600080fd5b81516112ed816120bc56fea26469706673582212206074b54dfbd88f9c84e333e89d2f3fc620f6b0fada6f72fae2b48679f40091bc64736f6c63430008090033

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

00000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000d050000000000000000000000006982508145454ce325ddbe47a25d4ec3d231193300000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569687872746e6f6c637333716f776a76613767697463356b6c727734656863786d3535646f6a3673736f366b35713369656f6175342f0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : maxBatchSize_ (uint256): 20
Arg [1] : collectionSize_ (uint256): 3333
Arg [2] : erc20TokenAddress (address): 0x6982508145454Ce325dDbE47a25d4ec3d2311933
Arg [3] : initURI_ (string): ipfs://bafybeihxrtnolcs3qowjva7gitc5klrw4ehcxm55doj6sso6k5q3ieoau4/

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000d05
Arg [2] : 0000000000000000000000006982508145454ce325ddbe47a25d4ec3d2311933
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [5] : 697066733a2f2f62616679626569687872746e6f6c637333716f776a76613767
Arg [6] : 697463356b6c727734656863786d3535646f6a3673736f366b35713369656f61
Arg [7] : 75342f0000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

171:2248:12:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3963:370:3;;;;;;;;;;-1:-1:-1;3963:370:3;;;;;:::i;:::-;;:::i;:::-;;;565:14:16;;558:22;540:41;;528:2;513:18;3963:370:3;;;;;;;;5689:94;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;7223:204::-;;;;;;;;;;-1:-1:-1;7223:204:3;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:55:16;;;1674:74;;1662:2;1647:18;7223:204:3;1528:226:16;6786:379:3;;;;;;;;;;-1:-1:-1;6786:379:3;;;;;:::i;:::-;;:::i;:::-;;2524:94;;;;;;;;;;-1:-1:-1;2577:7:3;2600:12;2524:94;;;2365:25:16;;;2353:2;2338:18;2524:94:3;2219:177:16;8073:142:3;;;;;;;;;;-1:-1:-1;8073:142:3;;;;;:::i;:::-;;:::i;3155:744::-;;;;;;;;;;-1:-1:-1;3155:744:3;;;;;:::i;:::-;;:::i;2113:150:12:-;;;;;;;;;;;;;:::i;8278:157:3:-;;;;;;;;;;-1:-1:-1;8278:157:3;;;;;:::i;:::-;;:::i;272:45:12:-;;;;;;;;;;;;;;;2687:177:3;;;;;;;;;;-1:-1:-1;2687:177:3;;;;;:::i;:::-;;:::i;2007:100:12:-;;;;;;;;;;-1:-1:-1;2007:100:12;;;;;:::i;:::-;;:::i;5512:118:3:-;;;;;;;;;;-1:-1:-1;5512:118:3;;;;;:::i;:::-;;:::i;322:38:12:-;;;;;;;;;;;;;;;233:34;;;;;;;;;;;;;;;;4389:211:3;;;;;;;;;;-1:-1:-1;4389:211:3;;;;;:::i;:::-;;:::i;1877:103:11:-;;;;;;;;;;;;;:::i;1041:465:12:-;;;;;;;;;;;;;:::i;514:49::-;;;;;;;;;;-1:-1:-1;514:49:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;449:24;;;;;;;;;;-1:-1:-1;449:24:12;;;;-1:-1:-1;;;;;449:24:12;;;1236:87:11;;;;;;;;;;-1:-1:-1;1309:6:11;;-1:-1:-1;;;;;1309:6:11;1236:87;;2269:147:12;;;;;;;;;;-1:-1:-1;2269:147:12;;;;;:::i;:::-;;:::i;:::-;;;;3998:13:16;;-1:-1:-1;;;;;3994:62:16;3976:81;;4117:4;4105:17;;;4099:24;4125:18;4095:49;4073:20;;;4066:79;;;;3949:18;2269:147:12;3768:383:16;5844:98:3;;;;;;;;;;;;;:::i;1512:375:12:-;;;;;;:::i;:::-;;:::i;7491:274:3:-;;;;;;;;;;-1:-1:-1;7491:274:3;;;;;:::i;:::-;;:::i;8498:311::-;;;;;;;;;;-1:-1:-1;8498:311:3;;;;;:::i;:::-;;:::i;6005:403::-;;;;;;;;;;-1:-1:-1;6005:403:3;;;;;:::i;:::-;;:::i;480:27:12:-;;;;;;;;;;;;;:::i;365:34::-;;;;;;;;;;;;;;;12913:43:3;;;;;;;;;;;;;;;;7828:186;;;;;;;;;;-1:-1:-1;7828:186:3;;;;;:::i;:::-;-1:-1:-1;;;;;7973:25:3;;;7950:4;7973:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;7828:186;2135:201:11;;;;;;;;;;-1:-1:-1;2135:201:11;;;;;:::i;:::-;;:::i;3963:370:3:-;4090:4;-1:-1:-1;;;;;;4120:40:3;;-1:-1:-1;;;4120:40:3;;:99;;-1:-1:-1;;;;;;;4171:48:3;;-1:-1:-1;;;4171:48:3;4120:99;:160;;;-1:-1:-1;;;;;;;4230:50:3;;-1:-1:-1;;;4230:50:3;4120:160;:207;;;-1:-1:-1;;;;;;;;;;963:40:2;;;4291:36:3;4106:221;3963:370;-1:-1:-1;;3963:370:3:o;5689:94::-;5743:13;5772:5;5765:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5689:94;:::o;7223:204::-;7291:7;7315:16;7323:7;9105:4;9135:12;-1:-1:-1;9125:22:3;9048:105;7315:16;7307:74;;;;-1:-1:-1;;;7307:74:3;;6635:2:16;7307:74:3;;;6617:21:16;6674:2;6654:18;;;6647:30;6713:34;6693:18;;;6686:62;-1:-1:-1;;;6764:18:16;;;6757:43;6817:19;;7307:74:3;;;;;;;;;-1:-1:-1;7397:24:3;;;;:15;:24;;;;;;-1:-1:-1;;;;;7397:24:3;;7223:204::o;6786:379::-;6855:13;6871:24;6887:7;6871:15;:24::i;:::-;6855:40;;6916:5;-1:-1:-1;;;;;6910:11:3;:2;-1:-1:-1;;;;;6910:11:3;;;6902:58;;;;-1:-1:-1;;;6902:58:3;;7049:2:16;6902:58:3;;;7031:21:16;7088:2;7068:18;;;7061:30;7127:34;7107:18;;;7100:62;-1:-1:-1;;;7178:18:16;;;7171:32;7220:19;;6902:58:3;6847:398:16;6902:58:3;736:10:1;-1:-1:-1;;;;;6985:21:3;;;;:62;;-1:-1:-1;7010:37:3;7027:5;736:10:1;7828:186:3;:::i;7010:37::-;6969:153;;;;-1:-1:-1;;;6969:153:3;;7452:2:16;6969:153:3;;;7434:21:16;7491:2;7471:18;;;7464:30;7530:34;7510:18;;;7503:62;7601:27;7581:18;;;7574:55;7646:19;;6969:153:3;7250:421:16;6969:153:3;7131:28;7140:2;7144:7;7153:5;7131:8;:28::i;:::-;6848:317;6786:379;;:::o;8073:142::-;8181:28;8191:4;8197:2;8201:7;8181:9;:28::i;3155:744::-;3264:7;3299:16;3309:5;3299:9;:16::i;:::-;3291:5;:24;3283:71;;;;-1:-1:-1;;;3283:71:3;;7878:2:16;3283:71:3;;;7860:21:16;7917:2;7897:18;;;7890:30;7956:34;7936:18;;;7929:62;-1:-1:-1;;;8007:18:16;;;8000:32;8049:19;;3283:71:3;7676:398:16;3283:71:3;3361:22;2600:12;;;3361:22;;3481:350;3505:14;3501:1;:18;3481:350;;;3535:31;3569:14;;;:11;:14;;;;;;;;;3535:48;;;;;;;;;-1:-1:-1;;;;;3535:48:3;;;;;-1:-1:-1;;;3535:48:3;;;;;;;;;;;;3596:28;3592:89;;3657:14;;;-1:-1:-1;3592:89:3;3714:5;-1:-1:-1;;;;;3693:26:3;:17;-1:-1:-1;;;;;3693:26:3;;3689:135;;;3751:5;3736:11;:20;3732:59;;;-1:-1:-1;3778:1:3;-1:-1:-1;3771:8:3;;-1:-1:-1;;;3771:8:3;3732:59;3801:13;;;;:::i;:::-;;;;3689:135;-1:-1:-1;3521:3:3;;;;:::i;:::-;;;;3481:350;;;-1:-1:-1;3837:56:3;;-1:-1:-1;;;3837:56:3;;8553:2:16;3837:56:3;;;8535:21:16;8592:2;8572:18;;;8565:30;8631:34;8611:18;;;8604:62;-1:-1:-1;;;8682:18:16;;;8675:44;8736:19;;3837:56:3;8351:410:16;2113:150:12;1122:13:11;:11;:13::i;:::-;2311:21:13::1;:19;:21::i;:::-;2171:7:12::2;2192;1309:6:11::0;;-1:-1:-1;;;;;1309:6:11;;1236:87;2192:7:12::2;-1:-1:-1::0;;;;;2184:21:12::2;2213;2184:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2170:69;;;2254:2;2246:11;;;::::0;::::2;;2163:100;2355:20:13::1;1749:1:::0;2875:7;:22;2692:213;2355:20:::1;2113:150:12:o:0;8278:157:3:-;8390:39;8407:4;8413:2;8417:7;8390:39;;;;;;;;;;;;:16;:39::i;2687:177::-;2754:7;2600:12;;2778:5;:21;2770:69;;;;-1:-1:-1;;;2770:69:3;;9178:2:16;2770:69:3;;;9160:21:16;9217:2;9197:18;;;9190:30;9256:34;9236:18;;;9229:62;-1:-1:-1;;;9307:18:16;;;9300:33;9350:19;;2770:69:3;8976:399:16;2770:69:3;-1:-1:-1;2853:5:3;2687:177::o;2007:100:12:-;1122:13:11;:11;:13::i;:::-;2078:23:12::1;:13;2094:7:::0;;2078:23:::1;:::i;5512:118:3:-:0;5576:7;5599:20;5611:7;5599:11;:20::i;:::-;:25;;5512:118;-1:-1:-1;;5512:118:3:o;4389:211::-;4453:7;-1:-1:-1;;;;;4477:19:3;;4469:75;;;;-1:-1:-1;;;4469:75:3;;9582:2:16;4469:75:3;;;9564:21:16;9621:2;9601:18;;;9594:30;9660:34;9640:18;;;9633:62;-1:-1:-1;;;9711:18:16;;;9704:41;9762:19;;4469:75:3;9380:407:16;4469:75:3;-1:-1:-1;;;;;;4566:19:3;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;4566:27:3;;4389:211::o;1877:103:11:-;1122:13;:11;:13::i;:::-;1942:30:::1;1969:1;1942:18;:30::i;1041:465:12:-:0;967:9;980:10;967:23;959:62;;;;-1:-1:-1;;;959:62:12;;9994:2:16;959:62:12;;;9976:21:16;10033:2;10013:18;;;10006:30;10072:28;10052:18;;;10045:56;10118:18;;959:62:12;9792:350:16;959:62:12;1100:10:::1;::::0;:32:::1;::::0;-1:-1:-1;;;1100:32:12;;1121:10:::1;1100:32;::::0;::::1;1674:74:16::0;1135:1:12::1;::::0;-1:-1:-1;;;;;1100:10:12::1;::::0;:20:::1;::::0;1647:18:16;;1100:32:12::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:36;1092:75;;;::::0;-1:-1:-1;;;1092:75:12;;10538:2:16;1092:75:12::1;::::0;::::1;10520:21:16::0;10577:2;10557:18;;;10550:30;10616:28;10596:18;;;10589:56;10662:18;;1092:75:12::1;10336:350:16::0;1092:75:12::1;1201:10;1183:29;::::0;;;:17:::1;:29;::::0;;;;;::::1;;1182:30;1174:69;;;::::0;-1:-1:-1;;;1174:69:12;;10893:2:16;1174:69:12::1;::::0;::::1;10875:21:16::0;10932:2;10912:18;;;10905:30;10971:28;10951:18;;;10944:56;11017:18;;1174:69:12::1;10691:350:16::0;1174:69:12::1;1285:13;1258:19;;1280:1;1258:23;;;;:::i;:::-;:40;;1250:77;;;::::0;-1:-1:-1;;;1250:77:12;;11381:2:16;1250:77:12::1;::::0;::::1;11363:21:16::0;11420:2;11400:18;;;11393:30;11459:26;11439:18;;;11432:54;11503:18;;1250:77:12::1;11179:348:16::0;1250:77:12::1;1363:9;1342:13;2577:7:3::0;2600:12;;2524:94;1342:13:12::1;:17;::::0;1358:1:::1;1342:17;:::i;:::-;:30;;1334:61;;;::::0;-1:-1:-1;;;1334:61:12;;11734:2:16;1334:61:12::1;::::0;::::1;11716:21:16::0;11773:2;11753:18;;;11746:30;-1:-1:-1;;;11792:18:16;;;11785:48;11850:18;;1334:61:12::1;11532:342:16::0;1334:61:12::1;1404:24;1414:10;1426:1;1404:9;:24::i;:::-;1453:10;1435:29;::::0;;;:17:::1;:29;::::0;;;;:36;;-1:-1:-1;;1435:36:12::1;1467:4;1435:36;::::0;;1478:19:::1;:22:::0;;;::::1;::::0;::::1;:::i;:::-;;;;;;1041:465::o:0;2269:147::-;-1:-1:-1;;;;;;;;;;;;;;;;;2390:20:12;2402:7;2390:11;:20::i;5844:98:3:-;5900:13;5929:7;5922:14;;;;;:::i;1512:375:12:-;967:9;980:10;967:23;959:62;;;;-1:-1:-1;;;959:62:12;;9994:2:16;959:62:12;;;9976:21:16;10033:2;10013:18;;;10006:30;10072:28;10052:18;;;10045:56;10118:18;;959:62:12;9792:350:16;959:62:12;1600:1:::1;1589:8;:12;1581:50;;;::::0;-1:-1:-1;;;1581:50:12;;12081:2:16;1581:50:12::1;::::0;::::1;12063:21:16::0;12120:2;12100:18;;;12093:30;12159:27;12139:18;;;12132:55;12204:18;;1581:50:12::1;11879:349:16::0;1581:50:12::1;1659:15;1666:8:::0;1659:4:::1;:15;:::i;:::-;1646:9;:28;;1638:57;;;::::0;-1:-1:-1;;;1638:57:12;;12608:2:16;1638:57:12::1;::::0;::::1;12590:21:16::0;12647:2;12627:18;;;12620:30;-1:-1:-1;;;12666:18:16;;;12659:46;12722:18;;1638:57:12::1;12406:340:16::0;1638:57:12::1;1738:9;1726:8;1710:13;2577:7:3::0;2600:12;;2524:94;1710:13:12::1;:24;;;;:::i;:::-;:37;;1702:68;;;::::0;-1:-1:-1;;;1702:68:12;;11734:2:16;1702:68:12::1;::::0;::::1;11716:21:16::0;11773:2;11753:18;;;11746:30;-1:-1:-1;;;11792:18:16;;;11785:48;11850:18;;1702:68:12::1;11532:342:16::0;1702:68:12::1;1797:13;1785:8;:25;;1777:60;;;::::0;-1:-1:-1;;;1777:60:12;;12953:2:16;1777:60:12::1;::::0;::::1;12935:21:16::0;12992:2;12972:18;;;12965:30;13031:24;13011:18;;;13004:52;13073:18;;1777:60:12::1;12751:346:16::0;1777:60:12::1;1850:31;1860:10;1872:8;1850:9;:31::i;:::-;1512:375:::0;:::o;7491:274:3:-;-1:-1:-1;;;;;7582:24:3;;736:10:1;7582:24:3;;7574:63;;;;-1:-1:-1;;;7574:63:3;;13304:2:16;7574:63:3;;;13286:21:16;13343:2;13323:18;;;13316:30;13382:28;13362:18;;;13355:56;13428:18;;7574:63:3;13102:350:16;7574:63:3;736:10:1;7646:32:3;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;7646:42:3;;;;;;;;;;;;:53;;-1:-1:-1;;7646:53:3;;;;;;;;;;7711:48;;540:41:16;;;7646:42:3;;736:10:1;7711:48:3;;513:18:16;7711:48:3;;;;;;;7491:274;;:::o;8498:311::-;8635:28;8645:4;8651:2;8655:7;8635:9;:28::i;:::-;8686:48;8709:4;8715:2;8719:7;8728:5;8686:22;:48::i;:::-;8670:133;;;;-1:-1:-1;;;8670:133:3;;;;;;;:::i;:::-;8498:311;;;;:::o;6005:403::-;6103:13;6144:16;6152:7;9105:4;9135:12;-1:-1:-1;9125:22:3;9048:105;6144:16;6128:97;;;;-1:-1:-1;;;6128:97:3;;14079:2:16;6128:97:3;;;14061:21:16;14118:2;14098:18;;;14091:30;14157:34;14137:18;;;14130:62;-1:-1:-1;;;14208:18:16;;;14201:45;14263:19;;6128:97:3;13877:411:16;6128:97:3;6234:21;6258:10;:8;:10::i;:::-;6234:34;;6313:1;6295:7;6289:21;:25;:113;;;;;;;;;;;;;;;;;6350:7;6359:18;:7;:16;:18::i;:::-;6333:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;6289:113;6275:127;6005:403;-1:-1:-1;;;6005:403:3:o;480:27:12:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2135:201:11:-;1122:13;:11;:13::i;:::-;-1:-1:-1;;;;;2224:22:11;::::1;2216:73;;;::::0;-1:-1:-1;;;2216:73:11;;15137:2:16;2216:73:11::1;::::0;::::1;15119:21:16::0;15176:2;15156:18;;;15149:30;15215:34;15195:18;;;15188:62;-1:-1:-1;;;15266:18:16;;;15259:36;15312:19;;2216:73:11::1;14935:402:16::0;2216:73:11::1;2300:28;2319:8;2300:18;:28::i;12735:172:3:-:0;12832:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;12832:29:3;-1:-1:-1;;;;;12832:29:3;;;;;;;;;12873:28;;12832:24;;12873:28;;;;;;;12735:172;;;:::o;11100:1529::-;11197:35;11235:20;11247:7;11235:11;:20::i;:::-;11306:18;;11197:58;;-1:-1:-1;11264:22:3;;-1:-1:-1;;;;;11290:34:3;736:10:1;-1:-1:-1;;;;;11290:34:3;;:81;;;-1:-1:-1;736:10:1;11335:20:3;11347:7;11335:11;:20::i;:::-;-1:-1:-1;;;;;11335:36:3;;11290:81;:142;;;-1:-1:-1;11399:18:3;;11382:50;;736:10:1;7828:186:3;:::i;11382:50::-;11264:169;;11458:17;11442:101;;;;-1:-1:-1;;;11442:101:3;;15544:2:16;11442:101:3;;;15526:21:16;15583:2;15563:18;;;15556:30;15622:34;15602:18;;;15595:62;15693:20;15673:18;;;15666:48;15731:19;;11442:101:3;15342:414:16;11442:101:3;11590:4;-1:-1:-1;;;;;11568:26:3;:13;:18;;;-1:-1:-1;;;;;11568:26:3;;11552:98;;;;-1:-1:-1;;;11552:98:3;;15963:2:16;11552:98:3;;;15945:21:16;16002:2;15982:18;;;15975:30;16041:34;16021:18;;;16014:62;-1:-1:-1;;;16092:18:16;;;16085:36;16138:19;;11552:98:3;15761:402:16;11552:98:3;-1:-1:-1;;;;;11665:16:3;;11657:66;;;;-1:-1:-1;;;11657:66:3;;16370:2:16;11657:66:3;;;16352:21:16;16409:2;16389:18;;;16382:30;16448:34;16428:18;;;16421:62;-1:-1:-1;;;16499:18:16;;;16492:35;16544:19;;11657:66:3;16168:401:16;11657:66:3;11832:49;11849:1;11853:7;11862:13;:18;;;11832:8;:49::i;:::-;-1:-1:-1;;;;;11890:18:3;;;;;;:12;:18;;;;;:31;;11920:1;;11890:18;:31;;11920:1;;-1:-1:-1;;;;;11890:31:3;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;11890:31:3;;;;;;;;;;;;;;;-1:-1:-1;;;;;11928:16:3;;-1:-1:-1;11928:16:3;;;:12;:16;;;;;:29;;-1:-1:-1;;;11928:16:3;;:29;;-1:-1:-1;;11928:29:3;;:::i;:::-;;;-1:-1:-1;;;;;11928:29:3;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11987:43:3;;;;;;;;-1:-1:-1;;;;;11987:43:3;;;;;;12013:15;11987:43;;;;;;;;;-1:-1:-1;11964:20:3;;;:11;:20;;;;;;:66;;;;;;;;;-1:-1:-1;;;11964:66:3;-1:-1:-1;;;;;;11964:66:3;;;;;;;;;;;12280:11;11976:7;-1:-1:-1;12280:11:3;:::i;:::-;12343:1;12302:24;;;:11;:24;;;;;:29;12258:33;;-1:-1:-1;;;;;;12302:29:3;12298:236;;12360:20;12368:11;9105:4;9135:12;-1:-1:-1;9125:22:3;9048:105;12360:20;12356:171;;;12420:97;;;;;;;;12447:18;;-1:-1:-1;;;;;12420:97:3;;;;;;12478:28;;;;12420:97;;;;;;;;;;-1:-1:-1;12393:24:3;;;:11;:24;;;;;;;:124;;;;;;;;;-1:-1:-1;;;12393:124:3;-1:-1:-1;;;;;;12393:124:3;;;;;;;;;;;;12356:171;12566:7;12562:2;-1:-1:-1;;;;;12547:27:3;12556:4;-1:-1:-1;;;;;12547:27:3;;;;;;;;;;;12581:42;11190:1439;;;11100:1529;;;:::o;1401:132:11:-;1309:6;;-1:-1:-1;;;;;1309:6:11;736:10:1;1465:23:11;1457:68;;;;-1:-1:-1;;;1457:68:11;;17285:2:16;1457:68:11;;;17267:21:16;;;17304:18;;;17297:30;17363:34;17343:18;;;17336:62;17415:18;;1457:68:11;17083:356:16;2391:293:13;1793:1;2525:7;;:19;;2517:63;;;;-1:-1:-1;;;2517:63:13;;17646:2:16;2517:63:13;;;17628:21:16;17685:2;17665:18;;;17658:30;17724:33;17704:18;;;17697:61;17775:18;;2517:63:13;17444:355:16;2517:63:13;1793:1;2658:7;:18;2391:293::o;4852:606:3:-;-1:-1:-1;;;;;;;;;;;;;;;;;4969:16:3;4977:7;9105:4;9135:12;-1:-1:-1;9125:22:3;9048:105;4969:16;4961:71;;;;-1:-1:-1;;;4961:71:3;;18006:2:16;4961:71:3;;;17988:21:16;18045:2;18025:18;;;18018:30;18084:34;18064:18;;;18057:62;-1:-1:-1;;;18135:18:16;;;18128:40;18185:19;;4961:71:3;17804:406:16;4961:71:3;5041:26;5089:12;5078:7;:23;5074:93;;5133:22;5143:12;5133:7;:22;:::i;:::-;:26;;5158:1;5133:26;:::i;:::-;5112:47;;5074:93;5195:7;5175:212;5212:18;5204:4;:26;5175:212;;5249:31;5283:17;;;:11;:17;;;;;;;;;5249:51;;;;;;;;;-1:-1:-1;;;;;5249:51:3;;;;;-1:-1:-1;;;5249:51:3;;;;;;;;;;;;5313:28;5309:71;;5361:9;4852:606;-1:-1:-1;;;;4852:606:3:o;5309:71::-;-1:-1:-1;5232:6:3;;;;:::i;:::-;;;;5175:212;;;-1:-1:-1;5395:57:3;;-1:-1:-1;;;5395:57:3;;18688:2:16;5395:57:3;;;18670:21:16;18727:2;18707:18;;;18700:30;18766:34;18746:18;;;18739:62;-1:-1:-1;;;18817:18:16;;;18810:45;18872:19;;5395:57:3;18486:411:16;2496:191:11;2589:6;;;-1:-1:-1;;;;;2606:17:11;;;-1:-1:-1;;;;;;2606:17:11;;;;;;;2639:40;;2589:6;;;2606:17;2589:6;;2639:40;;2570:16;;2639:40;2559:128;2496:191;:::o;9159:98:3:-;9224:27;9234:2;9238:8;9224:27;;;;;;;;;;;;:9;:27::i;:::-;9159:98;;:::o;14450:690::-;14587:4;-1:-1:-1;;;;;14604:13:3;;1746:19:0;:23;14600:535:3;;14643:72;;-1:-1:-1;;;14643:72:3;;-1:-1:-1;;;;;14643:36:3;;;;;:72;;736:10:1;;14694:4:3;;14700:7;;14709:5;;14643:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14643:72:3;;;;;;;;-1:-1:-1;;14643:72:3;;;;;;;;;;;;:::i;:::-;;;14630:464;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14874:13:3;;14870:215;;14907:61;;-1:-1:-1;;;14907:61:3;;;;;;;:::i;14870:215::-;15053:6;15047:13;15038:6;15034:2;15030:15;15023:38;14630:464;-1:-1:-1;;;;;;14765:55:3;-1:-1:-1;;;14765:55:3;;-1:-1:-1;14758:62:3;;14600:535;-1:-1:-1;15123:4:3;14600:535;14450:690;;;;;;:::o;1893:108:12:-;1953:13;1982;1975:20;;;;;:::i;455:716:15:-;511:13;562:14;579:17;590:5;579:10;:17::i;:::-;599:1;579:21;562:38;;615:20;649:6;638:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;638:18:15;-1:-1:-1;615:41:15;-1:-1:-1;780:28:15;;;796:2;780:28;837:288;-1:-1:-1;;869:5:15;-1:-1:-1;;;1006:2:15;995:14;;990:30;869:5;977:44;1067:2;1058:11;;;-1:-1:-1;1092:10:15;1088:21;;1104:5;;1088:21;837:288;;;-1:-1:-1;1146:6:15;455:716;-1:-1:-1;;;455:716:15:o;9596:1272:3:-;9701:20;9724:12;-1:-1:-1;;;;;9751:16:3;;9743:62;;;;-1:-1:-1;;;9743:62:3;;20007:2:16;9743:62:3;;;19989:21:16;20046:2;20026:18;;;20019:30;20085:34;20065:18;;;20058:62;-1:-1:-1;;;20136:18:16;;;20129:31;20177:19;;9743:62:3;19805:397:16;9743:62:3;9942:21;9950:12;9105:4;9135:12;-1:-1:-1;9125:22:3;9048:105;9942:21;9941:22;9933:64;;;;-1:-1:-1;;;9933:64:3;;20409:2:16;9933:64:3;;;20391:21:16;20448:2;20428:18;;;20421:30;20487:31;20467:18;;;20460:59;20536:18;;9933:64:3;20207:353:16;9933:64:3;10024:12;10012:8;:24;;10004:71;;;;-1:-1:-1;;;10004:71:3;;20767:2:16;10004:71:3;;;20749:21:16;20806:2;20786:18;;;20779:30;20845:34;20825:18;;;20818:62;-1:-1:-1;;;20896:18:16;;;20889:32;20938:19;;10004:71:3;20565:398:16;10004:71:3;-1:-1:-1;;;;;10187:16:3;;10154:30;10187:16;;;:12;:16;;;;;;;;;10154:49;;;;;;;;;-1:-1:-1;;;;;10154:49:3;;;;;-1:-1:-1;;;10154:49:3;;;;;;;;;;;10229:119;;;;;;;;10249:19;;10154:49;;10229:119;;;10249:39;;10279:8;;10249:39;:::i;:::-;-1:-1:-1;;;;;10229:119:3;;;;;10332:8;10297:11;:24;;;:44;;;;:::i;:::-;-1:-1:-1;;;;;10229:119:3;;;;;;-1:-1:-1;;;;;10210:16:3;;;;;;;:12;:16;;;;;;;;:138;;;;;;;;-1:-1:-1;;;10210:138:3;;;;;;;;;;;;10383:43;;;;;;;;;;;10409:15;10383:43;;;;;;;;10355:25;;;:11;:25;;;;;;:71;;;;;;;;;-1:-1:-1;;;10355:71:3;-1:-1:-1;;;;;;10355:71:3;;;;;;;;;;;;;;;;;;10367:12;;10479:281;10503:8;10499:1;:12;10479:281;;;10532:38;;10557:12;;-1:-1:-1;;;;;10532:38:3;;;10549:1;;10532:38;;10549:1;;10532:38;10597:59;10628:1;10632:2;10636:12;10650:5;10597:22;:59::i;:::-;10579:150;;;;-1:-1:-1;;;10579:150:3;;;;;;;:::i;:::-;10738:14;;;;:::i;:::-;;;;10513:3;;;;;:::i;:::-;;;;10479:281;;;-1:-1:-1;10768:12:3;:27;;;10802:60;8498:311;10390:948:10;10443:7;;10530:8;10521:17;;10517:106;;10568:8;10559:17;;;-1:-1:-1;10605:2:10;10595:12;10517:106;10650:8;10641:5;:17;10637:106;;10688:8;10679:17;;;-1:-1:-1;10725:2:10;10715:12;10637:106;10770:8;10761:5;:17;10757:106;;10808:8;10799:17;;;-1:-1:-1;10845:2:10;10835:12;10757:106;10890:7;10881:5;:16;10877:103;;10927:7;10918:16;;;-1:-1:-1;10963:1:10;10953:11;10877:103;11007:7;10998:5;:16;10994:103;;11044:7;11035:16;;;-1:-1:-1;11080:1:10;11070:11;10994:103;11124:7;11115:5;:16;11111:103;;11161:7;11152:16;;;-1:-1:-1;11197:1:10;11187:11;11111:103;11241:7;11232:5;:16;11228:68;;11279:1;11269:11;11324:6;10390:948;-1:-1:-1;;10390:948:10:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:131:16;-1:-1:-1;;;;;;88:32:16;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:16;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:16;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:16:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:16;;1343:180;-1:-1:-1;1343:180:16:o;1759:196::-;1827:20;;-1:-1:-1;;;;;1876:54:16;;1866:65;;1856:93;;1945:1;1942;1935:12;1856:93;1759:196;;;:::o;1960:254::-;2028:6;2036;2089:2;2077:9;2068:7;2064:23;2060:32;2057:52;;;2105:1;2102;2095:12;2057:52;2128:29;2147:9;2128:29;:::i;:::-;2118:39;2204:2;2189:18;;;;2176:32;;-1:-1:-1;;;1960:254:16:o;2401:328::-;2478:6;2486;2494;2547:2;2535:9;2526:7;2522:23;2518:32;2515:52;;;2563:1;2560;2553:12;2515:52;2586:29;2605:9;2586:29;:::i;:::-;2576:39;;2634:38;2668:2;2657:9;2653:18;2634:38;:::i;:::-;2624:48;;2719:2;2708:9;2704:18;2691:32;2681:42;;2401:328;;;;;:::o;2734:592::-;2805:6;2813;2866:2;2854:9;2845:7;2841:23;2837:32;2834:52;;;2882:1;2879;2872:12;2834:52;2922:9;2909:23;2951:18;2992:2;2984:6;2981:14;2978:34;;;3008:1;3005;2998:12;2978:34;3046:6;3035:9;3031:22;3021:32;;3091:7;3084:4;3080:2;3076:13;3072:27;3062:55;;3113:1;3110;3103:12;3062:55;3153:2;3140:16;3179:2;3171:6;3168:14;3165:34;;;3195:1;3192;3185:12;3165:34;3240:7;3235:2;3226:6;3222:2;3218:15;3214:24;3211:37;3208:57;;;3261:1;3258;3251:12;3208:57;3292:2;3284:11;;;;;3314:6;;-1:-1:-1;2734:592:16;;-1:-1:-1;;;;2734:592:16:o;3331:186::-;3390:6;3443:2;3431:9;3422:7;3418:23;3414:32;3411:52;;;3459:1;3456;3449:12;3411:52;3482:29;3501:9;3482:29;:::i;4156:347::-;4221:6;4229;4282:2;4270:9;4261:7;4257:23;4253:32;4250:52;;;4298:1;4295;4288:12;4250:52;4321:29;4340:9;4321:29;:::i;:::-;4311:39;;4400:2;4389:9;4385:18;4372:32;4447:5;4440:13;4433:21;4426:5;4423:32;4413:60;;4469:1;4466;4459:12;4413:60;4492:5;4482:15;;;4156:347;;;;;:::o;4508:127::-;4569:10;4564:3;4560:20;4557:1;4550:31;4600:4;4597:1;4590:15;4624:4;4621:1;4614:15;4640:1138;4735:6;4743;4751;4759;4812:3;4800:9;4791:7;4787:23;4783:33;4780:53;;;4829:1;4826;4819:12;4780:53;4852:29;4871:9;4852:29;:::i;:::-;4842:39;;4900:38;4934:2;4923:9;4919:18;4900:38;:::i;:::-;4890:48;;4985:2;4974:9;4970:18;4957:32;4947:42;;5040:2;5029:9;5025:18;5012:32;5063:18;5104:2;5096:6;5093:14;5090:34;;;5120:1;5117;5110:12;5090:34;5158:6;5147:9;5143:22;5133:32;;5203:7;5196:4;5192:2;5188:13;5184:27;5174:55;;5225:1;5222;5215:12;5174:55;5261:2;5248:16;5283:2;5279;5276:10;5273:36;;;5289:18;;:::i;:::-;5364:2;5358:9;5332:2;5418:13;;-1:-1:-1;;5414:22:16;;;5438:2;5410:31;5406:40;5394:53;;;5462:18;;;5482:22;;;5459:46;5456:72;;;5508:18;;:::i;:::-;5548:10;5544:2;5537:22;5583:2;5575:6;5568:18;5623:7;5618:2;5613;5609;5605:11;5601:20;5598:33;5595:53;;;5644:1;5641;5634:12;5595:53;5700:2;5695;5691;5687:11;5682:2;5674:6;5670:15;5657:46;5745:1;5740:2;5735;5727:6;5723:15;5719:24;5712:35;5766:6;5756:16;;;;;;;4640:1138;;;;;;;:::o;5783:260::-;5851:6;5859;5912:2;5900:9;5891:7;5887:23;5883:32;5880:52;;;5928:1;5925;5918:12;5880:52;5951:29;5970:9;5951:29;:::i;:::-;5941:39;;5999:38;6033:2;6022:9;6018:18;5999:38;:::i;:::-;5989:48;;5783:260;;;;;:::o;6048:380::-;6127:1;6123:12;;;;6170;;;6191:61;;6245:4;6237:6;6233:17;6223:27;;6191:61;6298:2;6290:6;6287:14;6267:18;6264:38;6261:161;;;6344:10;6339:3;6335:20;6332:1;6325:31;6379:4;6376:1;6369:15;6407:4;6404:1;6397:15;6261:161;;6048:380;;;:::o;8079:127::-;8140:10;8135:3;8131:20;8128:1;8121:31;8171:4;8168:1;8161:15;8195:4;8192:1;8185:15;8211:135;8250:3;-1:-1:-1;;8271:17:16;;8268:43;;;8291:18;;:::i;:::-;-1:-1:-1;8338:1:16;8327:13;;8211:135::o;10147:184::-;10217:6;10270:2;10258:9;10249:7;10245:23;10241:32;10238:52;;;10286:1;10283;10276:12;10238:52;-1:-1:-1;10309:16:16;;10147:184;-1:-1:-1;10147:184:16:o;11046:128::-;11086:3;11117:1;11113:6;11110:1;11107:13;11104:39;;;11123:18;;:::i;:::-;-1:-1:-1;11159:9:16;;11046:128::o;12233:168::-;12273:7;12339:1;12335;12331:6;12327:14;12324:1;12321:21;12316:1;12309:9;12302:17;12298:45;12295:71;;;12346:18;;:::i;:::-;-1:-1:-1;12386:9:16;;12233:168::o;13457:415::-;13659:2;13641:21;;;13698:2;13678:18;;;13671:30;13737:34;13732:2;13717:18;;13710:62;13808:21;13803:2;13788:18;;13781:49;13862:3;13847:19;;13457:415::o;14293:637::-;14573:3;14611:6;14605:13;14627:53;14673:6;14668:3;14661:4;14653:6;14649:17;14627:53;:::i;:::-;14743:13;;14702:16;;;;14765:57;14743:13;14702:16;14799:4;14787:17;;14765:57;:::i;:::-;-1:-1:-1;;;14844:20:16;;14873:22;;;14922:1;14911:13;;14293:637;-1:-1:-1;;;;14293:637:16:o;16574:246::-;16614:4;-1:-1:-1;;;;;16727:10:16;;;;16697;;16749:12;;;16746:38;;;16764:18;;:::i;:::-;16801:13;;16574:246;-1:-1:-1;;;16574:246:16:o;16825:253::-;16865:3;-1:-1:-1;;;;;16954:2:16;16951:1;16947:10;16984:2;16981:1;16977:10;17015:3;17011:2;17007:12;17002:3;16999:21;16996:47;;;17023:18;;:::i;:::-;17059:13;;16825:253;-1:-1:-1;;;;16825:253:16:o;18215:125::-;18255:4;18283:1;18280;18277:8;18274:34;;;18288:18;;:::i;:::-;-1:-1:-1;18325:9:16;;18215:125::o;18345:136::-;18384:3;18412:5;18402:39;;18421:18;;:::i;:::-;-1:-1:-1;;;18457:18:16;;18345:136::o;18902:512::-;19096:4;-1:-1:-1;;;;;19206:2:16;19198:6;19194:15;19183:9;19176:34;19258:2;19250:6;19246:15;19241:2;19230:9;19226:18;19219:43;;19298:6;19293:2;19282:9;19278:18;19271:34;19341:3;19336:2;19325:9;19321:18;19314:31;19362:46;19403:3;19392:9;19388:19;19380:6;19362:46;:::i;:::-;19354:54;18902:512;-1:-1:-1;;;;;;18902:512:16:o;19419:249::-;19488:6;19541:2;19529:9;19520:7;19516:23;19512:32;19509:52;;;19557:1;19554;19547:12;19509:52;19589:9;19583:16;19608:30;19632:5;19608:30;:::i

Swarm Source

ipfs://6074b54dfbd88f9c84e333e89d2f3fc620f6b0fada6f72fae2b48679f40091bc
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.