Oko contract explorer
Contract

Code for 0xb325…f133 (ERC721)

Since block 14928080

Verified contract

  1. {{
  2. "language": "Solidity",
  3. "sources": {
  4. "/contracts/ERC721.sol": {
  5. "content": "// SPDX-License-Identifier: AGPL-3.0\n\npragma solidity ^0.8.9;\n\nimport \"@openzeppelin/contracts/access/Ownable.sol\";\nimport \"@openzeppelin/contracts/finance/PaymentSplitter.sol\";\nimport \"@openzeppelin/contracts/security/Pausable.sol\";\nimport \"@openzeppelin/contracts/utils/cryptography/MerkleProof.sol\";\nimport \"./external/ERC721AWithRoyalties.sol\";\n\n// @author rollauver.eth\n\ncontract ERC721 is Ownable, ERC721AWithRoyalties, Pausable, PaymentSplitter {\n string public _baseTokenURI;\n\n bytes32 public _merkleRoot;\n\n uint256 public _price;\n uint256 public _presalePrice;\n uint256 public _maxSupply;\n uint256 public _maxPerAddress;\n uint256 public _presaleMaxPerAddress;\n uint256 public _publicSaleTime;\n uint256 public _preSaleTime;\n uint256 public _maxTxPerAddress;\n mapping(address => uint256) private _purchases;\n\n event EarlyPurchase(address indexed addr, uint256 indexed atPrice, uint256 indexed count);\n event Purchase(address indexed addr, uint256 indexed atPrice, uint256 indexed count);\n\n constructor(\n string memory name,\n string memory symbol,\n string memory baseTokenURI, // baseTokenURI - 0\n uint256[] memory numericValues, // price - 0, presalePrice - 1, maxSupply - 2, maxPerAddress - 3, presaleMaxPerAddress - 4, publicSaleTime - 5, _preSaleTime - 6, _maxTxPerAddress - 7\n bytes32 merkleRoot,\n address[] memory payees,\n uint256[] memory shares,\n address royaltyRecipient,\n uint256 royaltyAmount\n ) ERC721AWithRoyalties(name, symbol, numericValues[2], royaltyRecipient, royaltyAmount) PaymentSplitter(payees, shares) {\n _baseTokenURI = baseTokenURI;\n\n _price = numericValues[0];\n _presalePrice = numericValues[1];\n _maxSupply = numericValues[2];\n _maxPerAddress = numericValues[3];\n _presaleMaxPerAddress = numericValues[4];\n _publicSaleTime = numericValues[5];\n _preSaleTime = numericValues[6];\n _maxTxPerAddress = numericValues[7];\n\n _merkleRoot = merkleRoot;\n }\n\n function setSaleInformation(\n uint256 publicSaleTime,\n uint256 preSaleTime,\n uint256 maxPerAddress,\n uint256 presaleMaxPerAddress,\n uint256 price,\n uint256 presalePrice,\n bytes32 merkleRoot,\n uint256 maxTxPerAddress\n ) external onlyOwner {\n _publicSaleTime = publicSaleTime;\n _preSaleTime = preSaleTime;\n _maxPerAddress = maxPerAddress;\n _presaleMaxPerAddress = presaleMaxPerAddress;\n _price = price;\n _presalePrice = presalePrice;\n _merkleRoot = merkleRoot;\n _maxTxPerAddress = maxTxPerAddress;\n }\n\n function setBaseUri(\n string memory baseUri\n ) external onlyOwner {\n _baseTokenURI = baseUri;\n }\n\n function setMerkleRoot(bytes32 merkleRoot) external onlyOwner {\n _merkleRoot = merkleRoot;\n }\n\n function _baseURI() override internal view virtual returns (string memory) {\n return string(\n abi.encodePacked(\n _baseTokenURI,\n Strings.toHexString(uint256(uint160(address(this))), 20),\n '/'\n )\n );\n }\n\n function mint(address to, uint256 count) external payable onlyOwner {\n ensureMintConditions(count);\n\n _safeMint(to, count);\n }\n\n function purchase(uint256 count) external payable whenNotPaused {\n ensurePublicMintConditions(msg.sender, count, _maxPerAddress);\n require(isPublicSaleActive(), \"BASE_COLLECTION/CANNOT_MINT\");\n\n _purchase(count, _price);\n emit Purchase(msg.sender, _price, count);\n }\n\n function earlyPurchase(uint256 count, bytes32[] calldata merkleProof) external payable whenNotPaused {\n ensurePublicMintConditions(msg.sender, count, _presaleMaxPerAddress);\n require(isPreSaleActive() && onEarlyPurchaseList(msg.sender, merkleProof), \"BASE_COLLECTION/CANNOT_MINT_PRESALE\");\n\n _purchase(count, _presalePrice);\n emit EarlyPurchase(msg.sender, _presalePrice, count);\n }\n\n function _purchase(uint256 count, uint256 price) private {\n require(price * count <= msg.value, 'BASE_COLLECTION/INSUFFICIENT_ETH_AMOUNT');\n\n _purchases[msg.sender] += count;\n _safeMint(msg.sender, count);\n }\n\n function ensureMintConditions(uint256 count) internal view {\n require(totalSupply() + count <= _maxSupply, \"BASE_COLLECTION/EXCEEDS_MAX_SUPPLY\");\n }\n\n function ensurePublicMintConditions(address to, uint256 count, uint256 maxPerAddress) internal view {\n ensureMintConditions(count);\n\n require((_maxTxPerAddress == 0) || (count <= _maxTxPerAddress), \"BASE_COLLECTION/EXCEEDS_MAX_PER_TRANSACTION\");\n uint256 totalMintFromAddress = _purchases[to] + count;\n require ((maxPerAddress == 0) || (totalMintFromAddress <= maxPerAddress), \"BASE_COLLECTION/EXCEEDS_INDIVIDUAL_SUPPLY\");\n }\n\n function isPublicSaleActive() public view returns (bool) {\n return (_publicSaleTime == 0 || _publicSaleTime < block.timestamp);\n }\n\n function isPreSaleActive() public view returns (bool) {\n return (_preSaleTime == 0 || (_preSaleTime < block.timestamp) && (block.timestamp < _publicSaleTime));\n }\n\n function onEarlyPurchaseList(address addr, bytes32[] calldata merkleProof) public view returns (bool) {\n require(_merkleRoot.length > 0, \"BASE_COLLECTION/PRESALE_MINT_LIST_UNSET\");\n\n bytes32 node = keccak256(abi.encodePacked(addr));\n return MerkleProof.verify(merkleProof, _merkleRoot, node);\n }\n\n function MAX_TOTAL_MINT() public view returns (uint256) {\n return _maxSupply;\n }\n\n function PRICE() public view returns (uint256) {\n if (isPreSaleActive()) {\n return _presalePrice;\n }\n\n return _price;\n }\n\n function MAX_TOTAL_MINT_PER_ADDRESS() public view returns (uint256) {\n if (isPreSaleActive()) {\n return _presaleMaxPerAddress;\n }\n\n return _maxPerAddress;\n }\n\n function pause() external onlyOwner {\n _pause();\n }\n\n function unpause() external onlyOwner {\n _unpause();\n }\n}\n"
  6. },
  7. "/contracts/external/IERC2981Royalties.sol": {
  8. "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title IERC2981Royalties\n/// @dev Interface for the ERC2981 - Token Royalty standard\ninterface IERC2981Royalties {\n /// @notice Called with the sale price to determine how much royalty\n // is owed and to whom.\n /// @param _tokenId - the NFT asset queried for royalty information\n /// @param _value - the sale price of the NFT asset specified by _tokenId\n /// @return _receiver - address of who should be sent the royalty payment\n /// @return _royaltyAmount - the royalty payment amount for value sale price\n function royaltyInfo(uint256 _tokenId, uint256 _value)\n external\n view\n returns (address _receiver, uint256 _royaltyAmount);\n}\n"
  9. },
  10. "/contracts/external/ERC721AWithRoyalties.sol": {
  11. "content": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.9;\n\nimport \"@openzeppelin/contracts/access/Ownable.sol\";\nimport \"./ERC721A.sol\";\nimport \"./IERC2981Royalties.sol\";\n\n// @author rollauver.eth\n\ncontract ERC721AWithRoyalties is\n Ownable,\n ERC721A,\n IERC2981Royalties\n{\n struct RoyaltyInfo {\n address recipient;\n uint24 amount;\n }\n RoyaltyInfo private _royalties;\n\n constructor(\n string memory name_,\n string memory symbol_,\n uint256 maxBatchSize_,\n address royaltyRecipient,\n uint256 royaltyValue\n ) ERC721A(name_, symbol_, maxBatchSize_) {\n _setRoyalties(royaltyRecipient, royaltyValue);\n }\n \n /// @inheritdoc ERC165\n function supportsInterface(bytes4 interfaceId)\n public\n view\n virtual\n override\n returns (bool)\n {\n return\n interfaceId == type(IERC2981Royalties).interfaceId ||\n super.supportsInterface(interfaceId);\n }\n\n /// @dev Sets token royalties\n /// @param recipient recipient of the royalties\n /// @param value percentage (using 2 decimals - 10000 = 100, 0 = 0)\n function _setRoyalties(address recipient, uint256 value) internal {\n require(value <= 10000, 'ERC2981Royalties: Too high');\n _royalties = RoyaltyInfo(recipient, uint24(value));\n }\n\n /// @inheritdoc IERC2981Royalties\n function royaltyInfo(uint256, uint256 value)\n external\n view\n override\n returns (address receiver, uint256 royaltyAmount)\n {\n RoyaltyInfo memory royalties = _royalties;\n receiver = royalties.recipient;\n royaltyAmount = (value * royalties.amount) / 10000;\n }\n\n function updateRoyalties(address recipient, uint256 value) external onlyOwner {\n _setRoyalties(recipient, value);\n }\n}\n"
  12. },
  13. "/contracts/external/ERC721A.sol": {
  14. "content": "// SPDX-License-Identifier: MIT\n// Creators: locationtba.eth, 2pmflow.eth\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/token/ERC721/IERC721.sol\";\nimport \"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\";\nimport \"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\";\nimport \"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol\";\nimport \"@openzeppelin/contracts/utils/Address.sol\";\nimport \"@openzeppelin/contracts/utils/Context.sol\";\nimport \"@openzeppelin/contracts/utils/Strings.sol\";\nimport \"@openzeppelin/contracts/utils/introspection/ERC165.sol\";\n\n/**\n * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including\n * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.\n *\n * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).\n *\n * Does not support burning tokens to address(0).\n */\ncontract ERC721A is\n Context,\n ERC165,\n IERC721,\n IERC721Metadata,\n IERC721Enumerable\n{\n using Address for address;\n using Strings for uint256;\n\n struct TokenOwnership {\n address addr;\n uint64 startTimestamp;\n }\n\n struct AddressData {\n uint128 balance;\n uint128 numberMinted;\n }\n\n uint256 private currentIndex = 1;\n\n uint256 internal immutable maxBatchSize;\n\n // Token name\n string private _name;\n\n // Token symbol\n string private _symbol;\n\n // Mapping from token ID to ownership details\n // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.\n mapping(uint256 => TokenOwnership) private _ownerships;\n\n // Mapping owner address to address data\n mapping(address => AddressData) private _addressData;\n\n // Mapping from token ID to approved address\n mapping(uint256 => address) private _tokenApprovals;\n\n // Mapping from owner to operator approvals\n mapping(address => mapping(address => bool)) private _operatorApprovals;\n\n /**\n * @dev\n * `maxBatchSize` refers to how much a minter can mint at a time.\n */\n constructor(\n string memory name_,\n string memory symbol_,\n uint256 maxBatchSize_\n ) {\n require(maxBatchSize_ > 0, \"ERC721A: max batch size must be nonzero\");\n _name = name_;\n _symbol = symbol_;\n maxBatchSize = maxBatchSize_;\n }\n\n /**\n * @dev See {IERC721Enumerable-totalSupply}.\n */\n function totalSupply() public view override returns (uint256) {\n return currentIndex - 1;\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenByIndex}.\n */\n function tokenByIndex(uint256 index) public view override returns (uint256) {\n require(index < totalSupply(), \"ERC721A: global index out of bounds\");\n return index;\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\n * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.\n * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index)\n public\n view\n override\n returns (uint256)\n {\n require(index < balanceOf(owner), \"ERC721A: owner index out of bounds\");\n uint256 numMintedSoFar = totalSupply();\n uint256 tokenIdsIdx = 0;\n address currOwnershipAddr = address(0);\n for (uint256 i = 0; i < numMintedSoFar; i++) {\n TokenOwnership memory ownership = _ownerships[i];\n if (ownership.addr != address(0)) {\n currOwnershipAddr = ownership.addr;\n }\n if (currOwnershipAddr == owner) {\n if (tokenIdsIdx == index) {\n return i;\n }\n tokenIdsIdx++;\n }\n }\n revert(\"ERC721A: unable to get token of owner by index\");\n }\n\n /**\n * @dev See {IERC165-supportsInterface}.\n */\n function supportsInterface(bytes4 interfaceId)\n public\n view\n virtual\n override(ERC165, IERC165)\n returns (bool)\n {\n return\n interfaceId == type(IERC721).interfaceId ||\n interfaceId == type(IERC721Metadata).interfaceId ||\n interfaceId == type(IERC721Enumerable).interfaceId ||\n super.supportsInterface(interfaceId);\n }\n\n /**\n * @dev See {IERC721-balanceOf}.\n */\n function balanceOf(address owner) public view override returns (uint256) {\n require(owner != address(0), \"ERC721A: balance query for the zero address\");\n return uint256(_addressData[owner].balance);\n }\n\n function _numberMinted(address owner) internal view returns (uint256) {\n require(\n owner != address(0),\n \"ERC721A: number minted query for the zero address\"\n );\n return uint256(_addressData[owner].numberMinted);\n }\n\n function ownershipOf(uint256 tokenId)\n internal\n view\n returns (TokenOwnership memory)\n {\n require(_exists(tokenId), \"ERC721A: owner query for nonexistent token\");\n\n uint256 lowestTokenToCheck;\n if (tokenId >= maxBatchSize) {\n lowestTokenToCheck = tokenId - maxBatchSize + 1;\n }\n\n for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) {\n TokenOwnership memory ownership = _ownerships[curr];\n if (ownership.addr != address(0)) {\n return ownership;\n }\n }\n\n revert(\"ERC721A: unable to determine the owner of token\");\n }\n\n /**\n * @dev See {IERC721-ownerOf}.\n */\n function ownerOf(uint256 tokenId) public view override returns (address) {\n return ownershipOf(tokenId).addr;\n }\n\n /**\n * @dev See {IERC721Metadata-name}.\n */\n function name() public view virtual override returns (string memory) {\n return _name;\n }\n\n /**\n * @dev See {IERC721Metadata-symbol}.\n */\n function symbol() public view virtual override returns (string memory) {\n return _symbol;\n }\n\n /**\n * @dev See {IERC721Metadata-tokenURI}.\n */\n function tokenURI(uint256 tokenId)\n public\n view\n virtual\n override\n returns (string memory)\n {\n require(\n _exists(tokenId),\n \"ERC721Metadata: URI query for nonexistent token\"\n );\n\n string memory baseURI = _baseURI();\n return\n bytes(baseURI).length > 0\n ? string(abi.encodePacked(baseURI, tokenId.toString()))\n : \"\";\n }\n\n /**\n * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each\n * token will be the concatenation of the `baseURI` and the `tokenId`. Empty\n * by default, can be overriden in child contracts.\n */\n function _baseURI() internal view virtual returns (string memory) {\n return \"\";\n }\n\n /**\n * @dev See {IERC721-approve}.\n */\n function approve(address to, uint256 tokenId) public override {\n address owner = ERC721A.ownerOf(tokenId);\n require(to != owner, \"ERC721A: approval to current owner\");\n\n require(\n _msgSender() == owner || isApprovedForAll(owner, _msgSender()),\n \"ERC721A: approve caller is not owner nor approved for all\"\n );\n\n _approve(to, tokenId, owner);\n }\n\n /**\n * @dev See {IERC721-getApproved}.\n */\n function getApproved(uint256 tokenId) public view override returns (address) {\n require(_exists(tokenId), \"ERC721A: approved query for nonexistent token\");\n\n return _tokenApprovals[tokenId];\n }\n\n /**\n * @dev See {IERC721-setApprovalForAll}.\n */\n function setApprovalForAll(address operator, bool approved) public override {\n require(operator != _msgSender(), \"ERC721A: approve to caller\");\n\n _operatorApprovals[_msgSender()][operator] = approved;\n emit ApprovalForAll(_msgSender(), operator, approved);\n }\n\n /**\n * @dev See {IERC721-isApprovedForAll}.\n */\n function isApprovedForAll(address owner, address operator)\n public\n view\n virtual\n override\n returns (bool)\n {\n return _operatorApprovals[owner][operator];\n }\n\n /**\n * @dev See {IERC721-transferFrom}.\n */\n function transferFrom(\n address from,\n address to,\n uint256 tokenId\n ) public override {\n _transfer(from, to, tokenId);\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(\n address from,\n address to,\n uint256 tokenId\n ) public override {\n safeTransferFrom(from, to, tokenId, \"\");\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(\n address from,\n address to,\n uint256 tokenId,\n bytes memory _data\n ) public override {\n _transfer(from, to, tokenId);\n require(\n _checkOnERC721Received(from, to, tokenId, _data),\n \"ERC721A: transfer to non ERC721Receiver implementer\"\n );\n }\n\n /**\n * @dev Returns whether `tokenId` exists.\n *\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n *\n * Tokens start existing when they are minted (`_mint`),\n */\n function _exists(uint256 tokenId) internal view returns (bool) {\n return tokenId < currentIndex;\n }\n\n function _safeMint(address to, uint256 quantity) internal {\n _safeMint(to, quantity, \"\");\n }\n\n /**\n * @dev Mints `quantity` tokens and transfers them to `to`.\n *\n * Requirements:\n *\n * - `to` cannot be the zero address.\n * - `quantity` cannot be larger than the max batch size.\n *\n * Emits a {Transfer} event.\n */\n function _safeMint(\n address to,\n uint256 quantity,\n bytes memory _data\n ) internal {\n uint256 startTokenId = currentIndex;\n require(to != address(0), \"ERC721A: mint to the zero address\");\n // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.\n require(!_exists(startTokenId), \"ERC721A: token already minted\");\n require(quantity <= maxBatchSize, \"ERC721A: quantity to mint too high\");\n\n _beforeTokenTransfers(address(0), to, startTokenId, quantity);\n\n AddressData memory addressData = _addressData[to];\n _addressData[to] = AddressData(\n addressData.balance + uint128(quantity),\n addressData.numberMinted + uint128(quantity)\n );\n _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));\n\n uint256 updatedIndex = startTokenId;\n\n for (uint256 i = 0; i < quantity; i++) {\n emit Transfer(address(0), to, updatedIndex);\n require(\n _checkOnERC721Received(address(0), to, updatedIndex, _data),\n \"ERC721A: transfer to non ERC721Receiver implementer\"\n );\n updatedIndex++;\n }\n\n currentIndex = updatedIndex;\n _afterTokenTransfers(address(0), to, startTokenId, quantity);\n }\n\n /**\n * @dev Transfers `tokenId` from `from` to `to`.\n *\n * Requirements:\n *\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n *\n * Emits a {Transfer} event.\n */\n function _transfer(\n address from,\n address to,\n uint256 tokenId\n ) private {\n TokenOwnership memory prevOwnership = ownershipOf(tokenId);\n\n bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||\n getApproved(tokenId) == _msgSender() ||\n isApprovedForAll(prevOwnership.addr, _msgSender()));\n\n require(\n isApprovedOrOwner,\n \"ERC721A: transfer caller is not owner nor approved\"\n );\n\n require(\n prevOwnership.addr == from,\n \"ERC721A: transfer from incorrect owner\"\n );\n require(to != address(0), \"ERC721A: transfer to the zero address\");\n\n _beforeTokenTransfers(from, to, tokenId, 1);\n\n // Clear approvals from the previous owner\n _approve(address(0), tokenId, prevOwnership.addr);\n\n _addressData[from].balance -= 1;\n _addressData[to].balance += 1;\n _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp));\n\n // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.\n // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.\n uint256 nextTokenId = tokenId + 1;\n if (_ownerships[nextTokenId].addr == address(0)) {\n if (_exists(nextTokenId)) {\n _ownerships[nextTokenId] = TokenOwnership(\n prevOwnership.addr,\n prevOwnership.startTimestamp\n );\n }\n }\n\n emit Transfer(from, to, tokenId);\n _afterTokenTransfers(from, to, tokenId, 1);\n }\n\n /**\n * @dev Approve `to` to operate on `tokenId`\n *\n * Emits a {Approval} event.\n */\n function _approve(\n address to,\n uint256 tokenId,\n address owner\n ) private {\n _tokenApprovals[tokenId] = to;\n emit Approval(owner, to, tokenId);\n }\n\n uint256 public nextOwnerToExplicitlySet = 0;\n\n /**\n * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().\n */\n function _setOwnersExplicit(uint256 quantity) internal {\n uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;\n require(quantity > 0, \"quantity must be nonzero\");\n uint256 endIndex = oldNextOwnerToSet + quantity - 1;\n if (endIndex > currentIndex - 1) {\n endIndex = currentIndex - 1;\n }\n // We know if the last one in the group exists, all in the group exist, due to serial ordering.\n require(_exists(endIndex), \"not enough minted yet for this cleanup\");\n for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {\n if (_ownerships[i].addr == address(0)) {\n TokenOwnership memory ownership = ownershipOf(i);\n _ownerships[i] = TokenOwnership(\n ownership.addr,\n ownership.startTimestamp\n );\n }\n }\n nextOwnerToExplicitlySet = endIndex + 1;\n }\n\n /**\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n * The call is not executed if the target address is not a contract.\n *\n * @param from address representing the previous owner of the given token ID\n * @param to target address that will receive the tokens\n * @param tokenId uint256 ID of the token to be transferred\n * @param _data bytes optional data to send along with the call\n * @return bool whether the call correctly returned the expected magic value\n */\n function _checkOnERC721Received(\n address from,\n address to,\n uint256 tokenId,\n bytes memory _data\n ) private returns (bool) {\n if (to.isContract()) {\n try\n IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data)\n returns (bytes4 retval) {\n return retval == IERC721Receiver(to).onERC721Received.selector;\n } catch (bytes memory reason) {\n if (reason.length == 0) {\n revert(\"ERC721A: transfer to non ERC721Receiver implementer\");\n } else {\n assembly {\n revert(add(32, reason), mload(reason))\n }\n }\n }\n } else {\n return true;\n }\n }\n\n /**\n * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.\n *\n * startTokenId - the first token id to be transferred\n * quantity - the amount to be transferred\n *\n * Calling conditions:\n *\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n * transferred to `to`.\n * - When `from` is zero, `tokenId` will be minted for `to`.\n */\n function _beforeTokenTransfers(\n address from,\n address to,\n uint256 startTokenId,\n uint256 quantity\n ) internal virtual {}\n\n /**\n * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes\n * minting.\n *\n * startTokenId - the first token id to be transferred\n * quantity - the amount to be transferred\n *\n * Calling conditions:\n *\n * - when `from` and `to` are both non-zero.\n * - `from` and `to` are never both zero.\n */\n function _afterTokenTransfers(\n address from,\n address to,\n uint256 startTokenId,\n uint256 quantity\n ) internal virtual {}\n}\n"
  15. },
  16. "@openzeppelin/contracts/utils/introspection/IERC165.sol": {
  17. "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n /**\n * @dev Returns true if this contract implements the interface defined by\n * `interfaceId`. See the corresponding\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n * to learn more about how these ids are created.\n *\n * This function call must use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n"
  18. },
  19. "@openzeppelin/contracts/utils/introspection/ERC165.sol": {
  20. "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)\n\npragma solidity ^0.8.0;\n\nimport \"./IERC165.sol\";\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check\n * for the additional interface id that will be supported. For example:\n *\n * ```solidity\n * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\n * }\n * ```\n *\n * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.\n */\nabstract contract ERC165 is IERC165 {\n /**\n * @dev See {IERC165-supportsInterface}.\n */\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n return interfaceId == type(IERC165).interfaceId;\n }\n}\n"
  21. },
  22. "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol": {
  23. "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev These functions deal with verification of Merkle Trees proofs.\n *\n * The proofs can be generated using the JavaScript library\n * https://github.com/miguelmota/merkletreejs[merkletreejs].\n * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.\n *\n * See `test/utils/cryptography/MerkleProof.test.js` for some examples.\n */\nlibrary MerkleProof {\n /**\n * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree\n * defined by `root`. For this, a `proof` must be provided, containing\n * sibling hashes on the branch from the leaf to the root of the tree. Each\n * pair of leaves and each pair of pre-images are assumed to be sorted.\n */\n function verify(\n bytes32[] memory proof,\n bytes32 root,\n bytes32 leaf\n ) internal pure returns (bool) {\n return processProof(proof, leaf) == root;\n }\n\n /**\n * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up\n * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt\n * hash matches the root of the tree. When processing the proof, the pairs\n * of leafs & pre-images are assumed to be sorted.\n *\n * _Available since v4.4._\n */\n function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {\n bytes32 computedHash = leaf;\n for (uint256 i = 0; i < proof.length; i++) {\n bytes32 proofElement = proof[i];\n if (computedHash <= proofElement) {\n // Hash(current computed hash + current element of the proof)\n computedHash = keccak256(abi.encodePacked(computedHash, proofElement));\n } else {\n // Hash(current element of the proof + current computed hash)\n computedHash = keccak256(abi.encodePacked(proofElement, computedHash));\n }\n }\n return computedHash;\n }\n}\n"
  24. },
  25. "@openzeppelin/contracts/utils/Strings.sol": {
  26. "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n bytes16 private constant _HEX_SYMBOLS = \"0123456789abcdef\";\n\n /**\n * @dev Converts a `uint256` to its ASCII `string` decimal representation.\n */\n function toString(uint256 value) internal pure returns (string memory) {\n // Inspired by OraclizeAPI's implementation - MIT licence\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\n\n if (value == 0) {\n return \"0\";\n }\n uint256 temp = value;\n uint256 digits;\n while (temp != 0) {\n digits++;\n temp /= 10;\n }\n bytes memory buffer = new bytes(digits);\n while (value != 0) {\n digits -= 1;\n buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));\n value /= 10;\n }\n return string(buffer);\n }\n\n /**\n * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\n */\n function toHexString(uint256 value) internal pure returns (string memory) {\n if (value == 0) {\n return \"0x00\";\n }\n uint256 temp = value;\n uint256 length = 0;\n while (temp != 0) {\n length++;\n temp >>= 8;\n }\n return toHexString(value, length);\n }\n\n /**\n * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\n */\n function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {\n bytes memory buffer = new bytes(2 * length + 2);\n buffer[0] = \"0\";\n buffer[1] = \"x\";\n for (uint256 i = 2 * length + 1; i > 1; --i) {\n buffer[i] = _HEX_SYMBOLS[value & 0xf];\n value >>= 4;\n }\n require(value == 0, \"Strings: hex length insufficient\");\n return string(buffer);\n }\n}\n"
  27. },
  28. "@openzeppelin/contracts/utils/Context.sol": {
  29. "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n function _msgSender() internal view virtual returns (address) {\n return msg.sender;\n }\n\n function _msgData() internal view virtual returns (bytes calldata) {\n return msg.data;\n }\n}\n"
  30. },
  31. "@openzeppelin/contracts/utils/Address.sol": {
  32. "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n /**\n * @dev Returns true if `account` is a contract.\n *\n * [IMPORTANT]\n * ====\n * It is unsafe to assume that an address for which this function returns\n * false is an externally-owned account (EOA) and not a contract.\n *\n * Among others, `isContract` will return false for the following\n * types of addresses:\n *\n * - an externally-owned account\n * - a contract in construction\n * - an address where a contract will be created\n * - an address where a contract lived, but was destroyed\n * ====\n */\n function isContract(address account) internal view returns (bool) {\n // This method relies on extcodesize, which returns 0 for contracts in\n // construction, since the code is only stored at the end of the\n // constructor execution.\n\n uint256 size;\n assembly {\n size := extcodesize(account)\n }\n return size > 0;\n }\n\n /**\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n * `recipient`, forwarding all available gas and reverting on errors.\n *\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\n * imposed by `transfer`, making them unable to receive funds via\n * `transfer`. {sendValue} removes this limitation.\n *\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n *\n * IMPORTANT: because control is transferred to `recipient`, care must be\n * taken to not create reentrancy vulnerabilities. Consider using\n * {ReentrancyGuard} or the\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n */\n function sendValue(address payable recipient, uint256 amount) internal {\n require(address(this).balance >= amount, \"Address: insufficient balance\");\n\n (bool success, ) = recipient.call{value: amount}(\"\");\n require(success, \"Address: unable to send value, recipient may have reverted\");\n }\n\n /**\n * @dev Performs a Solidity function call using a low level `call`. A\n * plain `call` is an unsafe replacement for a function call: use this\n * function instead.\n *\n * If `target` reverts with a revert reason, it is bubbled up by this\n * function (like regular Solidity function calls).\n *\n * Returns the raw returned data. To convert to the expected return value,\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n *\n * Requirements:\n *\n * - `target` must be a contract.\n * - calling `target` with `data` must not revert.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionCall(target, data, \"Address: low-level call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n * `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCall(\n address target,\n bytes memory data,\n string memory errorMessage\n ) internal returns (bytes memory) {\n return functionCallWithValue(target, data, 0, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but also transferring `value` wei to `target`.\n *\n * Requirements:\n *\n * - the calling contract must have an ETH balance of at least `value`.\n * - the called Solidity function must be `payable`.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(\n address target,\n bytes memory data,\n uint256 value\n ) internal returns (bytes memory) {\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n * with `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(\n address target,\n bytes memory data,\n uint256 value,\n string memory errorMessage\n ) internal returns (bytes memory) {\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\n require(isContract(target), \"Address: call to non-contract\");\n\n (bool success, bytes memory returndata) = target.call{value: value}(data);\n return verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(\n address target,\n bytes memory data,\n string memory errorMessage\n ) internal view returns (bytes memory) {\n require(isContract(target), \"Address: static call to non-contract\");\n\n (bool success, bytes memory returndata) = target.staticcall(data);\n return verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(\n address target,\n bytes memory data,\n string memory errorMessage\n ) internal returns (bytes memory) {\n require(isContract(target), \"Address: delegate call to non-contract\");\n\n (bool success, bytes memory returndata) = target.delegatecall(data);\n return verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\n * revert reason using the provided one.\n *\n * _Available since v4.3._\n */\n function verifyCallResult(\n bool success,\n bytes memory returndata,\n string memory errorMessage\n ) internal pure returns (bytes memory) {\n if (success) {\n return returndata;\n } else {\n // Look for revert reason and bubble it up if present\n if (returndata.length > 0) {\n // The easiest way to bubble the revert reason is using memory via assembly\n\n assembly {\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n }\n } else {\n revert(errorMessage);\n }\n }\n }\n}\n"
  33. },
  34. "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol": {
  35. "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../IERC721.sol\";\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Metadata is IERC721 {\n /**\n * @dev Returns the token collection name.\n */\n function name() external view returns (string memory);\n\n /**\n * @dev Returns the token collection symbol.\n */\n function symbol() external view returns (string memory);\n\n /**\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\n */\n function tokenURI(uint256 tokenId) external view returns (string memory);\n}\n"
  36. },
  37. "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol": {
  38. "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../IERC721.sol\";\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Enumerable is IERC721 {\n /**\n * @dev Returns the total amount of tokens stored by the contract.\n */\n function totalSupply() external view returns (uint256);\n\n /**\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\n\n /**\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n * Use along with {totalSupply} to enumerate all tokens.\n */\n function tokenByIndex(uint256 index) external view returns (uint256);\n}\n"
  39. },
  40. "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol": {
  41. "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @title ERC721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC721 asset contracts.\n */\ninterface IERC721Receiver {\n /**\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n * by `operator` from `from`, this function is called.\n *\n * It must return its Solidity selector to confirm the token transfer.\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n *\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\n */\n function onERC721Received(\n address operator,\n address from,\n uint256 tokenId,\n bytes calldata data\n ) external returns (bytes4);\n}\n"
  42. },
  43. "@openzeppelin/contracts/token/ERC721/IERC721.sol": {
  44. "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../../utils/introspection/IERC165.sol\";\n\n/**\n * @dev Required interface of an ERC721 compliant contract.\n */\ninterface IERC721 is IERC165 {\n /**\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n */\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n */\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n */\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n /**\n * @dev Returns the number of tokens in ``owner``'s account.\n */\n function balanceOf(address owner) external view returns (uint256 balance);\n\n /**\n * @dev Returns the owner of the `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function ownerOf(uint256 tokenId) external view returns (address owner);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(\n address from,\n address to,\n uint256 tokenId\n ) external;\n\n /**\n * @dev Transfers `tokenId` token from `from` to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n *\n * Emits a {Transfer} event.\n */\n function transferFrom(\n address from,\n address to,\n uint256 tokenId\n ) external;\n\n /**\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n * The approval is cleared when the token is transferred.\n *\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n *\n * Requirements:\n *\n * - The caller must own the token or be an approved operator.\n * - `tokenId` must exist.\n *\n * Emits an {Approval} event.\n */\n function approve(address to, uint256 tokenId) external;\n\n /**\n * @dev Returns the account approved for `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function getApproved(uint256 tokenId) external view returns (address operator);\n\n /**\n * @dev Approve or remove `operator` as an operator for the caller.\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n *\n * Requirements:\n *\n * - The `operator` cannot be the caller.\n *\n * Emits an {ApprovalForAll} event.\n */\n function setApprovalForAll(address operator, bool _approved) external;\n\n /**\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n *\n * See {setApprovalForAll}\n */\n function isApprovedForAll(address owner, address operator) external view returns (bool);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(\n address from,\n address to,\n uint256 tokenId,\n bytes calldata data\n ) external;\n}\n"
  45. },
  46. "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol": {
  47. "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../IERC20.sol\";\nimport \"../../../utils/Address.sol\";\n\n/**\n * @title SafeERC20\n * @dev Wrappers around ERC20 operations that throw on failure (when the token\n * contract returns false). Tokens that return no value (and instead revert or\n * throw on failure) are also supported, non-reverting calls are assumed to be\n * successful.\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\n */\nlibrary SafeERC20 {\n using Address for address;\n\n function safeTransfer(\n IERC20 token,\n address to,\n uint256 value\n ) internal {\n _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\n }\n\n function safeTransferFrom(\n IERC20 token,\n address from,\n address to,\n uint256 value\n ) internal {\n _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\n }\n\n /**\n * @dev Deprecated. This function has issues similar to the ones found in\n * {IERC20-approve}, and its usage is discouraged.\n *\n * Whenever possible, use {safeIncreaseAllowance} and\n * {safeDecreaseAllowance} instead.\n */\n function safeApprove(\n IERC20 token,\n address spender,\n uint256 value\n ) internal {\n // safeApprove should only be called when setting an initial allowance,\n // or when resetting it to zero. To increase and decrease it, use\n // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\n require(\n (value == 0) || (token.allowance(address(this), spender) == 0),\n \"SafeERC20: approve from non-zero to non-zero allowance\"\n );\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\n }\n\n function safeIncreaseAllowance(\n IERC20 token,\n address spender,\n uint256 value\n ) internal {\n uint256 newAllowance = token.allowance(address(this), spender) + value;\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\n }\n\n function safeDecreaseAllowance(\n IERC20 token,\n address spender,\n uint256 value\n ) internal {\n unchecked {\n uint256 oldAllowance = token.allowance(address(this), spender);\n require(oldAllowance >= value, \"SafeERC20: decreased allowance below zero\");\n uint256 newAllowance = oldAllowance - value;\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\n }\n }\n\n /**\n * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n * on the return value: the return value is optional (but if data is returned, it must not be false).\n * @param token The token targeted by the call.\n * @param data The call data (encoded using abi.encode or one of its variants).\n */\n function _callOptionalReturn(IERC20 token, bytes memory data) private {\n // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\n // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that\n // the target address contains contract code and also asserts for success in the low-level call.\n\n bytes memory returndata = address(token).functionCall(data, \"SafeERC20: low-level call failed\");\n if (returndata.length > 0) {\n // Return data is optional\n require(abi.decode(returndata, (bool)), \"SafeERC20: ERC20 operation did not succeed\");\n }\n }\n}\n"
  48. },
  49. "@openzeppelin/contracts/token/ERC20/IERC20.sol": {
  50. "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n */\ninterface IERC20 {\n /**\n * @dev Returns the amount of tokens in existence.\n */\n function totalSupply() external view returns (uint256);\n\n /**\n * @dev Returns the amount of tokens owned by `account`.\n */\n function balanceOf(address account) external view returns (uint256);\n\n /**\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\n *\n * Returns a boolean value indicating whether the operation succeeded.\n *\n * Emits a {Transfer} event.\n */\n function transfer(address recipient, uint256 amount) external returns (bool);\n\n /**\n * @dev Returns the remaining number of tokens that `spender` will be\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\n * zero by default.\n *\n * This value changes when {approve} or {transferFrom} are called.\n */\n function allowance(address owner, address spender) external view returns (uint256);\n\n /**\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\n *\n * Returns a boolean value indicating whether the operation succeeded.\n *\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\n * that someone may use both the old and the new allowance by unfortunate\n * transaction ordering. One possible solution to mitigate this race\n * condition is to first reduce the spender's allowance to 0 and set the\n * desired value afterwards:\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n *\n * Emits an {Approval} event.\n */\n function approve(address spender, uint256 amount) external returns (bool);\n\n /**\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\n * allowance mechanism. `amount` is then deducted from the caller's\n * allowance.\n *\n * Returns a boolean value indicating whether the operation succeeded.\n *\n * Emits a {Transfer} event.\n */\n function transferFrom(\n address sender,\n address recipient,\n uint256 amount\n ) external returns (bool);\n\n /**\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\n * another (`to`).\n *\n * Note that `value` may be zero.\n */\n event Transfer(address indexed from, address indexed to, uint256 value);\n\n /**\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n * a call to {approve}. `value` is the new allowance.\n */\n event Approval(address indexed owner, address indexed spender, uint256 value);\n}\n"
  51. },
  52. "@openzeppelin/contracts/security/Pausable.sol": {
  53. "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../utils/Context.sol\";\n\n/**\n * @dev Contract module which allows children to implement an emergency stop\n * mechanism that can be triggered by an authorized account.\n *\n * This module is used through inheritance. It will make available the\n * modifiers `whenNotPaused` and `whenPaused`, which can be applied to\n * the functions of your contract. Note that they will not be pausable by\n * simply including this module, only once the modifiers are put in place.\n */\nabstract contract Pausable is Context {\n /**\n * @dev Emitted when the pause is triggered by `account`.\n */\n event Paused(address account);\n\n /**\n * @dev Emitted when the pause is lifted by `account`.\n */\n event Unpaused(address account);\n\n bool private _paused;\n\n /**\n * @dev Initializes the contract in unpaused state.\n */\n constructor() {\n _paused = false;\n }\n\n /**\n * @dev Returns true if the contract is paused, and false otherwise.\n */\n function paused() public view virtual returns (bool) {\n return _paused;\n }\n\n /**\n * @dev Modifier to make a function callable only when the contract is not paused.\n *\n * Requirements:\n *\n * - The contract must not be paused.\n */\n modifier whenNotPaused() {\n require(!paused(), \"Pausable: paused\");\n _;\n }\n\n /**\n * @dev Modifier to make a function callable only when the contract is paused.\n *\n * Requirements:\n *\n * - The contract must be paused.\n */\n modifier whenPaused() {\n require(paused(), \"Pausable: not paused\");\n _;\n }\n\n /**\n * @dev Triggers stopped state.\n *\n * Requirements:\n *\n * - The contract must not be paused.\n */\n function _pause() internal virtual whenNotPaused {\n _paused = true;\n emit Paused(_msgSender());\n }\n\n /**\n * @dev Returns to normal state.\n *\n * Requirements:\n *\n * - The contract must be paused.\n */\n function _unpause() internal virtual whenPaused {\n _paused = false;\n emit Unpaused(_msgSender());\n }\n}\n"
  54. },
  55. "@openzeppelin/contracts/finance/PaymentSplitter.sol": {
  56. "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (finance/PaymentSplitter.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../token/ERC20/utils/SafeERC20.sol\";\nimport \"../utils/Address.sol\";\nimport \"../utils/Context.sol\";\n\n/**\n * @title PaymentSplitter\n * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware\n * that the Ether will be split in this way, since it is handled transparently by the contract.\n *\n * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each\n * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim\n * an amount proportional to the percentage of total shares they were assigned.\n *\n * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the\n * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release}\n * function.\n *\n * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and\n * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you\n * to run tests before sending real value to this contract.\n */\ncontract PaymentSplitter is Context {\n event PayeeAdded(address account, uint256 shares);\n event PaymentReleased(address to, uint256 amount);\n event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount);\n event PaymentReceived(address from, uint256 amount);\n\n uint256 private _totalShares;\n uint256 private _totalReleased;\n\n mapping(address => uint256) private _shares;\n mapping(address => uint256) private _released;\n address[] private _payees;\n\n mapping(IERC20 => uint256) private _erc20TotalReleased;\n mapping(IERC20 => mapping(address => uint256)) private _erc20Released;\n\n /**\n * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at\n * the matching position in the `shares` array.\n *\n * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no\n * duplicates in `payees`.\n */\n constructor(address[] memory payees, uint256[] memory shares_) payable {\n require(payees.length == shares_.length, \"PaymentSplitter: payees and shares length mismatch\");\n require(payees.length > 0, \"PaymentSplitter: no payees\");\n\n for (uint256 i = 0; i < payees.length; i++) {\n _addPayee(payees[i], shares_[i]);\n }\n }\n\n /**\n * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully\n * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the\n * reliability of the events, and not the actual splitting of Ether.\n *\n * To learn more about this see the Solidity documentation for\n * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback\n * functions].\n */\n receive() external payable virtual {\n emit PaymentReceived(_msgSender(), msg.value);\n }\n\n /**\n * @dev Getter for the total shares held by payees.\n */\n function totalShares() public view returns (uint256) {\n return _totalShares;\n }\n\n /**\n * @dev Getter for the total amount of Ether already released.\n */\n function totalReleased() public view returns (uint256) {\n return _totalReleased;\n }\n\n /**\n * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20\n * contract.\n */\n function totalReleased(IERC20 token) public view returns (uint256) {\n return _erc20TotalReleased[token];\n }\n\n /**\n * @dev Getter for the amount of shares held by an account.\n */\n function shares(address account) public view returns (uint256) {\n return _shares[account];\n }\n\n /**\n * @dev Getter for the amount of Ether already released to a payee.\n */\n function released(address account) public view returns (uint256) {\n return _released[account];\n }\n\n /**\n * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an\n * IERC20 contract.\n */\n function released(IERC20 token, address account) public view returns (uint256) {\n return _erc20Released[token][account];\n }\n\n /**\n * @dev Getter for the address of the payee number `index`.\n */\n function payee(uint256 index) public view returns (address) {\n return _payees[index];\n }\n\n /**\n * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the\n * total shares and their previous withdrawals.\n */\n function release(address payable account) public virtual {\n require(_shares[account] > 0, \"PaymentSplitter: account has no shares\");\n\n uint256 totalReceived = address(this).balance + totalReleased();\n uint256 payment = _pendingPayment(account, totalReceived, released(account));\n\n require(payment != 0, \"PaymentSplitter: account is not due payment\");\n\n _released[account] += payment;\n _totalReleased += payment;\n\n Address.sendValue(account, payment);\n emit PaymentReleased(account, payment);\n }\n\n /**\n * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their\n * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20\n * contract.\n */\n function release(IERC20 token, address account) public virtual {\n require(_shares[account] > 0, \"PaymentSplitter: account has no shares\");\n\n uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token);\n uint256 payment = _pendingPayment(account, totalReceived, released(token, account));\n\n require(payment != 0, \"PaymentSplitter: account is not due payment\");\n\n _erc20Released[token][account] += payment;\n _erc20TotalReleased[token] += payment;\n\n SafeERC20.safeTransfer(token, account, payment);\n emit ERC20PaymentReleased(token, account, payment);\n }\n\n /**\n * @dev internal logic for computing the pending payment of an `account` given the token historical balances and\n * already released amounts.\n */\n function _pendingPayment(\n address account,\n uint256 totalReceived,\n uint256 alreadyReleased\n ) private view returns (uint256) {\n return (totalReceived * _shares[account]) / _totalShares - alreadyReleased;\n }\n\n /**\n * @dev Add a new payee to the contract.\n * @param account The address of the payee to add.\n * @param shares_ The number of shares owned by the payee.\n */\n function _addPayee(address account, uint256 shares_) private {\n require(account != address(0), \"PaymentSplitter: account is the zero address\");\n require(shares_ > 0, \"PaymentSplitter: shares are 0\");\n require(_shares[account] == 0, \"PaymentSplitter: account already has shares\");\n\n _payees.push(account);\n _shares[account] = shares_;\n _totalShares = _totalShares + shares_;\n emit PayeeAdded(account, shares_);\n }\n}\n"
  57. },
  58. "@openzeppelin/contracts/access/Ownable.sol": {
  59. "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../utils/Context.sol\";\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * By default, the owner account will be the one that deploys the contract. This\n * can later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract Ownable is Context {\n address private _owner;\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n /**\n * @dev Initializes the contract setting the deployer as the initial owner.\n */\n constructor() {\n _transferOwnership(_msgSender());\n }\n\n /**\n * @dev Returns the address of the current owner.\n */\n function owner() public view virtual returns (address) {\n return _owner;\n }\n\n /**\n * @dev Throws if called by any account other than the owner.\n */\n modifier onlyOwner() {\n require(owner() == _msgSender(), \"Ownable: caller is not the owner\");\n _;\n }\n\n /**\n * @dev Leaves the contract without owner. It will not be possible to call\n * `onlyOwner` functions anymore. Can only be called by the current owner.\n *\n * NOTE: Renouncing ownership will leave the contract without an owner,\n * thereby removing any functionality that is only available to the owner.\n */\n function renounceOwnership() public virtual onlyOwner {\n _transferOwnership(address(0));\n }\n\n /**\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\n * Can only be called by the current owner.\n */\n function transferOwnership(address newOwner) public virtual onlyOwner {\n require(newOwner != address(0), \"Ownable: new owner is the zero address\");\n _transferOwnership(newOwner);\n }\n\n /**\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\n * Internal function without access restriction.\n */\n function _transferOwnership(address newOwner) internal virtual {\n address oldOwner = _owner;\n _owner = newOwner;\n emit OwnershipTransferred(oldOwner, newOwner);\n }\n}\n"
  60. }
  61. },
  62. "settings": {
  63. "remappings": [],
  64. "optimizer": {
  65. "enabled": true,
  66. "runs": 200
  67. },
  68. "evmVersion": "byzantium",
  69. "libraries": {},
  70. "outputSelection": {
  71. "*": {
  72. "*": [
  73. "evm.bytecode",
  74. "evm.deployedBytecode",
  75. "devdoc",
  76. "userdoc",
  77. "metadata",
  78. "abi"
  79. ]
  80. }
  81. }
  82. }
  83. }}

