ETH Price: $2,927.74 (-7.57%)
Gas: 8 Gwei

Token

PPMC_OrdinalEdition (PPMC_OE)
 

Overview

Max Total Supply

2,222 PPMC_OE

Holders

1,104

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 PPMC_OE
0x2c5b50b81146b55fa9f8643ed155d58abd7f9d61
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:
PPMC_OrdinalEdition

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity Multiple files format)

File 8 of 10: PPMC.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.8.9 <0.9.0;

import "./ERC721A.sol";
import "./Ownable.sol";
import "./ReentrancyGuard.sol";
import "./Strings.sol";
import "./DefaultOperatorFilterer.sol";

contract PPMC_OrdinalEdition is ERC721A, Ownable, DefaultOperatorFilterer, ReentrancyGuard {
  using Strings for uint256;
  
  uint256 public cost = 0.0022 ether;
  uint256 public maxSupplys = 2222;
  uint256 public txnMax = 10;
  uint256 public maxFreeMintEach = 1;
  uint256 public maxMintAmount = 10;

  string public uriPrefix = '';
  string public uriSuffix = '.json';
  string public hiddenMetadataUri;

  bool public revealed = true;
  bool public paused = true;

  constructor(
  ) ERC721A("PPMC_OrdinalEdition", "PPMC_OE") {
  }

  modifier SupplyCompliance(uint256 _mintAmount) {
    require(!paused, "sale has not started.");
    require(tx.origin == msg.sender, "no bots are allowed.");
    require(_mintAmount > 0 && _mintAmount <= txnMax, "Maximum of 10  per txn!");
    require(totalSupply() + _mintAmount <= maxSupplys, "No Supplys lefts!");
    require(
      _mintAmount > 0 && numberMinted(msg.sender) + _mintAmount <= maxMintAmount,
       "You may have minted max number !"
    );
    _;
  }

  modifier SupplyPriceCompliance(uint256 _mintAmount) {
    uint256 realCost = 0;
    
    if (numberMinted(msg.sender) < maxFreeMintEach) {
      uint256 freeMintsLeft = maxFreeMintEach - numberMinted(msg.sender);
      realCost = cost * freeMintsLeft;
    }
   
    require(msg.value >= cost * _mintAmount - realCost, "Insufficient/incorrect funds.");
    _;
  }

  function mint(uint256 _mintAmount) public payable SupplyCompliance(_mintAmount) SupplyPriceCompliance(_mintAmount) {
    _safeMint(_msgSender(), _mintAmount);
  }
  
  function mintForAddress(uint256 _mintAmount, address _receiver) public onlyOwner {
    require(totalSupply() + _mintAmount <= maxSupplys, "Max supply exceeded!");
    _safeMint(_receiver, _mintAmount);
  }

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

  function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
    require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token");

    if (revealed == false) {
      return hiddenMetadataUri;
    }

    string memory currentBaseURI = _baseURI();
    return bytes(currentBaseURI).length > 0
        ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix))
        : '';
  }

  function setCost(uint256 _cost) public onlyOwner {
    cost = _cost;
  }

  function setmaxFreeMintEach(uint256 _maxFreeMintEach) public onlyOwner {
    maxFreeMintEach = _maxFreeMintEach;
  }

  function setRevealed(bool _state) public onlyOwner {
    revealed = _state;
  }

   function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner {
    hiddenMetadataUri = _hiddenMetadataUri;
  }

  function setUriPrefix(string memory _uriPrefix) public onlyOwner {
    uriPrefix = _uriPrefix;
  }

  function setUriSuffix(string memory _uriSuffix) public onlyOwner {
    uriSuffix = _uriSuffix;
  }

  function setPaused(bool _state) public onlyOwner {
    paused = _state;
  }

  function setMaxSupplys(uint256 _maxSupplys) public onlyOwner {
    maxSupplys = _maxSupplys;
  }

  function setMaxMintAmount(uint256 _maxMintAmount) public onlyOwner {
    maxMintAmount = _maxMintAmount;
  }

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

  function numberMinted(address owner) public view returns (uint256) {
    return _numberMinted(owner);
  }

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

  function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) {
    super.setApprovalForAll(operator, approved);
  }

  function approve(address operator, uint256 tokenId) public override onlyAllowedOperatorApproval(operator) {
    super.approve(operator, tokenId);
  }

  function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) {
    super.transferFrom(from, to, tokenId);
  }

  function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) {
    super.safeTransferFrom(from, to, tokenId);
  }

  function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data)
      public
      override
      onlyAllowedOperator(from)
  {
    super.safeTransferFrom(from, to, tokenId, data);
  }

}

File 1 of 10: 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 2 of 10: DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import "./OperatorFilterer.sol";

/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

File 3 of 10: ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @dev ERC721 token receiver interface.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Mask of an entry in packed address data.
    uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant BITMASK_BURNED = 1 << 224;
    
    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The tokenId of the next token to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _burnCounter;

    // 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 `_packedOwnershipOf` implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * @dev Returns the starting token ID. 
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count. 
     * To get the total number of tokens minted, please see `_totalMinted`.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to `_startTokenId()`
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view returns (uint256) {
        return _burnCounter;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> BITPOS_AUX);
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        assembly { // Cast aux without masking.
            auxCasted := aux
        }
        packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP);
        ownership.burned = packed & BITMASK_BURNED != 0;
    }

    /**
     * Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

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

    /**
     * @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) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
    }

    /**
     * @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 Casts the address to uint256 without masking.
     */
    function _addressToUint256(address value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev Casts the boolean to uint256 without branching.
     */
    function _boolToUint256(bool value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = address(uint160(_packedOwnershipOf(tokenId)));
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                revert ApprovalCallerNotOwnerNorApproved();
            }

        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), 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 virtual override {
        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @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
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     *   {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (to.code.length != 0) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex < end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex < end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            do {
                emit Transfer(address(0), to, updatedIndex++);
            } while (updatedIndex < end);

            _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 {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
            isApprovedForAll(from, _msgSenderERC721A()) ||
            getApproved(tokenId) == _msgSenderERC721A());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_NEXT_INITIALIZED;

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        address from = address(uint160(prevOwnershipPacked));

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
                isApprovedForAll(from, _msgSenderERC721A()) ||
                getApproved(tokenId) == _msgSenderERC721A());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(from) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_BURNED | 
                BITMASK_NEXT_INITIALIZED;

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * 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`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    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.
     * And also called after one token has been burned.
     *
     * 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` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function _toString(uint256 value) internal pure returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), 
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length, 
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

            // Cache the end of the memory to calculate the length later.
            let end := ptr

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for { 
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer. 48 is the ASCII index of '0'.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp { 
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } { // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }
            
            let length := sub(end, ptr)
            // Move the pointer 32 bytes leftwards to make room for the length.
            ptr := sub(ptr, 32)
            // Store the length.
            mstore(ptr, length)
        }
    }
}

File 4 of 10: IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of an ERC721A compliant contract.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * The caller cannot approve to the current owner.
     */
    error ApprovalToCurrentOwner();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     *
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);

    // ==============================
    //            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);

    // ==============================
    //            IERC721
    // ==============================

    /**
     * @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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * 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);

    // ==============================
    //        IERC721Metadata
    // ==============================

    /**
     * @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 5 of 10: IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function unregister(address addr) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

File 6 of 10: OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import "./IOperatorFilterRegistry.sol";

/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */
abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

File 7 of 10: Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

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

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

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

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

File 9 of 10: ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

