Contract 0x34913A375683474F0f3022655a07aa59cC848848 3

 
 
Txn Hash
Method
Block
From
To
Value
0x994a5d99e3265daed930344fa80f4000bb777ff56b148945569dbe3772ba0cd4Set Approval For...165441912023-02-02 22:48:1123 hrs 52 mins ago0x0ea8362adc7d79c81523553535dcb4bc20078892 IN  0x34913a375683474f0f3022655a07aa59cc8488480 Ether0.00067529 27.33227708
0xba166f4c297ea26173d1abdcc70b442cd20fc7cff2c53c808505108e343417afSet Approval For...165438392023-02-02 21:37:231 day 1 hr ago0x19efefa859c204f44ad68bddda04b62d61d5378e IN  0x34913a375683474f0f3022655a07aa59cc8488480 Ether0.00150649 32.29847673
0x4623a065f96de00c6f2621102c4d88a582ec49947ad7e573e24382528b904470Transfer From165428532023-02-02 18:18:111 day 4 hrs agoENS Name bigpudgy.eth IN  0x34913a375683474f0f3022655a07aa59cc8488480 Ether0.00319129 68.89065906
0xf2ad6229e9ac952609283592ff99fa5452b41c29360af7468f3722ace1485c98Transfer From165428502023-02-02 18:17:351 day 4 hrs agoENS Name bigpudgy.eth IN  0x34913a375683474f0f3022655a07aa59cc8488480 Ether0.00223316 66.66166914
0x78313f2ad0b7930c30e71d791c9de6628f6da8ca7db8aeaa649269a246678a4cTransfer From165428492023-02-02 18:17:231 day 4 hrs agoENS Name bigpudgy.eth IN  0x34913a375683474f0f3022655a07aa59cc8488480 Ether0.00345216 67.52526317
0x0b602a8c41502f1c890e3e9a328abddd6ee9b48e060d41f3b9fd71fde04e6b45Transfer From165428482023-02-02 18:17:111 day 4 hrs agoENS Name bigpudgy.eth IN  0x34913a375683474f0f3022655a07aa59cc8488480 Ether0.00354811 69.40210081
0x020f15027f627280f95e6e31e673651b7f93e0e72fcdde1f0ac64e846453e799Transfer From165428472023-02-02 18:16:591 day 4 hrs agoENS Name bigpudgy.eth IN  0x34913a375683474f0f3022655a07aa59cc8488480 Ether0.00356277 69.68894009
0x87e33f6fa0e04c60b18bab56827d3907481166cd0c9afd10a338d064c7899328Transfer From165428472023-02-02 18:16:591 day 4 hrs agoENS Name bigpudgy.eth IN  0x34913a375683474f0f3022655a07aa59cc8488480 Ether0.00233457 69.68894009
0x0d85ce5c3bbd2752602b89d41ac0bf1ac83723976b2c721e9655f7ae281f16e6Transfer From165428452023-02-02 18:16:351 day 4 hrs agoENS Name bigpudgy.eth IN  0x34913a375683474f0f3022655a07aa59cc8488480 Ether0.00335112 65.54899558
0x651efe1e9d5e015443cb6425fa7d1a0d33e7fcd94bff24b7d9dd4e327b4e8168Transfer From165428452023-02-02 18:16:351 day 4 hrs agoENS Name bigpudgy.eth IN  0x34913a375683474f0f3022655a07aa59cc8488480 Ether0.00335112 65.54899558
0x998cfefde09ee1aedf2a36e66b1ed173fa263d046a4ab744c36682fca7a67a62Transfer From165428442023-02-02 18:16:231 day 4 hrs agoENS Name bigpudgy.eth IN  0x34913a375683474f0f3022655a07aa59cc8488480 Ether0.00319164 62.42940883
0xd6e1286094a881104def069d8527d19df514e79a1052eb1ff655a51801a57fc2Transfer From165428442023-02-02 18:16:231 day 4 hrs agoENS Name bigpudgy.eth IN  0x34913a375683474f0f3022655a07aa59cc8488480 Ether0.00319164 62.42940883
0xca972062dd1f8d224ce311cca90f362eae279a4e311d36c6a24e821842c6a0a9Transfer From165428442023-02-02 18:16:231 day 4 hrs agoENS Name bigpudgy.eth IN  0x34913a375683474f0f3022655a07aa59cc8488480 Ether0.00319089 62.42940883
0x2aa5860a458b06f7e9a9d797c8ed3e72794e2edf138001460a58548d9350faeeTransfer From165428352023-02-02 18:14:231 day 4 hrs agoENS Name bigpudgy.eth IN  0x34913a375683474f0f3022655a07aa59cc8488480 Ether0.00268214 52.4634689
0xf99c2e9b62e7402d1759de7a92cc366bf5c124712418bfd41e3792f7dd743dc7Transfer From165428342023-02-02 18:14:111 day 4 hrs agoENS Name bigpudgy.eth IN  0x34913a375683474f0f3022655a07aa59cc8488480 Ether0.00271683 53.15446456
0xd3915dce2082301eb8087383156dc3587f16bbfe3f84a8f363c2baee20a2511bTransfer From165428332023-02-02 18:13:591 day 4 hrs agoENS Name bigpudgy.eth IN  0x34913a375683474f0f3022655a07aa59cc8488480 Ether0.00166967 49.85900429
0x6070547eee538057ae64db40d5b33bbd95eda06099d797331dc88ae5814aa3beTransfer From165428322023-02-02 18:13:471 day 4 hrs agoENS Name bigpudgy.eth IN  0x34913a375683474f0f3022655a07aa59cc8488480 Ether0.00264805 51.80880115
0x856dc19d67f5b23c8b432292583698b89468b53598c7717a39f9363dcc6f69baTransfer From165428302023-02-02 18:13:231 day 4 hrs agoENS Name bigpudgy.eth IN  0x34913a375683474f0f3022655a07aa59cc8488480 Ether0.00293838 57.47567555
0x05379139bb31a8081fe6fcf61165b53817611ef88d7060cab8e691ce1cbdbc92Transfer From165428302023-02-02 18:13:231 day 4 hrs agoENS Name bigpudgy.eth IN  0x34913a375683474f0f3022655a07aa59cc8488480 Ether0.00293838 57.47567555
0xd08f1075b37f955da0430615595cf6cedff66413a2237545194f92dac001d9f8Transfer From165428292023-02-02 18:13:111 day 4 hrs agoENS Name bigpudgy.eth IN  0x34913a375683474f0f3022655a07aa59cc8488480 Ether0.00281303 55.02370383
0xad8a397da8c85d7c676f430c45cbd21f3a00104a45d7d5156e7874469554d023Transfer From165428122023-02-02 18:09:471 day 4 hrs agoENS Name bigpudgy.eth IN  0x34913a375683474f0f3022655a07aa59cc8488480 Ether0.00204895 40.07810798
0xd9baab730bfefb9658d2432a03a9e36c0fbb3f0ef63f88011cb229d1c983ea3cTransfer From165428122023-02-02 18:09:471 day 4 hrs agoENS Name bigpudgy.eth IN  0x34913a375683474f0f3022655a07aa59cc8488480 Ether0.00134261 40.07810798
0x1ecb49659ddde5fabcf5dd884713fe5ecb35bd7a1586ea54fa04e74884a8878dTransfer From165428112023-02-02 18:09:351 day 4 hrs agoENS Name bigpudgy.eth IN  0x34913a375683474f0f3022655a07aa59cc8488480 Ether0.00140564 41.95949237
0x3be720e988831919b9b3611618ed5dd25ab04a4db5e65f19e7a54c896eb2d59cTransfer From165428112023-02-02 18:09:351 day 4 hrs agoENS Name bigpudgy.eth IN  0x34913a375683474f0f3022655a07aa59cc8488480 Ether0.00214463 41.95949237
0x35633fb38df1bd85526f59dcbd1856c8e4e88f2e40a044e59f7bade32019f7e4Transfer From165428102023-02-02 18:09:231 day 4 hrs agoENS Name bigpudgy.eth IN  0x34913a375683474f0f3022655a07aa59cc8488480 Ether0.0021422 41.90211201
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x8e90fd748993e40dd9538176727767660f417382144fe8f5a96683b9b5b7d861155604622022-09-18 12:34:23138 days 10 hrs ago 0x34913a375683474f0f3022655a07aa59cc8488480xcc92f5da26f156681fa6eee8e63bfeec605d228f0.125 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AIPudgys

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : AIPudgys.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract AIPudgys is ERC721A, Ownable {
    using Strings for uint256;

    // Constants
    uint256 public TOTAL_SUPPLY = 8888;
    uint256 public MINT_PRICE = 0.0025 ether;
    uint256 public FREE_ITEMS_COUNT = 2500;
    uint256 public MAX_IN_TRX = 2;
    address payable withdrawTo = payable(0xCc92F5DA26f156681fa6EeE8E63BfEEc605D228f);


    // Variables
    string public baseTokenURI;
    string  public uriSuffix;
    bool public paused = false;
    bool public revealed = false;
    string public revealImage;



    constructor(string memory _initBaseURI, string memory _revealImage, string memory _uriSuffix) ERC721A("AIPudgys", "AIP") {
        setBaseTokenURI(_initBaseURI);
        setRevealImage(_revealImage);
        setUriSuffix(_uriSuffix);
    }

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

    function setBaseTokenURI(string memory _baseTokenURI) public onlyOwner {
        baseTokenURI = _baseTokenURI;
    }

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

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        if (!revealed) {
            return revealImage;
        }

        return
            string(abi.encodePacked(_baseURI(), (tokenId + 10000).toString(), uriSuffix));
    }

    function mintItem(uint256 quantity) external payable {
        uint256 supply = totalSupply();
        require(!paused, "Minting is paused.");
        require((quantity > 0) && (quantity <= MAX_IN_TRX), "Invalid quantity.");
        require(supply + quantity <= TOTAL_SUPPLY, "Exceeds maximum supply.");

        if (msg.sender != owner()) {
            require((supply + quantity <= FREE_ITEMS_COUNT) || (msg.value >= MINT_PRICE * quantity), "Not enough supply.");
        }

        _safeMint(msg.sender, quantity);
    }


    function mintTo(address to,uint256 quantity) external payable onlyOwner{
        uint256 supply = totalSupply();
        require(supply + quantity - 1 <= TOTAL_SUPPLY, "Exceeds maximum supply");
        _safeMint(to, quantity);
    }

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

    function setCost(uint256 _newCost) public onlyOwner {
        MINT_PRICE = _newCost;
    }

    function setFreeCount(uint256 _count) public onlyOwner {
        FREE_ITEMS_COUNT = _count;
    }

    function setMaxInTRX(uint256 _total) public onlyOwner {
        MAX_IN_TRX = _total;
    }

    function setmaxMintAmount(uint256 _count) public onlyOwner {
        TOTAL_SUPPLY = _count;
    }

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

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

    function setRevealImage(string memory _revealImage) public onlyOwner {
        revealImage = _revealImage;
    }
}

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