Contract sourced from Etherscan. Solidity version v0.8.9+commit.e5eed63a.

Panoramix decompilation

# Palkeoramix decompiler. 

def storage:
  owner is address at storage 0
  stor1 is uint256 at storage 1
  stor2 is array of struct at storage 2
  stor3 is array of struct at storage 3
  stor4 is mapping of struct at storage 4
  balanceOf is mapping of struct at storage 5
  approved is mapping of address at storage 6
  stor7 is mapping of uint8 at storage 7
  nextOwnerToExplicitlySet is uint256 at storage 8
  stor9 is uint32 at storage 9 offset 160
  stor9 is address at storage 9
  paused is uint8 at storage 10
  totalShares is uint256 at storage 11
  totalReleased is uint256 at storage 12
  shares is mapping of uint256 at storage 13
  released is mapping of uint256 at storage 14
  payee is array of address at storage 15
  totalReleased is mapping of uint256 at storage 16
  released is mapping of uint256 at storage 17
  stor18 is array of struct at storage 18
  _merkleRoot is uint256 at storage 19
  _price is uint256 at storage 20
  _presalePrice is uint256 at storage 21
  MAX_TOTAL_MINT is uint256 at storage 22
  _maxPerAddress is uint256 at storage 23
  _presaleMaxPerAddress is uint256 at storage 24
  _publicSaleTime is uint256 at storage 25
  _preSaleTime is uint256 at storage 26
  _maxTxPerAddress is uint256 at storage 27
  stor28 is mapping of uint256 at storage 28

def getApproved(uint256 tokenId): # not payable
  require calldata.size - 4 >=′ 32
  if stor1 <= tokenId:
      revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'ERC721A: approved query for nonexistent token'
  return approved[tokenId]

def _maxSupply(): # not payable
  return MAX_TOTAL_MINT

def _price(): # not payable
  return _price

def _merkleRoot(): # not payable
  return _merkleRoot

def totalShares(): # not payable
  return totalShares

def released(address token, address account): # not payable
  require calldata.size - 4 >=′ 64
  require token == token
  require account == account
  return released[address(token)][address(account)]

def paused(): # not payable
  return bool(paused)

def _presalePrice(): # not payable
  return _presalePrice

def _maxTxPerAddress(): # not payable
  return _maxTxPerAddress

def balanceOf(address account): # not payable
  require calldata.size - 4 >=′ 32
  require account == account
  if not account:
      revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'ERC721A: balance query for the zero address'
  return balanceOf[address(account)].field_0

def payee(uint256 index): # not payable
  require calldata.size - 4 >=′ 32
  if index >= payee.length:
      revert with 0, 50
  return payee[index]

def owner(): # not payable
  return owner

def _presaleMaxPerAddress(): # not payable
  return _presaleMaxPerAddress

def released(address account): # not payable
  require calldata.size - 4 >=′ 32
  require account == account
  return released[address(account)]

def _publicSaleTime(): # not payable
  return _publicSaleTime

def shares(address account): # not payable
  require calldata.size - 4 >=′ 32
  require account == account
  return shares[address(account)]

def MAX_TOTAL_MINT(): # not payable
  return MAX_TOTAL_MINT

def nextOwnerToExplicitlySet(): # not payable
  return nextOwnerToExplicitlySet

def totalReleased(address token): # not payable
  require calldata.size - 4 >=′ 32
  require token == token
  return totalReleased[address(token)]

def _maxPerAddress(): # not payable
  return _maxPerAddress

def totalReleased(): # not payable
  return totalReleased

def isApprovedForAll(address owner, address operator): # not payable
  require calldata.size - 4 >=′ 64
  require owner == owner
  require operator == operator
  return bool(stor7[address(owner)][address(operator)])

def _preSaleTime(): # not payable
  return _preSaleTime

#
#  Regular functions
#

def totalSupply(): # not payable
  if stor1 < 1:
      revert with 0, 17
  return (stor1 - 1)

def isPublicSaleActive(): # not payable
  if not _publicSaleTime:
      return not _publicSaleTime
  return (_publicSaleTime < block.timestamp)

def setMerkleRoot(bytes32 _merkleRoot): # not payable
  require calldata.size - 4 >=′ 32
  if owner != caller:
      revert with 0, 'Ownable: caller is not the owner'
  _merkleRoot = _merkleRoot

def pause(): # not payable
  if owner != caller:
      revert with 0, 'Ownable: caller is not the owner'
  if paused:
      revert with 0, 'Pausable: paused'
  paused = 1
  log Paused(address account=caller)

def unpause(): # not payable
  if owner != caller:
      revert with 0, 'Ownable: caller is not the owner'
  if not paused:
      revert with 0, 'Pausable: not paused'
  paused = 0
  log Unpaused(address account=caller)

def PRICE(): # not payable
  if _preSaleTime:
      if _preSaleTime >= block.timestamp:
          return _price
      if block.timestamp >= _publicSaleTime:
          return _price
  return _presalePrice

def renounceOwnership(): # not payable
  if owner != caller:
      revert with 0, 'Ownable: caller is not the owner'
  owner = 0
  log OwnershipTransferred(
        address previousOwner=owner,
        address newOwner=0)

def isPreSaleActive(): # not payable
  if not _preSaleTime:
      return not _preSaleTime
  if _preSaleTime >= block.timestamp:
      return (_preSaleTime < block.timestamp)
  return (block.timestamp < _publicSaleTime)

def MAX_TOTAL_MINT_PER_ADDRESS(): # not payable
  if _preSaleTime:
      if _preSaleTime >= block.timestamp:
          return _maxPerAddress
      if block.timestamp >= _publicSaleTime:
          return _maxPerAddress
  return _presaleMaxPerAddress

def tokenByIndex(uint256 index): # not payable
  require calldata.size - 4 >=′ 32
  if stor1 < 1:
      revert with 0, 17
  if index >= stor1 - 1:
      revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'ERC721A: global index out of bounds'
  return index

def royaltyInfo(uint256 _tokenId, uint256 _salePrice): # not payable
  require calldata.size - 4 >=′ 64
  if _salePrice and stor9.field_160 % unknown01000000() > -1 / _salePrice:
      revert with 0, 17
  return address(stor9.field_0), _salePrice * stor9.field_160 % unknown01000000() / 10000

def updateRoyalties(address recipient, uint256 bps): # not payable
  require calldata.size - 4 >=′ 64
  require recipient == recipient
  if owner != caller:
      revert with 0, 'Ownable: caller is not the owner'
  if bps > 10000:
      revert with 0, 'ERC2981Royalties: Too high'
  address(stor9.field_0) = recipient
  stor9.field_160 % unknown01000000() = bps % unknown01000000()

def transferOwnership(address newOwner): # not payable
  require calldata.size - 4 >=′ 32
  require newOwner == newOwner
  if owner != caller:
      revert with 0, 'Ownable: caller is not the owner'
  if not newOwner:
      revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'Ownable: new owner is the zero address'
  owner = newOwner
  log OwnershipTransferred(
        address previousOwner=owner,
        address newOwner=newOwner)

def setApprovalForAll(address operator, bool approved): # not payable
  require calldata.size - 4 >=′ 64
  require operator == operator
  require approved == approved
  if caller == operator:
      revert with 0, 'ERC721A: approve to caller'
  stor7[caller][address(operator)] = uint8(approved)
  log ApprovalForAll(
        address owner=approved,
        address operator=caller,
        bool approved=operator)

def supportsInterface(bytes4 interfaceId): # not payable
  require calldata.size - 4 >=′ 32
  require interfaceId == Mask(32, 224, interfaceId)
  if '*U Z' == Mask(32, 224, interfaceId):
      return True
  if 0x80ac58cd00000000000000000000000000000000000000000000000000000000 == Mask(32, 224, interfaceId):
      return True
  if 0x5b5e139f00000000000000000000000000000000000000000000000000000000 == Mask(32, 224, interfaceId):
      return True
  if 0x780e9d6300000000000000000000000000000000000000000000000000000000 == Mask(32, 224, interfaceId):
      return True
  return (Mask(32, 224, interfaceId) == 0x1ffc9a700000000000000000000000000000000000000000000000000000000)

def setSaleInformation(uint256 publicSaleTime, uint256 preSaleTime, uint256 maxPerAddress, uint256 presaleMaxPerAddress, uint256 price, uint256 presalePrice, bytes32 merkleRoot, uint256 maxTxPerAddress): # not payable
  require calldata.size - 4 >=′ 256
  if owner != caller:
      revert with 0, 'Ownable: caller is not the owner'
  _publicSaleTime = publicSaleTime
  _preSaleTime = preSaleTime
  _maxPerAddress = maxPerAddress
  _presaleMaxPerAddress = presaleMaxPerAddress
  _price = price
  _presalePrice = presalePrice
  _merkleRoot = merkleRoot
  _maxTxPerAddress = maxTxPerAddress

def ownerOf(uint256 tokenId): # not payable
  require calldata.size - 4 >=′ 32
  mem[64] = 160
  if stor1 <= tokenId:
      revert with 0, 'ERC721A: owner query for nonexistent token'
  if tokenId < 2500:
      idx = tokenId
      while idx >= 0:
          mem[0] = idx
          mem[32] = 4
          _20 = mem[64]
          mem[64] = mem[64] + 64
          mem[_20] = stor4[idx].field_0
          mem[_20 + 32] = stor4[idx].field_160
          if stor4[idx].field_0:
              return stor4[idx].field_0
          if not idx:
              revert with 0, 17
          idx = idx - 1
          continue 
  else:
      if 1 > !(tokenId - 2500):
          revert with 0, 17
      idx = tokenId
      while idx >= tokenId - 2499:
          mem[0] = idx
          mem[32] = 4
          _23 = mem[64]
          mem[64] = mem[64] + 64
          mem[_23] = stor4[idx].field_0
          mem[_23 + 32] = stor4[idx].field_160
          if stor4[idx].field_0:
              return stor4[idx].field_0
          if not idx:
              revert with 0, 17
          idx = idx - 1
          continue 
  revert with 0, 'ERC721A: unable to determine the owner of token'

def setBaseUri(string _uri): # not payable
  require calldata.size - 4 >=′ 32
  require _uri <= LOCK8605463013()
  require calldata.size >′ _uri + 35
  if _uri.length > LOCK8605463013():
      revert with 0, 65
  if ceil32(ceil32(_uri.length)) + 97 < 96 or ceil32(ceil32(_uri.length)) + 97 > LOCK8605463013():
      revert with 0, 65
  require _uri + _uri.length + 36 <= calldata.size
  if owner != caller:
      revert with 0, 'Ownable: caller is not the owner'
  if bool(stor18.length):
      if bool(stor18.length) == stor18.length.field_1 < 32:
          revert with 0, 34
      if _uri.length:
          stor18[].field_0 = Array(len=_uri.length, data=_uri[all])
      else:
          stor18.length = 0
          idx = 0
          while stor18.length.field_1 + 31 / 32 > idx:
              stor18[idx].field_0 = 0
              idx = idx + 1
              continue 
  else:
      if bool(stor18.length) == stor18.length.field_1 < 32:
          revert with 0, 34
      if _uri.length:
          stor18[].field_0 = Array(len=_uri.length, data=_uri[all])
      else:
          stor18.length = 0
          idx = 0
          while stor18.length.field_1 + 31 / 32 > idx:
              stor18[idx].field_0 = 0
              idx = idx + 1
              continue 

def onEarlyPurchaseList(address addr, bytes32[] merkleProof): # not payable
  require calldata.size - 4 >=′ 64
  require addr == addr
  require merkleProof <= LOCK8605463013()
  require merkleProof + 35 <′ calldata.size
  require merkleProof.length <= LOCK8605463013()
  require merkleProof + (32 * merkleProof.length) + 36 <= calldata.size
  mem[128] = address(addr)
  mem[96] = 20
  mem[64] = (32 * merkleProof.length) + 180
  mem[148] = merkleProof.length
  mem[180 len 32 * merkleProof.length] = call.data[merkleProof + 36 len 32 * merkleProof.length]
  mem[(32 * merkleProof.length) + 180] = 0
  idx = 0
  s = 0
  while idx < merkleProof.length:
      if idx >= mem[148]:
          revert with 0, 50
      _21 = mem[(32 * idx) + 180]
      if s + sha3(mem[128 len 20]) > mem[(32 * idx) + 180]:
          mem[mem[64] + 32] = mem[(32 * idx) + 180]
          mem[mem[64] + 64] = s + sha3(mem[128 len 20])
          _23 = mem[64]
          mem[mem[64]] = 64
          mem[64] = mem[64] + 96
          if idx == -1:
              revert with 0, 17
          idx = idx + 1
          s = sha3(mem[_23 + 32 len mem[_23]])
          continue 
      mem[mem[64] + 32] = s + sha3(mem[128 len 20])
      mem[mem[64] + 64] = _21
      _27 = mem[64]
      mem[mem[64]] = 64
      mem[64] = mem[64] + 96
      if idx == -1:
          revert with 0, 17
      idx = idx + 1
      s = sha3(mem[_27 + 32 len mem[_27]])
      continue 
  return (s == _merkleRoot)

def tokenOfOwnerByIndex(address owner, uint256 index) payable: 
  mem[64] = 96
  require not call.value
  require calldata.size - 4 >=′ 64
  require owner == owner
  if not owner:
      revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'ERC721A: balance query for the zero address'
  if index >= balanceOf[address(owner)].field_0:
      revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'ERC721A: owner index out of bounds'
  if stor1 < 1:
      revert with 0, 17
  idx = 0
  s = 0
  t = 0
  while idx < stor1 - 1:
      mem[0] = idx
      mem[32] = 4
      _17 = mem[64]
      mem[64] = mem[64] + 64
      mem[_17] = stor4[idx].field_0
      mem[_17 + 32] = stor4[idx].field_160
      if not stor4[idx].field_0:
          if address(s) != owner:
              if idx == -1:
                  revert with 0, 17
              idx = idx + 1
              s = s
              t = t
              continue 
          if t == index:
              return idx
          if t == -1:
              revert with 0, 17
          if idx == -1:
              revert with 0, 17
          idx = idx + 1
          s = s
          t = t + 1
          continue 
      if stor4[idx].field_0 != owner:
          if idx == -1:
              revert with 0, 17
          idx = idx + 1
          s = stor4[idx].field_0
          t = t
          continue 
      if t == index:
          return idx
      if t == -1:
          revert with 0, 17
      if idx == -1:
          revert with 0, 17
      idx = idx + 1
      s = stor4[idx].field_0
      t = t + 1
      continue 
  revert with 0, 'ERC721A: unable to get token of owner by index'

def approve(address spender, uint256 amount): # not payable
  require calldata.size - 4 >=′ 64
  require spender == spender
  mem[64] = 160
  if stor1 <= amount:
      revert with 0, 'ERC721A: owner query for nonexistent token'
  if amount < 2500:
      idx = amount
      while idx >= 0:
          mem[0] = idx
          mem[32] = 4
          _36 = mem[64]
          mem[64] = mem[64] + 64
          mem[_36] = stor4[idx].field_0
          mem[_36 + 32] = stor4[idx].field_160
          if not stor4[idx].field_0:
              if not idx:
                  revert with 0, 17
              idx = idx - 1
              continue 
          if spender == stor4[idx].field_0:
              revert with 0, 'ERC721A: approval to current owner'
          if stor4[idx].field_0 != caller:
              if not stor7[stor4[idx].field_0][caller]:
                  revert with 0, 'ERC721A: approve caller is not owner nor approved for all'
          approved[amount] = spender
          log Approval(
                address owner=stor4[idx].field_0,
                address spender=spender,
                uint256 value=amount)
          stop
  else:
      if 1 > !(amount - 2500):
          revert with 0, 17
      idx = amount
      while idx >= amount - 2499:
          mem[0] = idx
          mem[32] = 4
          _39 = mem[64]
          mem[64] = mem[64] + 64
          mem[_39] = stor4[idx].field_0
          mem[_39 + 32] = stor4[idx].field_160
          if not stor4[idx].field_0:
              if not idx:
                  revert with 0, 17
              idx = idx - 1
              continue 
          if spender == stor4[idx].field_0:
              revert with 0, 'ERC721A: approval to current owner'
          if stor4[idx].field_0 != caller:
              if not stor7[stor4[idx].field_0][caller]:
                  revert with 0, 'ERC721A: approve caller is not owner nor approved for all'
          approved[amount] = spender
          log Approval(
                address owner=stor4[idx].field_0,
                address spender=spender,
                uint256 value=amount)
          stop
  revert with 0, 'ERC721A: unable to determine the owner of token'

def tokenURI(uint256 tokenId): # not payable
  require calldata.size - 4 >=′ 32
  if stor1 <= tokenId:
      revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'ERC721Metadata: URI query for nonexistent token'
  idx = 41
  s = this.address
  while idx > 1:
      if s % 16 >= 16:
          revert with 0, 50
      if idx >= 42:
          revert with 0, 50
      mem[idx + 128 len 8] = Mask(8, -(0, 0) + 256, 0) << (0, 0) - 256
      if not idx:
          revert with 0, 17
      idx = idx - 1
      s = s / 16
      continue 
  if this.address + 10080:
      revert with 0, 'Strings: hex length insufficient'
  if bool(stor18.length):
      if bool(stor18.length) == stor18.length.field_1 < 32:
          revert with 0, 34
      if bool(stor18.length):
          if bool(stor18.length) != 1:
              return ''
          idx = 0
          s = 0
          while idx < stor18.length.field_1:
              mem[idx + 224] = stor18[s].field_0
              idx = idx + 32
              s = s + 1
              continue 
          if stor18.length.field_1 + 43 > 0:
              if not tokenId:
      else:
          if stor18.length.field_1 + 43 <= 0:
              return ''
          if tokenId:
              s = 0
              idx = tokenId
              while idx:
                  if s == -1:
                      revert with 0, 17
                  s = s + 1
                  idx = idx / 10
                  continue 
              if s > LOCK8605463013():
                  revert with 0, 65
              if tokenId:
                  if s < 1:
                      revert with 0, 17
                  if 48 > !(tokenId % 10):
                      revert with 0, 17
  else:
      if bool(stor18.length) == stor18.length.field_1 < 32:
          revert with 0, 34
      if bool(stor18.length):
          if bool(stor18.length) != 1:
              return ''
          idx = 0
          s = 0
          while idx < stor18.length.field_1:
              mem[idx + 224] = stor18[s].field_0
              idx = idx + 32
              s = s + 1
              continue 
          if stor18.length.field_1 + 43 > 0:
              if not tokenId:
      else:
          if stor18.length.field_1 + 43 <= 0:
              return ''
          if tokenId:
              s = 0
              idx = tokenId
              while idx:
                  if s == -1:
                      revert with 0, 17
                  s = s + 1
                  idx = idx / 10
                  continue 
              if s > LOCK8605463013():
                  revert with 0, 65
              if tokenId:
                  if s < 1:
                      revert with 0, 17
                  if 48 > !(tokenId % 10):
                      revert with 0, 17
  ...  # Decompilation aborted, sorry: ("decompilation didn't finish",)

def release(address account): # not payable
  require calldata.size - 4 >=′ 32
  require account == account
  if not shares[address(account)]:
      revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'PaymentSplitter: account has no shares'
  if eth.balance(this.address) > !totalReleased:
      revert with 0, 17
  if eth.balance(this.address) + totalReleased and shares[address(account)] > -1 / eth.balance(this.address) + totalReleased:
      revert with 0, 17
  if not totalShares:
      revert with 0, 18
  if (eth.balance(this.address) * shares[address(account)]) + (totalReleased * shares[address(account)]) / totalShares < released[address(account)]:
      revert with 0, 17
  if not ((eth.balance(this.address) * shares[address(account)]) + (totalReleased * shares[address(account)]) / totalShares) - released[address(account)]:
      revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'PaymentSplitter: account is not due payment'
  if released[address(account)] > !(((eth.balance(this.address) * shares[address(account)]) + (totalReleased * shares[address(account)]) / totalShares) - released[address(account)]):
      revert with 0, 17
  released[address(account)] = (eth.balance(this.address) * shares[address(account)]) + (totalReleased * shares[address(account)]) / totalShares
  if totalReleased > !(((eth.balance(this.address) * shares[address(account)]) + (totalReleased * shares[address(account)]) / totalShares) - released[address(account)]):
      revert with 0, 17
  totalReleased = totalReleased + ((eth.balance(this.address) * shares[address(account)]) + (totalReleased * shares[address(account)]) / totalShares) - released[address(account)]
  if ((eth.balance(this.address) * shares[address(account)]) + (totalReleased * shares[address(account)]) / totalShares) - released[address(account)] > eth.balance(this.address):
      revert with 0, 'Address: insufficient balance'
  call account with:
     value ((eth.balance(this.address) * shares[address(account)]) + (totalReleased * shares[address(account)]) / totalShares) - released[address(account)] wei
       gas gas_remaining wei
  if not return_data.size:
      if not ext_call.success:
          revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 
                      'Address: unable to send value, recipient may have reverted'
  else:
      if not ext_call.success:
          revert with 0, 'Address: unable to send value, recipient may have reverted'
  ('bool', 'ext_call.success')
  log PaymentReleased(
        address to=address(account),
        uint256 amount=((eth.balance(this.address) * shares[address(account)]) + (totalReleased * shares[address(account)]) / totalShares) - released[address(account)])

def name(): # not payable
  if bool(stor2.length):
      if bool(stor2.length) == stor2.length.field_1 < 32:
          revert with 0, 34
      if bool(stor2.length):
          if bool(stor2.length) == stor2.length.field_1 < 32:
              revert with 0, 34
          if stor2.length.field_1:
              if 31 < stor2.length.field_1:
                  mem[128] = uint256(stor2.field_0)
                  idx = 128
                  s = 0
                  while stor2.length.field_1 + 96 > idx:
                      mem[idx + 32] = stor2[s].field_256
                      idx = idx + 32
                      s = s + 1
                      continue 
                  return Array(len=2 * Mask(256, -1, stor2.length.field_1), data=mem[128 len ceil32(stor2.length.field_1)])
              mem[128] = 256 * stor2.length.field_8
      else:
          if bool(stor2.length) == stor2.length.field_1 < 32:
              revert with 0, 34
          if stor2.length.field_1:
              if 31 < stor2.length.field_1:
                  mem[128] = uint256(stor2.field_0)
                  idx = 128
                  s = 0
                  while stor2.length.field_1 + 96 > idx:
                      mem[idx + 32] = stor2[s].field_256
                      idx = idx + 32
                      s = s + 1
                      continue 
                  return Array(len=2 * Mask(256, -1, stor2.length.field_1), data=mem[128 len ceil32(stor2.length.field_1)])
              mem[128] = 256 * stor2.length.field_8
      mem[ceil32(stor2.length.field_1) + 192 len ceil32(stor2.length.field_1)] = mem[128 len ceil32(stor2.length.field_1)]
      if ceil32(stor2.length.field_1) > stor2.length.field_1:
          mem[stor2.length.field_1 + ceil32(stor2.length.field_1) + 192] = 0
      return Array(len=2 * Mask(256, -1, stor2.length.field_1), data=mem[128 len ceil32(stor2.length.field_1)], mem[(2 * ceil32(stor2.length.field_1)) + 192 len 2 * ceil32(stor2.length.field_1)]), 
  if bool(stor2.length) == stor2.length.field_1 < 32:
      revert with 0, 34
  if bool(stor2.length):
      if bool(stor2.length) == stor2.length.field_1 < 32:
          revert with 0, 34
      if stor2.length.field_1:
          if 31 < stor2.length.field_1:
              mem[128] = uint256(stor2.field_0)
              idx = 128
              s = 0
              while stor2.length.field_1 + 96 > idx:
                  mem[idx + 32] = stor2[s].field_256
                  idx = idx + 32
                  s = s + 1
                  continue 
              return Array(len=stor2.length % 128, data=mem[128 len ceil32(stor2.length.field_1)])
          mem[128] = 256 * stor2.length.field_8
  else:
      if bool(stor2.length) == stor2.length.field_1 < 32:
          revert with 0, 34
      if stor2.length.field_1:
          if 31 < stor2.length.field_1:
              mem[128] = uint256(stor2.field_0)
              idx = 128
              s = 0
              while stor2.length.field_1 + 96 > idx:
                  mem[idx + 32] = stor2[s].field_256
                  idx = idx + 32
                  s = s + 1
                  continue 
              return Array(len=stor2.length % 128, data=mem[128 len ceil32(stor2.length.field_1)])
          mem[128] = 256 * stor2.length.field_8
  mem[ceil32(stor2.length.field_1) + 192 len ceil32(stor2.length.field_1)] = mem[128 len ceil32(stor2.length.field_1)]
  if ceil32(stor2.length.field_1) > stor2.length.field_1:
      mem[stor2.length.field_1 + ceil32(stor2.length.field_1) + 192] = 0
  return Array(len=stor2.length % 128, data=mem[128 len ceil32(stor2.length.field_1)], mem[(2 * ceil32(stor2.length.field_1)) + 192 len 2 * ceil32(stor2.length.field_1)]), 