File 10 of 10: Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @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] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","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":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"maxFreeMintEach","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupplys","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"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":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmount","type":"uint256"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupplys","type":"uint256"}],"name":"setMaxSupplys","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxFreeMintEach","type":"uint256"}],"name":"setmaxFreeMintEach","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":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"txnMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6607d0e36a818000600a9081556108ae600b55600c8190556001600d55600e5560a06040819052600060808190526200003b91600f91620002d1565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200006a91601091620002d1565b506012805461ffff19166101011790553480156200008757600080fd5b50604080518082018252601381527f50504d435f4f7264696e616c45646974696f6e0000000000000000000000000060208083019182528351808501909452600784526650504d435f4f4560c81b908401528151733cc6cdda760b79bafa08df41ecfa224f810dceb6936001939290916200010591600291620002d1565b5080516200011b906003906020840190620002d1565b505060008055506200012d336200027f565b6daaeb6d7670e522a718067333cd4e3b1562000272578015620001c057604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015620001a157600080fd5b505af1158015620001b6573d6000803e3d6000fd5b5050505062000272565b6001600160a01b03821615620002115760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000186565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200025857600080fd5b505af11580156200026d573d6000803e3d6000fd5b505050505b50506001600955620003b3565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620002df9062000377565b90600052602060002090601f0160209004810192826200030357600085556200034e565b82601f106200031e57805160ff19168380011785556200034e565b828001600101855582156200034e579182015b828111156200034e57825182559160200191906001019062000331565b506200035c92915062000360565b5090565b5b808211156200035c576000815560010162000361565b600181811c908216806200038c57607f821691505b602082108103620003ad57634e487b7160e01b600052602260045260246000fd5b50919050565b6121de80620003c36000396000f3fe6080604052600436106102465760003560e01c806362b99ad411610139578063a22cb465116100b6578063e0a808531161007a578063e0a8085314610665578063e985e9c514610685578063ebe2e3aa146106ce578063efbd73f4146106ee578063f2fde38b1461070e578063f9308cc51461072e57600080fd5b8063a22cb465146105d0578063a45ba8e7146105f0578063b88d4fde14610605578063c87b56dd14610625578063dc33e6811461064557600080fd5b80638a68d451116100fd5780638a68d4511461055e5780638da5cb5b1461057457806395d89b41146105925780639a85f86d146105a7578063a0712d68146105bd57600080fd5b806362b99ad4146104d45780636352211e146104e957806370a0823114610509578063715018a6146105295780637ec4a6591461053e57600080fd5b8063239c70ae116101c757806344a0d68a1161018b57806344a0d68a146104465780634fdd43cb1461046657806351830227146104865780635503a0e8146104a05780635c975abb146104b557600080fd5b8063239c70ae146103b957806323b872dd146103cf5780633ccfd60b146103ef57806341f434341461040457806342842e0e1461042657600080fd5b806313faede61161020e57806313faede61461031c57806316ba10e01461034057806316c38b3c1461036057806318160ddd14610380578063224143231461039957600080fd5b806301ffc9a71461024b57806306fdde0314610280578063081812fc146102a2578063088a4ed0146102da578063095ea7b3146102fc575b600080fd5b34801561025757600080fd5b5061026b610266366004611be7565b610744565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b50610295610796565b6040516102779190611c5c565b3480156102ae57600080fd5b506102c26102bd366004611c6f565b610828565b6040516001600160a01b039091168152602001610277565b3480156102e657600080fd5b506102fa6102f5366004611c6f565b61086c565b005b34801561030857600080fd5b506102fa610317366004611ca4565b6108a4565b34801561032857600080fd5b50610332600a5481565b604051908152602001610277565b34801561034c57600080fd5b506102fa61035b366004611d5a565b6108bd565b34801561036c57600080fd5b506102fa61037b366004611db1565b6108fe565b34801561038c57600080fd5b5060015460005403610332565b3480156103a557600080fd5b506102fa6103b4366004611c6f565b610942565b3480156103c557600080fd5b50610332600e5481565b3480156103db57600080fd5b506102fa6103ea366004611dce565b610971565b3480156103fb57600080fd5b506102fa61099c565b34801561041057600080fd5b506102c26daaeb6d7670e522a718067333cd4e81565b34801561043257600080fd5b506102fa610441366004611dce565b610a96565b34801561045257600080fd5b506102fa610461366004611c6f565b610abb565b34801561047257600080fd5b506102fa610481366004611d5a565b610aea565b34801561049257600080fd5b5060125461026b9060ff1681565b3480156104ac57600080fd5b50610295610b27565b3480156104c157600080fd5b5060125461026b90610100900460ff1681565b3480156104e057600080fd5b50610295610bb5565b3480156104f557600080fd5b506102c2610504366004611c6f565b610bc2565b34801561051557600080fd5b50610332610524366004611e0a565b610bcd565b34801561053557600080fd5b506102fa610c1c565b34801561054a57600080fd5b506102fa610559366004611d5a565b610c52565b34801561056a57600080fd5b50610332600d5481565b34801561058057600080fd5b506008546001600160a01b03166102c2565b34801561059e57600080fd5b50610295610c8f565b3480156105b357600080fd5b50610332600b5481565b6102fa6105cb366004611c6f565b610c9e565b3480156105dc57600080fd5b506102fa6105eb366004611e25565b610f15565b3480156105fc57600080fd5b50610295610f29565b34801561061157600080fd5b506102fa610620366004611e5c565b610f36565b34801561063157600080fd5b50610295610640366004611c6f565b610f63565b34801561065157600080fd5b50610332610660366004611e0a565b6110d2565b34801561067157600080fd5b506102fa610680366004611db1565b6110fd565b34801561069157600080fd5b5061026b6106a0366004611ed8565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106da57600080fd5b506102fa6106e9366004611c6f565b61113a565b3480156106fa57600080fd5b506102fa610709366004611f0b565b611169565b34801561071a57600080fd5b506102fa610729366004611e0a565b6111fd565b34801561073a57600080fd5b50610332600c5481565b60006301ffc9a760e01b6001600160e01b03198316148061077557506380ac58cd60e01b6001600160e01b03198316145b806107905750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546107a590611f2e565b80601f01602080910402602001604051908101604052809291908181526020018280546107d190611f2e565b801561081e5780601f106107f35761010080835404028352916020019161081e565b820191906000526020600020905b81548152906001019060200180831161080157829003601f168201915b5050505050905090565b600061083382611298565b610850576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6008546001600160a01b0316331461089f5760405162461bcd60e51b815260040161089690611f68565b60405180910390fd5b600e55565b816108ae816112bf565b6108b88383611378565b505050565b6008546001600160a01b031633146108e75760405162461bcd60e51b815260040161089690611f68565b80516108fa906010906020840190611b38565b5050565b6008546001600160a01b031633146109285760405162461bcd60e51b815260040161089690611f68565b601280549115156101000261ff0019909216919091179055565b6008546001600160a01b0316331461096c5760405162461bcd60e51b815260040161089690611f68565b600b55565b826001600160a01b038116331461098b5761098b336112bf565b61099684848461144a565b50505050565b6008546001600160a01b031633146109c65760405162461bcd60e51b815260040161089690611f68565b600260095403610a185760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610896565b60026009556000610a316008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610a7b576040519150601f19603f3d011682016040523d82523d6000602084013e610a80565b606091505b5050905080610a8e57600080fd5b506001600955565b826001600160a01b0381163314610ab057610ab0336112bf565b610996848484611455565b6008546001600160a01b03163314610ae55760405162461bcd60e51b815260040161089690611f68565b600a55565b6008546001600160a01b03163314610b145760405162461bcd60e51b815260040161089690611f68565b80516108fa906011906020840190611b38565b60108054610b3490611f2e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6090611f2e565b8015610bad5780601f10610b8257610100808354040283529160200191610bad565b820191906000526020600020905b815481529060010190602001808311610b9057829003601f168201915b505050505081565b600f8054610b3490611f2e565b600061079082611470565b60006001600160a01b038216610bf6576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610c465760405162461bcd60e51b815260040161089690611f68565b610c5060006114d7565b565b6008546001600160a01b03163314610c7c5760405162461bcd60e51b815260040161089690611f68565b80516108fa90600f906020840190611b38565b6060600380546107a590611f2e565b6012548190610100900460ff1615610cf05760405162461bcd60e51b815260206004820152601560248201527439b0b632903430b9903737ba1039ba30b93a32b21760591b6044820152606401610896565b323314610d365760405162461bcd60e51b81526020600482015260146024820152733737903137ba399030b9329030b63637bbb2b21760611b6044820152606401610896565b600081118015610d485750600c548111155b610d945760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d206f6620313020207065722074786e210000000000000000006044820152606401610896565b600b5481610da56001546000540390565b610daf9190611fb3565b1115610df15760405162461bcd60e51b81526020600482015260116024820152704e6f20537570706c7973206c656674732160781b6044820152606401610896565b600081118015610e165750600e5481610e09336110d2565b610e139190611fb3565b11155b610e625760405162461bcd60e51b815260206004820181905260248201527f596f75206d61792068617665206d696e746564206d6178206e756d62657220216044820152606401610896565b816000600d54610e71336110d2565b1015610ea3576000610e82336110d2565b600d54610e8f9190611fcb565b905080600a54610e9f9190611fe2565b9150505b8082600a54610eb29190611fe2565b610ebc9190611fcb565b341015610f0b5760405162461bcd60e51b815260206004820152601d60248201527f496e73756666696369656e742f696e636f72726563742066756e64732e0000006044820152606401610896565b6109963385611529565b81610f1f816112bf565b6108b88383611543565b60118054610b3490611f2e565b836001600160a01b0381163314610f5057610f50336112bf565b610f5c858585856115d8565b5050505050565b6060610f6e82611298565b610fd25760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610896565b60125460ff1615156000036110735760118054610fee90611f2e565b80601f016020809104026020016040519081016040528092919081815260200182805461101a90611f2e565b80156110675780601f1061103c57610100808354040283529160200191611067565b820191906000526020600020905b81548152906001019060200180831161104a57829003601f168201915b50505050509050919050565b600061107d61161c565b9050600081511161109d57604051806020016040528060008152506110cb565b806110a78461162b565b60106040516020016110bb93929190612001565b6040516020818303038152906040525b9392505050565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c16610790565b6008546001600160a01b031633146111275760405162461bcd60e51b815260040161089690611f68565b6012805460ff1916911515919091179055565b6008546001600160a01b031633146111645760405162461bcd60e51b815260040161089690611f68565b600d55565b6008546001600160a01b031633146111935760405162461bcd60e51b815260040161089690611f68565b600b54826111a46001546000540390565b6111ae9190611fb3565b11156111f35760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610896565b6108fa8183611529565b6008546001600160a01b031633146112275760405162461bcd60e51b815260040161089690611f68565b6001600160a01b03811661128c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610896565b611295816114d7565b50565b6000805482108015610790575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b1561129557604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561132c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061135091906120c4565b61129557604051633b79c77360e21b81526001600160a01b0382166004820152602401610896565b600061138382611470565b9050806001600160a01b0316836001600160a01b0316036113b75760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146113ee576113d181336106a0565b6113ee576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6108b8838383611734565b6108b883838360405180602001604052806000815250610f36565b6000816000548110156114be5760008181526004602052604081205490600160e01b821690036114bc575b806000036110cb57506000190160008181526004602052604090205461149b565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6108fa8282604051806020016040528060008152506118d9565b336001600160a01b0383160361156c5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6115e3848484611734565b6001600160a01b0383163b15610996576115ff84848484611a4d565b610996576040516368d2bf6b60e11b815260040160405180910390fd5b6060600f80546107a590611f2e565b6060816000036116525750506040805180820190915260018152600360fc1b602082015290565b8160005b811561167c5780611666816120e1565b91506116759050600a83612110565b9150611656565b60008167ffffffffffffffff81111561169757611697611cce565b6040519080825280601f01601f1916602001820160405280156116c1576020820181803683370190505b5090505b841561172c576116d6600183611fcb565b91506116e3600a86612124565b6116ee906030611fb3565b60f81b81838151811061170357611703612138565b60200101906001600160f81b031916908160001a905350611725600a86612110565b94506116c5565b949350505050565b600061173f82611470565b9050836001600160a01b0316816001600160a01b0316146117725760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480611790575061179085336106a0565b806117ab5750336117a084610828565b6001600160a01b0316145b9050806117cb57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166117f257604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091528120600160e11b4260a01b8717811790915583169003611893576001830160008181526004602052604081205490036118915760005481146118915760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610f5c565b6000546001600160a01b03841661190257604051622e076360e81b815260040160405180910390fd5b826000036119235760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b156119f8575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46119c16000878480600101955087611a4d565b6119de576040516368d2bf6b60e11b815260040160405180910390fd5b8082106119765782600054146119f357600080fd5b611a3d565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106119f9575b5060009081556109969085838684565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611a8290339089908890889060040161214e565b6020604051808303816000875af1925050508015611abd575060408051601f3d908101601f19168201909252611aba9181019061218b565b60015b611b1b573d808015611aeb576040519150601f19603f3d011682016040523d82523d6000602084013e611af0565b606091505b508051600003611b13576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b828054611b4490611f2e565b90600052602060002090601f016020900481019282611b665760008555611bac565b82601f10611b7f57805160ff1916838001178555611bac565b82800160010185558215611bac579182015b82811115611bac578251825591602001919060010190611b91565b50611bb8929150611bbc565b5090565b5b80821115611bb85760008155600101611bbd565b6001600160e01b03198116811461129557600080fd5b600060208284031215611bf957600080fd5b81356110cb81611bd1565b60005b83811015611c1f578181015183820152602001611c07565b838111156109965750506000910152565b60008151808452611c48816020860160208601611c04565b601f01601f19169290920160200192915050565b6020815260006110cb6020830184611c30565b600060208284031215611c8157600080fd5b5035919050565b80356001600160a01b0381168114611c9f57600080fd5b919050565b60008060408385031215611cb757600080fd5b611cc083611c88565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611cff57611cff611cce565b604051601f8501601f19908116603f01168101908282118183101715611d2757611d27611cce565b81604052809350858152868686011115611d4057600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611d6c57600080fd5b813567ffffffffffffffff811115611d8357600080fd5b8201601f81018413611d9457600080fd5b61172c84823560208401611ce4565b801515811461129557600080fd5b600060208284031215611dc357600080fd5b81356110cb81611da3565b600080600060608486031215611de357600080fd5b611dec84611c88565b9250611dfa60208501611c88565b9150604084013590509250925092565b600060208284031215611e1c57600080fd5b6110cb82611c88565b60008060408385031215611e3857600080fd5b611e4183611c88565b91506020830135611e5181611da3565b809150509250929050565b60008060008060808587031215611e7257600080fd5b611e7b85611c88565b9350611e8960208601611c88565b925060408501359150606085013567ffffffffffffffff811115611eac57600080fd5b8501601f81018713611ebd57600080fd5b611ecc87823560208401611ce4565b91505092959194509250565b60008060408385031215611eeb57600080fd5b611ef483611c88565b9150611f0260208401611c88565b90509250929050565b60008060408385031215611f1e57600080fd5b82359150611f0260208401611c88565b600181811c90821680611f4257607f821691505b602082108103611f6257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611fc657611fc6611f9d565b500190565b600082821015611fdd57611fdd611f9d565b500390565b6000816000190483118215151615611ffc57611ffc611f9d565b500290565b6000845160206120148285838a01611c04565b8551918401916120278184848a01611c04565b8554920191600090600181811c908083168061204457607f831692505b858310810361206157634e487b7160e01b85526022600452602485fd5b8080156120755760018114612086576120b3565b60ff198516885283880195506120b3565b60008b81526020902060005b858110156120ab5781548a820152908401908801612092565b505083880195505b50939b9a5050505050505050505050565b6000602082840312156120d657600080fd5b81516110cb81611da3565b6000600182016120f3576120f3611f9d565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261211f5761211f6120fa565b500490565b600082612133576121336120fa565b500690565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061218190830184611c30565b9695505050505050565b60006020828403121561219d57600080fd5b81516110cb81611bd156fea264697066735822122084bcdf822535bf17f6dfa4c95dedba80590800b281a9557ab46d353572a4398464736f6c634300080d0033

