ETH Price: $3,312.80 (-3.53%)
Gas: 16 Gwei

Token

HYPEHAUS (HYPE)
 

Overview

Max Total Supply

555 HYPE

Holders

171

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
amson.eth
Balance
2 HYPE
0xcc0a2ff2ab93e9ef8692306c80953bee36284ad0
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:
HypeHaus

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 16 : HypeHaus.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "erc721a/contracts/extensions/ERC721ABurnable.sol";
import "./HypeHausAccessControl.sol";

contract HypeHaus is ERC721ABurnable, HypeHausAccessControl, ReentrancyGuard {
    using Strings for uint256;

    // ====== TYPES ======

    /**
     * @dev An enumeration of all the possible sales the contract may be in.
     *
     * A `Closed` state indicates that the contract has either not begun
     * the pre-sale (i.e. `Community` sale) or has finished the `Public` sale.
     * As a result, the contract will not accept any mints if `activeSale` is
     * set to `Closed`.
     */
    enum Sale {
        Closed,
        Community,
        Public
    }

    /**
     * @dev A struct that informs the total amount of HYPEHAUSes claimed during
     * each sale.
     */
    struct TotalClaimedPerSale {
        uint256 communitySale;
        uint256 publicSale;
    }

    // ====== PUBLIC STATE VARIABLES ======

    uint8 public maxMintAlpha = 3;
    uint8 public maxMintHypelister = 2;
    uint8 public maxMintHypemember = 1;
    uint8 public maxMintPublic = 2;

    uint256 public communitySalePrice = 0.05 ether;
    uint256 public publicSalePrice = 0.08 ether;

    Sale public activeSale = Sale.Closed;
    uint256 public maxSupply;

    // ====== INTERNAL STATE VARIABLES ======

    string internal _baseTokeURI;
    bool internal _baseTokenURIHasExtension;
    address internal _teamWalletAddress;
    mapping(address => TotalClaimedPerSale) internal _totalClaimed;

    bytes32 internal _alphaMerkleRoot;
    bytes32 internal _hypelisterMerkleRoot;
    bytes32 internal _hypememberMerkleRoot;

    // ====== CONSTRUCTOR ======

    constructor(
        uint256 maxSupply_,
        string memory baseTokeURI,
        address teamWalletAddress
    ) ERC721A("HYPEHAUS", "HYPE") {
        maxSupply = maxSupply_;
        _baseTokeURI = baseTokeURI;
        _baseTokenURIHasExtension = false;
        _teamWalletAddress = teamWalletAddress;
    }

    // ====== MODIFIERS ======

    modifier isCommunitySaleActive() {
        require(activeSale == Sale.Community, "HH_COMMUNITY_SALE_NOT_ACTIVE");
        _;
    }

    modifier isPublicSaleActive() {
        require(activeSale == Sale.Public, "HH_PUBLIC_SALE_NOT_ACTIVE");
        _;
    }

    modifier isSupplyAvailable(uint256 amount) {
        require((_totalMinted() + amount) <= maxSupply, "HH_SUPPLY_EXHAUSTED");
        _;
    }

    modifier isValidMintAmount(uint256 amount, uint256 maximum) {
        require(amount >= 1 && amount <= maximum, "HH_INVALID_MINT_AMOUNT");
        _;
    }

    modifier isCorrectPayment(uint256 price, uint256 amount) {
        require(msg.value >= price * amount, "HH_INSUFFICIENT_FUNDS");
        _;
    }

    modifier hasNotClaimedBeforeInCommunitySale(uint256 amount) {
        require(
            _totalClaimed[msg.sender].communitySale == 0,
            "HH_ALREADY_CLAIMED"
        );
        _totalClaimed[msg.sender].communitySale = amount;
        _;
    }

    modifier hasNotClaimedMaximumInPublicSale(uint256 amount) {
        require(
            _totalClaimed[msg.sender].publicSale + amount <= maxMintPublic,
            "HH_ALREADY_CLAIMED"
        );
        _totalClaimed[msg.sender].publicSale += amount;
        _;
    }

    modifier isValidMerkleProof(
        bytes32[] calldata merkleProof,
        bytes32 merkleRoot
    ) {
        require(
            MerkleProof.verify(
                merkleProof,
                merkleRoot,
                keccak256(abi.encodePacked(msg.sender))
            ),
            "HH_VERIFICATION_FAILURE"
        );
        _;
    }

    // ====== MINTING FUNCTIONS ======

    /**
     * @dev Mints `amount` number of HYPEHAUSes to `receiver`.
     *
     * As the name suggests, this function does not validate the receiver or the
     * provided amount, except ensuring that there is enough supply available
     * to mint `amount` HYPEHAUSes.
     *
     * This function is useful for manually gifting HYPEHAUSes to someone. It
     * requires that the caller have at least the `OPERATOR_ROLE` role.
     */
    function mintUnchecked(address receiver, uint256 amount)
        external
        onlyOperator
        isSupplyAvailable(amount)
    {
        if (activeSale == Sale.Community) {
            _totalClaimed[msg.sender].communitySale += amount;
        } else if (activeSale == Sale.Public) {
            _totalClaimed[msg.sender].publicSale += amount;
        }
        _mintToAddress(receiver, amount);
    }

    /**
     * @dev Mints `amount` number of HYPEHAUSes as an ALPHA.
     *
     * This function requires several prerequisites to be met for `msg.sender`
     * to successfully mint HYPEHAUSes as an ALPHA:
     *
     *   - The community sale is currently active;
     *   - There is enough supply available to mint `amount` HYPEHAUSes;
     *   - `msg.sender` has not already claimed any amount of HYPEHAUSes during
     *     the community sale;
     *   - The provided `amount` is a value within the inclusive range of 1 and
     *     the maximum mint amount for ALPHAs (3 by default);
     *   - Sufficient amount of ETH is provided to purchase `amount` number of
     *     HYPEHAUSes at a discounted price; and
     *   - It can be verified that `msg.sender` is an ALPHA using the provided
     *     `merkleProof`.
     *
     * If any of the above prerequisites are not met, this function will reject
     * the mint and throw an error.
     */
    function mintAlpha(uint256 amount, bytes32[] calldata merkleProof)
        external
        payable
        nonReentrant
        isCommunitySaleActive
        isSupplyAvailable(amount)
        isValidMintAmount(amount, maxMintAlpha)
        isCorrectPayment(communitySalePrice, amount)
        hasNotClaimedBeforeInCommunitySale(amount)
        isValidMerkleProof(merkleProof, _alphaMerkleRoot)
    {
        _mintToAddress(msg.sender, amount);
    }

    /**
     * @dev Mints `amount` number of HYPEHAUSes as a HYPELISTER.
     *
     * This function has identical prerequisites to `mintAlpha` to be met for
     * `msg.sender` to successfully mint HYPEHAUSes as a HYPELISTER, with the
     * exception of the following:
     *
     *   - The provided `amount` is a value within the inclusive range of 1 and
     *     the maximum mint amount for HYPELISTERs (2 by default)
     *
     * If any of the prerequisites are not met, this function will reject the
     * mint and throw an error.
     */
    function mintHypelister(uint256 amount, bytes32[] calldata merkleProof)
        external
        payable
        nonReentrant
        isCommunitySaleActive
        isSupplyAvailable(amount)
        isValidMintAmount(amount, maxMintHypelister)
        isCorrectPayment(communitySalePrice, amount)
        hasNotClaimedBeforeInCommunitySale(amount)
        isValidMerkleProof(merkleProof, _hypelisterMerkleRoot)
    {
        _mintToAddress(msg.sender, amount);
    }

    /**
     * @dev Mints `amount` number of HYPEHAUSes as a HYPEMEMBER.
     *
     * This function has identical prerequisites to `mintAlpha` to be met for
     * `msg.sender` to successfully mint HYPEHAUSes as a HYPEMEMBER, with the
     * exception of the following:
     *
     *   - The provided `amount` is a value within the inclusive range of 1 and
     *     the maximum mint amount for HYPEMEMBERs (1 by default)
     *
     * If any of the prerequisites are not met, this function will reject the
     * mint and throw an error.
     */
    function mintHypemember(uint256 amount, bytes32[] calldata merkleProof)
        external
        payable
        nonReentrant
        isCommunitySaleActive
        isSupplyAvailable(amount)
        isValidMintAmount(amount, maxMintHypemember)
        isCorrectPayment(communitySalePrice, amount)
        hasNotClaimedBeforeInCommunitySale(amount)
        isValidMerkleProof(merkleProof, _hypememberMerkleRoot)
    {
        _mintToAddress(msg.sender, amount);
    }

    /**
     * @dev Mints `amount` number of HYPEHAUSes as a member of the public.
     *
     * This function requires several prerequisites to be met for `msg.sender`
     * to successfully mint HYPEHAUSes as a member of the public:
     *
     *   - The public sale is currently active;
     *   - There is enough supply available to mint `amount` HYPEHAUSes;
     *   - `msg.sender` has not already claimed any amount of HYPEHAUSes during
     *     the public sale;
     *   - The provided `amount` is a value within the inclusive range of 1 and
     *     the maximum mint amount for members of the public (2 by default); and
     *   - Sufficient amount of ETH is provided to purchase `amount` number of
     *     HYPEHAUSes at full price.
     *
     * If any of the above is not met, this function will throw an error.
     */
    function mintPublic(uint256 amount)
        external
        payable
        nonReentrant
        isPublicSaleActive
        isSupplyAvailable(amount)
        isValidMintAmount(amount, maxMintPublic)
        isCorrectPayment(publicSalePrice, amount)
        hasNotClaimedMaximumInPublicSale(amount)
    {
        _mintToAddress(msg.sender, amount);
    }

    /**
     * @dev Internal function that mints `amount` number of HYPEHAUSes to
     * `receiver`.
     */
    function _mintToAddress(address receiver, uint256 amount) internal {
        // The second argument of `_safeMint` in AZUKI's `ERC721A` contract
        // expects the amount to mint, not a token ID.
        _safeMint(receiver, amount);
    }

    // ====== OVERRIDES ======

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

    // ====== EXTERNAL/PUBLIC FUNCTIONS ======

    /**
     * @dev Returns the address of the contract's owner.
     *
     * This function is required by OpenSea. Normally, you'd inherit from
     * `Ownable` and get the owner from there, but since we're using
     * `AccessControl`, we'll return the only user with `DEFAULT_ADMIN_ROLE`.
     */
    function owner() external view virtual returns (address) {
        return _admin;
    }

    /**
     * @dev Reports the count of all the valid HYPEHAUSes tracked by this
     * contract.
     *
     * @return uint256 The count of minted HYPEHAUSes tracked by this contract,
     * where each one of them has an assigned and queryable owner not equal to
     * the zero address.
     */
    function totalMinted() external view returns (uint256) {
        return _totalMinted();
    }

    /**
     * @dev Returns the URI of a HYPEHAUS with the given token ID.
     *
     * Throws if the given token ID is not a valid (i.e. it does not point to a
     * minted HYPEHAUS).
     */
    function tokenURI(uint256 tokenId)
        public
        view
        override
        returns (string memory)
    {
        require(_exists(tokenId), "HH_NONEXISTENT_TOKEN");
        return
            string(
                abi.encodePacked(
                    _baseURI(),
                    tokenId.toString(),
                    // No file extension for masked token URI since it points to
                    // a URL to an API that generates a JSON file on demand.
                    _baseTokenURIHasExtension ? ".json" : ""
                )
            );
    }

    // ====== ONLY-WITHDRAWER FUNCTIONS ======

    /**
     * @dev Transfers any pending balance available in the contract to the
     * designated team wallet address.
     */
    function withdraw() external onlyWithdrawer {
        uint256 balance = address(this).balance;
        (bool success, ) = payable(_teamWalletAddress).call{value: balance}("");
        require(success, "HH_TRANSFER_FAILURE");
    }

    // ====== ONLY-OPERATOR FUNCTIONS ======

    function setMaxMintAlpha(uint8 newMax) external onlyOperator {
        maxMintAlpha = newMax;
    }

    function setMaxMintHypelister(uint8 newMax) external onlyOperator {
        maxMintHypelister = newMax;
    }

    function setMaxMintHypemember(uint8 newMax) external onlyOperator {
        maxMintHypemember = newMax;
    }

    function setMaxMintPublic(uint8 newMax) external onlyOperator {
        maxMintPublic = newMax;
    }

    function setCommunitySalePrice(uint256 newPrice) external onlyOperator {
        communitySalePrice = newPrice;
    }

    function setPublicSalePrice(uint256 newPrice) external onlyOperator {
        publicSalePrice = newPrice;
    }

    function setActiveSale(Sale newSale) external onlyOperator {
        activeSale = newSale;
    }

    function setMaxSupply(uint256 newSupply) external onlyOperator {
        maxSupply = newSupply;
    }

    function setBaseTokenURI(string memory newTokenURI, bool hasExtension)
        external
        onlyOperator
    {
        _baseTokeURI = newTokenURI;
        _baseTokenURIHasExtension = hasExtension;
    }

    function setTeamWalletAddress(address newAddress) external onlyOperator {
        _teamWalletAddress = newAddress;
    }

    function setAlphaMerkleRoot(bytes32 newRoot) external onlyOperator {
        _alphaMerkleRoot = newRoot;
    }

    function setHypelisterMerkleRoot(bytes32 newRoot) external onlyOperator {
        _hypelisterMerkleRoot = newRoot;
    }

    function setHypememberMerkleRoot(bytes32 newRoot) external onlyOperator {
        _hypememberMerkleRoot = newRoot;
    }

    // ====== MISCELLANEOUS ======

    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721A, AccessControl)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }
}

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 3 of 16 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 5 of 16 : ERC721ABurnable.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '../ERC721A.sol';

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

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

