ETH Price: $3,629.78 (+1.26%)
Gas: 5.93 Gwei

Token

ERC-20: ComicBoxelsGenesis (cbGEN)
 

Overview

Max Total Supply

931 cbGEN

Holders

244

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
quietstorm.eth
Balance
3 cbGEN
0x5F9896bDEB3aBacAA17c29C4029e1CCe174fEE67
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:
ComicBoxelsGenesis

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : ComicBoxelsGenesis.sol
//SPDX-License-Identifier: MIT
/*
 ██████  ██████  ███    ███ ██  ██████ ██████   ██████  ██   ██ ███████ ██      ███████ 
██      ██    ██ ████  ████ ██ ██      ██   ██ ██    ██  ██ ██  ██      ██      ██      
██      ██    ██ ██ ████ ██ ██ ██      ██████  ██    ██   ███   █████   ██      ███████ 
██      ██    ██ ██  ██  ██ ██ ██      ██   ██ ██    ██  ██ ██  ██      ██           ██ 
 ██████  ██████  ██      ██ ██  ██████ ██████   ██████  ██   ██ ███████ ███████ ███████ 
*/                                                                           
pragma solidity ^0.8.11;           
import "erc721a/contracts/ERC721A.sol";
import "erc721a/contracts/extensions/ERC721ABurnable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract ComicBoxelsGenesis is ERC721A, ERC721ABurnable, Ownable, ReentrancyGuard {
  using Strings for uint256;

  enum PERIOD {
    PRE_LAUNCH,
    PRE_SALE,
    OPEN_SALE
  }

  //uris
  string private __baseURI = "";
  string private _contractURI = "";
  string private _placeholderURI = "";
  //token properties
  uint256 public immutable price;
  bool public revealed = false;
  PERIOD public mintPeriod;
  //limits
  uint16 public boxelsLeft;
  uint8 public maxBatchSize;
  uint8 public maxPerUser;
  uint16 public immutable reserveAmount;

  error MintBeforeLaunch();
  error MintMoreThanMaxSupply(uint16 left);
  error MintMoreThanMaxPerUser(uint16 limit, uint16 owned, uint16 triedToMint);
  error MintMoreThanBatchSize(uint16 limit);
  error InsufficientPayment(uint256 sent, uint256 expected);
  error WrongPeriod();

  event TokenRevealed();
  event PeriodChanged(PERIOD period);
  
  constructor(
    string memory name_,
    string memory symbol_,
    string memory baseURI_,
    string memory contractURI_,
    string memory placeholderURI_,
    uint256 price_,
    uint16 maxSupply_
  ) ERC721A(name_, symbol_) {
    __baseURI = baseURI_;
    _contractURI = contractURI_;
    _placeholderURI = placeholderURI_;
    price = price_;
    setMintPeriod(PERIOD.PRE_LAUNCH);
    reserveAmount = preAllocate();
    boxelsLeft = maxSupply_ - reserveAmount;
  }

  /// @dev first token index starts at 1
  function _startTokenId() internal pure override returns (uint256) {
    return 1;
  }

  /**
    * @dev mint quantity tokens
    * _safeMint's second argument now takes in a quantity, not a tokenId
    * Prevents minting if:
    * 1. trying to mint pre launch
    * 2. trying to mint more than max batch size tokens at a time
    * 3. Trying to mint more than the max allowed per user
    * 4. going over the max supply
    * 5. not sending enough ETH
    */
  function mint(uint16 quantity) external payable {
    if(mintPeriod == PERIOD.PRE_LAUNCH) revert MintBeforeLaunch();
    if(quantity > maxBatchSize && msg.sender != owner()) revert MintMoreThanBatchSize({limit: maxBatchSize});
    if(boxelsLeft == 0 || (boxelsLeft > 0 && boxelsLeft < quantity)) revert MintMoreThanMaxSupply({left: boxelsLeft});
    uint8 tokensOwned = uint8(_numberMinted(msg.sender));
    if(tokensOwned + quantity > maxPerUser && msg.sender != owner()) revert MintMoreThanMaxPerUser({limit: maxPerUser, owned: tokensOwned, triedToMint: quantity});
    uint256 totalPrice = msg.sender != owner() ? quantity * price : 0.0;
    if(msg.value < totalPrice) revert InsufficientPayment({sent: msg.value, expected: totalPrice});

    _safeMint(msg.sender, quantity);
    unchecked {
      if(boxelsLeft - quantity >= 0) {
        boxelsLeft -= quantity;
      }
      else {
        boxelsLeft = 0;
      }
    }
    //emits a Transfer event for every token minted
  }

  /// @dev Returns the tokenIds of the address. O(totalSupply) in complexity.
  /// @dev avoid implementing if totalSupply >= 10,000
  function tokensOfOwner(address owner) external view returns (uint256[] memory) {
    unchecked {
      uint256[] memory a = new uint256[](balanceOf(owner)); 
      uint256 end = _currentIndex;
      uint256 tokenIdsIdx;
      address currOwnershipAddr;
      for (uint256 i; i < end; i++) {
        TokenOwnership memory ownership = _ownerships[i];
        if (ownership.burned) {
          continue;
        }
        if (ownership.addr != address(0)) {
          currOwnershipAddr = ownership.addr;
        }
        if (currOwnershipAddr == owner) {
          a[tokenIdsIdx++] = i;
        }
      }
      return a;    
    }
  }

  /// @dev burn a token
  function burn(uint256 tokenId) override public {
    ERC721ABurnable.burn(tokenId);
    //emits Transfer to 0x0
  }

  /***    URI functions  ***/
  function baseURI() public view returns (string memory) {
    return __baseURI;
  }

  function contractURI() public view returns (string memory) {
    return _contractURI;
  }

  function placeholderURI() public view returns (string memory) {
    return _placeholderURI;
  }

  function tokenURI(uint256 tokenId) public view override returns (string memory) {
    if (!_exists(tokenId)) revert URIQueryForNonexistentToken();
    if(revealed) {
      return bytes(__baseURI).length != 0 ? string(abi.encodePacked(__baseURI, tokenId.toString(), '.json')) : '';
    }
    else {
      return bytes(_placeholderURI).length != 0 ? _placeholderURI : '';
    }
  }

  function setBaseURI(string memory baseURI_) public onlyOwner {
    __baseURI = baseURI_;
  }

  function setContractURI(string memory contractURI_) public onlyOwner {
    _contractURI = contractURI_;
  }

  function setPlaceholderURI(string memory placeholderURI_) public onlyOwner {
    _placeholderURI = placeholderURI_;
  }

  /***  Owner only functions ***/
  function withdraw() external nonReentrant onlyOwner {
    uint256 balance = address(this).balance;
		payable(msg.sender).transfer(balance);
  }

  /// @dev set mint period and token mint limits
  function setMintPeriod(PERIOD period_) public onlyOwner {
    if(period_ == PERIOD.PRE_LAUNCH) {
      maxBatchSize = 0;
      maxPerUser = 0;
    }
    else if(period_ == PERIOD.PRE_SALE) {
      maxBatchSize = 3;
      maxPerUser = 3;
    }
    else if(period_ == PERIOD.OPEN_SALE) {
      maxBatchSize = 10;
      maxPerUser = 30;
    }
    mintPeriod = period_;
    emit PeriodChanged(period_);
  }

  /// @dev reveal signals the contract to return token JSON, instead of placeholder JSON
  function reveal() external onlyOwner {
    revealed = true;
    emit TokenRevealed();
  }

  /// @dev pre-allocate tokens to creators
  /// @return number of tokens pre-allocated 
  function preAllocate() internal onlyOwner returns(uint16) {
    //pre randomization allocation
    _safeMint(address(0xf33A496671C71dF3e304E2dc7854DCb0FACBCBCB), 64);
    _safeMint(address(0xe8B16D34f816348C08DE076e08E6DF05493AA70A), 14);
    _safeMint(address(0x2038C4988e0F7Bc1E2Bc7D15eEd49c83494b70a3), 13);
    _safeMint(address(0xb6A90c897F0C0Ca7ddE519bAf707CbB52FB254A2), 40);
    _safeMint(address(0xA9f99787f8dF47bD9369c82079Fc1bb1871D5A65), 40);
    _safeMint(address(0x909A30F58D9E7abfD4F8cF8430e2c2F97783E769), 5);
    _safeMint(address(0x5A667f33a24Bdcb0DEe1BACf61d828cdC51e496e), 5); 
    //post randomization allocation
    _safeMint(address(0xf33A496671C71dF3e304E2dc7854DCb0FACBCBCB), 223);
    _safeMint(address(0xe8B16D34f816348C08DE076e08E6DF05493AA70A), 6);
    _safeMint(address(0x2038C4988e0F7Bc1E2Bc7D15eEd49c83494b70a3), 7);
    _safeMint(address(0xb6A90c897F0C0Ca7ddE519bAf707CbB52FB254A2), 10);
    _safeMint(address(0xA9f99787f8dF47bD9369c82079Fc1bb1871D5A65), 10);
    _safeMint(address(0x909A30F58D9E7abfD4F8cF8430e2c2F97783E769), 5);
    _safeMint(address(0x5A667f33a24Bdcb0DEe1BACf61d828cdC51e496e), 5);
    return uint16(_currentIndex - 1);
  }
}