def symbol(): # not payable
  if bool(stor3.length):
      if bool(stor3.length) == stor3.length.field_1 < 32:
          revert with 0, 34
      if bool(stor3.length):
          if bool(stor3.length) == stor3.length.field_1 < 32:
              revert with 0, 34
          if stor3.length.field_1:
              if 31 < stor3.length.field_1:
                  mem[128] = uint256(stor3.field_0)
                  idx = 128
                  s = 0
                  while stor3.length.field_1 + 96 > idx:
                      mem[idx + 32] = stor3[s].field_256
                      idx = idx + 32
                      s = s + 1
                      continue 
                  return Array(len=2 * Mask(256, -1, stor3.length.field_1), data=mem[128 len ceil32(stor3.length.field_1)])
              mem[128] = 256 * stor3.length.field_8
      else:
          if bool(stor3.length) == stor3.length.field_1 < 32:
              revert with 0, 34
          if stor3.length.field_1:
              if 31 < stor3.length.field_1:
                  mem[128] = uint256(stor3.field_0)
                  idx = 128
                  s = 0
                  while stor3.length.field_1 + 96 > idx:
                      mem[idx + 32] = stor3[s].field_256
                      idx = idx + 32
                      s = s + 1
                      continue 
                  return Array(len=2 * Mask(256, -1, stor3.length.field_1), data=mem[128 len ceil32(stor3.length.field_1)])
              mem[128] = 256 * stor3.length.field_8
      mem[ceil32(stor3.length.field_1) + 192 len ceil32(stor3.length.field_1)] = mem[128 len ceil32(stor3.length.field_1)]
      if ceil32(stor3.length.field_1) > stor3.length.field_1:
          mem[stor3.length.field_1 + ceil32(stor3.length.field_1) + 192] = 0
      return Array(len=2 * Mask(256, -1, stor3.length.field_1), data=mem[128 len ceil32(stor3.length.field_1)], mem[(2 * ceil32(stor3.length.field_1)) + 192 len 2 * ceil32(stor3.length.field_1)]), 
  if bool(stor3.length) == stor3.length.field_1 < 32:
      revert with 0, 34
  if bool(stor3.length):
      if bool(stor3.length) == stor3.length.field_1 < 32:
          revert with 0, 34
      if stor3.length.field_1:
          if 31 < stor3.length.field_1:
              mem[128] = uint256(stor3.field_0)
              idx = 128
              s = 0
              while stor3.length.field_1 + 96 > idx:
                  mem[idx + 32] = stor3[s].field_256
                  idx = idx + 32
                  s = s + 1
                  continue 
              return Array(len=stor3.length % 128, data=mem[128 len ceil32(stor3.length.field_1)])
          mem[128] = 256 * stor3.length.field_8
  else:
      if bool(stor3.length) == stor3.length.field_1 < 32:
          revert with 0, 34
      if stor3.length.field_1:
          if 31 < stor3.length.field_1:
              mem[128] = uint256(stor3.field_0)
              idx = 128
              s = 0
              while stor3.length.field_1 + 96 > idx:
                  mem[idx + 32] = stor3[s].field_256
                  idx = idx + 32
                  s = s + 1
                  continue 
              return Array(len=stor3.length % 128, data=mem[128 len ceil32(stor3.length.field_1)])
          mem[128] = 256 * stor3.length.field_8
  mem[ceil32(stor3.length.field_1) + 192 len ceil32(stor3.length.field_1)] = mem[128 len ceil32(stor3.length.field_1)]
  if ceil32(stor3.length.field_1) > stor3.length.field_1:
      mem[stor3.length.field_1 + ceil32(stor3.length.field_1) + 192] = 0
  return Array(len=stor3.length % 128, data=mem[128 len ceil32(stor3.length.field_1)], mem[(2 * ceil32(stor3.length.field_1)) + 192 len 2 * ceil32(stor3.length.field_1)]), 

def _baseTokenURI(): # not payable
  if bool(stor18.length):
      if bool(stor18.length) == stor18.length.field_1 < 32:
          revert with 0, 34
      if bool(stor18.length):
          if bool(stor18.length) == stor18.length.field_1 < 32:
              revert with 0, 34
          if stor18.length.field_1:
              if 31 < stor18.length.field_1:
                  mem[128] = uint256(stor18.field_0)
                  idx = 128
                  s = 0
                  while stor18.length.field_1 + 96 > idx:
                      mem[idx + 32] = stor18[s].field_256
                      idx = idx + 32
                      s = s + 1
                      continue 
                  return Array(len=2 * Mask(256, -1, stor18.length.field_1), data=mem[128 len ceil32(stor18.length.field_1)])
              mem[128] = 256 * stor18.length.field_8
      else:
          if bool(stor18.length) == stor18.length.field_1 < 32:
              revert with 0, 34
          if stor18.length.field_1:
              if 31 < stor18.length.field_1:
                  mem[128] = uint256(stor18.field_0)
                  idx = 128
                  s = 0
                  while stor18.length.field_1 + 96 > idx:
                      mem[idx + 32] = stor18[s].field_256
                      idx = idx + 32
                      s = s + 1
                      continue 
                  return Array(len=2 * Mask(256, -1, stor18.length.field_1), data=mem[128 len ceil32(stor18.length.field_1)])
              mem[128] = 256 * stor18.length.field_8
      mem[ceil32(stor18.length.field_1) + 192 len ceil32(stor18.length.field_1)] = mem[128 len ceil32(stor18.length.field_1)]
      if ceil32(stor18.length.field_1) > stor18.length.field_1:
          mem[stor18.length.field_1 + ceil32(stor18.length.field_1) + 192] = 0
      return Array(len=2 * Mask(256, -1, stor18.length.field_1), data=mem[128 len ceil32(stor18.length.field_1)], mem[(2 * ceil32(stor18.length.field_1)) + 192 len 2 * ceil32(stor18.length.field_1)]), 
  if bool(stor18.length) == stor18.length.field_1 < 32:
      revert with 0, 34
  if bool(stor18.length):
      if bool(stor18.length) == stor18.length.field_1 < 32:
          revert with 0, 34
      if stor18.length.field_1:
          if 31 < stor18.length.field_1:
              mem[128] = uint256(stor18.field_0)
              idx = 128
              s = 0
              while stor18.length.field_1 + 96 > idx:
                  mem[idx + 32] = stor18[s].field_256
                  idx = idx + 32
                  s = s + 1
                  continue 
              return Array(len=stor18.length % 128, data=mem[128 len ceil32(stor18.length.field_1)])
          mem[128] = 256 * stor18.length.field_8
  else:
      if bool(stor18.length) == stor18.length.field_1 < 32:
          revert with 0, 34
      if stor18.length.field_1:
          if 31 < stor18.length.field_1:
              mem[128] = uint256(stor18.field_0)
              idx = 128
              s = 0
              while stor18.length.field_1 + 96 > idx:
                  mem[idx + 32] = stor18[s].field_256
                  idx = idx + 32
                  s = s + 1
                  continue 
              return Array(len=stor18.length % 128, data=mem[128 len ceil32(stor18.length.field_1)])
          mem[128] = 256 * stor18.length.field_8
  mem[ceil32(stor18.length.field_1) + 192 len ceil32(stor18.length.field_1)] = mem[128 len ceil32(stor18.length.field_1)]
  if ceil32(stor18.length.field_1) > stor18.length.field_1:
      mem[stor18.length.field_1 + ceil32(stor18.length.field_1) + 192] = 0
  return Array(len=stor18.length % 128, data=mem[128 len ceil32(stor18.length.field_1)], mem[(2 * ceil32(stor18.length.field_1)) + 192 len 2 * ceil32(stor18.length.field_1)]), 

def mint(address _to, uint256 _amount) payable: 
  require calldata.size - 4 >=′ 64
  require _to == _to
  if owner != caller:
      revert with 0, 'Ownable: caller is not the owner'
  if stor1 < 1:
      revert with 0, 17
  if stor1 - 1 > !_amount:
      revert with 0, 17
  if stor1 + _amount - 1 > MAX_TOTAL_MINT:
      revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'BASE_COLLECTION/EXCEEDS_MAX_SUPPLY'
  mem[96] = 0
  if not _to:
      revert with 0, 'ERC721A: mint to the zero address'
  if stor1 > stor1:
      revert with 0, 'ERC721A: token already minted'
  if _amount > 2500:
      revert with 0, 'ERC721A: quantity to mint too high'
  mem[128] = balanceOf[address(_to)].field_0
  mem[160] = balanceOf[address(_to)].field_128
  if balanceOf[address(_to)].field_0 > -uint128(_amount) + LOCK8605463013():
      revert with 0, 17
  mem[192] = uint128(uint128(_amount) + balanceOf[address(_to)].field_0)
  if balanceOf[address(_to)].field_128 > -uint128(_amount) + LOCK8605463013():
      revert with 0, 17
  mem[224] = uint128(uint128(_amount) + balanceOf[address(_to)].field_128)
  balanceOf[address(_to)].field_0 = uint128(uint128(_amount) + balanceOf[address(_to)].field_0)
  balanceOf[address(_to)].field_128 = uint128(uint128(_amount) + balanceOf[address(_to)].field_128)
  mem[64] = 320
  mem[256] = _to
  mem[288] = uint64(block.timestamp)
  mem[0] = stor1
  mem[32] = 4
  stor4[stor1].field_0 = _to
  stor4[stor1].field_160 = uint64(block.timestamp)
  idx = 0
  s = stor1
  while idx < _amount:
      log Transfer(
            address from=0,
            address to=_to,
            uint256 value=s)
      if ext_code.size(_to):
          mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
          mem[mem[64] + 4] = caller
          mem[mem[64] + 36] = 0
          mem[mem[64] + 68] = s
          mem[mem[64] + 100] = 128
          mem[mem[64] + 132] = mem[96]
          t = 0
          while t < mem[96]:
              mem[t + mem[64] + 164] = mem[t + 128]
              t = t + 32
              continue 
          if ceil32(mem[96]) <= mem[96]:
              require ext_code.size(_to)
              call _to.onERC721Received(address , address , uint256 , bytes ) with:
                   gas gas_remaining wei
                  args caller, 0, s, 128, mem[96], mem[mem[64] + 164 len ceil32(mem[96])]
              mem[mem[64]] = ext_call.return_data[0]
              if not ext_call.success:
                  if not return_data.size:
                      if not mem[96]:
                          revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                      revert with memory
                        from 128
                         len mem[96]
                  if not return_data.size:
                      revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                  revert with ext_call.return_data[0 len return_data.size]
              _91 = mem[64]
              mem[64] = mem[64] + ceil32(return_data.size)
              require return_data.size >=′ 32
              require mem[_91] == Mask(32, 224, mem[_91])
              if Mask(32, 224, mem[_91]) != 0x150b7a0200000000000000000000000000000000000000000000000000000000:
                  revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
          else:
              mem[mem[96] + mem[64] + 164] = 0
              require ext_code.size(_to)
              call _to.onERC721Received(address , address , uint256 , bytes ) with:
                   gas gas_remaining wei
                  args caller, 0, s, 128, mem[96], mem[mem[64] + 164 len ceil32(mem[96])]
              mem[mem[64]] = ext_call.return_data[0]
              if not ext_call.success:
                  if not return_data.size:
                      if not mem[96]:
                          revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                      revert with memory
                        from 128
                         len mem[96]
                  if not return_data.size:
                      revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                  revert with ext_call.return_data[0 len return_data.size]
              _92 = mem[64]
              mem[64] = mem[64] + ceil32(return_data.size)
              require return_data.size >=′ 32
              require mem[_92] == Mask(32, 224, mem[_92])
              if Mask(32, 224, mem[_92]) != 0x150b7a0200000000000000000000000000000000000000000000000000000000:
                  revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
      if s == -1:
          revert with 0, 17
      if idx == -1:
          revert with 0, 17
      idx = idx + 1
      s = s + 1
      continue 
  stor1 = s

def transferFrom(address sender, address recipient, uint256 amount): # not payable
  require calldata.size - 4 >=′ 96
  require sender == sender
  require recipient == recipient
  mem[64] = 160
  if stor1 <= amount:
      revert with 0, 'ERC721A: owner query for nonexistent token'
  if amount < 2500:
      idx = amount
      while idx >= 0:
          mem[0] = idx
          mem[32] = 4
          _194 = mem[64]
          mem[64] = mem[64] + 64
          mem[_194] = stor4[idx].field_0
          mem[_194 + 32] = stor4[idx].field_160
          if not stor4[idx].field_0:
              if not idx:
                  revert with 0, 17
              idx = idx - 1
              continue 
          if stor4[idx].field_0 != caller:
              if stor1 <= amount:
                  revert with 0, 'ERC721A: approved query for nonexistent token'
              if approved[amount] != caller:
                  if not stor7[stor4[idx].field_0][caller]:
                      revert with 0, 'ERC721A: transfer caller is not owner nor approved'
          if stor4[idx].field_0 != sender:
              revert with 0, 'ERC721A: transfer from incorrect owner'
          if not recipient:
              revert with 0, 'ERC721A: transfer to the zero address'
          approved[amount] = 0
          log Approval(
                address owner=stor4[idx].field_0,
                address spender=0,
                uint256 value=amount)
          if balanceOf[address(sender)].field_0 < 1:
              revert with 0, 17
          balanceOf[address(sender)].field_0 = uint128(balanceOf[address(sender)].field_0 - 1)
          if balanceOf[address(recipient)].field_0 > LOCK8605463013():
              revert with 0, 17
          balanceOf[address(recipient)].field_0 = uint128(balanceOf[address(recipient)].field_0 + 1)
          stor4[amount].field_0 = recipient
          stor4[amount].field_160 = uint64(block.timestamp)
          if 1 > !amount:
              revert with 0, 17
          if not stor4[amount + 1].field_0:
              if stor1 > amount + 1:
                  stor4[amount + 1].field_0 = stor4[idx].field_0
                  stor4[amount + 1].field_160 = stor4[idx].field_160
          log Transfer(
                address from=sender,
                address to=recipient,
                uint256 value=amount)
          stop
  else:
      if 1 > !(amount - 2500):
          revert with 0, 17
      idx = amount
      while idx >= amount - 2499:
          mem[0] = idx
          mem[32] = 4
          _197 = mem[64]
          mem[64] = mem[64] + 64
          mem[_197] = stor4[idx].field_0
          mem[_197 + 32] = stor4[idx].field_160
          if not stor4[idx].field_0:
              if not idx:
                  revert with 0, 17
              idx = idx - 1
              continue 
          if stor4[idx].field_0 != caller:
              if stor1 <= amount:
                  revert with 0, 'ERC721A: approved query for nonexistent token'
              if approved[amount] != caller:
                  if not stor7[stor4[idx].field_0][caller]:
                      revert with 0, 'ERC721A: transfer caller is not owner nor approved'
          if stor4[idx].field_0 != sender:
              revert with 0, 'ERC721A: transfer from incorrect owner'
          if not recipient:
              revert with 0, 'ERC721A: transfer to the zero address'
          approved[amount] = 0
          log Approval(
                address owner=stor4[idx].field_0,
                address spender=0,
                uint256 value=amount)
          if balanceOf[address(sender)].field_0 < 1:
              revert with 0, 17
          balanceOf[address(sender)].field_0 = uint128(balanceOf[address(sender)].field_0 - 1)
          if balanceOf[address(recipient)].field_0 > LOCK8605463013():
              revert with 0, 17
          balanceOf[address(recipient)].field_0 = uint128(balanceOf[address(recipient)].field_0 + 1)
          stor4[amount].field_0 = recipient
          stor4[amount].field_160 = uint64(block.timestamp)
          if 1 > !amount:
              revert with 0, 17
          if not stor4[amount + 1].field_0:
              if stor1 > amount + 1:
                  stor4[amount + 1].field_0 = stor4[idx].field_0
                  stor4[amount + 1].field_160 = stor4[idx].field_160
          log Transfer(
                address from=sender,
                address to=recipient,
                uint256 value=amount)
          stop
  revert with 0, 'ERC721A: unable to determine the owner of token'

def release(address token, address account): # not payable
  require calldata.size - 4 >=′ 64
  require token == token
  require account == account
  if not shares[address(account)]:
      revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'PaymentSplitter: account has no shares'
  mem[100] = this.address
  require ext_code.size(token)
  static call token.balanceOf(address account) with:
          gas gas_remaining wei
         args this.address
  mem[96] = ext_call.return_data[0]
  if not ext_call.success:
      revert with ext_call.return_data[0 len return_data.size]
  require return_data.size >=′ 32
  if ext_call.return_data[0] > !totalReleased[address(token)]:
      revert with 0, 17
  if ext_call.return_data[0] + totalReleased[address(token)] and shares[address(account)] > -1 / ext_call.return_data[0] + totalReleased[address(token)]:
      revert with 0, 17
  if not totalShares:
      revert with 0, 18
  if (ext_call.return_data[0] * shares[address(account)]) + (totalReleased[address(token)] * shares[address(account)]) / totalShares < released[address(token)][address(account)]:
      revert with 0, 17
  if not ((ext_call.return_data[0] * shares[address(account)]) + (totalReleased[address(token)] * shares[address(account)]) / totalShares) - released[address(token)][address(account)]:
      revert with 0, 'PaymentSplitter: account is not due payment'
  if released[address(token)][address(account)] > !(((ext_call.return_data[0] * shares[address(account)]) + (totalReleased[address(token)] * shares[address(account)]) / totalShares) - released[address(token)][address(account)]):
      revert with 0, 17
  released[address(token)][address(account)] = (ext_call.return_data[0] * shares[address(account)]) + (totalReleased[address(token)] * shares[address(account)]) / totalShares
  if totalReleased[address(token)] > !(((ext_call.return_data[0] * shares[address(account)]) + (totalReleased[address(token)] * shares[address(account)]) / totalShares) - released[address(token)][address(account)]):
      revert with 0, 17
  totalReleased[address(token)] = totalReleased[address(token)] + ((ext_call.return_data[0] * shares[address(account)]) + (totalReleased[address(token)] * shares[address(account)]) / totalShares) - released[address(token)][address(account)]
  mem[ceil32(return_data.size) + 132] = account
  mem[ceil32(return_data.size) + 164] = ((ext_call.return_data[0] * shares[address(account)]) + (totalReleased[address(token)] * shares[address(account)]) / totalShares) - released[address(token)][address(account)]
  mem[ceil32(return_data.size) + 96] = 68
  mem[ceil32(return_data.size) + 132 len 28] = address(account) << 64
  mem[ceil32(return_data.size) + 128 len 4] = transfer(address recipient, uint256 amount)
  mem[ceil32(return_data.size) + 196] = 32
  mem[ceil32(return_data.size) + 228] = 'SafeERC20: low-level call failed'
  if not ext_code.size(token):
      revert with 0, 'Address: call to non-contract'
  mem[ceil32(return_data.size) + 260 len 96] = transfer(address recipient, uint256 amount), address(account) << 64, 0, ((ext_call.return_data[0] * shares[address(account)]) + (totalReleased[address(token)] * shares[address(account)]) / totalShares) - released[address(token)][address(account)], 0
  mem[ceil32(return_data.size) + 328] = 0
  call token with:
     funct Mask(32, 224, transfer(address recipient, uint256 amount), address(account) << 64, 0, ((ext_call.return_data[0] * shares[address(account)]) + (totalReleased[address(token)] * shares[address(account)]) / totalShares) - released[address(token)][address(account)], 0) >> 224
       gas gas_remaining wei
      args (Mask(512, -288, transfer(address recipient, uint256 amount), address(account) << 64, 0, ((ext_call.return_data[0] * shares[address(account)]) + (totalReleased[address(token)] * shares[address(account)]) / totalShares) - released[address(token)][address(account)], 0) << 288)
  if not return_data.size:
      if not ext_call.success:
          if ext_call.return_data[0]:
              revert with memory
                from 128
                 len ext_call.return_data[0]
          revert with 0, 'SafeERC20: low-level call failed'
      if ext_call.return_data[0]:
          require ext_call.return_data[0] >=′ 32
          require uint32(this.address), mem[132 len 28] == bool(uint32(this.address), mem[132 len 28])
          if not uint32(this.address), mem[132 len 28]:
              revert with 0, 'SafeERC20: ERC20 operation did not succeed'
  else:
      mem[ceil32(return_data.size) + 292 len return_data.size] = ext_call.return_data[0 len return_data.size]
      if not ext_call.success:
          if return_data.size:
              revert with ext_call.return_data[0 len return_data.size]
          revert with 0, 'SafeERC20: low-level call failed'
      if return_data.size:
          require return_data.size >=′ 32
          require mem[ceil32(return_data.size) + 292] == bool(mem[ceil32(return_data.size) + 292])
          if not mem[ceil32(return_data.size) + 292]:
              revert with 0, 'SafeERC20: ERC20 operation did not succeed'
  log ERC20PaymentReleased(
        address token=address(account),
        address to=((ext_call.return_data[0] * shares[address(account)]) + (totalReleased[address(token)] * shares[address(account)]) / totalShares) - released[address(token)][address(account)],
        uint256 amount=token)

def _fallback(?) payable: # default function
  if calldata.size < 4:
      require not calldata.size
      log PaymentReceived(
            address from=caller,
            uint256 amount=call.value)
      stop
  if setSaleInformation(uint256 publicSaleTime, uint256 preSaleTime, uint256 maxPerAddress, uint256 presaleMaxPerAddress, uint256 price, uint256 presalePrice, bytes32 merkleRoot, uint256 maxTxPerAddress) > uint32(call.func_hash):
      if unpause() > uint32(call.func_hash):
          if _maxSupply() <= uint32(call.func_hash):
              if royaltyInfo(uint256 _tokenId, uint256 _salePrice) <= uint32(call.func_hash):
                  if royaltyInfo(uint256 _tokenId, uint256 _salePrice) == uint32(call.func_hash):
                      require not call.value
                      require calldata.size - 4 >=′ 64
                      if _param2 and stor9.field_160 % unknown01000000() > -1 / _param2:
                          revert with 0, 17
                      return address(stor9.field_0), _param2 * stor9.field_160 % unknown01000000() / 10000
                  if uint32(call.func_hash) != tokenOfOwnerByIndex(address owner, uint256 index):
                      if _merkleRoot() == uint32(call.func_hash):
                          require not call.value
                          return _merkleRoot
                      require totalShares() == uint32(call.func_hash)
                      require not call.value
                      return totalShares
                  require not call.value
                  require calldata.size - 4 >=′ 64
                  require _param1 == address(_param1)
                  if not address(_param1):
                      revert with 0, 'ERC721A: balance query for the zero address'
                  if _param2 >= balanceOf[address(_param1)].field_0:
                      revert with 0, 'ERC721A: owner index out of bounds'
                  if stor1 < 1:
                      revert with 0, 17
              else:
                  if _maxSupply() == uint32(call.func_hash):
                      require not call.value
                      return MAX_TOTAL_MINT
                  if _price() == uint32(call.func_hash):
                      require not call.value
                      return _price
                  require transferFrom(address sender, address recipient, uint256 amount) == uint32(call.func_hash)
                  require not call.value
                  require calldata.size - 4 >=′ 96
                  require _param1 == address(_param1)
                  require _param2 == address(_param2)
                  if stor1 <= _param3:
                      revert with 0, 'ERC721A: owner query for nonexistent token'
                  if _param3 >= 2500:
                      if 1 > !(_param3 - 2500):
                          revert with 0, 17
              ...  # Decompilation aborted, sorry: ("decompilation didn't finish",)
          if approve(address spender, uint256 amount) > uint32(call.func_hash):
              if supportsInterface(bytes4 interfaceId) == uint32(call.func_hash):
                  require not call.value
                  require calldata.size - 4 >=′ 32
                  require _param1 == Mask(32, 224, _param1)
                  if '*U Z' == Mask(32, 224, _param1):
                      return True
                  if 0x80ac58cd00000000000000000000000000000000000000000000000000000000 == Mask(32, 224, _param1):
                      return True
                  if 0x5b5e139f00000000000000000000000000000000000000000000000000000000 == Mask(32, 224, _param1):
                      return True
                  if 0x780e9d6300000000000000000000000000000000000000000000000000000000 == Mask(32, 224, _param1):
                      return True
                  return (Mask(32, 224, _param1) == 0x1ffc9a700000000000000000000000000000000000000000000000000000000)
              if uint32(call.func_hash) != name():
                  require getApproved(uint256 tokenId) == uint32(call.func_hash)
                  require not call.value
                  require calldata.size - 4 >=′ 32
                  if stor1 <= _param1:
                      revert with 0, 'ERC721A: approved query for nonexistent token'
                  return approved[_param1]
              require not call.value
              if bool(stor2.length):
                  if bool(stor2.length) == stor2.length.field_1 < 32:
                      revert with 0, 34
              else:
                  if bool(stor2.length) == stor2.length.field_1 < 32:
                      revert with 0, 34
              if bool(stor2.length):
                  if bool(stor2.length) == stor2.length.field_1 < 32:
                      revert with 0, 34
                  if stor2.length.field_1:
              else:
                  if bool(stor2.length) == stor2.length.field_1 < 32:
                      revert with 0, 34
                  if stor2.length.field_1:
              ...  # Decompilation aborted, sorry: ("decompilation didn't finish",)
          if approve(address spender, uint256 amount) == uint32(call.func_hash):
              require not call.value
              require calldata.size - 4 >=′ 64
              require _param1 == address(_param1)
              if stor1 <= _param2:
                  revert with 0, 'ERC721A: owner query for nonexistent token'
              if _param2 >= 2500:
                  if 1 > !(_param2 - 2500):
                      revert with 0, 17
              ...  # Decompilation aborted, sorry: ("decompilation didn't finish",)
          if totalSupply() == uint32(call.func_hash):
              require not call.value
              if stor1 < 1:
                  revert with 0, 17
              return (stor1 - 1)
          if uint32(call.func_hash) != release(address account):
              require isPublicSaleActive() == uint32(call.func_hash)
              require not call.value
              if not _publicSaleTime:
                  return not _publicSaleTime
              return (_publicSaleTime < block.timestamp)
          require not call.value
          require calldata.size - 4 >=′ 32
          require _param1 == address(_param1)
          if not shares[address(_param1)]:
              revert with 0, 'PaymentSplitter: account has no shares'
          if eth.balance(this.address) > !totalReleased:
              revert with 0, 17
          if eth.balance(this.address) + totalReleased and shares[address(_param1)] > -1 / eth.balance(this.address) + totalReleased:
              revert with 0, 17
          if not totalShares:
              revert with 0, 18
          if (eth.balance(this.address) * shares[address(_param1)]) + (totalReleased * shares[address(_param1)]) / totalShares < released[address(_param1)]:
              revert with 0, 17
          if not ((eth.balance(this.address) * shares[address(_param1)]) + (totalReleased * shares[address(_param1)]) / totalShares) - released[address(_param1)]:
              revert with 0, 'PaymentSplitter: account is not due payment'
          if released[address(_param1)] > !(((eth.balance(this.address) * shares[address(_param1)]) + (totalReleased * shares[address(_param1)]) / totalShares) - released[address(_param1)]):
              revert with 0, 17
          released[address(_param1)] = (eth.balance(this.address) * shares[address(_param1)]) + (totalReleased * shares[address(_param1)]) / totalShares
          if totalReleased > !(((eth.balance(this.address) * shares[address(_param1)]) + (totalReleased * shares[address(_param1)]) / totalShares) - released[address(_param1)]):
              revert with 0, 17
          totalReleased = totalReleased + ((eth.balance(this.address) * shares[address(_param1)]) + (totalReleased * shares[address(_param1)]) / totalShares) - released[address(_param1)]
          if ((eth.balance(this.address) * shares[address(_param1)]) + (totalReleased * shares[address(_param1)]) / totalShares) - released[address(_param1)] > eth.balance(this.address):
              revert with 0, 'Address: insufficient balance'
          call address(_param1) with:
             value ((eth.balance(this.address) * shares[address(_param1)]) + (totalReleased * shares[address(_param1)]) / totalShares) - released[address(_param1)] wei
               gas gas_remaining wei
          if not ext_call.success:
              revert with 0, 'Address: unable to send value, recipient may have reverted'
          log PaymentReleased(
                address to=address(_param1),
                uint256 amount=((eth.balance(this.address) * shares[address(_param1)]) + (totalReleased * shares[address(_param1)]) / totalShares) - released[address(_param1)])
          stop
      if _presalePrice() <= uint32(call.func_hash):
          if _maxTxPerAddress() > uint32(call.func_hash):
              if _presalePrice() == uint32(call.func_hash):
                  require not call.value
                  return _presalePrice
              if ownerOf(uint256 tokenId) == uint32(call.func_hash):
                  require not call.value
                  require calldata.size - 4 >=′ 32
                  if stor1 <= _param1:
                      revert with 0, 'ERC721A: owner query for nonexistent token'
                  if _param1 >= 2500:
                      if 1 > !(_param1 - 2500):
                          revert with 0, 17
                  ...  # Decompilation aborted, sorry: ("decompilation didn't finish",)
              require MAX_TOTAL_MINT_PER_ADDRESS() == uint32(call.func_hash)
              require not call.value
              if _preSaleTime:
                  if _preSaleTime >= block.timestamp:
                      return _maxPerAddress
                  if block.timestamp >= _publicSaleTime:
                      return _maxPerAddress
              return _presaleMaxPerAddress
          if _maxTxPerAddress() == uint32(call.func_hash):
              require not call.value
              return _maxTxPerAddress
          if uint32(call.func_hash) != updateRoyalties(address recipient, uint256 bps):
              if balanceOf(address account) == uint32(call.func_hash):
                  require not call.value
                  require calldata.size - 4 >=′ 32
                  require _param1 == address(_param1)
                  if not address(_param1):
                      revert with 0, 'ERC721A: balance query for the zero address'
                  return balanceOf[address(_param1)].field_0
              require renounceOwnership() == uint32(call.func_hash)
              require not call.value
              if owner != caller:
                  revert with 0, 'Ownable: caller is not the owner'
              owner = 0
              log OwnershipTransferred(
                    address previousOwner=owner,
                    address newOwner=0)
          else:
              require not call.value
              require calldata.size - 4 >=′ 64
              require _param1 == address(_param1)
              if owner != caller:
                  revert with 0, 'Ownable: caller is not the owner'
              if _param2 > 10000:
                  revert with 0, 'ERC2981Royalties: Too high'
              address(stor9.field_0) = address(_param1)
              stor9.field_160 % unknown01000000() = _param2 % unknown01000000()
          stop
      if safeTransferFrom(address from, address to, uint256 tokenId) > uint32(call.func_hash):
          if unpause() == uint32(call.func_hash):
              require not call.value
              if owner != caller:
                  revert with 0, 'Ownable: caller is not the owner'
              if not paused:
                  revert with 0, 'Pausable: not paused'
              paused = 0
              log Unpaused(address account=caller)
              stop
          if released(address token, address account) == uint32(call.func_hash):
              require not call.value
              require calldata.size - 4 >=′ 64
              require _param1 == address(_param1)
              require _param2 == address(_param2)
              return released[address(_param1)][address(_param2)]
          require mint(address _to, uint256 _amount) == uint32(call.func_hash)
          require calldata.size - 4 >=′ 64
          require _param1 == address(_param1)
          if owner != caller:
              revert with 0, 'Ownable: caller is not the owner'
          if stor1 < 1:
              revert with 0, 17
          if stor1 - 1 > !_param2:
              revert with 0, 17
          if stor1 + _param2 - 1 > MAX_TOTAL_MINT:
              revert with 0, 'BASE_COLLECTION/EXCEEDS_MAX_SUPPLY'
          if not address(_param1):
              revert with 0, 'ERC721A: mint to the zero address'
          if stor1 > stor1:
              revert with 0, 'ERC721A: token already minted'
          if _param2 > 2500:
              revert with 0, 'ERC721A: quantity to mint too high'
          if balanceOf[address(_param1)].field_0 > -uint128(_param2) + LOCK8605463013():
              revert with 0, 17
          if balanceOf[address(_param1)].field_128 > -uint128(_param2) + LOCK8605463013():
              revert with 0, 17
          balanceOf[address(_param1)].field_0 = uint128(uint128(_param2) + balanceOf[address(_param1)].field_0)
          balanceOf[address(_param1)].field_128 = uint128(uint128(_param2) + balanceOf[address(_param1)].field_128)
          stor4[stor1].field_0 = address(_param1)
          stor4[stor1].field_160 = uint64(block.timestamp)
      else:
          if safeTransferFrom(address from, address to, uint256 tokenId) == uint32(call.func_hash):
              require not call.value
              require calldata.size - 4 >=′ 96
              require _param1 == address(_param1)
              require _param2 == address(_param2)
              if stor1 <= _param3:
                  revert with 0, 'ERC721A: owner query for nonexistent token'
              if _param3 >= 2500:
                  if 1 > !(_param3 - 2500):
                      revert with 0, 17
          else:
              if uint32(call.func_hash) != release(address token, address account):
                  if uint32(call.func_hash) != tokenByIndex(uint256 index):
                      require paused() == uint32(call.func_hash)
                      require not call.value
                      return bool(paused)
                  require not call.value
                  require calldata.size - 4 >=′ 32
                  if stor1 < 1:
                      revert with 0, 17
                  if _param1 >= stor1 - 1:
                      revert with 0, 'ERC721A: global index out of bounds'
                  return _param1
              require not call.value
              require calldata.size - 4 >=′ 64
              require _param1 == address(_param1)
              require _param2 == address(_param2)
              if not shares[address(_param2)]:
                  revert with 0, 'PaymentSplitter: account has no shares'
              require ext_code.size(address(_param1))
              static call address(_param1).balanceOf(address account) with:
                      gas gas_remaining wei
                     args this.address
              if not ext_call.success:
                  revert with ext_call.return_data[0 len return_data.size]
              require return_data.size >=′ 32
              if ext_call.return_data[0] > !totalReleased[address(_param1)]:
                  revert with 0, 17
              if ext_call.return_data[0] + totalReleased[address(_param1)] and shares[address(_param2)] > -1 / ext_call.return_data[0] + totalReleased[address(_param1)]:
                  revert with 0, 17
              if not totalShares:
                  revert with 0, 18
              if (ext_call.return_data[0] * shares[address(_param2)]) + (totalReleased[address(_param1)] * shares[address(_param2)]) / totalShares < released[address(_param1)][address(_param2)]:
                  revert with 0, 17
              if not ((ext_call.return_data[0] * shares[address(_param2)]) + (totalReleased[address(_param1)] * shares[address(_param2)]) / totalShares) - released[address(_param1)][address(_param2)]:
                  revert with 0, 'PaymentSplitter: account is not due payment'
              if released[address(_param1)][address(_param2)] > !(((ext_call.return_data[0] * shares[address(_param2)]) + (totalReleased[address(_param1)] * shares[address(_param2)]) / totalShares) - released[address(_param1)][address(_param2)]):
                  revert with 0, 17
              released[address(_param1)][address(_param2)] = (ext_call.return_data[0] * shares[address(_param2)]) + (totalReleased[address(_param1)] * shares[address(_param2)]) / totalShares
              if totalReleased[address(_param1)] > !(((ext_call.return_data[0] * shares[address(_param2)]) + (totalReleased[address(_param1)] * shares[address(_param2)]) / totalShares) - released[address(_param1)][address(_param2)]):
                  revert with 0, 17
              totalReleased[address(_param1)] = totalReleased[address(_param1)] + ((ext_call.return_data[0] * shares[address(_param2)]) + (totalReleased[address(_param1)] * shares[address(_param2)]) / totalShares) - released[address(_param1)][address(_param2)]
              if not ext_code.size(address(_param1)):
                  revert with 0, 'Address: call to non-contract'
  else:
      if safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) > uint32(call.func_hash):
          if _presaleMaxPerAddress() > uint32(call.func_hash):
              if pause() <= uint32(call.func_hash):
                  if pause() == uint32(call.func_hash):
                      require not call.value
                      if owner != caller:
                          revert with 0, 'Ownable: caller is not the owner'
                      if paused:
                          revert with 0, 'Pausable: paused'
                      paused = 1
                      log Paused(address account=caller)
                      stop
                  if payee(uint256 index) == uint32(call.func_hash):
                      require not call.value
                      require calldata.size - 4 >=′ 32
                      if _param1 >= payee.length:
                          revert with 0, 50
                      return payee[_param1]
                  if uint32(call.func_hash) != PRICE():
                      require owner() == uint32(call.func_hash)
                      require not call.value
                      return owner
                  require not call.value
                  if _preSaleTime:
                      if _preSaleTime >= block.timestamp:
                          return _price
                      if block.timestamp >= _publicSaleTime:
                          return _price
                  return _presalePrice
              if uint32(call.func_hash) != setSaleInformation(uint256 publicSaleTime, uint256 preSaleTime, uint256 maxPerAddress, uint256 presaleMaxPerAddress, uint256 price, uint256 presalePrice, bytes32 merkleRoot, uint256 maxTxPerAddress):
                  if uint32(call.func_hash) != onEarlyPurchaseList(address addr, bytes32[] merkleProof):
                      require setMerkleRoot(bytes32 _merkleRoot) == uint32(call.func_hash)
                      require not call.value
                      require calldata.size - 4 >=′ 32
                      if owner != caller:
                          revert with 0, 'Ownable: caller is not the owner'
                      _merkleRoot = _param1
                      stop
                  require not call.value
                  require calldata.size - 4 >=′ 64
                  require _param1 == address(_param1)
                  require _param2 <= LOCK8605463013()
                  require _param2 + 35 <′ calldata.size
                  require _param2.length <= LOCK8605463013()
                  require _param2 + (32 * _param2.length) + 36 <= calldata.size
                  ...  # Decompilation aborted, sorry: ("decompilation didn't finish",)
              require not call.value
              require calldata.size - 4 >=′ 256
              if owner != caller:
                  revert with 0, 'Ownable: caller is not the owner'
              _publicSaleTime = _param1
              _preSaleTime = _param2
              _maxPerAddress = _param3
              _presaleMaxPerAddress = _param4
              _price = _param5
              _presalePrice = _param6
              _merkleRoot = _param7
              _maxTxPerAddress = _param8
              stop
          if isPreSaleActive() > uint32(call.func_hash):
              if _presaleMaxPerAddress() == uint32(call.func_hash):
                  require not call.value
                  return _presaleMaxPerAddress
              if uint32(call.func_hash) != symbol():
                  require released(address account) == uint32(call.func_hash)
                  require not call.value
                  require calldata.size - 4 >=′ 32
                  require _param1 == address(_param1)
                  return released[address(_param1)]
              require not call.value
              if bool(stor3.length):
                  if bool(stor3.length) == stor3.length.field_1 < 32:
                      revert with 0, 34
              else:
                  if bool(stor3.length) == stor3.length.field_1 < 32:
                      revert with 0, 34
              if bool(stor3.length):
                  if bool(stor3.length) == stor3.length.field_1 < 32:
                      revert with 0, 34
                  if stor3.length.field_1:
              else:
                  if bool(stor3.length) == stor3.length.field_1 < 32:
                      revert with 0, 34
                  if stor3.length.field_1:
          else:
              if isPreSaleActive() == uint32(call.func_hash):
                  require not call.value
                  if not _preSaleTime:
                      return not _preSaleTime
                  if _preSaleTime >= block.timestamp:
                      return (_preSaleTime < block.timestamp)
                  return (block.timestamp < _publicSaleTime)
              if uint32(call.func_hash) != setBaseUri(string _uri):
                  if uint32(call.func_hash) != setApprovalForAll(address operator, bool approved):
                      require _publicSaleTime() == uint32(call.func_hash)
                      require not call.value
                      return _publicSaleTime
                  require not call.value
                  require calldata.size - 4 >=′ 64
                  require _param1 == address(_param1)
                  require _param2 == bool(_param2)
                  if caller == address(_param1):
                      revert with 0, 'ERC721A: approve to caller'
                  stor7[caller][address(_param1)] = uint8(bool(_param2))
                  log ApprovalForAll(
                        address owner=bool(_param2),
                        address operator=caller,
                        bool approved=address(_param1))
                  stop
              require not call.value
              require calldata.size - 4 >=′ 32
              require _param1 <= LOCK8605463013()
              require calldata.size >′ _param1 + 35
              if _param1.length > LOCK8605463013():
                  revert with 0, 65
              if ceil32(ceil32(_param1.length)) + 129 < 128 or ceil32(ceil32(_param1.length)) + 129 > LOCK8605463013():
                  revert with 0, 65
              require _param1 + _param1.length + 36 <= calldata.size
              if owner != caller:
                  revert with 0, 'Ownable: caller is not the owner'
              if bool(stor18.length):
                  if bool(stor18.length) == stor18.length.field_1 < 32:
                      revert with 0, 34
              else:
                  if bool(stor18.length) == stor18.length.field_1 < 32:
                      revert with 0, 34
              if _param1.length:
                  stor18.length = (2 * _param1.length) + 1
              else:
                  stor18.length = 0
      else:
          if earlyPurchase(uint256 count, bytes32[] merkleProof) > uint32(call.func_hash):
              if MAX_TOTAL_MINT() <= uint32(call.func_hash):
                  if MAX_TOTAL_MINT() == uint32(call.func_hash):
                      require not call.value
                      return MAX_TOTAL_MINT
                  if uint32(call.func_hash) != _baseTokenURI():
                      if nextOwnerToExplicitlySet() == uint32(call.func_hash):
                          require not call.value
                          return nextOwnerToExplicitlySet
                      require totalReleased(address token) == uint32(call.func_hash)
                      require not call.value
                      require calldata.size - 4 >=′ 32
                      require _param1 == address(_param1)
                      return totalReleased[address(_param1)]
                  require not call.value
                  if bool(stor18.length):
                      if bool(stor18.length) == stor18.length.field_1 < 32:
                          revert with 0, 34
                  else:
                      if bool(stor18.length) == stor18.length.field_1 < 32:
                          revert with 0, 34
                  if bool(stor18.length):
                      if bool(stor18.length) == stor18.length.field_1 < 32:
                          revert with 0, 34
                      if stor18.length.field_1:
                  else:
                      if bool(stor18.length) == stor18.length.field_1 < 32:
                          revert with 0, 34
                      if stor18.length.field_1:
              else:
                  if uint32(call.func_hash) != safeTransferFrom(address from, address to, uint256 tokenId, bytes _data):
                      if tokenURI(uint256 tokenId) == uint32(call.func_hash):
                          require not call.value
                          require calldata.size - 4 >=′ 32
                          if stor1 <= _param1:
                              revert with 0, 'ERC721Metadata: URI query for nonexistent token'
                          ...  # Decompilation aborted, sorry: ("decompilation didn't finish",)
                      require shares(address account) == uint32(call.func_hash)
                      require not call.value
                      require calldata.size - 4 >=′ 32
                      require _param1 == address(_param1)
                      return shares[address(_param1)]
                  require not call.value
                  require calldata.size - 4 >=′ 128
                  require _param1 == address(_param1)
                  require _param2 == address(_param2)
                  require _param4 <= LOCK8605463013()
                  require calldata.size >′ _param4 + 35
                  if _param4.length > LOCK8605463013():
                      revert with 0, 65
                  if ceil32(ceil32(_param4.length)) + 129 < 128 or ceil32(ceil32(_param4.length)) + 129 > LOCK8605463013():
                      revert with 0, 65
                  require _param4 + _param4.length + 36 <= calldata.size
                  if stor1 <= _param3:
                      revert with 0, 'ERC721A: owner query for nonexistent token'
                  if _param3 >= 2500:
                      if 1 > !(_param3 - 2500):
                          revert with 0, 17
          else:
              if isApprovedForAll(address owner, address operator) > uint32(call.func_hash):
                  if uint32(call.func_hash) != earlyPurchase(uint256 count, bytes32[] merkleProof):
                      if _maxPerAddress() == uint32(call.func_hash):
                          require not call.value
                          return _maxPerAddress
                      require totalReleased() == uint32(call.func_hash)
                      require not call.value
                      return totalReleased
                  require calldata.size - 4 >=′ 64
                  require _param2 <= LOCK8605463013()
                  require _param2 + 35 <′ calldata.size
                  require _param2.length <= LOCK8605463013()
                  require _param2 + (32 * _param2.length) + 36 <= calldata.size
                  if paused:
                      revert with 0, 'Pausable: paused'
                  if stor1 < 1:
                      revert with 0, 17
                  if stor1 - 1 > !_param1:
                      revert with 0, 17
                  if stor1 + _param1 - 1 > MAX_TOTAL_MINT:
                      revert with 0, 'BASE_COLLECTION/EXCEEDS_MAX_SUPPLY'
                  if _maxTxPerAddress:
                      if _param1 > _maxTxPerAddress:
                          revert with 0, 'BASE_COLLECTION/EXCEEDS_MAX_PER_TRANSACTION'
                  if stor28[caller] > !_param1:
                      revert with 0, 17
                  if _presaleMaxPerAddress:
                      if stor28[caller] + _param1 > _presaleMaxPerAddress:
                          revert with 0, 'BASE_COLLECTION/EXCEEDS_INDIVIDUAL_SUPPLY'
                  if _preSaleTime:
                      if _preSaleTime >= block.timestamp:
                          revert with 0, 'BASE_COLLECTION/CANNOT_MINT_PRESALE'
                      if block.timestamp >= _publicSaleTime:
                          revert with 0, 'BASE_COLLECTION/CANNOT_MINT_PRESALE'
              else:
                  if isApprovedForAll(address owner, address operator) == uint32(call.func_hash):
                      require not call.value
                      require calldata.size - 4 >=′ 64
                      require _param1 == address(_param1)
                      require _param2 == address(_param2)
                      return bool(stor7[address(_param1)][address(_param2)])
                  if uint32(call.func_hash) != purchase(uint256 _tokenId):
                      if uint32(call.func_hash) != transferOwnership(address newOwner):
                          require _preSaleTime() == uint32(call.func_hash)
                          require not call.value
                          return _preSaleTime
                      require not call.value
                      require calldata.size - 4 >=′ 32
                      require _param1 == address(_param1)
                      if owner != caller:
                          revert with 0, 'Ownable: caller is not the owner'
                      if not address(_param1):
                          revert with 0, 'Ownable: new owner is the zero address'
                      owner = address(_param1)
                      log OwnershipTransferred(
                            address previousOwner=owner,
                            address newOwner=address(_param1))
                      stop
                  require calldata.size - 4 >=′ 32
                  if paused:
                      revert with 0, 'Pausable: paused'
                  if stor1 < 1:
                      revert with 0, 17
                  if stor1 - 1 > !_param1:
                      revert with 0, 17
                  if stor1 + _param1 - 1 > MAX_TOTAL_MINT:
                      revert with 0, 'BASE_COLLECTION/EXCEEDS_MAX_SUPPLY'
                  if not _maxTxPerAddress:
                      if stor28[caller] > !_param1:
                          revert with 0, 17
                      if not _maxPerAddress:
                          if _publicSaleTime:
                              if _publicSaleTime >= block.timestamp:
                                  revert with 0, 'BASE_COLLECTION/CANNOT_MINT'
                          if _price and _param1 > -1 / _price:
                              revert with 0, 17
                          if _price * _param1 > call.value:
                              revert with 0, 'BASE_COLLECTION/INSUFFICIENT_ETH_AMOUNT'
                          if stor28[caller] > !_param1:
                              revert with 0, 17
                          stor28[caller] += _param1
                          if not caller:
                              revert with 0, 'ERC721A: mint to the zero address'
                          if stor1 > stor1:
                              revert with 0, 'ERC721A: token already minted'
                          if _param1 > 2500:
                              revert with 0, 'ERC721A: quantity to mint too high'
                          if balanceOf[caller].field_0 > -uint128(_param1) + LOCK8605463013():
                              revert with 0, 17
                          if balanceOf[caller].field_128 > -uint128(_param1) + LOCK8605463013():
                              revert with 0, 17
                          balanceOf[caller].field_0 = uint128(uint128(_param1) + balanceOf[caller].field_0)
                          balanceOf[caller].field_128 = uint128(uint128(_param1) + balanceOf[caller].field_128)
                          stor4[stor1].field_0 = caller
                          stor4[stor1].field_160 = uint64(block.timestamp)
                          if 0 >= _param1:
                              log Purchase(
                                    address holder=caller,
                                    uint256 tokenAmount=_price,
                                    uint256 etherAmount=_param1)
                              stop
                          log Transfer(
                                address from=0,
                                address to=caller,
                                uint256 value=stor1)
                          if not ext_code.size(caller):
                              if stor1 == -1:
                                  revert with 0, 17
                      else:
                          if stor28[caller] + _param1 > _maxPerAddress:
                              revert with 0, 'BASE_COLLECTION/EXCEEDS_INDIVIDUAL_SUPPLY'
                          if _publicSaleTime:
                              if _publicSaleTime >= block.timestamp:
                                  revert with 0, 'BASE_COLLECTION/CANNOT_MINT'
                          if _price and _param1 > -1 / _price:
                              revert with 0, 17
                          if _price * _param1 > call.value:
                              revert with 0, 'BASE_COLLECTION/INSUFFICIENT_ETH_AMOUNT'
                          if stor28[caller] > !_param1:
                              revert with 0, 17
                          stor28[caller] += _param1
                          if not caller:
                              revert with 0, 'ERC721A: mint to the zero address'
                          if stor1 > stor1:
                              revert with 0, 'ERC721A: token already minted'
                          if _param1 > 2500:
                              revert with 0, 'ERC721A: quantity to mint too high'
                          if balanceOf[caller].field_0 > -uint128(_param1) + LOCK8605463013():
                              revert with 0, 17
                          if balanceOf[caller].field_128 > -uint128(_param1) + LOCK8605463013():
                              revert with 0, 17
                          balanceOf[caller].field_0 = uint128(uint128(_param1) + balanceOf[caller].field_0)
                          balanceOf[caller].field_128 = uint128(uint128(_param1) + balanceOf[caller].field_128)
                          stor4[stor1].field_0 = caller
                          stor4[stor1].field_160 = uint64(block.timestamp)
                          if 0 >= _param1:
                              log Purchase(
                                    address holder=caller,
                                    uint256 tokenAmount=_price,
                                    uint256 etherAmount=_param1)
                              stop
                          log Transfer(
                                address from=0,
                                address to=caller,
                                uint256 value=stor1)
                          if not ext_code.size(caller):
                  else:
                      if _param1 > _maxTxPerAddress:
                          revert with 0, 'BASE_COLLECTION/EXCEEDS_MAX_PER_TRANSACTION'
                      if stor28[caller] > !_param1:
                          revert with 0, 17
                      if _maxPerAddress:
                          if stor28[caller] + _param1 > _maxPerAddress:
                              revert with 0, 'BASE_COLLECTION/EXCEEDS_INDIVIDUAL_SUPPLY'
                      if _publicSaleTime:
                          if _publicSaleTime >= block.timestamp:
                              revert with 0, 'BASE_COLLECTION/CANNOT_MINT'
                      if _price and _param1 > -1 / _price:
                          revert with 0, 17
                      if _price * _param1 > call.value:
                          revert with 0, 'BASE_COLLECTION/INSUFFICIENT_ETH_AMOUNT'
                      if stor28[caller] > !_param1:
                          revert with 0, 17
                      stor28[caller] += _param1
                      if not caller:
                          revert with 0, 'ERC721A: mint to the zero address'
                      if stor1 > stor1:
                          revert with 0, 'ERC721A: token already minted'
                      if _param1 > 2500:
                          revert with 0, 'ERC721A: quantity to mint too high'
                      if balanceOf[caller].field_0 > -uint128(_param1) + LOCK8605463013():
                          revert with 0, 17
                      if balanceOf[caller].field_128 > -uint128(_param1) + LOCK8605463013():
                          revert with 0, 17
                      balanceOf[caller].field_0 = uint128(uint128(_param1) + balanceOf[caller].field_0)
                      balanceOf[caller].field_128 = uint128(uint128(_param1) + balanceOf[caller].field_128)
                      stor4[stor1].field_0 = caller
                      stor4[stor1].field_160 = uint64(block.timestamp)
                      if 0 >= _param1:
                          log Purchase(
                                address holder=caller,
                                uint256 tokenAmount=_price,
                                uint256 etherAmount=_param1)
                          stop
                      log Transfer(
                            address from=0,
                            address to=caller,
                            uint256 value=stor1)
                      if not ext_code.size(caller):
  ...  # Decompilation aborted, sorry: ("decompilation didn't finish",)

