ETH Price: $2,441.02 (-0.68%)
 

Overview

Max Total Supply

807 UTOPIA

Holders

134

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
4 UTOPIA
0xe0f173575eaab4fad9defcfc06d6f66b7c336251
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:
Aaaaa

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 1000 runs

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

pragma solidity ^0.8.0;

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

interface ISaleUtopiaNFTV2 {
    function buy(uint256 _quantity, address _to, bytes32[] calldata _merkleProof) external payable;
}

contract Aaaaa is Ownable, ERC721A, ReentrancyGuard {

    using Strings for uint256;

    address public treasuryAddr;
    address public saleUtopiaNFT;

    mapping(address => bool) public allowedToMint;

    bool public isRevealed = false;
    bool public mintFinished = false;

    string private _baseTokenURI = "";
    string private _unrevealedTokenURI = "";
    string private _baseTokenEndURI = "";

    event SetRevealed(bool indexed _isRevealed);
    event SetMintFinished(bool indexed _mintFinished);
    event SetAddressToMintAllowed(address indexed _account, bool indexed _canMint);
    event SetBaseURI(string indexed _baseURI);
    event SetUnrevealedURI(string indexed _unrevealedURI);
    event SetEndURI(string indexed _endURI);
    event SetOwnersExplicit(uint256 indexed _quantity);
    event SetDefaultRoyalty(address indexed _receiver, uint96 indexed _feeNumerator);
    event SetTokenRoyalty(uint256 indexed _tokenId, address indexed _receiver, uint96 indexed _feeNumerator);
    event ResetTokenRoyalty(uint256 indexed _tokenId);
    event SetTreasury(address indexed _treasuryAddr);
    event WithdrawMoney();

    modifier onlyMintAllowedUsers() {
        require(allowedToMint[msg.sender], "You can't mint ;)");
        _;
    }

    constructor(
        uint256 maxBatchSize_,
        uint256 collectionSize_
    ) ERC721A("Utopia", "UTOPIA", maxBatchSize_, collectionSize_) {
        treasuryAddr = msg.sender;
    }

    function setSaleUtopiaNFT(address _saleUtopiaNFT) external onlyOwner {
        saleUtopiaNFT = _saleUtopiaNFT;
    }

    function setRevealed(bool _isRevealed) external onlyOwner {
        isRevealed = _isRevealed;
        emit SetRevealed(_isRevealed);
    }

    function setMintFinished(bool _mintFinished) external onlyOwner {
        mintFinished = _mintFinished;
        emit SetMintFinished(_mintFinished);
    }

    function setAddressToMintAllowed(address _account, bool _canMint) external onlyOwner {
        allowedToMint[_account] = _canMint;
        emit SetAddressToMintAllowed(_account, _canMint);
    }

    function mint(address to, uint256 qty) onlyMintAllowedUsers nonReentrant external {
        _safeMint(to, qty);
    }

    function setBaseURI(string calldata baseURI) external onlyOwner {
        require(mintFinished, "Utopia: minting must be completed first");
        _baseTokenURI = baseURI;
        emit SetBaseURI(baseURI);
    }

    function setUnrevealedURI(string calldata unrevealedURI) external onlyOwner {
        _unrevealedTokenURI = unrevealedURI;
        emit SetUnrevealedURI(unrevealedURI);
    }

    function setEndURI(string calldata endURI) external onlyOwner {
        _baseTokenEndURI = endURI;
        emit SetEndURI(endURI);
    }

    function setOwnersExplicit(uint256 quantity) external onlyOwner {
        _setOwnersExplicit(quantity);
        emit SetOwnersExplicit(quantity);
    }

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

    function getOwnershipData(uint256 tokenId)
    external
    view
    returns (TokenOwnership memory)
    {
        return ownershipOf(tokenId);
    }

    function tokensOfOwner(address _owner, uint256 _from, uint256 _to) external view returns(uint256[] memory ownerTokens) {
        uint256 tokenCount = balanceOf(_owner);

        if (tokenCount == 0) {
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            uint256 totalNFTs = totalSupply();
            uint256 i = 0;
            uint256 tId;

            if (_to > totalNFTs) {
                _to = totalNFTs;
            }

            for (tId = _from; tId < _to; ++tId) {
                if (ownerOf(tId) == _owner) {
                    result[i] = tId;
                    ++i;
                }
            }
            return result;
        }
    }

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

        string memory baseURI = _baseURI();
        string memory unrevealedURI = _unrevealedURI();
        string memory endURI = _endURI();

        if (isRevealed) {
            return string(abi.encodePacked(baseURI, tokenId.toString(), endURI));
        } else {
            return string(abi.encodePacked(unrevealedURI, "0", endURI));
        }
    }

    function feeDenominator() external virtual returns (uint96) {
        return _feeDenominator();
    }

    function setDefaultRoyalty(address receiver, uint96 feeNumerator) external onlyOwner {
        _setDefaultRoyalty(receiver, feeNumerator);
        emit SetDefaultRoyalty(receiver, feeNumerator);
    }

    function deleteDefaultRoyalty() external onlyOwner {
        _deleteDefaultRoyalty();
    }

    function setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) external onlyOwner {
        _setTokenRoyalty(tokenId, receiver, feeNumerator);
        emit SetTokenRoyalty(tokenId, receiver, feeNumerator);
    }

    function resetTokenRoyalty(uint256 tokenId) external onlyOwner {
        _resetTokenRoyalty(tokenId);
        emit ResetTokenRoyalty(tokenId);
    }

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

    function _unrevealedURI() internal view virtual returns (string memory) {
        return _unrevealedTokenURI;
    }

    function _endURI() internal view virtual override returns (string memory) {
        return _baseTokenEndURI;
    }

    function buyWithCrossmint(uint256 _quantity, address _to, bytes32[] calldata _merkleProof) external payable {
        ISaleUtopiaNFTV2(saleUtopiaNFT).buy{value:msg.value}(_quantity, _to, _merkleProof);
    }

    function setTreasury(address _treasuryAddr) external onlyOwner {
        treasuryAddr = _treasuryAddr;
        emit SetTreasury(_treasuryAddr);
    }

    function withdrawMoney() external onlyOwner {
        (bool success, ) = treasuryAddr.call{value: address(this).balance}("");
        require(success, "Transfer failed.");
        emit WithdrawMoney();
    }

    receive() external payable {}
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 3 of 15 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

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 make 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 4 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./Context.sol";

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

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

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

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

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

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

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

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

File 5 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 6 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 7 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "./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 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 9 of 15 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
    external
    view
    returns (address receiver, uint256 royaltyAmount);
}

File 10 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./IERC721Metadata.sol";
import "./IERC721Enumerable.sol";
import "./Address.sol";
import "./Context.sol";
import "./Strings.sol";
//import "./ERC165.sol";
import "./ERC2981.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Assumes the number of issuable tokens (collection size) is capped and fits in a uint128.
 *
 * Does not support burning tokens to address(0).
 */
