ETH Price: $3,309.46 (-2.98%)
Gas: 14 Gwei

Contract

0x3d6A7F5c9280E26F09617E02f615455cDbD12E83
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Safe Transfer Fr...193423152024-03-01 19:08:11123 days ago1709320091IN
0x3d6A7F5c...cDbD12E83
0 ETH0.0037183965
Safe Transfer Fr...192372162024-02-16 1:32:47138 days ago1708047167IN
0x3d6A7F5c...cDbD12E83
0 ETH0.0014003224.45134605
Set Approval For...183279312023-10-11 14:54:23266 days ago1697036063IN
0x3d6A7F5c...cDbD12E83
0 ETH0.0007014715.23098684
Set Approval For...183279312023-10-11 14:54:23266 days ago1697036063IN
0x3d6A7F5c...cDbD12E83
0 ETH0.0007027515.23098684
Set Approval For...182985532023-10-07 12:17:11270 days ago1696681031IN
0x3d6A7F5c...cDbD12E83
0 ETH0.000308936.69565584
Set Approval For...182978222023-10-07 9:50:47270 days ago1696672247IN
0x3d6A7F5c...cDbD12E83
0 ETH0.000255.41846631
Set Approval For...175512122023-06-24 18:39:59374 days ago1687631999IN
0x3d6A7F5c...cDbD12E83
0 ETH0.0005558812.06980447
Set Approval For...175501222023-06-24 14:58:23375 days ago1687618703IN
0x3d6A7F5c...cDbD12E83
0 ETH0.0007338515.93394653
Set Approval For...173653732023-05-29 14:55:59401 days ago1685372159IN
0x3d6A7F5c...cDbD12E83
0 ETH0.0028641862.09206455
Set Approval For...173573652023-05-28 11:57:23402 days ago1685275043IN
0x3d6A7F5c...cDbD12E83
0 ETH0.0019553542.45598181
Set Approval For...170100282023-04-09 10:02:59451 days ago1681034579IN
0x3d6A7F5c...cDbD12E83
0 ETH0.0009652820.94794639
Set Approval For...168313932023-03-15 6:01:59476 days ago1678860119IN
0x3d6A7F5c...cDbD12E83
0 ETH0.000966120.97665988
Set Approval For...167972342023-03-10 10:47:59481 days ago1678445279IN
0x3d6A7F5c...cDbD12E83
0 ETH0.001815639.40110095
Set Approval For...167682242023-03-06 8:47:35485 days ago1678092455IN
0x3d6A7F5c...cDbD12E83
0 ETH0.0011523425.02042585
Set Approval For...167682232023-03-06 8:47:23485 days ago1678092443IN
0x3d6A7F5c...cDbD12E83
0 ETH0.0011925825.89427556
Set Approval For...167682232023-03-06 8:47:23485 days ago1678092443IN
0x3d6A7F5c...cDbD12E83
0 ETH0.0011925825.89427556
Set Approval For...167682232023-03-06 8:47:23485 days ago1678092443IN
0x3d6A7F5c...cDbD12E83
0 ETH0.0011925825.89427556
Set Approval For...167682232023-03-06 8:47:23485 days ago1678092443IN
0x3d6A7F5c...cDbD12E83
0 ETH0.0011925825.89427556
Set Approval For...167546722023-03-04 11:06:11487 days ago1677927971IN
0x3d6A7F5c...cDbD12E83
0 ETH0.0010592823
Set Approval For...167169222023-02-27 3:41:23492 days ago1677469283IN
0x3d6A7F5c...cDbD12E83
0 ETH0.0008488918.43185273
Set Approval For...167168872023-02-27 3:34:23492 days ago1677468863IN
0x3d6A7F5c...cDbD12E83
0 ETH0.0008508818.47503481
Set Approval For...167168082023-02-27 3:18:11492 days ago1677467891IN
0x3d6A7F5c...cDbD12E83
0 ETH0.0008474318.40008546
Set Approval For...167167642023-02-27 3:09:11492 days ago1677467351IN
0x3d6A7F5c...cDbD12E83
0 ETH0.0008200917.80643774
Set Approval For...167074952023-02-25 19:54:35493 days ago1677354875IN
0x3d6A7F5c...cDbD12E83
0 ETH0.000912819.81951167
Safe Transfer Fr...167058522023-02-25 14:20:23494 days ago1677334823IN
0x3d6A7F5c...cDbD12E83
0 ETH0.0009842824.18142645
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ERC721WCHome

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : ERC721WCHome.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IERC165} from "openzeppelin-contracts/interfaces/IERC165.sol";
import {IERC721} from "openzeppelin-contracts/interfaces/IERC721.sol";
import {IERC721Metadata} from "openzeppelin-contracts/interfaces/IERC721Metadata.sol";
import {ERC721} from "solmate/tokens/ERC721.sol";
import {Strings} from "openzeppelin-contracts/utils/Strings.sol";
import {MerkleProof} from "openzeppelin-contracts/utils/cryptography/MerkleProof.sol";