def purchase(uint256 _tokenId) payable: 
  require calldata.size - 4 >=′ 32
  if paused:
      revert with 0, 'Pausable: paused'
  if stor1 < 1:
      revert with 0, 17
  if stor1 - 1 > !_tokenId:
      revert with 0, 17
  if stor1 + _tokenId - 1 > MAX_TOTAL_MINT:
      revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'BASE_COLLECTION/EXCEEDS_MAX_SUPPLY'
  if not _maxTxPerAddress:
      if stor28[caller] > !_tokenId:
          revert with 0, 17
      if not _maxPerAddress:
          if not _publicSaleTime:
              if _price and _tokenId > -1 / _price:
                  revert with 0, 17
              if _price * _tokenId > call.value:
                  revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'BASE_COLLECTION/INSUFFICIENT_ETH_AMOUNT'
              if stor28[caller] > !_tokenId:
                  revert with 0, 17
              stor28[caller] += _tokenId
              mem[96] = 0
              if not caller:
                  revert with 0, 'ERC721A: mint to the zero address'
              if stor1 > stor1:
                  revert with 0, 'ERC721A: token already minted'
              if _tokenId > 2500:
                  revert with 0, 'ERC721A: quantity to mint too high'
              mem[128] = balanceOf[caller].field_0
              mem[160] = balanceOf[caller].field_128
              if balanceOf[caller].field_0 > -uint128(_tokenId) + LOCK8605463013():
                  revert with 0, 17
              mem[192] = uint128(uint128(_tokenId) + balanceOf[caller].field_0)
              if balanceOf[caller].field_128 > -uint128(_tokenId) + LOCK8605463013():
                  revert with 0, 17
              mem[224] = uint128(uint128(_tokenId) + balanceOf[caller].field_128)
              balanceOf[caller].field_0 = uint128(uint128(_tokenId) + balanceOf[caller].field_0)
              balanceOf[caller].field_128 = uint128(uint128(_tokenId) + balanceOf[caller].field_128)
              mem[64] = 320
              mem[256] = caller
              mem[288] = uint64(block.timestamp)
              mem[0] = stor1
              mem[32] = 4
              stor4[stor1].field_0 = caller
              stor4[stor1].field_160 = uint64(block.timestamp)
              idx = 0
              s = stor1
              while idx < _tokenId:
                  log Transfer(
                        address from=0,
                        address to=caller,
                        uint256 value=s)
                  if ext_code.size(caller):
                      mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                      mem[mem[64] + 4] = caller
                      mem[mem[64] + 36] = 0
                      mem[mem[64] + 68] = s
                      mem[mem[64] + 100] = 128
                      mem[mem[64] + 132] = mem[96]
                      t = 0
                      while t < mem[96]:
                          mem[t + mem[64] + 164] = mem[t + 128]
                          t = t + 32
                          continue 
                      if ceil32(mem[96]) <= mem[96]:
                          require ext_code.size(caller)
                          call caller.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, 0, s, 128, mem[96], mem[mem[64] + 164 len ceil32(mem[96])]
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if not mem[96]:
                                      revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                                  revert with memory
                                    from 128
                                     len mem[96]
                              if not return_data.size:
                                  revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                              revert with ext_call.return_data[0 len return_data.size]
                          _749 = mem[64]
                          mem[64] = mem[64] + ceil32(return_data.size)
                          require return_data.size >=′ 32
                          require mem[_749] == Mask(32, 224, mem[_749])
                          if Mask(32, 224, mem[_749]) != 0x150b7a0200000000000000000000000000000000000000000000000000000000:
                              revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                      else:
                          mem[mem[96] + mem[64] + 164] = 0
                          require ext_code.size(caller)
                          call caller.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, 0, s, 128, mem[96], mem[mem[64] + 164 len ceil32(mem[96])]
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if not mem[96]:
                                      revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                                  revert with memory
                                    from 128
                                     len mem[96]
                              if not return_data.size:
                                  revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                              revert with ext_call.return_data[0 len return_data.size]
                          _750 = mem[64]
                          mem[64] = mem[64] + ceil32(return_data.size)
                          require return_data.size >=′ 32
                          require mem[_750] == Mask(32, 224, mem[_750])
                          if Mask(32, 224, mem[_750]) != 0x150b7a0200000000000000000000000000000000000000000000000000000000:
                              revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                  if s == -1:
                      revert with 0, 17
                  if idx == -1:
                      revert with 0, 17
                  idx = idx + 1
                  s = s + 1
                  continue 
          else:
              if _publicSaleTime >= block.timestamp:
                  revert with 0, 'BASE_COLLECTION/CANNOT_MINT'
              if _price and _tokenId > -1 / _price:
                  revert with 0, 17
              if _price * _tokenId > call.value:
                  revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'BASE_COLLECTION/INSUFFICIENT_ETH_AMOUNT'
              if stor28[caller] > !_tokenId:
                  revert with 0, 17
              stor28[caller] += _tokenId
              mem[96] = 0
              if not caller:
                  revert with 0, 'ERC721A: mint to the zero address'
              if stor1 > stor1:
                  revert with 0, 'ERC721A: token already minted'
              if _tokenId > 2500:
                  revert with 0, 'ERC721A: quantity to mint too high'
              mem[128] = balanceOf[caller].field_0
              mem[160] = balanceOf[caller].field_128
              if balanceOf[caller].field_0 > -uint128(_tokenId) + LOCK8605463013():
                  revert with 0, 17
              mem[192] = uint128(uint128(_tokenId) + balanceOf[caller].field_0)
              if balanceOf[caller].field_128 > -uint128(_tokenId) + LOCK8605463013():
                  revert with 0, 17
              mem[224] = uint128(uint128(_tokenId) + balanceOf[caller].field_128)
              balanceOf[caller].field_0 = uint128(uint128(_tokenId) + balanceOf[caller].field_0)
              balanceOf[caller].field_128 = uint128(uint128(_tokenId) + balanceOf[caller].field_128)
              mem[64] = 320
              mem[256] = caller
              mem[288] = uint64(block.timestamp)
              mem[0] = stor1
              mem[32] = 4
              stor4[stor1].field_0 = caller
              stor4[stor1].field_160 = uint64(block.timestamp)
              idx = 0
              s = stor1
              while idx < _tokenId:
                  log Transfer(
                        address from=0,
                        address to=caller,
                        uint256 value=s)
                  if ext_code.size(caller):
                      mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                      mem[mem[64] + 4] = caller
                      mem[mem[64] + 36] = 0
                      mem[mem[64] + 68] = s
                      mem[mem[64] + 100] = 128
                      mem[mem[64] + 132] = mem[96]
                      t = 0
                      while t < mem[96]:
                          mem[t + mem[64] + 164] = mem[t + 128]
                          t = t + 32
                          continue 
                      if ceil32(mem[96]) <= mem[96]:
                          require ext_code.size(caller)
                          call caller.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, 0, s, 128, mem[96], mem[mem[64] + 164 len ceil32(mem[96])]
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if not mem[96]:
                                      revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                                  revert with memory
                                    from 128
                                     len mem[96]
                              if not return_data.size:
                                  revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                              revert with ext_call.return_data[0 len return_data.size]
                          _751 = mem[64]
                          mem[64] = mem[64] + ceil32(return_data.size)
                          require return_data.size >=′ 32
                          require mem[_751] == Mask(32, 224, mem[_751])
                          if Mask(32, 224, mem[_751]) != 0x150b7a0200000000000000000000000000000000000000000000000000000000:
                              revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                      else:
                          mem[mem[96] + mem[64] + 164] = 0
                          require ext_code.size(caller)
                          call caller.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, 0, s, 128, mem[96], mem[mem[64] + 164 len ceil32(mem[96])]
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if not mem[96]:
                                      revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                                  revert with memory
                                    from 128
                                     len mem[96]
                              if not return_data.size:
                                  revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                              revert with ext_call.return_data[0 len return_data.size]
                          _752 = mem[64]
                          mem[64] = mem[64] + ceil32(return_data.size)
                          require return_data.size >=′ 32
                          require mem[_752] == Mask(32, 224, mem[_752])
                          if Mask(32, 224, mem[_752]) != 0x150b7a0200000000000000000000000000000000000000000000000000000000:
                              revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                  if s == -1:
                      revert with 0, 17
                  if idx == -1:
                      revert with 0, 17
                  idx = idx + 1
                  s = s + 1
                  continue 
      else:
          if stor28[caller] + _tokenId > _maxPerAddress:
              revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'BASE_COLLECTION/EXCEEDS_INDIVIDUAL_SUPPLY'
          if not _publicSaleTime:
              if _price and _tokenId > -1 / _price:
                  revert with 0, 17
              if _price * _tokenId > call.value:
                  revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'BASE_COLLECTION/INSUFFICIENT_ETH_AMOUNT'
              if stor28[caller] > !_tokenId:
                  revert with 0, 17
              stor28[caller] += _tokenId
              mem[96] = 0
              if not caller:
                  revert with 0, 'ERC721A: mint to the zero address'
              if stor1 > stor1:
                  revert with 0, 'ERC721A: token already minted'
              if _tokenId > 2500:
                  revert with 0, 'ERC721A: quantity to mint too high'
              mem[128] = balanceOf[caller].field_0
              mem[160] = balanceOf[caller].field_128
              if balanceOf[caller].field_0 > -uint128(_tokenId) + LOCK8605463013():
                  revert with 0, 17
              mem[192] = uint128(uint128(_tokenId) + balanceOf[caller].field_0)
              if balanceOf[caller].field_128 > -uint128(_tokenId) + LOCK8605463013():
                  revert with 0, 17
              mem[224] = uint128(uint128(_tokenId) + balanceOf[caller].field_128)
              balanceOf[caller].field_0 = uint128(uint128(_tokenId) + balanceOf[caller].field_0)
              balanceOf[caller].field_128 = uint128(uint128(_tokenId) + balanceOf[caller].field_128)
              mem[64] = 320
              mem[256] = caller
              mem[288] = uint64(block.timestamp)
              mem[0] = stor1
              mem[32] = 4
              stor4[stor1].field_0 = caller
              stor4[stor1].field_160 = uint64(block.timestamp)
              idx = 0
              s = stor1
              while idx < _tokenId:
                  log Transfer(
                        address from=0,
                        address to=caller,
                        uint256 value=s)
                  if ext_code.size(caller):
                      mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                      mem[mem[64] + 4] = caller
                      mem[mem[64] + 36] = 0
                      mem[mem[64] + 68] = s
                      mem[mem[64] + 100] = 128
                      mem[mem[64] + 132] = mem[96]
                      t = 0
                      while t < mem[96]:
                          mem[t + mem[64] + 164] = mem[t + 128]
                          t = t + 32
                          continue 
                      if ceil32(mem[96]) <= mem[96]:
                          require ext_code.size(caller)
                          call caller.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, 0, s, 128, mem[96], mem[mem[64] + 164 len ceil32(mem[96])]
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if not mem[96]:
                                      revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                                  revert with memory
                                    from 128
                                     len mem[96]
                              if not return_data.size:
                                  revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                              revert with ext_call.return_data[0 len return_data.size]
                          _753 = mem[64]
                          mem[64] = mem[64] + ceil32(return_data.size)
                          require return_data.size >=′ 32
                          require mem[_753] == Mask(32, 224, mem[_753])
                          if Mask(32, 224, mem[_753]) != 0x150b7a0200000000000000000000000000000000000000000000000000000000:
                              revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                      else:
                          mem[mem[96] + mem[64] + 164] = 0
                          require ext_code.size(caller)
                          call caller.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, 0, s, 128, mem[96], mem[mem[64] + 164 len ceil32(mem[96])]
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if not mem[96]:
                                      revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                                  revert with memory
                                    from 128
                                     len mem[96]
                              if not return_data.size:
                                  revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                              revert with ext_call.return_data[0 len return_data.size]
                          _754 = mem[64]
                          mem[64] = mem[64] + ceil32(return_data.size)
                          require return_data.size >=′ 32
                          require mem[_754] == Mask(32, 224, mem[_754])
                          if Mask(32, 224, mem[_754]) != 0x150b7a0200000000000000000000000000000000000000000000000000000000:
                              revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                  if s == -1:
                      revert with 0, 17
                  if idx == -1:
                      revert with 0, 17
                  idx = idx + 1
                  s = s + 1
                  continue 
          else:
              if _publicSaleTime >= block.timestamp:
                  revert with 0, 'BASE_COLLECTION/CANNOT_MINT'
              if _price and _tokenId > -1 / _price:
                  revert with 0, 17
              if _price * _tokenId > call.value:
                  revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'BASE_COLLECTION/INSUFFICIENT_ETH_AMOUNT'
              if stor28[caller] > !_tokenId:
                  revert with 0, 17
              stor28[caller] += _tokenId
              mem[96] = 0
              if not caller:
                  revert with 0, 'ERC721A: mint to the zero address'
              if stor1 > stor1:
                  revert with 0, 'ERC721A: token already minted'
              if _tokenId > 2500:
                  revert with 0, 'ERC721A: quantity to mint too high'
              mem[128] = balanceOf[caller].field_0
              mem[160] = balanceOf[caller].field_128
              if balanceOf[caller].field_0 > -uint128(_tokenId) + LOCK8605463013():
                  revert with 0, 17
              mem[192] = uint128(uint128(_tokenId) + balanceOf[caller].field_0)
              if balanceOf[caller].field_128 > -uint128(_tokenId) + LOCK8605463013():
                  revert with 0, 17
              mem[224] = uint128(uint128(_tokenId) + balanceOf[caller].field_128)
              balanceOf[caller].field_0 = uint128(uint128(_tokenId) + balanceOf[caller].field_0)
              balanceOf[caller].field_128 = uint128(uint128(_tokenId) + balanceOf[caller].field_128)
              mem[64] = 320
              mem[256] = caller
              mem[288] = uint64(block.timestamp)
              mem[0] = stor1
              mem[32] = 4
              stor4[stor1].field_0 = caller
              stor4[stor1].field_160 = uint64(block.timestamp)
              idx = 0
              s = stor1
              while idx < _tokenId:
                  log Transfer(
                        address from=0,
                        address to=caller,
                        uint256 value=s)
                  if ext_code.size(caller):
                      mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                      mem[mem[64] + 4] = caller
                      mem[mem[64] + 36] = 0
                      mem[mem[64] + 68] = s
                      mem[mem[64] + 100] = 128
                      mem[mem[64] + 132] = mem[96]
                      t = 0
                      while t < mem[96]:
                          mem[t + mem[64] + 164] = mem[t + 128]
                          t = t + 32
                          continue 
                      if ceil32(mem[96]) <= mem[96]:
                          require ext_code.size(caller)
                          call caller.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, 0, s, 128, mem[96], mem[mem[64] + 164 len ceil32(mem[96])]
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if not mem[96]:
                                      revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                                  revert with memory
                                    from 128
                                     len mem[96]
                              if not return_data.size:
                                  revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                              revert with ext_call.return_data[0 len return_data.size]
                          _755 = mem[64]
                          mem[64] = mem[64] + ceil32(return_data.size)
                          require return_data.size >=′ 32
                          require mem[_755] == Mask(32, 224, mem[_755])
                          if Mask(32, 224, mem[_755]) != 0x150b7a0200000000000000000000000000000000000000000000000000000000:
                              revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                      else:
                          mem[mem[96] + mem[64] + 164] = 0
                          require ext_code.size(caller)
                          call caller.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, 0, s, 128, mem[96], mem[mem[64] + 164 len ceil32(mem[96])]
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if not mem[96]:
                                      revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                                  revert with memory
                                    from 128
                                     len mem[96]
                              if not return_data.size:
                                  revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                              revert with ext_call.return_data[0 len return_data.size]
                          _756 = mem[64]
                          mem[64] = mem[64] + ceil32(return_data.size)
                          require return_data.size >=′ 32
                          require mem[_756] == Mask(32, 224, mem[_756])
                          if Mask(32, 224, mem[_756]) != 0x150b7a0200000000000000000000000000000000000000000000000000000000:
                              revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                  if s == -1:
                      revert with 0, 17
                  if idx == -1:
                      revert with 0, 17
                  idx = idx + 1
                  s = s + 1
                  continue 
  else:
      if _tokenId > _maxTxPerAddress:
          revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'BASE_COLLECTION/EXCEEDS_MAX_PER_TRANSACTION'
      if stor28[caller] > !_tokenId:
          revert with 0, 17
      if not _maxPerAddress:
          if not _publicSaleTime:
              if _price and _tokenId > -1 / _price:
                  revert with 0, 17
              if _price * _tokenId > call.value:
                  revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'BASE_COLLECTION/INSUFFICIENT_ETH_AMOUNT'
              if stor28[caller] > !_tokenId:
                  revert with 0, 17
              stor28[caller] += _tokenId
              mem[96] = 0
              if not caller:
                  revert with 0, 'ERC721A: mint to the zero address'
              if stor1 > stor1:
                  revert with 0, 'ERC721A: token already minted'
              if _tokenId > 2500:
                  revert with 0, 'ERC721A: quantity to mint too high'
              mem[128] = balanceOf[caller].field_0
              mem[160] = balanceOf[caller].field_128
              if balanceOf[caller].field_0 > -uint128(_tokenId) + LOCK8605463013():
                  revert with 0, 17
              mem[192] = uint128(uint128(_tokenId) + balanceOf[caller].field_0)
              if balanceOf[caller].field_128 > -uint128(_tokenId) + LOCK8605463013():
                  revert with 0, 17
              mem[224] = uint128(uint128(_tokenId) + balanceOf[caller].field_128)
              balanceOf[caller].field_0 = uint128(uint128(_tokenId) + balanceOf[caller].field_0)
              balanceOf[caller].field_128 = uint128(uint128(_tokenId) + balanceOf[caller].field_128)
              mem[64] = 320
              mem[256] = caller
              mem[288] = uint64(block.timestamp)
              mem[0] = stor1
              mem[32] = 4
              stor4[stor1].field_0 = caller
              stor4[stor1].field_160 = uint64(block.timestamp)
              idx = 0
              s = stor1
              while idx < _tokenId:
                  log Transfer(
                        address from=0,
                        address to=caller,
                        uint256 value=s)
                  if ext_code.size(caller):
                      mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                      mem[mem[64] + 4] = caller
                      mem[mem[64] + 36] = 0
                      mem[mem[64] + 68] = s
                      mem[mem[64] + 100] = 128
                      mem[mem[64] + 132] = mem[96]
                      t = 0
                      while t < mem[96]:
                          mem[t + mem[64] + 164] = mem[t + 128]
                          t = t + 32
                          continue 
                      if ceil32(mem[96]) <= mem[96]:
                          require ext_code.size(caller)
                          call caller.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, 0, s, 128, mem[96], mem[mem[64] + 164 len ceil32(mem[96])]
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if not mem[96]:
                                      revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                                  revert with memory
                                    from 128
                                     len mem[96]
                              if not return_data.size:
                                  revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                              revert with ext_call.return_data[0 len return_data.size]
                          _757 = mem[64]
                          mem[64] = mem[64] + ceil32(return_data.size)
                          require return_data.size >=′ 32
                          require mem[_757] == Mask(32, 224, mem[_757])
                          if Mask(32, 224, mem[_757]) != 0x150b7a0200000000000000000000000000000000000000000000000000000000:
                              revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                      else:
                          mem[mem[96] + mem[64] + 164] = 0
                          require ext_code.size(caller)
                          call caller.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, 0, s, 128, mem[96], mem[mem[64] + 164 len ceil32(mem[96])]
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if not mem[96]:
                                      revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                                  revert with memory
                                    from 128
                                     len mem[96]
                              if not return_data.size:
                                  revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                              revert with ext_call.return_data[0 len return_data.size]
                          _758 = mem[64]
                          mem[64] = mem[64] + ceil32(return_data.size)
                          require return_data.size >=′ 32
                          require mem[_758] == Mask(32, 224, mem[_758])
                          if Mask(32, 224, mem[_758]) != 0x150b7a0200000000000000000000000000000000000000000000000000000000:
                              revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                  if s == -1:
                      revert with 0, 17
                  if idx == -1:
                      revert with 0, 17
                  idx = idx + 1
                  s = s + 1
                  continue 
          else:
              if _publicSaleTime >= block.timestamp:
                  revert with 0, 'BASE_COLLECTION/CANNOT_MINT'
              if _price and _tokenId > -1 / _price:
                  revert with 0, 17
              if _price * _tokenId > call.value:
                  revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'BASE_COLLECTION/INSUFFICIENT_ETH_AMOUNT'
              if stor28[caller] > !_tokenId:
                  revert with 0, 17
              stor28[caller] += _tokenId
              mem[96] = 0
              if not caller:
                  revert with 0, 'ERC721A: mint to the zero address'
              if stor1 > stor1:
                  revert with 0, 'ERC721A: token already minted'
              if _tokenId > 2500:
                  revert with 0, 'ERC721A: quantity to mint too high'
              mem[128] = balanceOf[caller].field_0
              mem[160] = balanceOf[caller].field_128
              if balanceOf[caller].field_0 > -uint128(_tokenId) + LOCK8605463013():
                  revert with 0, 17
              mem[192] = uint128(uint128(_tokenId) + balanceOf[caller].field_0)
              if balanceOf[caller].field_128 > -uint128(_tokenId) + LOCK8605463013():
                  revert with 0, 17
              mem[224] = uint128(uint128(_tokenId) + balanceOf[caller].field_128)
              balanceOf[caller].field_0 = uint128(uint128(_tokenId) + balanceOf[caller].field_0)
              balanceOf[caller].field_128 = uint128(uint128(_tokenId) + balanceOf[caller].field_128)
              mem[64] = 320
              mem[256] = caller
              mem[288] = uint64(block.timestamp)
              mem[0] = stor1
              mem[32] = 4
              stor4[stor1].field_0 = caller
              stor4[stor1].field_160 = uint64(block.timestamp)
              idx = 0
              s = stor1
              while idx < _tokenId:
                  log Transfer(
                        address from=0,
                        address to=caller,
                        uint256 value=s)
                  if ext_code.size(caller):
                      mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                      mem[mem[64] + 4] = caller
                      mem[mem[64] + 36] = 0
                      mem[mem[64] + 68] = s
                      mem[mem[64] + 100] = 128
                      mem[mem[64] + 132] = mem[96]
                      t = 0
                      while t < mem[96]:
                          mem[t + mem[64] + 164] = mem[t + 128]
                          t = t + 32
                          continue 
                      if ceil32(mem[96]) <= mem[96]:
                          require ext_code.size(caller)
                          call caller.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, 0, s, 128, mem[96], mem[mem[64] + 164 len ceil32(mem[96])]
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if not mem[96]:
                                      revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                                  revert with memory
                                    from 128
                                     len mem[96]
                              if not return_data.size:
                                  revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                              revert with ext_call.return_data[0 len return_data.size]
                          _759 = mem[64]
                          mem[64] = mem[64] + ceil32(return_data.size)
                          require return_data.size >=′ 32
                          require mem[_759] == Mask(32, 224, mem[_759])
                          if Mask(32, 224, mem[_759]) != 0x150b7a0200000000000000000000000000000000000000000000000000000000:
                              revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                      else:
                          mem[mem[96] + mem[64] + 164] = 0
                          require ext_code.size(caller)
                          call caller.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, 0, s, 128, mem[96], mem[mem[64] + 164 len ceil32(mem[96])]
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if not mem[96]:
                                      revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                                  revert with memory
                                    from 128
                                     len mem[96]
                              if not return_data.size:
                                  revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                              revert with ext_call.return_data[0 len return_data.size]
                          _760 = mem[64]
                          mem[64] = mem[64] + ceil32(return_data.size)
                          require return_data.size >=′ 32
                          require mem[_760] == Mask(32, 224, mem[_760])
                          if Mask(32, 224, mem[_760]) != 0x150b7a0200000000000000000000000000000000000000000000000000000000:
                              revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                  if s == -1:
                      revert with 0, 17
                  if idx == -1:
                      revert with 0, 17
                  idx = idx + 1
                  s = s + 1
                  continue 
      else:
          if stor28[caller] + _tokenId > _maxPerAddress:
              revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'BASE_COLLECTION/EXCEEDS_INDIVIDUAL_SUPPLY'
          if not _publicSaleTime:
              if _price and _tokenId > -1 / _price:
                  revert with 0, 17
              if _price * _tokenId > call.value:
                  revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'BASE_COLLECTION/INSUFFICIENT_ETH_AMOUNT'
              if stor28[caller] > !_tokenId:
                  revert with 0, 17
              stor28[caller] += _tokenId
              mem[96] = 0
              if not caller:
                  revert with 0, 'ERC721A: mint to the zero address'
              if stor1 > stor1:
                  revert with 0, 'ERC721A: token already minted'
              if _tokenId > 2500:
                  revert with 0, 'ERC721A: quantity to mint too high'
              mem[128] = balanceOf[caller].field_0
              mem[160] = balanceOf[caller].field_128
              if balanceOf[caller].field_0 > -uint128(_tokenId) + LOCK8605463013():
                  revert with 0, 17
              mem[192] = uint128(uint128(_tokenId) + balanceOf[caller].field_0)
              if balanceOf[caller].field_128 > -uint128(_tokenId) + LOCK8605463013():
                  revert with 0, 17
              mem[224] = uint128(uint128(_tokenId) + balanceOf[caller].field_128)
              balanceOf[caller].field_0 = uint128(uint128(_tokenId) + balanceOf[caller].field_0)
              balanceOf[caller].field_128 = uint128(uint128(_tokenId) + balanceOf[caller].field_128)
              mem[64] = 320
              mem[256] = caller
              mem[288] = uint64(block.timestamp)
              mem[0] = stor1
              mem[32] = 4
              stor4[stor1].field_0 = caller
              stor4[stor1].field_160 = uint64(block.timestamp)
              idx = 0
              s = stor1
              while idx < _tokenId:
                  log Transfer(
                        address from=0,
                        address to=caller,
                        uint256 value=s)
                  if ext_code.size(caller):
                      mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                      mem[mem[64] + 4] = caller
                      mem[mem[64] + 36] = 0
                      mem[mem[64] + 68] = s
                      mem[mem[64] + 100] = 128
                      mem[mem[64] + 132] = mem[96]
                      t = 0
                      while t < mem[96]:
                          mem[t + mem[64] + 164] = mem[t + 128]
                          t = t + 32
                          continue 
                      if ceil32(mem[96]) <= mem[96]:
                          require ext_code.size(caller)
                          call caller.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, 0, s, 128, mem[96], mem[mem[64] + 164 len ceil32(mem[96])]
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if not mem[96]:
                                      revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                                  revert with memory
                                    from 128
                                     len mem[96]
                              if not return_data.size:
                                  revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                              revert with ext_call.return_data[0 len return_data.size]
                          _761 = mem[64]
                          mem[64] = mem[64] + ceil32(return_data.size)
                          require return_data.size >=′ 32
                          require mem[_761] == Mask(32, 224, mem[_761])
                          if Mask(32, 224, mem[_761]) != 0x150b7a0200000000000000000000000000000000000000000000000000000000:
                              revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                      else:
                          mem[mem[96] + mem[64] + 164] = 0
                          require ext_code.size(caller)
                          call caller.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, 0, s, 128, mem[96], mem[mem[64] + 164 len ceil32(mem[96])]
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if not mem[96]:
                                      revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                                  revert with memory
                                    from 128
                                     len mem[96]
                              if not return_data.size:
                                  revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                              revert with ext_call.return_data[0 len return_data.size]
                          _762 = mem[64]
                          mem[64] = mem[64] + ceil32(return_data.size)
                          require return_data.size >=′ 32
                          require mem[_762] == Mask(32, 224, mem[_762])
                          if Mask(32, 224, mem[_762]) != 0x150b7a0200000000000000000000000000000000000000000000000000000000:
                              revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                  if s == -1:
                      revert with 0, 17
                  if idx == -1:
                      revert with 0, 17
                  idx = idx + 1
                  s = s + 1
                  continue 
          else:
              if _publicSaleTime >= block.timestamp:
                  revert with 0, 'BASE_COLLECTION/CANNOT_MINT'
              if _price and _tokenId > -1 / _price:
                  revert with 0, 17
              if _price * _tokenId > call.value:
                  revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'BASE_COLLECTION/INSUFFICIENT_ETH_AMOUNT'
              if stor28[caller] > !_tokenId:
                  revert with 0, 17
              stor28[caller] += _tokenId
              mem[96] = 0
              if not caller:
                  revert with 0, 'ERC721A: mint to the zero address'
              if stor1 > stor1:
                  revert with 0, 'ERC721A: token already minted'
              if _tokenId > 2500:
                  revert with 0, 'ERC721A: quantity to mint too high'
              mem[128] = balanceOf[caller].field_0
              mem[160] = balanceOf[caller].field_128
              if balanceOf[caller].field_0 > -uint128(_tokenId) + LOCK8605463013():
                  revert with 0, 17
              mem[192] = uint128(uint128(_tokenId) + balanceOf[caller].field_0)
              if balanceOf[caller].field_128 > -uint128(_tokenId) + LOCK8605463013():
                  revert with 0, 17
              mem[224] = uint128(uint128(_tokenId) + balanceOf[caller].field_128)
              balanceOf[caller].field_0 = uint128(uint128(_tokenId) + balanceOf[caller].field_0)
              balanceOf[caller].field_128 = uint128(uint128(_tokenId) + balanceOf[caller].field_128)
              mem[64] = 320
              mem[256] = caller
              mem[288] = uint64(block.timestamp)
              mem[0] = stor1
              mem[32] = 4
              stor4[stor1].field_0 = caller
              stor4[stor1].field_160 = uint64(block.timestamp)
              idx = 0
              s = stor1
              while idx < _tokenId:
                  log Transfer(
                        address from=0,
                        address to=caller,
                        uint256 value=s)
                  if ext_code.size(caller):
                      mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                      mem[mem[64] + 4] = caller
                      mem[mem[64] + 36] = 0
                      mem[mem[64] + 68] = s
                      mem[mem[64] + 100] = 128
                      mem[mem[64] + 132] = mem[96]
                      t = 0
                      while t < mem[96]:
                          mem[t + mem[64] + 164] = mem[t + 128]
                          t = t + 32
                          continue 
                      if ceil32(mem[96]) <= mem[96]:
                          require ext_code.size(caller)
                          call caller.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, 0, s, 128, mem[96], mem[mem[64] + 164 len ceil32(mem[96])]
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if not mem[96]:
                                      revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                                  revert with memory
                                    from 128
                                     len mem[96]
                              if not return_data.size:
                                  revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                              revert with ext_call.return_data[0 len return_data.size]
                          _763 = mem[64]
                          mem[64] = mem[64] + ceil32(return_data.size)
                          require return_data.size >=′ 32
                          require mem[_763] == Mask(32, 224, mem[_763])
                          if Mask(32, 224, mem[_763]) != 0x150b7a0200000000000000000000000000000000000000000000000000000000:
                              revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                      else:
                          mem[mem[96] + mem[64] + 164] = 0
                          require ext_code.size(caller)
                          call caller.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, 0, s, 128, mem[96], mem[mem[64] + 164 len ceil32(mem[96])]
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if not mem[96]:
                                      revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                                  revert with memory
                                    from 128
                                     len mem[96]
                              if not return_data.size:
                                  revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                              revert with ext_call.return_data[0 len return_data.size]
                          _764 = mem[64]
                          mem[64] = mem[64] + ceil32(return_data.size)
                          require return_data.size >=′ 32
                          require mem[_764] == Mask(32, 224, mem[_764])
                          if Mask(32, 224, mem[_764]) != 0x150b7a0200000000000000000000000000000000000000000000000000000000:
                              revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                  if s == -1:
                      revert with 0, 17
                  if idx == -1:
                      revert with 0, 17
                  idx = idx + 1
                  s = s + 1
                  continue 
  stor1 = s
  log Purchase(
        address holder=caller,
        uint256 tokenAmount=_price,
        uint256 etherAmount=_tokenId)