contract ERC721A is
Context,
//ERC165,
IERC721,
IERC721Metadata,
IERC721Enumerable,
ERC2981
{
    using Address for address;
    using Strings for uint256;

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 private currentIndex = 0;

    uint256 internal immutable collectionSize;
    uint256 internal immutable maxBatchSize;

    // 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) private _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;

    /**
     * @dev
   * `maxBatchSize` refers to how much a minter can mint at a time.
   * `collectionSize_` refers to how many tokens are in the collection.
   */
    constructor(
        string memory name_,
        string memory symbol_,
        uint256 maxBatchSize_,
        uint256 collectionSize_
    ) {
        require(
            collectionSize_ > 0,
            "ERC721A: collection must have a nonzero supply"
        );
        require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
        require(maxBatchSize_ <= 50, "ERC721A: max batch size must be less than or equal to 50");
        require(collectionSize_ == 9922, "ERC721A: the collection must have a size of 9922 NFTs");
        _name = name_;
        _symbol = symbol_;
        maxBatchSize = maxBatchSize_;
        collectionSize = collectionSize_;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
   */
    function totalSupply() public view override returns (uint256) {
        return currentIndex;
    }

    /**
   * @dev See {IERC721Enumerable-tokenByIndex}.
   */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        require(index < totalSupply(), "ERC721A: global index out of bounds");
        return index;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
   * This read function is O(collectionSize). If calling from a separate contract, be sure to test gas first.
   * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
   */
    function tokenOfOwnerByIndex(address owner, uint256 index)
    public
    view
    override
    returns (uint256)
    {
        require(index < totalSupply(), "ERC721A: we cannot search for values greater than totalSupply");
        require(index < balanceOf(owner), "ERC721A: owner index out of bounds");
        uint256 numMintedSoFar = totalSupply();
        uint256 tokenIdsIdx = 0;
        address currOwnershipAddr = address(0);
        for (uint256 i = 0; i < numMintedSoFar; i++) {
            TokenOwnership memory ownership = _ownerships[i];
            if (ownership.addr != address(0)) {
                currOwnershipAddr = ownership.addr;
            }
            if (currOwnershipAddr == owner) {
                if (tokenIdsIdx == index) {
                    return i;
                }
                tokenIdsIdx++;
            }
        }
        revert("ERC721A: unable to get token of owner by index");
    }

    /**
     * @dev See {IERC165-supportsInterface}.
   */

    function supportsInterface(bytes4 interfaceId)
    public
    view
    virtual
    override(ERC2981, IERC165)
    returns (bool)
    {
        return
        interfaceId == type(IERC721).interfaceId ||
        interfaceId == type(IERC721Metadata).interfaceId ||
        interfaceId == type(IERC721Enumerable).interfaceId ||
        interfaceId == type(ERC2981).interfaceId ||
        super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
   */
    function balanceOf(address owner) public view override returns (uint256) {
        require(owner != address(0), "ERC721A: balance query for the zero address");
        return uint256(_addressData[owner].balance);
    }

    function _numberMinted(address owner) internal view returns (uint256) {
        require(
            owner != address(0),
            "ERC721A: number minted query for the zero address"
        );
        return uint256(_addressData[owner].numberMinted);
    }

    function ownershipOf(uint256 tokenId)
    internal
    view
    returns (TokenOwnership memory)
    {
        require(_exists(tokenId), "ERC721A: owner query for nonexistent token");

        uint256 lowestTokenToCheck;
        if (tokenId >= maxBatchSize) {
            lowestTokenToCheck = tokenId - maxBatchSize + 1;
        }

        for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) {
            TokenOwnership memory ownership = _ownerships[curr];
            if (ownership.addr != address(0)) {
                return ownership;
            }
        }

        revert("ERC721A: unable to determine the owner of token");
    }

    /**
     * @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)
    external
    view
    virtual
    override
    returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );

        string memory baseURI = _baseURI();
        string memory endURI = _endURI();
        return
        bytes(baseURI).length > 0
        ? string(abi.encodePacked(baseURI, tokenId.toString(), endURI))
        : "";
    }

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

    function _endURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
   */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721A.ownerOf(tokenId);
        require(to != owner, "ERC721A: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721A: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
   */
    function getApproved(uint256 tokenId) public view override returns (address) {
        require(_exists(tokenId), "ERC721A: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
   */
    function setApprovalForAll(address operator, bool approved) public override {
        require(operator != _msgSender(), "ERC721A: approve to caller");

        _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 override {
        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
   */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public override {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            "ERC721A: transfer to non ERC721Receiver implementer"
        );
    }

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

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

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
   *
   * Requirements:
   *
   * - there must be `quantity` tokens remaining unminted in the total collection.
   * - `to` cannot be the zero address.
   * - `quantity` cannot be larger than the max batch size.
   *
   * Emits a {Transfer} event.
   */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        uint256 startTokenId = currentIndex;
        uint256 currentTotalSupply = totalSupply();
        require(to != address(0), "ERC721A: mint to the zero address");
        // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
        require(!_exists(startTokenId), "ERC721A: token already minted");
        require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");
        require(currentTotalSupply + quantity <= collectionSize, "ERC721A: can not mint that many NFTs in this collection");

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

        AddressData memory addressData = _addressData[to];
        _addressData[to] = AddressData(
            addressData.balance + uint128(quantity),
            addressData.numberMinted + uint128(quantity)
        );
        _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

        uint256 updatedIndex = startTokenId;

        for (uint256 i = 0; i < quantity; i++) {
            emit Transfer(address(0), to, updatedIndex);
            require(
                _checkOnERC721Received(address(0), to, updatedIndex, _data),
                "ERC721A: transfer to non ERC721Receiver implementer"
            );
            updatedIndex++;
        }

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

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

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

        require(
            isApprovedOrOwner,
            "ERC721A: transfer caller is not owner nor approved"
        );

        require(
            prevOwnership.addr == from,
            "ERC721A: transfer from incorrect owner"
        );
        require(to != address(0), "ERC721A: transfer to the zero address");

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        _addressData[from].balance -= 1;
        _addressData[to].balance += 1;
        _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp));

        // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
        // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
        uint256 nextTokenId = tokenId + 1;
        if (_ownerships[nextTokenId].addr == address(0)) {
            if (_exists(nextTokenId)) {
                _ownerships[nextTokenId] = TokenOwnership(
                    prevOwnership.addr,
                    prevOwnership.startTimestamp
                );
            }
        }

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

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

    uint256 public nextOwnerToExplicitlySet = 0;

    /**
     * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
   */
    function _setOwnersExplicit(uint256 quantity) internal {
        uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
        require(quantity > 0, "quantity must be nonzero");
        uint256 endIndex = oldNextOwnerToSet + quantity - 1;
        if (endIndex > collectionSize - 1) {
            endIndex = collectionSize - 1;
        }
        // We know if the last one in the group exists, all in the group exist, due to serial ordering.
        require(_exists(endIndex), "not enough minted yet for this cleanup");
        for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
            if (_ownerships[i].addr == address(0)) {
                TokenOwnership memory ownership = ownershipOf(i);
                _ownerships[i] = TokenOwnership(
                    ownership.addr,
                    ownership.startTimestamp
                );
            }
        }
        nextOwnerToExplicitlySet = endIndex + 1;
    }

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

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
   *
   * 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`.
   */
    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.
   *
   * 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` and `to` are never both zero.
   */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 12 of 15 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC2981.sol";
import "./ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

    /**
     * @dev See {IERC165-supportsInterface}.
     */

    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) {
        return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 13 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 14 of 15 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private 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);
            }
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"maxBatchSize_","type":"uint256"},{"internalType":"uint256","name":"collectionSize_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"uint256","name":"_tokenId","type":"uint256"}],"name":"ResetTokenRoyalty","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_account","type":"address"},{"indexed":true,"internalType":"bool","name":"_canMint","type":"bool"}],"name":"SetAddressToMintAllowed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"string","name":"_baseURI","type":"string"}],"name":"SetBaseURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_receiver","type":"address"},{"indexed":true,"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"SetDefaultRoyalty","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"string","name":"_endURI","type":"string"}],"name":"SetEndURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bool","name":"_mintFinished","type":"bool"}],"name":"SetMintFinished","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"SetOwnersExplicit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bool","name":"_isRevealed","type":"bool"}],"name":"SetRevealed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"_receiver","type":"address"},{"indexed":true,"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"SetTokenRoyalty","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_treasuryAddr","type":"address"}],"name":"SetTreasury","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"string","name":"_unrevealedURI","type":"string"}],"name":"SetUnrevealedURI","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"},{"anonymous":false,"inputs":[],"name":"WithdrawMoney","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowedToMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"buyWithCrossmint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"deleteDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeDenominator","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"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":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintFinished","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"resetTokenRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":[],"name":"saleUtopiaNFT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_canMint","type":"bool"}],"name":"setAddressToMintAllowed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"endURI","type":"string"}],"name":"setEndURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_mintFinished","type":"bool"}],"name":"setMintFinished","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"setOwnersExplicit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isRevealed","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_saleUtopiaNFT","type":"address"}],"name":"setSaleUtopiaNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setTokenRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasuryAddr","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"unrevealedURI","type":"string"}],"name":"setUnrevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"ownerTokens","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60006003819055600a819055600f805461ffff1916905560e0604081905260c08290526200003191601091906200023f565b5060408051602081019182905260009081905262000052916011916200023f565b5060408051602081019182905260009081905262000073916012916200023f565b503480156200008157600080fd5b506040516200409238038062004092833981016040819052620000a491620002e5565b6040518060400160405280600681526020016555746f70696160d01b8152506040518060400160405280600681526020016555544f50494160d01b8152508383620000fe620000f8620001eb60201b60201c565b620001ef565b600081116200012a5760405162461bcd60e51b81526004016200012190620003e8565b60405180910390fd5b600082116200014d5760405162461bcd60e51b8152600401620001219062000366565b6032821115620001715760405162461bcd60e51b815260040162000121906200039c565b806126c214620001955760405162461bcd60e51b8152600401620001219062000309565b8351620001aa9060049060208701906200023f565b508251620001c09060059060208601906200023f565b5060a09190915260805250506001600b555050600c80546001600160a01b0319163317905562000473565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200024d9062000436565b90600052602060002090601f016020900481019282620002715760008555620002bc565b82601f106200028c57805160ff1916838001178555620002bc565b82800160010185558215620002bc579182015b82811115620002bc5782518255916020019190600101906200029f565b50620002ca929150620002ce565b5090565b5b80821115620002ca5760008155600101620002cf565b60008060408385031215620002f8578182fd5b505080516020909101519092909150565b60208082526035908201527f455243373231413a2074686520636f6c6c656374696f6e206d7573742068617660408201527f6520612073697a65206f662039393232204e4654730000000000000000000000606082015260800190565b6020808252602790820152600080516020620040728339815191526040820152666e6f6e7a65726f60c81b606082015260800190565b60208082526038908201526000805160206200407283398151915260408201527f6c657373207468616e206f7220657175616c20746f2035300000000000000000606082015260800190565b6020808252602e908201527f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060408201526d6e6f6e7a65726f20737570706c7960901b606082015260800190565b6002810460018216806200044b57607f821691505b602082108114156200046d57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a051613bbd620004b56000396000818161215e015281816121880152612620015260008181611f0901528181611f3b01526126600152613bbd6000f3fe6080604052600436106103015760003560e01c8063715018a61161018f578063b88d4fde116100e1578063e0a808531161008a578063f2fde38b11610064578063f2fde38b14610845578063fa8de5c714610865578063fe2c7fee1461088557610308565b8063e0a80853146107e5578063e985e9c514610805578063f0f442601461082557610308565b8063cb97fca1116100bb578063cb97fca114610790578063d7224ba0146107b0578063dc33e681146107c557610308565b8063b88d4fde14610723578063c839fe9414610743578063c87b56dd1461077057610308565b80639231ab2a11610143578063a89da3731161011d578063a89da373146106d9578063aa1b103f146106f9578063ac4460021461070e57610308565b80639231ab2a1461067757806395d89b41146106a4578063a22cb465146106b957610308565b806383f24d4c1161017457806383f24d4c1461062d5780638a616bc0146106425780638da5cb5b1461066257610308565b8063715018a61461060357806375143ef21461061857610308565b8063309992131161025357806355f804b3116101fc5780635c1f1807116101d65780635c1f1807146105a35780636352211e146105c357806370a08231146105e357610308565b806355f804b3146105435780635944c753146105635780635b5803b91461058357610308565b806342842e0e1161022d57806342842e0e146104ee5780634f6ccce71461050e57806354214f691461052e57610308565b806330999213146104a657806330d9a62a146104b957806340c10f19146104ce57610308565b8063180b0d7e116102b55780632a55205a1161028f5780632a55205a146104385780632d20fb60146104665780632f745c591461048657610308565b8063180b0d7e146103d457806318160ddd146103f657806323b872dd1461041857610308565b806306fdde03116102e657806306fdde0314610365578063081812fc14610387578063095ea7b3146103b457610308565b806301ffc9a71461030d57806304634d8d1461034357610308565b3661030857005b600080fd5b34801561031957600080fd5b5061032d610328366004612bae565b6108a5565b60405161033a9190612eb6565b60405180910390f35b34801561034f57600080fd5b5061036361035e366004612b6b565b610987565b005b34801561037157600080fd5b5061037a610a1c565b60405161033a9190612ec1565b34801561039357600080fd5b506103a76103a2366004612c53565b610aae565b60405161033a9190612e09565b3480156103c057600080fd5b506103636103cf366004612b10565b610af1565b3480156103e057600080fd5b506103e9610b8a565b60405161033a91906139b9565b34801561040257600080fd5b5061040b610b99565b60405161033a9190613946565b34801561042457600080fd5b506103636104333660046129e0565b610b9f565b34801561044457600080fd5b50610458610453366004612d2a565b610baa565b60405161033a929190612e59565b34801561047257600080fd5b50610363610481366004612c53565b610c63565b34801561049257600080fd5b5061040b6104a1366004612b10565b610cd9565b6103636104b4366004612c6b565b610dfb565b3480156104c557600080fd5b506103a7610e84565b3480156104da57600080fd5b506103636104e9366004612b10565b610e93565b3480156104fa57600080fd5b506103636105093660046129e0565b610efd565b34801561051a57600080fd5b5061040b610529366004612c53565b610f18565b34801561053a57600080fd5b5061032d610f44565b34801561054f57600080fd5b5061036361055e366004612be6565b610f4d565b34801561056f57600080fd5b5061036361057e366004612cef565b611004565b34801561058f57600080fd5b5061036361059e366004612994565b611094565b3480156105af57600080fd5b506103636105be366004612b94565b6110f5565b3480156105cf57600080fd5b506103a76105de366004612c53565b611179565b3480156105ef57600080fd5b5061040b6105fe366004612994565b61118b565b34801561060f57600080fd5b506103636111d8565b34801561062457600080fd5b5061032d611223565b34801561063957600080fd5b506103a7611231565b34801561064e57600080fd5b5061036361065d366004612c53565b611240565b34801561066e57600080fd5b506103a76112b6565b34801561068357600080fd5b50610697610692366004612c53565b6112c5565b60405161033a919061391c565b3480156106b057600080fd5b5061037a6112d6565b3480156106c557600080fd5b506103636106d4366004612ae7565b6112e5565b3480156106e557600080fd5b5061032d6106f4366004612994565b6113b3565b34801561070557600080fd5b506103636113c8565b34801561071a57600080fd5b5061036361140f565b34801561072f57600080fd5b5061036361073e366004612a1b565b6114fb565b34801561074f57600080fd5b5061076361075e366004612b39565b611534565b60405161033a9190612e72565b34801561077c57600080fd5b5061037a61078b366004612c53565b611652565b34801561079c57600080fd5b506103636107ab366004612ae7565b6116f2565b3480156107bc57600080fd5b5061040b611785565b3480156107d157600080fd5b5061040b6107e0366004612994565b61178b565b3480156107f157600080fd5b50610363610800366004612b94565b611796565b34801561081157600080fd5b5061032d6108203660046129ae565b611812565b34801561083157600080fd5b50610363610840366004612994565b611840565b34801561085157600080fd5b50610363610860366004612994565b6118c9565b34801561087157600080fd5b50610363610880366004612be6565b61193a565b34801561089157600080fd5b506103636108a0366004612be6565b6119ca565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061090857506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061093c57506001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b8061097057506001600160e01b031982167f2baae9fd00000000000000000000000000000000000000000000000000000000145b8061097f575061097f82611a5a565b90505b919050565b61098f611a98565b6001600160a01b03166109a06112b6565b6001600160a01b0316146109cf5760405162461bcd60e51b81526004016109c6906132ad565b60405180910390fd5b6109d98282611a9c565b6040516001600160601b038216906001600160a01b038416907fa1edde4ed5c1392c90dccd8e051a4080b761850e49a24c77d826348a51e1f8dc90600090a35050565b606060048054610a2b90613ac5565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5790613ac5565b8015610aa45780601f10610a7957610100808354040283529160200191610aa4565b820191906000526020600020905b815481529060010190602001808311610a8757829003601f168201915b5050505050905090565b6000610ab982611b4b565b610ad55760405162461bcd60e51b81526004016109c69061382b565b506000908152600860205260409020546001600160a01b031690565b6000610afc82611179565b9050806001600160a01b0316836001600160a01b03161415610b305760405162461bcd60e51b81526004016109c69061340a565b806001600160a01b0316610b42611a98565b6001600160a01b03161480610b5e5750610b5e81610820611a98565b610b7a5760405162461bcd60e51b81526004016109c69061315f565b610b85838383611b52565b505050565b6000610b94611bae565b905090565b60035490565b610b85838383611bb4565b60008281526002602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610c1f5750604080518082019091526001546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6000610c29611bae565b6001600160601b031682602001516001600160601b031686610c4b9190613a24565b610c559190613a10565b915196919550909350505050565b610c6b611a98565b6001600160a01b0316610c7c6112b6565b6001600160a01b031614610ca25760405162461bcd60e51b81526004016109c6906132ad565b610cab81611ec8565b60405181907f63978e7bbb6bd665d16fcf4c4502864e3631a7433807e27ba66898ba73c6496390600090a250565b6000610ce3610b99565b8210610d015760405162461bcd60e51b81526004016109c690613467565b610d0a8361118b565b8210610d285760405162461bcd60e51b81526004016109c690612ed4565b6000610d32610b99565b905060008060005b83811015610ddc576000818152600660209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610d8d57805192505b876001600160a01b0316836001600160a01b03161415610dc95786841415610dbb57509350610df592505050565b83610dc581613b00565b9450505b5080610dd481613b00565b915050610d3a565b5060405162461bcd60e51b81526004016109c690613680565b92915050565b600d546040517ffb30f2bf0000000000000000000000000000000000000000000000000000000081526001600160a01b039091169063fb30f2bf903490610e4c90889088908890889060040161394f565b6000604051808303818588803b158015610e6557600080fd5b505af1158015610e79573d6000803e3d6000fd5b505050505050505050565b600c546001600160a01b031681565b336000908152600e602052604090205460ff16610ec25760405162461bcd60e51b81526004016109c690613376565b6002600b541415610ee55760405162461bcd60e51b81526004016109c690613797565b6002600b55610ef48282612053565b50506001600b55565b610b85838383604051806020016040528060008152506114fb565b6000610f22610b99565b8210610f405760405162461bcd60e51b81526004016109c690613048565b5090565b600f5460ff1681565b610f55611a98565b6001600160a01b0316610f666112b6565b6001600160a01b031614610f8c5760405162461bcd60e51b81526004016109c6906132ad565b600f54610100900460ff16610fb35760405162461bcd60e51b81526004016109c69061373a565b610fbf601083836128aa565b508181604051610fd0929190612d77565b604051908190038120907f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa90600090a25050565b61100c611a98565b6001600160a01b031661101d6112b6565b6001600160a01b0316146110435760405162461bcd60e51b81526004016109c6906132ad565b61104e838383612071565b806001600160601b0316826001600160a01b0316847f2595213009f64247e2789cf9981bcc53ee736a6aa52042a651aa1549ae6fff6160405160405180910390a4505050565b61109c611a98565b6001600160a01b03166110ad6112b6565b6001600160a01b0316146110d35760405162461bcd60e51b81526004016109c6906132ad565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6110fd611a98565b6001600160a01b031661110e6112b6565b6001600160a01b0316146111345760405162461bcd60e51b81526004016109c6906132ad565b600f805461ff001916610100831515908102919091179091556040517ff905f0088811c65c3d6b98eee219bed12b48dd9d3bbe131fe15b99fbdbb6f60790600090a250565b60006111848261212d565b5192915050565b60006001600160a01b0382166111b35760405162461bcd60e51b81526004016109c6906131f3565b506001600160a01b03166000908152600760205260409020546001600160801b031690565b6111e0611a98565b6001600160a01b03166111f16112b6565b6001600160a01b0316146112175760405162461bcd60e51b81526004016109c6906132ad565b6112216000612240565b565b600f54610100900460ff1681565b600d546001600160a01b031681565b611248611a98565b6001600160a01b03166112596112b6565b6001600160a01b03161461127f5760405162461bcd60e51b81526004016109c6906132ad565b61128881612290565b60405181907f2d0c64cb223c165096aa5260f0c4f12caf09469f917f6139ff17e1795a01225d90600090a250565b6000546001600160a01b031690565b6112cd61292a565b61097f8261212d565b606060058054610a2b90613ac5565b6112ed611a98565b6001600160a01b0316826001600160a01b0316141561131e5760405162461bcd60e51b81526004016109c69061333f565b806009600061132b611a98565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561136f611a98565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113a79190612eb6565b60405180910390a35050565b600e6020526000908152604090205460ff1681565b6113d0611a98565b6001600160a01b03166113e16112b6565b6001600160a01b0316146114075760405162461bcd60e51b81526004016109c6906132ad565b6112216122a1565b611417611a98565b6001600160a01b03166114286112b6565b6001600160a01b03161461144e5760405162461bcd60e51b81526004016109c6906132ad565b600c546040516000916001600160a01b031690479061146c90612e06565b60006040518083038185875af1925050503d80600081146114a9576040519150601f19603f3d011682016040523d82523d6000602084013e6114ae565b606091505b50509050806114cf5760405162461bcd60e51b81526004016109c6906134c4565b6040517fb6c58ac2c9469c7de2607e230e2b25bd83bb307d5c8dad8e68a726509e6d432f90600090a150565b611506848484611bb4565b611512848484846122a8565b61152e5760405162461bcd60e51b81526004016109c6906134fb565b50505050565b606060006115418561118b565b90508061155e57505060408051600081526020810190915261164b565b60008167ffffffffffffffff81111561158757634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156115b0578160200160208202803683370190505b50905060006115bd610b99565b9050600080828711156115ce578296505b50865b8681101561164357886001600160a01b03166115ec82611179565b6001600160a01b03161415611633578084838151811061161c57634e487b7160e01b600052603260045260246000fd5b602090810291909101015261163082613b00565b91505b61163c81613b00565b90506115d1565b509193505050505b9392505050565b606061165d82611b4b565b6116795760405162461bcd60e51b81526004016109c6906132e2565b60006116836123dd565b9050600061168f6123ec565b9050600061169b6123fb565b600f5490915060ff16156116df57826116b38661240a565b826040516020016116c693929190612d87565b6040516020818303038152906040529350505050610982565b81816040516020016116c6929190612dca565b6116fa611a98565b6001600160a01b031661170b6112b6565b6001600160a01b0316146117315760405162461bcd60e51b81526004016109c6906132ad565b6001600160a01b0382166000818152600e6020526040808220805460ff191685151590811790915590519092917f307b0e6c4e436d6ecea33164555a3eaff43103a084b774e1df66c0718486ec1691a35050565b600a5481565b600061097f8261253d565b61179e611a98565b6001600160a01b03166117af6112b6565b6001600160a01b0316146117d55760405162461bcd60e51b81526004016109c6906132ad565b600f805460ff19168215159081179091556040517f47ae3db957b6f3cb6833ac96788154df5ae2f29502e5a710b933c85e2ae32cef90600090a250565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b611848611a98565b6001600160a01b03166118596112b6565b6001600160a01b03161461187f5760405162461bcd60e51b81526004016109c6906132ad565b600c80546001600160a01b0319166001600160a01b0383169081179091556040517fcb7ef3e545f5cdb893f5c568ba710fe08f336375a2d9fd66e161033f8fc09ef390600090a250565b6118d1611a98565b6001600160a01b03166118e26112b6565b6001600160a01b0316146119085760405162461bcd60e51b81526004016109c6906132ad565b6001600160a01b03811661192e5760405162461bcd60e51b81526004016109c690612f8e565b61193781612240565b50565b611942611a98565b6001600160a01b03166119536112b6565b6001600160a01b0316146119795760405162461bcd60e51b81526004016109c6906132ad565b611985601283836128aa565b508181604051611996929190612d77565b604051908190038120907f14ddf6549dfeae27cc1d430b4eaad9eec900623d0c765ae6dba72ebf3c72341d90600090a25050565b6119d2611a98565b6001600160a01b03166119e36112b6565b6001600160a01b031614611a095760405162461bcd60e51b81526004016109c6906132ad565b611a15601183836128aa565b508181604051611a26929190612d77565b604051908190038120907facdfdd5724262f924ad56bda437d11c6cfe8ca3d58440f1052b335217431ba7e90600090a25050565b60006001600160e01b031982167f2a55205a00000000000000000000000000000000000000000000000000000000148061097f575061097f82612591565b3390565b611aa4611bae565b6001600160601b0316816001600160601b03161115611ad55760405162461bcd60e51b81526004016109c690613623565b6001600160a01b038216611afb5760405162461bcd60e51b81526004016109c690613888565b604080518082019091526001600160a01b039283168082526001600160601b03929092166020909101819052600180546001600160a01b031916909217909216600160a01b909202919091179055565b6003541190565b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61271090565b6000611bbf8261212d565b9050600081600001516001600160a01b0316611bd9611a98565b6001600160a01b03161480611c0e5750611bf1611a98565b6001600160a01b0316611c0384610aae565b6001600160a01b0316145b80611c2257508151611c2290610820611a98565b905080611c415760405162461bcd60e51b81526004016109c6906133ad565b846001600160a01b031682600001516001600160a01b031614611c765760405162461bcd60e51b81526004016109c690613250565b6001600160a01b038416611c9c5760405162461bcd60e51b81526004016109c6906130a5565b611ca9858585600161152e565b611cb96000848460000151611b52565b6001600160a01b0385166000908152600760205260408120805460019290611ceb9084906001600160801b0316613a43565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b03861660009081526007602052604081208054600194509092611d37918591166139cd565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526006909152948520935184549151909216600160a01b0267ffffffffffffffff60a01b19929093166001600160a01b03199091161716179055611dcd8460016139f8565b6000818152600660205260409020549091506001600160a01b0316611e7257611df581611b4b565b15611e725760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff90811682850190815260008781526006909352949091209251835494516001600160a01b031990951692169190911767ffffffffffffffff60a01b1916600160a01b93909116929092029190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611ec0868686600161152e565b505050505050565b600a5481611ee85760405162461bcd60e51b81526004016109c6906131bc565b60006001611ef684846139f8565b611f009190613a6b565b9050611f2d60017f0000000000000000000000000000000000000000000000000000000000000000613a6b565b811115611f6257611f5f60017f0000000000000000000000000000000000000000000000000000000000000000613a6b565b90505b611f6b81611b4b565b611f875760405162461bcd60e51b81526004016109c6906136dd565b815b81811161203f576000818152600660205260409020546001600160a01b031661202d576000611fb78261212d565b60408051808201825282516001600160a01b03908116825260209384015167ffffffffffffffff90811685840190815260008881526006909652939094209151825493516001600160a01b031990941691161767ffffffffffffffff60a01b1916600160a01b9290931691909102919091179055505b8061203781613b00565b915050611f89565b5061204b8160016139f8565b600a55505050565b61206d8282604051806020016040528060008152506125c3565b5050565b612079611bae565b6001600160601b0316816001600160601b031611156120aa5760405162461bcd60e51b81526004016109c690613623565b6001600160a01b0382166120d05760405162461bcd60e51b81526004016109c69061358f565b6040805180820182526001600160a01b0393841681526001600160601b03928316602080830191825260009687526002905291909420935184549151909216600160a01b029183166001600160a01b031990911617909116179055565b61213561292a565b61213e82611b4b565b61215a5760405162461bcd60e51b81526004016109c690612feb565b60007f000000000000000000000000000000000000000000000000000000000000000083106121bb576121ad7f000000000000000000000000000000000000000000000000000000000000000084613a6b565b6121b89060016139f8565b90505b825b818110612227576000818152600660209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215612214579250610982915050565b508061221f81613aae565b9150506121bd565b5060405162461bcd60e51b81526004016109c6906137ce565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600090815260026020526040812055565b6000600155565b60006122bc846001600160a01b03166128a4565b156123d157836001600160a01b031663150b7a026122d8611a98565b8786866040518563ffffffff1660e01b81526004016122fa9493929190612e1d565b602060405180830381600087803b15801561231457600080fd5b505af1925050508015612344575060408051601f3d908101601f1916820190925261234191810190612bca565b60015b61239e573d808015612372576040519150601f19603f3d011682016040523d82523d6000602084013e612377565b606091505b5080516123965760405162461bcd60e51b81526004016109c6906134fb565b805181602001fd5b6001600160e01b0319167f150b7a02000000000000000000000000000000000000000000000000000000001490506123d5565b5060015b949350505050565b606060108054610a2b90613ac5565b606060118054610a2b90613ac5565b606060128054610a2b90613ac5565b60608161242f57506040805180820190915260018152600360fc1b6020820152610982565b8160005b8115612459578061244381613b00565b91506124529050600a83613a10565b9150612433565b60008167ffffffffffffffff81111561248257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156124ac576020820181803683370190505b5090505b84156123d5576124c1600183613a6b565b91506124ce600a86613b1b565b6124d99060306139f8565b60f81b8183815181106124fc57634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612536600a86613a10565b94506124b0565b60006001600160a01b0382166125655760405162461bcd60e51b81526004016109c690613102565b506001600160a01b0316600090815260076020526040902054600160801b90046001600160801b031690565b6001600160e01b031981167f01ffc9a70000000000000000000000000000000000000000000000000000000014919050565b60035460006125d0610b99565b90506001600160a01b0385166125f85760405162461bcd60e51b81526004016109c6906135c6565b61260182611b4b565b1561261e5760405162461bcd60e51b81526004016109c690613558565b7f000000000000000000000000000000000000000000000000000000000000000084111561265e5760405162461bcd60e51b81526004016109c6906138bf565b7f000000000000000000000000000000000000000000000000000000000000000061268985836139f8565b11156126a75760405162461bcd60e51b81526004016109c690612f31565b6126b4600086848761152e565b6001600160a01b0385166000908152600760209081526040918290208251808401845290546001600160801b038082168352600160801b90910416918101919091528151808301909252805190919081906127109088906139cd565b6001600160801b0316815260200186836020015161272e91906139cd565b6001600160801b039081169091526001600160a01b03808916600081815260076020908152604080832087518154988401518816600160801b029088167fffffffffffffffffffffffffffffffff0000000000000000000000000000000090991698909817909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528983526006909552948120915182549451909516600160a01b0267ffffffffffffffff60a01b19959093166001600160a01b031990941693909317939093161790915583905b868110156128885760405182906001600160a01b038a16906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461284c60008984896122a8565b6128685760405162461bcd60e51b81526004016109c6906134fb565b8161287281613b00565b925050808061288090613b00565b9150506127ff565b50600381905561289b600088868961152e565b50505050505050565b3b151590565b8280546128b690613ac5565b90600052602060002090601f0160209004810192826128d8576000855561291e565b82601f106128f15782800160ff1982351617855561291e565b8280016001018555821561291e579182015b8281111561291e578235825591602001919060010190612903565b50610f40929150612941565b604080518082019091526000808252602082015290565b5b80821115610f405760008155600101612942565b80356001600160a01b038116811461098257600080fd5b8035801515811461098257600080fd5b80356001600160601b038116811461098257600080fd5b6000602082840312156129a5578081fd5b61164b82612956565b600080604083850312156129c0578081fd5b6129c983612956565b91506129d760208401612956565b90509250929050565b6000806000606084860312156129f4578081fd5b6129fd84612956565b9250612a0b60208501612956565b9150604084013590509250925092565b60008060008060808587031215612a30578081fd5b612a3985612956565b93506020612a48818701612956565b935060408601359250606086013567ffffffffffffffff80821115612a6b578384fd5b818801915088601f830112612a7e578384fd5b813581811115612a9057612a90613b5b565b604051601f8201601f1916810185018381118282101715612ab357612ab3613b5b565b60405281815283820185018b1015612ac9578586fd5b81858501868301379081019093019390935250939692955090935050565b60008060408385031215612af9578182fd5b612b0283612956565b91506129d76020840161296d565b60008060408385031215612b22578182fd5b612b2b83612956565b946020939093013593505050565b600080600060608486031215612b4d578283fd5b612b5684612956565b95602085013595506040909401359392505050565b60008060408385031215612b7d578182fd5b612b8683612956565b91506129d76020840161297d565b600060208284031215612ba5578081fd5b61164b8261296d565b600060208284031215612bbf578081fd5b813561164b81613b71565b600060208284031215612bdb578081fd5b815161164b81613b71565b60008060208385031215612bf8578182fd5b823567ffffffffffffffff80821115612c0f578384fd5b818501915085601f830112612c22578384fd5b813581811115612c30578485fd5b866020828501011115612c41578485fd5b60209290920196919550909350505050565b600060208284031215612c64578081fd5b5035919050565b60008060008060608587031215612c80578182fd5b84359350612c9060208601612956565b9250604085013567ffffffffffffffff80821115612cac578384fd5b818701915087601f830112612cbf578384fd5b813581811115612ccd578485fd5b8860208083028501011115612ce0578485fd5b95989497505060200194505050565b600080600060608486031215612d03578081fd5b83359250612d1360208501612956565b9150612d216040850161297d565b90509250925092565b60008060408385031215612d3c578182fd5b50508035926020909101359150565b60008151808452612d63816020860160208601613a82565b601f01601f19169290920160200192915050565b6000828483379101908152919050565b60008451612d99818460208901613a82565b845190830190612dad818360208901613a82565b8451910190612dc0818360208801613a82565b0195945050505050565b60008351612ddc818460208801613a82565b600360fc1b9083019081528351612dfa816001840160208801613a82565b01600101949350505050565b90565b6001600160a01b0391909116815260200190565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612e4f6080830184612d4b565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b81811015612eaa57835183529284019291840191600101612e8e565b50909695505050505050565b901515815260200190565b60006020825261164b6020830184612d4b565b60208082526022908201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60408201527f6473000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526037908201527f455243373231413a2063616e206e6f74206d696e742074686174206d616e792060408201527f4e46547320696e207468697320636f6c6c656374696f6e000000000000000000606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602a908201527f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360408201527f74656e7420746f6b656e00000000000000000000000000000000000000000000606082015260800190565b60208082526023908201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560408201527f6e64730000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f455243373231413a207472616e7366657220746f20746865207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526031908201527f455243373231413a206e756d626572206d696e74656420717565727920666f7260408201527f20746865207a65726f2061646472657373000000000000000000000000000000606082015260800190565b60208082526039908201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000606082015260800190565b60208082526018908201527f7175616e74697479206d757374206265206e6f6e7a65726f0000000000000000604082015260600190565b6020808252602b908201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60408201527f65726f2061646472657373000000000000000000000000000000000000000000606082015260800190565b60208082526026908201527f455243373231413a207472616e736665722066726f6d20696e636f727265637460408201527f206f776e65720000000000000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606082015260800190565b6020808252601a908201527f455243373231413a20617070726f766520746f2063616c6c6572000000000000604082015260600190565b60208082526011908201527f596f752063616e2774206d696e74203b29000000000000000000000000000000604082015260600190565b60208082526032908201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060408201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000606082015260800190565b60208082526022908201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60408201527f6572000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252603d908201527f455243373231413a2077652063616e6e6f742073656172636820666f7220766160408201527f6c7565732067726561746572207468616e20746f74616c537570706c79000000606082015260800190565b60208082526010908201527f5472616e73666572206661696c65642e00000000000000000000000000000000604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527f6563656976657220696d706c656d656e74657200000000000000000000000000606082015260800190565b6020808252601d908201527f455243373231413a20746f6b656e20616c7265616479206d696e746564000000604082015260600190565b6020808252601b908201527f455243323938313a20496e76616c696420706172616d65746572730000000000604082015260600190565b60208082526021908201527f455243373231413a206d696e7420746f20746865207a65726f2061646472657360408201527f7300000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460408201527f2073616c65507269636500000000000000000000000000000000000000000000606082015260800190565b6020808252602e908201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060408201527f6f776e657220627920696e646578000000000000000000000000000000000000606082015260800190565b60208082526026908201527f6e6f7420656e6f756768206d696e7465642079657420666f722074686973206360408201527f6c65616e75700000000000000000000000000000000000000000000000000000606082015260800190565b60208082526027908201527f55746f7069613a206d696e74696e67206d75737420626520636f6d706c65746560408201527f6420666972737400000000000000000000000000000000000000000000000000606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252602f908201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560408201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000606082015260800190565b6020808252602d908201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560408201527f78697374656e7420746f6b656e00000000000000000000000000000000000000606082015260800190565b60208082526019908201527f455243323938313a20696e76616c696420726563656976657200000000000000604082015260600190565b60208082526022908201527f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960408201527f6768000000000000000000000000000000000000000000000000000000000000606082015260800190565b81516001600160a01b0316815260209182015167ffffffffffffffff169181019190915260400190565b90815260200190565b60008582526001600160a01b0385166020830152606060408301528260608301527f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83111561399c578081fd5b602083028085608085013791909101608001908152949350505050565b6001600160601b0391909116815260200190565b60006001600160801b038083168185168083038211156139ef576139ef613b2f565b01949350505050565b60008219821115613a0b57613a0b613b2f565b500190565b600082613a1f57613a1f613b45565b500490565b6000816000190483118215151615613a3e57613a3e613b2f565b500290565b60006001600160801b0383811690831681811015613a6357613a63613b2f565b039392505050565b600082821015613a7d57613a7d613b2f565b500390565b60005b83811015613a9d578181015183820152602001613a85565b8381111561152e5750506000910152565b600081613abd57613abd613b2f565b506000190190565b600281046001821680613ad957607f821691505b60208210811415613afa57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613b1457613b14613b2f565b5060010190565b600082613b2a57613b2a613b45565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461193757600080fdfea26469706673582212207a514475670a67276a87983c639702674282586d04f3e62ec02b31c3451d207364736f6c63430008000033455243373231413a206d61782062617463682073697a65206d75737420626520000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000026c2