contract ERC721WCHome is ERC721 {
    address payable public owner;

    string public BASE_URI;

    uint256 public immutable mintCost; // in wei
    uint256 public immutable maxWhitelistSupply;  // total number of NFTs in whitelist
    uint256 public immutable maxPublicSupply;  // total number of NFTs in public sale
    uint256 public immutable numInitialTeams;  // 32 for WC
    uint256 public immutable maxMintPerAddress;  // max amount each wallet can mint

    uint256 public numWhitelistMinted;  // number of items already publicly minted
    uint256 public numPublicMinted;  // number of items already publicly minted
    uint256 public numMinted;  // total number of items already minted
    mapping (address => uint256) public addressNumMinted;  // amount already minted in each wallet

    bool public mintEnded;  // cannot mint after teams are assigned

    bytes32 public immutable merkleRoot;  // mintlist
    mapping(address => bool) public claimed;

    event BaseURIUpdated();
    event OwnerChanged(address indexed newOwner);
    event MintEnded();

    error NotOwner();
    error NotHolder();
    error AlreadyClaimed();
    error InvalidProof();
    error IncorrectPayment(uint256 expected, uint256 amount);
    error InsufficientBalance(uint256 amount);
    error TransferFailed();
    error MintingEnded();
    error MaxSupplyReached();
    error MaxMintAmountReached();

    constructor(
        uint256 _mintCost,
        uint256 _numInitialTeams,
        uint256 _maxPublicSupply,
        uint256 _maxWhitelistSupply,
        uint256 _maxMintPerAddress,
        string memory _baseUri,
        bytes32 _merkleRoot
    ) ERC721(name, symbol) {
        owner = payable(msg.sender);

        BASE_URI = _baseUri;

        name = string("Hologram WC 2022 Home Jersey");
        symbol = string("HWCH");

        mintCost = _mintCost;
        maxPublicSupply = _maxPublicSupply;
        maxWhitelistSupply = _maxWhitelistSupply;
        numInitialTeams = _numInitialTeams;
        maxMintPerAddress = _maxMintPerAddress;

        merkleRoot = _merkleRoot;

        mintEnded = false;
    }

    modifier onlyOwner() {
        if (msg.sender != owner) revert NotOwner();
        _;
    }

    function setOwner(address payable _newOwner) public onlyOwner {
        owner = _newOwner;
        emit OwnerChanged(_newOwner);
    }

    function updateBaseURI(string memory _baseUri) public onlyOwner {
        BASE_URI = _baseUri;
        emit BaseURIUpdated();
    }

    function endMinting() public onlyOwner {
        if (mintEnded) revert MintingEnded();
        mintEnded = true;
        emit MintEnded();
    }

    function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
        return string.concat(BASE_URI, Strings.toString(_tokenId));
    }

    function getMintedAmount(address _addr) public view returns(uint256) {
        return addressNumMinted[_addr];
    }

    function checkInWhitelist(address _addr, uint256 amount, bytes32[] calldata merkleProof) public view returns(bool) {
        bytes32 node = keccak256(abi.encodePacked(_addr, amount));
        return MerkleProof.verify(merkleProof, merkleRoot, node);
    }

    function claim(uint256 amount, bytes32[] calldata merkleProof) external {
        if (claimed[msg.sender]) revert AlreadyClaimed();
        if (numWhitelistMinted + amount > maxWhitelistSupply) revert MaxSupplyReached();

        // verify the merkle proof
        address to = msg.sender;
        if (!checkInWhitelist(to, amount, merkleProof)) revert InvalidProof();

        if (addressNumMinted[to] + amount > maxMintPerAddress) revert MaxMintAmountReached();

        for (uint256 i = numMinted; i < numMinted + amount; i ++) {
            _mint(to, i);
        }

        claimed[msg.sender] = true;
        addressNumMinted[to] += amount;
        numWhitelistMinted += amount;
        numMinted += amount;
    }

    function mint() public payable {
        if (mintEnded) revert MintingEnded();
        if (numPublicMinted == maxPublicSupply) revert MaxSupplyReached();
        if (msg.value != mintCost) revert IncorrectPayment(mintCost, msg.value);

        address to = msg.sender;
        if (addressNumMinted[to] == maxMintPerAddress) revert MaxMintAmountReached();
        
        _mint(to, numMinted);

        addressNumMinted[to] += 1;
        numPublicMinted += 1;
        numMinted += 1;
    }

    function batchMint(uint256 numToMint) public payable {
        if (mintEnded) revert MintingEnded();
        if (numPublicMinted + numToMint > maxPublicSupply) revert MaxSupplyReached();
        if (msg.value != mintCost * numToMint) revert IncorrectPayment(mintCost, msg.value);

        address to = msg.sender;
        if (addressNumMinted[to] + numToMint > maxMintPerAddress) revert MaxMintAmountReached();

        for (uint256 i = numMinted; i < numMinted + numToMint; i ++) {
            _mint(to, i);
        }

        addressNumMinted[to] += numToMint;
        numPublicMinted += numToMint;
        numMinted += numToMint;
    }
}

File 2 of 11 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 7 of 11 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 8 of 11 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree 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.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
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 Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle 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++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
        }
    }
}

File 11 of 11 : ERC721.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;