File 6 of 16 : HypeHausAccessControl.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/AccessControl.sol";

abstract contract HypeHausAccessControl is AccessControl {
    // ====== CONSTANTS ======

    // Responsible for changing state variables
    bytes32 public constant OPERATOR_ROLE = keccak256("HH_OPERATOR_ROLE");
    // Responsible for withdrawing pending funds
    bytes32 public constant WITHDRAWER_ROLE = keccak256("HH_WITHDRAWER_ROLE");

    // ====== STATE VARIABLES ======

    // The account with the `DEFAULT_ADMIN_ROLE` role. This will never change.
    address internal immutable _admin;

    // ====== CONSTRUCTOR ======

    constructor() {
        // Set contract's deployer as the only admin.
        _admin = msg.sender;

        // The admin may grant and revoke operators and withdrawers
        _setRoleAdmin(OPERATOR_ROLE, DEFAULT_ADMIN_ROLE);
        _setRoleAdmin(WITHDRAWER_ROLE, DEFAULT_ADMIN_ROLE);

        // The contract deployer is the admin
        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
    }

    // ====== MODIFIERS ======

    modifier onlyAdmin() {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "HH_CALLER_NOT_ADMIN");
        _;
    }

    modifier onlyOperator() {
        require(
            hasGivenOrAdminRole(OPERATOR_ROLE, msg.sender),
            "HH_CALLER_NOT_OPERATOR"
        );
        _;
    }

    modifier onlyWithdrawer() {
        require(
            hasGivenOrAdminRole(WITHDRAWER_ROLE, msg.sender),
            "HH_CALLER_NOT_WITHDRAWER"
        );
        _;
    }

    // ====== EXTERNAL/PUBLIC FUNCTIONS ======

    /**
     * @dev Determines whether the given `account` is a member of the given
     * `role` or an admin.
     *
     * By default, `hasRole` only checks if the account is a member of the role.
     * However, sometimes it is useful to allow the admin to also pass this
     * check. This function does just that by checking if `account` is first
     * a member of `role` before checking if it is the admin.
     */
    function hasGivenOrAdminRole(bytes32 role, address account)
        public
        view
        returns (bool)
    {
        return hasRole(role, account) || hasRole(DEFAULT_ADMIN_ROLE, account);
    }
}

