ETH Price: $3,421.13 (+3.03%)

Token

MetaverseRiders (RIDERS)
 

Overview

Max Total Supply

1,885 RIDERS

Holders

471

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 RIDERS
0x2e7176010056d65117a51bd3a2c5e5a9ffd56f11
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
MetaverseRiders

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : MetaverseRiders.sol
//SPDX-License-Identifier: MIT

pragma solidity >=0.8.9 <0.9.0;

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

contract MetaverseRiders is ERC721A, Ownable, ReentrancyGuard {
    using Strings for uint256;
    string baseURI;
    
    uint256 public cost;
    uint256 public maxFreeMintsPerTx;
    uint256 public maxFreeSupply;
    uint256 public maxMintAmountPerTx;
    uint256 public maxSupply;
    uint256 public maxPerWallet;

    string public baseExtension = ".json";
    bool public paused = true;

    mapping(address => uint256) private mintedFreeAmount;
    
    constructor(
        string memory _initBaseURI,
        string memory _tokenName,
        string memory _tokenSymbol,
        uint256 _cost,
        uint256 _maxFreeMintsPerTx,
        uint256 _maxFreeSupply,
        uint256 _maxMintAmountPerTx,
        uint256 _maxSupply,
        uint256 _maxPerWallet
    ) ERC721A(_tokenName, _tokenSymbol) { 
        setBaseURI(_initBaseURI);
        setPrice(_cost);
        setMaxFreePerTx(_maxFreeMintsPerTx);
        setMaxFreeSupply(_maxFreeSupply);
        setMaxPerTx(_maxMintAmountPerTx);
        setMaxPerWallet(_maxPerWallet);
        setMaxSupply(_maxSupply);
        _safeMint(msg.sender, 1);
    }

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

    modifier mintCompliance(uint256 _mintAmount) {
        if (totalSupply() + _mintAmount < maxFreeSupply + 1) {
            mintedFreeAmount[msg.sender] += _mintAmount;
        }
        require(mintedFreeAmount[msg.sender] <= maxFreeMintsPerTx, "Exceeds free max per tx!");
        require(_numberMinted(msg.sender) + _mintAmount <= maxPerWallet, "Exceeds max wallet limits!");
        require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, "Invalid mint amount!");
        require(totalSupply() + _mintAmount <= maxSupply, "Max supply exceeded!");
        _;
    }

    modifier mintPriceCompliance(uint256 _mintAmount) {
        uint256 price = cost;
        if (totalSupply() + _mintAmount < maxFreeSupply + 1) {
            price = 0;
        }
        require(msg.value >= price * _mintAmount, "Insufficient funds!");
        _;
    }

    function mint(uint256 _mintAmount) 
        public 
        payable 
        mintPriceCompliance(_mintAmount) 
        mintCompliance(_mintAmount) 
    {
        require(!paused, "The contract is paused!");
        _safeMint(_msgSender(), _mintAmount);
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        string memory currentBaseURI = _baseURI();
        return bytes(currentBaseURI).length > 0
            ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), baseExtension))
            : "";
    }

    function setMaxFreePerTx(uint256 _maxFreeMintsPerTx) public onlyOwner {
        maxFreeMintsPerTx = _maxFreeMintsPerTx;
    }

    function setMaxFreeSupply(uint256 _maxFreeSupply) public onlyOwner {
        maxFreeSupply = _maxFreeSupply;
    }
    
    function setMaxPerTx(uint256 _maxMintAmountPerTx) public onlyOwner {
        maxMintAmountPerTx = _maxMintAmountPerTx;
    }

    function setMaxSupply(uint256 _maxSupply) public onlyOwner {
        maxSupply = _maxSupply;
    }

    function setMaxPerWallet(uint256 _maxPerWallet) public onlyOwner {
        maxPerWallet = _maxPerWallet;
    }

    function ownerAirdrop(uint256 _mintAmount, address _receiver) public onlyOwner {
        _safeMint(_receiver, _mintAmount);
    }

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

    function setPaused() public onlyOwner {
        paused = !paused;
    }

    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        baseURI = _newBaseURI;
    }

    function setBaseExtension(string memory _newBaseExtension) public onlyOwner {
        baseExtension = _newBaseExtension;
    }

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

    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        (bool success, ) = _msgSender().call{value: balance}("");
        require(success, "Failed to send");
    }      
}

File 2 of 15 : ERC721A.sol
// SPDX-License-Identifier: MIT
// File: ./ERC721A.sol

// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';
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/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 MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        _addressData[owner].aux = aux;
    }

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

        unchecked {
            if (_startTokenId() <= curr) 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) if(!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 virtual override {
        if (operator == _msgSender()) revert ApproveToCaller();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.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;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

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

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

        address from = prevOwnership.addr;

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

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

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.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;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

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

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

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

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

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

File 3 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 15 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

File 5 of 15 : IERC721A.sol
// SPDX-License-Identifier: MIT
// File: ./IERC721A.sol

// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import "@openzeppelin/contracts/interfaces/IERC721.sol";
import "@openzeppelin/contracts/interfaces/IERC721Metadata.sol";

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 6 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 13 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC721.sol)

pragma solidity ^0.8.0;

import "../token/ERC721/IERC721.sol";

File 14 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../token/ERC721/extensions/IERC721Metadata.sol";

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"uint256","name":"_cost","type":"uint256"},{"internalType":"uint256","name":"_maxFreeMintsPerTx","type":"uint256"},{"internalType":"uint256","name":"_maxFreeSupply","type":"uint256"},{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_maxPerWallet","type":"uint256"}],"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":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"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":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeMintsPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","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":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"ownerAirdrop","outputs":[],"stateMutability":"nonpayable","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":[{"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":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxFreeMintsPerTx","type":"uint256"}],"name":"setMaxFreePerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxFreeSupply","type":"uint256"}],"name":"setMaxFreeSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerWallet","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250601190805190602001906200005192919062000ca5565b506001601260006101000a81548160ff0219169083151502179055503480156200007a57600080fd5b50604051620051cb380380620051cb8339818101604052810190620000a0919062000f2d565b87878160029080519060200190620000ba92919062000ca5565b508060039080519060200190620000d392919062000ca5565b50620000e4620001ad60201b60201c565b60008190555050506200010c62000100620001b660201b60201c565b620001be60201b60201c565b600160098190555062000125896200028460201b60201c565b62000136866200032f60201b60201c565b6200014785620003c860201b60201c565b62000158846200046160201b60201c565b6200016983620004fa60201b60201c565b6200017a816200059360201b60201c565b6200018b826200062c60201b60201c565b6200019e336001620006c560201b60201c565b505050505050505050620012e7565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b62000294620001b660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002ba620006eb60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000313576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200030a90620010ca565b60405180910390fd5b80600a90805190602001906200032b92919062000ca5565b5050565b6200033f620001b660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000365620006eb60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620003be576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003b590620010ca565b60405180910390fd5b80600b8190555050565b620003d8620001b660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003fe620006eb60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000457576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200044e90620010ca565b60405180910390fd5b80600c8190555050565b62000471620001b660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000497620006eb60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620004f0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004e790620010ca565b60405180910390fd5b80600d8190555050565b6200050a620001b660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000530620006eb60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000589576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200058090620010ca565b60405180910390fd5b80600e8190555050565b620005a3620001b660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620005c9620006eb60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000622576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200061990620010ca565b60405180910390fd5b8060108190555050565b6200063c620001b660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000662620006eb60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620006bb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006b290620010ca565b60405180910390fd5b80600f8190555050565b620006e78282604051806020016040528060008152506200071560201b60201c565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141562000783576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415620007bf576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b620007d4600085838662000b0460201b60201c565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008482019050620009a28673ffffffffffffffffffffffffffffffffffffffff1662000b0a60201b62001c521760201c565b1562000a74575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a462000a20600087848060010195508762000b2d60201b60201c565b62000a57576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210620009a957826000541462000a6e57600080fd5b62000ae0565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821062000a75575b81600081905550505062000afe600085838662000c9f60201b60201c565b50505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0262000b5b620001b660201b60201c565b8786866040518563ffffffff1660e01b815260040162000b7f94939291906200119f565b602060405180830381600087803b15801562000b9a57600080fd5b505af192505050801562000bce57506040513d601f19601f8201168201806040525081019062000bcb919062001250565b60015b62000c4c573d806000811462000c01576040519150601f19603f3d011682016040523d82523d6000602084013e62000c06565b606091505b5060008151141562000c44576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b50505050565b82805462000cb390620012b1565b90600052602060002090601f01602090048101928262000cd7576000855562000d23565b82601f1062000cf257805160ff191683800117855562000d23565b8280016001018555821562000d23579182015b8281111562000d2257825182559160200191906001019062000d05565b5b50905062000d32919062000d36565b5090565b5b8082111562000d5157600081600090555060010162000d37565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000dbe8262000d73565b810181811067ffffffffffffffff8211171562000de05762000ddf62000d84565b5b80604052505050565b600062000df562000d55565b905062000e03828262000db3565b919050565b600067ffffffffffffffff82111562000e265762000e2562000d84565b5b62000e318262000d73565b9050602081019050919050565b60005b8381101562000e5e57808201518184015260208101905062000e41565b8381111562000e6e576000848401525b50505050565b600062000e8b62000e858462000e08565b62000de9565b90508281526020810184848401111562000eaa5762000ea962000d6e565b5b62000eb784828562000e3e565b509392505050565b600082601f83011262000ed75762000ed662000d69565b5b815162000ee984826020860162000e74565b91505092915050565b6000819050919050565b62000f078162000ef2565b811462000f1357600080fd5b50565b60008151905062000f278162000efc565b92915050565b60008060008060008060008060006101208a8c03121562000f535762000f5262000d5f565b5b60008a015167ffffffffffffffff81111562000f745762000f7362000d64565b5b62000f828c828d0162000ebf565b99505060208a015167ffffffffffffffff81111562000fa65762000fa562000d64565b5b62000fb48c828d0162000ebf565b98505060408a015167ffffffffffffffff81111562000fd85762000fd762000d64565b5b62000fe68c828d0162000ebf565b975050606062000ff98c828d0162000f16565b96505060806200100c8c828d0162000f16565b95505060a06200101f8c828d0162000f16565b94505060c0620010328c828d0162000f16565b93505060e0620010458c828d0162000f16565b925050610100620010598c828d0162000f16565b9150509295985092959850929598565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620010b260208362001069565b9150620010bf826200107a565b602082019050919050565b60006020820190508181036000830152620010e581620010a3565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200111982620010ec565b9050919050565b6200112b816200110c565b82525050565b6200113c8162000ef2565b82525050565b600081519050919050565b600082825260208201905092915050565b60006200116b8262001142565b6200117781856200114d565b93506200118981856020860162000e3e565b620011948162000d73565b840191505092915050565b6000608082019050620011b6600083018762001120565b620011c5602083018662001120565b620011d4604083018562001131565b8181036060830152620011e881846200115e565b905095945050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6200122a81620011f3565b81146200123657600080fd5b50565b6000815190506200124a816200121f565b92915050565b60006020828403121562001269576200126862000d5f565b5b6000620012798482850162001239565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620012ca57607f821691505b60208210811415620012e157620012e062001282565b5b50919050565b613ed480620012f76000396000f3fe60806040526004361061021a5760003560e01c80636f8b44b011610123578063b20c3c4e116100ab578063d5abeb011161006f578063d5abeb0114610776578063da3ef23f146107a1578063e268e4d3146107ca578063e985e9c5146107f3578063f2fde38b146108305761021a565b8063b20c3c4e14610691578063b88d4fde146106bc578063c6682862146106e5578063c6f6f21614610710578063c87b56dd146107395761021a565b806391b7f5ed116100f257806391b7f5ed146105cd57806394354fd0146105f657806395d89b4114610621578063a0712d681461064c578063a22cb465146106685761021a565b80636f8b44b01461052557806370a082311461054e578063715018a61461058b5780638da5cb5b146105a25761021a565b80633ccfd60b116101a65780634751333411610175578063475133341461044057806355f804b31461046b5780635b28fd91146104945780635c975abb146104bd5780636352211e146104e85761021a565b80633ccfd60b146103ac57806340f070a8146103c357806342842e0e146103ec578063453c2310146104155761021a565b806313faede6116101ed57806313faede6146102ed57806318160ddd1461031857806323b872dd146103435780632cfee9901461036c57806337a66d85146103955761021a565b806301ffc9a71461021f57806306fdde031461025c578063081812fc14610287578063095ea7b3146102c4575b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190612ef2565b610859565b6040516102539190612f3a565b60405180910390f35b34801561026857600080fd5b5061027161093b565b60405161027e9190612fee565b60405180910390f35b34801561029357600080fd5b506102ae60048036038101906102a99190613046565b6109cd565b6040516102bb91906130b4565b60405180910390f35b3480156102d057600080fd5b506102eb60048036038101906102e691906130fb565b610a49565b005b3480156102f957600080fd5b50610302610b4e565b60405161030f919061314a565b60405180910390f35b34801561032457600080fd5b5061032d610b54565b60405161033a919061314a565b60405180910390f35b34801561034f57600080fd5b5061036a60048036038101906103659190613165565b610b6b565b005b34801561037857600080fd5b50610393600480360381019061038e91906131b8565b610b7b565b005b3480156103a157600080fd5b506103aa610c05565b005b3480156103b857600080fd5b506103c1610cad565b005b3480156103cf57600080fd5b506103ea60048036038101906103e59190613046565b610de5565b005b3480156103f857600080fd5b50610413600480360381019061040e9190613165565b610e6b565b005b34801561042157600080fd5b5061042a610e8b565b604051610437919061314a565b60405180910390f35b34801561044c57600080fd5b50610455610e91565b604051610462919061314a565b60405180910390f35b34801561047757600080fd5b50610492600480360381019061048d919061332d565b610e97565b005b3480156104a057600080fd5b506104bb60048036038101906104b69190613046565b610f2d565b005b3480156104c957600080fd5b506104d2610fb3565b6040516104df9190612f3a565b60405180910390f35b3480156104f457600080fd5b5061050f600480360381019061050a9190613046565b610fc6565b60405161051c91906130b4565b60405180910390f35b34801561053157600080fd5b5061054c60048036038101906105479190613046565b610fdc565b005b34801561055a57600080fd5b5061057560048036038101906105709190613376565b611062565b604051610582919061314a565b60405180910390f35b34801561059757600080fd5b506105a0611132565b005b3480156105ae57600080fd5b506105b76111ba565b6040516105c491906130b4565b60405180910390f35b3480156105d957600080fd5b506105f460048036038101906105ef9190613046565b6111e4565b005b34801561060257600080fd5b5061060b61126a565b604051610618919061314a565b60405180910390f35b34801561062d57600080fd5b50610636611270565b6040516106439190612fee565b60405180910390f35b61066660048036038101906106619190613046565b611302565b005b34801561067457600080fd5b5061068f600480360381019061068a91906133cf565b6115f0565b005b34801561069d57600080fd5b506106a6611768565b6040516106b3919061314a565b60405180910390f35b3480156106c857600080fd5b506106e360048036038101906106de91906134b0565b61176e565b005b3480156106f157600080fd5b506106fa6117e6565b6040516107079190612fee565b60405180910390f35b34801561071c57600080fd5b5061073760048036038101906107329190613046565b611874565b005b34801561074557600080fd5b50610760600480360381019061075b9190613046565b6118fa565b60405161076d9190612fee565b60405180910390f35b34801561078257600080fd5b5061078b6119a4565b604051610798919061314a565b60405180910390f35b3480156107ad57600080fd5b506107c860048036038101906107c3919061332d565b6119aa565b005b3480156107d657600080fd5b506107f160048036038101906107ec9190613046565b611a40565b005b3480156107ff57600080fd5b5061081a60048036038101906108159190613533565b611ac6565b6040516108279190612f3a565b60405180910390f35b34801561083c57600080fd5b5061085760048036038101906108529190613376565b611b5a565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061092457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610934575061093382611c75565b5b9050919050565b60606002805461094a906135a2565b80601f0160208091040260200160405190810160405280929190818152602001828054610976906135a2565b80156109c35780601f10610998576101008083540402835291602001916109c3565b820191906000526020600020905b8154815290600101906020018083116109a657829003601f168201915b5050505050905090565b60006109d882611cdf565b610a0e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a5482610fc6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610abc576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610adb611d2d565b73ffffffffffffffffffffffffffffffffffffffff1614610b3e57610b0781610b02611d2d565b611ac6565b610b3d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610b49838383611d35565b505050565b600b5481565b6000610b5e611de7565b6001546000540303905090565b610b76838383611df0565b505050565b610b83611d2d565b73ffffffffffffffffffffffffffffffffffffffff16610ba16111ba565b73ffffffffffffffffffffffffffffffffffffffff1614610bf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bee90613620565b60405180910390fd5b610c0181836122a6565b5050565b610c0d611d2d565b73ffffffffffffffffffffffffffffffffffffffff16610c2b6111ba565b73ffffffffffffffffffffffffffffffffffffffff1614610c81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7890613620565b60405180910390fd5b601260009054906101000a900460ff1615601260006101000a81548160ff021916908315150217905550565b610cb5611d2d565b73ffffffffffffffffffffffffffffffffffffffff16610cd36111ba565b73ffffffffffffffffffffffffffffffffffffffff1614610d29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2090613620565b60405180910390fd5b60004790506000610d38611d2d565b73ffffffffffffffffffffffffffffffffffffffff1682604051610d5b90613671565b60006040518083038185875af1925050503d8060008114610d98576040519150601f19603f3d011682016040523d82523d6000602084013e610d9d565b606091505b5050905080610de1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd8906136d2565b60405180910390fd5b5050565b610ded611d2d565b73ffffffffffffffffffffffffffffffffffffffff16610e0b6111ba565b73ffffffffffffffffffffffffffffffffffffffff1614610e61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5890613620565b60405180910390fd5b80600c8190555050565b610e868383836040518060200160405280600081525061176e565b505050565b60105481565b600d5481565b610e9f611d2d565b73ffffffffffffffffffffffffffffffffffffffff16610ebd6111ba565b73ffffffffffffffffffffffffffffffffffffffff1614610f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0a90613620565b60405180910390fd5b80600a9080519060200190610f29929190612da0565b5050565b610f35611d2d565b73ffffffffffffffffffffffffffffffffffffffff16610f536111ba565b73ffffffffffffffffffffffffffffffffffffffff1614610fa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa090613620565b60405180910390fd5b80600d8190555050565b601260009054906101000a900460ff1681565b6000610fd1826122c4565b600001519050919050565b610fe4611d2d565b73ffffffffffffffffffffffffffffffffffffffff166110026111ba565b73ffffffffffffffffffffffffffffffffffffffff1614611058576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104f90613620565b60405180910390fd5b80600f8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110ca576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61113a611d2d565b73ffffffffffffffffffffffffffffffffffffffff166111586111ba565b73ffffffffffffffffffffffffffffffffffffffff16146111ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a590613620565b60405180910390fd5b6111b8600061254f565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6111ec611d2d565b73ffffffffffffffffffffffffffffffffffffffff1661120a6111ba565b73ffffffffffffffffffffffffffffffffffffffff1614611260576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125790613620565b60405180910390fd5b80600b8190555050565b600e5481565b60606003805461127f906135a2565b80601f01602080910402602001604051908101604052809291908181526020018280546112ab906135a2565b80156112f85780601f106112cd576101008083540402835291602001916112f8565b820191906000526020600020905b8154815290600101906020018083116112db57829003601f168201915b5050505050905090565b806000600b5490506001600d546113199190613721565b82611322610b54565b61132c9190613721565b101561133757600090505b81816113439190613777565b341015611385576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137c9061381d565b60405180910390fd5b826001600d546113959190613721565b8161139e610b54565b6113a89190613721565b10156114055780601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113fd9190613721565b925050819055505b600c54601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115611489576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148090613889565b60405180910390fd5b6010548161149633612615565b6114a09190613721565b11156114e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d8906138f5565b60405180910390fd5b6000811180156114f35750600e548111155b611532576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152990613961565b60405180910390fd5b600f548161153e610b54565b6115489190613721565b1115611589576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611580906139cd565b60405180910390fd5b601260009054906101000a900460ff16156115d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d090613a39565b60405180910390fd5b6115ea6115e4611d2d565b856122a6565b50505050565b6115f8611d2d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561165d576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061166a611d2d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611717611d2d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161175c9190612f3a565b60405180910390a35050565b600c5481565b611779848484611df0565b6117988373ffffffffffffffffffffffffffffffffffffffff16611c52565b156117e0576117a98484848461267f565b6117df576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b601180546117f3906135a2565b80601f016020809104026020016040519081016040528092919081815260200182805461181f906135a2565b801561186c5780601f106118415761010080835404028352916020019161186c565b820191906000526020600020905b81548152906001019060200180831161184f57829003601f168201915b505050505081565b61187c611d2d565b73ffffffffffffffffffffffffffffffffffffffff1661189a6111ba565b73ffffffffffffffffffffffffffffffffffffffff16146118f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e790613620565b60405180910390fd5b80600e8190555050565b606061190582611cdf565b611944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193b90613acb565b60405180910390fd5b600061194e6127df565b9050600081511161196e576040518060200160405280600081525061199c565b8061197884612871565b601160405160200161198c93929190613bbb565b6040516020818303038152906040525b915050919050565b600f5481565b6119b2611d2d565b73ffffffffffffffffffffffffffffffffffffffff166119d06111ba565b73ffffffffffffffffffffffffffffffffffffffff1614611a26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1d90613620565b60405180910390fd5b8060119080519060200190611a3c929190612da0565b5050565b611a48611d2d565b73ffffffffffffffffffffffffffffffffffffffff16611a666111ba565b73ffffffffffffffffffffffffffffffffffffffff1614611abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab390613620565b60405180910390fd5b8060108190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b62611d2d565b73ffffffffffffffffffffffffffffffffffffffff16611b806111ba565b73ffffffffffffffffffffffffffffffffffffffff1614611bd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcd90613620565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3d90613c5e565b60405180910390fd5b611c4f8161254f565b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611cea611de7565b11158015611cf9575060005482105b8015611d26575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000611dfb826122c4565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611e66576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611e87611d2d565b73ffffffffffffffffffffffffffffffffffffffff161480611eb65750611eb585611eb0611d2d565b611ac6565b5b80611efb5750611ec4611d2d565b73ffffffffffffffffffffffffffffffffffffffff16611ee3846109cd565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611f34576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611f9b576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611fa885858560016129d2565b611fb460008487611d35565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561223457600054821461223357878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461229f85858560016129d8565b5050505050565b6122c08282604051806020016040528060008152506129de565b5050565b6122cc612e26565b6000829050806122da611de7565b1161251857600054811015612517576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161251557600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146123f957809250505061254a565b5b60011561251457818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461250f57809250505061254a565b6123fa565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126a5611d2d565b8786866040518563ffffffff1660e01b81526004016126c79493929190613cd3565b602060405180830381600087803b1580156126e157600080fd5b505af192505050801561271257506040513d601f19601f8201168201806040525081019061270f9190613d34565b60015b61278c573d8060008114612742576040519150601f19603f3d011682016040523d82523d6000602084013e612747565b606091505b50600081511415612784576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a80546127ee906135a2565b80601f016020809104026020016040519081016040528092919081815260200182805461281a906135a2565b80156128675780601f1061283c57610100808354040283529160200191612867565b820191906000526020600020905b81548152906001019060200180831161284a57829003601f168201915b5050505050905090565b606060008214156128b9576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506129cd565b600082905060005b600082146128eb5780806128d490613d61565b915050600a826128e49190613dd9565b91506128c1565b60008167ffffffffffffffff81111561290757612906613202565b5b6040519080825280601f01601f1916602001820160405280156129395781602001600182028036833780820191505090505b5090505b600085146129c6576001826129529190613e0a565b9150600a856129619190613e3e565b603061296d9190613721565b60f81b81838151811061298357612982613e6f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129bf9190613dd9565b945061293d565b8093505050505b919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612a4b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415612a86576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612a9360008583866129d2565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008482019050612c548673ffffffffffffffffffffffffffffffffffffffff16611c52565b15612d19575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612cc9600087848060010195508761267f565b612cff576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210612c5a578260005414612d1457600080fd5b612d84565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612d1a575b816000819055505050612d9a60008583866129d8565b50505050565b828054612dac906135a2565b90600052602060002090601f016020900481019282612dce5760008555612e15565b82601f10612de757805160ff1916838001178555612e15565b82800160010185558215612e15579182015b82811115612e14578251825591602001919060010190612df9565b5b509050612e229190612e69565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115612e82576000816000905550600101612e6a565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612ecf81612e9a565b8114612eda57600080fd5b50565b600081359050612eec81612ec6565b92915050565b600060208284031215612f0857612f07612e90565b5b6000612f1684828501612edd565b91505092915050565b60008115159050919050565b612f3481612f1f565b82525050565b6000602082019050612f4f6000830184612f2b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f8f578082015181840152602081019050612f74565b83811115612f9e576000848401525b50505050565b6000601f19601f8301169050919050565b6000612fc082612f55565b612fca8185612f60565b9350612fda818560208601612f71565b612fe381612fa4565b840191505092915050565b600060208201905081810360008301526130088184612fb5565b905092915050565b6000819050919050565b61302381613010565b811461302e57600080fd5b50565b6000813590506130408161301a565b92915050565b60006020828403121561305c5761305b612e90565b5b600061306a84828501613031565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061309e82613073565b9050919050565b6130ae81613093565b82525050565b60006020820190506130c960008301846130a5565b92915050565b6130d881613093565b81146130e357600080fd5b50565b6000813590506130f5816130cf565b92915050565b6000806040838503121561311257613111612e90565b5b6000613120858286016130e6565b925050602061313185828601613031565b9150509250929050565b61314481613010565b82525050565b600060208201905061315f600083018461313b565b92915050565b60008060006060848603121561317e5761317d612e90565b5b600061318c868287016130e6565b935050602061319d868287016130e6565b92505060406131ae86828701613031565b9150509250925092565b600080604083850312156131cf576131ce612e90565b5b60006131dd85828601613031565b92505060206131ee858286016130e6565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61323a82612fa4565b810181811067ffffffffffffffff8211171561325957613258613202565b5b80604052505050565b600061326c612e86565b90506132788282613231565b919050565b600067ffffffffffffffff82111561329857613297613202565b5b6132a182612fa4565b9050602081019050919050565b82818337600083830152505050565b60006132d06132cb8461327d565b613262565b9050828152602081018484840111156132ec576132eb6131fd565b5b6132f78482856132ae565b509392505050565b600082601f830112613314576133136131f8565b5b81356133248482602086016132bd565b91505092915050565b60006020828403121561334357613342612e90565b5b600082013567ffffffffffffffff81111561336157613360612e95565b5b61336d848285016132ff565b91505092915050565b60006020828403121561338c5761338b612e90565b5b600061339a848285016130e6565b91505092915050565b6133ac81612f1f565b81146133b757600080fd5b50565b6000813590506133c9816133a3565b92915050565b600080604083850312156133e6576133e5612e90565b5b60006133f4858286016130e6565b9250506020613405858286016133ba565b9150509250929050565b600067ffffffffffffffff82111561342a57613429613202565b5b61343382612fa4565b9050602081019050919050565b600061345361344e8461340f565b613262565b90508281526020810184848401111561346f5761346e6131fd565b5b61347a8482856132ae565b509392505050565b600082601f830112613497576134966131f8565b5b81356134a7848260208601613440565b91505092915050565b600080600080608085870312156134ca576134c9612e90565b5b60006134d8878288016130e6565b94505060206134e9878288016130e6565b93505060406134fa87828801613031565b925050606085013567ffffffffffffffff81111561351b5761351a612e95565b5b61352787828801613482565b91505092959194509250565b6000806040838503121561354a57613549612e90565b5b6000613558858286016130e6565b9250506020613569858286016130e6565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806135ba57607f821691505b602082108114156135ce576135cd613573565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061360a602083612f60565b9150613615826135d4565b602082019050919050565b60006020820190508181036000830152613639816135fd565b9050919050565b600081905092915050565b50565b600061365b600083613640565b91506136668261364b565b600082019050919050565b600061367c8261364e565b9150819050919050565b7f4661696c656420746f2073656e64000000000000000000000000000000000000600082015250565b60006136bc600e83612f60565b91506136c782613686565b602082019050919050565b600060208201905081810360008301526136eb816136af565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061372c82613010565b915061373783613010565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561376c5761376b6136f2565b5b828201905092915050565b600061378282613010565b915061378d83613010565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156137c6576137c56136f2565b5b828202905092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b6000613807601383612f60565b9150613812826137d1565b602082019050919050565b60006020820190508181036000830152613836816137fa565b9050919050565b7f457863656564732066726565206d617820706572207478210000000000000000600082015250565b6000613873601883612f60565b915061387e8261383d565b602082019050919050565b600060208201905081810360008301526138a281613866565b9050919050565b7f45786365656473206d61782077616c6c6574206c696d69747321000000000000600082015250565b60006138df601a83612f60565b91506138ea826138a9565b602082019050919050565b6000602082019050818103600083015261390e816138d2565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b600061394b601483612f60565b915061395682613915565b602082019050919050565b6000602082019050818103600083015261397a8161393e565b9050919050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b60006139b7601483612f60565b91506139c282613981565b602082019050919050565b600060208201905081810360008301526139e6816139aa565b9050919050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b6000613a23601783612f60565b9150613a2e826139ed565b602082019050919050565b60006020820190508181036000830152613a5281613a16565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613ab5602f83612f60565b9150613ac082613a59565b604082019050919050565b60006020820190508181036000830152613ae481613aa8565b9050919050565b600081905092915050565b6000613b0182612f55565b613b0b8185613aeb565b9350613b1b818560208601612f71565b80840191505092915050565b60008190508160005260206000209050919050565b60008154613b49816135a2565b613b538186613aeb565b94506001821660008114613b6e5760018114613b7f57613bb2565b60ff19831686528186019350613bb2565b613b8885613b27565b60005b83811015613baa57815481890152600182019150602081019050613b8b565b838801955050505b50505092915050565b6000613bc78286613af6565b9150613bd38285613af6565b9150613bdf8284613b3c565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613c48602683612f60565b9150613c5382613bec565b604082019050919050565b60006020820190508181036000830152613c7781613c3b565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613ca582613c7e565b613caf8185613c89565b9350613cbf818560208601612f71565b613cc881612fa4565b840191505092915050565b6000608082019050613ce860008301876130a5565b613cf560208301866130a5565b613d02604083018561313b565b8181036060830152613d148184613c9a565b905095945050505050565b600081519050613d2e81612ec6565b92915050565b600060208284031215613d4a57613d49612e90565b5b6000613d5884828501613d1f565b91505092915050565b6000613d6c82613010565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613d9f57613d9e6136f2565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613de482613010565b9150613def83613010565b925082613dff57613dfe613daa565b5b828204905092915050565b6000613e1582613010565b9150613e2083613010565b925082821015613e3357613e326136f2565b5b828203905092915050565b6000613e4982613010565b9150613e5483613010565b925082613e6457613e63613daa565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212204cfee1cfb6e8785a1649af992b46a3c7167c46fb9737b14922a880a8a4a6b77f64736f6c634300080900330000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000e35fa931a0000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000bb80000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d61474e686b457a35437059374741764c706e47534656753373774159524a77744448476e61717469323541352f00000000000000000000000000000000000000000000000000000000000000000000000000000000000f4d6574617665727365526964657273000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000065249444552530000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061021a5760003560e01c80636f8b44b011610123578063b20c3c4e116100ab578063d5abeb011161006f578063d5abeb0114610776578063da3ef23f146107a1578063e268e4d3146107ca578063e985e9c5146107f3578063f2fde38b146108305761021a565b8063b20c3c4e14610691578063b88d4fde146106bc578063c6682862146106e5578063c6f6f21614610710578063c87b56dd146107395761021a565b806391b7f5ed116100f257806391b7f5ed146105cd57806394354fd0146105f657806395d89b4114610621578063a0712d681461064c578063a22cb465146106685761021a565b80636f8b44b01461052557806370a082311461054e578063715018a61461058b5780638da5cb5b146105a25761021a565b80633ccfd60b116101a65780634751333411610175578063475133341461044057806355f804b31461046b5780635b28fd91146104945780635c975abb146104bd5780636352211e146104e85761021a565b80633ccfd60b146103ac57806340f070a8146103c357806342842e0e146103ec578063453c2310146104155761021a565b806313faede6116101ed57806313faede6146102ed57806318160ddd1461031857806323b872dd146103435780632cfee9901461036c57806337a66d85146103955761021a565b806301ffc9a71461021f57806306fdde031461025c578063081812fc14610287578063095ea7b3146102c4575b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190612ef2565b610859565b6040516102539190612f3a565b60405180910390f35b34801561026857600080fd5b5061027161093b565b60405161027e9190612fee565b60405180910390f35b34801561029357600080fd5b506102ae60048036038101906102a99190613046565b6109cd565b6040516102bb91906130b4565b60405180910390f35b3480156102d057600080fd5b506102eb60048036038101906102e691906130fb565b610a49565b005b3480156102f957600080fd5b50610302610b4e565b60405161030f919061314a565b60405180910390f35b34801561032457600080fd5b5061032d610b54565b60405161033a919061314a565b60405180910390f35b34801561034f57600080fd5b5061036a60048036038101906103659190613165565b610b6b565b005b34801561037857600080fd5b50610393600480360381019061038e91906131b8565b610b7b565b005b3480156103a157600080fd5b506103aa610c05565b005b3480156103b857600080fd5b506103c1610cad565b005b3480156103cf57600080fd5b506103ea60048036038101906103e59190613046565b610de5565b005b3480156103f857600080fd5b50610413600480360381019061040e9190613165565b610e6b565b005b34801561042157600080fd5b5061042a610e8b565b604051610437919061314a565b60405180910390f35b34801561044c57600080fd5b50610455610e91565b604051610462919061314a565b60405180910390f35b34801561047757600080fd5b50610492600480360381019061048d919061332d565b610e97565b005b3480156104a057600080fd5b506104bb60048036038101906104b69190613046565b610f2d565b005b3480156104c957600080fd5b506104d2610fb3565b6040516104df9190612f3a565b60405180910390f35b3480156104f457600080fd5b5061050f600480360381019061050a9190613046565b610fc6565b60405161051c91906130b4565b60405180910390f35b34801561053157600080fd5b5061054c60048036038101906105479190613046565b610fdc565b005b34801561055a57600080fd5b5061057560048036038101906105709190613376565b611062565b604051610582919061314a565b60405180910390f35b34801561059757600080fd5b506105a0611132565b005b3480156105ae57600080fd5b506105b76111ba565b6040516105c491906130b4565b60405180910390f35b3480156105d957600080fd5b506105f460048036038101906105ef9190613046565b6111e4565b005b34801561060257600080fd5b5061060b61126a565b604051610618919061314a565b60405180910390f35b34801561062d57600080fd5b50610636611270565b6040516106439190612fee565b60405180910390f35b61066660048036038101906106619190613046565b611302565b005b34801561067457600080fd5b5061068f600480360381019061068a91906133cf565b6115f0565b005b34801561069d57600080fd5b506106a6611768565b6040516106b3919061314a565b60405180910390f35b3480156106c857600080fd5b506106e360048036038101906106de91906134b0565b61176e565b005b3480156106f157600080fd5b506106fa6117e6565b6040516107079190612fee565b60405180910390f35b34801561071c57600080fd5b5061073760048036038101906107329190613046565b611874565b005b34801561074557600080fd5b50610760600480360381019061075b9190613046565b6118fa565b60405161076d9190612fee565b60405180910390f35b34801561078257600080fd5b5061078b6119a4565b604051610798919061314a565b60405180910390f35b3480156107ad57600080fd5b506107c860048036038101906107c3919061332d565b6119aa565b005b3480156107d657600080fd5b506107f160048036038101906107ec9190613046565b611a40565b005b3480156107ff57600080fd5b5061081a60048036038101906108159190613533565b611ac6565b6040516108279190612f3a565b60405180910390f35b34801561083c57600080fd5b5061085760048036038101906108529190613376565b611b5a565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061092457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610934575061093382611c75565b5b9050919050565b60606002805461094a906135a2565b80601f0160208091040260200160405190810160405280929190818152602001828054610976906135a2565b80156109c35780601f10610998576101008083540402835291602001916109c3565b820191906000526020600020905b8154815290600101906020018083116109a657829003601f168201915b5050505050905090565b60006109d882611cdf565b610a0e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a5482610fc6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610abc576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610adb611d2d565b73ffffffffffffffffffffffffffffffffffffffff1614610b3e57610b0781610b02611d2d565b611ac6565b610b3d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610b49838383611d35565b505050565b600b5481565b6000610b5e611de7565b6001546000540303905090565b610b76838383611df0565b505050565b610b83611d2d565b73ffffffffffffffffffffffffffffffffffffffff16610ba16111ba565b73ffffffffffffffffffffffffffffffffffffffff1614610bf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bee90613620565b60405180910390fd5b610c0181836122a6565b5050565b610c0d611d2d565b73ffffffffffffffffffffffffffffffffffffffff16610c2b6111ba565b73ffffffffffffffffffffffffffffffffffffffff1614610c81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7890613620565b60405180910390fd5b601260009054906101000a900460ff1615601260006101000a81548160ff021916908315150217905550565b610cb5611d2d565b73ffffffffffffffffffffffffffffffffffffffff16610cd36111ba565b73ffffffffffffffffffffffffffffffffffffffff1614610d29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2090613620565b60405180910390fd5b60004790506000610d38611d2d565b73ffffffffffffffffffffffffffffffffffffffff1682604051610d5b90613671565b60006040518083038185875af1925050503d8060008114610d98576040519150601f19603f3d011682016040523d82523d6000602084013e610d9d565b606091505b5050905080610de1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd8906136d2565b60405180910390fd5b5050565b610ded611d2d565b73ffffffffffffffffffffffffffffffffffffffff16610e0b6111ba565b73ffffffffffffffffffffffffffffffffffffffff1614610e61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5890613620565b60405180910390fd5b80600c8190555050565b610e868383836040518060200160405280600081525061176e565b505050565b60105481565b600d5481565b610e9f611d2d565b73ffffffffffffffffffffffffffffffffffffffff16610ebd6111ba565b73ffffffffffffffffffffffffffffffffffffffff1614610f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0a90613620565b60405180910390fd5b80600a9080519060200190610f29929190612da0565b5050565b610f35611d2d565b73ffffffffffffffffffffffffffffffffffffffff16610f536111ba565b73ffffffffffffffffffffffffffffffffffffffff1614610fa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa090613620565b60405180910390fd5b80600d8190555050565b601260009054906101000a900460ff1681565b6000610fd1826122c4565b600001519050919050565b610fe4611d2d565b73ffffffffffffffffffffffffffffffffffffffff166110026111ba565b73ffffffffffffffffffffffffffffffffffffffff1614611058576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104f90613620565b60405180910390fd5b80600f8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110ca576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61113a611d2d565b73ffffffffffffffffffffffffffffffffffffffff166111586111ba565b73ffffffffffffffffffffffffffffffffffffffff16146111ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a590613620565b60405180910390fd5b6111b8600061254f565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6111ec611d2d565b73ffffffffffffffffffffffffffffffffffffffff1661120a6111ba565b73ffffffffffffffffffffffffffffffffffffffff1614611260576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125790613620565b60405180910390fd5b80600b8190555050565b600e5481565b60606003805461127f906135a2565b80601f01602080910402602001604051908101604052809291908181526020018280546112ab906135a2565b80156112f85780601f106112cd576101008083540402835291602001916112f8565b820191906000526020600020905b8154815290600101906020018083116112db57829003601f168201915b5050505050905090565b806000600b5490506001600d546113199190613721565b82611322610b54565b61132c9190613721565b101561133757600090505b81816113439190613777565b341015611385576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137c9061381d565b60405180910390fd5b826001600d546113959190613721565b8161139e610b54565b6113a89190613721565b10156114055780601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113fd9190613721565b925050819055505b600c54601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115611489576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148090613889565b60405180910390fd5b6010548161149633612615565b6114a09190613721565b11156114e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d8906138f5565b60405180910390fd5b6000811180156114f35750600e548111155b611532576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152990613961565b60405180910390fd5b600f548161153e610b54565b6115489190613721565b1115611589576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611580906139cd565b60405180910390fd5b601260009054906101000a900460ff16156115d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d090613a39565b60405180910390fd5b6115ea6115e4611d2d565b856122a6565b50505050565b6115f8611d2d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561165d576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061166a611d2d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611717611d2d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161175c9190612f3a565b60405180910390a35050565b600c5481565b611779848484611df0565b6117988373ffffffffffffffffffffffffffffffffffffffff16611c52565b156117e0576117a98484848461267f565b6117df576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b601180546117f3906135a2565b80601f016020809104026020016040519081016040528092919081815260200182805461181f906135a2565b801561186c5780601f106118415761010080835404028352916020019161186c565b820191906000526020600020905b81548152906001019060200180831161184f57829003601f168201915b505050505081565b61187c611d2d565b73ffffffffffffffffffffffffffffffffffffffff1661189a6111ba565b73ffffffffffffffffffffffffffffffffffffffff16146118f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e790613620565b60405180910390fd5b80600e8190555050565b606061190582611cdf565b611944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193b90613acb565b60405180910390fd5b600061194e6127df565b9050600081511161196e576040518060200160405280600081525061199c565b8061197884612871565b601160405160200161198c93929190613bbb565b6040516020818303038152906040525b915050919050565b600f5481565b6119b2611d2d565b73ffffffffffffffffffffffffffffffffffffffff166119d06111ba565b73ffffffffffffffffffffffffffffffffffffffff1614611a26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1d90613620565b60405180910390fd5b8060119080519060200190611a3c929190612da0565b5050565b611a48611d2d565b73ffffffffffffffffffffffffffffffffffffffff16611a666111ba565b73ffffffffffffffffffffffffffffffffffffffff1614611abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab390613620565b60405180910390fd5b8060108190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b62611d2d565b73ffffffffffffffffffffffffffffffffffffffff16611b806111ba565b73ffffffffffffffffffffffffffffffffffffffff1614611bd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcd90613620565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3d90613c5e565b60405180910390fd5b611c4f8161254f565b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611cea611de7565b11158015611cf9575060005482105b8015611d26575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000611dfb826122c4565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611e66576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611e87611d2d565b73ffffffffffffffffffffffffffffffffffffffff161480611eb65750611eb585611eb0611d2d565b611ac6565b5b80611efb5750611ec4611d2d565b73ffffffffffffffffffffffffffffffffffffffff16611ee3846109cd565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611f34576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611f9b576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611fa885858560016129d2565b611fb460008487611d35565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561223457600054821461223357878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461229f85858560016129d8565b5050505050565b6122c08282604051806020016040528060008152506129de565b5050565b6122cc612e26565b6000829050806122da611de7565b1161251857600054811015612517576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161251557600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146123f957809250505061254a565b5b60011561251457818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461250f57809250505061254a565b6123fa565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126a5611d2d565b8786866040518563ffffffff1660e01b81526004016126c79493929190613cd3565b602060405180830381600087803b1580156126e157600080fd5b505af192505050801561271257506040513d601f19601f8201168201806040525081019061270f9190613d34565b60015b61278c573d8060008114612742576040519150601f19603f3d011682016040523d82523d6000602084013e612747565b606091505b50600081511415612784576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a80546127ee906135a2565b80601f016020809104026020016040519081016040528092919081815260200182805461281a906135a2565b80156128675780601f1061283c57610100808354040283529160200191612867565b820191906000526020600020905b81548152906001019060200180831161284a57829003601f168201915b5050505050905090565b606060008214156128b9576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506129cd565b600082905060005b600082146128eb5780806128d490613d61565b915050600a826128e49190613dd9565b91506128c1565b60008167ffffffffffffffff81111561290757612906613202565b5b6040519080825280601f01601f1916602001820160405280156129395781602001600182028036833780820191505090505b5090505b600085146129c6576001826129529190613e0a565b9150600a856129619190613e3e565b603061296d9190613721565b60f81b81838151811061298357612982613e6f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129bf9190613dd9565b945061293d565b8093505050505b919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612a4b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415612a86576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612a9360008583866129d2565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008482019050612c548673ffffffffffffffffffffffffffffffffffffffff16611c52565b15612d19575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612cc9600087848060010195508761267f565b612cff576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210612c5a578260005414612d1457600080fd5b612d84565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612d1a575b816000819055505050612d9a60008583866129d8565b50505050565b828054612dac906135a2565b90600052602060002090601f016020900481019282612dce5760008555612e15565b82601f10612de757805160ff1916838001178555612e15565b82800160010185558215612e15579182015b82811115612e14578251825591602001919060010190612df9565b5b509050612e229190612e69565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115612e82576000816000905550600101612e6a565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612ecf81612e9a565b8114612eda57600080fd5b50565b600081359050612eec81612ec6565b92915050565b600060208284031215612f0857612f07612e90565b5b6000612f1684828501612edd565b91505092915050565b60008115159050919050565b612f3481612f1f565b82525050565b6000602082019050612f4f6000830184612f2b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f8f578082015181840152602081019050612f74565b83811115612f9e576000848401525b50505050565b6000601f19601f8301169050919050565b6000612fc082612f55565b612fca8185612f60565b9350612fda818560208601612f71565b612fe381612fa4565b840191505092915050565b600060208201905081810360008301526130088184612fb5565b905092915050565b6000819050919050565b61302381613010565b811461302e57600080fd5b50565b6000813590506130408161301a565b92915050565b60006020828403121561305c5761305b612e90565b5b600061306a84828501613031565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061309e82613073565b9050919050565b6130ae81613093565b82525050565b60006020820190506130c960008301846130a5565b92915050565b6130d881613093565b81146130e357600080fd5b50565b6000813590506130f5816130cf565b92915050565b6000806040838503121561311257613111612e90565b5b6000613120858286016130e6565b925050602061313185828601613031565b9150509250929050565b61314481613010565b82525050565b600060208201905061315f600083018461313b565b92915050565b60008060006060848603121561317e5761317d612e90565b5b600061318c868287016130e6565b935050602061319d868287016130e6565b92505060406131ae86828701613031565b9150509250925092565b600080604083850312156131cf576131ce612e90565b5b60006131dd85828601613031565b92505060206131ee858286016130e6565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61323a82612fa4565b810181811067ffffffffffffffff8211171561325957613258613202565b5b80604052505050565b600061326c612e86565b90506132788282613231565b919050565b600067ffffffffffffffff82111561329857613297613202565b5b6132a182612fa4565b9050602081019050919050565b82818337600083830152505050565b60006132d06132cb8461327d565b613262565b9050828152602081018484840111156132ec576132eb6131fd565b5b6132f78482856132ae565b509392505050565b600082601f830112613314576133136131f8565b5b81356133248482602086016132bd565b91505092915050565b60006020828403121561334357613342612e90565b5b600082013567ffffffffffffffff81111561336157613360612e95565b5b61336d848285016132ff565b91505092915050565b60006020828403121561338c5761338b612e90565b5b600061339a848285016130e6565b91505092915050565b6133ac81612f1f565b81146133b757600080fd5b50565b6000813590506133c9816133a3565b92915050565b600080604083850312156133e6576133e5612e90565b5b60006133f4858286016130e6565b9250506020613405858286016133ba565b9150509250929050565b600067ffffffffffffffff82111561342a57613429613202565b5b61343382612fa4565b9050602081019050919050565b600061345361344e8461340f565b613262565b90508281526020810184848401111561346f5761346e6131fd565b5b61347a8482856132ae565b509392505050565b600082601f830112613497576134966131f8565b5b81356134a7848260208601613440565b91505092915050565b600080600080608085870312156134ca576134c9612e90565b5b60006134d8878288016130e6565b94505060206134e9878288016130e6565b93505060406134fa87828801613031565b925050606085013567ffffffffffffffff81111561351b5761351a612e95565b5b61352787828801613482565b91505092959194509250565b6000806040838503121561354a57613549612e90565b5b6000613558858286016130e6565b9250506020613569858286016130e6565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806135ba57607f821691505b602082108114156135ce576135cd613573565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061360a602083612f60565b9150613615826135d4565b602082019050919050565b60006020820190508181036000830152613639816135fd565b9050919050565b600081905092915050565b50565b600061365b600083613640565b91506136668261364b565b600082019050919050565b600061367c8261364e565b9150819050919050565b7f4661696c656420746f2073656e64000000000000000000000000000000000000600082015250565b60006136bc600e83612f60565b91506136c782613686565b602082019050919050565b600060208201905081810360008301526136eb816136af565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061372c82613010565b915061373783613010565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561376c5761376b6136f2565b5b828201905092915050565b600061378282613010565b915061378d83613010565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156137c6576137c56136f2565b5b828202905092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b6000613807601383612f60565b9150613812826137d1565b602082019050919050565b60006020820190508181036000830152613836816137fa565b9050919050565b7f457863656564732066726565206d617820706572207478210000000000000000600082015250565b6000613873601883612f60565b915061387e8261383d565b602082019050919050565b600060208201905081810360008301526138a281613866565b9050919050565b7f45786365656473206d61782077616c6c6574206c696d69747321000000000000600082015250565b60006138df601a83612f60565b91506138ea826138a9565b602082019050919050565b6000602082019050818103600083015261390e816138d2565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b600061394b601483612f60565b915061395682613915565b602082019050919050565b6000602082019050818103600083015261397a8161393e565b9050919050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b60006139b7601483612f60565b91506139c282613981565b602082019050919050565b600060208201905081810360008301526139e6816139aa565b9050919050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b6000613a23601783612f60565b9150613a2e826139ed565b602082019050919050565b60006020820190508181036000830152613a5281613a16565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613ab5602f83612f60565b9150613ac082613a59565b604082019050919050565b60006020820190508181036000830152613ae481613aa8565b9050919050565b600081905092915050565b6000613b0182612f55565b613b0b8185613aeb565b9350613b1b818560208601612f71565b80840191505092915050565b60008190508160005260206000209050919050565b60008154613b49816135a2565b613b538186613aeb565b94506001821660008114613b6e5760018114613b7f57613bb2565b60ff19831686528186019350613bb2565b613b8885613b27565b60005b83811015613baa57815481890152600182019150602081019050613b8b565b838801955050505b50505092915050565b6000613bc78286613af6565b9150613bd38285613af6565b9150613bdf8284613b3c565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613c48602683612f60565b9150613c5382613bec565b604082019050919050565b60006020820190508181036000830152613c7781613c3b565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613ca582613c7e565b613caf8185613c89565b9350613cbf818560208601612f71565b613cc881612fa4565b840191505092915050565b6000608082019050613ce860008301876130a5565b613cf560208301866130a5565b613d02604083018561313b565b8181036060830152613d148184613c9a565b905095945050505050565b600081519050613d2e81612ec6565b92915050565b600060208284031215613d4a57613d49612e90565b5b6000613d5884828501613d1f565b91505092915050565b6000613d6c82613010565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613d9f57613d9e6136f2565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613de482613010565b9150613def83613010565b925082613dff57613dfe613daa565b5b828204905092915050565b6000613e1582613010565b9150613e2083613010565b925082821015613e3357613e326136f2565b5b828203905092915050565b6000613e4982613010565b9150613e5483613010565b925082613e6457613e63613daa565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212204cfee1cfb6e8785a1649af992b46a3c7167c46fb9737b14922a880a8a4a6b77f64736f6c63430008090033

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

0000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000e35fa931a0000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000bb80000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d61474e686b457a35437059374741764c706e47534656753373774159524a77744448476e61717469323541352f00000000000000000000000000000000000000000000000000000000000000000000000000000000000f4d6574617665727365526964657273000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000065249444552530000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _initBaseURI (string): ipfs://QmaGNhkEz5CpY7GAvLpnGSFVu3swAYRJwtDHGnaqti25A5/
Arg [1] : _tokenName (string): MetaverseRiders
Arg [2] : _tokenSymbol (string): RIDERS
Arg [3] : _cost (uint256): 4000000000000000
Arg [4] : _maxFreeMintsPerTx (uint256): 3
Arg [5] : _maxFreeSupply (uint256): 1000
Arg [6] : _maxMintAmountPerTx (uint256): 20
Arg [7] : _maxSupply (uint256): 50
Arg [8] : _maxPerWallet (uint256): 3000

-----Encoded View---------------
16 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [3] : 000000000000000000000000000000000000000000000000000e35fa931a0000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [5] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000bb8
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [10] : 697066733a2f2f516d61474e686b457a35437059374741764c706e4753465675
Arg [11] : 3373774159524a77744448476e61717469323541352f00000000000000000000
Arg [12] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [13] : 4d65746176657273655269646572730000000000000000000000000000000000
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [15] : 5249444552530000000000000000000000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.