/// @notice Modern, minimalist, and gas efficient ERC-721 implementation.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol)
abstract contract ERC721 {
    /*//////////////////////////////////////////////////////////////
                                 EVENTS
    //////////////////////////////////////////////////////////////*/

    event Transfer(address indexed from, address indexed to, uint256 indexed id);

    event Approval(address indexed owner, address indexed spender, uint256 indexed id);

    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /*//////////////////////////////////////////////////////////////
                         METADATA STORAGE/LOGIC
    //////////////////////////////////////////////////////////////*/

    string public name;

    string public symbol;

    function tokenURI(uint256 id) public view virtual returns (string memory);

    /*//////////////////////////////////////////////////////////////
                      ERC721 BALANCE/OWNER STORAGE
    //////////////////////////////////////////////////////////////*/

    mapping(uint256 => address) internal _ownerOf;

    mapping(address => uint256) internal _balanceOf;

    function ownerOf(uint256 id) public view virtual returns (address owner) {
        require((owner = _ownerOf[id]) != address(0), "NOT_MINTED");
    }

    function balanceOf(address owner) public view virtual returns (uint256) {
        require(owner != address(0), "ZERO_ADDRESS");

        return _balanceOf[owner];
    }

    /*//////////////////////////////////////////////////////////////
                         ERC721 APPROVAL STORAGE
    //////////////////////////////////////////////////////////////*/

    mapping(uint256 => address) public getApproved;

    mapping(address => mapping(address => bool)) public isApprovedForAll;

    /*//////////////////////////////////////////////////////////////
                               CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/

    constructor(string memory _name, string memory _symbol) {
        name = _name;
        symbol = _symbol;
    }

    /*//////////////////////////////////////////////////////////////
                              ERC721 LOGIC
    //////////////////////////////////////////////////////////////*/

    function approve(address spender, uint256 id) public virtual {
        address owner = _ownerOf[id];

        require(msg.sender == owner || isApprovedForAll[owner][msg.sender], "NOT_AUTHORIZED");

        getApproved[id] = spender;

        emit Approval(owner, spender, id);
    }

    function setApprovalForAll(address operator, bool approved) public virtual {
        isApprovedForAll[msg.sender][operator] = approved;

        emit ApprovalForAll(msg.sender, operator, approved);
    }

    function transferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual {
        require(from == _ownerOf[id], "WRONG_FROM");

        require(to != address(0), "INVALID_RECIPIENT");

        require(
            msg.sender == from || isApprovedForAll[from][msg.sender] || msg.sender == getApproved[id],
            "NOT_AUTHORIZED"
        );

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        unchecked {
            _balanceOf[from]--;

            _balanceOf[to]++;
        }

        _ownerOf[id] = to;

        delete getApproved[id];

        emit Transfer(from, to, id);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual {
        transferFrom(from, to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, "") ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        bytes calldata data
    ) public virtual {
        transferFrom(from, to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, data) ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    /*//////////////////////////////////////////////////////////////
                              ERC165 LOGIC
    //////////////////////////////////////////////////////////////*/

    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return
            interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165
            interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721
            interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata
    }

    /*//////////////////////////////////////////////////////////////
                        INTERNAL MINT/BURN LOGIC
    //////////////////////////////////////////////////////////////*/

    function _mint(address to, uint256 id) internal virtual {
        require(to != address(0), "INVALID_RECIPIENT");

        require(_ownerOf[id] == address(0), "ALREADY_MINTED");

        // Counter overflow is incredibly unrealistic.
        unchecked {
            _balanceOf[to]++;
        }

        _ownerOf[id] = to;

        emit Transfer(address(0), to, id);
    }

    function _burn(uint256 id) internal virtual {
        address owner = _ownerOf[id];

        require(owner != address(0), "NOT_MINTED");

        // Ownership check above ensures no underflow.
        unchecked {
            _balanceOf[owner]--;
        }

        delete _ownerOf[id];

        delete getApproved[id];

        emit Transfer(owner, address(0), id);
    }

    /*//////////////////////////////////////////////////////////////
                        INTERNAL SAFE MINT LOGIC
    //////////////////////////////////////////////////////////////*/

    function _safeMint(address to, uint256 id) internal virtual {
        _mint(to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, "") ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function _safeMint(
        address to,
        uint256 id,
        bytes memory data
    ) internal virtual {
        _mint(to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, data) ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }
}

/// @notice A generic interface for a contract which properly accepts ERC721 tokens.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol)
abstract contract ERC721TokenReceiver {
    function onERC721Received(
        address,
        address,
        uint256,
        bytes calldata
    ) external virtual returns (bytes4) {
        return ERC721TokenReceiver.onERC721Received.selector;
    }
}

Settings
{
  "remappings": [
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "murky/=lib/murky/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/",
    "solmate/=lib/solmate/src/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "london",
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_mintCost","type":"uint256"},{"internalType":"uint256","name":"_numInitialTeams","type":"uint256"},{"internalType":"uint256","name":"_maxPublicSupply","type":"uint256"},{"internalType":"uint256","name":"_maxWhitelistSupply","type":"uint256"},{"internalType":"uint256","name":"_maxMintPerAddress","type":"uint256"},{"internalType":"string","name":"_baseUri","type":"string"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyClaimed","type":"error"},{"inputs":[{"internalType":"uint256","name":"expected","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"IncorrectPayment","type":"error"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"InvalidProof","type":"error"},{"inputs":[],"name":"MaxMintAmountReached","type":"error"},{"inputs":[],"name":"MaxSupplyReached","type":"error"},{"inputs":[],"name":"MintingEnded","type":"error"},{"inputs":[],"name":"NotHolder","type":"error"},{"inputs":[],"name":"NotOwner","type":"error"},{"inputs":[],"name":"TransferFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","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":[],"name":"BaseURIUpdated","type":"event"},{"anonymous":false,"inputs":[],"name":"MintEnded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerChanged","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":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BASE_URI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressNumMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","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":"numToMint","type":"uint256"}],"name":"batchMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"checkInWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"getMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWhitelistSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintEnded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numInitialTeams","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numPublicMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numWhitelistMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","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":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_newOwner","type":"address"}],"name":"setOwner","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":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101406040523480156200001257600080fd5b506040516200248338038062002483833981016040819052620000359162000252565b6000805462000044906200035f565b80601f016020809104026020016040519081016040528092919081815260200182805462000072906200035f565b8015620000c35780601f106200009757610100808354040283529160200191620000c3565b820191906000526020600020905b815481529060010190602001808311620000a557829003601f168201915b505050505060018054620000d7906200035f565b80601f016020809104026020016040519081016040528092919081815260200182805462000105906200035f565b8015620001565780601f106200012a5761010080835404028352916020019162000156565b820191906000526020600020905b8154815290600101906020018083116200013857829003601f168201915b505050505081600090816200016c9190620003ee565b5060016200017b8282620003ee565b5050600680546001600160a01b031916331790555060076200019e8382620003ee565b5060408051808201909152601c81527f486f6c6f6772616d205743203230323220486f6d65204a6572736579000000006020820152600090620001e29082620003ee565b50604080518082019091526004815263090ae86960e31b60208201526001906200020d9082620003ee565b506080969096525060c09290925260a05260e0919091526101005261012052600c805460ff19169055620004ba565b634e487b7160e01b600052604160045260246000fd5b600080600080600080600060e0888a0312156200026e57600080fd5b87519650602080890151965060408901519550606089015194506080890151935060a089015160018060401b0380821115620002a957600080fd5b818b0191508b601f830112620002be57600080fd5b815181811115620002d357620002d36200023c565b604051601f8201601f19908116603f01168101908382118183101715620002fe57620002fe6200023c565b816040528281528e868487010111156200031757600080fd5b600093505b828410156200033b57848401860151818501870152928501926200031c565b600086848301015280975050505050505060c0880151905092959891949750929550565b600181811c908216806200037457607f821691505b6020821081036200039557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003e957600081815260208120601f850160051c81016020861015620003c45750805b601f850160051c820191505b81811015620003e557828155600101620003d0565b5050505b505050565b81516001600160401b038111156200040a576200040a6200023c565b62000422816200041b84546200035f565b846200039b565b602080601f8311600181146200045a5760008415620004415750858301515b600019600386901b1c1916600185901b178555620003e5565b600085815260208120601f198616915b828110156200048b578886015182559484019460019091019084016200046a565b5085821015620004aa5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c05160e0516101005161012051611f2c62000557600039600081816103a601526107e401526000818161041a01528181610a6e01528181610e1d01526111c1015260006104c4015260008181610364015281816109b401526110f201526000818161054b0152610d8c015260008181610601015281816109f601528181610a2a01528181611144015261117d0152611f2c6000f3fe6080604052600436106102045760003560e01c80638007b25a11610118578063bdb4b848116100a0578063d133a9b81161006f578063d133a9b814610689578063d52079b41461069f578063dbddb26a146106b5578063e985e9c5146106ca578063ef70aebf1461070557600080fd5b8063bdb4b848146105ef578063c7c87c3414610623578063c87b56dd14610639578063c884ef831461065957600080fd5b8063953f049d116100e7578063953f049d1461053957806395d89b411461056d578063a22cb46514610582578063b7c8259f146105a2578063b88d4fde146105cf57600080fd5b80638007b25a146104b25780638467be0d146104e65780638da5cb5b146104f9578063931688cb1461051957600080fd5b806323b872dd1161019b57806342842e0e1161016a57806342842e0e146103e8578063572849c4146104085780636352211e1461043c57806363b266ba1461045c57806370a082311461049257600080fd5b806323b872dd1461033257806326a74d8e146103525780632eb4a7ab146103945780632f52ebb7146103c857600080fd5b8063081812fc116101d7578063081812fc1461029a578063095ea7b3146102e85780631249c58b1461030a57806313af40351461031257600080fd5b806301ffc9a714610209578063021313cf1461023e57806303e200641461025857806306fdde0314610278575b600080fd5b34801561021557600080fd5b50610229610224366004611855565b61071a565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b50600c546102299060ff1681565b34801561026457600080fd5b506102296102733660046118d3565b61076c565b34801561028457600080fd5b5061028d610819565b6040516102359190611953565b3480156102a657600080fd5b506102d06102b5366004611986565b6004602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610235565b3480156102f457600080fd5b5061030861030336600461199f565b6108a7565b005b61030861098e565b34801561031e57600080fd5b5061030861032d3660046119cb565b610b1d565b34801561033e57600080fd5b5061030861034d3660046119e8565b610b92565b34801561035e57600080fd5b506103867f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610235565b3480156103a057600080fd5b506103867f000000000000000000000000000000000000000000000000000000000000000081565b3480156103d457600080fd5b506103086103e3366004611a29565b610d59565b3480156103f457600080fd5b506103086104033660046119e8565b610f1a565b34801561041457600080fd5b506103867f000000000000000000000000000000000000000000000000000000000000000081565b34801561044857600080fd5b506102d0610457366004611986565b611012565b34801561046857600080fd5b506103866104773660046119cb565b6001600160a01b03166000908152600b602052604090205490565b34801561049e57600080fd5b506103866104ad3660046119cb565b611069565b3480156104be57600080fd5b506103867f000000000000000000000000000000000000000000000000000000000000000081565b6103086104f4366004611986565b6110cc565b34801561050557600080fd5b506006546102d0906001600160a01b031681565b34801561052557600080fd5b50610308610534366004611a8b565b6112a4565b34801561054557600080fd5b506103867f000000000000000000000000000000000000000000000000000000000000000081565b34801561057957600080fd5b5061028d611308565b34801561058e57600080fd5b5061030861059d366004611b3c565b611315565b3480156105ae57600080fd5b506103866105bd3660046119cb565b600b6020526000908152604090205481565b3480156105db57600080fd5b506103086105ea366004611b7a565b611381565b3480156105fb57600080fd5b506103867f000000000000000000000000000000000000000000000000000000000000000081565b34801561062f57600080fd5b5061038660085481565b34801561064557600080fd5b5061028d610654366004611986565b611469565b34801561066557600080fd5b506102296106743660046119cb565b600d6020526000908152604090205460ff1681565b34801561069557600080fd5b5061038660095481565b3480156106ab57600080fd5b50610386600a5481565b3480156106c157600080fd5b5061028d61149d565b3480156106d657600080fd5b506102296106e5366004611c19565b600560209081526000928352604080842090915290825290205460ff1681565b34801561071157600080fd5b506103086114aa565b60006301ffc9a760e01b6001600160e01b03198316148061074b57506380ac58cd60e01b6001600160e01b03198316145b806107665750635b5e139f60e01b6001600160e01b03198316145b92915050565b6040516bffffffffffffffffffffffff19606086901b16602082015260348101849052600090819060540160405160208183030381529060405280519060200120905061080f8484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152507f000000000000000000000000000000000000000000000000000000000000000092508591506115319050565b9695505050505050565b6000805461082690611c47565b80601f016020809104026020016040519081016040528092919081815260200182805461085290611c47565b801561089f5780601f106108745761010080835404028352916020019161089f565b820191906000526020600020905b81548152906001019060200180831161088257829003601f168201915b505050505081565b6000818152600260205260409020546001600160a01b0316338114806108f057506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b6109325760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600c5460ff16156109b257604051633d20ce7960e21b815260040160405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000600954036109f45760405163d05cb60960e01b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000003414610a5c57604051630d35e92160e01b81527f00000000000000000000000000000000000000000000000000000000000000006004820152346024820152604401610929565b336000818152600b60205260409020547f00000000000000000000000000000000000000000000000000000000000000009003610aac57604051630c398d6560e41b815260040160405180910390fd5b610ab881600a54611547565b6001600160a01b0381166000908152600b60205260408120805460019290610ae1908490611c97565b92505081905550600160096000828254610afb9190611c97565b925050819055506001600a6000828254610b159190611c97565b909155505050565b6006546001600160a01b03163314610b48576040516330cd747160e01b815260040160405180910390fd5b600680546001600160a01b0319166001600160a01b0383169081179091556040517fa2ea9883a321a3e97b8266c2b078bfeec6d50c711ed71f874a90d500ae2eaf3690600090a250565b6000818152600260205260409020546001600160a01b03848116911614610be85760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b6044820152606401610929565b6001600160a01b038216610c325760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b6044820152606401610929565b336001600160a01b0384161480610c6c57506001600160a01b038316600090815260056020908152604080832033845290915290205460ff165b80610c8d57506000818152600460205260409020546001600160a01b031633145b610cca5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b6044820152606401610929565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526002825284832080546001600160a01b03199081168317909155600490925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b336000908152600d602052604090205460ff1615610d8a57604051630c8d9eab60e31b815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000083600854610db99190611c97565b1115610dd85760405163d05cb60960e01b815260040160405180910390fd5b33610de58185858561076c565b610e02576040516309bde33960e01b815260040160405180910390fd5b6001600160a01b0381166000908152600b60205260409020547f000000000000000000000000000000000000000000000000000000000000000090610e48908690611c97565b1115610e6757604051630c398d6560e41b815260040160405180910390fd5b600a545b84600a54610e799190611c97565b811015610e9c57610e8a8282611547565b80610e9481611caa565b915050610e6b565b50336000908152600d60209081526040808320805460ff191660011790556001600160a01b0384168352600b90915281208054869290610edd908490611c97565b925050819055508360086000828254610ef69190611c97565b9250508190555083600a6000828254610f0f9190611c97565b909155505050505050565b610f25838383610b92565b6001600160a01b0382163b1580610fce5750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610f9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc29190611cc3565b6001600160e01b031916145b61100d5760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b6044820152606401610929565b505050565b6000818152600260205260409020546001600160a01b0316806110645760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b6044820152606401610929565b919050565b60006001600160a01b0382166110b05760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b6044820152606401610929565b506001600160a01b031660009081526003602052604090205490565b600c5460ff16156110f057604051633d20ce7960e21b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000008160095461111f9190611c97565b111561113e5760405163d05cb60960e01b815260040160405180910390fd5b611168817f0000000000000000000000000000000000000000000000000000000000000000611ce0565b34146111af57604051630d35e92160e01b81527f00000000000000000000000000000000000000000000000000000000000000006004820152346024820152604401610929565b336000818152600b60205260409020547f0000000000000000000000000000000000000000000000000000000000000000906111ec908490611c97565b111561120b57604051630c398d6560e41b815260040160405180910390fd5b600a545b82600a5461121d9190611c97565b8110156112405761122e8282611547565b8061123881611caa565b91505061120f565b506001600160a01b0381166000908152600b602052604081208054849290611269908490611c97565b9250508190555081600960008282546112829190611c97565b9250508190555081600a600082825461129b9190611c97565b90915550505050565b6006546001600160a01b031633146112cf576040516330cd747160e01b815260040160405180910390fd5b60076112db8282611d45565b506040517fa1731ca444c73d019f0dbb4ee5546c98730f4ffcdaa1c29776ab542aa64d5e1b90600090a150565b6001805461082690611c47565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61138c858585610b92565b6001600160a01b0384163b15806114235750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a02906113d49033908a90899089908990600401611e05565b6020604051808303816000875af11580156113f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114179190611cc3565b6001600160e01b031916145b6114625760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b6044820152606401610929565b5050505050565b6060600761147683611652565b604051602001611487929190611e59565b6040516020818303038152906040529050919050565b6007805461082690611c47565b6006546001600160a01b031633146114d5576040516330cd747160e01b815260040160405180910390fd5b600c5460ff16156114f957604051633d20ce7960e21b815260040160405180910390fd5b600c805460ff191660011790556040517f49084b94bebca8230478350ba9c83ff8cd54378ccf633cc0d84357d0c0a9b67a90600090a1565b60008261153e85846116e5565b14949350505050565b6001600160a01b0382166115915760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b6044820152606401610929565b6000818152600260205260409020546001600160a01b0316156115e75760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b6044820152606401610929565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060600061165f83611732565b600101905060008167ffffffffffffffff81111561167f5761167f611a75565b6040519080825280601f01601f1916602001820160405280156116a9576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846116b357509392505050565b600081815b845181101561172a576117168286838151811061170957611709611ee0565b602002602001015161180a565b91508061172281611caa565b9150506116ea565b509392505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106117715772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061179d576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106117bb57662386f26fc10000830492506010015b6305f5e10083106117d3576305f5e100830492506008015b61271083106117e757612710830492506004015b606483106117f9576064830492506002015b600a83106107665760010192915050565b6000818310611826576000828152602084905260409020611835565b60008381526020839052604090205b9392505050565b6001600160e01b03198116811461185257600080fd5b50565b60006020828403121561186757600080fd5b81356118358161183c565b6001600160a01b038116811461185257600080fd5b60008083601f84011261189957600080fd5b50813567ffffffffffffffff8111156118b157600080fd5b6020830191508360208260051b85010111156118cc57600080fd5b9250929050565b600080600080606085870312156118e957600080fd5b84356118f481611872565b935060208501359250604085013567ffffffffffffffff81111561191757600080fd5b61192387828801611887565b95989497509550505050565b60005b8381101561194a578181015183820152602001611932565b50506000910152565b602081526000825180602084015261197281604085016020870161192f565b601f01601f19169190910160400192915050565b60006020828403121561199857600080fd5b5035919050565b600080604083850312156119b257600080fd5b82356119bd81611872565b946020939093013593505050565b6000602082840312156119dd57600080fd5b813561183581611872565b6000806000606084860312156119fd57600080fd5b8335611a0881611872565b92506020840135611a1881611872565b929592945050506040919091013590565b600080600060408486031215611a3e57600080fd5b83359250602084013567ffffffffffffffff811115611a5c57600080fd5b611a6886828701611887565b9497909650939450505050565b634e487b7160e01b600052604160045260246000fd5b600060208284031215611a9d57600080fd5b813567ffffffffffffffff80821115611ab557600080fd5b818401915084601f830112611ac957600080fd5b813581811115611adb57611adb611a75565b604051601f8201601f19908116603f01168101908382118183101715611b0357611b03611a75565b81604052828152876020848701011115611b1c57600080fd5b826020860160208301376000928101602001929092525095945050505050565b60008060408385031215611b4f57600080fd5b8235611b5a81611872565b915060208301358015158114611b6f57600080fd5b809150509250929050565b600080600080600060808688031215611b9257600080fd5b8535611b9d81611872565b94506020860135611bad81611872565b935060408601359250606086013567ffffffffffffffff80821115611bd157600080fd5b818801915088601f830112611be557600080fd5b813581811115611bf457600080fd5b896020828501011115611c0657600080fd5b9699959850939650602001949392505050565b60008060408385031215611c2c57600080fd5b8235611c3781611872565b91506020830135611b6f81611872565b600181811c90821680611c5b57607f821691505b602082108103611c7b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561076657610766611c81565b600060018201611cbc57611cbc611c81565b5060010190565b600060208284031215611cd557600080fd5b81516118358161183c565b808202811582820484141761076657610766611c81565b601f82111561100d57600081815260208120601f850160051c81016020861015611d1e5750805b601f850160051c820191505b81811015611d3d57828155600101611d2a565b505050505050565b815167ffffffffffffffff811115611d5f57611d5f611a75565b611d7381611d6d8454611c47565b84611cf7565b602080601f831160018114611da85760008415611d905750858301515b600019600386901b1c1916600185901b178555611d3d565b600085815260208120601f198616915b82811015611dd757888601518255948401946001909101908401611db8565b5085821015611df55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b6000808454611e6781611c47565b60018281168015611e7f5760018114611e9457611ec3565b60ff1984168752821515830287019450611ec3565b8860005260208060002060005b85811015611eba5781548a820152908401908201611ea1565b50505082870194505b505050508351611ed781836020880161192f565b01949350505050565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220723f08f13dd6a03c5bb815c88c3396a219fa6c3411a10e780128992a9dace5d264736f6c6343000811003300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000037e0000000000000000000000000000000000000000000000000000000000000902000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000e0417cbf3290ae623cf53a2ddee9e9f81a8e30daa689d7eb0dbf5588595f7e2ce2000000000000000000000000000000000000000000000000000000000000003a68747470733a2f2f686f6c6f6772616d78797a2e73332e616d617a6f6e6177732e636f6d2f6e66742f77632f6d657461646174612f686f6d652f000000000000

Deployed Bytecode

0x6080604052600436106102045760003560e01c80638007b25a11610118578063bdb4b848116100a0578063d133a9b81161006f578063d133a9b814610689578063d52079b41461069f578063dbddb26a146106b5578063e985e9c5146106ca578063ef70aebf1461070557600080fd5b8063bdb4b848146105ef578063c7c87c3414610623578063c87b56dd14610639578063c884ef831461065957600080fd5b8063953f049d116100e7578063953f049d1461053957806395d89b411461056d578063a22cb46514610582578063b7c8259f146105a2578063b88d4fde146105cf57600080fd5b80638007b25a146104b25780638467be0d146104e65780638da5cb5b146104f9578063931688cb1461051957600080fd5b806323b872dd1161019b57806342842e0e1161016a57806342842e0e146103e8578063572849c4146104085780636352211e1461043c57806363b266ba1461045c57806370a082311461049257600080fd5b806323b872dd1461033257806326a74d8e146103525780632eb4a7ab146103945780632f52ebb7146103c857600080fd5b8063081812fc116101d7578063081812fc1461029a578063095ea7b3146102e85780631249c58b1461030a57806313af40351461031257600080fd5b806301ffc9a714610209578063021313cf1461023e57806303e200641461025857806306fdde0314610278575b600080fd5b34801561021557600080fd5b50610229610224366004611855565b61071a565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b50600c546102299060ff1681565b34801561026457600080fd5b506102296102733660046118d3565b61076c565b34801561028457600080fd5b5061028d610819565b6040516102359190611953565b3480156102a657600080fd5b506102d06102b5366004611986565b6004602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610235565b3480156102f457600080fd5b5061030861030336600461199f565b6108a7565b005b61030861098e565b34801561031e57600080fd5b5061030861032d3660046119cb565b610b1d565b34801561033e57600080fd5b5061030861034d3660046119e8565b610b92565b34801561035e57600080fd5b506103867f000000000000000000000000000000000000000000000000000000000000037e81565b604051908152602001610235565b3480156103a057600080fd5b506103867f417cbf3290ae623cf53a2ddee9e9f81a8e30daa689d7eb0dbf5588595f7e2ce281565b3480156103d457600080fd5b506103086103e3366004611a29565b610d59565b3480156103f457600080fd5b506103086104033660046119e8565b610f1a565b34801561041457600080fd5b506103867f000000000000000000000000000000000000000000000000000000000000000181565b34801561044857600080fd5b506102d0610457366004611986565b611012565b34801561046857600080fd5b506103866104773660046119cb565b6001600160a01b03166000908152600b602052604090205490565b34801561049e57600080fd5b506103866104ad3660046119cb565b611069565b3480156104be57600080fd5b506103867f000000000000000000000000000000000000000000000000000000000000002081565b6103086104f4366004611986565b6110cc565b34801561050557600080fd5b506006546102d0906001600160a01b031681565b34801561052557600080fd5b50610308610534366004611a8b565b6112a4565b34801561054557600080fd5b506103867f000000000000000000000000000000000000000000000000000000000000090281565b34801561057957600080fd5b5061028d611308565b34801561058e57600080fd5b5061030861059d366004611b3c565b611315565b3480156105ae57600080fd5b506103866105bd3660046119cb565b600b6020526000908152604090205481565b3480156105db57600080fd5b506103086105ea366004611b7a565b611381565b3480156105fb57600080fd5b506103867f000000000000000000000000000000000000000000000000000000000000000081565b34801561062f57600080fd5b5061038660085481565b34801561064557600080fd5b5061028d610654366004611986565b611469565b34801561066557600080fd5b506102296106743660046119cb565b600d6020526000908152604090205460ff1681565b34801561069557600080fd5b5061038660095481565b3480156106ab57600080fd5b50610386600a5481565b3480156106c157600080fd5b5061028d61149d565b3480156106d657600080fd5b506102296106e5366004611c19565b600560209081526000928352604080842090915290825290205460ff1681565b34801561071157600080fd5b506103086114aa565b60006301ffc9a760e01b6001600160e01b03198316148061074b57506380ac58cd60e01b6001600160e01b03198316145b806107665750635b5e139f60e01b6001600160e01b03198316145b92915050565b6040516bffffffffffffffffffffffff19606086901b16602082015260348101849052600090819060540160405160208183030381529060405280519060200120905061080f8484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152507f417cbf3290ae623cf53a2ddee9e9f81a8e30daa689d7eb0dbf5588595f7e2ce292508591506115319050565b9695505050505050565b6000805461082690611c47565b80601f016020809104026020016040519081016040528092919081815260200182805461085290611c47565b801561089f5780601f106108745761010080835404028352916020019161089f565b820191906000526020600020905b81548152906001019060200180831161088257829003601f168201915b505050505081565b6000818152600260205260409020546001600160a01b0316338114806108f057506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b6109325760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600c5460ff16156109b257604051633d20ce7960e21b815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000037e600954036109f45760405163d05cb60960e01b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000003414610a5c57604051630d35e92160e01b81527f00000000000000000000000000000000000000000000000000000000000000006004820152346024820152604401610929565b336000818152600b60205260409020547f00000000000000000000000000000000000000000000000000000000000000019003610aac57604051630c398d6560e41b815260040160405180910390fd5b610ab881600a54611547565b6001600160a01b0381166000908152600b60205260408120805460019290610ae1908490611c97565b92505081905550600160096000828254610afb9190611c97565b925050819055506001600a6000828254610b159190611c97565b909155505050565b6006546001600160a01b03163314610b48576040516330cd747160e01b815260040160405180910390fd5b600680546001600160a01b0319166001600160a01b0383169081179091556040517fa2ea9883a321a3e97b8266c2b078bfeec6d50c711ed71f874a90d500ae2eaf3690600090a250565b6000818152600260205260409020546001600160a01b03848116911614610be85760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b6044820152606401610929565b6001600160a01b038216610c325760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b6044820152606401610929565b336001600160a01b0384161480610c6c57506001600160a01b038316600090815260056020908152604080832033845290915290205460ff165b80610c8d57506000818152600460205260409020546001600160a01b031633145b610cca5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b6044820152606401610929565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526002825284832080546001600160a01b03199081168317909155600490925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b336000908152600d602052604090205460ff1615610d8a57604051630c8d9eab60e31b815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000090283600854610db99190611c97565b1115610dd85760405163d05cb60960e01b815260040160405180910390fd5b33610de58185858561076c565b610e02576040516309bde33960e01b815260040160405180910390fd5b6001600160a01b0381166000908152600b60205260409020547f000000000000000000000000000000000000000000000000000000000000000190610e48908690611c97565b1115610e6757604051630c398d6560e41b815260040160405180910390fd5b600a545b84600a54610e799190611c97565b811015610e9c57610e8a8282611547565b80610e9481611caa565b915050610e6b565b50336000908152600d60209081526040808320805460ff191660011790556001600160a01b0384168352600b90915281208054869290610edd908490611c97565b925050819055508360086000828254610ef69190611c97565b9250508190555083600a6000828254610f0f9190611c97565b909155505050505050565b610f25838383610b92565b6001600160a01b0382163b1580610fce5750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610f9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc29190611cc3565b6001600160e01b031916145b61100d5760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b6044820152606401610929565b505050565b6000818152600260205260409020546001600160a01b0316806110645760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b6044820152606401610929565b919050565b60006001600160a01b0382166110b05760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b6044820152606401610929565b506001600160a01b031660009081526003602052604090205490565b600c5460ff16156110f057604051633d20ce7960e21b815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000037e8160095461111f9190611c97565b111561113e5760405163d05cb60960e01b815260040160405180910390fd5b611168817f0000000000000000000000000000000000000000000000000000000000000000611ce0565b34146111af57604051630d35e92160e01b81527f00000000000000000000000000000000000000000000000000000000000000006004820152346024820152604401610929565b336000818152600b60205260409020547f0000000000000000000000000000000000000000000000000000000000000001906111ec908490611c97565b111561120b57604051630c398d6560e41b815260040160405180910390fd5b600a545b82600a5461121d9190611c97565b8110156112405761122e8282611547565b8061123881611caa565b91505061120f565b506001600160a01b0381166000908152600b602052604081208054849290611269908490611c97565b9250508190555081600960008282546112829190611c97565b9250508190555081600a600082825461129b9190611c97565b90915550505050565b6006546001600160a01b031633146112cf576040516330cd747160e01b815260040160405180910390fd5b60076112db8282611d45565b506040517fa1731ca444c73d019f0dbb4ee5546c98730f4ffcdaa1c29776ab542aa64d5e1b90600090a150565b6001805461082690611c47565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61138c858585610b92565b6001600160a01b0384163b15806114235750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a02906113d49033908a90899089908990600401611e05565b6020604051808303816000875af11580156113f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114179190611cc3565b6001600160e01b031916145b6114625760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b6044820152606401610929565b5050505050565b6060600761147683611652565b604051602001611487929190611e59565b6040516020818303038152906040529050919050565b6007805461082690611c47565b6006546001600160a01b031633146114d5576040516330cd747160e01b815260040160405180910390fd5b600c5460ff16156114f957604051633d20ce7960e21b815260040160405180910390fd5b600c805460ff191660011790556040517f49084b94bebca8230478350ba9c83ff8cd54378ccf633cc0d84357d0c0a9b67a90600090a1565b60008261153e85846116e5565b14949350505050565b6001600160a01b0382166115915760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b6044820152606401610929565b6000818152600260205260409020546001600160a01b0316156115e75760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b6044820152606401610929565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060600061165f83611732565b600101905060008167ffffffffffffffff81111561167f5761167f611a75565b6040519080825280601f01601f1916602001820160405280156116a9576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846116b357509392505050565b600081815b845181101561172a576117168286838151811061170957611709611ee0565b602002602001015161180a565b91508061172281611caa565b9150506116ea565b509392505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106117715772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061179d576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106117bb57662386f26fc10000830492506010015b6305f5e10083106117d3576305f5e100830492506008015b61271083106117e757612710830492506004015b606483106117f9576064830492506002015b600a83106107665760010192915050565b6000818310611826576000828152602084905260409020611835565b60008381526020839052604090205b9392505050565b6001600160e01b03198116811461185257600080fd5b50565b60006020828403121561186757600080fd5b81356118358161183c565b6001600160a01b038116811461185257600080fd5b60008083601f84011261189957600080fd5b50813567ffffffffffffffff8111156118b157600080fd5b6020830191508360208260051b85010111156118cc57600080fd5b9250929050565b600080600080606085870312156118e957600080fd5b84356118f481611872565b935060208501359250604085013567ffffffffffffffff81111561191757600080fd5b61192387828801611887565b95989497509550505050565b60005b8381101561194a578181015183820152602001611932565b50506000910152565b602081526000825180602084015261197281604085016020870161192f565b601f01601f19169190910160400192915050565b60006020828403121561199857600080fd5b5035919050565b600080604083850312156119b257600080fd5b82356119bd81611872565b946020939093013593505050565b6000602082840312156119dd57600080fd5b813561183581611872565b6000806000606084860312156119fd57600080fd5b8335611a0881611872565b92506020840135611a1881611872565b929592945050506040919091013590565b600080600060408486031215611a3e57600080fd5b83359250602084013567ffffffffffffffff811115611a5c57600080fd5b611a6886828701611887565b9497909650939450505050565b634e487b7160e01b600052604160045260246000fd5b600060208284031215611a9d57600080fd5b813567ffffffffffffffff80821115611ab557600080fd5b818401915084601f830112611ac957600080fd5b813581811115611adb57611adb611a75565b604051601f8201601f19908116603f01168101908382118183101715611b0357611b03611a75565b81604052828152876020848701011115611b1c57600080fd5b826020860160208301376000928101602001929092525095945050505050565b60008060408385031215611b4f57600080fd5b8235611b5a81611872565b915060208301358015158114611b6f57600080fd5b809150509250929050565b600080600080600060808688031215611b9257600080fd5b8535611b9d81611872565b94506020860135611bad81611872565b935060408601359250606086013567ffffffffffffffff80821115611bd157600080fd5b818801915088601f830112611be557600080fd5b813581811115611bf457600080fd5b896020828501011115611c0657600080fd5b9699959850939650602001949392505050565b60008060408385031215611c2c57600080fd5b8235611c3781611872565b91506020830135611b6f81611872565b600181811c90821680611c5b57607f821691505b602082108103611c7b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561076657610766611c81565b600060018201611cbc57611cbc611c81565b5060010190565b600060208284031215611cd557600080fd5b81516118358161183c565b808202811582820484141761076657610766611c81565b601f82111561100d57600081815260208120601f850160051c81016020861015611d1e5750805b601f850160051c820191505b81811015611d3d57828155600101611d2a565b505050505050565b815167ffffffffffffffff811115611d5f57611d5f611a75565b611d7381611d6d8454611c47565b84611cf7565b602080601f831160018114611da85760008415611d905750858301515b600019600386901b1c1916600185901b178555611d3d565b600085815260208120601f198616915b82811015611dd757888601518255948401946001909101908401611db8565b5085821015611df55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b6000808454611e6781611c47565b60018281168015611e7f5760018114611e9457611ec3565b60ff1984168752821515830287019450611ec3565b8860005260208060002060005b85811015611eba5781548a820152908401908201611ea1565b50505082870194505b505050508351611ed781836020880161192f565b01949350505050565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220723f08f13dd6a03c5bb815c88c3396a219fa6c3411a10e780128992a9dace5d264736f6c63430008110033

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

00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000037e0000000000000000000000000000000000000000000000000000000000000902000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000e0417cbf3290ae623cf53a2ddee9e9f81a8e30daa689d7eb0dbf5588595f7e2ce2000000000000000000000000000000000000000000000000000000000000003a68747470733a2f2f686f6c6f6772616d78797a2e73332e616d617a6f6e6177732e636f6d2f6e66742f77632f6d657461646174612f686f6d652f000000000000

-----Decoded View---------------
Arg [0] : _mintCost (uint256): 0
Arg [1] : _numInitialTeams (uint256): 32
Arg [2] : _maxPublicSupply (uint256): 894
Arg [3] : _maxWhitelistSupply (uint256): 2306
Arg [4] : _maxMintPerAddress (uint256): 1
Arg [5] : _baseUri (string): https://hologramxyz.s3.amazonaws.com/nft/wc/metadata/home/
Arg [6] : _merkleRoot (bytes32): 0x417cbf3290ae623cf53a2ddee9e9f81a8e30daa689d7eb0dbf5588595f7e2ce2

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [2] : 000000000000000000000000000000000000000000000000000000000000037e
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000902
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [5] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [6] : 417cbf3290ae623cf53a2ddee9e9f81a8e30daa689d7eb0dbf5588595f7e2ce2
Arg [7] : 000000000000000000000000000000000000000000000000000000000000003a
Arg [8] : 68747470733a2f2f686f6c6f6772616d78797a2e73332e616d617a6f6e617773
Arg [9] : 2e636f6d2f6e66742f77632f6d657461646174612f686f6d652f000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

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