Deployed Bytecode

0x6080604052600436106102465760003560e01c806362b99ad411610139578063a22cb465116100b6578063e0a808531161007a578063e0a8085314610665578063e985e9c514610685578063ebe2e3aa146106ce578063efbd73f4146106ee578063f2fde38b1461070e578063f9308cc51461072e57600080fd5b8063a22cb465146105d0578063a45ba8e7146105f0578063b88d4fde14610605578063c87b56dd14610625578063dc33e6811461064557600080fd5b80638a68d451116100fd5780638a68d4511461055e5780638da5cb5b1461057457806395d89b41146105925780639a85f86d146105a7578063a0712d68146105bd57600080fd5b806362b99ad4146104d45780636352211e146104e957806370a0823114610509578063715018a6146105295780637ec4a6591461053e57600080fd5b8063239c70ae116101c757806344a0d68a1161018b57806344a0d68a146104465780634fdd43cb1461046657806351830227146104865780635503a0e8146104a05780635c975abb146104b557600080fd5b8063239c70ae146103b957806323b872dd146103cf5780633ccfd60b146103ef57806341f434341461040457806342842e0e1461042657600080fd5b806313faede61161020e57806313faede61461031c57806316ba10e01461034057806316c38b3c1461036057806318160ddd14610380578063224143231461039957600080fd5b806301ffc9a71461024b57806306fdde0314610280578063081812fc146102a2578063088a4ed0146102da578063095ea7b3146102fc575b600080fd5b34801561025757600080fd5b5061026b610266366004611be7565b610744565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b50610295610796565b6040516102779190611c5c565b3480156102ae57600080fd5b506102c26102bd366004611c6f565b610828565b6040516001600160a01b039091168152602001610277565b3480156102e657600080fd5b506102fa6102f5366004611c6f565b61086c565b005b34801561030857600080fd5b506102fa610317366004611ca4565b6108a4565b34801561032857600080fd5b50610332600a5481565b604051908152602001610277565b34801561034c57600080fd5b506102fa61035b366004611d5a565b6108bd565b34801561036c57600080fd5b506102fa61037b366004611db1565b6108fe565b34801561038c57600080fd5b5060015460005403610332565b3480156103a557600080fd5b506102fa6103b4366004611c6f565b610942565b3480156103c557600080fd5b50610332600e5481565b3480156103db57600080fd5b506102fa6103ea366004611dce565b610971565b3480156103fb57600080fd5b506102fa61099c565b34801561041057600080fd5b506102c26daaeb6d7670e522a718067333cd4e81565b34801561043257600080fd5b506102fa610441366004611dce565b610a96565b34801561045257600080fd5b506102fa610461366004611c6f565b610abb565b34801561047257600080fd5b506102fa610481366004611d5a565b610aea565b34801561049257600080fd5b5060125461026b9060ff1681565b3480156104ac57600080fd5b50610295610b27565b3480156104c157600080fd5b5060125461026b90610100900460ff1681565b3480156104e057600080fd5b50610295610bb5565b3480156104f557600080fd5b506102c2610504366004611c6f565b610bc2565b34801561051557600080fd5b50610332610524366004611e0a565b610bcd565b34801561053557600080fd5b506102fa610c1c565b34801561054a57600080fd5b506102fa610559366004611d5a565b610c52565b34801561056a57600080fd5b50610332600d5481565b34801561058057600080fd5b506008546001600160a01b03166102c2565b34801561059e57600080fd5b50610295610c8f565b3480156105b357600080fd5b50610332600b5481565b6102fa6105cb366004611c6f565b610c9e565b3480156105dc57600080fd5b506102fa6105eb366004611e25565b610f15565b3480156105fc57600080fd5b50610295610f29565b34801561061157600080fd5b506102fa610620366004611e5c565b610f36565b34801561063157600080fd5b50610295610640366004611c6f565b610f63565b34801561065157600080fd5b50610332610660366004611e0a565b6110d2565b34801561067157600080fd5b506102fa610680366004611db1565b6110fd565b34801561069157600080fd5b5061026b6106a0366004611ed8565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106da57600080fd5b506102fa6106e9366004611c6f565b61113a565b3480156106fa57600080fd5b506102fa610709366004611f0b565b611169565b34801561071a57600080fd5b506102fa610729366004611e0a565b6111fd565b34801561073a57600080fd5b50610332600c5481565b60006301ffc9a760e01b6001600160e01b03198316148061077557506380ac58cd60e01b6001600160e01b03198316145b806107905750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546107a590611f2e565b80601f01602080910402602001604051908101604052809291908181526020018280546107d190611f2e565b801561081e5780601f106107f35761010080835404028352916020019161081e565b820191906000526020600020905b81548152906001019060200180831161080157829003601f168201915b5050505050905090565b600061083382611298565b610850576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6008546001600160a01b0316331461089f5760405162461bcd60e51b815260040161089690611f68565b60405180910390fd5b600e55565b816108ae816112bf565b6108b88383611378565b505050565b6008546001600160a01b031633146108e75760405162461bcd60e51b815260040161089690611f68565b80516108fa906010906020840190611b38565b5050565b6008546001600160a01b031633146109285760405162461bcd60e51b815260040161089690611f68565b601280549115156101000261ff0019909216919091179055565b6008546001600160a01b0316331461096c5760405162461bcd60e51b815260040161089690611f68565b600b55565b826001600160a01b038116331461098b5761098b336112bf565b61099684848461144a565b50505050565b6008546001600160a01b031633146109c65760405162461bcd60e51b815260040161089690611f68565b600260095403610a185760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610896565b60026009556000610a316008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610a7b576040519150601f19603f3d011682016040523d82523d6000602084013e610a80565b606091505b5050905080610a8e57600080fd5b506001600955565b826001600160a01b0381163314610ab057610ab0336112bf565b610996848484611455565b6008546001600160a01b03163314610ae55760405162461bcd60e51b815260040161089690611f68565b600a55565b6008546001600160a01b03163314610b145760405162461bcd60e51b815260040161089690611f68565b80516108fa906011906020840190611b38565b60108054610b3490611f2e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6090611f2e565b8015610bad5780601f10610b8257610100808354040283529160200191610bad565b820191906000526020600020905b815481529060010190602001808311610b9057829003601f168201915b505050505081565b600f8054610b3490611f2e565b600061079082611470565b60006001600160a01b038216610bf6576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610c465760405162461bcd60e51b815260040161089690611f68565b610c5060006114d7565b565b6008546001600160a01b03163314610c7c5760405162461bcd60e51b815260040161089690611f68565b80516108fa90600f906020840190611b38565b6060600380546107a590611f2e565b6012548190610100900460ff1615610cf05760405162461bcd60e51b815260206004820152601560248201527439b0b632903430b9903737ba1039ba30b93a32b21760591b6044820152606401610896565b323314610d365760405162461bcd60e51b81526020600482015260146024820152733737903137ba399030b9329030b63637bbb2b21760611b6044820152606401610896565b600081118015610d485750600c548111155b610d945760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d206f6620313020207065722074786e210000000000000000006044820152606401610896565b600b5481610da56001546000540390565b610daf9190611fb3565b1115610df15760405162461bcd60e51b81526020600482015260116024820152704e6f20537570706c7973206c656674732160781b6044820152606401610896565b600081118015610e165750600e5481610e09336110d2565b610e139190611fb3565b11155b610e625760405162461bcd60e51b815260206004820181905260248201527f596f75206d61792068617665206d696e746564206d6178206e756d62657220216044820152606401610896565b816000600d54610e71336110d2565b1015610ea3576000610e82336110d2565b600d54610e8f9190611fcb565b905080600a54610e9f9190611fe2565b9150505b8082600a54610eb29190611fe2565b610ebc9190611fcb565b341015610f0b5760405162461bcd60e51b815260206004820152601d60248201527f496e73756666696369656e742f696e636f72726563742066756e64732e0000006044820152606401610896565b6109963385611529565b81610f1f816112bf565b6108b88383611543565b60118054610b3490611f2e565b836001600160a01b0381163314610f5057610f50336112bf565b610f5c858585856115d8565b5050505050565b6060610f6e82611298565b610fd25760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610896565b60125460ff1615156000036110735760118054610fee90611f2e565b80601f016020809104026020016040519081016040528092919081815260200182805461101a90611f2e565b80156110675780601f1061103c57610100808354040283529160200191611067565b820191906000526020600020905b81548152906001019060200180831161104a57829003601f168201915b50505050509050919050565b600061107d61161c565b9050600081511161109d57604051806020016040528060008152506110cb565b806110a78461162b565b60106040516020016110bb93929190612001565b6040516020818303038152906040525b9392505050565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c16610790565b6008546001600160a01b031633146111275760405162461bcd60e51b815260040161089690611f68565b6012805460ff1916911515919091179055565b6008546001600160a01b031633146111645760405162461bcd60e51b815260040161089690611f68565b600d55565b6008546001600160a01b031633146111935760405162461bcd60e51b815260040161089690611f68565b600b54826111a46001546000540390565b6111ae9190611fb3565b11156111f35760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610896565b6108fa8183611529565b6008546001600160a01b031633146112275760405162461bcd60e51b815260040161089690611f68565b6001600160a01b03811661128c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610896565b611295816114d7565b50565b6000805482108015610790575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b1561129557604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561132c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061135091906120c4565b61129557604051633b79c77360e21b81526001600160a01b0382166004820152602401610896565b600061138382611470565b9050806001600160a01b0316836001600160a01b0316036113b75760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146113ee576113d181336106a0565b6113ee576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6108b8838383611734565b6108b883838360405180602001604052806000815250610f36565b6000816000548110156114be5760008181526004602052604081205490600160e01b821690036114bc575b806000036110cb57506000190160008181526004602052604090205461149b565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6108fa8282604051806020016040528060008152506118d9565b336001600160a01b0383160361156c5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6115e3848484611734565b6001600160a01b0383163b15610996576115ff84848484611a4d565b610996576040516368d2bf6b60e11b815260040160405180910390fd5b6060600f80546107a590611f2e565b6060816000036116525750506040805180820190915260018152600360fc1b602082015290565b8160005b811561167c5780611666816120e1565b91506116759050600a83612110565b9150611656565b60008167ffffffffffffffff81111561169757611697611cce565b6040519080825280601f01601f1916602001820160405280156116c1576020820181803683370190505b5090505b841561172c576116d6600183611fcb565b91506116e3600a86612124565b6116ee906030611fb3565b60f81b81838151811061170357611703612138565b60200101906001600160f81b031916908160001a905350611725600a86612110565b94506116c5565b949350505050565b600061173f82611470565b9050836001600160a01b0316816001600160a01b0316146117725760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480611790575061179085336106a0565b806117ab5750336117a084610828565b6001600160a01b0316145b9050806117cb57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166117f257604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091528120600160e11b4260a01b8717811790915583169003611893576001830160008181526004602052604081205490036118915760005481146118915760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610f5c565b6000546001600160a01b03841661190257604051622e076360e81b815260040160405180910390fd5b826000036119235760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b156119f8575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46119c16000878480600101955087611a4d565b6119de576040516368d2bf6b60e11b815260040160405180910390fd5b8082106119765782600054146119f357600080fd5b611a3d565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106119f9575b5060009081556109969085838684565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611a8290339089908890889060040161214e565b6020604051808303816000875af1925050508015611abd575060408051601f3d908101601f19168201909252611aba9181019061218b565b60015b611b1b573d808015611aeb576040519150601f19603f3d011682016040523d82523d6000602084013e611af0565b606091505b508051600003611b13576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b828054611b4490611f2e565b90600052602060002090601f016020900481019282611b665760008555611bac565b82601f10611b7f57805160ff1916838001178555611bac565b82800160010185558215611bac579182015b82811115611bac578251825591602001919060010190611b91565b50611bb8929150611bbc565b5090565b5b80821115611bb85760008155600101611bbd565b6001600160e01b03198116811461129557600080fd5b600060208284031215611bf957600080fd5b81356110cb81611bd1565b60005b83811015611c1f578181015183820152602001611c07565b838111156109965750506000910152565b60008151808452611c48816020860160208601611c04565b601f01601f19169290920160200192915050565b6020815260006110cb6020830184611c30565b600060208284031215611c8157600080fd5b5035919050565b80356001600160a01b0381168114611c9f57600080fd5b919050565b60008060408385031215611cb757600080fd5b611cc083611c88565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611cff57611cff611cce565b604051601f8501601f19908116603f01168101908282118183101715611d2757611d27611cce565b81604052809350858152868686011115611d4057600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611d6c57600080fd5b813567ffffffffffffffff811115611d8357600080fd5b8201601f81018413611d9457600080fd5b61172c84823560208401611ce4565b801515811461129557600080fd5b600060208284031215611dc357600080fd5b81356110cb81611da3565b600080600060608486031215611de357600080fd5b611dec84611c88565b9250611dfa60208501611c88565b9150604084013590509250925092565b600060208284031215611e1c57600080fd5b6110cb82611c88565b60008060408385031215611e3857600080fd5b611e4183611c88565b91506020830135611e5181611da3565b809150509250929050565b60008060008060808587031215611e7257600080fd5b611e7b85611c88565b9350611e8960208601611c88565b925060408501359150606085013567ffffffffffffffff811115611eac57600080fd5b8501601f81018713611ebd57600080fd5b611ecc87823560208401611ce4565b91505092959194509250565b60008060408385031215611eeb57600080fd5b611ef483611c88565b9150611f0260208401611c88565b90509250929050565b60008060408385031215611f1e57600080fd5b82359150611f0260208401611c88565b600181811c90821680611f4257607f821691505b602082108103611f6257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611fc657611fc6611f9d565b500190565b600082821015611fdd57611fdd611f9d565b500390565b6000816000190483118215151615611ffc57611ffc611f9d565b500290565b6000845160206120148285838a01611c04565b8551918401916120278184848a01611c04565b8554920191600090600181811c908083168061204457607f831692505b858310810361206157634e487b7160e01b85526022600452602485fd5b8080156120755760018114612086576120b3565b60ff198516885283880195506120b3565b60008b81526020902060005b858110156120ab5781548a820152908401908801612092565b505083880195505b50939b9a5050505050505050505050565b6000602082840312156120d657600080fd5b81516110cb81611da3565b6000600182016120f3576120f3611f9d565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261211f5761211f6120fa565b500490565b600082612133576121336120fa565b500690565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061218190830184611c30565b9695505050505050565b60006020828403121561219d57600080fd5b81516110cb81611bd156fea264697066735822122084bcdf822535bf17f6dfa4c95dedba80590800b281a9557ab46d353572a4398464736f6c634300080d0033