File 7 of 16 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

    /**
     * @dev This is equivalent to _burn(tokenId, false)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = prevOwnership.addr;

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

File 10 of 16 : 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 11 of 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 13 of 16 : 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 16 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 15 of 16 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 16 of 16 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"maxSupply_","type":"uint256"},{"internalType":"string","name":"baseTokeURI","type":"string"},{"internalType":"address","name":"teamWalletAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"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":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAWER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"activeSale","outputs":[{"internalType":"enum HypeHaus.Sale","name":"","type":"uint8"}],"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":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"communitySalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasGivenOrAdminRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"maxMintAlpha","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintHypelister","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintHypemember","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintPublic","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintAlpha","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintHypelister","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintHypemember","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintUnchecked","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum HypeHaus.Sale","name":"newSale","type":"uint8"}],"name":"setActiveSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newRoot","type":"bytes32"}],"name":"setAlphaMerkleRoot","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":"newTokenURI","type":"string"},{"internalType":"bool","name":"hasExtension","type":"bool"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setCommunitySalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newRoot","type":"bytes32"}],"name":"setHypelisterMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newRoot","type":"bytes32"}],"name":"setHypememberMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"newMax","type":"uint8"}],"name":"setMaxMintAlpha","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"newMax","type":"uint8"}],"name":"setMaxMintHypelister","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"newMax","type":"uint8"}],"name":"setMaxMintHypemember","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"newMax","type":"uint8"}],"name":"setMaxMintPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPublicSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setTeamWalletAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a0604052600a805463ffffffff1916630201020317905566b1a2bc2ec50000600b5567011c37937e080000600c55600d805460ff191690553480156200004557600080fd5b5060405162003ecc38038062003ecc833981016040819052620000689162000341565b6040805180820182526008815267485950454841555360c01b6020808301918252835180850190945260048452634859504560e01b908401528151919291620000b4916002916200027e565b508051620000ca9060039060208401906200027e565b5060008081553360601b6080526200010692507f3321cab1847ebb49c4691f3a289e85aa035e6d1192b93d0444e74cfc01d38a8491506200018e565b620001337f08e80960cd2f659ff801115c24b189dd899cbece06de55c63b97fb71bf2546cd60006200018e565b62000140600033620001d9565b6001600955600e83905581516200015f90600f9060208501906200027e565b50601080546001600160a01b03909216610100026001600160a81b0319909216919091179055506200048a9050565b600082815260086020526040808220600101805490849055905190918391839186917fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff9190a4505050565b60008281526008602090815260408083206001600160a01b038516845290915290205460ff166200027a5760008281526008602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620002393390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b8280546200028c9062000437565b90600052602060002090601f016020900481019282620002b05760008555620002fb565b82601f10620002cb57805160ff1916838001178555620002fb565b82800160010185558215620002fb579182015b82811115620002fb578251825591602001919060010190620002de565b50620003099291506200030d565b5090565b5b808211156200030957600081556001016200030e565b80516001600160a01b03811681146200033c57600080fd5b919050565b60008060006060848603121562000356578283fd5b8351602080860151919450906001600160401b038082111562000377578485fd5b818701915087601f8301126200038b578485fd5b815181811115620003a057620003a062000474565b604051601f8201601f19908116603f01168101908382118183101715620003cb57620003cb62000474565b816040528281528a86848701011115620003e3578788fd5b8793505b82841015620004065784840186015181850187015292850192620003e7565b828411156200041757878684830101525b8097505050505050506200042e6040850162000324565b90509250925092565b600181811c908216806200044c57607f821691505b602082108114156200046e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160601c613a23620004a9600039600061074e0152613a236000f3fe60806040526004361061034a5760003560e01c8063791a2519116101bb578063a2309ff8116100f7578063e542693311610095578063ef9b63ba1161006f578063ef9b63ba146109ca578063efd0cbf9146109eb578063f5b541a6146109fe578063fdd941b014610a2057600080fd5b8063e542693314610942578063e66135fd14610962578063e985e9c51461098157600080fd5b8063c3a4a4bb116100d1578063c3a4a4bb146108d9578063c87b56dd146108ec578063d547741f1461090c578063d5abeb011461092c57600080fd5b8063a2309ff814610884578063a265381514610899578063b88d4fde146108b957600080fd5b806391d14854116101645780639d1a9c881161013e5780639d1a9c88146108155780639f73047a1461082f578063a217fddf1461084f578063a22cb4651461086457600080fd5b806391d14854146107a457806395d89b41146107ea5780639b6860c8146107ff57600080fd5b806389ea5fe71161019557806389ea5fe71461072c5780638da5cb5b1461073f578063910ad9b81461077257600080fd5b8063791a2519146106b857806385f438c1146106d857806385f49ed11461070c57600080fd5b806336568abe1161028a578063539d14b8116102335780636f8b44b01161020d5780636f8b44b01461063857806370a082311461065857806370a251d114610678578063762d687e1461069857600080fd5b8063539d14b8146105e55780636352211e146105f85780636ce07bf51461061857600080fd5b806342966c681161026457806342966c681461057e57806342a95a0a1461059e5780634e17700a146105be57600080fd5b806336568abe146105295780633ccfd60b1461054957806342842e0e1461055e57600080fd5b806316e85413116102f7578063248a9ca3116102d1578063248a9ca3146104a35780632a1ac827146104d35780632c4b2334146104e95780632f2ff15d1461050957600080fd5b806316e854131461044057806318160ddd1461046057806323b872dd1461048357600080fd5b8063081812fc11610328578063081812fc146103c8578063095ea7b314610400578063158e36b01461042057600080fd5b806301ffc9a71461034f578063051d52a21461038457806306fdde03146103a6575b600080fd5b34801561035b57600080fd5b5061036f61036a3660046135b7565b610a40565b60405190151581526020015b60405180910390f35b34801561039057600080fd5b506103a461039f36600461357d565b610a51565b005b3480156103b257600080fd5b506103bb610ab8565b60405161037b9190613853565b3480156103d457600080fd5b506103e86103e336600461357d565b610b4a565b6040516001600160a01b03909116815260200161037b565b34801561040c57600080fd5b506103a461041b366004613554565b610ba7565b34801561042c57600080fd5b506103a461043b3660046135ef565b610c67565b34801561044c57600080fd5b506103a461045b36600461357d565b610cf9565b34801561046c57600080fd5b50600154600054035b60405190815260200161037b565b34801561048f57600080fd5b506103a461049e366004613477565b610d5b565b3480156104af57600080fd5b506104756104be36600461357d565b60009081526008602052604090206001015490565b3480156104df57600080fd5b50610475600b5481565b3480156104f557600080fd5b506103a461050436600461342b565b610d66565b34801561051557600080fd5b506103a4610524366004613595565b610e02565b34801561053557600080fd5b506103a4610544366004613595565b610e28565b34801561055557600080fd5b506103a4610eb4565b34801561056a57600080fd5b506103a4610579366004613477565b610fda565b34801561058a57600080fd5b506103a461059936600461357d565b610ff5565b3480156105aa57600080fd5b506103a46105b93660046136de565b611003565b3480156105ca57600080fd5b50600d546105d89060ff1681565b60405161037b919061382b565b6103a46105f3366004613664565b61107c565b34801561060457600080fd5b506103e861061336600461357d565b6113a5565b34801561062457600080fd5b5061036f610633366004613595565b6113b7565b34801561064457600080fd5b506103a461065336600461357d565b611426565b34801561066457600080fd5b5061047561067336600461342b565b611488565b34801561068457600080fd5b506103a461069336600461357d565b6114f0565b3480156106a457600080fd5b506103a46106b33660046136de565b611552565b3480156106c457600080fd5b506103a46106d336600461357d565b6115cf565b3480156106e457600080fd5b506104757f08e80960cd2f659ff801115c24b189dd899cbece06de55c63b97fb71bf2546cd81565b34801561071857600080fd5b506103a46107273660046136de565b611631565b6103a461073a366004613664565b6116a4565b34801561074b57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006103e8565b34801561077e57600080fd5b50600a546107929062010000900460ff1681565b60405160ff909116815260200161037b565b3480156107b057600080fd5b5061036f6107bf366004613595565b60009182526008602090815260408084206001600160a01b0393909316845291905290205460ff1690565b3480156107f657600080fd5b506103bb611952565b34801561080b57600080fd5b50610475600c5481565b34801561082157600080fd5b50600a546107929060ff1681565b34801561083b57600080fd5b506103a461084a366004613554565b611961565b34801561085b57600080fd5b50610475600081565b34801561087057600080fd5b506103a461087f36600461352b565b611ad0565b34801561089057600080fd5b50600054610475565b3480156108a557600080fd5b506103a46108b436600461357d565b611b7f565b3480156108c557600080fd5b506103a46108d43660046134b2565b611be1565b6103a46108e7366004613664565b611c32565b3480156108f857600080fd5b506103bb61090736600461357d565b611ee1565b34801561091857600080fd5b506103a4610927366004613595565b611fc7565b34801561093857600080fd5b50610475600e5481565b34801561094e57600080fd5b506103a461095d36600461360e565b611fed565b34801561096e57600080fd5b50600a5461079290610100900460ff1681565b34801561098d57600080fd5b5061036f61099c366004613445565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156109d657600080fd5b50600a54610792906301000000900460ff1681565b6103a46109f936600461357d565b612072565b348015610a0a57600080fd5b506104756000805160206139ce83398151915281565b348015610a2c57600080fd5b506103a4610a3b3660046136de565b61230c565b6000610a4b82612387565b92915050565b610a696000805160206139ce833981519152336113b7565b610ab35760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b60448201526064015b60405180910390fd5b601255565b606060028054610ac79061390b565b80601f0160208091040260200160405190810160405280929190818152602001828054610af39061390b565b8015610b405780601f10610b1557610100808354040283529160200191610b40565b820191906000526020600020905b815481529060010190602001808311610b2357829003601f168201915b5050505050905090565b6000610b55826123c5565b610b8b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610bb2826113a5565b9050806001600160a01b0316836001600160a01b03161415610c00576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336001600160a01b03821614801590610c205750610c1e813361099c565b155b15610c57576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c628383836123f0565b505050565b610c7f6000805160206139ce833981519152336113b7565b610cc45760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b6044820152606401610aaa565b600d805482919060ff19166001836002811115610cf157634e487b7160e01b600052602160045260246000fd5b021790555050565b610d116000805160206139ce833981519152336113b7565b610d565760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b6044820152606401610aaa565b600b55565b610c62838383612464565b610d7e6000805160206139ce833981519152336113b7565b610dc35760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b6044820152606401610aaa565b601080546001600160a01b03909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b600082815260086020526040902060010154610e1e8133612687565b610c628383612707565b6001600160a01b0381163314610ea65760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152608401610aaa565b610eb082826127a9565b5050565b610ede7f08e80960cd2f659ff801115c24b189dd899cbece06de55c63b97fb71bf2546cd336113b7565b610f2a5760405162461bcd60e51b815260206004820152601860248201527f48485f43414c4c45525f4e4f545f5749544844524157455200000000000000006044820152606401610aaa565b60105460405147916000916101009091046001600160a01b031690839060006040518083038185875af1925050503d8060008114610f84576040519150601f19603f3d011682016040523d82523d6000602084013e610f89565b606091505b5050905080610eb05760405162461bcd60e51b815260206004820152601360248201527f48485f5452414e534645525f4641494c555245000000000000000000000000006044820152606401610aaa565b610c6283838360405180602001604052806000815250611be1565b61100081600161282c565b50565b61101b6000805160206139ce833981519152336113b7565b6110605760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b6044820152606401610aaa565b600a805460ff9092166101000261ff0019909216919091179055565b600260095414156110cf5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610aaa565b60026009556001600d5460ff1660028111156110fb57634e487b7160e01b600052602160045260246000fd5b146111485760405162461bcd60e51b815260206004820152601c60248201527f48485f434f4d4d554e4954595f53414c455f4e4f545f414354495645000000006044820152606401610aaa565b82600e548161115660005490565b6111609190613866565b11156111a45760405162461bcd60e51b8152602060048201526013602482015272121217d4d55414131657d15612105554d51151606a1b6044820152606401610aaa565b600a54849060ff16600182108015906111bd5750808211155b6112095760405162461bcd60e51b815260206004820152601660248201527f48485f494e56414c49445f4d494e545f414d4f554e54000000000000000000006044820152606401610aaa565b600b54866112178183613892565b34101561125e5760405162461bcd60e51b815260206004820152601560248201527448485f494e53554646494349454e545f46554e445360581b6044820152606401610aaa565b336000908152601160205260409020548890156112b25760405162461bcd60e51b8152602060048201526012602482015271121217d053149150511657d0d3105253515160721b6044820152606401610aaa565b3360009081526011602090815260409182902083905560125482518a830281810184019094528a81528b938b9361133c9291869186918291850190849080828437600092019190915250506040516bffffffffffffffffffffffff193360601b16602082015285925060340190505b60405160208183030381529060405280519060200120612a22565b6113885760405162461bcd60e51b815260206004820152601760248201527f48485f564552494649434154494f4e5f4641494c5552450000000000000000006044820152606401610aaa565b611392338d612a38565b5050600160095550505050505050505050565b60006113b082612a42565b5192915050565b60008281526008602090815260408083206001600160a01b038516845290915281205460ff168061141f57506001600160a01b03821660009081527f5eff886ea0ce6ca488a3d6e336d6c0f75f46d19b42c06ce5ee98e42c96d256c7602052604090205460ff165b9392505050565b61143e6000805160206139ce833981519152336113b7565b6114835760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b6044820152606401610aaa565b600e55565b60006001600160a01b0382166114ca576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6115086000805160206139ce833981519152336113b7565b61154d5760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b6044820152606401610aaa565b601455565b61156a6000805160206139ce833981519152336113b7565b6115af5760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b6044820152606401610aaa565b600a805460ff90921663010000000263ff00000019909216919091179055565b6115e76000805160206139ce833981519152336113b7565b61162c5760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b6044820152606401610aaa565b600c55565b6116496000805160206139ce833981519152336113b7565b61168e5760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b6044820152606401610aaa565b600a805460ff191660ff92909216919091179055565b600260095414156116f75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610aaa565b60026009556001600d5460ff16600281111561172357634e487b7160e01b600052602160045260246000fd5b146117705760405162461bcd60e51b815260206004820152601c60248201527f48485f434f4d4d554e4954595f53414c455f4e4f545f414354495645000000006044820152606401610aaa565b82600e548161177e60005490565b6117889190613866565b11156117cc5760405162461bcd60e51b8152602060048201526013602482015272121217d4d55414131657d15612105554d51151606a1b6044820152606401610aaa565b600a548490610100900460ff16600182108015906117ea5750808211155b6118365760405162461bcd60e51b815260206004820152601660248201527f48485f494e56414c49445f4d494e545f414d4f554e54000000000000000000006044820152606401610aaa565b600b54866118448183613892565b34101561188b5760405162461bcd60e51b815260206004820152601560248201527448485f494e53554646494349454e545f46554e445360581b6044820152606401610aaa565b336000908152601160205260409020548890156118df5760405162461bcd60e51b8152602060048201526012602482015271121217d053149150511657d0d3105253515160721b6044820152606401610aaa565b3360009081526011602090815260409182902083905560135482518a830281810184019094528a81528b938b9361133c9291869186918291850190849080828437600092019190915250506040516bffffffffffffffffffffffff193360601b1660208201528592506034019050611321565b606060038054610ac79061390b565b6119796000805160206139ce833981519152336113b7565b6119be5760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b6044820152606401610aaa565b80600e54816119cc60005490565b6119d69190613866565b1115611a1a5760405162461bcd60e51b8152602060048201526013602482015272121217d4d55414131657d15612105554d51151606a1b6044820152606401610aaa565b6001600d5460ff166002811115611a4157634e487b7160e01b600052602160045260246000fd5b1415611a71573360009081526011602052604081208054849290611a66908490613866565b90915550611ac69050565b6002600d5460ff166002811115611a9857634e487b7160e01b600052602160045260246000fd5b1415611ac6573360009081526011602052604081206001018054849290611ac0908490613866565b90915550505b610c628383612a38565b6001600160a01b038216331415611b13576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611b976000805160206139ce833981519152336113b7565b611bdc5760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b6044820152606401610aaa565b601355565b611bec848484612464565b6001600160a01b0383163b15158015611c0e5750611c0c84848484612b77565b155b15611c2c576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60026009541415611c855760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610aaa565b60026009556001600d5460ff166002811115611cb157634e487b7160e01b600052602160045260246000fd5b14611cfe5760405162461bcd60e51b815260206004820152601c60248201527f48485f434f4d4d554e4954595f53414c455f4e4f545f414354495645000000006044820152606401610aaa565b82600e5481611d0c60005490565b611d169190613866565b1115611d5a5760405162461bcd60e51b8152602060048201526013602482015272121217d4d55414131657d15612105554d51151606a1b6044820152606401610aaa565b600a54849062010000900460ff1660018210801590611d795750808211155b611dc55760405162461bcd60e51b815260206004820152601660248201527f48485f494e56414c49445f4d494e545f414d4f554e54000000000000000000006044820152606401610aaa565b600b5486611dd38183613892565b341015611e1a5760405162461bcd60e51b815260206004820152601560248201527448485f494e53554646494349454e545f46554e445360581b6044820152606401610aaa565b33600090815260116020526040902054889015611e6e5760405162461bcd60e51b8152602060048201526012602482015271121217d053149150511657d0d3105253515160721b6044820152606401610aaa565b3360009081526011602090815260409182902083905560145482518a830281810184019094528a81528b938b9361133c9291869186918291850190849080828437600092019190915250506040516bffffffffffffffffffffffff193360601b1660208201528592506034019050611321565b6060611eec826123c5565b611f385760405162461bcd60e51b815260206004820152601460248201527f48485f4e4f4e4558495354454e545f544f4b454e0000000000000000000000006044820152606401610aaa565b611f40612c6f565b611f4983612c7e565b60105460ff16611f685760405180602001604052806000815250611f9f565b6040518060400160405280600581526020017f2e6a736f6e0000000000000000000000000000000000000000000000000000008152505b604051602001611fb19392919061372b565b6040516020818303038152906040529050919050565b600082815260086020526040902060010154611fe38133612687565b610c6283836127a9565b6120056000805160206139ce833981519152336113b7565b61204a5760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b6044820152606401610aaa565b815161205d90600f9060208501906132f0565b506010805460ff191691151591909117905550565b600260095414156120c55760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610aaa565b60026009819055600d5460ff1660028111156120f157634e487b7160e01b600052602160045260246000fd5b1461213e5760405162461bcd60e51b815260206004820152601960248201527f48485f5055424c49435f53414c455f4e4f545f414354495645000000000000006044820152606401610aaa565b80600e548161214c60005490565b6121569190613866565b111561219a5760405162461bcd60e51b8152602060048201526013602482015272121217d4d55414131657d15612105554d51151606a1b6044820152606401610aaa565b600a5482906301000000900460ff16600182108015906121ba5750808211155b6122065760405162461bcd60e51b815260206004820152601660248201527f48485f494e56414c49445f4d494e545f414d4f554e54000000000000000000006044820152606401610aaa565b600c54846122148183613892565b34101561225b5760405162461bcd60e51b815260206004820152601560248201527448485f494e53554646494349454e545f46554e445360581b6044820152606401610aaa565b600a543360009081526011602052604090206001015487916301000000900460ff1690612289908390613866565b11156122cc5760405162461bcd60e51b8152602060048201526012602482015271121217d053149150511657d0d3105253515160721b6044820152606401610aaa565b33600090815260116020526040812060010180548392906122ee908490613866565b909155506122fe90503388612a38565b505060016009555050505050565b6123246000805160206139ce833981519152336113b7565b6123695760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b6044820152606401610aaa565b600a805460ff909216620100000262ff000019909216919091179055565b60006001600160e01b031982167f7965db0b000000000000000000000000000000000000000000000000000000001480610a4b5750610a4b82612d98565b6000805482108015610a4b575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061246f82612a42565b9050836001600160a01b031681600001516001600160a01b0316146124c0576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000336001600160a01b03861614806124de57506124de853361099c565b806124f95750336124ee84610b4a565b6001600160a01b0316145b90508061251957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416612559576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612565600084876123f0565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102178355870180845292208054919390911661263b57600054821461263b578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60008281526008602090815260408083206001600160a01b038516845290915290205460ff16610eb0576126c5816001600160a01b03166014612e33565b6126d0836020612e33565b6040516020016126e192919061376e565b60408051601f198184030181529082905262461bcd60e51b8252610aaa91600401613853565b60008281526008602090815260408083206001600160a01b038516845290915290205460ff16610eb05760008281526008602090815260408083206001600160a01b03851684529091529020805460ff191660011790556127653390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526008602090815260408083206001600160a01b038516845290915290205460ff1615610eb05760008281526008602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600061283783612a42565b8051909150821561289d576000336001600160a01b03831614806128605750612860823361099c565b8061287b57503361287086610b4a565b6001600160a01b0316145b90508061289b57604051632ce44b5f60e11b815260040160405180910390fd5b505b6128a9600085836123f0565b6001600160a01b038082166000818152600560209081526040808320805470010000000000000000000000000000000060001967ffffffffffffffff80841691909101811667ffffffffffffffff19841681178390048216600190810183169093027fffffffffffffffff0000000000000000ffffffffffffffff0000000000000000909416179290921783558b8652600490945282852080547fffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffff42909316600160a01b026001600160e01b03199091169097179690961716600160e01b1785559189018084529220805491949091166129d85760005482146129d8578054602087015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038716171781555b5050604051869250600091506001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4505060018054810190555050565b600082612a2f858461303e565b14949350505050565b610eb082826130c0565b604080516060810182526000808252602082018190529181019190915281600054811015612b4557600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290612b435780516001600160a01b031615612ad9579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215612b3e579392505050565b612ad9565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612bac9033908990889088906004016137ef565b602060405180830381600087803b158015612bc657600080fd5b505af1925050508015612bf6575060408051601f3d908101601f19168201909252612bf3918101906135d3565b60015b612c51573d808015612c24576040519150601f19603f3d011682016040523d82523d6000602084013e612c29565b606091505b508051612c49576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600f8054610ac79061390b565b606081612ca25750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612ccc5780612cb681613946565b9150612cc59050600a8361387e565b9150612ca6565b60008167ffffffffffffffff811115612cf557634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612d1f576020820181803683370190505b5090505b8415612c6757612d346001836138b1565b9150612d41600a86613961565b612d4c906030613866565b60f81b818381518110612d6f57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612d91600a8661387e565b9450612d23565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480612dfb57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610a4b57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610a4b565b60606000612e42836002613892565b612e4d906002613866565b67ffffffffffffffff811115612e7357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612e9d576020820181803683370190505b509050600360fc1b81600081518110612ec657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612f1f57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000612f43846002613892565b612f4e906001613866565b90505b6001811115612fef577f303132333435363738396162636465660000000000000000000000000000000085600f1660108110612f9d57634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110612fc157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93612fe8816138f4565b9050612f51565b50831561141f5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610aaa565b600081815b84518110156130b857600085828151811061306e57634e487b7160e01b600052603260045260246000fd5b6020026020010151905080831161309457600083815260208290526040902092506130a5565b600081815260208490526040902092505b50806130b081613946565b915050613043565b509392505050565b610eb0828260405180602001604052806000815250610c6283838360016000546001600160a01b038516613120576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83613157576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561321857506001600160a01b0387163b15155b156132a1575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46132696000888480600101955088612b77565b613286576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561321e57826000541461329c57600080fd5b6132e7565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156132a2575b50600055612680565b8280546132fc9061390b565b90600052602060002090601f01602090048101928261331e5760008555613364565b82601f1061333757805160ff1916838001178555613364565b82800160010185558215613364579182015b82811115613364578251825591602001919060010190613349565b50613370929150613374565b5090565b5b808211156133705760008155600101613375565b600067ffffffffffffffff808411156133a4576133a46139a1565b604051601f8501601f19908116603f011681019082821181831017156133cc576133cc6139a1565b816040528093508581528686860111156133e557600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461341657600080fd5b919050565b8035801515811461341657600080fd5b60006020828403121561343c578081fd5b61141f826133ff565b60008060408385031215613457578081fd5b613460836133ff565b915061346e602084016133ff565b90509250929050565b60008060006060848603121561348b578081fd5b613494846133ff565b92506134a2602085016133ff565b9150604084013590509250925092565b600080600080608085870312156134c7578081fd5b6134d0856133ff565b93506134de602086016133ff565b925060408501359150606085013567ffffffffffffffff811115613500578182fd5b8501601f81018713613510578182fd5b61351f87823560208401613389565b91505092959194509250565b6000806040838503121561353d578182fd5b613546836133ff565b915061346e6020840161341b565b60008060408385031215613566578182fd5b61356f836133ff565b946020939093013593505050565b60006020828403121561358e578081fd5b5035919050565b600080604083850312156135a7578182fd5b8235915061346e602084016133ff565b6000602082840312156135c8578081fd5b813561141f816139b7565b6000602082840312156135e4578081fd5b815161141f816139b7565b600060208284031215613600578081fd5b81356003811061141f578182fd5b60008060408385031215613620578182fd5b823567ffffffffffffffff811115613636578283fd5b8301601f81018513613646578283fd5b61365585823560208401613389565b92505061346e6020840161341b565b600080600060408486031215613678578081fd5b83359250602084013567ffffffffffffffff80821115613696578283fd5b818601915086601f8301126136a9578283fd5b8135818111156136b7578384fd5b8760208260051b85010111156136cb578384fd5b6020830194508093505050509250925092565b6000602082840312156136ef578081fd5b813560ff8116811461141f578182fd5b600081518084526137178160208601602086016138c8565b601f01601f19169290920160200192915050565b6000845161373d8184602089016138c8565b8451908301906137518183602089016138c8565b84519101906137648183602088016138c8565b0195945050505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516137a68160178501602088016138c8565b7f206973206d697373696e6720726f6c652000000000000000000000000000000060179184019182015283516137e38160288401602088016138c8565b01602801949350505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261382160808301846136ff565b9695505050505050565b602081016003831061384d57634e487b7160e01b600052602160045260246000fd5b91905290565b60208152600061141f60208301846136ff565b6000821982111561387957613879613975565b500190565b60008261388d5761388d61398b565b500490565b60008160001904831182151516156138ac576138ac613975565b500290565b6000828210156138c3576138c3613975565b500390565b60005b838110156138e35781810151838201526020016138cb565b83811115611c2c5750506000910152565b60008161390357613903613975565b506000190190565b600181811c9082168061391f57607f821691505b6020821081141561394057634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561395a5761395a613975565b5060010190565b6000826139705761397061398b565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461100057600080fdfe3321cab1847ebb49c4691f3a289e85aa035e6d1192b93d0444e74cfc01d38a84a26469706673582212206686224507e28df20f50d620ddb02d444f01bbbaaa932aa99cf57fb8d681f5f764736f6c63430008040033000000000000000000000000000000000000000000000000000000000000022b0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000587bea191592f934e5c92e1181adfa44f947ba24000000000000000000000000000000000000000000000000000000000000004168747470733a2f2f75732d63656e7472616c312d68797065686175732d6e66742e636c6f756466756e6374696f6e732e6e65742f6170692f6d657461646174612f00000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061034a5760003560e01c8063791a2519116101bb578063a2309ff8116100f7578063e542693311610095578063ef9b63ba1161006f578063ef9b63ba146109ca578063efd0cbf9146109eb578063f5b541a6146109fe578063fdd941b014610a2057600080fd5b8063e542693314610942578063e66135fd14610962578063e985e9c51461098157600080fd5b8063c3a4a4bb116100d1578063c3a4a4bb146108d9578063c87b56dd146108ec578063d547741f1461090c578063d5abeb011461092c57600080fd5b8063a2309ff814610884578063a265381514610899578063b88d4fde146108b957600080fd5b806391d14854116101645780639d1a9c881161013e5780639d1a9c88146108155780639f73047a1461082f578063a217fddf1461084f578063a22cb4651461086457600080fd5b806391d14854146107a457806395d89b41146107ea5780639b6860c8146107ff57600080fd5b806389ea5fe71161019557806389ea5fe71461072c5780638da5cb5b1461073f578063910ad9b81461077257600080fd5b8063791a2519146106b857806385f438c1146106d857806385f49ed11461070c57600080fd5b806336568abe1161028a578063539d14b8116102335780636f8b44b01161020d5780636f8b44b01461063857806370a082311461065857806370a251d114610678578063762d687e1461069857600080fd5b8063539d14b8146105e55780636352211e146105f85780636ce07bf51461061857600080fd5b806342966c681161026457806342966c681461057e57806342a95a0a1461059e5780634e17700a146105be57600080fd5b806336568abe146105295780633ccfd60b1461054957806342842e0e1461055e57600080fd5b806316e85413116102f7578063248a9ca3116102d1578063248a9ca3146104a35780632a1ac827146104d35780632c4b2334146104e95780632f2ff15d1461050957600080fd5b806316e854131461044057806318160ddd1461046057806323b872dd1461048357600080fd5b8063081812fc11610328578063081812fc146103c8578063095ea7b314610400578063158e36b01461042057600080fd5b806301ffc9a71461034f578063051d52a21461038457806306fdde03146103a6575b600080fd5b34801561035b57600080fd5b5061036f61036a3660046135b7565b610a40565b60405190151581526020015b60405180910390f35b34801561039057600080fd5b506103a461039f36600461357d565b610a51565b005b3480156103b257600080fd5b506103bb610ab8565b60405161037b9190613853565b3480156103d457600080fd5b506103e86103e336600461357d565b610b4a565b6040516001600160a01b03909116815260200161037b565b34801561040c57600080fd5b506103a461041b366004613554565b610ba7565b34801561042c57600080fd5b506103a461043b3660046135ef565b610c67565b34801561044c57600080fd5b506103a461045b36600461357d565b610cf9565b34801561046c57600080fd5b50600154600054035b60405190815260200161037b565b34801561048f57600080fd5b506103a461049e366004613477565b610d5b565b3480156104af57600080fd5b506104756104be36600461357d565b60009081526008602052604090206001015490565b3480156104df57600080fd5b50610475600b5481565b3480156104f557600080fd5b506103a461050436600461342b565b610d66565b34801561051557600080fd5b506103a4610524366004613595565b610e02565b34801561053557600080fd5b506103a4610544366004613595565b610e28565b34801561055557600080fd5b506103a4610eb4565b34801561056a57600080fd5b506103a4610579366004613477565b610fda565b34801561058a57600080fd5b506103a461059936600461357d565b610ff5565b3480156105aa57600080fd5b506103a46105b93660046136de565b611003565b3480156105ca57600080fd5b50600d546105d89060ff1681565b60405161037b919061382b565b6103a46105f3366004613664565b61107c565b34801561060457600080fd5b506103e861061336600461357d565b6113a5565b34801561062457600080fd5b5061036f610633366004613595565b6113b7565b34801561064457600080fd5b506103a461065336600461357d565b611426565b34801561066457600080fd5b5061047561067336600461342b565b611488565b34801561068457600080fd5b506103a461069336600461357d565b6114f0565b3480156106a457600080fd5b506103a46106b33660046136de565b611552565b3480156106c457600080fd5b506103a46106d336600461357d565b6115cf565b3480156106e457600080fd5b506104757f08e80960cd2f659ff801115c24b189dd899cbece06de55c63b97fb71bf2546cd81565b34801561071857600080fd5b506103a46107273660046136de565b611631565b6103a461073a366004613664565b6116a4565b34801561074b57600080fd5b507f000000000000000000000000bb868cd266cc19ff65307e6b2cce961230e165a36103e8565b34801561077e57600080fd5b50600a546107929062010000900460ff1681565b60405160ff909116815260200161037b565b3480156107b057600080fd5b5061036f6107bf366004613595565b60009182526008602090815260408084206001600160a01b0393909316845291905290205460ff1690565b3480156107f657600080fd5b506103bb611952565b34801561080b57600080fd5b50610475600c5481565b34801561082157600080fd5b50600a546107929060ff1681565b34801561083b57600080fd5b506103a461084a366004613554565b611961565b34801561085b57600080fd5b50610475600081565b34801561087057600080fd5b506103a461087f36600461352b565b611ad0565b34801561089057600080fd5b50600054610475565b3480156108a557600080fd5b506103a46108b436600461357d565b611b7f565b3480156108c557600080fd5b506103a46108d43660046134b2565b611be1565b6103a46108e7366004613664565b611c32565b3480156108f857600080fd5b506103bb61090736600461357d565b611ee1565b34801561091857600080fd5b506103a4610927366004613595565b611fc7565b34801561093857600080fd5b50610475600e5481565b34801561094e57600080fd5b506103a461095d36600461360e565b611fed565b34801561096e57600080fd5b50600a5461079290610100900460ff1681565b34801561098d57600080fd5b5061036f61099c366004613445565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156109d657600080fd5b50600a54610792906301000000900460ff1681565b6103a46109f936600461357d565b612072565b348015610a0a57600080fd5b506104756000805160206139ce83398151915281565b348015610a2c57600080fd5b506103a4610a3b3660046136de565b61230c565b6000610a4b82612387565b92915050565b610a696000805160206139ce833981519152336113b7565b610ab35760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b60448201526064015b60405180910390fd5b601255565b606060028054610ac79061390b565b80601f0160208091040260200160405190810160405280929190818152602001828054610af39061390b565b8015610b405780601f10610b1557610100808354040283529160200191610b40565b820191906000526020600020905b815481529060010190602001808311610b2357829003601f168201915b5050505050905090565b6000610b55826123c5565b610b8b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610bb2826113a5565b9050806001600160a01b0316836001600160a01b03161415610c00576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336001600160a01b03821614801590610c205750610c1e813361099c565b155b15610c57576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c628383836123f0565b505050565b610c7f6000805160206139ce833981519152336113b7565b610cc45760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b6044820152606401610aaa565b600d805482919060ff19166001836002811115610cf157634e487b7160e01b600052602160045260246000fd5b021790555050565b610d116000805160206139ce833981519152336113b7565b610d565760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b6044820152606401610aaa565b600b55565b610c62838383612464565b610d7e6000805160206139ce833981519152336113b7565b610dc35760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b6044820152606401610aaa565b601080546001600160a01b03909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b600082815260086020526040902060010154610e1e8133612687565b610c628383612707565b6001600160a01b0381163314610ea65760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152608401610aaa565b610eb082826127a9565b5050565b610ede7f08e80960cd2f659ff801115c24b189dd899cbece06de55c63b97fb71bf2546cd336113b7565b610f2a5760405162461bcd60e51b815260206004820152601860248201527f48485f43414c4c45525f4e4f545f5749544844524157455200000000000000006044820152606401610aaa565b60105460405147916000916101009091046001600160a01b031690839060006040518083038185875af1925050503d8060008114610f84576040519150601f19603f3d011682016040523d82523d6000602084013e610f89565b606091505b5050905080610eb05760405162461bcd60e51b815260206004820152601360248201527f48485f5452414e534645525f4641494c555245000000000000000000000000006044820152606401610aaa565b610c6283838360405180602001604052806000815250611be1565b61100081600161282c565b50565b61101b6000805160206139ce833981519152336113b7565b6110605760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b6044820152606401610aaa565b600a805460ff9092166101000261ff0019909216919091179055565b600260095414156110cf5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610aaa565b60026009556001600d5460ff1660028111156110fb57634e487b7160e01b600052602160045260246000fd5b146111485760405162461bcd60e51b815260206004820152601c60248201527f48485f434f4d4d554e4954595f53414c455f4e4f545f414354495645000000006044820152606401610aaa565b82600e548161115660005490565b6111609190613866565b11156111a45760405162461bcd60e51b8152602060048201526013602482015272121217d4d55414131657d15612105554d51151606a1b6044820152606401610aaa565b600a54849060ff16600182108015906111bd5750808211155b6112095760405162461bcd60e51b815260206004820152601660248201527f48485f494e56414c49445f4d494e545f414d4f554e54000000000000000000006044820152606401610aaa565b600b54866112178183613892565b34101561125e5760405162461bcd60e51b815260206004820152601560248201527448485f494e53554646494349454e545f46554e445360581b6044820152606401610aaa565b336000908152601160205260409020548890156112b25760405162461bcd60e51b8152602060048201526012602482015271121217d053149150511657d0d3105253515160721b6044820152606401610aaa565b3360009081526011602090815260409182902083905560125482518a830281810184019094528a81528b938b9361133c9291869186918291850190849080828437600092019190915250506040516bffffffffffffffffffffffff193360601b16602082015285925060340190505b60405160208183030381529060405280519060200120612a22565b6113885760405162461bcd60e51b815260206004820152601760248201527f48485f564552494649434154494f4e5f4641494c5552450000000000000000006044820152606401610aaa565b611392338d612a38565b5050600160095550505050505050505050565b60006113b082612a42565b5192915050565b60008281526008602090815260408083206001600160a01b038516845290915281205460ff168061141f57506001600160a01b03821660009081527f5eff886ea0ce6ca488a3d6e336d6c0f75f46d19b42c06ce5ee98e42c96d256c7602052604090205460ff165b9392505050565b61143e6000805160206139ce833981519152336113b7565b6114835760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b6044820152606401610aaa565b600e55565b60006001600160a01b0382166114ca576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6115086000805160206139ce833981519152336113b7565b61154d5760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b6044820152606401610aaa565b601455565b61156a6000805160206139ce833981519152336113b7565b6115af5760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b6044820152606401610aaa565b600a805460ff90921663010000000263ff00000019909216919091179055565b6115e76000805160206139ce833981519152336113b7565b61162c5760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b6044820152606401610aaa565b600c55565b6116496000805160206139ce833981519152336113b7565b61168e5760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b6044820152606401610aaa565b600a805460ff191660ff92909216919091179055565b600260095414156116f75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610aaa565b60026009556001600d5460ff16600281111561172357634e487b7160e01b600052602160045260246000fd5b146117705760405162461bcd60e51b815260206004820152601c60248201527f48485f434f4d4d554e4954595f53414c455f4e4f545f414354495645000000006044820152606401610aaa565b82600e548161177e60005490565b6117889190613866565b11156117cc5760405162461bcd60e51b8152602060048201526013602482015272121217d4d55414131657d15612105554d51151606a1b6044820152606401610aaa565b600a548490610100900460ff16600182108015906117ea5750808211155b6118365760405162461bcd60e51b815260206004820152601660248201527f48485f494e56414c49445f4d494e545f414d4f554e54000000000000000000006044820152606401610aaa565b600b54866118448183613892565b34101561188b5760405162461bcd60e51b815260206004820152601560248201527448485f494e53554646494349454e545f46554e445360581b6044820152606401610aaa565b336000908152601160205260409020548890156118df5760405162461bcd60e51b8152602060048201526012602482015271121217d053149150511657d0d3105253515160721b6044820152606401610aaa565b3360009081526011602090815260409182902083905560135482518a830281810184019094528a81528b938b9361133c9291869186918291850190849080828437600092019190915250506040516bffffffffffffffffffffffff193360601b1660208201528592506034019050611321565b606060038054610ac79061390b565b6119796000805160206139ce833981519152336113b7565b6119be5760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b6044820152606401610aaa565b80600e54816119cc60005490565b6119d69190613866565b1115611a1a5760405162461bcd60e51b8152602060048201526013602482015272121217d4d55414131657d15612105554d51151606a1b6044820152606401610aaa565b6001600d5460ff166002811115611a4157634e487b7160e01b600052602160045260246000fd5b1415611a71573360009081526011602052604081208054849290611a66908490613866565b90915550611ac69050565b6002600d5460ff166002811115611a9857634e487b7160e01b600052602160045260246000fd5b1415611ac6573360009081526011602052604081206001018054849290611ac0908490613866565b90915550505b610c628383612a38565b6001600160a01b038216331415611b13576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611b976000805160206139ce833981519152336113b7565b611bdc5760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b6044820152606401610aaa565b601355565b611bec848484612464565b6001600160a01b0383163b15158015611c0e5750611c0c84848484612b77565b155b15611c2c576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60026009541415611c855760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610aaa565b60026009556001600d5460ff166002811115611cb157634e487b7160e01b600052602160045260246000fd5b14611cfe5760405162461bcd60e51b815260206004820152601c60248201527f48485f434f4d4d554e4954595f53414c455f4e4f545f414354495645000000006044820152606401610aaa565b82600e5481611d0c60005490565b611d169190613866565b1115611d5a5760405162461bcd60e51b8152602060048201526013602482015272121217d4d55414131657d15612105554d51151606a1b6044820152606401610aaa565b600a54849062010000900460ff1660018210801590611d795750808211155b611dc55760405162461bcd60e51b815260206004820152601660248201527f48485f494e56414c49445f4d494e545f414d4f554e54000000000000000000006044820152606401610aaa565b600b5486611dd38183613892565b341015611e1a5760405162461bcd60e51b815260206004820152601560248201527448485f494e53554646494349454e545f46554e445360581b6044820152606401610aaa565b33600090815260116020526040902054889015611e6e5760405162461bcd60e51b8152602060048201526012602482015271121217d053149150511657d0d3105253515160721b6044820152606401610aaa565b3360009081526011602090815260409182902083905560145482518a830281810184019094528a81528b938b9361133c9291869186918291850190849080828437600092019190915250506040516bffffffffffffffffffffffff193360601b1660208201528592506034019050611321565b6060611eec826123c5565b611f385760405162461bcd60e51b815260206004820152601460248201527f48485f4e4f4e4558495354454e545f544f4b454e0000000000000000000000006044820152606401610aaa565b611f40612c6f565b611f4983612c7e565b60105460ff16611f685760405180602001604052806000815250611f9f565b6040518060400160405280600581526020017f2e6a736f6e0000000000000000000000000000000000000000000000000000008152505b604051602001611fb19392919061372b565b6040516020818303038152906040529050919050565b600082815260086020526040902060010154611fe38133612687565b610c6283836127a9565b6120056000805160206139ce833981519152336113b7565b61204a5760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b6044820152606401610aaa565b815161205d90600f9060208501906132f0565b506010805460ff191691151591909117905550565b600260095414156120c55760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610aaa565b60026009819055600d5460ff1660028111156120f157634e487b7160e01b600052602160045260246000fd5b1461213e5760405162461bcd60e51b815260206004820152601960248201527f48485f5055424c49435f53414c455f4e4f545f414354495645000000000000006044820152606401610aaa565b80600e548161214c60005490565b6121569190613866565b111561219a5760405162461bcd60e51b8152602060048201526013602482015272121217d4d55414131657d15612105554d51151606a1b6044820152606401610aaa565b600a5482906301000000900460ff16600182108015906121ba5750808211155b6122065760405162461bcd60e51b815260206004820152601660248201527f48485f494e56414c49445f4d494e545f414d4f554e54000000000000000000006044820152606401610aaa565b600c54846122148183613892565b34101561225b5760405162461bcd60e51b815260206004820152601560248201527448485f494e53554646494349454e545f46554e445360581b6044820152606401610aaa565b600a543360009081526011602052604090206001015487916301000000900460ff1690612289908390613866565b11156122cc5760405162461bcd60e51b8152602060048201526012602482015271121217d053149150511657d0d3105253515160721b6044820152606401610aaa565b33600090815260116020526040812060010180548392906122ee908490613866565b909155506122fe90503388612a38565b505060016009555050505050565b6123246000805160206139ce833981519152336113b7565b6123695760405162461bcd60e51b815260206004820152601660248201527524242fa1a0a62622a92fa727aa2fa7a822a920aa27a960511b6044820152606401610aaa565b600a805460ff909216620100000262ff000019909216919091179055565b60006001600160e01b031982167f7965db0b000000000000000000000000000000000000000000000000000000001480610a4b5750610a4b82612d98565b6000805482108015610a4b575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061246f82612a42565b9050836001600160a01b031681600001516001600160a01b0316146124c0576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000336001600160a01b03861614806124de57506124de853361099c565b806124f95750336124ee84610b4a565b6001600160a01b0316145b90508061251957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416612559576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612565600084876123f0565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102178355870180845292208054919390911661263b57600054821461263b578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60008281526008602090815260408083206001600160a01b038516845290915290205460ff16610eb0576126c5816001600160a01b03166014612e33565b6126d0836020612e33565b6040516020016126e192919061376e565b60408051601f198184030181529082905262461bcd60e51b8252610aaa91600401613853565b60008281526008602090815260408083206001600160a01b038516845290915290205460ff16610eb05760008281526008602090815260408083206001600160a01b03851684529091529020805460ff191660011790556127653390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526008602090815260408083206001600160a01b038516845290915290205460ff1615610eb05760008281526008602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600061283783612a42565b8051909150821561289d576000336001600160a01b03831614806128605750612860823361099c565b8061287b57503361287086610b4a565b6001600160a01b0316145b90508061289b57604051632ce44b5f60e11b815260040160405180910390fd5b505b6128a9600085836123f0565b6001600160a01b038082166000818152600560209081526040808320805470010000000000000000000000000000000060001967ffffffffffffffff80841691909101811667ffffffffffffffff19841681178390048216600190810183169093027fffffffffffffffff0000000000000000ffffffffffffffff0000000000000000909416179290921783558b8652600490945282852080547fffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffff42909316600160a01b026001600160e01b03199091169097179690961716600160e01b1785559189018084529220805491949091166129d85760005482146129d8578054602087015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038716171781555b5050604051869250600091506001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4505060018054810190555050565b600082612a2f858461303e565b14949350505050565b610eb082826130c0565b604080516060810182526000808252602082018190529181019190915281600054811015612b4557600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290612b435780516001600160a01b031615612ad9579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215612b3e579392505050565b612ad9565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612bac9033908990889088906004016137ef565b602060405180830381600087803b158015612bc657600080fd5b505af1925050508015612bf6575060408051601f3d908101601f19168201909252612bf3918101906135d3565b60015b612c51573d808015612c24576040519150601f19603f3d011682016040523d82523d6000602084013e612c29565b606091505b508051612c49576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600f8054610ac79061390b565b606081612ca25750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612ccc5780612cb681613946565b9150612cc59050600a8361387e565b9150612ca6565b60008167ffffffffffffffff811115612cf557634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612d1f576020820181803683370190505b5090505b8415612c6757612d346001836138b1565b9150612d41600a86613961565b612d4c906030613866565b60f81b818381518110612d6f57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612d91600a8661387e565b9450612d23565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480612dfb57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610a4b57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610a4b565b60606000612e42836002613892565b612e4d906002613866565b67ffffffffffffffff811115612e7357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612e9d576020820181803683370190505b509050600360fc1b81600081518110612ec657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612f1f57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000612f43846002613892565b612f4e906001613866565b90505b6001811115612fef577f303132333435363738396162636465660000000000000000000000000000000085600f1660108110612f9d57634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110612fc157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93612fe8816138f4565b9050612f51565b50831561141f5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610aaa565b600081815b84518110156130b857600085828151811061306e57634e487b7160e01b600052603260045260246000fd5b6020026020010151905080831161309457600083815260208290526040902092506130a5565b600081815260208490526040902092505b50806130b081613946565b915050613043565b509392505050565b610eb0828260405180602001604052806000815250610c6283838360016000546001600160a01b038516613120576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83613157576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561321857506001600160a01b0387163b15155b156132a1575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46132696000888480600101955088612b77565b613286576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561321e57826000541461329c57600080fd5b6132e7565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156132a2575b50600055612680565b8280546132fc9061390b565b90600052602060002090601f01602090048101928261331e5760008555613364565b82601f1061333757805160ff1916838001178555613364565b82800160010185558215613364579182015b82811115613364578251825591602001919060010190613349565b50613370929150613374565b5090565b5b808211156133705760008155600101613375565b600067ffffffffffffffff808411156133a4576133a46139a1565b604051601f8501601f19908116603f011681019082821181831017156133cc576133cc6139a1565b816040528093508581528686860111156133e557600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461341657600080fd5b919050565b8035801515811461341657600080fd5b60006020828403121561343c578081fd5b61141f826133ff565b60008060408385031215613457578081fd5b613460836133ff565b915061346e602084016133ff565b90509250929050565b60008060006060848603121561348b578081fd5b613494846133ff565b92506134a2602085016133ff565b9150604084013590509250925092565b600080600080608085870312156134c7578081fd5b6134d0856133ff565b93506134de602086016133ff565b925060408501359150606085013567ffffffffffffffff811115613500578182fd5b8501601f81018713613510578182fd5b61351f87823560208401613389565b91505092959194509250565b6000806040838503121561353d578182fd5b613546836133ff565b915061346e6020840161341b565b60008060408385031215613566578182fd5b61356f836133ff565b946020939093013593505050565b60006020828403121561358e578081fd5b5035919050565b600080604083850312156135a7578182fd5b8235915061346e602084016133ff565b6000602082840312156135c8578081fd5b813561141f816139b7565b6000602082840312156135e4578081fd5b815161141f816139b7565b600060208284031215613600578081fd5b81356003811061141f578182fd5b60008060408385031215613620578182fd5b823567ffffffffffffffff811115613636578283fd5b8301601f81018513613646578283fd5b61365585823560208401613389565b92505061346e6020840161341b565b600080600060408486031215613678578081fd5b83359250602084013567ffffffffffffffff80821115613696578283fd5b818601915086601f8301126136a9578283fd5b8135818111156136b7578384fd5b8760208260051b85010111156136cb578384fd5b6020830194508093505050509250925092565b6000602082840312156136ef578081fd5b813560ff8116811461141f578182fd5b600081518084526137178160208601602086016138c8565b601f01601f19169290920160200192915050565b6000845161373d8184602089016138c8565b8451908301906137518183602089016138c8565b84519101906137648183602088016138c8565b0195945050505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516137a68160178501602088016138c8565b7f206973206d697373696e6720726f6c652000000000000000000000000000000060179184019182015283516137e38160288401602088016138c8565b01602801949350505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261382160808301846136ff565b9695505050505050565b602081016003831061384d57634e487b7160e01b600052602160045260246000fd5b91905290565b60208152600061141f60208301846136ff565b6000821982111561387957613879613975565b500190565b60008261388d5761388d61398b565b500490565b60008160001904831182151516156138ac576138ac613975565b500290565b6000828210156138c3576138c3613975565b500390565b60005b838110156138e35781810151838201526020016138cb565b83811115611c2c5750506000910152565b60008161390357613903613975565b506000190190565b600181811c9082168061391f57607f821691505b6020821081141561394057634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561395a5761395a613975565b5060010190565b6000826139705761397061398b565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461100057600080fdfe3321cab1847ebb49c4691f3a289e85aa035e6d1192b93d0444e74cfc01d38a84a26469706673582212206686224507e28df20f50d620ddb02d444f01bbbaaa932aa99cf57fb8d681f5f764736f6c63430008040033

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

000000000000000000000000000000000000000000000000000000000000022b0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000587bea191592f934e5c92e1181adfa44f947ba24000000000000000000000000000000000000000000000000000000000000004168747470733a2f2f75732d63656e7472616c312d68797065686175732d6e66742e636c6f756466756e6374696f6e732e6e65742f6170692f6d657461646174612f00000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : maxSupply_ (uint256): 555
Arg [1] : baseTokeURI (string): https://us-central1-hypehaus-nft.cloudfunctions.net/api/metadata/
Arg [2] : teamWalletAddress (address): 0x587BEA191592F934E5c92E1181AdFa44f947BA24

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000000000022b
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 000000000000000000000000587bea191592f934e5c92e1181adfa44f947ba24
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000041
Arg [4] : 68747470733a2f2f75732d63656e7472616c312d68797065686175732d6e6674
Arg [5] : 2e636c6f756466756e6374696f6e732e6e65742f6170692f6d65746164617461
Arg [6] : 2f00000000000000000000000000000000000000000000000000000000000000


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.