Deployed Bytecode

0x6080604052600436106103015760003560e01c8063715018a61161018f578063b88d4fde116100e1578063e0a808531161008a578063f2fde38b11610064578063f2fde38b14610845578063fa8de5c714610865578063fe2c7fee1461088557610308565b8063e0a80853146107e5578063e985e9c514610805578063f0f442601461082557610308565b8063cb97fca1116100bb578063cb97fca114610790578063d7224ba0146107b0578063dc33e681146107c557610308565b8063b88d4fde14610723578063c839fe9414610743578063c87b56dd1461077057610308565b80639231ab2a11610143578063a89da3731161011d578063a89da373146106d9578063aa1b103f146106f9578063ac4460021461070e57610308565b80639231ab2a1461067757806395d89b41146106a4578063a22cb465146106b957610308565b806383f24d4c1161017457806383f24d4c1461062d5780638a616bc0146106425780638da5cb5b1461066257610308565b8063715018a61461060357806375143ef21461061857610308565b8063309992131161025357806355f804b3116101fc5780635c1f1807116101d65780635c1f1807146105a35780636352211e146105c357806370a08231146105e357610308565b806355f804b3146105435780635944c753146105635780635b5803b91461058357610308565b806342842e0e1161022d57806342842e0e146104ee5780634f6ccce71461050e57806354214f691461052e57610308565b806330999213146104a657806330d9a62a146104b957806340c10f19146104ce57610308565b8063180b0d7e116102b55780632a55205a1161028f5780632a55205a146104385780632d20fb60146104665780632f745c591461048657610308565b8063180b0d7e146103d457806318160ddd146103f657806323b872dd1461041857610308565b806306fdde03116102e657806306fdde0314610365578063081812fc14610387578063095ea7b3146103b457610308565b806301ffc9a71461030d57806304634d8d1461034357610308565b3661030857005b600080fd5b34801561031957600080fd5b5061032d610328366004612bae565b6108a5565b60405161033a9190612eb6565b60405180910390f35b34801561034f57600080fd5b5061036361035e366004612b6b565b610987565b005b34801561037157600080fd5b5061037a610a1c565b60405161033a9190612ec1565b34801561039357600080fd5b506103a76103a2366004612c53565b610aae565b60405161033a9190612e09565b3480156103c057600080fd5b506103636103cf366004612b10565b610af1565b3480156103e057600080fd5b506103e9610b8a565b60405161033a91906139b9565b34801561040257600080fd5b5061040b610b99565b60405161033a9190613946565b34801561042457600080fd5b506103636104333660046129e0565b610b9f565b34801561044457600080fd5b50610458610453366004612d2a565b610baa565b60405161033a929190612e59565b34801561047257600080fd5b50610363610481366004612c53565b610c63565b34801561049257600080fd5b5061040b6104a1366004612b10565b610cd9565b6103636104b4366004612c6b565b610dfb565b3480156104c557600080fd5b506103a7610e84565b3480156104da57600080fd5b506103636104e9366004612b10565b610e93565b3480156104fa57600080fd5b506103636105093660046129e0565b610efd565b34801561051a57600080fd5b5061040b610529366004612c53565b610f18565b34801561053a57600080fd5b5061032d610f44565b34801561054f57600080fd5b5061036361055e366004612be6565b610f4d565b34801561056f57600080fd5b5061036361057e366004612cef565b611004565b34801561058f57600080fd5b5061036361059e366004612994565b611094565b3480156105af57600080fd5b506103636105be366004612b94565b6110f5565b3480156105cf57600080fd5b506103a76105de366004612c53565b611179565b3480156105ef57600080fd5b5061040b6105fe366004612994565b61118b565b34801561060f57600080fd5b506103636111d8565b34801561062457600080fd5b5061032d611223565b34801561063957600080fd5b506103a7611231565b34801561064e57600080fd5b5061036361065d366004612c53565b611240565b34801561066e57600080fd5b506103a76112b6565b34801561068357600080fd5b50610697610692366004612c53565b6112c5565b60405161033a919061391c565b3480156106b057600080fd5b5061037a6112d6565b3480156106c557600080fd5b506103636106d4366004612ae7565b6112e5565b3480156106e557600080fd5b5061032d6106f4366004612994565b6113b3565b34801561070557600080fd5b506103636113c8565b34801561071a57600080fd5b5061036361140f565b34801561072f57600080fd5b5061036361073e366004612a1b565b6114fb565b34801561074f57600080fd5b5061076361075e366004612b39565b611534565b60405161033a9190612e72565b34801561077c57600080fd5b5061037a61078b366004612c53565b611652565b34801561079c57600080fd5b506103636107ab366004612ae7565b6116f2565b3480156107bc57600080fd5b5061040b611785565b3480156107d157600080fd5b5061040b6107e0366004612994565b61178b565b3480156107f157600080fd5b50610363610800366004612b94565b611796565b34801561081157600080fd5b5061032d6108203660046129ae565b611812565b34801561083157600080fd5b50610363610840366004612994565b611840565b34801561085157600080fd5b50610363610860366004612994565b6118c9565b34801561087157600080fd5b50610363610880366004612be6565b61193a565b34801561089157600080fd5b506103636108a0366004612be6565b6119ca565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061090857506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061093c57506001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b8061097057506001600160e01b031982167f2baae9fd00000000000000000000000000000000000000000000000000000000145b8061097f575061097f82611a5a565b90505b919050565b61098f611a98565b6001600160a01b03166109a06112b6565b6001600160a01b0316146109cf5760405162461bcd60e51b81526004016109c6906132ad565b60405180910390fd5b6109d98282611a9c565b6040516001600160601b038216906001600160a01b038416907fa1edde4ed5c1392c90dccd8e051a4080b761850e49a24c77d826348a51e1f8dc90600090a35050565b606060048054610a2b90613ac5565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5790613ac5565b8015610aa45780601f10610a7957610100808354040283529160200191610aa4565b820191906000526020600020905b815481529060010190602001808311610a8757829003601f168201915b5050505050905090565b6000610ab982611b4b565b610ad55760405162461bcd60e51b81526004016109c69061382b565b506000908152600860205260409020546001600160a01b031690565b6000610afc82611179565b9050806001600160a01b0316836001600160a01b03161415610b305760405162461bcd60e51b81526004016109c69061340a565b806001600160a01b0316610b42611a98565b6001600160a01b03161480610b5e5750610b5e81610820611a98565b610b7a5760405162461bcd60e51b81526004016109c69061315f565b610b85838383611b52565b505050565b6000610b94611bae565b905090565b60035490565b610b85838383611bb4565b60008281526002602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610c1f5750604080518082019091526001546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6000610c29611bae565b6001600160601b031682602001516001600160601b031686610c4b9190613a24565b610c559190613a10565b915196919550909350505050565b610c6b611a98565b6001600160a01b0316610c7c6112b6565b6001600160a01b031614610ca25760405162461bcd60e51b81526004016109c6906132ad565b610cab81611ec8565b60405181907f63978e7bbb6bd665d16fcf4c4502864e3631a7433807e27ba66898ba73c6496390600090a250565b6000610ce3610b99565b8210610d015760405162461bcd60e51b81526004016109c690613467565b610d0a8361118b565b8210610d285760405162461bcd60e51b81526004016109c690612ed4565b6000610d32610b99565b905060008060005b83811015610ddc576000818152600660209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610d8d57805192505b876001600160a01b0316836001600160a01b03161415610dc95786841415610dbb57509350610df592505050565b83610dc581613b00565b9450505b5080610dd481613b00565b915050610d3a565b5060405162461bcd60e51b81526004016109c690613680565b92915050565b600d546040517ffb30f2bf0000000000000000000000000000000000000000000000000000000081526001600160a01b039091169063fb30f2bf903490610e4c90889088908890889060040161394f565b6000604051808303818588803b158015610e6557600080fd5b505af1158015610e79573d6000803e3d6000fd5b505050505050505050565b600c546001600160a01b031681565b336000908152600e602052604090205460ff16610ec25760405162461bcd60e51b81526004016109c690613376565b6002600b541415610ee55760405162461bcd60e51b81526004016109c690613797565b6002600b55610ef48282612053565b50506001600b55565b610b85838383604051806020016040528060008152506114fb565b6000610f22610b99565b8210610f405760405162461bcd60e51b81526004016109c690613048565b5090565b600f5460ff1681565b610f55611a98565b6001600160a01b0316610f666112b6565b6001600160a01b031614610f8c5760405162461bcd60e51b81526004016109c6906132ad565b600f54610100900460ff16610fb35760405162461bcd60e51b81526004016109c69061373a565b610fbf601083836128aa565b508181604051610fd0929190612d77565b604051908190038120907f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa90600090a25050565b61100c611a98565b6001600160a01b031661101d6112b6565b6001600160a01b0316146110435760405162461bcd60e51b81526004016109c6906132ad565b61104e838383612071565b806001600160601b0316826001600160a01b0316847f2595213009f64247e2789cf9981bcc53ee736a6aa52042a651aa1549ae6fff6160405160405180910390a4505050565b61109c611a98565b6001600160a01b03166110ad6112b6565b6001600160a01b0316146110d35760405162461bcd60e51b81526004016109c6906132ad565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6110fd611a98565b6001600160a01b031661110e6112b6565b6001600160a01b0316146111345760405162461bcd60e51b81526004016109c6906132ad565b600f805461ff001916610100831515908102919091179091556040517ff905f0088811c65c3d6b98eee219bed12b48dd9d3bbe131fe15b99fbdbb6f60790600090a250565b60006111848261212d565b5192915050565b60006001600160a01b0382166111b35760405162461bcd60e51b81526004016109c6906131f3565b506001600160a01b03166000908152600760205260409020546001600160801b031690565b6111e0611a98565b6001600160a01b03166111f16112b6565b6001600160a01b0316146112175760405162461bcd60e51b81526004016109c6906132ad565b6112216000612240565b565b600f54610100900460ff1681565b600d546001600160a01b031681565b611248611a98565b6001600160a01b03166112596112b6565b6001600160a01b03161461127f5760405162461bcd60e51b81526004016109c6906132ad565b61128881612290565b60405181907f2d0c64cb223c165096aa5260f0c4f12caf09469f917f6139ff17e1795a01225d90600090a250565b6000546001600160a01b031690565b6112cd61292a565b61097f8261212d565b606060058054610a2b90613ac5565b6112ed611a98565b6001600160a01b0316826001600160a01b0316141561131e5760405162461bcd60e51b81526004016109c69061333f565b806009600061132b611a98565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561136f611a98565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113a79190612eb6565b60405180910390a35050565b600e6020526000908152604090205460ff1681565b6113d0611a98565b6001600160a01b03166113e16112b6565b6001600160a01b0316146114075760405162461bcd60e51b81526004016109c6906132ad565b6112216122a1565b611417611a98565b6001600160a01b03166114286112b6565b6001600160a01b03161461144e5760405162461bcd60e51b81526004016109c6906132ad565b600c546040516000916001600160a01b031690479061146c90612e06565b60006040518083038185875af1925050503d80600081146114a9576040519150601f19603f3d011682016040523d82523d6000602084013e6114ae565b606091505b50509050806114cf5760405162461bcd60e51b81526004016109c6906134c4565b6040517fb6c58ac2c9469c7de2607e230e2b25bd83bb307d5c8dad8e68a726509e6d432f90600090a150565b611506848484611bb4565b611512848484846122a8565b61152e5760405162461bcd60e51b81526004016109c6906134fb565b50505050565b606060006115418561118b565b90508061155e57505060408051600081526020810190915261164b565b60008167ffffffffffffffff81111561158757634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156115b0578160200160208202803683370190505b50905060006115bd610b99565b9050600080828711156115ce578296505b50865b8681101561164357886001600160a01b03166115ec82611179565b6001600160a01b03161415611633578084838151811061161c57634e487b7160e01b600052603260045260246000fd5b602090810291909101015261163082613b00565b91505b61163c81613b00565b90506115d1565b509193505050505b9392505050565b606061165d82611b4b565b6116795760405162461bcd60e51b81526004016109c6906132e2565b60006116836123dd565b9050600061168f6123ec565b9050600061169b6123fb565b600f5490915060ff16156116df57826116b38661240a565b826040516020016116c693929190612d87565b6040516020818303038152906040529350505050610982565b81816040516020016116c6929190612dca565b6116fa611a98565b6001600160a01b031661170b6112b6565b6001600160a01b0316146117315760405162461bcd60e51b81526004016109c6906132ad565b6001600160a01b0382166000818152600e6020526040808220805460ff191685151590811790915590519092917f307b0e6c4e436d6ecea33164555a3eaff43103a084b774e1df66c0718486ec1691a35050565b600a5481565b600061097f8261253d565b61179e611a98565b6001600160a01b03166117af6112b6565b6001600160a01b0316146117d55760405162461bcd60e51b81526004016109c6906132ad565b600f805460ff19168215159081179091556040517f47ae3db957b6f3cb6833ac96788154df5ae2f29502e5a710b933c85e2ae32cef90600090a250565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b611848611a98565b6001600160a01b03166118596112b6565b6001600160a01b03161461187f5760405162461bcd60e51b81526004016109c6906132ad565b600c80546001600160a01b0319166001600160a01b0383169081179091556040517fcb7ef3e545f5cdb893f5c568ba710fe08f336375a2d9fd66e161033f8fc09ef390600090a250565b6118d1611a98565b6001600160a01b03166118e26112b6565b6001600160a01b0316146119085760405162461bcd60e51b81526004016109c6906132ad565b6001600160a01b03811661192e5760405162461bcd60e51b81526004016109c690612f8e565b61193781612240565b50565b611942611a98565b6001600160a01b03166119536112b6565b6001600160a01b0316146119795760405162461bcd60e51b81526004016109c6906132ad565b611985601283836128aa565b508181604051611996929190612d77565b604051908190038120907f14ddf6549dfeae27cc1d430b4eaad9eec900623d0c765ae6dba72ebf3c72341d90600090a25050565b6119d2611a98565b6001600160a01b03166119e36112b6565b6001600160a01b031614611a095760405162461bcd60e51b81526004016109c6906132ad565b611a15601183836128aa565b508181604051611a26929190612d77565b604051908190038120907facdfdd5724262f924ad56bda437d11c6cfe8ca3d58440f1052b335217431ba7e90600090a25050565b60006001600160e01b031982167f2a55205a00000000000000000000000000000000000000000000000000000000148061097f575061097f82612591565b3390565b611aa4611bae565b6001600160601b0316816001600160601b03161115611ad55760405162461bcd60e51b81526004016109c690613623565b6001600160a01b038216611afb5760405162461bcd60e51b81526004016109c690613888565b604080518082019091526001600160a01b039283168082526001600160601b03929092166020909101819052600180546001600160a01b031916909217909216600160a01b909202919091179055565b6003541190565b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61271090565b6000611bbf8261212d565b9050600081600001516001600160a01b0316611bd9611a98565b6001600160a01b03161480611c0e5750611bf1611a98565b6001600160a01b0316611c0384610aae565b6001600160a01b0316145b80611c2257508151611c2290610820611a98565b905080611c415760405162461bcd60e51b81526004016109c6906133ad565b846001600160a01b031682600001516001600160a01b031614611c765760405162461bcd60e51b81526004016109c690613250565b6001600160a01b038416611c9c5760405162461bcd60e51b81526004016109c6906130a5565b611ca9858585600161152e565b611cb96000848460000151611b52565b6001600160a01b0385166000908152600760205260408120805460019290611ceb9084906001600160801b0316613a43565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b03861660009081526007602052604081208054600194509092611d37918591166139cd565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526006909152948520935184549151909216600160a01b0267ffffffffffffffff60a01b19929093166001600160a01b03199091161716179055611dcd8460016139f8565b6000818152600660205260409020549091506001600160a01b0316611e7257611df581611b4b565b15611e725760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff90811682850190815260008781526006909352949091209251835494516001600160a01b031990951692169190911767ffffffffffffffff60a01b1916600160a01b93909116929092029190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611ec0868686600161152e565b505050505050565b600a5481611ee85760405162461bcd60e51b81526004016109c6906131bc565b60006001611ef684846139f8565b611f009190613a6b565b9050611f2d60017f00000000000000000000000000000000000000000000000000000000000026c2613a6b565b811115611f6257611f5f60017f00000000000000000000000000000000000000000000000000000000000026c2613a6b565b90505b611f6b81611b4b565b611f875760405162461bcd60e51b81526004016109c6906136dd565b815b81811161203f576000818152600660205260409020546001600160a01b031661202d576000611fb78261212d565b60408051808201825282516001600160a01b03908116825260209384015167ffffffffffffffff90811685840190815260008881526006909652939094209151825493516001600160a01b031990941691161767ffffffffffffffff60a01b1916600160a01b9290931691909102919091179055505b8061203781613b00565b915050611f89565b5061204b8160016139f8565b600a55505050565b61206d8282604051806020016040528060008152506125c3565b5050565b612079611bae565b6001600160601b0316816001600160601b031611156120aa5760405162461bcd60e51b81526004016109c690613623565b6001600160a01b0382166120d05760405162461bcd60e51b81526004016109c69061358f565b6040805180820182526001600160a01b0393841681526001600160601b03928316602080830191825260009687526002905291909420935184549151909216600160a01b029183166001600160a01b031990911617909116179055565b61213561292a565b61213e82611b4b565b61215a5760405162461bcd60e51b81526004016109c690612feb565b60007f000000000000000000000000000000000000000000000000000000000000003283106121bb576121ad7f000000000000000000000000000000000000000000000000000000000000003284613a6b565b6121b89060016139f8565b90505b825b818110612227576000818152600660209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215612214579250610982915050565b508061221f81613aae565b9150506121bd565b5060405162461bcd60e51b81526004016109c6906137ce565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600090815260026020526040812055565b6000600155565b60006122bc846001600160a01b03166128a4565b156123d157836001600160a01b031663150b7a026122d8611a98565b8786866040518563ffffffff1660e01b81526004016122fa9493929190612e1d565b602060405180830381600087803b15801561231457600080fd5b505af1925050508015612344575060408051601f3d908101601f1916820190925261234191810190612bca565b60015b61239e573d808015612372576040519150601f19603f3d011682016040523d82523d6000602084013e612377565b606091505b5080516123965760405162461bcd60e51b81526004016109c6906134fb565b805181602001fd5b6001600160e01b0319167f150b7a02000000000000000000000000000000000000000000000000000000001490506123d5565b5060015b949350505050565b606060108054610a2b90613ac5565b606060118054610a2b90613ac5565b606060128054610a2b90613ac5565b60608161242f57506040805180820190915260018152600360fc1b6020820152610982565b8160005b8115612459578061244381613b00565b91506124529050600a83613a10565b9150612433565b60008167ffffffffffffffff81111561248257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156124ac576020820181803683370190505b5090505b84156123d5576124c1600183613a6b565b91506124ce600a86613b1b565b6124d99060306139f8565b60f81b8183815181106124fc57634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612536600a86613a10565b94506124b0565b60006001600160a01b0382166125655760405162461bcd60e51b81526004016109c690613102565b506001600160a01b0316600090815260076020526040902054600160801b90046001600160801b031690565b6001600160e01b031981167f01ffc9a70000000000000000000000000000000000000000000000000000000014919050565b60035460006125d0610b99565b90506001600160a01b0385166125f85760405162461bcd60e51b81526004016109c6906135c6565b61260182611b4b565b1561261e5760405162461bcd60e51b81526004016109c690613558565b7f000000000000000000000000000000000000000000000000000000000000003284111561265e5760405162461bcd60e51b81526004016109c6906138bf565b7f00000000000000000000000000000000000000000000000000000000000026c261268985836139f8565b11156126a75760405162461bcd60e51b81526004016109c690612f31565b6126b4600086848761152e565b6001600160a01b0385166000908152600760209081526040918290208251808401845290546001600160801b038082168352600160801b90910416918101919091528151808301909252805190919081906127109088906139cd565b6001600160801b0316815260200186836020015161272e91906139cd565b6001600160801b039081169091526001600160a01b03808916600081815260076020908152604080832087518154988401518816600160801b029088167fffffffffffffffffffffffffffffffff0000000000000000000000000000000090991698909817909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528983526006909552948120915182549451909516600160a01b0267ffffffffffffffff60a01b19959093166001600160a01b031990941693909317939093161790915583905b868110156128885760405182906001600160a01b038a16906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461284c60008984896122a8565b6128685760405162461bcd60e51b81526004016109c6906134fb565b8161287281613b00565b925050808061288090613b00565b9150506127ff565b50600381905561289b600088868961152e565b50505050505050565b3b151590565b8280546128b690613ac5565b90600052602060002090601f0160209004810192826128d8576000855561291e565b82601f106128f15782800160ff1982351617855561291e565b8280016001018555821561291e579182015b8281111561291e578235825591602001919060010190612903565b50610f40929150612941565b604080518082019091526000808252602082015290565b5b80821115610f405760008155600101612942565b80356001600160a01b038116811461098257600080fd5b8035801515811461098257600080fd5b80356001600160601b038116811461098257600080fd5b6000602082840312156129a5578081fd5b61164b82612956565b600080604083850312156129c0578081fd5b6129c983612956565b91506129d760208401612956565b90509250929050565b6000806000606084860312156129f4578081fd5b6129fd84612956565b9250612a0b60208501612956565b9150604084013590509250925092565b60008060008060808587031215612a30578081fd5b612a3985612956565b93506020612a48818701612956565b935060408601359250606086013567ffffffffffffffff80821115612a6b578384fd5b818801915088601f830112612a7e578384fd5b813581811115612a9057612a90613b5b565b604051601f8201601f1916810185018381118282101715612ab357612ab3613b5b565b60405281815283820185018b1015612ac9578586fd5b81858501868301379081019093019390935250939692955090935050565b60008060408385031215612af9578182fd5b612b0283612956565b91506129d76020840161296d565b60008060408385031215612b22578182fd5b612b2b83612956565b946020939093013593505050565b600080600060608486031215612b4d578283fd5b612b5684612956565b95602085013595506040909401359392505050565b60008060408385031215612b7d578182fd5b612b8683612956565b91506129d76020840161297d565b600060208284031215612ba5578081fd5b61164b8261296d565b600060208284031215612bbf578081fd5b813561164b81613b71565b600060208284031215612bdb578081fd5b815161164b81613b71565b60008060208385031215612bf8578182fd5b823567ffffffffffffffff80821115612c0f578384fd5b818501915085601f830112612c22578384fd5b813581811115612c30578485fd5b866020828501011115612c41578485fd5b60209290920196919550909350505050565b600060208284031215612c64578081fd5b5035919050565b60008060008060608587031215612c80578182fd5b84359350612c9060208601612956565b9250604085013567ffffffffffffffff80821115612cac578384fd5b818701915087601f830112612cbf578384fd5b813581811115612ccd578485fd5b8860208083028501011115612ce0578485fd5b95989497505060200194505050565b600080600060608486031215612d03578081fd5b83359250612d1360208501612956565b9150612d216040850161297d565b90509250925092565b60008060408385031215612d3c578182fd5b50508035926020909101359150565b60008151808452612d63816020860160208601613a82565b601f01601f19169290920160200192915050565b6000828483379101908152919050565b60008451612d99818460208901613a82565b845190830190612dad818360208901613a82565b8451910190612dc0818360208801613a82565b0195945050505050565b60008351612ddc818460208801613a82565b600360fc1b9083019081528351612dfa816001840160208801613a82565b01600101949350505050565b90565b6001600160a01b0391909116815260200190565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612e4f6080830184612d4b565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b81811015612eaa57835183529284019291840191600101612e8e565b50909695505050505050565b901515815260200190565b60006020825261164b6020830184612d4b565b60208082526022908201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60408201527f6473000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526037908201527f455243373231413a2063616e206e6f74206d696e742074686174206d616e792060408201527f4e46547320696e207468697320636f6c6c656374696f6e000000000000000000606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602a908201527f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360408201527f74656e7420746f6b656e00000000000000000000000000000000000000000000606082015260800190565b60208082526023908201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560408201527f6e64730000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f455243373231413a207472616e7366657220746f20746865207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526031908201527f455243373231413a206e756d626572206d696e74656420717565727920666f7260408201527f20746865207a65726f2061646472657373000000000000000000000000000000606082015260800190565b60208082526039908201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000606082015260800190565b60208082526018908201527f7175616e74697479206d757374206265206e6f6e7a65726f0000000000000000604082015260600190565b6020808252602b908201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60408201527f65726f2061646472657373000000000000000000000000000000000000000000606082015260800190565b60208082526026908201527f455243373231413a207472616e736665722066726f6d20696e636f727265637460408201527f206f776e65720000000000000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606082015260800190565b6020808252601a908201527f455243373231413a20617070726f766520746f2063616c6c6572000000000000604082015260600190565b60208082526011908201527f596f752063616e2774206d696e74203b29000000000000000000000000000000604082015260600190565b60208082526032908201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060408201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000606082015260800190565b60208082526022908201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60408201527f6572000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252603d908201527f455243373231413a2077652063616e6e6f742073656172636820666f7220766160408201527f6c7565732067726561746572207468616e20746f74616c537570706c79000000606082015260800190565b60208082526010908201527f5472616e73666572206661696c65642e00000000000000000000000000000000604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527f6563656976657220696d706c656d656e74657200000000000000000000000000606082015260800190565b6020808252601d908201527f455243373231413a20746f6b656e20616c7265616479206d696e746564000000604082015260600190565b6020808252601b908201527f455243323938313a20496e76616c696420706172616d65746572730000000000604082015260600190565b60208082526021908201527f455243373231413a206d696e7420746f20746865207a65726f2061646472657360408201527f7300000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460408201527f2073616c65507269636500000000000000000000000000000000000000000000606082015260800190565b6020808252602e908201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060408201527f6f776e657220627920696e646578000000000000000000000000000000000000606082015260800190565b60208082526026908201527f6e6f7420656e6f756768206d696e7465642079657420666f722074686973206360408201527f6c65616e75700000000000000000000000000000000000000000000000000000606082015260800190565b60208082526027908201527f55746f7069613a206d696e74696e67206d75737420626520636f6d706c65746560408201527f6420666972737400000000000000000000000000000000000000000000000000606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252602f908201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560408201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000606082015260800190565b6020808252602d908201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560408201527f78697374656e7420746f6b656e00000000000000000000000000000000000000606082015260800190565b60208082526019908201527f455243323938313a20696e76616c696420726563656976657200000000000000604082015260600190565b60208082526022908201527f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960408201527f6768000000000000000000000000000000000000000000000000000000000000606082015260800190565b81516001600160a01b0316815260209182015167ffffffffffffffff169181019190915260400190565b90815260200190565b60008582526001600160a01b0385166020830152606060408301528260608301527f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83111561399c578081fd5b602083028085608085013791909101608001908152949350505050565b6001600160601b0391909116815260200190565b60006001600160801b038083168185168083038211156139ef576139ef613b2f565b01949350505050565b60008219821115613a0b57613a0b613b2f565b500190565b600082613a1f57613a1f613b45565b500490565b6000816000190483118215151615613a3e57613a3e613b2f565b500290565b60006001600160801b0383811690831681811015613a6357613a63613b2f565b039392505050565b600082821015613a7d57613a7d613b2f565b500390565b60005b83811015613a9d578181015183820152602001613a85565b8381111561152e5750506000910152565b600081613abd57613abd613b2f565b506000190190565b600281046001821680613ad957607f821691505b60208210811415613afa57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613b1457613b14613b2f565b5060010190565b600082613b2a57613b2a613b45565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461193757600080fdfea26469706673582212207a514475670a67276a87983c639702674282586d04f3e62ec02b31c3451d207364736f6c63430008000033

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

000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000026c2

-----Decoded View---------------
Arg [0] : maxBatchSize_ (uint256): 50
Arg [1] : collectionSize_ (uint256): 9922

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [1] : 00000000000000000000000000000000000000000000000000000000000026c2


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.