pragma solidity ^0.8.4;

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

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

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**128 - 1 (max value of uint128).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
    }

    // Compiler will pack the following 
    // _currentIndex and _burnCounter into a single 256bit word.
    
    // The tokenId of the next token to be minted.
    uint128 internal _currentIndex;

    // The number of tokens burned.
    uint128 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex times
        unchecked {
            return _currentIndex - _burnCounter;    
        }
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        uint256 numMintedSoFar = _currentIndex;
        uint256 tokenIdsIdx;

        // Counter overflow is impossible as the loop breaks when
        // uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (!ownership.burned) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }
        revert TokenIndexOutOfBounds();
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        if (index >= balanceOf(owner)) revert OwnerIndexOutOfBounds();
        uint256 numMintedSoFar = _currentIndex;
        uint256 tokenIdsIdx;
        address currOwnershipAddr;

        // Counter overflow is impossible as the loop breaks when
        // uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }

        // Execution should never reach this point.
        revert();
    }

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

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

    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

    function _numberBurned(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        return uint256(_addressData[owner].numberBurned);
    }

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

        unchecked {
            if (curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant: 
                    // There will always be an ownership that has an address and is not burned 
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1
        // updatedIndex overflows if _currentIndex + quantity > 3.4e38 (2**128) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

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

            uint256 updatedIndex = startTokenId;

            for (uint256 i; i < quantity; i++) {
                emit Transfer(address(0), to, updatedIndex);
                if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) {
                    revert TransferToNonERC721ReceiverImplementer();
                }
                updatedIndex++;
            }

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**128.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

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

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

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

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

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

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**128.
        unchecked {
            _addressData[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

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

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

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

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

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

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

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

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

File 3 of 12 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 4 of 12 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 5 of 12 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 12 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 7 of 12 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 12 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 9 of 12 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 10 of 12 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 11 of 12 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

File 12 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_revealImage","type":"string"},{"internalType":"string","name":"_uriSuffix","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FREE_ITEMS_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_IN_TRX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintItem","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealImage","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"setFreeCount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_total","type":"uint256"}],"name":"setMaxInTRX","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_revealImage","type":"string"}],"name":"setRevealImage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"setmaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60806040526122b86008556608e1bc9bf040006009556109c4600a556002600b5573cc92f5da26f156681fa6eee8e63bfeec605d228f600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600f60006101000a81548160ff0219169083151502179055506000600f60016101000a81548160ff021916908315150217905550348015620000b857600080fd5b5060405162004bca38038062004bca8339818101604052810190620000de919062000720565b6040518060400160405280600881526020017f41495075646779730000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f4149500000000000000000000000000000000000000000000000000000000000815250816001908051906020019062000162929190620004d3565b5080600290805190602001906200017b929190620004d3565b5050506200019e62000192620001da60201b60201c565b620001e260201b60201c565b620001af83620002a860201b60201c565b620001c0826200035360201b60201c565b620001d181620003fe60201b60201c565b505050620008c1565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002b8620001da60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002de620004a960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000337576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200032e906200083a565b60405180910390fd5b80600d90805190602001906200034f929190620004d3565b5050565b62000363620001da60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000389620004a960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620003e2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003d9906200083a565b60405180910390fd5b8060109080519060200190620003fa929190620004d3565b5050565b6200040e620001da60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000434620004a960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200048d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000484906200083a565b60405180910390fd5b80600e9080519060200190620004a5929190620004d3565b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620004e1906200088b565b90600052602060002090601f01602090048101928262000505576000855562000551565b82601f106200052057805160ff191683800117855562000551565b8280016001018555821562000551579182015b828111156200055057825182559160200191906001019062000533565b5b50905062000560919062000564565b5090565b5b808211156200057f57600081600090555060010162000565565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620005ec82620005a1565b810181811067ffffffffffffffff821117156200060e576200060d620005b2565b5b80604052505050565b60006200062362000583565b9050620006318282620005e1565b919050565b600067ffffffffffffffff821115620006545762000653620005b2565b5b6200065f82620005a1565b9050602081019050919050565b60005b838110156200068c5780820151818401526020810190506200066f565b838111156200069c576000848401525b50505050565b6000620006b9620006b38462000636565b62000617565b905082815260208101848484011115620006d857620006d76200059c565b5b620006e58482856200066c565b509392505050565b600082601f83011262000705576200070462000597565b5b815162000717848260208601620006a2565b91505092915050565b6000806000606084860312156200073c576200073b6200058d565b5b600084015167ffffffffffffffff8111156200075d576200075c62000592565b5b6200076b86828701620006ed565b935050602084015167ffffffffffffffff8111156200078f576200078e62000592565b5b6200079d86828701620006ed565b925050604084015167ffffffffffffffff811115620007c157620007c062000592565b5b620007cf86828701620006ed565b9150509250925092565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000822602083620007d9565b91506200082f82620007ea565b602082019050919050565b60006020820190508181036000830152620008558162000813565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620008a457607f821691505b60208210811415620008bb57620008ba6200085c565b5b50919050565b6142f980620008d16000396000f3fe60806040526004361061023b5760003560e01c80635c975abb1161012e578063a22cb465116100ab578063ce05ecba1161006f578063ce05ecba14610834578063d547cfb71461085d578063e0a8085314610888578063e985e9c5146108b1578063f2fde38b146108ee5761023b565b8063a22cb4651461074f578063b88d4fde14610778578063c002d23d146107a1578063c87b56dd146107cc578063cd87fcfe146108095761023b565b80637f00c7a6116100f25780637f00c7a61461067c5780638da5cb5b146106a5578063902d55a5146106d057806395d89b41146106fb578063a1470c1d146107265761023b565b80635c975abb146105975780636352211e146105c25780636a420614146105ff57806370a0823114610628578063715018a6146106655761023b565b80632f745c59116101bc57806344a0d68a1161018057806344a0d68a146104b05780634f6ccce7146104d957806351830227146105165780635503a0e8146105415780635c5458ef1461056c5761023b565b80632f745c59146103fb57806330176e13146104385780633ccfd60b1461046157806342842e0e1461046b578063449a52f8146104945761023b565b806316c38b3c1161020357806316c38b3c1461033757806317fb85941461036057806318160ddd1461037c578063187fad82146103a757806323b872dd146103d25761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e557806316ba10e01461030e575b600080fd5b34801561024c57600080fd5b5061026760048036038101906102629190613494565b610917565b60405161027491906134dc565b60405180910390f35b34801561028957600080fd5b50610292610a61565b60405161029f9190613590565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca91906135e8565b610af3565b6040516102dc9190613656565b60405180910390f35b3480156102f157600080fd5b5061030c6004803603810190610307919061369d565b610b6f565b005b34801561031a57600080fd5b5061033560048036038101906103309190613812565b610c7a565b005b34801561034357600080fd5b5061035e60048036038101906103599190613887565b610d10565b005b61037a600480360381019061037591906135e8565b610da9565b005b34801561038857600080fd5b50610391610f57565b60405161039e91906138c3565b60405180910390f35b3480156103b357600080fd5b506103bc610fac565b6040516103c99190613590565b60405180910390f35b3480156103de57600080fd5b506103f960048036038101906103f491906138de565b61103a565b005b34801561040757600080fd5b50610422600480360381019061041d919061369d565b61104a565b60405161042f91906138c3565b60405180910390f35b34801561044457600080fd5b5061045f600480360381019061045a9190613812565b611251565b005b6104696112e7565b005b34801561047757600080fd5b50610492600480360381019061048d91906138de565b6113fe565b005b6104ae60048036038101906104a9919061369d565b61141e565b005b3480156104bc57600080fd5b506104d760048036038101906104d291906135e8565b611511565b005b3480156104e557600080fd5b5061050060048036038101906104fb91906135e8565b611597565b60405161050d91906138c3565b60405180910390f35b34801561052257600080fd5b5061052b611708565b60405161053891906134dc565b60405180910390f35b34801561054d57600080fd5b5061055661171b565b6040516105639190613590565b60405180910390f35b34801561057857600080fd5b506105816117a9565b60405161058e91906138c3565b60405180910390f35b3480156105a357600080fd5b506105ac6117af565b6040516105b991906134dc565b60405180910390f35b3480156105ce57600080fd5b506105e960048036038101906105e491906135e8565b6117c2565b6040516105f69190613656565b60405180910390f35b34801561060b57600080fd5b50610626600480360381019061062191906135e8565b6117d8565b005b34801561063457600080fd5b5061064f600480360381019061064a9190613931565b61185e565b60405161065c91906138c3565b60405180910390f35b34801561067157600080fd5b5061067a61192e565b005b34801561068857600080fd5b506106a3600480360381019061069e91906135e8565b6119b6565b005b3480156106b157600080fd5b506106ba611a3c565b6040516106c79190613656565b60405180910390f35b3480156106dc57600080fd5b506106e5611a66565b6040516106f291906138c3565b60405180910390f35b34801561070757600080fd5b50610710611a6c565b60405161071d9190613590565b60405180910390f35b34801561073257600080fd5b5061074d600480360381019061074891906135e8565b611afe565b005b34801561075b57600080fd5b506107766004803603810190610771919061395e565b611b84565b005b34801561078457600080fd5b5061079f600480360381019061079a9190613a3f565b611cfc565b005b3480156107ad57600080fd5b506107b6611d4f565b6040516107c391906138c3565b60405180910390f35b3480156107d857600080fd5b506107f360048036038101906107ee91906135e8565b611d55565b6040516108009190613590565b60405180910390f35b34801561081557600080fd5b5061081e611e85565b60405161082b91906138c3565b60405180910390f35b34801561084057600080fd5b5061085b60048036038101906108569190613812565b611e8b565b005b34801561086957600080fd5b50610872611f21565b60405161087f9190613590565b60405180910390f35b34801561089457600080fd5b506108af60048036038101906108aa9190613887565b611faf565b005b3480156108bd57600080fd5b506108d860048036038101906108d39190613ac2565b612048565b6040516108e591906134dc565b60405180910390f35b3480156108fa57600080fd5b5061091560048036038101906109109190613931565b6120dc565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109e257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a4a57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a5a5750610a59826121d4565b5b9050919050565b606060018054610a7090613b31565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9c90613b31565b8015610ae95780601f10610abe57610100808354040283529160200191610ae9565b820191906000526020600020905b815481529060010190602001808311610acc57829003601f168201915b5050505050905090565b6000610afe8261223e565b610b34576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b7a826117c2565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610be2576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c016122a6565b73ffffffffffffffffffffffffffffffffffffffff1614158015610c335750610c3181610c2c6122a6565b612048565b155b15610c6a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c758383836122ae565b505050565b610c826122a6565b73ffffffffffffffffffffffffffffffffffffffff16610ca0611a3c565b73ffffffffffffffffffffffffffffffffffffffff1614610cf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ced90613baf565b60405180910390fd5b80600e9080519060200190610d0c929190613342565b5050565b610d186122a6565b73ffffffffffffffffffffffffffffffffffffffff16610d36611a3c565b73ffffffffffffffffffffffffffffffffffffffff1614610d8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8390613baf565b60405180910390fd5b80600f60006101000a81548160ff02191690831515021790555050565b6000610db3610f57565b9050600f60009054906101000a900460ff1615610e05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfc90613c1b565b60405180910390fd5b600082118015610e175750600b548211155b610e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4d90613c87565b60405180910390fd5b6008548282610e659190613cd6565b1115610ea6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9d90613d78565b60405180910390fd5b610eae611a3c565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f4957600a548282610eef9190613cd6565b111580610f09575081600954610f059190613d98565b3410155b610f48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3f90613e3e565b60405180910390fd5b5b610f533383612360565b5050565b60008060109054906101000a90046fffffffffffffffffffffffffffffffff1660008054906101000a90046fffffffffffffffffffffffffffffffff16036fffffffffffffffffffffffffffffffff16905090565b60108054610fb990613b31565b80601f0160208091040260200160405190810160405280929190818152602001828054610fe590613b31565b80156110325780601f1061100757610100808354040283529160200191611032565b820191906000526020600020905b81548152906001019060200180831161101557829003601f168201915b505050505081565b61104583838361237e565b505050565b60006110558361185e565b821061108d576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16905060008060005b83811015611245576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151156111a45750611238565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146111e457806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611236578684141561122d57819550505050505061124b565b83806001019450505b505b80806001019150506110c7565b50600080fd5b92915050565b6112596122a6565b73ffffffffffffffffffffffffffffffffffffffff16611277611a3c565b73ffffffffffffffffffffffffffffffffffffffff16146112cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c490613baf565b60405180910390fd5b80600d90805190602001906112e3929190613342565b5050565b6112ef6122a6565b73ffffffffffffffffffffffffffffffffffffffff1661130d611a3c565b73ffffffffffffffffffffffffffffffffffffffff1614611363576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135a90613baf565b60405180910390fd5b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16476040516113ab90613e8f565b60006040518083038185875af1925050503d80600081146113e8576040519150601f19603f3d011682016040523d82523d6000602084013e6113ed565b606091505b50509050806113fb57600080fd5b50565b61141983838360405180602001604052806000815250611cfc565b505050565b6114266122a6565b73ffffffffffffffffffffffffffffffffffffffff16611444611a3c565b73ffffffffffffffffffffffffffffffffffffffff161461149a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149190613baf565b60405180910390fd5b60006114a4610f57565b9050600854600183836114b79190613cd6565b6114c19190613ea4565b1115611502576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f990613f24565b60405180910390fd5b61150c8383612360565b505050565b6115196122a6565b73ffffffffffffffffffffffffffffffffffffffff16611537611a3c565b73ffffffffffffffffffffffffffffffffffffffff161461158d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158490613baf565b60405180910390fd5b8060098190555050565b60008060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1690506000805b828110156116d0576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516116c257858314156116b95781945050505050611703565b82806001019350505b5080806001019150506115cf565b506040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600f60019054906101000a900460ff1681565b600e805461172890613b31565b80601f016020809104026020016040519081016040528092919081815260200182805461175490613b31565b80156117a15780601f10611776576101008083540402835291602001916117a1565b820191906000526020600020905b81548152906001019060200180831161178457829003601f168201915b505050505081565b600b5481565b600f60009054906101000a900460ff1681565b60006117cd8261289b565b600001519050919050565b6117e06122a6565b73ffffffffffffffffffffffffffffffffffffffff166117fe611a3c565b73ffffffffffffffffffffffffffffffffffffffff1614611854576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184b90613baf565b60405180910390fd5b80600a8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118c6576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6119366122a6565b73ffffffffffffffffffffffffffffffffffffffff16611954611a3c565b73ffffffffffffffffffffffffffffffffffffffff16146119aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a190613baf565b60405180910390fd5b6119b46000612b43565b565b6119be6122a6565b73ffffffffffffffffffffffffffffffffffffffff166119dc611a3c565b73ffffffffffffffffffffffffffffffffffffffff1614611a32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2990613baf565b60405180910390fd5b8060088190555050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60085481565b606060028054611a7b90613b31565b80601f0160208091040260200160405190810160405280929190818152602001828054611aa790613b31565b8015611af45780601f10611ac957610100808354040283529160200191611af4565b820191906000526020600020905b815481529060010190602001808311611ad757829003601f168201915b5050505050905090565b611b066122a6565b73ffffffffffffffffffffffffffffffffffffffff16611b24611a3c565b73ffffffffffffffffffffffffffffffffffffffff1614611b7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7190613baf565b60405180910390fd5b80600b8190555050565b611b8c6122a6565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bf1576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060066000611bfe6122a6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611cab6122a6565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611cf091906134dc565b60405180910390a35050565b611d0784848461237e565b611d1384848484612c09565b611d49576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60095481565b6060611d608261223e565b611d96576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600f60019054906101000a900460ff16611e3c5760108054611db790613b31565b80601f0160208091040260200160405190810160405280929190818152602001828054611de390613b31565b8015611e305780601f10611e0557610100808354040283529160200191611e30565b820191906000526020600020905b815481529060010190602001808311611e1357829003601f168201915b50505050509050611e80565b611e44612d88565b611e5a61271084611e559190613cd6565b612e1a565b600e604051602001611e6e93929190614014565b60405160208183030381529060405290505b919050565b600a5481565b611e936122a6565b73ffffffffffffffffffffffffffffffffffffffff16611eb1611a3c565b73ffffffffffffffffffffffffffffffffffffffff1614611f07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efe90613baf565b60405180910390fd5b8060109080519060200190611f1d929190613342565b5050565b600d8054611f2e90613b31565b80601f0160208091040260200160405190810160405280929190818152602001828054611f5a90613b31565b8015611fa75780601f10611f7c57610100808354040283529160200191611fa7565b820191906000526020600020905b815481529060010190602001808311611f8a57829003601f168201915b505050505081565b611fb76122a6565b73ffffffffffffffffffffffffffffffffffffffff16611fd5611a3c565b73ffffffffffffffffffffffffffffffffffffffff161461202b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202290613baf565b60405180910390fd5b80600f60016101000a81548160ff02191690831515021790555050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6120e46122a6565b73ffffffffffffffffffffffffffffffffffffffff16612102611a3c565b73ffffffffffffffffffffffffffffffffffffffff1614612158576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214f90613baf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156121c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bf906140b7565b60405180910390fd5b6121d181612b43565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168210801561229f575060036000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b61237a828260405180602001604052806000815250612f7b565b5050565b60006123898261289b565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166123b06122a6565b73ffffffffffffffffffffffffffffffffffffffff1614806123e357506123e282600001516123dd6122a6565b612048565b5b8061242857506123f16122a6565b73ffffffffffffffffffffffffffffffffffffffff1661241084610af3565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612461576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146124ca576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612531576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61253e8585856001612f8d565b61254e60008484600001516122ae565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561282b5760008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681101561282a5782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128948585856001612f93565b5050505050565b6128a36133c8565b600082905060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16811015612b0c576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612b0a57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146129ee578092505050612b3e565b5b600115612b0957818060019003925050600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612b04578092505050612b3e565b6129ef565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612c2a8473ffffffffffffffffffffffffffffffffffffffff16612f99565b15612d7b578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c536122a6565b8786866040518563ffffffff1660e01b8152600401612c75949392919061412c565b6020604051808303816000875af1925050508015612cb157506040513d601f19601f82011682018060405250810190612cae919061418d565b60015b612d2b573d8060008114612ce1576040519150601f19603f3d011682016040523d82523d6000602084013e612ce6565b606091505b50600081511415612d23576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612d80565b600190505b949350505050565b6060600d8054612d9790613b31565b80601f0160208091040260200160405190810160405280929190818152602001828054612dc390613b31565b8015612e105780601f10612de557610100808354040283529160200191612e10565b820191906000526020600020905b815481529060010190602001808311612df357829003601f168201915b5050505050905090565b60606000821415612e62576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612f76565b600082905060005b60008214612e94578080612e7d906141ba565b915050600a82612e8d9190614232565b9150612e6a565b60008167ffffffffffffffff811115612eb057612eaf6136e7565b5b6040519080825280601f01601f191660200182016040528015612ee25781602001600182028036833780820191505090505b5090505b60008514612f6f57600182612efb9190613ea4565b9150600a85612f0a9190614263565b6030612f169190613cd6565b60f81b818381518110612f2c57612f2b614294565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612f689190614232565b9450612ee6565b8093505050505b919050565b612f888383836001612fac565b505050565b50505050565b50505050565b600080823b905060008111915050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613047576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613082576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61308f6000868387612f8d565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b858110156132f457818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48380156132a857506132a66000888488612c09565b155b156132df576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8180600101925050808060010191505061322d565b50806000806101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055505061333b6000868387612f93565b5050505050565b82805461334e90613b31565b90600052602060002090601f01602090048101928261337057600085556133b7565b82601f1061338957805160ff19168380011785556133b7565b828001600101855582156133b7579182015b828111156133b657825182559160200191906001019061339b565b5b5090506133c4919061340b565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561342457600081600090555060010161340c565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6134718161343c565b811461347c57600080fd5b50565b60008135905061348e81613468565b92915050565b6000602082840312156134aa576134a9613432565b5b60006134b88482850161347f565b91505092915050565b60008115159050919050565b6134d6816134c1565b82525050565b60006020820190506134f160008301846134cd565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613531578082015181840152602081019050613516565b83811115613540576000848401525b50505050565b6000601f19601f8301169050919050565b6000613562826134f7565b61356c8185613502565b935061357c818560208601613513565b61358581613546565b840191505092915050565b600060208201905081810360008301526135aa8184613557565b905092915050565b6000819050919050565b6135c5816135b2565b81146135d057600080fd5b50565b6000813590506135e2816135bc565b92915050565b6000602082840312156135fe576135fd613432565b5b600061360c848285016135d3565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061364082613615565b9050919050565b61365081613635565b82525050565b600060208201905061366b6000830184613647565b92915050565b61367a81613635565b811461368557600080fd5b50565b60008135905061369781613671565b92915050565b600080604083850312156136b4576136b3613432565b5b60006136c285828601613688565b92505060206136d3858286016135d3565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61371f82613546565b810181811067ffffffffffffffff8211171561373e5761373d6136e7565b5b80604052505050565b6000613751613428565b905061375d8282613716565b919050565b600067ffffffffffffffff82111561377d5761377c6136e7565b5b61378682613546565b9050602081019050919050565b82818337600083830152505050565b60006137b56137b084613762565b613747565b9050828152602081018484840111156137d1576137d06136e2565b5b6137dc848285613793565b509392505050565b600082601f8301126137f9576137f86136dd565b5b81356138098482602086016137a2565b91505092915050565b60006020828403121561382857613827613432565b5b600082013567ffffffffffffffff81111561384657613845613437565b5b613852848285016137e4565b91505092915050565b613864816134c1565b811461386f57600080fd5b50565b6000813590506138818161385b565b92915050565b60006020828403121561389d5761389c613432565b5b60006138ab84828501613872565b91505092915050565b6138bd816135b2565b82525050565b60006020820190506138d860008301846138b4565b92915050565b6000806000606084860312156138f7576138f6613432565b5b600061390586828701613688565b935050602061391686828701613688565b9250506040613927868287016135d3565b9150509250925092565b60006020828403121561394757613946613432565b5b600061395584828501613688565b91505092915050565b6000806040838503121561397557613974613432565b5b600061398385828601613688565b925050602061399485828601613872565b9150509250929050565b600067ffffffffffffffff8211156139b9576139b86136e7565b5b6139c282613546565b9050602081019050919050565b60006139e26139dd8461399e565b613747565b9050828152602081018484840111156139fe576139fd6136e2565b5b613a09848285613793565b509392505050565b600082601f830112613a2657613a256136dd565b5b8135613a368482602086016139cf565b91505092915050565b60008060008060808587031215613a5957613a58613432565b5b6000613a6787828801613688565b9450506020613a7887828801613688565b9350506040613a89878288016135d3565b925050606085013567ffffffffffffffff811115613aaa57613aa9613437565b5b613ab687828801613a11565b91505092959194509250565b60008060408385031215613ad957613ad8613432565b5b6000613ae785828601613688565b9250506020613af885828601613688565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613b4957607f821691505b60208210811415613b5d57613b5c613b02565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613b99602083613502565b9150613ba482613b63565b602082019050919050565b60006020820190508181036000830152613bc881613b8c565b9050919050565b7f4d696e74696e67206973207061757365642e0000000000000000000000000000600082015250565b6000613c05601283613502565b9150613c1082613bcf565b602082019050919050565b60006020820190508181036000830152613c3481613bf8565b9050919050565b7f496e76616c6964207175616e746974792e000000000000000000000000000000600082015250565b6000613c71601183613502565b9150613c7c82613c3b565b602082019050919050565b60006020820190508181036000830152613ca081613c64565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613ce1826135b2565b9150613cec836135b2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d2157613d20613ca7565b5b828201905092915050565b7f45786365656473206d6178696d756d20737570706c792e000000000000000000600082015250565b6000613d62601783613502565b9150613d6d82613d2c565b602082019050919050565b60006020820190508181036000830152613d9181613d55565b9050919050565b6000613da3826135b2565b9150613dae836135b2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613de757613de6613ca7565b5b828202905092915050565b7f4e6f7420656e6f75676820737570706c792e0000000000000000000000000000600082015250565b6000613e28601283613502565b9150613e3382613df2565b602082019050919050565b60006020820190508181036000830152613e5781613e1b565b9050919050565b600081905092915050565b50565b6000613e79600083613e5e565b9150613e8482613e69565b600082019050919050565b6000613e9a82613e6c565b9150819050919050565b6000613eaf826135b2565b9150613eba836135b2565b925082821015613ecd57613ecc613ca7565b5b828203905092915050565b7f45786365656473206d6178696d756d20737570706c7900000000000000000000600082015250565b6000613f0e601683613502565b9150613f1982613ed8565b602082019050919050565b60006020820190508181036000830152613f3d81613f01565b9050919050565b600081905092915050565b6000613f5a826134f7565b613f648185613f44565b9350613f74818560208601613513565b80840191505092915050565b60008190508160005260206000209050919050565b60008154613fa281613b31565b613fac8186613f44565b94506001821660008114613fc75760018114613fd85761400b565b60ff1983168652818601935061400b565b613fe185613f80565b60005b8381101561400357815481890152600182019150602081019050613fe4565b838801955050505b50505092915050565b60006140208286613f4f565b915061402c8285613f4f565b91506140388284613f95565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006140a1602683613502565b91506140ac82614045565b604082019050919050565b600060208201905081810360008301526140d081614094565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006140fe826140d7565b61410881856140e2565b9350614118818560208601613513565b61412181613546565b840191505092915050565b60006080820190506141416000830187613647565b61414e6020830186613647565b61415b60408301856138b4565b818103606083015261416d81846140f3565b905095945050505050565b60008151905061418781613468565b92915050565b6000602082840312156141a3576141a2613432565b5b60006141b184828501614178565b91505092915050565b60006141c5826135b2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141f8576141f7613ca7565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061423d826135b2565b9150614248836135b2565b92508261425857614257614203565b5b828204905092915050565b600061426e826135b2565b9150614279836135b2565b92508261428957614288614203565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220e58529e929edcb14e452438575a95f05a86d266f776fbb2cf9ef98f7fcfda70264736f6c634300080c0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000000a2f72657665616c65642f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f697066732e696f2f697066732f516d586b54776f6154536876425344795048524b6f6a6e586847687442374c796e33755679624376744650425174000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000052e6a736f6e000000000000000000000000000000000000000000000000000000

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000000a2f72657665616c65642f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f697066732e696f2f697066732f516d586b54776f6154536876425344795048524b6f6a6e586847687442374c796e33755679624376744650425174000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000052e6a736f6e000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _initBaseURI (string): /revealed/
Arg [1] : _revealImage (string): https://ipfs.io/ipfs/QmXkTwoaTShvBSDyPHRKojnXhGhtB7Lyn3uVybCvtFPBQt
Arg [2] : _uriSuffix (string): .json

-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [4] : 2f72657665616c65642f00000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [6] : 68747470733a2f2f697066732e696f2f697066732f516d586b54776f61545368
Arg [7] : 76425344795048524b6f6a6e586847687442374c796e33755679624376744650
Arg [8] : 4251740000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [10] : 2e6a736f6e000000000000000000000000000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.