Deployed Bytecode Sourcemap

221:4596:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5031:615:2;;;;;;;;;;-1:-1:-1;5031:615:2;;;;;:::i;:::-;;:::i;:::-;;;565:14:10;;558:22;540:41;;528:2;513:18;5031:615:2;;;;;;;;10044:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;12120:204::-;;;;;;;;;;-1:-1:-1;12120:204:2;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:10;;;1674:51;;1662:2;1647:18;12120:204:2;1528:203:10;3414:110:7;;;;;;;;;;-1:-1:-1;3414:110:7;;;;;:::i;:::-;;:::i;:::-;;4107:151;;;;;;;;;;-1:-1:-1;4107:151:7;;;;;:::i;:::-;;:::i;351:34::-;;;;;;;;;;;;;;;;;;;2319:25:10;;;2307:2;2292:18;351:34:7;2173:177:10;3121:100:7;;;;;;;;;;-1:-1:-1;3121:100:7;;;;;:::i;:::-;;:::i;3227:77::-;;;;;;;;;;-1:-1:-1;3227:77:7;;;;;:::i;:::-;;:::i;4085:315:2:-;;;;;;;;;;-1:-1:-1;4351:12:2;;4138:7;4335:13;:28;4085:315;;3310:98:7;;;;;;;;;;-1:-1:-1;3310:98:7;;;;;:::i;:::-;;:::i;497:33::-;;;;;;;;;;;;;;;;4264:157;;;;;;;;;;-1:-1:-1;4264:157:7;;;;;:::i;:::-;;:::i;3530:172::-;;;;;;;;;;;;;:::i;722:143:5:-;;;;;;;;;;;;822:42;722:143;;4427:165:7;;;;;;;;;;-1:-1:-1;4427:165:7;;;;;:::i;:::-;;:::i;2585:74::-;;;;;;;;;;-1:-1:-1;2585:74:7;;;;;:::i;:::-;;:::i;2877:132::-;;;;;;;;;;-1:-1:-1;2877:132:7;;;;;:::i;:::-;;:::i;646:27::-;;;;;;;;;;-1:-1:-1;646:27:7;;;;;;;;570:33;;;;;;;;;;;;;:::i;678:25::-;;;;;;;;;;-1:-1:-1;678:25:7;;;;;;;;;;;537:28;;;;;;;;;;;;;:::i;9833:144:2:-;;;;;;;;;;-1:-1:-1;9833:144:2;;;;;:::i;:::-;;:::i;5710:224::-;;;;;;;;;;-1:-1:-1;5710:224:2;;;;;:::i;:::-;;:::i;1714:103:6:-;;;;;;;;;;;;;:::i;3015:100:7:-;;;;;;;;;;-1:-1:-1;3015:100:7;;;;;:::i;:::-;;:::i;458:34::-;;;;;;;;;;;;;;;;1063:87:6;;;;;;;;;;-1:-1:-1;1136:6:6;;-1:-1:-1;;;;;1136:6:6;1063:87;;10213:104:2;;;;;;;;;;;;;:::i;390:32:7:-;;;;;;;;;;;;;;;;1647:164;;;;;;:::i;:::-;;:::i;3931:170::-;;;;;;;;;;-1:-1:-1;3931:170:7;;;;;:::i;:::-;;:::i;608:31::-;;;;;;;;;;;;;:::i;4598:214::-;;;;;;;;;;-1:-1:-1;4598:214:7;;;;;:::i;:::-;;:::i;2134:445::-;;;;;;;;;;-1:-1:-1;2134:445:7;;;;;:::i;:::-;;:::i;3708:107::-;;;;;;;;;;-1:-1:-1;3708:107:7;;;;;:::i;:::-;;:::i;2789:81::-;;;;;;;;;;-1:-1:-1;2789:81:7;;;;;:::i;:::-;;:::i;12775:164:2:-;;;;;;;;;;-1:-1:-1;12775:164:2;;;;;:::i;:::-;-1:-1:-1;;;;;12896:25:2;;;12872:4;12896:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;12775:164;2665:118:7;;;;;;;;;;-1:-1:-1;2665:118:7;;;;;:::i;:::-;;:::i;1819:208::-;;;;;;;;;;-1:-1:-1;1819:208:7;;;;;:::i;:::-;;:::i;1972:201:6:-;;;;;;;;;;-1:-1:-1;1972:201:6;;;;;:::i;:::-;;:::i;427:26:7:-;;;;;;;;;;;;;;;;5031:615:2;5116:4;-1:-1:-1;;;;;;;;;5416:25:2;;;;:102;;-1:-1:-1;;;;;;;;;;5493:25:2;;;5416:102;:179;;;-1:-1:-1;;;;;;;;;;5570:25:2;;;5416:179;5396:199;5031:615;-1:-1:-1;;5031:615:2:o;10044:100::-;10098:13;10131:5;10124:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10044:100;:::o;12120:204::-;12188:7;12213:16;12221:7;12213;:16::i;:::-;12208:64;;12238:34;;-1:-1:-1;;;12238:34:2;;;;;;;;;;;12208:64;-1:-1:-1;12292:24:2;;;;:15;:24;;;;;;-1:-1:-1;;;;;12292:24:2;;12120:204::o;3414:110:7:-;1136:6:6;;-1:-1:-1;;;;;1136:6:6;736:10:0;1283:23:6;1275:68;;;;-1:-1:-1;;;1275:68:6;;;;;;;:::i;:::-;;;;;;;;;3488:13:7::1;:30:::0;3414:110::o;4107:151::-;4203:8;2243:30:5;2264:8;2243:20;:30::i;:::-;4220:32:7::1;4234:8;4244:7;4220:13;:32::i;:::-;4107:151:::0;;;:::o;3121:100::-;1136:6:6;;-1:-1:-1;;;;;1136:6:6;736:10:0;1283:23:6;1275:68;;;;-1:-1:-1;;;1275:68:6;;;;;;;:::i;:::-;3193:22:7;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;3121:100:::0;:::o;3227:77::-;1136:6:6;;-1:-1:-1;;;;;1136:6:6;736:10:0;1283:23:6;1275:68;;;;-1:-1:-1;;;1275:68:6;;;;;;;:::i;:::-;3283:6:7::1;:15:::0;;;::::1;;;;-1:-1:-1::0;;3283:15:7;;::::1;::::0;;;::::1;::::0;;3227:77::o;3310:98::-;1136:6:6;;-1:-1:-1;;;;;1136:6:6;736:10:0;1283:23:6;1275:68;;;;-1:-1:-1;;;1275:68:6;;;;;;;:::i;:::-;3378:10:7::1;:24:::0;3310:98::o;4264:157::-;4365:4;-1:-1:-1;;;;;2063:18:5;;2071:10;2063:18;2059:83;;2098:32;2119:10;2098:20;:32::i;:::-;4378:37:7::1;4397:4;4403:2;4407:7;4378:18;:37::i;:::-;4264:157:::0;;;;:::o;3530:172::-;1136:6:6;;-1:-1:-1;;;;;1136:6:6;736:10:0;1283:23:6;1275:68;;;;-1:-1:-1;;;1275:68:6;;;;;;;:::i;:::-;1778:1:8::1;2376:7;;:19:::0;2368:63:::1;;;::::0;-1:-1:-1;;;2368:63:8;;7177:2:10;2368:63:8::1;::::0;::::1;7159:21:10::0;7216:2;7196:18;;;7189:30;7255:33;7235:18;;;7228:61;7306:18;;2368:63:8::1;6975:355:10::0;2368:63:8::1;1778:1;2509:7;:18:::0;3588::7::2;3620:7;1136:6:6::0;;-1:-1:-1;;;;;1136:6:6;;1063:87;3620:7:7::2;-1:-1:-1::0;;;;;3612:21:7::2;3641;3612:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3587:80;;;3682:13;3674:22;;;::::0;::::2;;-1:-1:-1::0;1734:1:8::1;2688:7;:22:::0;3530:172:7:o;4427:165::-;4532:4;-1:-1:-1;;;;;2063:18:5;;2071:10;2063:18;2059:83;;2098:32;2119:10;2098:20;:32::i;:::-;4545:41:7::1;4568:4;4574:2;4578:7;4545:22;:41::i;2585:74::-:0;1136:6:6;;-1:-1:-1;;;;;1136:6:6;736:10:0;1283:23:6;1275:68;;;;-1:-1:-1;;;1275:68:6;;;;;;;:::i;:::-;2641:4:7::1;:12:::0;2585:74::o;2877:132::-;1136:6:6;;-1:-1:-1;;;;;1136:6:6;736:10:0;1283:23:6;1275:68;;;;-1:-1:-1;;;1275:68:6;;;;;;;:::i;:::-;2965:38:7;;::::1;::::0;:17:::1;::::0;:38:::1;::::0;::::1;::::0;::::1;:::i;570:33::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;537:28::-;;;;;;;:::i;9833:144:2:-;9897:7;9940:27;9959:7;9940:18;:27::i;5710:224::-;5774:7;-1:-1:-1;;;;;5798:19:2;;5794:60;;5826:28;;-1:-1:-1;;;5826:28:2;;;;;;;;;;;5794:60;-1:-1:-1;;;;;;5872:25:2;;;;;:18;:25;;;;;;1049:13;5872:54;;5710:224::o;1714:103:6:-;1136:6;;-1:-1:-1;;;;;1136:6:6;736:10:0;1283:23:6;1275:68;;;;-1:-1:-1;;;1275:68:6;;;;;;;:::i;:::-;1779:30:::1;1806:1;1779:18;:30::i;:::-;1714:103::o:0;3015:100:7:-;1136:6:6;;-1:-1:-1;;;;;1136:6:6;736:10:0;1283:23:6;1275:68;;;;-1:-1:-1;;;1275:68:6;;;;;;;:::i;:::-;3087:22:7;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;10213:104:2:-:0;10269:13;10302:7;10295:14;;;;;:::i;1647:164:7:-;845:6;;1714:11;;845:6;;;;;844:7;836:41;;;;-1:-1:-1;;;836:41:7;;7747:2:10;836:41:7;;;7729:21:10;7786:2;7766:18;;;7759:30;-1:-1:-1;;;7805:18:10;;;7798:51;7866:18;;836:41:7;7545:345:10;836:41:7;892:9;905:10;892:23;884:56;;;;-1:-1:-1;;;884:56:7;;8097:2:10;884:56:7;;;8079:21:10;8136:2;8116:18;;;8109:30;-1:-1:-1;;;8155:18:10;;;8148:50;8215:18;;884:56:7;7895:344:10;884:56:7;969:1;955:11;:15;:40;;;;;989:6;;974:11;:21;;955:40;947:76;;;;-1:-1:-1;;;947:76:7;;8446:2:10;947:76:7;;;8428:21:10;8485:2;8465:18;;;8458:30;8524:25;8504:18;;;8497:53;8567:18;;947:76:7;8244:347:10;947:76:7;1069:10;;1054:11;1038:13;4351:12:2;;4138:7;4335:13;:28;;4085:315;1038:13:7;:27;;;;:::i;:::-;:41;;1030:71;;;;-1:-1:-1;;;1030:71:7;;9063:2:10;1030:71:7;;;9045:21:10;9102:2;9082:18;;;9075:30;-1:-1:-1;;;9121:18:10;;;9114:47;9178:18;;1030:71:7;8861:341:10;1030:71:7;1138:1;1124:11;:15;:74;;;;;1185:13;;1170:11;1143:24;1156:10;1143:12;:24::i;:::-;:38;;;;:::i;:::-;:55;;1124:74;1108:141;;;;-1:-1:-1;;;1108:141:7;;9409:2:10;1108:141:7;;;9391:21:10;;;9428:18;;;9421:30;9487:34;9467:18;;;9460:62;9539:18;;1108:141:7;9207:356:10;1108:141:7;1749:11:::1;1328:16;1392:15;;1365:24;1378:10;1365:12;:24::i;:::-;:42;1361:171;;;1418:21;1460:24;1473:10;1460:12;:24::i;:::-;1442:15;;:42;;;;:::i;:::-;1418:66;;1511:13;1504:4;;:20;;;;:::i;:::-;1493:31;;1409:123;1361:171;1585:8;1571:11;1564:4;;:18;;;;:::i;:::-;:29;;;;:::i;:::-;1551:9;:42;;1543:84;;;::::0;-1:-1:-1;;;1543:84:7;;10073:2:10;1543:84:7::1;::::0;::::1;10055:21:10::0;10112:2;10092:18;;;10085:30;10151:31;10131:18;;;10124:59;10200:18;;1543:84:7::1;9871:353:10::0;1543:84:7::1;1769:36:::2;736:10:0::0;1793:11:7::2;1769:9;:36::i;3931:170::-:0;4035:8;2243:30:5;2264:8;2243:20;:30::i;:::-;4052:43:7::1;4076:8;4086;4052:23;:43::i;608:31::-:0;;;;;;;:::i;4598:214::-;4743:4;-1:-1:-1;;;;;2063:18:5;;2071:10;2063:18;2059:83;;2098:32;2119:10;2098:20;:32::i;:::-;4759:47:7::1;4782:4;4788:2;4792:7;4801:4;4759:22;:47::i;:::-;4598:214:::0;;;;;:::o;2134:445::-;2208:13;2238:17;2246:8;2238:7;:17::i;:::-;2230:77;;;;-1:-1:-1;;;2230:77:7;;10431:2:10;2230:77:7;;;10413:21:10;10470:2;10450:18;;;10443:30;10509:34;10489:18;;;10482:62;-1:-1:-1;;;10560:18:10;;;10553:45;10615:19;;2230:77:7;10229:411:10;2230:77:7;2320:8;;;;:17;;:8;:17;2316:64;;2355:17;2348:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2134:445;;;:::o;2316:64::-;2388:28;2419:10;:8;:10::i;:::-;2388:41;;2474:1;2449:14;2443:28;:32;:130;;;;;;;;;;;;;;;;;2511:14;2527:19;:8;:17;:19::i;:::-;2548:9;2494:64;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2443:130;2436:137;2134:445;-1:-1:-1;;;2134:445:7:o;3708:107::-;-1:-1:-1;;;;;6105:25:2;;3766:7:7;6105:25:2;;;:18;:25;;1186:2;6105:25;;;;1049:13;6105:49;;6104:80;3789:20:7;6016:176:2;2789:81:7;1136:6:6;;-1:-1:-1;;;;;1136:6:6;736:10:0;1283:23:6;1275:68;;;;-1:-1:-1;;;1275:68:6;;;;;;;:::i;:::-;2847:8:7::1;:17:::0;;-1:-1:-1;;2847:17:7::1;::::0;::::1;;::::0;;;::::1;::::0;;2789:81::o;2665:118::-;1136:6:6;;-1:-1:-1;;;;;1136:6:6;736:10:0;1283:23:6;1275:68;;;;-1:-1:-1;;;1275:68:6;;;;;;;:::i;:::-;2743:15:7::1;:34:::0;2665:118::o;1819:208::-;1136:6:6;;-1:-1:-1;;;;;1136:6:6;736:10:0;1283:23:6;1275:68;;;;-1:-1:-1;;;1275:68:6;;;;;;;:::i;:::-;1946:10:7::1;;1931:11;1915:13;4351:12:2::0;;4138:7;4335:13;:28;;4085:315;1915:13:7::1;:27;;;;:::i;:::-;:41;;1907:74;;;::::0;-1:-1:-1;;;1907:74:7;;12505:2:10;1907:74:7::1;::::0;::::1;12487:21:10::0;12544:2;12524:18;;;12517:30;-1:-1:-1;;;12563:18:10;;;12556:50;12623:18;;1907:74:7::1;12303:344:10::0;1907:74:7::1;1988:33;1998:9;2009:11;1988:9;:33::i;1972:201:6:-:0;1136:6;;-1:-1:-1;;;;;1136:6:6;736:10:0;1283:23:6;1275:68;;;;-1:-1:-1;;;1275:68:6;;;;;;;:::i;:::-;-1:-1:-1;;;;;2061:22:6;::::1;2053:73;;;::::0;-1:-1:-1;;;2053:73:6;;12854:2:10;2053:73:6::1;::::0;::::1;12836:21:10::0;12893:2;12873:18;;;12866:30;12932:34;12912:18;;;12905:62;-1:-1:-1;;;12983:18:10;;;12976:36;13029:19;;2053:73:6::1;12652:402:10::0;2053:73:6::1;2137:28;2156:8;2137:18;:28::i;:::-;1972:201:::0;:::o;14154:273:2:-;14211:4;14301:13;;14291:7;:23;14248:152;;;;-1:-1:-1;;14352:26:2;;;;:17;:26;;;;;;-1:-1:-1;;;14352:43:2;:48;;14154:273::o;2301:419:5:-;822:42;2492:45;:49;2488:225;;2563:67;;-1:-1:-1;;;2563:67:5;;2614:4;2563:67;;;13271:34:10;-1:-1:-1;;;;;13341:15:10;;13321:18;;;13314:43;822:42:5;;2563;;13206:18:10;;2563:67:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2558:144;;2658:28;;-1:-1:-1;;;2658:28:5;;-1:-1:-1;;;;;1692:32:10;;2658:28:5;;;1674:51:10;1647:18;;2658:28:5;1528:203:10;11572:482:2;11653:13;11685:27;11704:7;11685:18;:27::i;:::-;11653:61;;11735:5;-1:-1:-1;;;;;11729:11:2;:2;-1:-1:-1;;;;;11729:11:2;;11725:48;;11749:24;;-1:-1:-1;;;11749:24:2;;;;;;;;;;;11725:48;736:10:0;-1:-1:-1;;;;;11790:28:2;;;11786:175;;11838:44;11855:5;736:10:0;12775:164:2;:::i;11838:44::-;11833:128;;11910:35;;-1:-1:-1;;;11910:35:2;;;;;;;;;;;11833:128;11973:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;11973:29:2;-1:-1:-1;;;;;11973:29:2;;;;;;;;;12018:28;;11973:24;;12018:28;;;;;;;11642:412;11572:482;;:::o;13006:170::-;13140:28;13150:4;13156:2;13160:7;13140:9;:28::i;13247:185::-;13385:39;13402:4;13408:2;13412:7;13385:39;;;;;;;;;;;;:16;:39::i;7348:1129::-;7415:7;7450;7552:13;;7545:4;:20;7541:869;;;7590:14;7607:23;;;:17;:23;;;;;;;-1:-1:-1;;;7696:23:2;;:28;;7692:699;;8215:113;8222:6;8232:1;8222:11;8215:113;;-1:-1:-1;;;8293:6:2;8275:25;;;;:17;:25;;;;;;8215:113;;7692:699;7567:843;7541:869;8438:31;;-1:-1:-1;;;8438:31:2;;;;;;;;;;;2333:191:6;2426:6;;;-1:-1:-1;;;;;2443:17:6;;;-1:-1:-1;;;;;;2443:17:6;;;;;;;2476:40;;2426:6;;;2443:17;2426:6;;2476:40;;2407:16;;2476:40;2396:128;2333:191;:::o;14511:104:2:-;14580:27;14590:2;14594:8;14580:27;;;;;;;;;;;;:9;:27::i;12396:308::-;736:10:0;-1:-1:-1;;;;;12495:31:2;;;12491:61;;12535:17;;-1:-1:-1;;;12535:17:2;;;;;;;;;;;12491:61;736:10:0;12565:39:2;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;12565:49:2;;;;;;;;;;;;:60;;-1:-1:-1;;12565:60:2;;;;;;;;;;12641:55;;540:41:10;;;12565:49:2;;736:10:0;12641:55:2;;513:18:10;12641:55:2;;;;;;;12396:308;;:::o;13503:396::-;13670:28;13680:4;13686:2;13690:7;13670:9;:28::i;:::-;-1:-1:-1;;;;;13713:14:2;;;:19;13709:183;;13752:56;13783:4;13789:2;13793:7;13802:5;13752:30;:56::i;:::-;13747:145;;13836:40;;-1:-1:-1;;;13836:40:2;;;;;;;;;;;3821:104:7;3881:13;3910:9;3903:16;;;;;:::i;342:723:9:-;398:13;619:5;628:1;619:10;615:53;;-1:-1:-1;;646:10:9;;;;;;;;;;;;-1:-1:-1;;;646:10:9;;;;;342:723::o;615:53::-;693:5;678:12;734:78;741:9;;734:78;;767:8;;;;:::i;:::-;;-1:-1:-1;790:10:9;;-1:-1:-1;798:2:9;790:10;;:::i;:::-;;;734:78;;;822:19;854:6;844:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;844:17:9;;822:39;;872:154;879:10;;872:154;;906:11;916:1;906:11;;:::i;:::-;;-1:-1:-1;975:10:9;983:2;975:5;:10;:::i;:::-;962:24;;:2;:24;:::i;:::-;949:39;;932:6;939;932:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;932:56:9;;;;;;;;-1:-1:-1;1003:11:9;1012:2;1003:11;;:::i;:::-;;;872:154;;;1050:6;342:723;-1:-1:-1;;;;342:723:9:o;19393:2515:2:-;19508:27;19538;19557:7;19538:18;:27::i;:::-;19508:57;;19623:4;-1:-1:-1;;;;;19582:45:2;19598:19;-1:-1:-1;;;;;19582:45:2;;19578:86;;19636:28;;-1:-1:-1;;;19636:28:2;;;;;;;;;;;19578:86;19677:22;736:10:0;-1:-1:-1;;;;;19703:27:2;;;;:87;;-1:-1:-1;19747:43:2;19764:4;736:10:0;12775:164:2;:::i;19747:43::-;19703:147;;;-1:-1:-1;736:10:0;19807:20:2;19819:7;19807:11;:20::i;:::-;-1:-1:-1;;;;;19807:43:2;;19703:147;19677:174;;19869:17;19864:66;;19895:35;;-1:-1:-1;;;19895:35:2;;;;;;;;;;;19864:66;-1:-1:-1;;;;;19945:16:2;;19941:52;;19970:23;;-1:-1:-1;;;19970:23:2;;;;;;;;;;;19941:52;20122:24;;;;:15;:24;;;;;;;;20115:31;;-1:-1:-1;;;;;;20115:31:2;;;-1:-1:-1;;;;;20514:24:2;;;;;:18;:24;;;;;20512:26;;-1:-1:-1;;20512:26:2;;;20583:22;;;;;;;20581:24;;-1:-1:-1;20581:24:2;;;20876:26;;;:17;:26;;;;;-1:-1:-1;;;20964:15:2;1703:3;20964:41;20922:84;;:128;;20876:174;;;21170:46;;:51;;21166:626;;21274:1;21264:11;;21242:19;21397:30;;;:17;:30;;;;;;:35;;21393:384;;21535:13;;21520:11;:28;21516:242;;21682:30;;;;:17;:30;;;;;:52;;;21516:242;21223:569;21166:626;21839:7;21835:2;-1:-1:-1;;;;;21820:27:2;21829:4;-1:-1:-1;;;;;21820:27:2;;;;;;;;;;;21858:42;4264:157:7;14988:2236:2;15111:20;15134:13;-1:-1:-1;;;;;15162:16:2;;15158:48;;15187:19;;-1:-1:-1;;;15187:19:2;;;;;;;;;;;15158:48;15221:8;15233:1;15221:13;15217:44;;15243:18;;-1:-1:-1;;;15243:18:2;;;;;;;;;;;15217:44;-1:-1:-1;;;;;15810:22:2;;;;;;:18;:22;;;;1186:2;15810:22;;;:70;;15848:31;15836:44;;15810:70;;;16123:31;;;:17;:31;;;;;16216:15;1703:3;16216:41;16174:84;;-1:-1:-1;16294:13:2;;1966:3;16279:56;16174:162;16123:213;;:31;;16417:23;;;;16461:14;:19;16457:635;;16501:313;16532:38;;16557:12;;-1:-1:-1;;;;;16532:38:2;;;16549:1;;16532:38;;16549:1;;16532:38;16598:69;16637:1;16641:2;16645:14;;;;;;16661:5;16598:30;:69::i;:::-;16593:174;;16703:40;;-1:-1:-1;;;16703:40:2;;;;;;;;;;;16593:174;16809:3;16794:12;:18;16501:313;;16895:12;16878:13;;:29;16874:43;;16909:8;;;16874:43;16457:635;;;16958:119;16989:40;;17014:14;;;;;-1:-1:-1;;;;;16989:40:2;;;17006:1;;16989:40;;17006:1;;16989:40;17072:3;17057:12;:18;16958:119;;16457:635;-1:-1:-1;17106:13:2;:28;;;17156:60;;17189:2;17193:12;17207:8;17156:60;:::i;25605:716::-;25789:88;;-1:-1:-1;;;25789:88:2;;25768:4;;-1:-1:-1;;;;;25789:45:2;;;;;:88;;736:10:0;;25856:4:2;;25862:7;;25871:5;;25789:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25789:88:2;;;;;;;;-1:-1:-1;;25789:88:2;;;;;;;;;;;;:::i;:::-;;;25785:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26072:6;:13;26089:1;26072:18;26068:235;;26118:40;;-1:-1:-1;;;26118:40:2;;;;;;;;;;;26068:235;26261:6;26255:13;26246:6;26242:2;26238:15;26231:38;25785:529;-1:-1:-1;;;;;;25948:64:2;-1:-1:-1;;;25948:64:2;;-1:-1:-1;25605:716:2;;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:10;-1:-1:-1;;;;;;88:32:10;;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:10;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:10;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:10: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:10;;1343:180;-1:-1:-1;1343:180:10:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:10;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:10:o;2355:127::-;2416:10;2411:3;2407:20;2404:1;2397:31;2447:4;2444:1;2437:15;2471:4;2468:1;2461:15;2487:632;2552:5;2582:18;2623:2;2615:6;2612:14;2609:40;;;2629:18;;:::i;:::-;2704:2;2698:9;2672:2;2758:15;;-1:-1:-1;;2754:24:10;;;2780:2;2750:33;2746:42;2734:55;;;2804:18;;;2824:22;;;2801:46;2798:72;;;2850:18;;:::i;:::-;2890:10;2886:2;2879:22;2919:6;2910:15;;2949:6;2941;2934:22;2989:3;2980:6;2975:3;2971:16;2968:25;2965:45;;;3006:1;3003;2996:12;2965:45;3056:6;3051:3;3044:4;3036:6;3032:17;3019:44;3111:1;3104:4;3095:6;3087;3083:19;3079:30;3072:41;;;;2487:632;;;;;:::o;3124:451::-;3193:6;3246:2;3234:9;3225:7;3221:23;3217:32;3214:52;;;3262:1;3259;3252:12;3214:52;3302:9;3289:23;3335:18;3327:6;3324:30;3321:50;;;3367:1;3364;3357:12;3321:50;3390:22;;3443:4;3435:13;;3431:27;-1:-1:-1;3421:55:10;;3472:1;3469;3462:12;3421:55;3495:74;3561:7;3556:2;3543:16;3538:2;3534;3530:11;3495:74;:::i;3580:118::-;3666:5;3659:13;3652:21;3645:5;3642:32;3632:60;;3688:1;3685;3678:12;3703:241;3759:6;3812:2;3800:9;3791:7;3787:23;3783:32;3780:52;;;3828:1;3825;3818:12;3780:52;3867:9;3854:23;3886:28;3908:5;3886:28;:::i;3949:328::-;4026:6;4034;4042;4095:2;4083:9;4074:7;4070:23;4066:32;4063:52;;;4111:1;4108;4101:12;4063:52;4134:29;4153:9;4134:29;:::i;:::-;4124:39;;4182:38;4216:2;4205:9;4201:18;4182:38;:::i;:::-;4172:48;;4267:2;4256:9;4252:18;4239:32;4229:42;;3949:328;;;;;:::o;4522:186::-;4581:6;4634:2;4622:9;4613:7;4609:23;4605:32;4602:52;;;4650:1;4647;4640:12;4602:52;4673:29;4692:9;4673:29;:::i;4713:315::-;4778:6;4786;4839:2;4827:9;4818:7;4814:23;4810:32;4807:52;;;4855:1;4852;4845:12;4807:52;4878:29;4897:9;4878:29;:::i;:::-;4868:39;;4957:2;4946:9;4942:18;4929:32;4970:28;4992:5;4970:28;:::i;:::-;5017:5;5007:15;;;4713:315;;;;;:::o;5033:667::-;5128:6;5136;5144;5152;5205:3;5193:9;5184:7;5180:23;5176:33;5173:53;;;5222:1;5219;5212:12;5173:53;5245:29;5264:9;5245:29;:::i;:::-;5235:39;;5293:38;5327:2;5316:9;5312:18;5293:38;:::i;:::-;5283:48;;5378:2;5367:9;5363:18;5350:32;5340:42;;5433:2;5422:9;5418:18;5405:32;5460:18;5452:6;5449:30;5446:50;;;5492:1;5489;5482:12;5446:50;5515:22;;5568:4;5560:13;;5556:27;-1:-1:-1;5546:55:10;;5597:1;5594;5587:12;5546:55;5620:74;5686:7;5681:2;5668:16;5663:2;5659;5655:11;5620:74;:::i;:::-;5610:84;;;5033:667;;;;;;;:::o;5705:260::-;5773:6;5781;5834:2;5822:9;5813:7;5809:23;5805:32;5802:52;;;5850:1;5847;5840:12;5802:52;5873:29;5892:9;5873:29;:::i;:::-;5863:39;;5921:38;5955:2;5944:9;5940:18;5921:38;:::i;:::-;5911:48;;5705:260;;;;;:::o;5970:254::-;6038:6;6046;6099:2;6087:9;6078:7;6074:23;6070:32;6067:52;;;6115:1;6112;6105:12;6067:52;6151:9;6138:23;6128:33;;6180:38;6214:2;6203:9;6199:18;6180:38;:::i;6229:380::-;6308:1;6304:12;;;;6351;;;6372:61;;6426:4;6418:6;6414:17;6404:27;;6372:61;6479:2;6471:6;6468:14;6448:18;6445:38;6442:161;;6525:10;6520:3;6516:20;6513:1;6506:31;6560:4;6557:1;6550:15;6588:4;6585:1;6578:15;6442:161;;6229:380;;;:::o;6614:356::-;6816:2;6798:21;;;6835:18;;;6828:30;6894:34;6889:2;6874:18;;6867:62;6961:2;6946:18;;6614:356::o;8596:127::-;8657:10;8652:3;8648:20;8645:1;8638:31;8688:4;8685:1;8678:15;8712:4;8709:1;8702:15;8728:128;8768:3;8799:1;8795:6;8792:1;8789:13;8786:39;;;8805:18;;:::i;:::-;-1:-1:-1;8841:9:10;;8728:128::o;9568:125::-;9608:4;9636:1;9633;9630:8;9627:34;;;9641:18;;:::i;:::-;-1:-1:-1;9678:9:10;;9568:125::o;9698:168::-;9738:7;9804:1;9800;9796:6;9792:14;9789:1;9786:21;9781:1;9774:9;9767:17;9763:45;9760:71;;;9811:18;;:::i;:::-;-1:-1:-1;9851:9:10;;9698:168::o;10771:1527::-;10995:3;11033:6;11027:13;11059:4;11072:51;11116:6;11111:3;11106:2;11098:6;11094:15;11072:51;:::i;:::-;11186:13;;11145:16;;;;11208:55;11186:13;11145:16;11230:15;;;11208:55;:::i;:::-;11352:13;;11285:20;;;11325:1;;11412;11434:18;;;;11487;;;;11514:93;;11592:4;11582:8;11578:19;11566:31;;11514:93;11655:2;11645:8;11642:16;11622:18;11619:40;11616:167;;-1:-1:-1;;;11682:33:10;;11738:4;11735:1;11728:15;11768:4;11689:3;11756:17;11616:167;11799:18;11826:110;;;;11950:1;11945:328;;;;11792:481;;11826:110;-1:-1:-1;;11861:24:10;;11847:39;;11906:20;;;;-1:-1:-1;11826:110:10;;11945:328;10718:1;10711:14;;;10755:4;10742:18;;12040:1;12054:169;12068:8;12065:1;12062:15;12054:169;;;12150:14;;12135:13;;;12128:37;12193:16;;;;12085:10;;12054:169;;;12058:3;;12254:8;12247:5;12243:20;12236:27;;11792:481;-1:-1:-1;12289:3:10;;10771:1527;-1:-1:-1;;;;;;;;;;;10771:1527:10:o;13368:245::-;13435:6;13488:2;13476:9;13467:7;13463:23;13459:32;13456:52;;;13504:1;13501;13494:12;13456:52;13536:9;13530:16;13555:28;13577:5;13555:28;:::i;13618:135::-;13657:3;13678:17;;;13675:43;;13698:18;;:::i;:::-;-1:-1:-1;13745:1:10;13734:13;;13618:135::o;13758:127::-;13819:10;13814:3;13810:20;13807:1;13800:31;13850:4;13847:1;13840:15;13874:4;13871:1;13864:15;13890:120;13930:1;13956;13946:35;;13961:18;;:::i;:::-;-1:-1:-1;13995:9:10;;13890:120::o;14015:112::-;14047:1;14073;14063:35;;14078:18;;:::i;:::-;-1:-1:-1;14112:9:10;;14015:112::o;14132:127::-;14193:10;14188:3;14184:20;14181:1;14174:31;14224:4;14221:1;14214:15;14248:4;14245:1;14238:15;14264:489;-1:-1:-1;;;;;14533:15:10;;;14515:34;;14585:15;;14580:2;14565:18;;14558:43;14632:2;14617:18;;14610:34;;;14680:3;14675:2;14660:18;;14653:31;;;14458:4;;14701:46;;14727:19;;14719:6;14701:46;:::i;:::-;14693:54;14264:489;-1:-1:-1;;;;;;14264:489:10:o;14758:249::-;14827:6;14880:2;14868:9;14859:7;14855:23;14851:32;14848:52;;;14896:1;14893;14886:12;14848:52;14928:9;14922:16;14947:30;14971:5;14947:30;:::i

Swarm Source

ipfs://84bcdf822535bf17f6dfa4c95dedba80590800b281a9557ab46d353572a43984
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.