File 2 of 14 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error AuxQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @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 Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    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;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

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

    // The number of tokens burned.
    uint256 internal _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 ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

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

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

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

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

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

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * 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 See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

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

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        return _addressData[owner].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 {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        _addressData[owner].aux = aux;
    }

    /**
     * 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) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // 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.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

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

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

        _approve(to, tokenId, owner);
    }

    /**
     * @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 override {
        if (operator == _msgSender()) revert ApproveToCaller();

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public 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.isContract() && !_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 &&
            !_ownerships[tokenId].burned;
    }

    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 {
        _mint(to, quantity, _data, true);
    }

    /**
     * @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,
        bytes memory _data,
        bool safe
    ) 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 {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

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

            if (safe && to.isContract()) {
                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 Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

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

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // 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 {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

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

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

        // 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 {
            _addressData[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            _ownerships[tokenId].addr = prevOwnership.addr;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);
            _ownerships[tokenId].burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

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

    /**
     * @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 IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
            return retval == IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert 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 {}
}

File 3 of 14 : ERC721ABurnable.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '../ERC721A.sol';
import '@openzeppelin/contracts/utils/Context.sol';

/**
 * @title ERC721A Burnable Token
 * @dev ERC721A Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721ABurnable is Context, ERC721A {

    /**
     * @dev Burns `tokenId`. See {ERC721A-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

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

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();

        _burn(tokenId);
    }
}

File 4 of 14 : 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 5 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 6 of 14 : 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);
    }
}

File 7 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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

File 8 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 11 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"baseURI_","type":"string"},{"internalType":"string","name":"contractURI_","type":"string"},{"internalType":"string","name":"placeholderURI_","type":"string"},{"internalType":"uint256","name":"price_","type":"uint256"},{"internalType":"uint16","name":"maxSupply_","type":"uint16"}],"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":[{"internalType":"uint256","name":"sent","type":"uint256"},{"internalType":"uint256","name":"expected","type":"uint256"}],"name":"InsufficientPayment","type":"error"},{"inputs":[],"name":"MintBeforeLaunch","type":"error"},{"inputs":[{"internalType":"uint16","name":"limit","type":"uint16"}],"name":"MintMoreThanBatchSize","type":"error"},{"inputs":[{"internalType":"uint16","name":"limit","type":"uint16"},{"internalType":"uint16","name":"owned","type":"uint16"},{"internalType":"uint16","name":"triedToMint","type":"uint16"}],"name":"MintMoreThanMaxPerUser","type":"error"},{"inputs":[{"internalType":"uint16","name":"left","type":"uint16"}],"name":"MintMoreThanMaxSupply","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"MintedQueryForZeroAddress","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"},{"inputs":[],"name":"WrongPeriod","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":false,"internalType":"enum ComicBoxelsGenesis.PERIOD","name":"period","type":"uint8"}],"name":"PeriodChanged","type":"event"},{"anonymous":false,"inputs":[],"name":"TokenRevealed","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boxelsLeft","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"maxBatchSize","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerUser","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"quantity","type":"uint16"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPeriod","outputs":[{"internalType":"enum ComicBoxelsGenesis.PERIOD","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"placeholderURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveAmount","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reveal","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":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"contractURI_","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum ComicBoxelsGenesis.PERIOD","name":"period_","type":"uint8"}],"name":"setMintPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"placeholderURI_","type":"string"}],"name":"setPlaceholderURI","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c060405260405180602001604052806000815250600a90805190602001906200002b92919062000ddc565b5060405180602001604052806000815250600b90805190602001906200005392919062000ddc565b5060405180602001604052806000815250600c90805190602001906200007b92919062000ddc565b506000600d60006101000a81548160ff021916908315150217905550348015620000a457600080fd5b5060405162005dcb38038062005dcb8339818101604052810190620000ca9190620010a3565b86868160029080519060200190620000e492919062000ddc565b508060039080519060200190620000fd92919062000ddc565b506200010e620001fb60201b60201c565b6000819055505050620001366200012a6200020460201b60201c565b6200020c60201b60201c565b600160098190555084600a90805190602001906200015692919062000ddc565b5083600b90805190602001906200016f92919062000ddc565b5082600c90805190602001906200018892919062000ddc565b508160808181525050620001a36000620002d260201b60201c565b620001b36200051c60201b60201c565b61ffff1660a08161ffff168152505060a05181620001d2919062001220565b600d60026101000a81548161ffff021916908361ffff16021790555050505050505050620015b1565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002e26200020460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000308620007e560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000361576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200035890620012bc565b60405180910390fd5b60006002811115620003785762000377620012de565b5b8160028111156200038e576200038d620012de565b5b1415620003d3576000600d60046101000a81548160ff021916908360ff1602179055506000600d60056101000a81548160ff021916908360ff160217905550620004b3565b60016002811115620003ea57620003e9620012de565b5b8160028111156200040057620003ff620012de565b5b141562000445576003600d60046101000a81548160ff021916908360ff1602179055506003600d60056101000a81548160ff021916908360ff160217905550620004b2565b6002808111156200045b576200045a620012de565b5b816002811115620004715762000470620012de565b5b1415620004b157600a600d60046101000a81548160ff021916908360ff160217905550601e600d60056101000a81548160ff021916908360ff1602179055505b5b5b80600d60016101000a81548160ff02191690836002811115620004db57620004da620012de565b5b02179055507ff20e5f51c40ecd792e74bf9d0bb09ce7ba6f2191e53df39f6173aacd3c9cd703816040516200051191906200135e565b60405180910390a150565b60006200052e6200020460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000554620007e560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620005ad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005a490620012bc565b60405180910390fd5b620005d473f33a496671c71df3e304e2dc7854dcb0facbcbcb60406200080f60201b60201c565b620005fb73e8b16d34f816348c08de076e08e6df05493aa70a600e6200080f60201b60201c565b62000622732038c4988e0f7bc1e2bc7d15eed49c83494b70a3600d6200080f60201b60201c565b6200064973b6a90c897f0c0ca7dde519baf707cbb52fb254a260286200080f60201b60201c565b6200067073a9f99787f8df47bd9369c82079fc1bb1871d5a6560286200080f60201b60201c565b6200069773909a30f58d9e7abfd4f8cf8430e2c2f97783e76960056200080f60201b60201c565b620006be735a667f33a24bdcb0dee1bacf61d828cdc51e496e60056200080f60201b60201c565b620006e573f33a496671c71df3e304e2dc7854dcb0facbcbcb60df6200080f60201b60201c565b6200070c73e8b16d34f816348c08de076e08e6df05493aa70a60066200080f60201b60201c565b62000733732038c4988e0f7bc1e2bc7d15eed49c83494b70a360076200080f60201b60201c565b6200075a73b6a90c897f0c0ca7dde519baf707cbb52fb254a2600a6200080f60201b60201c565b6200078173a9f99787f8df47bd9369c82079fc1bb1871d5a65600a6200080f60201b60201c565b620007a873909a30f58d9e7abfd4f8cf8430e2c2f97783e76960056200080f60201b60201c565b620007cf735a667f33a24bdcb0dee1bacf61d828cdc51e496e60056200080f60201b60201c565b6001600054620007e091906200137b565b905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b620008318282604051806020016040528060008152506200083560201b60201c565b5050565b6200084a83838360016200084f60201b60201c565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415620008bd576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415620008f9576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200090e600086838762000c4b60201b60201c565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801562000ae6575062000ae58773ffffffffffffffffffffffffffffffffffffffff1662000c5160201b620020901760201c565b5b1562000bb9575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a462000b64600088848060010195508862000c7460201b60201c565b62000b9b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082141562000aed57826000541462000bb357600080fd5b62000c26565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082141562000bba575b81600081905550505062000c44600086838762000dd660201b60201c565b5050505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0262000ca26200020460201b60201c565b8786866040518563ffffffff1660e01b815260040162000cc6949392919062001469565b6020604051808303816000875af192505050801562000d0557506040513d601f19601f8201168201806040525081019062000d0291906200151a565b60015b62000d83573d806000811462000d38576040519150601f19603f3d011682016040523d82523d6000602084013e62000d3d565b606091505b5060008151141562000d7b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b50505050565b82805462000dea906200157b565b90600052602060002090601f01602090048101928262000e0e576000855562000e5a565b82601f1062000e2957805160ff191683800117855562000e5a565b8280016001018555821562000e5a579182015b8281111562000e5957825182559160200191906001019062000e3c565b5b50905062000e69919062000e6d565b5090565b5b8082111562000e8857600081600090555060010162000e6e565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000ef58262000eaa565b810181811067ffffffffffffffff8211171562000f175762000f1662000ebb565b5b80604052505050565b600062000f2c62000e8c565b905062000f3a828262000eea565b919050565b600067ffffffffffffffff82111562000f5d5762000f5c62000ebb565b5b62000f688262000eaa565b9050602081019050919050565b60005b8381101562000f9557808201518184015260208101905062000f78565b8381111562000fa5576000848401525b50505050565b600062000fc262000fbc8462000f3f565b62000f20565b90508281526020810184848401111562000fe15762000fe062000ea5565b5b62000fee84828562000f75565b509392505050565b600082601f8301126200100e576200100d62000ea0565b5b81516200102084826020860162000fab565b91505092915050565b6000819050919050565b6200103e8162001029565b81146200104a57600080fd5b50565b6000815190506200105e8162001033565b92915050565b600061ffff82169050919050565b6200107d8162001064565b81146200108957600080fd5b50565b6000815190506200109d8162001072565b92915050565b600080600080600080600060e0888a031215620010c557620010c462000e96565b5b600088015167ffffffffffffffff811115620010e657620010e562000e9b565b5b620010f48a828b0162000ff6565b975050602088015167ffffffffffffffff81111562001118576200111762000e9b565b5b620011268a828b0162000ff6565b965050604088015167ffffffffffffffff8111156200114a576200114962000e9b565b5b620011588a828b0162000ff6565b955050606088015167ffffffffffffffff8111156200117c576200117b62000e9b565b5b6200118a8a828b0162000ff6565b945050608088015167ffffffffffffffff811115620011ae57620011ad62000e9b565b5b620011bc8a828b0162000ff6565b93505060a0620011cf8a828b016200104d565b92505060c0620011e28a828b016200108c565b91505092959891949750929550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006200122d8262001064565b91506200123a8362001064565b92508282101562001250576200124f620011f1565b5b828203905092915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620012a46020836200125b565b9150620012b1826200126c565b602082019050919050565b60006020820190508181036000830152620012d78162001295565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110620013215762001320620012de565b5b50565b600081905062001334826200130d565b919050565b6000620013468262001324565b9050919050565b620013588162001339565b82525050565b60006020820190506200137560008301846200134d565b92915050565b6000620013888262001029565b9150620013958362001029565b925082821015620013ab57620013aa620011f1565b5b828203905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620013e382620013b6565b9050919050565b620013f581620013d6565b82525050565b620014068162001029565b82525050565b600081519050919050565b600082825260208201905092915050565b600062001435826200140c565b62001441818562001417565b93506200145381856020860162000f75565b6200145e8162000eaa565b840191505092915050565b6000608082019050620014806000830187620013ea565b6200148f6020830186620013ea565b6200149e6040830185620013fb565b8181036060830152620014b2818462001428565b905095945050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b620014f481620014bd565b81146200150057600080fd5b50565b6000815190506200151481620014e9565b92915050565b60006020828403121562001533576200153262000e96565b5b6000620015438482850162001503565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200159457607f821691505b60208210811415620015ab57620015aa6200154c565b5b50919050565b60805160a0516147ed620015de600039600061114c015260008181610e570152611a2201526147ed6000f3fe60806040526004361061020f5760003560e01c80636352211e116101185780639d5c3f40116100a0578063b88d4fde1161006f578063b88d4fde14610746578063c87b56dd1461076f578063e8a3d485146107ac578063e985e9c5146107d7578063f2fde38b146108145761020f565b80639d5c3f40146106b2578063a035b1fe146106db578063a22cb46514610706578063a475b5dd1461072f5761020f565b80637313cba9116100e75780637313cba9146105cb5780638462151c146105f65780638da5cb5b14610633578063938e3d7b1461065e57806395d89b41146106875761020f565b80636352211e1461050f5780636c0360eb1461054c57806370a0823114610577578063715018a6146105b45761020f565b80632913daa01161019b57806342966c681161016a57806342966c681461043c5780634b09b72a146104655780634c4982031461049057806351830227146104bb57806355f804b3146104e65761020f565b80632913daa0146103a85780633574a2dd146103d35780633ccfd60b146103fc57806342842e0e146104135761020f565b8063095ea7b3116101e2578063095ea7b3146102e45780630d2a8ebc1461030d57806318160ddd1461033857806323b872dd1461036357806323cf0a221461038c5761020f565b806301ffc9a71461021457806306d586bb1461025157806306fdde031461027c578063081812fc146102a7575b600080fd5b34801561022057600080fd5b5061023b600480360381019061023691906137e7565b61083d565b604051610248919061382f565b60405180910390f35b34801561025d57600080fd5b5061026661091f565b6040516102739190613866565b60405180910390f35b34801561028857600080fd5b50610291610932565b60405161029e919061391a565b60405180910390f35b3480156102b357600080fd5b506102ce60048036038101906102c99190613972565b6109c4565b6040516102db91906139e0565b60405180910390f35b3480156102f057600080fd5b5061030b60048036038101906103069190613a27565b610a40565b005b34801561031957600080fd5b50610322610b4b565b60405161032f9190613a84565b60405180910390f35b34801561034457600080fd5b5061034d610b5f565b60405161035a9190613aae565b60405180910390f35b34801561036f57600080fd5b5061038a60048036038101906103859190613ac9565b610b76565b005b6103a660048036038101906103a19190613b48565b610b86565b005b3480156103b457600080fd5b506103bd610f54565b6040516103ca9190613866565b60405180910390f35b3480156103df57600080fd5b506103fa60048036038101906103f59190613caa565b610f67565b005b34801561040857600080fd5b50610411610ffd565b005b34801561041f57600080fd5b5061043a60048036038101906104359190613ac9565b61111e565b005b34801561044857600080fd5b50610463600480360381019061045e9190613972565b61113e565b005b34801561047157600080fd5b5061047a61114a565b6040516104879190613a84565b60405180910390f35b34801561049c57600080fd5b506104a561116e565b6040516104b29190613d6a565b60405180910390f35b3480156104c757600080fd5b506104d0611181565b6040516104dd919061382f565b60405180910390f35b3480156104f257600080fd5b5061050d60048036038101906105089190613caa565b611194565b005b34801561051b57600080fd5b5061053660048036038101906105319190613972565b61122a565b60405161054391906139e0565b60405180910390f35b34801561055857600080fd5b50610561611240565b60405161056e919061391a565b60405180910390f35b34801561058357600080fd5b5061059e60048036038101906105999190613d85565b6112d2565b6040516105ab9190613aae565b60405180910390f35b3480156105c057600080fd5b506105c96113a2565b005b3480156105d757600080fd5b506105e061142a565b6040516105ed919061391a565b60405180910390f35b34801561060257600080fd5b5061061d60048036038101906106189190613d85565b6114bc565b60405161062a9190613e70565b60405180910390f35b34801561063f57600080fd5b506106486116b3565b60405161065591906139e0565b60405180910390f35b34801561066a57600080fd5b5061068560048036038101906106809190613caa565b6116dd565b005b34801561069357600080fd5b5061069c611773565b6040516106a9919061391a565b60405180910390f35b3480156106be57600080fd5b506106d960048036038101906106d49190613eb7565b611805565b005b3480156106e757600080fd5b506106f0611a20565b6040516106fd9190613aae565b60405180910390f35b34801561071257600080fd5b5061072d60048036038101906107289190613f10565b611a44565b005b34801561073b57600080fd5b50610744611bbc565b005b34801561075257600080fd5b5061076d60048036038101906107689190613ff1565b611c81565b005b34801561077b57600080fd5b5061079660048036038101906107919190613972565b611cfd565b6040516107a3919061391a565b60405180910390f35b3480156107b857600080fd5b506107c1611e72565b6040516107ce919061391a565b60405180910390f35b3480156107e357600080fd5b506107fe60048036038101906107f99190614074565b611f04565b60405161080b919061382f565b60405180910390f35b34801561082057600080fd5b5061083b60048036038101906108369190613d85565b611f98565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061090857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109185750610917826120b3565b5b9050919050565b600d60059054906101000a900460ff1681565b606060028054610941906140e3565b80601f016020809104026020016040519081016040528092919081815260200182805461096d906140e3565b80156109ba5780601f1061098f576101008083540402835291602001916109ba565b820191906000526020600020905b81548152906001019060200180831161099d57829003601f168201915b5050505050905090565b60006109cf8261211d565b610a05576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a4b8261122a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ab3576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ad261216b565b73ffffffffffffffffffffffffffffffffffffffff1614158015610b045750610b0281610afd61216b565b611f04565b155b15610b3b576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b46838383612173565b505050565b600d60029054906101000a900461ffff1681565b6000610b69612225565b6001546000540303905090565b610b8183838361222e565b505050565b60006002811115610b9a57610b99613cf3565b5b600d60019054906101000a900460ff166002811115610bbc57610bbb613cf3565b5b1415610bf4576040517fe506439500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d60049054906101000a900460ff1660ff168161ffff16118015610c4c5750610c1c6116b3565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b15610c9d57600d60049054906101000a900460ff166040517f31dd2472000000000000000000000000000000000000000000000000000000008152600401610c949190614150565b60405180910390fd5b6000600d60029054906101000a900461ffff1661ffff161480610cf757506000600d60029054906101000a900461ffff1661ffff16118015610cf657508061ffff16600d60029054906101000a900461ffff1661ffff16105b5b15610d4957600d60029054906101000a900461ffff166040517f3032d9b4000000000000000000000000000000000000000000000000000000008152600401610d409190613a84565b60405180910390fd5b6000610d543361271f565b9050600d60059054906101000a900460ff1660ff16828260ff16610d78919061419a565b61ffff16118015610dbc5750610d8c6116b3565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b15610e1157600d60059054906101000a900460ff1681836040517f2c84a650000000000000000000000000000000000000000000000000000000008152600401610e08939291906141d2565b60405180910390fd5b6000610e1b6116b3565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610e55576000610e86565b7f00000000000000000000000000000000000000000000000000000000000000008361ffff16610e859190614209565b5b905080341015610ecf5734816040517fb99e2ab7000000000000000000000000000000000000000000000000000000008152600401610ec6929190614263565b60405180910390fd5b610edd338461ffff166127ef565b600083600d60029054906101000a900461ffff160361ffff1610610f305782600d60028282829054906101000a900461ffff160392506101000a81548161ffff021916908361ffff160217905550610f4f565b6000600d60026101000a81548161ffff021916908361ffff1602179055505b505050565b600d60049054906101000a900460ff1681565b610f6f61216b565b73ffffffffffffffffffffffffffffffffffffffff16610f8d6116b3565b73ffffffffffffffffffffffffffffffffffffffff1614610fe3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fda906142d8565b60405180910390fd5b80600c9080519060200190610ff9929190613695565b5050565b60026009541415611043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103a90614344565b60405180910390fd5b600260098190555061105361216b565b73ffffffffffffffffffffffffffffffffffffffff166110716116b3565b73ffffffffffffffffffffffffffffffffffffffff16146110c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110be906142d8565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611112573d6000803e3d6000fd5b50506001600981905550565b61113983838360405180602001604052806000815250611c81565b505050565b6111478161280d565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b600d60019054906101000a900460ff1681565b600d60009054906101000a900460ff1681565b61119c61216b565b73ffffffffffffffffffffffffffffffffffffffff166111ba6116b3565b73ffffffffffffffffffffffffffffffffffffffff1614611210576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611207906142d8565b60405180910390fd5b80600a9080519060200190611226929190613695565b5050565b6000611235826128fe565b600001519050919050565b6060600a805461124f906140e3565b80601f016020809104026020016040519081016040528092919081815260200182805461127b906140e3565b80156112c85780601f1061129d576101008083540402835291602001916112c8565b820191906000526020600020905b8154815290600101906020018083116112ab57829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561133a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6113aa61216b565b73ffffffffffffffffffffffffffffffffffffffff166113c86116b3565b73ffffffffffffffffffffffffffffffffffffffff161461141e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611415906142d8565b60405180910390fd5b6114286000612b8d565b565b6060600c8054611439906140e3565b80601f0160208091040260200160405190810160405280929190818152602001828054611465906140e3565b80156114b25780601f10611487576101008083540402835291602001916114b2565b820191906000526020600020905b81548152906001019060200180831161149557829003601f168201915b5050505050905090565b606060006114c9836112d2565b67ffffffffffffffff8111156114e2576114e1613b7f565b5b6040519080825280602002602001820160405280156115105781602001602082028036833780820191505090505b50905060008054905060008060005b838110156116a6576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151156115fc5750611699565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461163c57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611697578186858060010196508151811061168a57611689614364565b5b6020026020010181815250505b505b808060010191505061151f565b5083945050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6116e561216b565b73ffffffffffffffffffffffffffffffffffffffff166117036116b3565b73ffffffffffffffffffffffffffffffffffffffff1614611759576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611750906142d8565b60405180910390fd5b80600b908051906020019061176f929190613695565b5050565b606060038054611782906140e3565b80601f01602080910402602001604051908101604052809291908181526020018280546117ae906140e3565b80156117fb5780601f106117d0576101008083540402835291602001916117fb565b820191906000526020600020905b8154815290600101906020018083116117de57829003601f168201915b5050505050905090565b61180d61216b565b73ffffffffffffffffffffffffffffffffffffffff1661182b6116b3565b73ffffffffffffffffffffffffffffffffffffffff1614611881576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611878906142d8565b60405180910390fd5b6000600281111561189557611894613cf3565b5b8160028111156118a8576118a7613cf3565b5b14156118eb576000600d60046101000a81548160ff021916908360ff1602179055506000600d60056101000a81548160ff021916908360ff1602179055506119bc565b600160028111156118ff576118fe613cf3565b5b81600281111561191257611911613cf3565b5b1415611955576003600d60046101000a81548160ff021916908360ff1602179055506003600d60056101000a81548160ff021916908360ff1602179055506119bb565b60028081111561196857611967613cf3565b5b81600281111561197b5761197a613cf3565b5b14156119ba57600a600d60046101000a81548160ff021916908360ff160217905550601e600d60056101000a81548160ff021916908360ff1602179055505b5b5b80600d60016101000a81548160ff021916908360028111156119e1576119e0613cf3565b5b02179055507ff20e5f51c40ecd792e74bf9d0bb09ce7ba6f2191e53df39f6173aacd3c9cd70381604051611a159190613d6a565b60405180910390a150565b7f000000000000000000000000000000000000000000000000000000000000000081565b611a4c61216b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ab1576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611abe61216b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b6b61216b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611bb0919061382f565b60405180910390a35050565b611bc461216b565b73ffffffffffffffffffffffffffffffffffffffff16611be26116b3565b73ffffffffffffffffffffffffffffffffffffffff1614611c38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2f906142d8565b60405180910390fd5b6001600d60006101000a81548160ff0219169083151502179055507fcac6e2aaaf564852172624502fe16bee5369a581f840e46b84a49cf4626abb1460405160405180910390a1565b611c8c84848461222e565b611cab8373ffffffffffffffffffffffffffffffffffffffff16612090565b8015611cc05750611cbe84848484612c53565b155b15611cf7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6060611d088261211d565b611d3e576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d60009054906101000a900460ff1615611db2576000600a8054611d62906140e3565b90501415611d7f5760405180602001604052806000815250611dab565b600a611d8a83612da4565b604051602001611d9b9291906144af565b6040516020818303038152906040525b9050611e6d565b6000600c8054611dc1906140e3565b90501415611dde5760405180602001604052806000815250611e6a565b600c8054611deb906140e3565b80601f0160208091040260200160405190810160405280929190818152602001828054611e17906140e3565b8015611e645780601f10611e3957610100808354040283529160200191611e64565b820191906000526020600020905b815481529060010190602001808311611e4757829003601f168201915b50505050505b90505b919050565b6060600b8054611e81906140e3565b80601f0160208091040260200160405190810160405280929190818152602001828054611ead906140e3565b8015611efa5780601f10611ecf57610100808354040283529160200191611efa565b820191906000526020600020905b815481529060010190602001808311611edd57829003601f168201915b5050505050905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611fa061216b565b73ffffffffffffffffffffffffffffffffffffffff16611fbe6116b3565b73ffffffffffffffffffffffffffffffffffffffff1614612014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200b906142d8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612084576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207b90614550565b60405180910390fd5b61208d81612b8d565b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612128612225565b11158015612137575060005482105b8015612164575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000612239826128fe565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661226061216b565b73ffffffffffffffffffffffffffffffffffffffff1614806122935750612292826000015161228d61216b565b611f04565b5b806122d857506122a161216b565b73ffffffffffffffffffffffffffffffffffffffff166122c0846109c4565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612311576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461237a576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156123e1576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123ee8585856001612f05565b6123fe6000848460000151612173565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156126af576000548110156126ae5782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127188585856001612f0b565b5050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612787576040517f35ebb31900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b612809828260405180602001604052806000815250612f11565b5050565b6000612818826128fe565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661283f61216b565b73ffffffffffffffffffffffffffffffffffffffff1614806128725750612871826000015161286c61216b565b611f04565b5b806128b7575061288061216b565b73ffffffffffffffffffffffffffffffffffffffff1661289f846109c4565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806128f0576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6128f983612f23565b505050565b61290661371b565b600082905080612914612225565b11158015612923575060005481105b15612b56576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612b5457600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a38578092505050612b88565b5b600115612b5357818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612b4e578092505050612b88565b612a39565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c7961216b565b8786866040518563ffffffff1660e01b8152600401612c9b94939291906145c5565b6020604051808303816000875af1925050508015612cd757506040513d601f19601f82011682018060405250810190612cd49190614626565b60015b612d51573d8060008114612d07576040519150601f19603f3d011682016040523d82523d6000602084013e612d0c565b606091505b50600081511415612d49576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612dec576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612f00565b600082905060005b60008214612e1e578080612e0790614653565b915050600a82612e1791906146cb565b9150612df4565b60008167ffffffffffffffff811115612e3a57612e39613b7f565b5b6040519080825280601f01601f191660200182016040528015612e6c5781602001600182028036833780820191505090505b5090505b60008514612ef957600182612e8591906146fc565b9150600a85612e949190614730565b6030612ea09190614761565b60f81b818381518110612eb657612eb5614364565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ef291906146cb565b9450612e70565b8093505050505b919050565b50505050565b50505050565b612f1e83838360016132c7565b505050565b6000612f2e826128fe565b9050612f4281600001516000846001612f05565b612f526000838360000151612173565b600160056000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160056000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555080600001516004600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600084815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160046000848152602001908152602001600020600001601c6101000a81548160ff0219169083151502179055506000600183019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561323e5760005481101561323d5781600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b5081600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46132b181600001516000846001612f0b565b6001600081548092919060010191905055505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613334576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084141561336f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61337c6000868387612f05565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561354657506135458773ffffffffffffffffffffffffffffffffffffffff16612090565b5b1561360c575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46135bb6000888480600101955088612c53565b6135f1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082141561354c57826000541461360757600080fd5b613678565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082141561360d575b81600081905550505061368e6000868387612f0b565b5050505050565b8280546136a1906140e3565b90600052602060002090601f0160209004810192826136c3576000855561370a565b82601f106136dc57805160ff191683800117855561370a565b8280016001018555821561370a579182015b828111156137095782518255916020019190600101906136ee565b5b509050613717919061375e565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561377757600081600090555060010161375f565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6137c48161378f565b81146137cf57600080fd5b50565b6000813590506137e1816137bb565b92915050565b6000602082840312156137fd576137fc613785565b5b600061380b848285016137d2565b91505092915050565b60008115159050919050565b61382981613814565b82525050565b60006020820190506138446000830184613820565b92915050565b600060ff82169050919050565b6138608161384a565b82525050565b600060208201905061387b6000830184613857565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156138bb5780820151818401526020810190506138a0565b838111156138ca576000848401525b50505050565b6000601f19601f8301169050919050565b60006138ec82613881565b6138f6818561388c565b935061390681856020860161389d565b61390f816138d0565b840191505092915050565b6000602082019050818103600083015261393481846138e1565b905092915050565b6000819050919050565b61394f8161393c565b811461395a57600080fd5b50565b60008135905061396c81613946565b92915050565b60006020828403121561398857613987613785565b5b60006139968482850161395d565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006139ca8261399f565b9050919050565b6139da816139bf565b82525050565b60006020820190506139f560008301846139d1565b92915050565b613a04816139bf565b8114613a0f57600080fd5b50565b600081359050613a21816139fb565b92915050565b60008060408385031215613a3e57613a3d613785565b5b6000613a4c85828601613a12565b9250506020613a5d8582860161395d565b9150509250929050565b600061ffff82169050919050565b613a7e81613a67565b82525050565b6000602082019050613a996000830184613a75565b92915050565b613aa88161393c565b82525050565b6000602082019050613ac36000830184613a9f565b92915050565b600080600060608486031215613ae257613ae1613785565b5b6000613af086828701613a12565b9350506020613b0186828701613a12565b9250506040613b128682870161395d565b9150509250925092565b613b2581613a67565b8114613b3057600080fd5b50565b600081359050613b4281613b1c565b92915050565b600060208284031215613b5e57613b5d613785565b5b6000613b6c84828501613b33565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613bb7826138d0565b810181811067ffffffffffffffff82111715613bd657613bd5613b7f565b5b80604052505050565b6000613be961377b565b9050613bf58282613bae565b919050565b600067ffffffffffffffff821115613c1557613c14613b7f565b5b613c1e826138d0565b9050602081019050919050565b82818337600083830152505050565b6000613c4d613c4884613bfa565b613bdf565b905082815260208101848484011115613c6957613c68613b7a565b5b613c74848285613c2b565b509392505050565b600082601f830112613c9157613c90613b75565b5b8135613ca1848260208601613c3a565b91505092915050565b600060208284031215613cc057613cbf613785565b5b600082013567ffffffffffffffff811115613cde57613cdd61378a565b5b613cea84828501613c7c565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110613d3357613d32613cf3565b5b50565b6000819050613d4482613d22565b919050565b6000613d5482613d36565b9050919050565b613d6481613d49565b82525050565b6000602082019050613d7f6000830184613d5b565b92915050565b600060208284031215613d9b57613d9a613785565b5b6000613da984828501613a12565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613de78161393c565b82525050565b6000613df98383613dde565b60208301905092915050565b6000602082019050919050565b6000613e1d82613db2565b613e278185613dbd565b9350613e3283613dce565b8060005b83811015613e63578151613e4a8882613ded565b9750613e5583613e05565b925050600181019050613e36565b5085935050505092915050565b60006020820190508181036000830152613e8a8184613e12565b905092915050565b60038110613e9f57600080fd5b50565b600081359050613eb181613e92565b92915050565b600060208284031215613ecd57613ecc613785565b5b6000613edb84828501613ea2565b91505092915050565b613eed81613814565b8114613ef857600080fd5b50565b600081359050613f0a81613ee4565b92915050565b60008060408385031215613f2757613f26613785565b5b6000613f3585828601613a12565b9250506020613f4685828601613efb565b9150509250929050565b600067ffffffffffffffff821115613f6b57613f6a613b7f565b5b613f74826138d0565b9050602081019050919050565b6000613f94613f8f84613f50565b613bdf565b905082815260208101848484011115613fb057613faf613b7a565b5b613fbb848285613c2b565b509392505050565b600082601f830112613fd857613fd7613b75565b5b8135613fe8848260208601613f81565b91505092915050565b6000806000806080858703121561400b5761400a613785565b5b600061401987828801613a12565b945050602061402a87828801613a12565b935050604061403b8782880161395d565b925050606085013567ffffffffffffffff81111561405c5761405b61378a565b5b61406887828801613fc3565b91505092959194509250565b6000806040838503121561408b5761408a613785565b5b600061409985828601613a12565b92505060206140aa85828601613a12565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806140fb57607f821691505b6020821081141561410f5761410e6140b4565b5b50919050565b6000819050919050565b600061413a6141356141308461384a565b614115565b613a67565b9050919050565b61414a8161411f565b82525050565b60006020820190506141656000830184614141565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006141a582613a67565b91506141b083613a67565b92508261ffff038211156141c7576141c661416b565b5b828201905092915050565b60006060820190506141e76000830186614141565b6141f46020830185614141565b6142016040830184613a75565b949350505050565b60006142148261393c565b915061421f8361393c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156142585761425761416b565b5b828202905092915050565b60006040820190506142786000830185613a9f565b6142856020830184613a9f565b9392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006142c260208361388c565b91506142cd8261428c565b602082019050919050565b600060208201905081810360008301526142f1816142b5565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061432e601f8361388c565b9150614339826142f8565b602082019050919050565b6000602082019050818103600083015261435d81614321565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081905092915050565b60008190508160005260206000209050919050565b600081546143c0816140e3565b6143ca8186614393565b945060018216600081146143e557600181146143f657614429565b60ff19831686528186019350614429565b6143ff8561439e565b60005b8381101561442157815481890152600182019150602081019050614402565b838801955050505b50505092915050565b600061443d82613881565b6144478185614393565b935061445781856020860161389d565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614499600583614393565b91506144a482614463565b600582019050919050565b60006144bb82856143b3565b91506144c78284614432565b91506144d28261448c565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061453a60268361388c565b9150614545826144de565b604082019050919050565b600060208201905081810360008301526145698161452d565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061459782614570565b6145a1818561457b565b93506145b181856020860161389d565b6145ba816138d0565b840191505092915050565b60006080820190506145da60008301876139d1565b6145e760208301866139d1565b6145f46040830185613a9f565b8181036060830152614606818461458c565b905095945050505050565b600081519050614620816137bb565b92915050565b60006020828403121561463c5761463b613785565b5b600061464a84828501614611565b91505092915050565b600061465e8261393c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156146915761469061416b565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006146d68261393c565b91506146e18361393c565b9250826146f1576146f061469c565b5b828204905092915050565b60006147078261393c565b91506147128361393c565b9250828210156147255761472461416b565b5b828203905092915050565b600061473b8261393c565b91506147468361393c565b9250826147565761475561469c565b5b828206905092915050565b600061476c8261393c565b91506147778361393c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156147ac576147ab61416b565b5b82820190509291505056fea264697066735822122007d24f1770009b00c46b5808e09de4299e3e4f8f47c3f4ae689e7dde905c176264736f6c634300080b003300000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000011c37937e08000000000000000000000000000000000000000000000000000000000000000013880000000000000000000000000000000000000000000000000000000000000012436f6d6963426f78656c7347656e6573697300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005636247454e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001f697066733a2f2f706c616365686f6c6465725f756e74696c5f72657665616c000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f516d5476667973434a35486d4367765a7035584a5835414b4678617359645a47684650517347484d507047755a722f636f6e74726163742e6a736f6e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046697066733a2f2f516d5476667973434a35486d4367765a7035584a5835414b4678617359645a47684650517347484d507047755a722f504c414345484f4c4445522e6a736f6e0000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061020f5760003560e01c80636352211e116101185780639d5c3f40116100a0578063b88d4fde1161006f578063b88d4fde14610746578063c87b56dd1461076f578063e8a3d485146107ac578063e985e9c5146107d7578063f2fde38b146108145761020f565b80639d5c3f40146106b2578063a035b1fe146106db578063a22cb46514610706578063a475b5dd1461072f5761020f565b80637313cba9116100e75780637313cba9146105cb5780638462151c146105f65780638da5cb5b14610633578063938e3d7b1461065e57806395d89b41146106875761020f565b80636352211e1461050f5780636c0360eb1461054c57806370a0823114610577578063715018a6146105b45761020f565b80632913daa01161019b57806342966c681161016a57806342966c681461043c5780634b09b72a146104655780634c4982031461049057806351830227146104bb57806355f804b3146104e65761020f565b80632913daa0146103a85780633574a2dd146103d35780633ccfd60b146103fc57806342842e0e146104135761020f565b8063095ea7b3116101e2578063095ea7b3146102e45780630d2a8ebc1461030d57806318160ddd1461033857806323b872dd1461036357806323cf0a221461038c5761020f565b806301ffc9a71461021457806306d586bb1461025157806306fdde031461027c578063081812fc146102a7575b600080fd5b34801561022057600080fd5b5061023b600480360381019061023691906137e7565b61083d565b604051610248919061382f565b60405180910390f35b34801561025d57600080fd5b5061026661091f565b6040516102739190613866565b60405180910390f35b34801561028857600080fd5b50610291610932565b60405161029e919061391a565b60405180910390f35b3480156102b357600080fd5b506102ce60048036038101906102c99190613972565b6109c4565b6040516102db91906139e0565b60405180910390f35b3480156102f057600080fd5b5061030b60048036038101906103069190613a27565b610a40565b005b34801561031957600080fd5b50610322610b4b565b60405161032f9190613a84565b60405180910390f35b34801561034457600080fd5b5061034d610b5f565b60405161035a9190613aae565b60405180910390f35b34801561036f57600080fd5b5061038a60048036038101906103859190613ac9565b610b76565b005b6103a660048036038101906103a19190613b48565b610b86565b005b3480156103b457600080fd5b506103bd610f54565b6040516103ca9190613866565b60405180910390f35b3480156103df57600080fd5b506103fa60048036038101906103f59190613caa565b610f67565b005b34801561040857600080fd5b50610411610ffd565b005b34801561041f57600080fd5b5061043a60048036038101906104359190613ac9565b61111e565b005b34801561044857600080fd5b50610463600480360381019061045e9190613972565b61113e565b005b34801561047157600080fd5b5061047a61114a565b6040516104879190613a84565b60405180910390f35b34801561049c57600080fd5b506104a561116e565b6040516104b29190613d6a565b60405180910390f35b3480156104c757600080fd5b506104d0611181565b6040516104dd919061382f565b60405180910390f35b3480156104f257600080fd5b5061050d60048036038101906105089190613caa565b611194565b005b34801561051b57600080fd5b5061053660048036038101906105319190613972565b61122a565b60405161054391906139e0565b60405180910390f35b34801561055857600080fd5b50610561611240565b60405161056e919061391a565b60405180910390f35b34801561058357600080fd5b5061059e60048036038101906105999190613d85565b6112d2565b6040516105ab9190613aae565b60405180910390f35b3480156105c057600080fd5b506105c96113a2565b005b3480156105d757600080fd5b506105e061142a565b6040516105ed919061391a565b60405180910390f35b34801561060257600080fd5b5061061d60048036038101906106189190613d85565b6114bc565b60405161062a9190613e70565b60405180910390f35b34801561063f57600080fd5b506106486116b3565b60405161065591906139e0565b60405180910390f35b34801561066a57600080fd5b5061068560048036038101906106809190613caa565b6116dd565b005b34801561069357600080fd5b5061069c611773565b6040516106a9919061391a565b60405180910390f35b3480156106be57600080fd5b506106d960048036038101906106d49190613eb7565b611805565b005b3480156106e757600080fd5b506106f0611a20565b6040516106fd9190613aae565b60405180910390f35b34801561071257600080fd5b5061072d60048036038101906107289190613f10565b611a44565b005b34801561073b57600080fd5b50610744611bbc565b005b34801561075257600080fd5b5061076d60048036038101906107689190613ff1565b611c81565b005b34801561077b57600080fd5b5061079660048036038101906107919190613972565b611cfd565b6040516107a3919061391a565b60405180910390f35b3480156107b857600080fd5b506107c1611e72565b6040516107ce919061391a565b60405180910390f35b3480156107e357600080fd5b506107fe60048036038101906107f99190614074565b611f04565b60405161080b919061382f565b60405180910390f35b34801561082057600080fd5b5061083b60048036038101906108369190613d85565b611f98565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061090857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109185750610917826120b3565b5b9050919050565b600d60059054906101000a900460ff1681565b606060028054610941906140e3565b80601f016020809104026020016040519081016040528092919081815260200182805461096d906140e3565b80156109ba5780601f1061098f576101008083540402835291602001916109ba565b820191906000526020600020905b81548152906001019060200180831161099d57829003601f168201915b5050505050905090565b60006109cf8261211d565b610a05576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a4b8261122a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ab3576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ad261216b565b73ffffffffffffffffffffffffffffffffffffffff1614158015610b045750610b0281610afd61216b565b611f04565b155b15610b3b576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b46838383612173565b505050565b600d60029054906101000a900461ffff1681565b6000610b69612225565b6001546000540303905090565b610b8183838361222e565b505050565b60006002811115610b9a57610b99613cf3565b5b600d60019054906101000a900460ff166002811115610bbc57610bbb613cf3565b5b1415610bf4576040517fe506439500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d60049054906101000a900460ff1660ff168161ffff16118015610c4c5750610c1c6116b3565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b15610c9d57600d60049054906101000a900460ff166040517f31dd2472000000000000000000000000000000000000000000000000000000008152600401610c949190614150565b60405180910390fd5b6000600d60029054906101000a900461ffff1661ffff161480610cf757506000600d60029054906101000a900461ffff1661ffff16118015610cf657508061ffff16600d60029054906101000a900461ffff1661ffff16105b5b15610d4957600d60029054906101000a900461ffff166040517f3032d9b4000000000000000000000000000000000000000000000000000000008152600401610d409190613a84565b60405180910390fd5b6000610d543361271f565b9050600d60059054906101000a900460ff1660ff16828260ff16610d78919061419a565b61ffff16118015610dbc5750610d8c6116b3565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b15610e1157600d60059054906101000a900460ff1681836040517f2c84a650000000000000000000000000000000000000000000000000000000008152600401610e08939291906141d2565b60405180910390fd5b6000610e1b6116b3565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610e55576000610e86565b7f000000000000000000000000000000000000000000000000011c37937e0800008361ffff16610e859190614209565b5b905080341015610ecf5734816040517fb99e2ab7000000000000000000000000000000000000000000000000000000008152600401610ec6929190614263565b60405180910390fd5b610edd338461ffff166127ef565b600083600d60029054906101000a900461ffff160361ffff1610610f305782600d60028282829054906101000a900461ffff160392506101000a81548161ffff021916908361ffff160217905550610f4f565b6000600d60026101000a81548161ffff021916908361ffff1602179055505b505050565b600d60049054906101000a900460ff1681565b610f6f61216b565b73ffffffffffffffffffffffffffffffffffffffff16610f8d6116b3565b73ffffffffffffffffffffffffffffffffffffffff1614610fe3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fda906142d8565b60405180910390fd5b80600c9080519060200190610ff9929190613695565b5050565b60026009541415611043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103a90614344565b60405180910390fd5b600260098190555061105361216b565b73ffffffffffffffffffffffffffffffffffffffff166110716116b3565b73ffffffffffffffffffffffffffffffffffffffff16146110c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110be906142d8565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611112573d6000803e3d6000fd5b50506001600981905550565b61113983838360405180602001604052806000815250611c81565b505050565b6111478161280d565b50565b7f00000000000000000000000000000000000000000000000000000000000001bf81565b600d60019054906101000a900460ff1681565b600d60009054906101000a900460ff1681565b61119c61216b565b73ffffffffffffffffffffffffffffffffffffffff166111ba6116b3565b73ffffffffffffffffffffffffffffffffffffffff1614611210576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611207906142d8565b60405180910390fd5b80600a9080519060200190611226929190613695565b5050565b6000611235826128fe565b600001519050919050565b6060600a805461124f906140e3565b80601f016020809104026020016040519081016040528092919081815260200182805461127b906140e3565b80156112c85780601f1061129d576101008083540402835291602001916112c8565b820191906000526020600020905b8154815290600101906020018083116112ab57829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561133a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6113aa61216b565b73ffffffffffffffffffffffffffffffffffffffff166113c86116b3565b73ffffffffffffffffffffffffffffffffffffffff161461141e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611415906142d8565b60405180910390fd5b6114286000612b8d565b565b6060600c8054611439906140e3565b80601f0160208091040260200160405190810160405280929190818152602001828054611465906140e3565b80156114b25780601f10611487576101008083540402835291602001916114b2565b820191906000526020600020905b81548152906001019060200180831161149557829003601f168201915b5050505050905090565b606060006114c9836112d2565b67ffffffffffffffff8111156114e2576114e1613b7f565b5b6040519080825280602002602001820160405280156115105781602001602082028036833780820191505090505b50905060008054905060008060005b838110156116a6576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151156115fc5750611699565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461163c57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611697578186858060010196508151811061168a57611689614364565b5b6020026020010181815250505b505b808060010191505061151f565b5083945050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6116e561216b565b73ffffffffffffffffffffffffffffffffffffffff166117036116b3565b73ffffffffffffffffffffffffffffffffffffffff1614611759576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611750906142d8565b60405180910390fd5b80600b908051906020019061176f929190613695565b5050565b606060038054611782906140e3565b80601f01602080910402602001604051908101604052809291908181526020018280546117ae906140e3565b80156117fb5780601f106117d0576101008083540402835291602001916117fb565b820191906000526020600020905b8154815290600101906020018083116117de57829003601f168201915b5050505050905090565b61180d61216b565b73ffffffffffffffffffffffffffffffffffffffff1661182b6116b3565b73ffffffffffffffffffffffffffffffffffffffff1614611881576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611878906142d8565b60405180910390fd5b6000600281111561189557611894613cf3565b5b8160028111156118a8576118a7613cf3565b5b14156118eb576000600d60046101000a81548160ff021916908360ff1602179055506000600d60056101000a81548160ff021916908360ff1602179055506119bc565b600160028111156118ff576118fe613cf3565b5b81600281111561191257611911613cf3565b5b1415611955576003600d60046101000a81548160ff021916908360ff1602179055506003600d60056101000a81548160ff021916908360ff1602179055506119bb565b60028081111561196857611967613cf3565b5b81600281111561197b5761197a613cf3565b5b14156119ba57600a600d60046101000a81548160ff021916908360ff160217905550601e600d60056101000a81548160ff021916908360ff1602179055505b5b5b80600d60016101000a81548160ff021916908360028111156119e1576119e0613cf3565b5b02179055507ff20e5f51c40ecd792e74bf9d0bb09ce7ba6f2191e53df39f6173aacd3c9cd70381604051611a159190613d6a565b60405180910390a150565b7f000000000000000000000000000000000000000000000000011c37937e08000081565b611a4c61216b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ab1576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611abe61216b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b6b61216b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611bb0919061382f565b60405180910390a35050565b611bc461216b565b73ffffffffffffffffffffffffffffffffffffffff16611be26116b3565b73ffffffffffffffffffffffffffffffffffffffff1614611c38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2f906142d8565b60405180910390fd5b6001600d60006101000a81548160ff0219169083151502179055507fcac6e2aaaf564852172624502fe16bee5369a581f840e46b84a49cf4626abb1460405160405180910390a1565b611c8c84848461222e565b611cab8373ffffffffffffffffffffffffffffffffffffffff16612090565b8015611cc05750611cbe84848484612c53565b155b15611cf7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6060611d088261211d565b611d3e576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d60009054906101000a900460ff1615611db2576000600a8054611d62906140e3565b90501415611d7f5760405180602001604052806000815250611dab565b600a611d8a83612da4565b604051602001611d9b9291906144af565b6040516020818303038152906040525b9050611e6d565b6000600c8054611dc1906140e3565b90501415611dde5760405180602001604052806000815250611e6a565b600c8054611deb906140e3565b80601f0160208091040260200160405190810160405280929190818152602001828054611e17906140e3565b8015611e645780601f10611e3957610100808354040283529160200191611e64565b820191906000526020600020905b815481529060010190602001808311611e4757829003601f168201915b50505050505b90505b919050565b6060600b8054611e81906140e3565b80601f0160208091040260200160405190810160405280929190818152602001828054611ead906140e3565b8015611efa5780601f10611ecf57610100808354040283529160200191611efa565b820191906000526020600020905b815481529060010190602001808311611edd57829003601f168201915b5050505050905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611fa061216b565b73ffffffffffffffffffffffffffffffffffffffff16611fbe6116b3565b73ffffffffffffffffffffffffffffffffffffffff1614612014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200b906142d8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612084576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207b90614550565b60405180910390fd5b61208d81612b8d565b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612128612225565b11158015612137575060005482105b8015612164575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000612239826128fe565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661226061216b565b73ffffffffffffffffffffffffffffffffffffffff1614806122935750612292826000015161228d61216b565b611f04565b5b806122d857506122a161216b565b73ffffffffffffffffffffffffffffffffffffffff166122c0846109c4565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612311576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461237a576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156123e1576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123ee8585856001612f05565b6123fe6000848460000151612173565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156126af576000548110156126ae5782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127188585856001612f0b565b5050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612787576040517f35ebb31900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b612809828260405180602001604052806000815250612f11565b5050565b6000612818826128fe565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661283f61216b565b73ffffffffffffffffffffffffffffffffffffffff1614806128725750612871826000015161286c61216b565b611f04565b5b806128b7575061288061216b565b73ffffffffffffffffffffffffffffffffffffffff1661289f846109c4565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806128f0576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6128f983612f23565b505050565b61290661371b565b600082905080612914612225565b11158015612923575060005481105b15612b56576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612b5457600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a38578092505050612b88565b5b600115612b5357818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612b4e578092505050612b88565b612a39565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c7961216b565b8786866040518563ffffffff1660e01b8152600401612c9b94939291906145c5565b6020604051808303816000875af1925050508015612cd757506040513d601f19601f82011682018060405250810190612cd49190614626565b60015b612d51573d8060008114612d07576040519150601f19603f3d011682016040523d82523d6000602084013e612d0c565b606091505b50600081511415612d49576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612dec576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612f00565b600082905060005b60008214612e1e578080612e0790614653565b915050600a82612e1791906146cb565b9150612df4565b60008167ffffffffffffffff811115612e3a57612e39613b7f565b5b6040519080825280601f01601f191660200182016040528015612e6c5781602001600182028036833780820191505090505b5090505b60008514612ef957600182612e8591906146fc565b9150600a85612e949190614730565b6030612ea09190614761565b60f81b818381518110612eb657612eb5614364565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ef291906146cb565b9450612e70565b8093505050505b919050565b50505050565b50505050565b612f1e83838360016132c7565b505050565b6000612f2e826128fe565b9050612f4281600001516000846001612f05565b612f526000838360000151612173565b600160056000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160056000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555080600001516004600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600084815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160046000848152602001908152602001600020600001601c6101000a81548160ff0219169083151502179055506000600183019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561323e5760005481101561323d5781600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b5081600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46132b181600001516000846001612f0b565b6001600081548092919060010191905055505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613334576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084141561336f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61337c6000868387612f05565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561354657506135458773ffffffffffffffffffffffffffffffffffffffff16612090565b5b1561360c575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46135bb6000888480600101955088612c53565b6135f1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082141561354c57826000541461360757600080fd5b613678565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082141561360d575b81600081905550505061368e6000868387612f0b565b5050505050565b8280546136a1906140e3565b90600052602060002090601f0160209004810192826136c3576000855561370a565b82601f106136dc57805160ff191683800117855561370a565b8280016001018555821561370a579182015b828111156137095782518255916020019190600101906136ee565b5b509050613717919061375e565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561377757600081600090555060010161375f565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6137c48161378f565b81146137cf57600080fd5b50565b6000813590506137e1816137bb565b92915050565b6000602082840312156137fd576137fc613785565b5b600061380b848285016137d2565b91505092915050565b60008115159050919050565b61382981613814565b82525050565b60006020820190506138446000830184613820565b92915050565b600060ff82169050919050565b6138608161384a565b82525050565b600060208201905061387b6000830184613857565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156138bb5780820151818401526020810190506138a0565b838111156138ca576000848401525b50505050565b6000601f19601f8301169050919050565b60006138ec82613881565b6138f6818561388c565b935061390681856020860161389d565b61390f816138d0565b840191505092915050565b6000602082019050818103600083015261393481846138e1565b905092915050565b6000819050919050565b61394f8161393c565b811461395a57600080fd5b50565b60008135905061396c81613946565b92915050565b60006020828403121561398857613987613785565b5b60006139968482850161395d565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006139ca8261399f565b9050919050565b6139da816139bf565b82525050565b60006020820190506139f560008301846139d1565b92915050565b613a04816139bf565b8114613a0f57600080fd5b50565b600081359050613a21816139fb565b92915050565b60008060408385031215613a3e57613a3d613785565b5b6000613a4c85828601613a12565b9250506020613a5d8582860161395d565b9150509250929050565b600061ffff82169050919050565b613a7e81613a67565b82525050565b6000602082019050613a996000830184613a75565b92915050565b613aa88161393c565b82525050565b6000602082019050613ac36000830184613a9f565b92915050565b600080600060608486031215613ae257613ae1613785565b5b6000613af086828701613a12565b9350506020613b0186828701613a12565b9250506040613b128682870161395d565b9150509250925092565b613b2581613a67565b8114613b3057600080fd5b50565b600081359050613b4281613b1c565b92915050565b600060208284031215613b5e57613b5d613785565b5b6000613b6c84828501613b33565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613bb7826138d0565b810181811067ffffffffffffffff82111715613bd657613bd5613b7f565b5b80604052505050565b6000613be961377b565b9050613bf58282613bae565b919050565b600067ffffffffffffffff821115613c1557613c14613b7f565b5b613c1e826138d0565b9050602081019050919050565b82818337600083830152505050565b6000613c4d613c4884613bfa565b613bdf565b905082815260208101848484011115613c6957613c68613b7a565b5b613c74848285613c2b565b509392505050565b600082601f830112613c9157613c90613b75565b5b8135613ca1848260208601613c3a565b91505092915050565b600060208284031215613cc057613cbf613785565b5b600082013567ffffffffffffffff811115613cde57613cdd61378a565b5b613cea84828501613c7c565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110613d3357613d32613cf3565b5b50565b6000819050613d4482613d22565b919050565b6000613d5482613d36565b9050919050565b613d6481613d49565b82525050565b6000602082019050613d7f6000830184613d5b565b92915050565b600060208284031215613d9b57613d9a613785565b5b6000613da984828501613a12565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613de78161393c565b82525050565b6000613df98383613dde565b60208301905092915050565b6000602082019050919050565b6000613e1d82613db2565b613e278185613dbd565b9350613e3283613dce565b8060005b83811015613e63578151613e4a8882613ded565b9750613e5583613e05565b925050600181019050613e36565b5085935050505092915050565b60006020820190508181036000830152613e8a8184613e12565b905092915050565b60038110613e9f57600080fd5b50565b600081359050613eb181613e92565b92915050565b600060208284031215613ecd57613ecc613785565b5b6000613edb84828501613ea2565b91505092915050565b613eed81613814565b8114613ef857600080fd5b50565b600081359050613f0a81613ee4565b92915050565b60008060408385031215613f2757613f26613785565b5b6000613f3585828601613a12565b9250506020613f4685828601613efb565b9150509250929050565b600067ffffffffffffffff821115613f6b57613f6a613b7f565b5b613f74826138d0565b9050602081019050919050565b6000613f94613f8f84613f50565b613bdf565b905082815260208101848484011115613fb057613faf613b7a565b5b613fbb848285613c2b565b509392505050565b600082601f830112613fd857613fd7613b75565b5b8135613fe8848260208601613f81565b91505092915050565b6000806000806080858703121561400b5761400a613785565b5b600061401987828801613a12565b945050602061402a87828801613a12565b935050604061403b8782880161395d565b925050606085013567ffffffffffffffff81111561405c5761405b61378a565b5b61406887828801613fc3565b91505092959194509250565b6000806040838503121561408b5761408a613785565b5b600061409985828601613a12565b92505060206140aa85828601613a12565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806140fb57607f821691505b6020821081141561410f5761410e6140b4565b5b50919050565b6000819050919050565b600061413a6141356141308461384a565b614115565b613a67565b9050919050565b61414a8161411f565b82525050565b60006020820190506141656000830184614141565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006141a582613a67565b91506141b083613a67565b92508261ffff038211156141c7576141c661416b565b5b828201905092915050565b60006060820190506141e76000830186614141565b6141f46020830185614141565b6142016040830184613a75565b949350505050565b60006142148261393c565b915061421f8361393c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156142585761425761416b565b5b828202905092915050565b60006040820190506142786000830185613a9f565b6142856020830184613a9f565b9392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006142c260208361388c565b91506142cd8261428c565b602082019050919050565b600060208201905081810360008301526142f1816142b5565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061432e601f8361388c565b9150614339826142f8565b602082019050919050565b6000602082019050818103600083015261435d81614321565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081905092915050565b60008190508160005260206000209050919050565b600081546143c0816140e3565b6143ca8186614393565b945060018216600081146143e557600181146143f657614429565b60ff19831686528186019350614429565b6143ff8561439e565b60005b8381101561442157815481890152600182019150602081019050614402565b838801955050505b50505092915050565b600061443d82613881565b6144478185614393565b935061445781856020860161389d565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614499600583614393565b91506144a482614463565b600582019050919050565b60006144bb82856143b3565b91506144c78284614432565b91506144d28261448c565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061453a60268361388c565b9150614545826144de565b604082019050919050565b600060208201905081810360008301526145698161452d565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061459782614570565b6145a1818561457b565b93506145b181856020860161389d565b6145ba816138d0565b840191505092915050565b60006080820190506145da60008301876139d1565b6145e760208301866139d1565b6145f46040830185613a9f565b8181036060830152614606818461458c565b905095945050505050565b600081519050614620816137bb565b92915050565b60006020828403121561463c5761463b613785565b5b600061464a84828501614611565b91505092915050565b600061465e8261393c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156146915761469061416b565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006146d68261393c565b91506146e18361393c565b9250826146f1576146f061469c565b5b828204905092915050565b60006147078261393c565b91506147128361393c565b9250828210156147255761472461416b565b5b828203905092915050565b600061473b8261393c565b91506147468361393c565b9250826147565761475561469c565b5b828206905092915050565b600061476c8261393c565b91506147778361393c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156147ac576147ab61416b565b5b82820190509291505056fea264697066735822122007d24f1770009b00c46b5808e09de4299e3e4f8f47c3f4ae689e7dde905c176264736f6c634300080b0033

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

00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000011c37937e08000000000000000000000000000000000000000000000000000000000000000013880000000000000000000000000000000000000000000000000000000000000012436f6d6963426f78656c7347656e6573697300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005636247454e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001f697066733a2f2f706c616365686f6c6465725f756e74696c5f72657665616c000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f516d5476667973434a35486d4367765a7035584a5835414b4678617359645a47684650517347484d507047755a722f636f6e74726163742e6a736f6e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046697066733a2f2f516d5476667973434a35486d4367765a7035584a5835414b4678617359645a47684650517347484d507047755a722f504c414345484f4c4445522e6a736f6e0000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): ComicBoxelsGenesis
Arg [1] : symbol_ (string): cbGEN
Arg [2] : baseURI_ (string): ipfs://placeholder_until_reveal
Arg [3] : contractURI_ (string): ipfs://QmTvfysCJ5HmCgvZp5XJX5AKFxasYdZGhFPQsGHMPpGuZr/contract.json
Arg [4] : placeholderURI_ (string): ipfs://QmTvfysCJ5HmCgvZp5XJX5AKFxasYdZGhFPQsGHMPpGuZr/PLACEHOLDER.json
Arg [5] : price_ (uint256): 80000000000000000
Arg [6] : maxSupply_ (uint16): 5000

-----Encoded View---------------
21 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [5] : 000000000000000000000000000000000000000000000000011c37937e080000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000001388
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [8] : 436f6d6963426f78656c7347656e657369730000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [10] : 636247454e000000000000000000000000000000000000000000000000000000
Arg [11] : 000000000000000000000000000000000000000000000000000000000000001f
Arg [12] : 697066733a2f2f706c616365686f6c6465725f756e74696c5f72657665616c00
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [14] : 697066733a2f2f516d5476667973434a35486d4367765a7035584a5835414b46
Arg [15] : 78617359645a47684650517347484d507047755a722f636f6e74726163742e6a
Arg [16] : 736f6e0000000000000000000000000000000000000000000000000000000000
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000046
Arg [18] : 697066733a2f2f516d5476667973434a35486d4367765a7035584a5835414b46
Arg [19] : 78617359645a47684650517347484d507047755a722f504c414345484f4c4445
Arg [20] : 522e6a736f6e0000000000000000000000000000000000000000000000000000


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.