def earlyPurchase(uint256 count, bytes32[] merkleProof) payable: 
  require calldata.size - 4 >=′ 64
  require merkleProof <= LOCK8605463013()
  require merkleProof + 35 <′ calldata.size
  require merkleProof.length <= LOCK8605463013()
  require merkleProof + (32 * merkleProof.length) + 36 <= calldata.size
  if paused:
      revert with 0, 'Pausable: paused'
  if stor1 < 1:
      revert with 0, 17
  if stor1 - 1 > !count:
      revert with 0, 17
  if stor1 + count - 1 > MAX_TOTAL_MINT:
      revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'BASE_COLLECTION/EXCEEDS_MAX_SUPPLY'
  if not _maxTxPerAddress:
      mem[0] = caller
      mem[32] = 28
      if stor28[caller] > !count:
          revert with 0, 17
      if not _presaleMaxPerAddress:
          if not _preSaleTime:
              mem[128] = caller
              mem[96] = 20
              mem[64] = (32 * merkleProof.length) + 180
              mem[148] = merkleProof.length
              mem[180 len 32 * merkleProof.length] = call.data[merkleProof + 36 len 32 * merkleProof.length]
              mem[(32 * merkleProof.length) + 180] = 0
              idx = 0
              s = 0
              while idx < merkleProof.length:
                  if idx >= mem[148]:
                      revert with 0, 50
                  _629 = mem[(32 * idx) + 180]
                  if s + sha3(mem[128 len 20]) > mem[(32 * idx) + 180]:
                      mem[mem[64] + 32] = mem[(32 * idx) + 180]
                      mem[mem[64] + 64] = s + sha3(mem[128 len 20])
                      _638 = mem[64]
                      mem[mem[64]] = 64
                      mem[64] = mem[64] + 96
                      if idx == -1:
                          revert with 0, 17
                      idx = idx + 1
                      s = sha3(mem[_638 + 32 len mem[_638]])
                      continue 
                  mem[mem[64] + 32] = s + sha3(mem[128 len 20])
                  mem[mem[64] + 64] = _629
                  _642 = mem[64]
                  mem[mem[64]] = 64
                  mem[64] = mem[64] + 96
                  if idx == -1:
                      revert with 0, 17
                  idx = idx + 1
                  s = sha3(mem[_642 + 32 len mem[_642]])
                  continue 
              if s != _merkleRoot:
                  revert with 0, 'BASE_COLLECTION/CANNOT_MINT_PRESALE'
              if _presalePrice and count > -1 / _presalePrice:
                  revert with 0, 17
              if _presalePrice * count > call.value:
                  revert with 0, 'BASE_COLLECTION/INSUFFICIENT_ETH_AMOUNT'
              mem[0] = caller
              if stor28[caller] > !count:
                  revert with 0, 17
              stor28[caller] += count
              _741 = mem[64]
              mem[64] = mem[64] + 32
              mem[_741] = 0
              if not caller:
                  revert with 0, 'ERC721A: mint to the zero address'
              if stor1 > stor1:
                  revert with 0, 'ERC721A: token already minted'
              if count > 2500:
                  revert with 0, 'ERC721A: quantity to mint too high'
              mem[0] = caller
              mem[32] = 5
              _774 = mem[64]
              mem[64] = mem[64] + 64
              mem[_774] = balanceOf[caller].field_0
              mem[_774 + 32] = balanceOf[caller].field_128
              _775 = mem[64]
              mem[64] = mem[64] + 64
              if balanceOf[caller].field_0 > -uint128(count) + LOCK8605463013():
                  revert with 0, 17
              mem[_775] = uint128(uint128(count) + balanceOf[caller].field_0)
              if balanceOf[caller].field_128 > -uint128(count) + LOCK8605463013():
                  revert with 0, 17
              mem[_775 + 32] = uint128(uint128(count) + balanceOf[caller].field_128)
              mem[0] = caller
              mem[32] = 5
              balanceOf[caller].field_0 = uint128(uint128(count) + balanceOf[caller].field_0)
              balanceOf[caller].field_128 = uint128(uint128(count) + balanceOf[caller].field_128)
              _840 = mem[64]
              mem[64] = mem[64] + 64
              mem[_840] = caller
              mem[_840 + 32] = uint64(block.timestamp)
              mem[0] = stor1
              mem[32] = 4
              stor4[stor1].field_0 = caller
              stor4[stor1].field_160 = uint64(block.timestamp)
              idx = 0
              s = stor1
              while idx < count:
                  log Transfer(
                        address from=0,
                        address to=caller,
                        uint256 value=s)
                  if not ext_code.size(caller):
                      if s == -1:
                          revert with 0, 17
                      if idx == -1:
                          revert with 0, 17
                      idx = idx + 1
                      s = s + 1
                      continue 
                  mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                  mem[mem[64] + 4] = caller
                  mem[mem[64] + 36] = 0
                  mem[mem[64] + 68] = s
                  mem[mem[64] + 100] = 128
                  mem[mem[64] + 132] = 0
                  idx = 0
                  while idx < 0:
                      mem[idx + mem[64] + 164] = mem[idx + _741 + 32]
                      idx = idx + 32
                      continue 
                  require ext_code.size(caller)
                  call caller.onERC721Received(address , address , uint256 , bytes ) with:
                       gas gas_remaining wei
                      args caller, 0, s, 128, 0
                  mem[mem[64]] = ext_call.return_data[0]
                  if not ext_call.success:
                      if not return_data.size:
                          if not mem[96]:
                              revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                          revert with memory
                            from 128
                             len mem[96]
                      if not return_data.size:
                          revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                      revert with ext_call.return_data[0 len return_data.size]
                  _1445 = mem[64]
                  mem[64] = mem[64] + ceil32(return_data.size)
                  require return_data.size >=′ 32
                  require mem[_1445] == Mask(32, 224, mem[_1445])
                  if 0x150b7a0200000000000000000000000000000000000000000000000000000000 == Mask(32, 224, mem[_1445]):
                  ...  # Decompilation aborted, sorry: ("decompilation didn't finish",)
          else:
              if _preSaleTime >= block.timestamp:
                  revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'BASE_COLLECTION/CANNOT_MINT_PRESALE'
              if block.timestamp >= _publicSaleTime:
                  revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'BASE_COLLECTION/CANNOT_MINT_PRESALE'
              mem[128] = caller
              mem[96] = 20
              mem[64] = (32 * merkleProof.length) + 180
              mem[148] = merkleProof.length
              mem[180 len 32 * merkleProof.length] = call.data[merkleProof + 36 len 32 * merkleProof.length]
              mem[(32 * merkleProof.length) + 180] = 0
              idx = 0
              s = 0
              while idx < merkleProof.length:
                  if idx >= mem[148]:
                      revert with 0, 50
                  _630 = mem[(32 * idx) + 180]
                  if s + sha3(mem[128 len 20]) > mem[(32 * idx) + 180]:
                      mem[mem[64] + 32] = mem[(32 * idx) + 180]
                      mem[mem[64] + 64] = s + sha3(mem[128 len 20])
                      _646 = mem[64]
                      mem[mem[64]] = 64
                      mem[64] = mem[64] + 96
                      if idx == -1:
                          revert with 0, 17
                      idx = idx + 1
                      s = sha3(mem[_646 + 32 len mem[_646]])
                      continue 
                  mem[mem[64] + 32] = s + sha3(mem[128 len 20])
                  mem[mem[64] + 64] = _630
                  _650 = mem[64]
                  mem[mem[64]] = 64
                  mem[64] = mem[64] + 96
                  if idx == -1:
                      revert with 0, 17
                  idx = idx + 1
                  s = sha3(mem[_650 + 32 len mem[_650]])
                  continue 
              if s != _merkleRoot:
                  revert with 0, 'BASE_COLLECTION/CANNOT_MINT_PRESALE'
              if _presalePrice and count > -1 / _presalePrice:
                  revert with 0, 17
              if _presalePrice * count > call.value:
                  revert with 0, 'BASE_COLLECTION/INSUFFICIENT_ETH_AMOUNT'
              mem[0] = caller
              if stor28[caller] > !count:
                  revert with 0, 17
              stor28[caller] += count
              _742 = mem[64]
              mem[64] = mem[64] + 32
              mem[_742] = 0
              if not caller:
                  revert with 0, 'ERC721A: mint to the zero address'
              if stor1 > stor1:
                  revert with 0, 'ERC721A: token already minted'
              if count > 2500:
                  revert with 0, 'ERC721A: quantity to mint too high'
              mem[0] = caller
              mem[32] = 5
              _780 = mem[64]
              mem[64] = mem[64] + 64
              mem[_780] = balanceOf[caller].field_0
              mem[_780 + 32] = balanceOf[caller].field_128
              _781 = mem[64]
              mem[64] = mem[64] + 64
              if balanceOf[caller].field_0 > -uint128(count) + LOCK8605463013():
                  revert with 0, 17
              mem[_781] = uint128(uint128(count) + balanceOf[caller].field_0)
              if balanceOf[caller].field_128 > -uint128(count) + LOCK8605463013():
                  revert with 0, 17
              mem[_781 + 32] = uint128(uint128(count) + balanceOf[caller].field_128)
              mem[0] = caller
              mem[32] = 5
              balanceOf[caller].field_0 = uint128(uint128(count) + balanceOf[caller].field_0)
              balanceOf[caller].field_128 = uint128(uint128(count) + balanceOf[caller].field_128)
              _847 = mem[64]
              mem[64] = mem[64] + 64
              mem[_847] = caller
              mem[_847 + 32] = uint64(block.timestamp)
              mem[0] = stor1
              mem[32] = 4
              stor4[stor1].field_0 = caller
              stor4[stor1].field_160 = uint64(block.timestamp)
              idx = 0
              s = stor1
              while idx < count:
                  log Transfer(
                        address from=0,
                        address to=caller,
                        uint256 value=s)
                  if not ext_code.size(caller):
                      if s == -1:
                          revert with 0, 17
                      if idx == -1:
                          revert with 0, 17
                      idx = idx + 1
                      s = s + 1
                      continue 
                  mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                  mem[mem[64] + 4] = caller
                  mem[mem[64] + 36] = 0
                  mem[mem[64] + 68] = s
                  mem[mem[64] + 100] = 128
                  mem[mem[64] + 132] = 0
                  idx = 0
                  while idx < 0:
                      mem[idx + mem[64] + 164] = mem[idx + _742 + 32]
                      idx = idx + 32
                      continue 
                  require ext_code.size(caller)
                  call caller.onERC721Received(address , address , uint256 , bytes ) with:
                       gas gas_remaining wei
                      args caller, 0, s, 128, 0
                  mem[mem[64]] = ext_call.return_data[0]
                  if not ext_call.success:
                      if not return_data.size:
                          if not mem[96]:
                              revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                          revert with memory
                            from 128
                             len mem[96]
                      if not return_data.size:
                          revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                      revert with ext_call.return_data[0 len return_data.size]
                  _1447 = mem[64]
                  mem[64] = mem[64] + ceil32(return_data.size)
                  require return_data.size >=′ 32
                  require mem[_1447] == Mask(32, 224, mem[_1447])
                  if 0x150b7a0200000000000000000000000000000000000000000000000000000000 == Mask(32, 224, mem[_1447]):
                  ...  # Decompilation aborted, sorry: ("decompilation didn't finish",)
      else:
          if stor28[caller] + count > _presaleMaxPerAddress:
              revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'BASE_COLLECTION/EXCEEDS_INDIVIDUAL_SUPPLY'
          if not _preSaleTime:
              mem[128] = caller
              mem[96] = 20
              mem[64] = (32 * merkleProof.length) + 180
              mem[148] = merkleProof.length
              mem[180 len 32 * merkleProof.length] = call.data[merkleProof + 36 len 32 * merkleProof.length]
              mem[(32 * merkleProof.length) + 180] = 0
              idx = 0
              s = 0
              while idx < merkleProof.length:
                  if idx >= mem[148]:
                      revert with 0, 50
                  _631 = mem[(32 * idx) + 180]
                  if s + sha3(mem[128 len 20]) > mem[(32 * idx) + 180]:
                      mem[mem[64] + 32] = mem[(32 * idx) + 180]
                      mem[mem[64] + 64] = s + sha3(mem[128 len 20])
                      _654 = mem[64]
                      mem[mem[64]] = 64
                      mem[64] = mem[64] + 96
                      if idx == -1:
                          revert with 0, 17
                      idx = idx + 1
                      s = sha3(mem[_654 + 32 len mem[_654]])
                      continue 
                  mem[mem[64] + 32] = s + sha3(mem[128 len 20])
                  mem[mem[64] + 64] = _631
                  _658 = mem[64]
                  mem[mem[64]] = 64
                  mem[64] = mem[64] + 96
                  if idx == -1:
                      revert with 0, 17
                  idx = idx + 1
                  s = sha3(mem[_658 + 32 len mem[_658]])
                  continue 
              if s != _merkleRoot:
                  revert with 0, 'BASE_COLLECTION/CANNOT_MINT_PRESALE'
              if _presalePrice and count > -1 / _presalePrice:
                  revert with 0, 17
              if _presalePrice * count > call.value:
                  revert with 0, 'BASE_COLLECTION/INSUFFICIENT_ETH_AMOUNT'
              mem[0] = caller
              if stor28[caller] > !count:
                  revert with 0, 17
              stor28[caller] += count
              _743 = mem[64]
              mem[64] = mem[64] + 32
              mem[_743] = 0
              if not caller:
                  revert with 0, 'ERC721A: mint to the zero address'
              if stor1 > stor1:
                  revert with 0, 'ERC721A: token already minted'
              if count > 2500:
                  revert with 0, 'ERC721A: quantity to mint too high'
              mem[0] = caller
              mem[32] = 5
              _786 = mem[64]
              mem[64] = mem[64] + 64
              mem[_786] = balanceOf[caller].field_0
              mem[_786 + 32] = balanceOf[caller].field_128
              _787 = mem[64]
              mem[64] = mem[64] + 64
              if balanceOf[caller].field_0 > -uint128(count) + LOCK8605463013():
                  revert with 0, 17
              mem[_787] = uint128(uint128(count) + balanceOf[caller].field_0)
              if balanceOf[caller].field_128 > -uint128(count) + LOCK8605463013():
                  revert with 0, 17
              mem[_787 + 32] = uint128(uint128(count) + balanceOf[caller].field_128)
              mem[0] = caller
              mem[32] = 5
              balanceOf[caller].field_0 = uint128(uint128(count) + balanceOf[caller].field_0)
              balanceOf[caller].field_128 = uint128(uint128(count) + balanceOf[caller].field_128)
              _854 = mem[64]
              mem[64] = mem[64] + 64
              mem[_854] = caller
              mem[_854 + 32] = uint64(block.timestamp)
              mem[0] = stor1
              mem[32] = 4
              stor4[stor1].field_0 = caller
              stor4[stor1].field_160 = uint64(block.timestamp)
              idx = 0
              s = stor1
              while idx < count:
                  log Transfer(
                        address from=0,
                        address to=caller,
                        uint256 value=s)
                  if not ext_code.size(caller):
                      if s == -1:
                          revert with 0, 17
                      if idx == -1:
                          revert with 0, 17
                      idx = idx + 1
                      s = s + 1
                      continue 
                  mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                  mem[mem[64] + 4] = caller
                  mem[mem[64] + 36] = 0
                  mem[mem[64] + 68] = s
                  mem[mem[64] + 100] = 128
                  mem[mem[64] + 132] = 0
                  idx = 0
                  while idx < 0:
                      mem[idx + mem[64] + 164] = mem[idx + _743 + 32]
                      idx = idx + 32
                      continue 
                  require ext_code.size(caller)
                  call caller.onERC721Received(address , address , uint256 , bytes ) with:
                       gas gas_remaining wei
                      args caller, 0, s, 128, 0
                  mem[mem[64]] = ext_call.return_data[0]
                  if not ext_call.success:
                      if not return_data.size:
                          if not mem[96]:
                              revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                          revert with memory
                            from 128
                             len mem[96]
                      if not return_data.size:
                          revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                      revert with ext_call.return_data[0 len return_data.size]
                  _1449 = mem[64]
                  mem[64] = mem[64] + ceil32(return_data.size)
                  require return_data.size >=′ 32
                  require mem[_1449] == Mask(32, 224, mem[_1449])
                  if 0x150b7a0200000000000000000000000000000000000000000000000000000000 == Mask(32, 224, mem[_1449]):
                  ...  # Decompilation aborted, sorry: ("decompilation didn't finish",)
          else:
              if _preSaleTime >= block.timestamp:
                  revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'BASE_COLLECTION/CANNOT_MINT_PRESALE'
              if block.timestamp >= _publicSaleTime:
                  revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'BASE_COLLECTION/CANNOT_MINT_PRESALE'
              mem[128] = caller
              mem[96] = 20
              mem[64] = (32 * merkleProof.length) + 180
              mem[148] = merkleProof.length
              mem[180 len 32 * merkleProof.length] = call.data[merkleProof + 36 len 32 * merkleProof.length]
              mem[(32 * merkleProof.length) + 180] = 0
              idx = 0
              s = 0
              while idx < merkleProof.length:
                  if idx >= mem[148]:
                      revert with 0, 50
                  _632 = mem[(32 * idx) + 180]
                  if s + sha3(mem[128 len 20]) > mem[(32 * idx) + 180]:
                      mem[mem[64] + 32] = mem[(32 * idx) + 180]
                      mem[mem[64] + 64] = s + sha3(mem[128 len 20])
                      _662 = mem[64]
                      mem[mem[64]] = 64
                      mem[64] = mem[64] + 96
                      if idx == -1:
                          revert with 0, 17
                      idx = idx + 1
                      s = sha3(mem[_662 + 32 len mem[_662]])
                      continue 
                  mem[mem[64] + 32] = s + sha3(mem[128 len 20])
                  mem[mem[64] + 64] = _632
                  _666 = mem[64]
                  mem[mem[64]] = 64
                  mem[64] = mem[64] + 96
                  if idx == -1:
                      revert with 0, 17
                  idx = idx + 1
                  s = sha3(mem[_666 + 32 len mem[_666]])
                  continue 
              if s != _merkleRoot:
                  revert with 0, 'BASE_COLLECTION/CANNOT_MINT_PRESALE'
              if _presalePrice and count > -1 / _presalePrice:
                  revert with 0, 17
              if _presalePrice * count > call.value:
                  revert with 0, 'BASE_COLLECTION/INSUFFICIENT_ETH_AMOUNT'
              mem[0] = caller
              if stor28[caller] > !count:
                  revert with 0, 17
              stor28[caller] += count
              _744 = mem[64]
              mem[64] = mem[64] + 32
              mem[_744] = 0
              if not caller:
                  revert with 0, 'ERC721A: mint to the zero address'
              if stor1 > stor1:
                  revert with 0, 'ERC721A: token already minted'
              if count > 2500:
                  revert with 0, 'ERC721A: quantity to mint too high'
              mem[0] = caller
              mem[32] = 5
              _792 = mem[64]
              mem[64] = mem[64] + 64
              mem[_792] = balanceOf[caller].field_0
              mem[_792 + 32] = balanceOf[caller].field_128
              _793 = mem[64]
              mem[64] = mem[64] + 64
              if balanceOf[caller].field_0 > -uint128(count) + LOCK8605463013():
                  revert with 0, 17
              mem[_793] = uint128(uint128(count) + balanceOf[caller].field_0)
              if balanceOf[caller].field_128 > -uint128(count) + LOCK8605463013():
                  revert with 0, 17
              mem[_793 + 32] = uint128(uint128(count) + balanceOf[caller].field_128)
              mem[0] = caller
              mem[32] = 5
              balanceOf[caller].field_0 = uint128(uint128(count) + balanceOf[caller].field_0)
              balanceOf[caller].field_128 = uint128(uint128(count) + balanceOf[caller].field_128)
              _861 = mem[64]
              mem[64] = mem[64] + 64
              mem[_861] = caller
              mem[_861 + 32] = uint64(block.timestamp)
              mem[0] = stor1
              mem[32] = 4
              stor4[stor1].field_0 = caller
              stor4[stor1].field_160 = uint64(block.timestamp)
              idx = 0
              s = stor1
              while idx < count:
                  log Transfer(
                        address from=0,
                        address to=caller,
                        uint256 value=s)
                  if not ext_code.size(caller):
                      if s == -1:
                          revert with 0, 17
                      if idx == -1:
                          revert with 0, 17
                      idx = idx + 1
                      s = s + 1
                      continue 
                  mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                  mem[mem[64] + 4] = caller
                  mem[mem[64] + 36] = 0
                  mem[mem[64] + 68] = s
                  mem[mem[64] + 100] = 128
                  mem[mem[64] + 132] = 0
                  idx = 0
                  while idx < 0:
                      mem[idx + mem[64] + 164] = mem[idx + _744 + 32]
                      idx = idx + 32
                      continue 
                  require ext_code.size(caller)
                  call caller.onERC721Received(address , address , uint256 , bytes ) with:
                       gas gas_remaining wei
                      args caller, 0, s, 128, 0
                  mem[mem[64]] = ext_call.return_data[0]
                  if not ext_call.success:
                      if not return_data.size:
                          if not mem[96]:
                              revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                          revert with memory
                            from 128
                             len mem[96]
                      if not return_data.size:
                          revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                      revert with ext_call.return_data[0 len return_data.size]
                  _1451 = mem[64]
                  mem[64] = mem[64] + ceil32(return_data.size)
                  require return_data.size >=′ 32
                  require mem[_1451] == Mask(32, 224, mem[_1451])
                  if 0x150b7a0200000000000000000000000000000000000000000000000000000000 == Mask(32, 224, mem[_1451]):
                  ...  # Decompilation aborted, sorry: ("decompilation didn't finish",)
  else:
      if count > _maxTxPerAddress:
          revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'BASE_COLLECTION/EXCEEDS_MAX_PER_TRANSACTION'
      mem[0] = caller
      mem[32] = 28
      if stor28[caller] > !count:
          revert with 0, 17
      if not _presaleMaxPerAddress:
          if not _preSaleTime:
              mem[128] = caller
              mem[96] = 20
              mem[64] = (32 * merkleProof.length) + 180
              mem[148] = merkleProof.length
              mem[180 len 32 * merkleProof.length] = call.data[merkleProof + 36 len 32 * merkleProof.length]
              mem[(32 * merkleProof.length) + 180] = 0
              idx = 0
              s = 0
              while idx < merkleProof.length:
                  if idx >= mem[148]:
                      revert with 0, 50
                  _633 = mem[(32 * idx) + 180]
                  if s + sha3(mem[128 len 20]) > mem[(32 * idx) + 180]:
                      mem[mem[64] + 32] = mem[(32 * idx) + 180]
                      mem[mem[64] + 64] = s + sha3(mem[128 len 20])
                      _670 = mem[64]
                      mem[mem[64]] = 64
                      mem[64] = mem[64] + 96
                      if idx == -1:
                          revert with 0, 17
                      idx = idx + 1
                      s = sha3(mem[_670 + 32 len mem[_670]])
                      continue 
                  mem[mem[64] + 32] = s + sha3(mem[128 len 20])
                  mem[mem[64] + 64] = _633
                  _674 = mem[64]
                  mem[mem[64]] = 64
                  mem[64] = mem[64] + 96
                  if idx == -1:
                      revert with 0, 17
                  idx = idx + 1
                  s = sha3(mem[_674 + 32 len mem[_674]])
                  continue 
              if s != _merkleRoot:
                  revert with 0, 'BASE_COLLECTION/CANNOT_MINT_PRESALE'
              if _presalePrice and count > -1 / _presalePrice:
                  revert with 0, 17
              if _presalePrice * count > call.value:
                  revert with 0, 'BASE_COLLECTION/INSUFFICIENT_ETH_AMOUNT'
              mem[0] = caller
              if stor28[caller] > !count:
                  revert with 0, 17
              stor28[caller] += count
              _745 = mem[64]
              mem[64] = mem[64] + 32
              mem[_745] = 0
              if not caller:
                  revert with 0, 'ERC721A: mint to the zero address'
              if stor1 > stor1:
                  revert with 0, 'ERC721A: token already minted'
              if count > 2500:
                  revert with 0, 'ERC721A: quantity to mint too high'
              mem[0] = caller
              mem[32] = 5
              _798 = mem[64]
              mem[64] = mem[64] + 64
              mem[_798] = balanceOf[caller].field_0
              mem[_798 + 32] = balanceOf[caller].field_128
              _799 = mem[64]
              mem[64] = mem[64] + 64
              if balanceOf[caller].field_0 > -uint128(count) + LOCK8605463013():
                  revert with 0, 17
              mem[_799] = uint128(uint128(count) + balanceOf[caller].field_0)
              if balanceOf[caller].field_128 > -uint128(count) + LOCK8605463013():
                  revert with 0, 17
              mem[_799 + 32] = uint128(uint128(count) + balanceOf[caller].field_128)
              mem[0] = caller
              mem[32] = 5
              balanceOf[caller].field_0 = uint128(uint128(count) + balanceOf[caller].field_0)
              balanceOf[caller].field_128 = uint128(uint128(count) + balanceOf[caller].field_128)
              _868 = mem[64]
              mem[64] = mem[64] + 64
              mem[_868] = caller
              mem[_868 + 32] = uint64(block.timestamp)
              mem[0] = stor1
              mem[32] = 4
              stor4[stor1].field_0 = caller
              stor4[stor1].field_160 = uint64(block.timestamp)
              idx = 0
              s = stor1
              while idx < count:
                  log Transfer(
                        address from=0,
                        address to=caller,
                        uint256 value=s)
                  if not ext_code.size(caller):
                      if s == -1:
                          revert with 0, 17
                      if idx == -1:
                          revert with 0, 17
                      idx = idx + 1
                      s = s + 1
                      continue 
                  mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                  mem[mem[64] + 4] = caller
                  mem[mem[64] + 36] = 0
                  mem[mem[64] + 68] = s
                  mem[mem[64] + 100] = 128
                  mem[mem[64] + 132] = 0
                  idx = 0
                  while idx < 0:
                      mem[idx + mem[64] + 164] = mem[idx + _745 + 32]
                      idx = idx + 32
                      continue 
                  require ext_code.size(caller)
                  call caller.onERC721Received(address , address , uint256 , bytes ) with:
                       gas gas_remaining wei
                      args caller, 0, s, 128, 0
                  mem[mem[64]] = ext_call.return_data[0]
                  if not ext_call.success:
                      if not return_data.size:
                          if not mem[96]:
                              revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                          revert with memory
                            from 128
                             len mem[96]
                      if not return_data.size:
                          revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                      revert with ext_call.return_data[0 len return_data.size]
                  _1453 = mem[64]
                  mem[64] = mem[64] + ceil32(return_data.size)
                  require return_data.size >=′ 32
                  require mem[_1453] == Mask(32, 224, mem[_1453])
                  if 0x150b7a0200000000000000000000000000000000000000000000000000000000 == Mask(32, 224, mem[_1453]):
                  ...  # Decompilation aborted, sorry: ("decompilation didn't finish",)
          else:
              if _preSaleTime >= block.timestamp:
                  revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'BASE_COLLECTION/CANNOT_MINT_PRESALE'
              if block.timestamp >= _publicSaleTime:
                  revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'BASE_COLLECTION/CANNOT_MINT_PRESALE'
              mem[128] = caller
              mem[96] = 20
              mem[64] = (32 * merkleProof.length) + 180
              mem[148] = merkleProof.length
              mem[180 len 32 * merkleProof.length] = call.data[merkleProof + 36 len 32 * merkleProof.length]
              mem[(32 * merkleProof.length) + 180] = 0
              idx = 0
              s = 0
              while idx < merkleProof.length:
                  if idx >= mem[148]:
                      revert with 0, 50
                  _634 = mem[(32 * idx) + 180]
                  if s + sha3(mem[128 len 20]) > mem[(32 * idx) + 180]:
                      mem[mem[64] + 32] = mem[(32 * idx) + 180]
                      mem[mem[64] + 64] = s + sha3(mem[128 len 20])
                      _678 = mem[64]
                      mem[mem[64]] = 64
                      mem[64] = mem[64] + 96
                      if idx == -1:
                          revert with 0, 17
                      idx = idx + 1
                      s = sha3(mem[_678 + 32 len mem[_678]])
                      continue 
                  mem[mem[64] + 32] = s + sha3(mem[128 len 20])
                  mem[mem[64] + 64] = _634
                  _682 = mem[64]
                  mem[mem[64]] = 64
                  mem[64] = mem[64] + 96
                  if idx == -1:
                      revert with 0, 17
                  idx = idx + 1
                  s = sha3(mem[_682 + 32 len mem[_682]])
                  continue 
              if s != _merkleRoot:
                  revert with 0, 'BASE_COLLECTION/CANNOT_MINT_PRESALE'
              if _presalePrice and count > -1 / _presalePrice:
                  revert with 0, 17
              if _presalePrice * count > call.value:
                  revert with 0, 'BASE_COLLECTION/INSUFFICIENT_ETH_AMOUNT'
              mem[0] = caller
              if stor28[caller] > !count:
                  revert with 0, 17
              stor28[caller] += count
              _746 = mem[64]
              mem[64] = mem[64] + 32
              mem[_746] = 0
              if not caller:
                  revert with 0, 'ERC721A: mint to the zero address'
              if stor1 > stor1:
                  revert with 0, 'ERC721A: token already minted'
              if count > 2500:
                  revert with 0, 'ERC721A: quantity to mint too high'
              mem[0] = caller
              mem[32] = 5
              _804 = mem[64]
              mem[64] = mem[64] + 64
              mem[_804] = balanceOf[caller].field_0
              mem[_804 + 32] = balanceOf[caller].field_128
              _805 = mem[64]
              mem[64] = mem[64] + 64
              if balanceOf[caller].field_0 > -uint128(count) + LOCK8605463013():
                  revert with 0, 17
              mem[_805] = uint128(uint128(count) + balanceOf[caller].field_0)
              if balanceOf[caller].field_128 > -uint128(count) + LOCK8605463013():
                  revert with 0, 17
              mem[_805 + 32] = uint128(uint128(count) + balanceOf[caller].field_128)
              mem[0] = caller
              mem[32] = 5
              balanceOf[caller].field_0 = uint128(uint128(count) + balanceOf[caller].field_0)
              balanceOf[caller].field_128 = uint128(uint128(count) + balanceOf[caller].field_128)
              _875 = mem[64]
              mem[64] = mem[64] + 64
              mem[_875] = caller
              mem[_875 + 32] = uint64(block.timestamp)
              mem[0] = stor1
              mem[32] = 4
              stor4[stor1].field_0 = caller
              stor4[stor1].field_160 = uint64(block.timestamp)
              idx = 0
              s = stor1
              while idx < count:
                  log Transfer(
                        address from=0,
                        address to=caller,
                        uint256 value=s)
                  if not ext_code.size(caller):
                      if s == -1:
                          revert with 0, 17
                      if idx == -1:
                          revert with 0, 17
                      idx = idx + 1
                      s = s + 1
                      continue 
                  mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                  mem[mem[64] + 4] = caller
                  mem[mem[64] + 36] = 0
                  mem[mem[64] + 68] = s
                  mem[mem[64] + 100] = 128
                  mem[mem[64] + 132] = 0
                  idx = 0
                  while idx < 0:
                      mem[idx + mem[64] + 164] = mem[idx + _746 + 32]
                      idx = idx + 32
                      continue 
                  require ext_code.size(caller)
                  call caller.onERC721Received(address , address , uint256 , bytes ) with:
                       gas gas_remaining wei
                      args caller, 0, s, 128, 0
                  mem[mem[64]] = ext_call.return_data[0]
                  if not ext_call.success:
                      if not return_data.size:
                          if not mem[96]:
                              revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                          revert with memory
                            from 128
                             len mem[96]
                      if not return_data.size:
                          revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                      revert with ext_call.return_data[0 len return_data.size]
                  _1455 = mem[64]
                  mem[64] = mem[64] + ceil32(return_data.size)
                  require return_data.size >=′ 32
                  require mem[_1455] == Mask(32, 224, mem[_1455])
                  if 0x150b7a0200000000000000000000000000000000000000000000000000000000 == Mask(32, 224, mem[_1455]):
                  ...  # Decompilation aborted, sorry: ("decompilation didn't finish",)
      else:
          if stor28[caller] + count > _presaleMaxPerAddress:
              revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'BASE_COLLECTION/EXCEEDS_INDIVIDUAL_SUPPLY'
          if not _preSaleTime:
              mem[128] = caller
              mem[96] = 20
              mem[64] = (32 * merkleProof.length) + 180
              mem[148] = merkleProof.length
              mem[180 len 32 * merkleProof.length] = call.data[merkleProof + 36 len 32 * merkleProof.length]
              mem[(32 * merkleProof.length) + 180] = 0
              idx = 0
              s = 0
              while idx < merkleProof.length:
                  if idx >= mem[148]:
                      revert with 0, 50
                  _635 = mem[(32 * idx) + 180]
                  if s + sha3(mem[128 len 20]) > mem[(32 * idx) + 180]:
                      mem[mem[64] + 32] = mem[(32 * idx) + 180]
                      mem[mem[64] + 64] = s + sha3(mem[128 len 20])
                      _686 = mem[64]
                      mem[mem[64]] = 64
                      mem[64] = mem[64] + 96
                      if idx == -1:
                          revert with 0, 17
                      idx = idx + 1
                      s = sha3(mem[_686 + 32 len mem[_686]])
                      continue 
                  mem[mem[64] + 32] = s + sha3(mem[128 len 20])
                  mem[mem[64] + 64] = _635
                  _690 = mem[64]
                  mem[mem[64]] = 64
                  mem[64] = mem[64] + 96
                  if idx == -1:
                      revert with 0, 17
                  idx = idx + 1
                  s = sha3(mem[_690 + 32 len mem[_690]])
                  continue 
              if s != _merkleRoot:
                  revert with 0, 'BASE_COLLECTION/CANNOT_MINT_PRESALE'
              if _presalePrice and count > -1 / _presalePrice:
                  revert with 0, 17
              if _presalePrice * count > call.value:
                  revert with 0, 'BASE_COLLECTION/INSUFFICIENT_ETH_AMOUNT'
              mem[0] = caller
              if stor28[caller] > !count:
                  revert with 0, 17
              stor28[caller] += count
              _747 = mem[64]
              mem[64] = mem[64] + 32
              mem[_747] = 0
              if not caller:
                  revert with 0, 'ERC721A: mint to the zero address'
              if stor1 > stor1:
                  revert with 0, 'ERC721A: token already minted'
              if count > 2500:
                  revert with 0, 'ERC721A: quantity to mint too high'
              mem[0] = caller
              mem[32] = 5
              _810 = mem[64]
              mem[64] = mem[64] + 64
              mem[_810] = balanceOf[caller].field_0
              mem[_810 + 32] = balanceOf[caller].field_128
              _811 = mem[64]
              mem[64] = mem[64] + 64
              if balanceOf[caller].field_0 > -uint128(count) + LOCK8605463013():
                  revert with 0, 17
              mem[_811] = uint128(uint128(count) + balanceOf[caller].field_0)
              if balanceOf[caller].field_128 > -uint128(count) + LOCK8605463013():
                  revert with 0, 17
              mem[_811 + 32] = uint128(uint128(count) + balanceOf[caller].field_128)
              mem[0] = caller
              mem[32] = 5
              balanceOf[caller].field_0 = uint128(uint128(count) + balanceOf[caller].field_0)
              balanceOf[caller].field_128 = uint128(uint128(count) + balanceOf[caller].field_128)
              _882 = mem[64]
              mem[64] = mem[64] + 64
              mem[_882] = caller
              mem[_882 + 32] = uint64(block.timestamp)
              mem[0] = stor1
              mem[32] = 4
              stor4[stor1].field_0 = caller
              stor4[stor1].field_160 = uint64(block.timestamp)
              idx = 0
              s = stor1
              while idx < count:
                  log Transfer(
                        address from=0,
                        address to=caller,
                        uint256 value=s)
                  if not ext_code.size(caller):
                      if s == -1:
                          revert with 0, 17
                      if idx == -1:
                          revert with 0, 17
                      idx = idx + 1
                      s = s + 1
                      continue 
                  mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                  mem[mem[64] + 4] = caller
                  mem[mem[64] + 36] = 0
                  mem[mem[64] + 68] = s
                  mem[mem[64] + 100] = 128
                  mem[mem[64] + 132] = 0
                  idx = 0
                  while idx < 0:
                      mem[idx + mem[64] + 164] = mem[idx + _747 + 32]
                      idx = idx + 32
                      continue 
                  require ext_code.size(caller)
                  call caller.onERC721Received(address , address , uint256 , bytes ) with:
                       gas gas_remaining wei
                      args caller, 0, s, 128, 0
                  mem[mem[64]] = ext_call.return_data[0]
                  if not ext_call.success:
                      if not return_data.size:
                          if not mem[96]:
                              revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                          revert with memory
                            from 128
                             len mem[96]
                      if not return_data.size:
                          revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                      revert with ext_call.return_data[0 len return_data.size]
                  _1457 = mem[64]
                  mem[64] = mem[64] + ceil32(return_data.size)
                  require return_data.size >=′ 32
                  require mem[_1457] == Mask(32, 224, mem[_1457])
                  if 0x150b7a0200000000000000000000000000000000000000000000000000000000 == Mask(32, 224, mem[_1457]):
                  ...  # Decompilation aborted, sorry: ("decompilation didn't finish",)
          else:
              if _preSaleTime >= block.timestamp:
                  revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'BASE_COLLECTION/CANNOT_MINT_PRESALE'
              if block.timestamp >= _publicSaleTime:
                  revert with 0x8c379a000000000000000000000000000000000000000000000000000000000, 'BASE_COLLECTION/CANNOT_MINT_PRESALE'
              mem[128] = caller
              mem[96] = 20
              mem[64] = (32 * merkleProof.length) + 180
              mem[148] = merkleProof.length
              mem[180 len 32 * merkleProof.length] = call.data[merkleProof + 36 len 32 * merkleProof.length]
              mem[(32 * merkleProof.length) + 180] = 0
              idx = 0
              s = 0
              while idx < merkleProof.length:
                  if idx >= mem[148]:
                      revert with 0, 50
                  _636 = mem[(32 * idx) + 180]
                  if s + sha3(mem[128 len 20]) > mem[(32 * idx) + 180]:
                      mem[mem[64] + 32] = mem[(32 * idx) + 180]
                      mem[mem[64] + 64] = s + sha3(mem[128 len 20])
                      _694 = mem[64]
                      mem[mem[64]] = 64
                      mem[64] = mem[64] + 96
                      if idx == -1:
                          revert with 0, 17
                      idx = idx + 1
                      s = sha3(mem[_694 + 32 len mem[_694]])
                      continue 
                  mem[mem[64] + 32] = s + sha3(mem[128 len 20])
                  mem[mem[64] + 64] = _636
                  _698 = mem[64]
                  mem[mem[64]] = 64
                  mem[64] = mem[64] + 96
                  if idx == -1:
                      revert with 0, 17
                  idx = idx + 1
                  s = sha3(mem[_698 + 32 len mem[_698]])
                  continue 
              if s != _merkleRoot:
                  revert with 0, 'BASE_COLLECTION/CANNOT_MINT_PRESALE'
              if _presalePrice and count > -1 / _presalePrice:
                  revert with 0, 17
              if _presalePrice * count > call.value:
                  revert with 0, 'BASE_COLLECTION/INSUFFICIENT_ETH_AMOUNT'
              mem[0] = caller
              if stor28[caller] > !count:
                  revert with 0, 17
              stor28[caller] += count
              _748 = mem[64]
              mem[64] = mem[64] + 32
              mem[_748] = 0
              if not caller:
                  revert with 0, 'ERC721A: mint to the zero address'
              if stor1 > stor1:
                  revert with 0, 'ERC721A: token already minted'
              if count > 2500:
                  revert with 0, 'ERC721A: quantity to mint too high'
              mem[0] = caller
              mem[32] = 5
              _816 = mem[64]
              mem[64] = mem[64] + 64
              mem[_816] = balanceOf[caller].field_0
              mem[_816 + 32] = balanceOf[caller].field_128
              _817 = mem[64]
              mem[64] = mem[64] + 64
              if balanceOf[caller].field_0 > -uint128(count) + LOCK8605463013():
                  revert with 0, 17
              mem[_817] = uint128(uint128(count) + balanceOf[caller].field_0)
              if balanceOf[caller].field_128 > -uint128(count) + LOCK8605463013():
                  revert with 0, 17
              mem[_817 + 32] = uint128(uint128(count) + balanceOf[caller].field_128)
              mem[0] = caller
              mem[32] = 5
              balanceOf[caller].field_0 = uint128(uint128(count) + balanceOf[caller].field_0)
              balanceOf[caller].field_128 = uint128(uint128(count) + balanceOf[caller].field_128)
              _889 = mem[64]
              mem[64] = mem[64] + 64
              mem[_889] = caller
              mem[_889 + 32] = uint64(block.timestamp)
              mem[0] = stor1
              mem[32] = 4
              stor4[stor1].field_0 = caller
              stor4[stor1].field_160 = uint64(block.timestamp)
              idx = 0
              s = stor1
              while idx < count:
                  log Transfer(
                        address from=0,
                        address to=caller,
                        uint256 value=s)
                  if not ext_code.size(caller):
                      if s == -1:
                          revert with 0, 17
                      if idx == -1:
                          revert with 0, 17
                      idx = idx + 1
                      s = s + 1
                      continue 
                  mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                  mem[mem[64] + 4] = caller
                  mem[mem[64] + 36] = 0
                  mem[mem[64] + 68] = s
                  mem[mem[64] + 100] = 128
                  mem[mem[64] + 132] = 0
                  idx = 0
                  while idx < 0:
                      mem[idx + mem[64] + 164] = mem[idx + _748 + 32]
                      idx = idx + 32
                      continue 
                  require ext_code.size(caller)
                  call caller.onERC721Received(address , address , uint256 , bytes ) with:
                       gas gas_remaining wei
                      args caller, 0, s, 128, 0
                  mem[mem[64]] = ext_call.return_data[0]
                  if not ext_call.success:
                      if not return_data.size:
                          if not mem[96]:
                              revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                          revert with memory
                            from 128
                             len mem[96]
                      if not return_data.size:
                          revert with 0, 'ERC721A: transfer to non ERC721Receiver implementer'
                      revert with ext_call.return_data[0 len return_data.size]
                  _1459 = mem[64]
                  mem[64] = mem[64] + ceil32(return_data.size)
                  require return_data.size >=′ 32
                  require mem[_1459] == Mask(32, 224, mem[_1459])
                  if 0x150b7a0200000000000000000000000000000000000000000000000000000000 == Mask(32, 224, mem[_1459]):
                  ...  # Decompilation aborted, sorry: ("decompilation didn't finish",)
  stor1 = s
  log EarlyPurchase(
        address addr=caller,
        uint256 atPrice=_presalePrice,
        uint256 count=count)

def safeTransferFrom(address from, address to, uint256 tokenId): # not payable
  require calldata.size - 4 >=′ 96
  require from == from
  require to == to
  mem[96] = 0
  mem[64] = 192
  mem[128] = 0
  mem[160] = 0
  if stor1 <= tokenId:
      revert with 0, 'ERC721A: owner query for nonexistent token'
  if tokenId < 2500:
      idx = tokenId
      while idx >= 0:
          mem[0] = idx
          mem[32] = 4
          _753 = mem[64]
          mem[64] = mem[64] + 64
          mem[_753] = stor4[idx].field_0
          mem[_753 + 32] = stor4[idx].field_160
          if not stor4[idx].field_0:
              if not idx:
                  revert with 0, 17
              idx = idx - 1
              continue 
          if caller == stor4[idx].field_0:
              if stor4[idx].field_0 != from:
                  revert with 0, 'ERC721A: transfer from incorrect owner'
              if not to:
                  revert with 0, 'ERC721A: transfer to the zero address'
              approved[tokenId] = 0
              log Approval(
                    address owner=stor4[idx].field_0,
                    address spender=0,
                    uint256 value=tokenId)
              if balanceOf[address(from)].field_0 < 1:
                  revert with 0, 17
              balanceOf[address(from)].field_0 = uint128(balanceOf[address(from)].field_0 - 1)
              mem[0] = to
              mem[32] = 5
              if balanceOf[address(to)].field_0 > LOCK8605463013():
                  revert with 0, 17
              balanceOf[address(to)].field_0 = uint128(balanceOf[address(to)].field_0 + 1)
              _825 = mem[64]
              mem[64] = mem[64] + 64
              mem[_825] = to
              mem[_825 + 32] = uint64(block.timestamp)
              stor4[tokenId].field_0 = to
              stor4[tokenId].field_160 = uint64(block.timestamp)
              if 1 > !tokenId:
                  revert with 0, 17
              mem[0] = tokenId + 1
              mem[32] = 4
              if stor4[tokenId + 1].field_0:
                  log Transfer(
                        address from=from,
                        address to=to,
                        uint256 value=tokenId)
                  if not ext_code.size(to):
                      stop
                  mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                  mem[mem[64] + 4] = caller
                  mem[mem[64] + 36] = from
                  mem[mem[64] + 68] = tokenId
                  mem[mem[64] + 100] = 128
                  mem[mem[64] + 132] = mem[96]
                  idx = 0
                  while idx < mem[96]:
                      mem[idx + mem[64] + 164] = mem[idx + 128]
                      idx = idx + 32
                      continue 
                  if ceil32(mem[96]) <= mem[96]:
                      require ext_code.size(to)
                      call to.onERC721Received(address , address , uint256 , bytes ) with:
                           gas gas_remaining wei
                          args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                      mem[mem[64]] = ext_call.return_data[0]
                      if not ext_call.success:
                          if return_data.size:
                      else:
                          _1551 = mem[64]
                          mem[64] = mem[64] + ceil32(return_data.size)
                          require return_data.size >=′ 32
                  else:
                      mem[mem[96] + mem[64] + 164] = 0
                      require ext_code.size(to)
                      call to.onERC721Received(address , address , uint256 , bytes ) with:
                           gas gas_remaining wei
                          args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                      mem[mem[64]] = ext_call.return_data[0]
                      if not ext_call.success:
                          if return_data.size:
                      else:
                          _1552 = mem[64]
                          mem[64] = mem[64] + ceil32(return_data.size)
                          require return_data.size >=′ 32
              else:
                  if stor1 <= tokenId + 1:
                      log Transfer(
                            address from=from,
                            address to=to,
                            uint256 value=tokenId)
                      if not ext_code.size(to):
                          stop
                      mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                      mem[mem[64] + 4] = caller
                      mem[mem[64] + 36] = from
                      mem[mem[64] + 68] = tokenId
                      mem[mem[64] + 100] = 128
                      mem[mem[64] + 132] = mem[96]
                      idx = 0
                      while idx < mem[96]:
                          mem[idx + mem[64] + 164] = mem[idx + 128]
                          idx = idx + 32
                          continue 
                      if ceil32(mem[96]) <= mem[96]:
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if return_data.size:
                          else:
                              _1553 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                      else:
                          mem[mem[96] + mem[64] + 164] = 0
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if return_data.size:
                          else:
                              _1554 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                  else:
                      _861 = mem[64]
                      mem[64] = mem[64] + 64
                      mem[_861] = stor4[idx].field_0
                      mem[_861 + 32] = stor4[idx].field_160
                      mem[0] = tokenId + 1
                      mem[32] = 4
                      stor4[tokenId + 1].field_0 = stor4[idx].field_0
                      stor4[tokenId + 1].field_160 = stor4[idx].field_160
                      log Transfer(
                            address from=from,
                            address to=to,
                            uint256 value=tokenId)
                      if not ext_code.size(to):
                          stop
                      mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                      mem[mem[64] + 4] = caller
                      mem[mem[64] + 36] = from
                      mem[mem[64] + 68] = tokenId
                      mem[mem[64] + 100] = 128
                      mem[mem[64] + 132] = mem[96]
                      idx = 0
                      while idx < mem[96]:
                          mem[idx + mem[64] + 164] = mem[idx + 128]
                          idx = idx + 32
                          continue 
                      if ceil32(mem[96]) <= mem[96]:
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if return_data.size:
                          else:
                              _1555 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                      else:
                          mem[mem[96] + mem[64] + 164] = 0
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if return_data.size:
                          else:
                              _1556 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
          else:
              if stor1 <= tokenId:
                  revert with 0, 'ERC721A: approved query for nonexistent token'
              if approved[tokenId] == caller:
                  if stor4[idx].field_0 != from:
                      revert with 0, 'ERC721A: transfer from incorrect owner'
                  if not to:
                      revert with 0, 'ERC721A: transfer to the zero address'
                  approved[tokenId] = 0
                  log Approval(
                        address owner=stor4[idx].field_0,
                        address spender=0,
                        uint256 value=tokenId)
                  if balanceOf[address(from)].field_0 < 1:
                      revert with 0, 17
                  balanceOf[address(from)].field_0 = uint128(balanceOf[address(from)].field_0 - 1)
                  mem[0] = to
                  mem[32] = 5
                  if balanceOf[address(to)].field_0 > LOCK8605463013():
                      revert with 0, 17
                  balanceOf[address(to)].field_0 = uint128(balanceOf[address(to)].field_0 + 1)
                  _851 = mem[64]
                  mem[64] = mem[64] + 64
                  mem[_851] = to
                  mem[_851 + 32] = uint64(block.timestamp)
                  stor4[tokenId].field_0 = to
                  stor4[tokenId].field_160 = uint64(block.timestamp)
                  if 1 > !tokenId:
                      revert with 0, 17
                  mem[0] = tokenId + 1
                  mem[32] = 4
                  if stor4[tokenId + 1].field_0:
                      log Transfer(
                            address from=from,
                            address to=to,
                            uint256 value=tokenId)
                      if not ext_code.size(to):
                          stop
                      mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                      mem[mem[64] + 4] = caller
                      mem[mem[64] + 36] = from
                      mem[mem[64] + 68] = tokenId
                      mem[mem[64] + 100] = 128
                      mem[mem[64] + 132] = mem[96]
                      idx = 0
                      while idx < mem[96]:
                          mem[idx + mem[64] + 164] = mem[idx + 128]
                          idx = idx + 32
                          continue 
                      if ceil32(mem[96]) <= mem[96]:
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if return_data.size:
                          else:
                              _1557 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                      else:
                          mem[mem[96] + mem[64] + 164] = 0
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if return_data.size:
                          else:
                              _1558 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                  else:
                      if stor1 <= tokenId + 1:
                          log Transfer(
                                address from=from,
                                address to=to,
                                uint256 value=tokenId)
                          if not ext_code.size(to):
                              stop
                          mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                          mem[mem[64] + 4] = caller
                          mem[mem[64] + 36] = from
                          mem[mem[64] + 68] = tokenId
                          mem[mem[64] + 100] = 128
                          mem[mem[64] + 132] = mem[96]
                          idx = 0
                          while idx < mem[96]:
                              mem[idx + mem[64] + 164] = mem[idx + 128]
                              idx = idx + 32
                              continue 
                          if ceil32(mem[96]) <= mem[96]:
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if return_data.size:
                              else:
                                  _1559 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                          else:
                              mem[mem[96] + mem[64] + 164] = 0
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if return_data.size:
                              else:
                                  _1560 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                      else:
                          _904 = mem[64]
                          mem[64] = mem[64] + 64
                          mem[_904] = stor4[idx].field_0
                          mem[_904 + 32] = stor4[idx].field_160
                          mem[0] = tokenId + 1
                          mem[32] = 4
                          stor4[tokenId + 1].field_0 = stor4[idx].field_0
                          stor4[tokenId + 1].field_160 = stor4[idx].field_160
                          log Transfer(
                                address from=from,
                                address to=to,
                                uint256 value=tokenId)
                          if not ext_code.size(to):
                              stop
                          mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                          mem[mem[64] + 4] = caller
                          mem[mem[64] + 36] = from
                          mem[mem[64] + 68] = tokenId
                          mem[mem[64] + 100] = 128
                          mem[mem[64] + 132] = mem[96]
                          idx = 0
                          while idx < mem[96]:
                              mem[idx + mem[64] + 164] = mem[idx + 128]
                              idx = idx + 32
                              continue 
                          if ceil32(mem[96]) <= mem[96]:
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if return_data.size:
                              else:
                                  _1561 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                          else:
                              mem[mem[96] + mem[64] + 164] = 0
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if return_data.size:
                              else:
                                  _1562 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
              else:
                  if not stor7[stor4[idx].field_0][caller]:
                      revert with 0, 'ERC721A: transfer caller is not owner nor approved'
                  if stor4[idx].field_0 != from:
                      revert with 0, 'ERC721A: transfer from incorrect owner'
                  if not to:
                      revert with 0, 'ERC721A: transfer to the zero address'
                  approved[tokenId] = 0
                  log Approval(
                        address owner=stor4[idx].field_0,
                        address spender=0,
                        uint256 value=tokenId)
                  if balanceOf[address(from)].field_0 < 1:
                      revert with 0, 17
                  balanceOf[address(from)].field_0 = uint128(balanceOf[address(from)].field_0 - 1)
                  mem[0] = to
                  mem[32] = 5
                  if balanceOf[address(to)].field_0 > LOCK8605463013():
                      revert with 0, 17
                  balanceOf[address(to)].field_0 = uint128(balanceOf[address(to)].field_0 + 1)
                  _877 = mem[64]
                  mem[64] = mem[64] + 64
                  mem[_877] = to
                  mem[_877 + 32] = uint64(block.timestamp)
                  stor4[tokenId].field_0 = to
                  stor4[tokenId].field_160 = uint64(block.timestamp)
                  if 1 > !tokenId:
                      revert with 0, 17
                  mem[0] = tokenId + 1
                  mem[32] = 4
                  if stor4[tokenId + 1].field_0:
                      log Transfer(
                            address from=from,
                            address to=to,
                            uint256 value=tokenId)
                      if not ext_code.size(to):
                          stop
                      mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                      mem[mem[64] + 4] = caller
                      mem[mem[64] + 36] = from
                      mem[mem[64] + 68] = tokenId
                      mem[mem[64] + 100] = 128
                      mem[mem[64] + 132] = mem[96]
                      idx = 0
                      while idx < mem[96]:
                          mem[idx + mem[64] + 164] = mem[idx + 128]
                          idx = idx + 32
                          continue 
                      if ceil32(mem[96]) <= mem[96]:
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if return_data.size:
                          else:
                              _1563 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                      else:
                          mem[mem[96] + mem[64] + 164] = 0
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if return_data.size:
                          else:
                              _1564 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                  else:
                      if stor1 <= tokenId + 1:
                          log Transfer(
                                address from=from,
                                address to=to,
                                uint256 value=tokenId)
                          if not ext_code.size(to):
                              stop
                          mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                          mem[mem[64] + 4] = caller
                          mem[mem[64] + 36] = from
                          mem[mem[64] + 68] = tokenId
                          mem[mem[64] + 100] = 128
                          mem[mem[64] + 132] = mem[96]
                          idx = 0
                          while idx < mem[96]:
                              mem[idx + mem[64] + 164] = mem[idx + 128]
                              idx = idx + 32
                              continue 
                          if ceil32(mem[96]) <= mem[96]:
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if return_data.size:
                              else:
                                  _1565 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                          else:
                              mem[mem[96] + mem[64] + 164] = 0
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if return_data.size:
                              else:
                                  _1566 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                      else:
                          _934 = mem[64]
                          mem[64] = mem[64] + 64
                          mem[_934] = stor4[idx].field_0
                          mem[_934 + 32] = stor4[idx].field_160
                          mem[0] = tokenId + 1
                          mem[32] = 4
                          stor4[tokenId + 1].field_0 = stor4[idx].field_0
                          stor4[tokenId + 1].field_160 = stor4[idx].field_160
                          log Transfer(
                                address from=from,
                                address to=to,
                                uint256 value=tokenId)
                          if not ext_code.size(to):
                              stop
                          mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                          mem[mem[64] + 4] = caller
                          mem[mem[64] + 36] = from
                          mem[mem[64] + 68] = tokenId
                          mem[mem[64] + 100] = 128
                          mem[mem[64] + 132] = mem[96]
                          idx = 0
                          while idx < mem[96]:
                              mem[idx + mem[64] + 164] = mem[idx + 128]
                              idx = idx + 32
                              continue 
                          if ceil32(mem[96]) <= mem[96]:
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if return_data.size:
                              else:
                                  _1567 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                          else:
                              mem[mem[96] + mem[64] + 164] = 0
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if return_data.size:
                              else:
                                  _1568 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
          ...  # Decompilation aborted, sorry: ("decompilation didn't finish",)
  else:
      if 1 > !(tokenId - 2500):
          revert with 0, 17
      idx = tokenId
      while idx >= tokenId - 2499:
          mem[0] = idx
          mem[32] = 4
          _756 = mem[64]
          mem[64] = mem[64] + 64
          mem[_756] = stor4[idx].field_0
          mem[_756 + 32] = stor4[idx].field_160
          if not stor4[idx].field_0:
              if not idx:
                  revert with 0, 17
              idx = idx - 1
              continue 
          if caller == stor4[idx].field_0:
              if stor4[idx].field_0 != from:
                  revert with 0, 'ERC721A: transfer from incorrect owner'
              if not to:
                  revert with 0, 'ERC721A: transfer to the zero address'
              approved[tokenId] = 0
              log Approval(
                    address owner=stor4[idx].field_0,
                    address spender=0,
                    uint256 value=tokenId)
              if balanceOf[address(from)].field_0 < 1:
                  revert with 0, 17
              balanceOf[address(from)].field_0 = uint128(balanceOf[address(from)].field_0 - 1)
              mem[0] = to
              mem[32] = 5
              if balanceOf[address(to)].field_0 > LOCK8605463013():
                  revert with 0, 17
              balanceOf[address(to)].field_0 = uint128(balanceOf[address(to)].field_0 + 1)
              _832 = mem[64]
              mem[64] = mem[64] + 64
              mem[_832] = to
              mem[_832 + 32] = uint64(block.timestamp)
              stor4[tokenId].field_0 = to
              stor4[tokenId].field_160 = uint64(block.timestamp)
              if 1 > !tokenId:
                  revert with 0, 17
              mem[0] = tokenId + 1
              mem[32] = 4
              if stor4[tokenId + 1].field_0:
                  log Transfer(
                        address from=from,
                        address to=to,
                        uint256 value=tokenId)
                  if not ext_code.size(to):
                      stop
                  mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                  mem[mem[64] + 4] = caller
                  mem[mem[64] + 36] = from
                  mem[mem[64] + 68] = tokenId
                  mem[mem[64] + 100] = 128
                  mem[mem[64] + 132] = mem[96]
                  idx = 0
                  while idx < mem[96]:
                      mem[idx + mem[64] + 164] = mem[idx + 128]
                      idx = idx + 32
                      continue 
                  if ceil32(mem[96]) <= mem[96]:
                      require ext_code.size(to)
                      call to.onERC721Received(address , address , uint256 , bytes ) with:
                           gas gas_remaining wei
                          args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                      mem[mem[64]] = ext_call.return_data[0]
                      if not ext_call.success:
                          if return_data.size:
                      else:
                          _1569 = mem[64]
                          mem[64] = mem[64] + ceil32(return_data.size)
                          require return_data.size >=′ 32
                  else:
                      mem[mem[96] + mem[64] + 164] = 0
                      require ext_code.size(to)
                      call to.onERC721Received(address , address , uint256 , bytes ) with:
                           gas gas_remaining wei
                          args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                      mem[mem[64]] = ext_call.return_data[0]
                      if not ext_call.success:
                          if return_data.size:
                      else:
                          _1570 = mem[64]
                          mem[64] = mem[64] + ceil32(return_data.size)
                          require return_data.size >=′ 32
              else:
                  if stor1 <= tokenId + 1:
                      log Transfer(
                            address from=from,
                            address to=to,
                            uint256 value=tokenId)
                      if not ext_code.size(to):
                          stop
                      mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                      mem[mem[64] + 4] = caller
                      mem[mem[64] + 36] = from
                      mem[mem[64] + 68] = tokenId
                      mem[mem[64] + 100] = 128
                      mem[mem[64] + 132] = mem[96]
                      idx = 0
                      while idx < mem[96]:
                          mem[idx + mem[64] + 164] = mem[idx + 128]
                          idx = idx + 32
                          continue 
                      if ceil32(mem[96]) <= mem[96]:
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if return_data.size:
                          else:
                              _1571 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                      else:
                          mem[mem[96] + mem[64] + 164] = 0
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if return_data.size:
                          else:
                              _1572 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                  else:
                      _869 = mem[64]
                      mem[64] = mem[64] + 64
                      mem[_869] = stor4[idx].field_0
                      mem[_869 + 32] = stor4[idx].field_160
                      mem[0] = tokenId + 1
                      mem[32] = 4
                      stor4[tokenId + 1].field_0 = stor4[idx].field_0
                      stor4[tokenId + 1].field_160 = stor4[idx].field_160
                      log Transfer(
                            address from=from,
                            address to=to,
                            uint256 value=tokenId)
                      if not ext_code.size(to):
                          stop
                      mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                      mem[mem[64] + 4] = caller
                      mem[mem[64] + 36] = from
                      mem[mem[64] + 68] = tokenId
                      mem[mem[64] + 100] = 128
                      mem[mem[64] + 132] = mem[96]
                      idx = 0
                      while idx < mem[96]:
                          mem[idx + mem[64] + 164] = mem[idx + 128]
                          idx = idx + 32
                          continue 
                      if ceil32(mem[96]) <= mem[96]:
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if return_data.size:
                          else:
                              _1573 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                      else:
                          mem[mem[96] + mem[64] + 164] = 0
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if return_data.size:
                          else:
                              _1574 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
          else:
              if stor1 <= tokenId:
                  revert with 0, 'ERC721A: approved query for nonexistent token'
              if approved[tokenId] == caller:
                  if stor4[idx].field_0 != from:
                      revert with 0, 'ERC721A: transfer from incorrect owner'
                  if not to:
                      revert with 0, 'ERC721A: transfer to the zero address'
                  approved[tokenId] = 0
                  log Approval(
                        address owner=stor4[idx].field_0,
                        address spender=0,
                        uint256 value=tokenId)
                  if balanceOf[address(from)].field_0 < 1:
                      revert with 0, 17
                  balanceOf[address(from)].field_0 = uint128(balanceOf[address(from)].field_0 - 1)
                  mem[0] = to
                  mem[32] = 5
                  if balanceOf[address(to)].field_0 > LOCK8605463013():
                      revert with 0, 17
                  balanceOf[address(to)].field_0 = uint128(balanceOf[address(to)].field_0 + 1)
                  _855 = mem[64]
                  mem[64] = mem[64] + 64
                  mem[_855] = to
                  mem[_855 + 32] = uint64(block.timestamp)
                  stor4[tokenId].field_0 = to
                  stor4[tokenId].field_160 = uint64(block.timestamp)
                  if 1 > !tokenId:
                      revert with 0, 17
                  mem[0] = tokenId + 1
                  mem[32] = 4
                  if stor4[tokenId + 1].field_0:
                      log Transfer(
                            address from=from,
                            address to=to,
                            uint256 value=tokenId)
                      if not ext_code.size(to):
                          stop
                      mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                      mem[mem[64] + 4] = caller
                      mem[mem[64] + 36] = from
                      mem[mem[64] + 68] = tokenId
                      mem[mem[64] + 100] = 128
                      mem[mem[64] + 132] = mem[96]
                      idx = 0
                      while idx < mem[96]:
                          mem[idx + mem[64] + 164] = mem[idx + 128]
                          idx = idx + 32
                          continue 
                      if ceil32(mem[96]) <= mem[96]:
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if return_data.size:
                          else:
                              _1575 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                      else:
                          mem[mem[96] + mem[64] + 164] = 0
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if return_data.size:
                          else:
                              _1576 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                  else:
                      if stor1 <= tokenId + 1:
                          log Transfer(
                                address from=from,
                                address to=to,
                                uint256 value=tokenId)
                          if not ext_code.size(to):
                              stop
                          mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                          mem[mem[64] + 4] = caller
                          mem[mem[64] + 36] = from
                          mem[mem[64] + 68] = tokenId
                          mem[mem[64] + 100] = 128
                          mem[mem[64] + 132] = mem[96]
                          idx = 0
                          while idx < mem[96]:
                              mem[idx + mem[64] + 164] = mem[idx + 128]
                              idx = idx + 32
                              continue 
                          if ceil32(mem[96]) <= mem[96]:
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if return_data.size:
                              else:
                                  _1577 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                          else:
                              mem[mem[96] + mem[64] + 164] = 0
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if return_data.size:
                              else:
                                  _1578 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                      else:
                          _915 = mem[64]
                          mem[64] = mem[64] + 64
                          mem[_915] = stor4[idx].field_0
                          mem[_915 + 32] = stor4[idx].field_160
                          mem[0] = tokenId + 1
                          mem[32] = 4
                          stor4[tokenId + 1].field_0 = stor4[idx].field_0
                          stor4[tokenId + 1].field_160 = stor4[idx].field_160
                          log Transfer(
                                address from=from,
                                address to=to,
                                uint256 value=tokenId)
                          if not ext_code.size(to):
                              stop
                          mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                          mem[mem[64] + 4] = caller
                          mem[mem[64] + 36] = from
                          mem[mem[64] + 68] = tokenId
                          mem[mem[64] + 100] = 128
                          mem[mem[64] + 132] = mem[96]
                          idx = 0
                          while idx < mem[96]:
                              mem[idx + mem[64] + 164] = mem[idx + 128]
                              idx = idx + 32
                              continue 
                          if ceil32(mem[96]) <= mem[96]:
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if return_data.size:
                              else:
                                  _1579 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                          else:
                              mem[mem[96] + mem[64] + 164] = 0
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if return_data.size:
                              else:
                                  _1580 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
              else:
                  if not stor7[stor4[idx].field_0][caller]:
                      revert with 0, 'ERC721A: transfer caller is not owner nor approved'
                  if stor4[idx].field_0 != from:
                      revert with 0, 'ERC721A: transfer from incorrect owner'
                  if not to:
                      revert with 0, 'ERC721A: transfer to the zero address'
                  approved[tokenId] = 0
                  log Approval(
                        address owner=stor4[idx].field_0,
                        address spender=0,
                        uint256 value=tokenId)
                  if balanceOf[address(from)].field_0 < 1:
                      revert with 0, 17
                  balanceOf[address(from)].field_0 = uint128(balanceOf[address(from)].field_0 - 1)
                  mem[0] = to
                  mem[32] = 5
                  if balanceOf[address(to)].field_0 > LOCK8605463013():
                      revert with 0, 17
                  balanceOf[address(to)].field_0 = uint128(balanceOf[address(to)].field_0 + 1)
                  _883 = mem[64]
                  mem[64] = mem[64] + 64
                  mem[_883] = to
                  mem[_883 + 32] = uint64(block.timestamp)
                  stor4[tokenId].field_0 = to
                  stor4[tokenId].field_160 = uint64(block.timestamp)
                  if 1 > !tokenId:
                      revert with 0, 17
                  mem[0] = tokenId + 1
                  mem[32] = 4
                  if stor4[tokenId + 1].field_0:
                      log Transfer(
                            address from=from,
                            address to=to,
                            uint256 value=tokenId)
                      if not ext_code.size(to):
                          stop
                      mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                      mem[mem[64] + 4] = caller
                      mem[mem[64] + 36] = from
                      mem[mem[64] + 68] = tokenId
                      mem[mem[64] + 100] = 128
                      mem[mem[64] + 132] = mem[96]
                      idx = 0
                      while idx < mem[96]:
                          mem[idx + mem[64] + 164] = mem[idx + 128]
                          idx = idx + 32
                          continue 
                      if ceil32(mem[96]) <= mem[96]:
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if return_data.size:
                          else:
                              _1581 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                      else:
                          mem[mem[96] + mem[64] + 164] = 0
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if return_data.size:
                          else:
                              _1582 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                  else:
                      if stor1 <= tokenId + 1:
                          log Transfer(
                                address from=from,
                                address to=to,
                                uint256 value=tokenId)
                          if not ext_code.size(to):
                              stop
                          mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                          mem[mem[64] + 4] = caller
                          mem[mem[64] + 36] = from
                          mem[mem[64] + 68] = tokenId
                          mem[mem[64] + 100] = 128
                          mem[mem[64] + 132] = mem[96]
                          idx = 0
                          while idx < mem[96]:
                              mem[idx + mem[64] + 164] = mem[idx + 128]
                              idx = idx + 32
                              continue 
                          if ceil32(mem[96]) <= mem[96]:
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if return_data.size:
                              else:
                                  _1583 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                          else:
                              mem[mem[96] + mem[64] + 164] = 0
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if return_data.size:
                              else:
                                  _1584 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                      else:
                          _945 = mem[64]
                          mem[64] = mem[64] + 64
                          mem[_945] = stor4[idx].field_0
                          mem[_945 + 32] = stor4[idx].field_160
                          mem[0] = tokenId + 1
                          mem[32] = 4
                          stor4[tokenId + 1].field_0 = stor4[idx].field_0
                          stor4[tokenId + 1].field_160 = stor4[idx].field_160
                          log Transfer(
                                address from=from,
                                address to=to,
                                uint256 value=tokenId)
                          if not ext_code.size(to):
                              stop
                          mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                          mem[mem[64] + 4] = caller
                          mem[mem[64] + 36] = from
                          mem[mem[64] + 68] = tokenId
                          mem[mem[64] + 100] = 128
                          mem[mem[64] + 132] = mem[96]
                          idx = 0
                          while idx < mem[96]:
                              mem[idx + mem[64] + 164] = mem[idx + 128]
                              idx = idx + 32
                              continue 
                          if ceil32(mem[96]) <= mem[96]:
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if return_data.size:
                              else:
                                  _1585 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                          else:
                              mem[mem[96] + mem[64] + 164] = 0
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if return_data.size:
                              else:
                                  _1586 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
          ...  # Decompilation aborted, sorry: ("decompilation didn't finish",)
  revert with 0, 'ERC721A: unable to determine the owner of token'

def safeTransferFrom(address from, address to, uint256 tokenId, bytes _data): # not payable
  require calldata.size - 4 >=′ 128
  require from == from
  require to == to
  require _data <= LOCK8605463013()
  require calldata.size >′ _data + 35
  if _data.length > LOCK8605463013():
      revert with 0, 65
  if ceil32(ceil32(_data.length)) + 97 < 96 or ceil32(ceil32(_data.length)) + 97 > LOCK8605463013():
      revert with 0, 65
  mem[96] = _data.length
  require _data + _data.length + 36 <= calldata.size
  mem[128 len _data.length] = _data[all]
  mem[64] = ceil32(ceil32(_data.length)) + 161
  mem[ceil32(ceil32(_data.length)) + 97] = 0
  mem[ceil32(ceil32(_data.length)) + 129] = 0
  if stor1 <= tokenId:
      revert with 0, 'ERC721A: owner query for nonexistent token'
  if tokenId < 2500:
      idx = tokenId
      while idx >= 0:
          mem[0] = idx
          mem[32] = 4
          _753 = mem[64]
          mem[64] = mem[64] + 64
          mem[_753] = stor4[idx].field_0
          mem[_753 + 32] = stor4[idx].field_160
          if not stor4[idx].field_0:
              if not idx:
                  revert with 0, 17
              idx = idx - 1
              continue 
          if caller == stor4[idx].field_0:
              if stor4[idx].field_0 != from:
                  revert with 0, 'ERC721A: transfer from incorrect owner'
              if not to:
                  revert with 0, 'ERC721A: transfer to the zero address'
              approved[tokenId] = 0
              log Approval(
                    address owner=stor4[idx].field_0,
                    address spender=0,
                    uint256 value=tokenId)
              if balanceOf[address(from)].field_0 < 1:
                  revert with 0, 17
              balanceOf[address(from)].field_0 = uint128(balanceOf[address(from)].field_0 - 1)
              mem[0] = to
              mem[32] = 5
              if balanceOf[address(to)].field_0 > LOCK8605463013():
                  revert with 0, 17
              balanceOf[address(to)].field_0 = uint128(balanceOf[address(to)].field_0 + 1)
              _825 = mem[64]
              mem[64] = mem[64] + 64
              mem[_825] = to
              mem[_825 + 32] = uint64(block.timestamp)
              stor4[tokenId].field_0 = to
              stor4[tokenId].field_160 = uint64(block.timestamp)
              if 1 > !tokenId:
                  revert with 0, 17
              mem[0] = tokenId + 1
              mem[32] = 4
              if stor4[tokenId + 1].field_0:
                  log Transfer(
                        address from=from,
                        address to=to,
                        uint256 value=tokenId)
                  if not ext_code.size(to):
                      stop
                  mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                  mem[mem[64] + 4] = caller
                  mem[mem[64] + 36] = from
                  mem[mem[64] + 68] = tokenId
                  mem[mem[64] + 100] = 128
                  mem[mem[64] + 132] = mem[96]
                  idx = 0
                  while idx < mem[96]:
                      mem[idx + mem[64] + 164] = mem[idx + 128]
                      idx = idx + 32
                      continue 
                  if ceil32(mem[96]) <= mem[96]:
                      require ext_code.size(to)
                      call to.onERC721Received(address , address , uint256 , bytes ) with:
                           gas gas_remaining wei
                          args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                      mem[mem[64]] = ext_call.return_data[0]
                      if not ext_call.success:
                          if not return_data.size:
                              if mem[96]:
                                  revert with memory
                                    from 128
                                     len mem[96]
                          else:
                              if return_data.size:
                                  revert with ext_call.return_data[0 len return_data.size]
                      else:
                          _1551 = mem[64]
                          mem[64] = mem[64] + ceil32(return_data.size)
                          require return_data.size >=′ 32
                          require mem[_1551] == Mask(32, 224, mem[_1551])
                  else:
                      mem[mem[96] + mem[64] + 164] = 0
                      require ext_code.size(to)
                      call to.onERC721Received(address , address , uint256 , bytes ) with:
                           gas gas_remaining wei
                          args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                      mem[mem[64]] = ext_call.return_data[0]
                      if not ext_call.success:
                          if not return_data.size:
                              if mem[96]:
                                  revert with memory
                                    from 128
                                     len mem[96]
                          else:
                              if return_data.size:
                                  revert with ext_call.return_data[0 len return_data.size]
                      else:
                          _1552 = mem[64]
                          mem[64] = mem[64] + ceil32(return_data.size)
                          require return_data.size >=′ 32
                          require mem[_1552] == Mask(32, 224, mem[_1552])
              else:
                  if stor1 <= tokenId + 1:
                      log Transfer(
                            address from=from,
                            address to=to,
                            uint256 value=tokenId)
                      if not ext_code.size(to):
                          stop
                      mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                      mem[mem[64] + 4] = caller
                      mem[mem[64] + 36] = from
                      mem[mem[64] + 68] = tokenId
                      mem[mem[64] + 100] = 128
                      mem[mem[64] + 132] = mem[96]
                      idx = 0
                      while idx < mem[96]:
                          mem[idx + mem[64] + 164] = mem[idx + 128]
                          idx = idx + 32
                          continue 
                      if ceil32(mem[96]) <= mem[96]:
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if mem[96]:
                                      revert with memory
                                        from 128
                                         len mem[96]
                              else:
                                  if return_data.size:
                                      revert with ext_call.return_data[0 len return_data.size]
                          else:
                              _1553 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                              require mem[_1553] == Mask(32, 224, mem[_1553])
                      else:
                          mem[mem[96] + mem[64] + 164] = 0
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if mem[96]:
                                      revert with memory
                                        from 128
                                         len mem[96]
                              else:
                                  if return_data.size:
                                      revert with ext_call.return_data[0 len return_data.size]
                          else:
                              _1554 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                              require mem[_1554] == Mask(32, 224, mem[_1554])
                  else:
                      _861 = mem[64]
                      mem[64] = mem[64] + 64
                      mem[_861] = stor4[idx].field_0
                      mem[_861 + 32] = stor4[idx].field_160
                      mem[0] = tokenId + 1
                      mem[32] = 4
                      stor4[tokenId + 1].field_0 = stor4[idx].field_0
                      stor4[tokenId + 1].field_160 = stor4[idx].field_160
                      log Transfer(
                            address from=from,
                            address to=to,
                            uint256 value=tokenId)
                      if not ext_code.size(to):
                          stop
                      mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                      mem[mem[64] + 4] = caller
                      mem[mem[64] + 36] = from
                      mem[mem[64] + 68] = tokenId
                      mem[mem[64] + 100] = 128
                      mem[mem[64] + 132] = mem[96]
                      idx = 0
                      while idx < mem[96]:
                          mem[idx + mem[64] + 164] = mem[idx + 128]
                          idx = idx + 32
                          continue 
                      if ceil32(mem[96]) <= mem[96]:
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if mem[96]:
                                      revert with memory
                                        from 128
                                         len mem[96]
                              else:
                                  if return_data.size:
                                      revert with ext_call.return_data[0 len return_data.size]
                          else:
                              _1555 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                              require mem[_1555] == Mask(32, 224, mem[_1555])
                      else:
                          mem[mem[96] + mem[64] + 164] = 0
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if mem[96]:
                                      revert with memory
                                        from 128
                                         len mem[96]
                              else:
                                  if return_data.size:
                                      revert with ext_call.return_data[0 len return_data.size]
                          else:
                              _1556 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                              require mem[_1556] == Mask(32, 224, mem[_1556])
          else:
              if stor1 <= tokenId:
                  revert with 0, 'ERC721A: approved query for nonexistent token'
              if approved[tokenId] == caller:
                  if stor4[idx].field_0 != from:
                      revert with 0, 'ERC721A: transfer from incorrect owner'
                  if not to:
                      revert with 0, 'ERC721A: transfer to the zero address'
                  approved[tokenId] = 0
                  log Approval(
                        address owner=stor4[idx].field_0,
                        address spender=0,
                        uint256 value=tokenId)
                  if balanceOf[address(from)].field_0 < 1:
                      revert with 0, 17
                  balanceOf[address(from)].field_0 = uint128(balanceOf[address(from)].field_0 - 1)
                  mem[0] = to
                  mem[32] = 5
                  if balanceOf[address(to)].field_0 > LOCK8605463013():
                      revert with 0, 17
                  balanceOf[address(to)].field_0 = uint128(balanceOf[address(to)].field_0 + 1)
                  _851 = mem[64]
                  mem[64] = mem[64] + 64
                  mem[_851] = to
                  mem[_851 + 32] = uint64(block.timestamp)
                  stor4[tokenId].field_0 = to
                  stor4[tokenId].field_160 = uint64(block.timestamp)
                  if 1 > !tokenId:
                      revert with 0, 17
                  mem[0] = tokenId + 1
                  mem[32] = 4
                  if stor4[tokenId + 1].field_0:
                      log Transfer(
                            address from=from,
                            address to=to,
                            uint256 value=tokenId)
                      if not ext_code.size(to):
                          stop
                      mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                      mem[mem[64] + 4] = caller
                      mem[mem[64] + 36] = from
                      mem[mem[64] + 68] = tokenId
                      mem[mem[64] + 100] = 128
                      mem[mem[64] + 132] = mem[96]
                      idx = 0
                      while idx < mem[96]:
                          mem[idx + mem[64] + 164] = mem[idx + 128]
                          idx = idx + 32
                          continue 
                      if ceil32(mem[96]) <= mem[96]:
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if mem[96]:
                                      revert with memory
                                        from 128
                                         len mem[96]
                              else:
                                  if return_data.size:
                                      revert with ext_call.return_data[0 len return_data.size]
                          else:
                              _1557 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                              require mem[_1557] == Mask(32, 224, mem[_1557])
                      else:
                          mem[mem[96] + mem[64] + 164] = 0
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if mem[96]:
                                      revert with memory
                                        from 128
                                         len mem[96]
                              else:
                                  if return_data.size:
                                      revert with ext_call.return_data[0 len return_data.size]
                          else:
                              _1558 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                              require mem[_1558] == Mask(32, 224, mem[_1558])
                  else:
                      if stor1 <= tokenId + 1:
                          log Transfer(
                                address from=from,
                                address to=to,
                                uint256 value=tokenId)
                          if not ext_code.size(to):
                              stop
                          mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                          mem[mem[64] + 4] = caller
                          mem[mem[64] + 36] = from
                          mem[mem[64] + 68] = tokenId
                          mem[mem[64] + 100] = 128
                          mem[mem[64] + 132] = mem[96]
                          idx = 0
                          while idx < mem[96]:
                              mem[idx + mem[64] + 164] = mem[idx + 128]
                              idx = idx + 32
                              continue 
                          if ceil32(mem[96]) <= mem[96]:
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if not return_data.size:
                                      if mem[96]:
                                          revert with memory
                                            from 128
                                             len mem[96]
                                  else:
                                      if return_data.size:
                                          revert with ext_call.return_data[0 len return_data.size]
                              else:
                                  _1559 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                                  require mem[_1559] == Mask(32, 224, mem[_1559])
                          else:
                              mem[mem[96] + mem[64] + 164] = 0
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if not return_data.size:
                                      if mem[96]:
                                          revert with memory
                                            from 128
                                             len mem[96]
                                  else:
                                      if return_data.size:
                                          revert with ext_call.return_data[0 len return_data.size]
                              else:
                                  _1560 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                                  require mem[_1560] == Mask(32, 224, mem[_1560])
                      else:
                          _904 = mem[64]
                          mem[64] = mem[64] + 64
                          mem[_904] = stor4[idx].field_0
                          mem[_904 + 32] = stor4[idx].field_160
                          mem[0] = tokenId + 1
                          mem[32] = 4
                          stor4[tokenId + 1].field_0 = stor4[idx].field_0
                          stor4[tokenId + 1].field_160 = stor4[idx].field_160
                          log Transfer(
                                address from=from,
                                address to=to,
                                uint256 value=tokenId)
                          if not ext_code.size(to):
                              stop
                          mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                          mem[mem[64] + 4] = caller
                          mem[mem[64] + 36] = from
                          mem[mem[64] + 68] = tokenId
                          mem[mem[64] + 100] = 128
                          mem[mem[64] + 132] = mem[96]
                          idx = 0
                          while idx < mem[96]:
                              mem[idx + mem[64] + 164] = mem[idx + 128]
                              idx = idx + 32
                              continue 
                          if ceil32(mem[96]) <= mem[96]:
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if not return_data.size:
                                      if mem[96]:
                                          revert with memory
                                            from 128
                                             len mem[96]
                                  else:
                                      if return_data.size:
                                          revert with ext_call.return_data[0 len return_data.size]
                              else:
                                  _1561 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                                  require mem[_1561] == Mask(32, 224, mem[_1561])
                          else:
                              mem[mem[96] + mem[64] + 164] = 0
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if not return_data.size:
                                      if mem[96]:
                                          revert with memory
                                            from 128
                                             len mem[96]
                                  else:
                                      if return_data.size:
                                          revert with ext_call.return_data[0 len return_data.size]
                              else:
                                  _1562 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                                  require mem[_1562] == Mask(32, 224, mem[_1562])
              else:
                  if not stor7[stor4[idx].field_0][caller]:
                      revert with 0, 'ERC721A: transfer caller is not owner nor approved'
                  if stor4[idx].field_0 != from:
                      revert with 0, 'ERC721A: transfer from incorrect owner'
                  if not to:
                      revert with 0, 'ERC721A: transfer to the zero address'
                  approved[tokenId] = 0
                  log Approval(
                        address owner=stor4[idx].field_0,
                        address spender=0,
                        uint256 value=tokenId)
                  if balanceOf[address(from)].field_0 < 1:
                      revert with 0, 17
                  balanceOf[address(from)].field_0 = uint128(balanceOf[address(from)].field_0 - 1)
                  mem[0] = to
                  mem[32] = 5
                  if balanceOf[address(to)].field_0 > LOCK8605463013():
                      revert with 0, 17
                  balanceOf[address(to)].field_0 = uint128(balanceOf[address(to)].field_0 + 1)
                  _877 = mem[64]
                  mem[64] = mem[64] + 64
                  mem[_877] = to
                  mem[_877 + 32] = uint64(block.timestamp)
                  stor4[tokenId].field_0 = to
                  stor4[tokenId].field_160 = uint64(block.timestamp)
                  if 1 > !tokenId:
                      revert with 0, 17
                  mem[0] = tokenId + 1
                  mem[32] = 4
                  if stor4[tokenId + 1].field_0:
                      log Transfer(
                            address from=from,
                            address to=to,
                            uint256 value=tokenId)
                      if not ext_code.size(to):
                          stop
                      mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                      mem[mem[64] + 4] = caller
                      mem[mem[64] + 36] = from
                      mem[mem[64] + 68] = tokenId
                      mem[mem[64] + 100] = 128
                      mem[mem[64] + 132] = mem[96]
                      idx = 0
                      while idx < mem[96]:
                          mem[idx + mem[64] + 164] = mem[idx + 128]
                          idx = idx + 32
                          continue 
                      if ceil32(mem[96]) <= mem[96]:
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if mem[96]:
                                      revert with memory
                                        from 128
                                         len mem[96]
                              else:
                                  if return_data.size:
                                      revert with ext_call.return_data[0 len return_data.size]
                          else:
                              _1563 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                              require mem[_1563] == Mask(32, 224, mem[_1563])
                      else:
                          mem[mem[96] + mem[64] + 164] = 0
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if mem[96]:
                                      revert with memory
                                        from 128
                                         len mem[96]
                              else:
                                  if return_data.size:
                                      revert with ext_call.return_data[0 len return_data.size]
                          else:
                              _1564 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                              require mem[_1564] == Mask(32, 224, mem[_1564])
                  else:
                      if stor1 <= tokenId + 1:
                          log Transfer(
                                address from=from,
                                address to=to,
                                uint256 value=tokenId)
                          if not ext_code.size(to):
                              stop
                          mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                          mem[mem[64] + 4] = caller
                          mem[mem[64] + 36] = from
                          mem[mem[64] + 68] = tokenId
                          mem[mem[64] + 100] = 128
                          mem[mem[64] + 132] = mem[96]
                          idx = 0
                          while idx < mem[96]:
                              mem[idx + mem[64] + 164] = mem[idx + 128]
                              idx = idx + 32
                              continue 
                          if ceil32(mem[96]) <= mem[96]:
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if not return_data.size:
                                      if mem[96]:
                                          revert with memory
                                            from 128
                                             len mem[96]
                                  else:
                                      if return_data.size:
                                          revert with ext_call.return_data[0 len return_data.size]
                              else:
                                  _1565 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                                  require mem[_1565] == Mask(32, 224, mem[_1565])
                          else:
                              mem[mem[96] + mem[64] + 164] = 0
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if not return_data.size:
                                      if mem[96]:
                                          revert with memory
                                            from 128
                                             len mem[96]
                                  else:
                                      if return_data.size:
                                          revert with ext_call.return_data[0 len return_data.size]
                              else:
                                  _1566 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                                  require mem[_1566] == Mask(32, 224, mem[_1566])
                      else:
                          _934 = mem[64]
                          mem[64] = mem[64] + 64
                          mem[_934] = stor4[idx].field_0
                          mem[_934 + 32] = stor4[idx].field_160
                          mem[0] = tokenId + 1
                          mem[32] = 4
                          stor4[tokenId + 1].field_0 = stor4[idx].field_0
                          stor4[tokenId + 1].field_160 = stor4[idx].field_160
                          log Transfer(
                                address from=from,
                                address to=to,
                                uint256 value=tokenId)
                          if not ext_code.size(to):
                              stop
                          mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                          mem[mem[64] + 4] = caller
                          mem[mem[64] + 36] = from
                          mem[mem[64] + 68] = tokenId
                          mem[mem[64] + 100] = 128
                          mem[mem[64] + 132] = mem[96]
                          idx = 0
                          while idx < mem[96]:
                              mem[idx + mem[64] + 164] = mem[idx + 128]
                              idx = idx + 32
                              continue 
                          if ceil32(mem[96]) <= mem[96]:
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if not return_data.size:
                                      if mem[96]:
                                          revert with memory
                                            from 128
                                             len mem[96]
                                  else:
                                      if return_data.size:
                                          revert with ext_call.return_data[0 len return_data.size]
                              else:
                                  _1567 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                                  require mem[_1567] == Mask(32, 224, mem[_1567])
                          else:
                              mem[mem[96] + mem[64] + 164] = 0
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if not return_data.size:
                                      if mem[96]:
                                          revert with memory
                                            from 128
                                             len mem[96]
                                  else:
                                      if return_data.size:
                                          revert with ext_call.return_data[0 len return_data.size]
                              else:
                                  _1568 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                                  require mem[_1568] == Mask(32, 224, mem[_1568])
          ...  # Decompilation aborted, sorry: ("decompilation didn't finish",)
  else:
      if 1 > !(tokenId - 2500):
          revert with 0, 17
      idx = tokenId
      while idx >= tokenId - 2499:
          mem[0] = idx
          mem[32] = 4
          _756 = mem[64]
          mem[64] = mem[64] + 64
          mem[_756] = stor4[idx].field_0
          mem[_756 + 32] = stor4[idx].field_160
          if not stor4[idx].field_0:
              if not idx:
                  revert with 0, 17
              idx = idx - 1
              continue 
          if caller == stor4[idx].field_0:
              if stor4[idx].field_0 != from:
                  revert with 0, 'ERC721A: transfer from incorrect owner'
              if not to:
                  revert with 0, 'ERC721A: transfer to the zero address'
              approved[tokenId] = 0
              log Approval(
                    address owner=stor4[idx].field_0,
                    address spender=0,
                    uint256 value=tokenId)
              if balanceOf[address(from)].field_0 < 1:
                  revert with 0, 17
              balanceOf[address(from)].field_0 = uint128(balanceOf[address(from)].field_0 - 1)
              mem[0] = to
              mem[32] = 5
              if balanceOf[address(to)].field_0 > LOCK8605463013():
                  revert with 0, 17
              balanceOf[address(to)].field_0 = uint128(balanceOf[address(to)].field_0 + 1)
              _832 = mem[64]
              mem[64] = mem[64] + 64
              mem[_832] = to
              mem[_832 + 32] = uint64(block.timestamp)
              stor4[tokenId].field_0 = to
              stor4[tokenId].field_160 = uint64(block.timestamp)
              if 1 > !tokenId:
                  revert with 0, 17
              mem[0] = tokenId + 1
              mem[32] = 4
              if stor4[tokenId + 1].field_0:
                  log Transfer(
                        address from=from,
                        address to=to,
                        uint256 value=tokenId)
                  if not ext_code.size(to):
                      stop
                  mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                  mem[mem[64] + 4] = caller
                  mem[mem[64] + 36] = from
                  mem[mem[64] + 68] = tokenId
                  mem[mem[64] + 100] = 128
                  mem[mem[64] + 132] = mem[96]
                  idx = 0
                  while idx < mem[96]:
                      mem[idx + mem[64] + 164] = mem[idx + 128]
                      idx = idx + 32
                      continue 
                  if ceil32(mem[96]) <= mem[96]:
                      require ext_code.size(to)
                      call to.onERC721Received(address , address , uint256 , bytes ) with:
                           gas gas_remaining wei
                          args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                      mem[mem[64]] = ext_call.return_data[0]
                      if not ext_call.success:
                          if not return_data.size:
                              if mem[96]:
                                  revert with memory
                                    from 128
                                     len mem[96]
                          else:
                              if return_data.size:
                                  revert with ext_call.return_data[0 len return_data.size]
                      else:
                          _1569 = mem[64]
                          mem[64] = mem[64] + ceil32(return_data.size)
                          require return_data.size >=′ 32
                          require mem[_1569] == Mask(32, 224, mem[_1569])
                  else:
                      mem[mem[96] + mem[64] + 164] = 0
                      require ext_code.size(to)
                      call to.onERC721Received(address , address , uint256 , bytes ) with:
                           gas gas_remaining wei
                          args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                      mem[mem[64]] = ext_call.return_data[0]
                      if not ext_call.success:
                          if not return_data.size:
                              if mem[96]:
                                  revert with memory
                                    from 128
                                     len mem[96]
                          else:
                              if return_data.size:
                                  revert with ext_call.return_data[0 len return_data.size]
                      else:
                          _1570 = mem[64]
                          mem[64] = mem[64] + ceil32(return_data.size)
                          require return_data.size >=′ 32
                          require mem[_1570] == Mask(32, 224, mem[_1570])
              else:
                  if stor1 <= tokenId + 1:
                      log Transfer(
                            address from=from,
                            address to=to,
                            uint256 value=tokenId)
                      if not ext_code.size(to):
                          stop
                      mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                      mem[mem[64] + 4] = caller
                      mem[mem[64] + 36] = from
                      mem[mem[64] + 68] = tokenId
                      mem[mem[64] + 100] = 128
                      mem[mem[64] + 132] = mem[96]
                      idx = 0
                      while idx < mem[96]:
                          mem[idx + mem[64] + 164] = mem[idx + 128]
                          idx = idx + 32
                          continue 
                      if ceil32(mem[96]) <= mem[96]:
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if mem[96]:
                                      revert with memory
                                        from 128
                                         len mem[96]
                              else:
                                  if return_data.size:
                                      revert with ext_call.return_data[0 len return_data.size]
                          else:
                              _1571 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                              require mem[_1571] == Mask(32, 224, mem[_1571])
                      else:
                          mem[mem[96] + mem[64] + 164] = 0
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if mem[96]:
                                      revert with memory
                                        from 128
                                         len mem[96]
                              else:
                                  if return_data.size:
                                      revert with ext_call.return_data[0 len return_data.size]
                          else:
                              _1572 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                              require mem[_1572] == Mask(32, 224, mem[_1572])
                  else:
                      _869 = mem[64]
                      mem[64] = mem[64] + 64
                      mem[_869] = stor4[idx].field_0
                      mem[_869 + 32] = stor4[idx].field_160
                      mem[0] = tokenId + 1
                      mem[32] = 4
                      stor4[tokenId + 1].field_0 = stor4[idx].field_0
                      stor4[tokenId + 1].field_160 = stor4[idx].field_160
                      log Transfer(
                            address from=from,
                            address to=to,
                            uint256 value=tokenId)
                      if not ext_code.size(to):
                          stop
                      mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                      mem[mem[64] + 4] = caller
                      mem[mem[64] + 36] = from
                      mem[mem[64] + 68] = tokenId
                      mem[mem[64] + 100] = 128
                      mem[mem[64] + 132] = mem[96]
                      idx = 0
                      while idx < mem[96]:
                          mem[idx + mem[64] + 164] = mem[idx + 128]
                          idx = idx + 32
                          continue 
                      if ceil32(mem[96]) <= mem[96]:
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if mem[96]:
                                      revert with memory
                                        from 128
                                         len mem[96]
                              else:
                                  if return_data.size:
                                      revert with ext_call.return_data[0 len return_data.size]
                          else:
                              _1573 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                              require mem[_1573] == Mask(32, 224, mem[_1573])
                      else:
                          mem[mem[96] + mem[64] + 164] = 0
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if mem[96]:
                                      revert with memory
                                        from 128
                                         len mem[96]
                              else:
                                  if return_data.size:
                                      revert with ext_call.return_data[0 len return_data.size]
                          else:
                              _1574 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                              require mem[_1574] == Mask(32, 224, mem[_1574])
          else:
              if stor1 <= tokenId:
                  revert with 0, 'ERC721A: approved query for nonexistent token'
              if approved[tokenId] == caller:
                  if stor4[idx].field_0 != from:
                      revert with 0, 'ERC721A: transfer from incorrect owner'
                  if not to:
                      revert with 0, 'ERC721A: transfer to the zero address'
                  approved[tokenId] = 0
                  log Approval(
                        address owner=stor4[idx].field_0,
                        address spender=0,
                        uint256 value=tokenId)
                  if balanceOf[address(from)].field_0 < 1:
                      revert with 0, 17
                  balanceOf[address(from)].field_0 = uint128(balanceOf[address(from)].field_0 - 1)
                  mem[0] = to
                  mem[32] = 5
                  if balanceOf[address(to)].field_0 > LOCK8605463013():
                      revert with 0, 17
                  balanceOf[address(to)].field_0 = uint128(balanceOf[address(to)].field_0 + 1)
                  _855 = mem[64]
                  mem[64] = mem[64] + 64
                  mem[_855] = to
                  mem[_855 + 32] = uint64(block.timestamp)
                  stor4[tokenId].field_0 = to
                  stor4[tokenId].field_160 = uint64(block.timestamp)
                  if 1 > !tokenId:
                      revert with 0, 17
                  mem[0] = tokenId + 1
                  mem[32] = 4
                  if stor4[tokenId + 1].field_0:
                      log Transfer(
                            address from=from,
                            address to=to,
                            uint256 value=tokenId)
                      if not ext_code.size(to):
                          stop
                      mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                      mem[mem[64] + 4] = caller
                      mem[mem[64] + 36] = from
                      mem[mem[64] + 68] = tokenId
                      mem[mem[64] + 100] = 128
                      mem[mem[64] + 132] = mem[96]
                      idx = 0
                      while idx < mem[96]:
                          mem[idx + mem[64] + 164] = mem[idx + 128]
                          idx = idx + 32
                          continue 
                      if ceil32(mem[96]) <= mem[96]:
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if mem[96]:
                                      revert with memory
                                        from 128
                                         len mem[96]
                              else:
                                  if return_data.size:
                                      revert with ext_call.return_data[0 len return_data.size]
                          else:
                              _1575 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                              require mem[_1575] == Mask(32, 224, mem[_1575])
                      else:
                          mem[mem[96] + mem[64] + 164] = 0
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if mem[96]:
                                      revert with memory
                                        from 128
                                         len mem[96]
                              else:
                                  if return_data.size:
                                      revert with ext_call.return_data[0 len return_data.size]
                          else:
                              _1576 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                              require mem[_1576] == Mask(32, 224, mem[_1576])
                  else:
                      if stor1 <= tokenId + 1:
                          log Transfer(
                                address from=from,
                                address to=to,
                                uint256 value=tokenId)
                          if not ext_code.size(to):
                              stop
                          mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                          mem[mem[64] + 4] = caller
                          mem[mem[64] + 36] = from
                          mem[mem[64] + 68] = tokenId
                          mem[mem[64] + 100] = 128
                          mem[mem[64] + 132] = mem[96]
                          idx = 0
                          while idx < mem[96]:
                              mem[idx + mem[64] + 164] = mem[idx + 128]
                              idx = idx + 32
                              continue 
                          if ceil32(mem[96]) <= mem[96]:
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if not return_data.size:
                                      if mem[96]:
                                          revert with memory
                                            from 128
                                             len mem[96]
                                  else:
                                      if return_data.size:
                                          revert with ext_call.return_data[0 len return_data.size]
                              else:
                                  _1577 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                                  require mem[_1577] == Mask(32, 224, mem[_1577])
                          else:
                              mem[mem[96] + mem[64] + 164] = 0
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if not return_data.size:
                                      if mem[96]:
                                          revert with memory
                                            from 128
                                             len mem[96]
                                  else:
                                      if return_data.size:
                                          revert with ext_call.return_data[0 len return_data.size]
                              else:
                                  _1578 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                                  require mem[_1578] == Mask(32, 224, mem[_1578])
                      else:
                          _915 = mem[64]
                          mem[64] = mem[64] + 64
                          mem[_915] = stor4[idx].field_0
                          mem[_915 + 32] = stor4[idx].field_160
                          mem[0] = tokenId + 1
                          mem[32] = 4
                          stor4[tokenId + 1].field_0 = stor4[idx].field_0
                          stor4[tokenId + 1].field_160 = stor4[idx].field_160
                          log Transfer(
                                address from=from,
                                address to=to,
                                uint256 value=tokenId)
                          if not ext_code.size(to):
                              stop
                          mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                          mem[mem[64] + 4] = caller
                          mem[mem[64] + 36] = from
                          mem[mem[64] + 68] = tokenId
                          mem[mem[64] + 100] = 128
                          mem[mem[64] + 132] = mem[96]
                          idx = 0
                          while idx < mem[96]:
                              mem[idx + mem[64] + 164] = mem[idx + 128]
                              idx = idx + 32
                              continue 
                          if ceil32(mem[96]) <= mem[96]:
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if not return_data.size:
                                      if mem[96]:
                                          revert with memory
                                            from 128
                                             len mem[96]
                                  else:
                                      if return_data.size:
                                          revert with ext_call.return_data[0 len return_data.size]
                              else:
                                  _1579 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                                  require mem[_1579] == Mask(32, 224, mem[_1579])
                          else:
                              mem[mem[96] + mem[64] + 164] = 0
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if not return_data.size:
                                      if mem[96]:
                                          revert with memory
                                            from 128
                                             len mem[96]
                                  else:
                                      if return_data.size:
                                          revert with ext_call.return_data[0 len return_data.size]
                              else:
                                  _1580 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                                  require mem[_1580] == Mask(32, 224, mem[_1580])
              else:
                  if not stor7[stor4[idx].field_0][caller]:
                      revert with 0, 'ERC721A: transfer caller is not owner nor approved'
                  if stor4[idx].field_0 != from:
                      revert with 0, 'ERC721A: transfer from incorrect owner'
                  if not to:
                      revert with 0, 'ERC721A: transfer to the zero address'
                  approved[tokenId] = 0
                  log Approval(
                        address owner=stor4[idx].field_0,
                        address spender=0,
                        uint256 value=tokenId)
                  if balanceOf[address(from)].field_0 < 1:
                      revert with 0, 17
                  balanceOf[address(from)].field_0 = uint128(balanceOf[address(from)].field_0 - 1)
                  mem[0] = to
                  mem[32] = 5
                  if balanceOf[address(to)].field_0 > LOCK8605463013():
                      revert with 0, 17
                  balanceOf[address(to)].field_0 = uint128(balanceOf[address(to)].field_0 + 1)
                  _883 = mem[64]
                  mem[64] = mem[64] + 64
                  mem[_883] = to
                  mem[_883 + 32] = uint64(block.timestamp)
                  stor4[tokenId].field_0 = to
                  stor4[tokenId].field_160 = uint64(block.timestamp)
                  if 1 > !tokenId:
                      revert with 0, 17
                  mem[0] = tokenId + 1
                  mem[32] = 4
                  if stor4[tokenId + 1].field_0:
                      log Transfer(
                            address from=from,
                            address to=to,
                            uint256 value=tokenId)
                      if not ext_code.size(to):
                          stop
                      mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                      mem[mem[64] + 4] = caller
                      mem[mem[64] + 36] = from
                      mem[mem[64] + 68] = tokenId
                      mem[mem[64] + 100] = 128
                      mem[mem[64] + 132] = mem[96]
                      idx = 0
                      while idx < mem[96]:
                          mem[idx + mem[64] + 164] = mem[idx + 128]
                          idx = idx + 32
                          continue 
                      if ceil32(mem[96]) <= mem[96]:
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if mem[96]:
                                      revert with memory
                                        from 128
                                         len mem[96]
                              else:
                                  if return_data.size:
                                      revert with ext_call.return_data[0 len return_data.size]
                          else:
                              _1581 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                              require mem[_1581] == Mask(32, 224, mem[_1581])
                      else:
                          mem[mem[96] + mem[64] + 164] = 0
                          require ext_code.size(to)
                          call to.onERC721Received(address , address , uint256 , bytes ) with:
                               gas gas_remaining wei
                              args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                          mem[mem[64]] = ext_call.return_data[0]
                          if not ext_call.success:
                              if not return_data.size:
                                  if mem[96]:
                                      revert with memory
                                        from 128
                                         len mem[96]
                              else:
                                  if return_data.size:
                                      revert with ext_call.return_data[0 len return_data.size]
                          else:
                              _1582 = mem[64]
                              mem[64] = mem[64] + ceil32(return_data.size)
                              require return_data.size >=′ 32
                              require mem[_1582] == Mask(32, 224, mem[_1582])
                  else:
                      if stor1 <= tokenId + 1:
                          log Transfer(
                                address from=from,
                                address to=to,
                                uint256 value=tokenId)
                          if not ext_code.size(to):
                              stop
                          mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                          mem[mem[64] + 4] = caller
                          mem[mem[64] + 36] = from
                          mem[mem[64] + 68] = tokenId
                          mem[mem[64] + 100] = 128
                          mem[mem[64] + 132] = mem[96]
                          idx = 0
                          while idx < mem[96]:
                              mem[idx + mem[64] + 164] = mem[idx + 128]
                              idx = idx + 32
                              continue 
                          if ceil32(mem[96]) <= mem[96]:
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if not return_data.size:
                                      if mem[96]:
                                          revert with memory
                                            from 128
                                             len mem[96]
                                  else:
                                      if return_data.size:
                                          revert with ext_call.return_data[0 len return_data.size]
                              else:
                                  _1583 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                                  require mem[_1583] == Mask(32, 224, mem[_1583])
                          else:
                              mem[mem[96] + mem[64] + 164] = 0
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if not return_data.size:
                                      if mem[96]:
                                          revert with memory
                                            from 128
                                             len mem[96]
                                  else:
                                      if return_data.size:
                                          revert with ext_call.return_data[0 len return_data.size]
                              else:
                                  _1584 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                                  require mem[_1584] == Mask(32, 224, mem[_1584])
                      else:
                          _945 = mem[64]
                          mem[64] = mem[64] + 64
                          mem[_945] = stor4[idx].field_0
                          mem[_945 + 32] = stor4[idx].field_160
                          mem[0] = tokenId + 1
                          mem[32] = 4
                          stor4[tokenId + 1].field_0 = stor4[idx].field_0
                          stor4[tokenId + 1].field_160 = stor4[idx].field_160
                          log Transfer(
                                address from=from,
                                address to=to,
                                uint256 value=tokenId)
                          if not ext_code.size(to):
                              stop
                          mem[mem[64]] = 0x150b7a0200000000000000000000000000000000000000000000000000000000
                          mem[mem[64] + 4] = caller
                          mem[mem[64] + 36] = from
                          mem[mem[64] + 68] = tokenId
                          mem[mem[64] + 100] = 128
                          mem[mem[64] + 132] = mem[96]
                          idx = 0
                          while idx < mem[96]:
                              mem[idx + mem[64] + 164] = mem[idx + 128]
                              idx = idx + 32
                              continue 
                          if ceil32(mem[96]) <= mem[96]:
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if not return_data.size:
                                      if mem[96]:
                                          revert with memory
                                            from 128
                                             len mem[96]
                                  else:
                                      if return_data.size:
                                          revert with ext_call.return_data[0 len return_data.size]
                              else:
                                  _1585 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                                  require mem[_1585] == Mask(32, 224, mem[_1585])
                          else:
                              mem[mem[96] + mem[64] + 164] = 0
                              require ext_code.size(to)
                              call to.onERC721Received(address , address , uint256 , bytes ) with:
                                   gas gas_remaining wei
                                  args caller, address(from), tokenId, Array(len=mem[96], data=mem[mem[64] + 164 len ceil32(mem[96])])
                              mem[mem[64]] = ext_call.return_data[0]
                              if not ext_call.success:
                                  if not return_data.size:
                                      if mem[96]:
                                          revert with memory
                                            from 128
                                             len mem[96]
                                  else:
                                      if return_data.size:
                                          revert with ext_call.return_data[0 len return_data.size]
                              else:
                                  _1586 = mem[64]
                                  mem[64] = mem[64] + ceil32(return_data.size)
                                  require return_data.size >=′ 32
                                  require mem[_1586] == Mask(32, 224, mem[_1586])
          ...  # Decompilation aborted, sorry: ("decompilation didn't finish",)
  revert with 0, 'ERC721A: unable to determine the owner of token'

Decompilation generated by Panoramix.

Raw bytecode

0x60806040526004361061038c576000357c01000000000000000000000000000000000000000000000000000000009004806374721235116101e3578063b88d4fde11610114578063e2ab10ce116100b2578063e985e9c51161008c578063e985e9c514610a13578063efef39a114610a5c578063f2fde38b14610a6f578063fa156f9a14610a8f57600080fd5b8063e2ab10ce146109d5578063e2d5ee2d146109e8578063e33b7de3146109fe57600080fd5b8063cf9e8e69116100ee578063cf9e8e691461095f578063cfc86f7b14610974578063d7224ba014610989578063d79779b21461099f57600080fd5b8063b88d4fde146108e9578063c87b56dd14610909578063ce7c2ac21461092957600080fd5b8063904be6da116101815780639d044ed31161015b5780639d044ed31461087e578063a0bcfc7f14610893578063a22cb465146108b3578063b85ef036146108d357600080fd5b8063904be6da1461081d57806395d89b41146108335780639852595c1461084857600080fd5b80638456cb59116101bd5780638456cb59146107b55780638b83209b146107ca5780638d859f3e146107ea5780638da5cb5b146107ff57600080fd5b806374721235146107555780637b96a3b2146107755780637cb647591461079557600080fd5b80633f4ba83a116102bd5780635f0d246a1161025b578063696fa41e11610235578063696fa41e146106ea5780636c2f5acd1461070057806370a0823114610720578063715018a61461074057600080fd5b80635f0d246a1461069f5780636352211e146106b557806366cfb1f3146106d557600080fd5b806342842e0e1161029757806342842e0e1461062757806348b75044146106475780634f6ccce7146106675780635c975abb1461068757600080fd5b80633f4ba83a146105b9578063406072a9146105ce57806340c10f191461061457600080fd5b806322f4596f1161032a5780632a55205a116103045780632a55205a1461052f5780632f745c591461056e5780632fc37ab21461058e5780633a98ef39146105a457600080fd5b806322f4596f146104e3578063235b6ea1146104f957806323b872dd1461050f57600080fd5b8063095ea7b311610366578063095ea7b31461046957806318160ddd1461048b57806319165587146104ae5780631e84c413146104ce57600080fd5b806301ffc9a7146103da57806306fdde031461040f578063081812fc1461043157600080fd5b366103d5577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7703360408051600160a060020a0390921682523460208301520160405180910390a1005b600080fd5b3480156103e657600080fd5b506103fa6103f53660046134ba565b610aa5565b60405190151581526020015b60405180910390f35b34801561041b57600080fd5b50610424610ae9565b604051610406919061352f565b34801561043d57600080fd5b5061045161044c366004613542565b610b7b565b604051600160a060020a039091168152602001610406565b34801561047557600080fd5b50610489610484366004613570565b610c1e565b005b34801561049757600080fd5b506104a0610d57565b604051908152602001610406565b3480156104ba57600080fd5b506104896104c936600461359c565b610d6c565b3480156104da57600080fd5b506103fa610ea1565b3480156104ef57600080fd5b506104a060165481565b34801561050557600080fd5b506104a060145481565b34801561051b57600080fd5b5061048961052a3660046135b9565b610eb9565b34801561053b57600080fd5b5061054f61054a3660046135fa565b610ec4565b60408051600160a060020a039093168352602083019190915201610406565b34801561057a57600080fd5b506104a0610589366004613570565b610f19565b34801561059a57600080fd5b506104a060135481565b3480156105b057600080fd5b50600b546104a0565b3480156105c557600080fd5b506104896110c1565b3480156105da57600080fd5b506104a06105e936600461361c565b600160a060020a03918216600090815260116020908152604080832093909416825291909152205490565b610489610622366004613570565b6110f8565b34801561063357600080fd5b506104896106423660046135b9565b61113c565b34801561065357600080fd5b5061048961066236600461361c565b611157565b34801561067357600080fd5b506104a0610682366004613542565b61135e565b34801561069357600080fd5b50600a5460ff166103fa565b3480156106ab57600080fd5b506104a060155481565b3480156106c157600080fd5b506104516106d0366004613542565b6113e3565b3480156106e157600080fd5b506104a06113f5565b3480156106f657600080fd5b506104a0601b5481565b34801561070c57600080fd5b5061048961071b366004613570565b611412565b34801561072c57600080fd5b506104a061073b36600461359c565b611449565b34801561074c57600080fd5b506104896114ef565b34801561076157600080fd5b50610489610770366004613655565b611526565b34801561078157600080fd5b506103fa6107903660046136f5565b611579565b3480156107a157600080fd5b506104896107b0366004613542565b611606565b3480156107c157600080fd5b50610489611638565b3480156107d657600080fd5b506104516107e5366004613542565b61166d565b3480156107f657600080fd5b506104a061169d565b34801561080b57600080fd5b50600054600160a060020a0316610451565b34801561082957600080fd5b506104a060185481565b34801561083f57600080fd5b506104246116ba565b34801561085457600080fd5b506104a061086336600461359c565b600160a060020a03166000908152600e602052604090205490565b34801561088a57600080fd5b506103fa6116c9565b34801561089f57600080fd5b506104896108ae3660046137d9565b6116ec565b3480156108bf57600080fd5b506104896108ce366004613830565b61172c565b3480156108df57600080fd5b506104a060195481565b3480156108f557600080fd5b5061048961090436600461385e565b6117f4565b34801561091557600080fd5b50610424610924366004613542565b611830565b34801561093557600080fd5b506104a061094436600461359c565b600160a060020a03166000908152600d602052604090205490565b34801561096b57600080fd5b506016546104a0565b34801561098057600080fd5b5061042461190d565b34801561099557600080fd5b506104a060085481565b3480156109ab57600080fd5b506104a06109ba36600461359c565b600160a060020a031660009081526010602052604090205490565b6104896109e33660046138de565b61199b565b3480156109f457600080fd5b506104a060175481565b348015610a0a57600080fd5b50600c546104a0565b348015610a1f57600080fd5b506103fa610a2e36600461361c565b600160a060020a03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610489610a6a366004613542565b611a9f565b348015610a7b57600080fd5b50610489610a8a36600461359c565b611b69565b348015610a9b57600080fd5b506104a0601a5481565b6000600160e060020a031982167f2a55205a000000000000000000000000000000000000000000000000000000001480610ae35750610ae382611c21565b92915050565b606060028054610af890613911565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2490613911565b8015610b715780601f10610b4657610100808354040283529160200191610b71565b820191906000526020600020905b815481529060010190602001808311610b5457829003601f168201915b5050505050905090565b6000610b88826001541190565b610c025760405160e560020a62461bcd02815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e0000000000000000000000000000000000000060648201526084015b60405180910390fd5b50600090815260066020526040902054600160a060020a031690565b6000610c29826113e3565b905080600160a060020a031683600160a060020a03161415610cb65760405160e560020a62461bcd02815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201527f65720000000000000000000000000000000000000000000000000000000000006064820152608401610bf9565b33600160a060020a0382161480610cd25750610cd28133610a2e565b610d475760405160e560020a62461bcd02815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610bf9565b610d52838383611cf0565b505050565b600060018054610d679190613968565b905090565b600160a060020a0381166000908152600d6020526040902054610da45760405160e560020a62461bcd028152600401610bf99061397f565b6000610daf600c5490565b610dba9030316139dc565b90506000610de78383610de286600160a060020a03166000908152600e602052604090205490565b611d59565b905080610e095760405160e560020a62461bcd028152600401610bf9906139f4565b600160a060020a0383166000908152600e602052604081208054839290610e319084906139dc565b9250508190555080600c6000828254610e4a91906139dc565b90915550610e5a90508382611d9f565b60408051600160a060020a0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b600060195460001480610d6757504260195410905090565b610d52838383611ebf565b60408051808201909152600954600160a060020a03811680835260a060020a90910462ffffff1660208301819052909160009161271090610f059086613a51565b610f0f9190613a89565b9150509250929050565b6000610f2483611449565b8210610f9b5760405160e560020a62461bcd02815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60448201527f64730000000000000000000000000000000000000000000000000000000000006064820152608401610bf9565b6000610fa5610d57565b905060008060005b8381101561104f57600081815260046020908152604091829020825180840190935254600160a060020a03811680845260a060020a90910467ffffffffffffffff16918301919091521561100057805192505b87600160a060020a031683600160a060020a0316141561103c578684141561102e57509350610ae392505050565b8361103881613a9d565b9450505b508061104781613a9d565b915050610fad565b5060405160e560020a62461bcd02815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e6465780000000000000000000000000000000000006064820152608401610bf9565b600054600160a060020a031633146110ee5760405160e560020a62461bcd028152600401610bf990613ab8565b6110f661228a565b565b600054600160a060020a031633146111255760405160e560020a62461bcd028152600401610bf990613ab8565b61112e81612329565b61113882826123b6565b5050565b610d52838383604051806020016040528060008152506117f4565b600160a060020a0381166000908152600d602052604090205461118f5760405160e560020a62461bcd028152600401610bf99061397f565b600160a060020a0382166000908152601060205260408120546040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a038516906370a082319060240160206040518083038186803b15801561120057600080fd5b505afa158015611214573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112389190613aed565b61124291906139dc565b9050600061127b8383610de28787600160a060020a03918216600090815260116020908152604080832093909416825291909152205490565b90508061129d5760405160e560020a62461bcd028152600401610bf9906139f4565b600160a060020a038085166000908152601160209081526040808320938716835292905290812080548392906112d49084906139dc565b9091555050600160a060020a038416600090815260106020526040812080548392906113019084906139dc565b9091555061131290508484836123d0565b60408051600160a060020a038581168252602082018490528616917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a250505050565b6000611368610d57565b82106113df5760405160e560020a62461bcd02815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560448201527f6e647300000000000000000000000000000000000000000000000000000000006064820152608401610bf9565b5090565b60006113ee82612450565b5192915050565b60006113ff6116c9565b1561140b575060185490565b5060175490565b600054600160a060020a0316331461143f5760405160e560020a62461bcd028152600401610bf990613ab8565b6111388282612621565b6000600160a060020a0382166114ca5760405160e560020a62461bcd02815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201527f65726f20616464726573730000000000000000000000000000000000000000006064820152608401610bf9565b50600160a060020a03166000908152600560205260409020546001608060020a031690565b600054600160a060020a0316331461151c5760405160e560020a62461bcd028152600401610bf990613ab8565b6110f660006126d0565b600054600160a060020a031633146115535760405160e560020a62461bcd028152600401610bf990613ab8565b601997909755601a95909555601793909355601891909155601455601555601355601b55565b60006040516c01000000000000000000000000600160a060020a0386160260208201526000906034016040516020818303038152906040528051906020012090506115fb84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601354915084905061272d565b9150505b9392505050565b600054600160a060020a031633146116335760405160e560020a62461bcd028152600401610bf990613ab8565b601355565b600054600160a060020a031633146116655760405160e560020a62461bcd028152600401610bf990613ab8565b6110f6612743565b6000600f828154811061168257611682613b06565b600091825260209091200154600160a060020a031692915050565b60006116a76116c9565b156116b3575060155490565b5060145490565b606060038054610af890613911565b6000601a5460001480610d67575042601a54108015610d67575050601954421090565b600054600160a060020a031633146117195760405160e560020a62461bcd028152600401610bf990613ab8565b8051611138906012906020840190613414565b600160a060020a0382163314156117885760405160e560020a62461bcd02815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610bf9565b336000818152600760209081526040808320600160a060020a03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6117ff848484611ebf565b61180b8484848461279e565b61182a5760405160e560020a62461bcd028152600401610bf990613b1f565b50505050565b606061183d826001541190565b6118b25760405160e560020a62461bcd02815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610bf9565b60006118bc6128e0565b905060008151116118dc57604051806020016040528060008152506115ff565b806118e684612914565b6040516020016118f7929190613b98565b6040516020818303038152906040529392505050565b6012805461191a90613911565b80601f016020809104026020016040519081016040528092919081815260200182805461194690613911565b80156119935780601f1061196857610100808354040283529160200191611993565b820191906000526020600020905b81548152906001019060200180831161197657829003601f168201915b505050505081565b600a5460ff16156119c15760405160e560020a62461bcd028152600401610bf990613bc7565b6119ce3384601854612a4d565b6119d66116c9565b80156119e857506119e8338383611579565b611a5d5760405160e560020a62461bcd02815260206004820152602360248201527f424153455f434f4c4c454354494f4e2f43414e4e4f545f4d494e545f5052455360448201527f414c4500000000000000000000000000000000000000000000000000000000006064820152608401610bf9565b611a6983601554612b84565b60155460405184919033907f38bd02858ca92987ff585a4c06998aea8187e96864df1eaf349dec3cfddc0fbb90600090a4505050565b600a5460ff1615611ac55760405160e560020a62461bcd028152600401610bf990613bc7565b611ad23382601754612a4d565b611ada610ea1565b611b295760405160e560020a62461bcd02815260206004820152601b60248201527f424153455f434f4c4c454354494f4e2f43414e4e4f545f4d494e5400000000006044820152606401610bf9565b611b3581601454612b84565b60145460405182919033907f12cb4648cf3058b17ceeb33e579f8b0bc269fe0843f3900b8e24b6c54871703c90600090a450565b600054600160a060020a03163314611b965760405160e560020a62461bcd028152600401610bf990613ab8565b600160a060020a038116611c155760405160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610bf9565b611c1e816126d0565b50565b6000600160e060020a031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480611c845750600160e060020a031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80611cb85750600160e060020a031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b80610ae357507f01ffc9a700000000000000000000000000000000000000000000000000000000600160e060020a0319831614610ae3565b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600b54600160a060020a0384166000908152600d602052604081205490918391611d839086613a51565b611d8d9190613a89565b611d979190613968565b949350505050565b3031811115611df35760405160e560020a62461bcd02815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610bf9565b600082600160a060020a03168260405160006040518083038185875af1925050503d8060008114611e40576040519150601f19603f3d011682016040523d82523d6000602084013e611e45565b606091505b5050905080610d525760405160e560020a62461bcd02815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610bf9565b6000611eca82612450565b8051909150600090600160a060020a031633600160a060020a03161480611f01575033611ef684610b7b565b600160a060020a0316145b80611f1357508151611f139033610a2e565b905080611f8b5760405160e560020a62461bcd02815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610bf9565b84600160a060020a03168260000151600160a060020a0316146120195760405160e560020a62461bcd02815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f727265637460448201527f206f776e657200000000000000000000000000000000000000000000000000006064820152608401610bf9565b600160a060020a0384166120985760405160e560020a62461bcd02815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610bf9565b6120a86000848460000151611cf0565b600160a060020a03851660009081526005602052604081208054600192906120da9084906001608060020a0316613bfe565b82546101009290920a6001608060020a03818102199093169183160217909155600160a060020a0386166000908152600560205260408120805460019450909261212691859116613c26565b82546001608060020a039182166101009390930a928302919092021990911617905550604080518082018252600160a060020a03808716825267ffffffffffffffff42811660208085019182526000898152600490915294852093518454915190921660a060020a02600160e060020a031990911691909216171790556121ae8460016139dc565b600081815260046020526040902054909150600160a060020a0316612240576121d8816001541190565b15612240576040805180820182528451600160a060020a03908116825260208087015167ffffffffffffffff908116828501908152600087815260049093529490912092518354945190911660a060020a02600160e060020a03199094169116179190911790555b8385600160a060020a031687600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b600a5460ff166122df5760405160e560020a62461bcd02815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610bf9565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b604051600160a060020a03909116815260200160405180910390a1565b60165481612335610d57565b61233f91906139dc565b1115611c1e5760405160e560020a62461bcd02815260206004820152602260248201527f424153455f434f4c4c454354494f4e2f455843454544535f4d41585f5355505060448201527f4c590000000000000000000000000000000000000000000000000000000000006064820152608401610bf9565b611138828260405180602001604052806000815250612c35565b60408051600160a060020a038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610d52908490612f6d565b604080518082019091526000808252602082015261246f826001541190565b6124e45760405160e560020a62461bcd02815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e000000000000000000000000000000000000000000006064820152608401610bf9565b60007f00000000000000000000000000000000000000000000000000000000000009c48310612545576125377f00000000000000000000000000000000000000000000000000000000000009c484613968565b6125429060016139dc565b90505b825b8181106125af57600081815260046020908152604091829020825180840190935254600160a060020a03811680845260a060020a90910467ffffffffffffffff16918301919091521561259c57949350505050565b50806125a781613c48565b915050612547565b5060405160e560020a62461bcd02815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201527f206f776e6572206f6620746f6b656e00000000000000000000000000000000006064820152608401610bf9565b6127108111156126765760405160e560020a62461bcd02815260206004820152601a60248201527f45524332393831526f79616c746965733a20546f6f20686967680000000000006044820152606401610bf9565b60408051808201909152600160a060020a0390921680835262ffffff90911660209092018290526009805460a060020a90930276ffffffffffffffffffffffffffffffffffffffffffffff19909316909117919091179055565b60008054600160a060020a0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008261273a8584613055565b14949350505050565b600a5460ff16156127695760405160e560020a62461bcd028152600401610bf990613bc7565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861230c3390565b6000600160a060020a0384163b156128d5576040517f150b7a02000000000000000000000000000000000000000000000000000000008152600160a060020a0385169063150b7a02906127fb903390899088908890600401613c5f565b602060405180830381600087803b15801561281557600080fd5b505af1925050508015612845575060408051601f3d908101601f1916820190925261284291810190613c9b565b60015b6128a2573d808015612873576040519150601f19603f3d011682016040523d82523d6000602084013e612878565b606091505b50805161289a5760405160e560020a62461bcd028152600401610bf990613b1f565b805181602001fd5b600160e060020a0319167f150b7a0200000000000000000000000000000000000000000000000000000000149050611d97565b506001949350505050565b606060126128ef306014613101565b604051602001612900929190613cb8565b604051602081830303815290604052905090565b60608161295457505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561297e578061296881613a9d565b91506129779050600a83613a89565b9150612958565b60008167ffffffffffffffff8111156129995761299961374a565b6040519080825280601f01601f1916602001820160405280156129c3576020820181803683370190505b5090505b8415611d97576129d8600183613968565b91506129e5600a86613d85565b6129f09060306139dc565b7f010000000000000000000000000000000000000000000000000000000000000002818381518110612a2457612a24613b06565b6020010190600160f860020a031916908160001a905350612a46600a86613a89565b94506129c7565b612a5682612329565b601b541580612a675750601b548211155b612adc5760405160e560020a62461bcd02815260206004820152602b60248201527f424153455f434f4c4c454354494f4e2f455843454544535f4d41585f5045525f60448201527f5452414e53414354494f4e0000000000000000000000000000000000000000006064820152608401610bf9565b600160a060020a0383166000908152601c6020526040812054612b009084906139dc565b9050811580612b0f5750818111155b61182a5760405160e560020a62461bcd02815260206004820152602960248201527f424153455f434f4c4c454354494f4e2f455843454544535f494e44495649445560448201527f414c5f535550504c5900000000000000000000000000000000000000000000006064820152608401610bf9565b34612b8f8383613a51565b1115612c065760405160e560020a62461bcd02815260206004820152602760248201527f424153455f434f4c4c454354494f4e2f494e53554646494349454e545f45544860448201527f5f414d4f554e54000000000000000000000000000000000000000000000000006064820152608401610bf9565b336000908152601c602052604081208054849290612c259084906139dc565b90915550611138905033836123b6565b600154600160a060020a038416612cb75760405160e560020a62461bcd02815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610bf9565b612cc2816001541190565b15612d125760405160e560020a62461bcd02815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610bf9565b7f00000000000000000000000000000000000000000000000000000000000009c4831115612dab5760405160e560020a62461bcd02815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960448201527f67680000000000000000000000000000000000000000000000000000000000006064820152608401610bf9565b600160a060020a0384166000908152600560209081526040918290208251808401845290546001608060020a0380821683527001000000000000000000000000000000009091041691810191909152815180830190925280519091908190612e14908790613c26565b6001608060020a03168152602001858360200151612e329190613c26565b6001608060020a03908116909152600160a060020a03808816600081815260056020908152604080832087519783015187167001000000000000000000000000000000000297909616969096179094558451808601865291825267ffffffffffffffff428116838601908152888352600490955294812091518254945190951660a060020a02600160e060020a031990941694909216939093179190911790915582905b85811015612f62576040518290600160a060020a038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4612f23600088848861279e565b612f425760405160e560020a62461bcd028152600401610bf990613b1f565b81612f4c81613a9d565b9250508080612f5a90613a9d565b915050612ed6565b506001819055612282565b6000612fc2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525085600160a060020a03166133039092919063ffffffff16565b805190915015610d525780806020019051810190612fe09190613d99565b610d525760405160e560020a62461bcd02815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610bf9565b600081815b84518110156130f957600085828151811061307757613077613b06565b602002602001015190508083116130b95760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506130e6565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806130f181613a9d565b91505061305a565b509392505050565b60606000613110836002613a51565b61311b9060026139dc565b67ffffffffffffffff8111156131335761313361374a565b6040519080825280601f01601f19166020018201604052801561315d576020820181803683370190505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061319457613194613b06565b6020010190600160f860020a031916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106131df576131df613b06565b6020010190600160f860020a031916908160001a9053506000613203846002613a51565b61320e9060016139dc565b90505b60018111156132b1577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061324f5761324f613b06565b1a7f01000000000000000000000000000000000000000000000000000000000000000282828151811061328457613284613b06565b6020010190600160f860020a031916908160001a9053506010909404936132aa81613c48565b9050613211565b5083156115ff5760405160e560020a62461bcd02815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610bf9565b6060611d97848460008585843b61335f5760405160e560020a62461bcd02815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610bf9565b60008086600160a060020a0316858760405161337b9190613db6565b60006040518083038185875af1925050503d80600081146133b8576040519150601f19603f3d011682016040523d82523d6000602084013e6133bd565b606091505b50915091506133cd8282866133d8565b979650505050505050565b606083156133e75750816115ff565b8251156133f75782518084602001fd5b8160405160e560020a62461bcd028152600401610bf9919061352f565b82805461342090613911565b90600052602060002090601f0160209004810192826134425760008555613488565b82601f1061345b57805160ff1916838001178555613488565b82800160010185558215613488579182015b8281111561348857825182559160200191906001019061346d565b506113df9291505b808211156113df5760008155600101613490565b600160e060020a031981168114611c1e57600080fd5b6000602082840312156134cc57600080fd5b81356115ff816134a4565b60005b838110156134f25781810151838201526020016134da565b8381111561182a5750506000910152565b6000815180845261351b8160208601602086016134d7565b601f01601f19169290920160200192915050565b6020815260006115ff6020830184613503565b60006020828403121561355457600080fd5b5035919050565b600160a060020a0381168114611c1e57600080fd5b6000806040838503121561358357600080fd5b823561358e8161355b565b946020939093013593505050565b6000602082840312156135ae57600080fd5b81356115ff8161355b565b6000806000606084860312156135ce57600080fd5b83356135d98161355b565b925060208401356135e98161355b565b929592945050506040919091013590565b6000806040838503121561360d57600080fd5b50508035926020909101359150565b6000806040838503121561362f57600080fd5b823561363a8161355b565b9150602083013561364a8161355b565b809150509250929050565b600080600080600080600080610100898b03121561367257600080fd5b505086359860208801359850604088013597606081013597506080810135965060a0810135955060c0810135945060e0013592509050565b60008083601f8401126136bc57600080fd5b50813567ffffffffffffffff8111156136d457600080fd5b60208301915083602080830285010111156136ee57600080fd5b9250929050565b60008060006040848603121561370a57600080fd5b83356137158161355b565b9250602084013567ffffffffffffffff81111561373157600080fd5b61373d868287016136aa565b9497909650939450505050565b60e060020a634e487b7102600052604160045260246000fd5b600067ffffffffffffffff8084111561377e5761377e61374a565b604051601f8501601f19908116603f011681019082821181831017156137a6576137a661374a565b816040528093508581528686860111156137bf57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156137eb57600080fd5b813567ffffffffffffffff81111561380257600080fd5b8201601f8101841361381357600080fd5b611d9784823560208401613763565b8015158114611c1e57600080fd5b6000806040838503121561384357600080fd5b823561384e8161355b565b9150602083013561364a81613822565b6000806000806080858703121561387457600080fd5b843561387f8161355b565b9350602085013561388f8161355b565b925060408501359150606085013567ffffffffffffffff8111156138b257600080fd5b8501601f810187136138c357600080fd5b6138d287823560208401613763565b91505092959194509250565b6000806000604084860312156138f357600080fd5b83359250602084013567ffffffffffffffff81111561373157600080fd5b60028104600182168061392557607f821691505b602082108114156139495760e060020a634e487b7102600052602260045260246000fd5b50919050565b60e060020a634e487b7102600052601160045260246000fd5b60008282101561397a5761397a61394f565b500390565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201527f7368617265730000000000000000000000000000000000000000000000000000606082015260800190565b600082198211156139ef576139ef61394f565b500190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201527f647565207061796d656e74000000000000000000000000000000000000000000606082015260800190565b6000816000190483118215151615613a6b57613a6b61394f565b500290565b60e060020a634e487b7102600052601260045260246000fd5b600082613a9857613a98613a70565b500490565b6000600019821415613ab157613ab161394f565b5060010190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215613aff57600080fd5b5051919050565b60e060020a634e487b7102600052603260045260246000fd5b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527f6563656976657220696d706c656d656e74657200000000000000000000000000606082015260800190565b60008151613b8e8185602086016134d7565b9290920192915050565b60008351613baa8184602088016134d7565b835190830190613bbe8183602088016134d7565b01949350505050565b60208082526010908201527f5061757361626c653a2070617573656400000000000000000000000000000000604082015260600190565b60006001608060020a0383811690831681811015613c1e57613c1e61394f565b039392505050565b60006001608060020a03808316818516808303821115613bbe57613bbe61394f565b600081613c5757613c5761394f565b506000190190565b6000600160a060020a03808716835280861660208401525083604083015260806060830152613c916080830184613503565b9695505050505050565b600060208284031215613cad57600080fd5b81516115ff816134a4565b8254600090819060028104600180831680613cd457607f831692505b6020808410821415613cf75760e060020a634e487b710286526022600452602486fd5b818015613d0b5760018114613d1c57613d49565b60ff19861689528489019650613d49565b60008b81526020902060005b86811015613d415781548b820152908501908301613d28565b505084890196505b5050505050506115fb613d5c8286613b7c565b7f2f00000000000000000000000000000000000000000000000000000000000000815260010190565b600082613d9457613d94613a70565b500690565b600060208284031215613dab57600080fd5b81516115ff81613822565b60008251613dc88184602087016134d7565b919091019291505056fea2646970667358221220ab33c6cc77facadc23e85c1b52405098aff5e82f7bcd2df64b34cda0c552d6c764736f6c63430008090033