ETH Price: $3,112.84 (+1.38%)

Token

Hacktivists Genesis (USB)
 

Overview

Max Total Supply

445 USB

Holders

254

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
darejewb.eth
Balance
1 USB
0x877adf7a6d29a4678dc86cba270a2c5257b6ecc9
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Hacktivist

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-06-06
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol


// OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * 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 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++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

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

// File: @openzeppelin/contracts/utils/Strings.sol


// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Address.sol


// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// 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: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


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

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @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: contracts/ERC721A.sol


// Creator: Chiru Labs

pragma solidity ^0.8.4;








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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

        address from = prevOwnership.addr;

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

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

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

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

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

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

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

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

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

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



pragma solidity >=0.8.9 <0.9.0;





contract Hacktivist is ERC721A, Ownable, ReentrancyGuard {
  using Strings for uint256;

  bytes32 public merkleRoot;
  bytes32 public ogMerkleRoot;
  bytes32 public teamMerkleRoot;
  mapping(address => bool) public whitelistClaimed;
  mapping(address => bool) public ogClaimed;
  mapping(address => bool) public teamClaimed;

  string public uriPrefix = '';
  string public uriSuffix = '.json';
  
  uint256 public ogAmount = 3;

  uint256 public maxSupply;
  uint256 public maxMintAmountPerTx;

  bool public active = false;
  bool public wlMintEnabled = true;

  constructor(
    string memory _tokenName,
    string memory _tokenSymbol,
    string memory _uriPrefix,
    uint256 _maxSupply,
    uint256 _maxMintAmountPerTx
  ) ERC721A(_tokenName, _tokenSymbol) {
    maxSupply = _maxSupply;
    maxMintAmountPerTx = _maxMintAmountPerTx;
    uriPrefix = _uriPrefix;
  }

  modifier mintCompliance(uint256 _mintAmount) {
    require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, 'Invalid mint amount!');
    require(totalSupply() + _mintAmount <= maxSupply, 'Max supply exceeded!');
    _;
  }

  function whitelistMint(bytes32[] calldata _merkleProof) public payable {
    require(active, 'Contract is not active!');
    require(wlMintEnabled, 'The whitelist sale is not enabled!');
    require(!whitelistClaimed[msg.sender], 'Address already claimed!');
    bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
    require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), 'Invalid proof!');

    whitelistClaimed[msg.sender] = true;
    _safeMint(msg.sender, 1);
  }

  function mint(uint256 _mintAmount) public payable mintCompliance(_mintAmount) {
    require(active, 'Contract is not active!');
    require(!wlMintEnabled, 'The whitelist sale is currently enabled!');
    _safeMint(msg.sender, _mintAmount);
  }

  function teamMint(bytes32[] calldata _merkleProof) public payable {
    require(!teamClaimed[msg.sender], 'Address already claimed!');
    bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
    require(MerkleProof.verify(_merkleProof, teamMerkleRoot, leaf), 'Invalid proof!');

    teamClaimed[msg.sender] = true;
    _safeMint(msg.sender, 1);
  }

  function ogMint(bytes32[] calldata _merkleProof) public payable {
    require(active, 'Contract is not active!');
    require(wlMintEnabled, 'The whitelist sale is not enabled!');
    require(!ogClaimed[msg.sender], 'Address already claimed!');
    bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
    require(MerkleProof.verify(_merkleProof, ogMerkleRoot, leaf), 'Invalid proof!');

    ogClaimed[msg.sender] = true;
    _safeMint(msg.sender, ogAmount);
  }
  
  function airdrop(uint256 _mintAmount, address _receiver) public mintCompliance(_mintAmount) onlyOwner {
    _safeMint(_receiver, _mintAmount);
  }

  function walletOfOwner(address _owner) public view returns (uint256[] memory) {
    uint256 ownerTokenCount = balanceOf(_owner);
    uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
    uint256 currentTokenId = _startTokenId();
    uint256 ownedTokenIndex = 0;
    address latestOwnerAddress;

    while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) {
      TokenOwnership memory ownership = _ownerships[currentTokenId];

      if (!ownership.burned && ownership.addr != address(0)) {
        latestOwnerAddress = ownership.addr;
      }

      if (latestOwnerAddress == _owner) {
        ownedTokenIds[ownedTokenIndex] = currentTokenId;
        ownedTokenIndex++;
      }

      currentTokenId++;
    }

    return ownedTokenIds;
  }

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

  function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
    require(_exists(_tokenId), 'ERC721Metadata: URI query for nonexistent token');

    string memory currentBaseURI = _baseURI();
    return bytes(currentBaseURI).length > 0
        ? string(abi.encodePacked(currentBaseURI))
        : '';
  }

  function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner {
    maxMintAmountPerTx = _maxMintAmountPerTx;
  }

  function setUriPrefix(string memory _uriPrefix) public onlyOwner {
    uriPrefix = _uriPrefix;
  }

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

  function enablePublic() public onlyOwner {
    active = true;
    wlMintEnabled = false;
  }

  function setMerkleRoot(bytes32 _merkleRoot, bytes32 _teamMerkleRoot, bytes32 _ogMerkleRoot) public onlyOwner {
    merkleRoot = _merkleRoot;
    teamMerkleRoot = _teamMerkleRoot;
    ogMerkleRoot = _ogMerkleRoot;
  }

  function setActive(bool _state) public onlyOwner {
    active = _state;
  }

  function setWhitelistMintEnabled(bool _wlState) public onlyOwner {
    wlMintEnabled = _wlState;
  }

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"string","name":"_uriPrefix","type":"string"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"active","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enablePublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"ogClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"ogMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setActive","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":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"bytes32","name":"_teamMerkleRoot","type":"bytes32"},{"internalType":"bytes32","name":"_ogMerkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_wlState","type":"bool"}],"name":"setWhitelistMintEnabled","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":"address","name":"","type":"address"}],"name":"teamClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"teamMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"wlMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60a06040819052600060808190526200001b9160109162000153565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200004a9160119162000153565b5060036012556015805461ffff19166101001790553480156200006c57600080fd5b50604051620027bb380380620027bb8339810160408190526200008f91620002c6565b845185908590620000a890600290602085019062000153565b508051620000be90600390602084019062000153565b5050600160005550620000d13362000101565b6001600955601382905560148190558251620000f590601090602086019062000153565b505050505050620003a6565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000161906200036a565b90600052602060002090601f016020900481019282620001855760008555620001d0565b82601f10620001a057805160ff1916838001178555620001d0565b82800160010185558215620001d0579182015b82811115620001d0578251825591602001919060010190620001b3565b50620001de929150620001e2565b5090565b5b80821115620001de5760008155600101620001e3565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200022157600080fd5b81516001600160401b03808211156200023e576200023e620001f9565b604051601f8301601f19908116603f01168101908282118183101715620002695762000269620001f9565b816040528381526020925086838588010111156200028657600080fd5b600091505b83821015620002aa57858201830151818301840152908201906200028b565b83821115620002bc5760008385830101525b9695505050505050565b600080600080600060a08688031215620002df57600080fd5b85516001600160401b0380821115620002f757600080fd5b6200030589838a016200020f565b965060208801519150808211156200031c57600080fd5b6200032a89838a016200020f565b955060408801519150808211156200034157600080fd5b5062000350888289016200020f565b606088015160809098015196999598509695949350505050565b600181811c908216806200037f57607f821691505b602082108103620003a057634e487b7160e01b600052602260045260246000fd5b50919050565b61240580620003b66000396000f3fe60806040526004361061025c5760003560e01c806373fc16ad11610144578063b767a098116100b6578063d5abeb011161007a578063d5abeb01146106cf578063db4bec44146106e5578063dc64a75414610715578063e985e9c51461072a578063f2fde38b14610773578063f880bf391461079357600080fd5b8063b767a0981461063c578063b88d4fde1461065c578063bc63f02e1461067c578063c87b56dd1461069c578063cb30bc2e146106bc57600080fd5b806395d89b411161010857806395d89b4114610584578063a0712d6814610599578063a1f94330146105ac578063a22cb465146105dc578063acec338a146105fc578063b071401b1461061c57600080fd5b806373fc16ad146104ed5780637ec4a6591461051d5780638da5cb5b1461053d578063918ed5d51461055b57806394354fd01461056e57600080fd5b806329140819116101dd5780635288b3e7116101a15780635288b3e7146104585780635503a0e81461046e57806362b99ad4146104835780636352211e1461049857806370a08231146104b8578063715018a6146104d857600080fd5b806329140819146103cc5780632eb4a7ab146103e2578063372f657c146103f857806342842e0e1461040b578063438b63001461042b57600080fd5b80630a302530116102245780630a3025301461032c57806311f95ac31461035057806316ba10e01461036f57806318160ddd1461038f57806323b872dd146103ac57600080fd5b806301ffc9a71461026157806302fb0c5e1461029657806306fdde03146102b0578063081812fc146102d2578063095ea7b31461030a575b600080fd5b34801561026d57600080fd5b5061028161027c366004611d96565b6107b3565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506015546102819060ff1681565b3480156102bc57600080fd5b506102c5610805565b60405161028d9190611e0b565b3480156102de57600080fd5b506102f26102ed366004611e1e565b610897565b6040516001600160a01b03909116815260200161028d565b34801561031657600080fd5b5061032a610325366004611e53565b6108db565b005b34801561033857600080fd5b50610342600b5481565b60405190815260200161028d565b34801561035c57600080fd5b5060155461028190610100900460ff1681565b34801561037b57600080fd5b5061032a61038a366004611f09565b610968565b34801561039b57600080fd5b506001546000540360001901610342565b3480156103b857600080fd5b5061032a6103c7366004611f52565b6109b2565b3480156103d857600080fd5b50610342600c5481565b3480156103ee57600080fd5b50610342600a5481565b61032a610406366004611f8e565b6109bd565b34801561041757600080fd5b5061032a610426366004611f52565b610aee565b34801561043757600080fd5b5061044b610446366004612003565b610b09565b60405161028d919061201e565b34801561046457600080fd5b5061034260125481565b34801561047a57600080fd5b506102c5610c51565b34801561048f57600080fd5b506102c5610cdf565b3480156104a457600080fd5b506102f26104b3366004611e1e565b610cec565b3480156104c457600080fd5b506103426104d3366004612003565b610cfe565b3480156104e457600080fd5b5061032a610d4d565b3480156104f957600080fd5b50610281610508366004612003565b600e6020526000908152604090205460ff1681565b34801561052957600080fd5b5061032a610538366004611f09565b610d83565b34801561054957600080fd5b506008546001600160a01b03166102f2565b61032a610569366004611f8e565b610dc0565b34801561057a57600080fd5b5061034260145481565b34801561059057600080fd5b506102c5610ef1565b61032a6105a7366004611e1e565b610f00565b3480156105b857600080fd5b506102816105c7366004612003565b600f6020526000908152604090205460ff1681565b3480156105e857600080fd5b5061032a6105f7366004612072565b61104b565b34801561060857600080fd5b5061032a6106173660046120a5565b6110e0565b34801561062857600080fd5b5061032a610637366004611e1e565b61111d565b34801561064857600080fd5b5061032a6106573660046120a5565b61114c565b34801561066857600080fd5b5061032a6106773660046120c0565b611190565b34801561068857600080fd5b5061032a61069736600461213c565b6111e1565b3480156106a857600080fd5b506102c56106b7366004611e1e565b6112cb565b61032a6106ca366004611f8e565b61138c565b3480156106db57600080fd5b5061034260135481565b3480156106f157600080fd5b50610281610700366004612003565b600d6020526000908152604090205460ff1681565b34801561072157600080fd5b5061032a611474565b34801561073657600080fd5b5061028161074536600461215f565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561077f57600080fd5b5061032a61078e366004612003565b6114ae565b34801561079f57600080fd5b5061032a6107ae366004612189565b611549565b60006001600160e01b031982166380ac58cd60e01b14806107e457506001600160e01b03198216635b5e139f60e01b145b806107ff57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610814906121b5565b80601f0160208091040260200160405190810160405280929190818152602001828054610840906121b5565b801561088d5780601f106108625761010080835404028352916020019161088d565b820191906000526020600020905b81548152906001019060200180831161087057829003601f168201915b5050505050905090565b60006108a282611581565b6108bf576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006108e682610cec565b9050806001600160a01b0316836001600160a01b03160361091a5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061093a57506109388133610745565b155b15610958576040516367d9dca160e11b815260040160405180910390fd5b6109638383836115ba565b505050565b6008546001600160a01b0316331461099b5760405162461bcd60e51b8152600401610992906121ef565b60405180910390fd5b80516109ae906011906020840190611ce7565b5050565b610963838383611616565b60155460ff166109df5760405162461bcd60e51b815260040161099290612224565b601554610100900460ff16610a065760405162461bcd60e51b81526004016109929061225b565b336000908152600d602052604090205460ff1615610a365760405162461bcd60e51b81526004016109929061229d565b6040516001600160601b03193360601b166020820152600090603401604051602081830303815290604052805190602001209050610aab83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a549150849050611805565b610ac75760405162461bcd60e51b8152600401610992906122d4565b336000818152600d60205260409020805460ff19166001908117909155610963919061181b565b61096383838360405180602001604052806000815250611190565b60606000610b1683610cfe565b905060008167ffffffffffffffff811115610b3357610b33611e7d565b604051908082528060200260200182016040528015610b5c578160200160208202803683370190505b50905060016000805b8482108015610b7657506013548311155b15610c4657600083815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161580159282018390529091610be4575080516001600160a01b031615155b15610bee57805191505b876001600160a01b0316826001600160a01b031603610c335783858481518110610c1a57610c1a6122fc565b602090810291909101015282610c2f81612328565b9350505b83610c3d81612328565b94505050610b65565b509195945050505050565b60118054610c5e906121b5565b80601f0160208091040260200160405190810160405280929190818152602001828054610c8a906121b5565b8015610cd75780601f10610cac57610100808354040283529160200191610cd7565b820191906000526020600020905b815481529060010190602001808311610cba57829003601f168201915b505050505081565b60108054610c5e906121b5565b6000610cf782611835565b5192915050565b60006001600160a01b038216610d27576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610d775760405162461bcd60e51b8152600401610992906121ef565b610d81600061195e565b565b6008546001600160a01b03163314610dad5760405162461bcd60e51b8152600401610992906121ef565b80516109ae906010906020840190611ce7565b60155460ff16610de25760405162461bcd60e51b815260040161099290612224565b601554610100900460ff16610e095760405162461bcd60e51b81526004016109929061225b565b336000908152600e602052604090205460ff1615610e395760405162461bcd60e51b81526004016109929061229d565b6040516001600160601b03193360601b166020820152600090603401604051602081830303815290604052805190602001209050610eae83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b549150849050611805565b610eca5760405162461bcd60e51b8152600401610992906122d4565b336000818152600e60205260409020805460ff19166001179055601254610963919061181b565b606060038054610814906121b5565b80600081118015610f1357506014548111155b610f565760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610992565b6013546001546000548391900360001901610f719190612341565b1115610fb65760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610992565b60155460ff16610fd85760405162461bcd60e51b815260040161099290612224565b601554610100900460ff16156110415760405162461bcd60e51b815260206004820152602860248201527f5468652077686974656c6973742073616c652069732063757272656e746c7920604482015267656e61626c65642160c01b6064820152608401610992565b6109ae338361181b565b336001600160a01b038316036110745760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b0316331461110a5760405162461bcd60e51b8152600401610992906121ef565b6015805460ff1916911515919091179055565b6008546001600160a01b031633146111475760405162461bcd60e51b8152600401610992906121ef565b601455565b6008546001600160a01b031633146111765760405162461bcd60e51b8152600401610992906121ef565b601580549115156101000261ff0019909216919091179055565b61119b848484611616565b6001600160a01b0383163b151580156111bd57506111bb848484846119b0565b155b156111db576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b816000811180156111f457506014548111155b6112375760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610992565b60135460015460005483919003600019016112529190612341565b11156112975760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610992565b6008546001600160a01b031633146112c15760405162461bcd60e51b8152600401610992906121ef565b610963828461181b565b60606112d682611581565b61133a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610992565b6000611344611a9c565b905060008151116113645760405180602001604052806000815250611385565b806040516020016113759190612359565b6040516020818303038152906040525b9392505050565b336000908152600f602052604090205460ff16156113bc5760405162461bcd60e51b81526004016109929061229d565b6040516001600160601b03193360601b16602082015260009060340160405160208183030381529060405280519060200120905061143183838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600c549150849050611805565b61144d5760405162461bcd60e51b8152600401610992906122d4565b336000818152600f60205260409020805460ff19166001908117909155610963919061181b565b6008546001600160a01b0316331461149e5760405162461bcd60e51b8152600401610992906121ef565b6015805461ffff19166001179055565b6008546001600160a01b031633146114d85760405162461bcd60e51b8152600401610992906121ef565b6001600160a01b03811661153d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610992565b6115468161195e565b50565b6008546001600160a01b031633146115735760405162461bcd60e51b8152600401610992906121ef565b600a92909255600c55600b55565b600081600111158015611595575060005482105b80156107ff575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061162182611835565b9050836001600160a01b031681600001516001600160a01b0316146116585760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061167657506116768533610745565b8061169157503361168684610897565b6001600160a01b0316145b9050806116b157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166116d857604051633a954ecd60e21b815260040160405180910390fd5b6116e4600084876115ba565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166117ba5760005482146117ba578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b6000826118128584611aab565b14949350505050565b6109ae828260405180602001604052806000815250611b1f565b60408051606081018252600080825260208201819052918101919091528180600111158015611865575060005481105b1561194557600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906119435780516001600160a01b0316156118d9579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff161515928101929092521561193e579392505050565b6118d9565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906119e5903390899088908890600401612375565b6020604051808303816000875af1925050508015611a20575060408051601f3d908101601f19168201909252611a1d918101906123b2565b60015b611a7e573d808015611a4e576040519150601f19603f3d011682016040523d82523d6000602084013e611a53565b606091505b508051600003611a76576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060108054610814906121b5565b600081815b8451811015611b17576000858281518110611acd57611acd6122fc565b60200260200101519050808311611af35760008381526020829052604090209250611b04565b600081815260208490526040902092505b5080611b0f81612328565b915050611ab0565b509392505050565b6000546001600160a01b038416611b4857604051622e076360e81b815260040160405180910390fd5b82600003611b695760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b15611c92575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611c5b60008784806001019550876119b0565b611c78576040516368d2bf6b60e11b815260040160405180910390fd5b808203611c10578260005414611c8d57600080fd5b611cd7565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808203611c93575b5060009081556111db9085838684565b828054611cf3906121b5565b90600052602060002090601f016020900481019282611d155760008555611d5b565b82601f10611d2e57805160ff1916838001178555611d5b565b82800160010185558215611d5b579182015b82811115611d5b578251825591602001919060010190611d40565b50611d67929150611d6b565b5090565b5b80821115611d675760008155600101611d6c565b6001600160e01b03198116811461154657600080fd5b600060208284031215611da857600080fd5b813561138581611d80565b60005b83811015611dce578181015183820152602001611db6565b838111156111db5750506000910152565b60008151808452611df7816020860160208601611db3565b601f01601f19169290920160200192915050565b6020815260006113856020830184611ddf565b600060208284031215611e3057600080fd5b5035919050565b80356001600160a01b0381168114611e4e57600080fd5b919050565b60008060408385031215611e6657600080fd5b611e6f83611e37565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611eae57611eae611e7d565b604051601f8501601f19908116603f01168101908282118183101715611ed657611ed6611e7d565b81604052809350858152868686011115611eef57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611f1b57600080fd5b813567ffffffffffffffff811115611f3257600080fd5b8201601f81018413611f4357600080fd5b611a9484823560208401611e93565b600080600060608486031215611f6757600080fd5b611f7084611e37565b9250611f7e60208501611e37565b9150604084013590509250925092565b60008060208385031215611fa157600080fd5b823567ffffffffffffffff80821115611fb957600080fd5b818501915085601f830112611fcd57600080fd5b813581811115611fdc57600080fd5b8660208260051b8501011115611ff157600080fd5b60209290920196919550909350505050565b60006020828403121561201557600080fd5b61138582611e37565b6020808252825182820181905260009190848201906040850190845b818110156120565783518352928401929184019160010161203a565b50909695505050505050565b80358015158114611e4e57600080fd5b6000806040838503121561208557600080fd5b61208e83611e37565b915061209c60208401612062565b90509250929050565b6000602082840312156120b757600080fd5b61138582612062565b600080600080608085870312156120d657600080fd5b6120df85611e37565b93506120ed60208601611e37565b925060408501359150606085013567ffffffffffffffff81111561211057600080fd5b8501601f8101871361212157600080fd5b61213087823560208401611e93565b91505092959194509250565b6000806040838503121561214f57600080fd5b8235915061209c60208401611e37565b6000806040838503121561217257600080fd5b61217b83611e37565b915061209c60208401611e37565b60008060006060848603121561219e57600080fd5b505081359360208301359350604090920135919050565b600181811c908216806121c957607f821691505b6020821081036121e957634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526017908201527f436f6e7472616374206973206e6f742061637469766521000000000000000000604082015260600190565b60208082526022908201527f5468652077686974656c6973742073616c65206973206e6f7420656e61626c65604082015261642160f01b606082015260800190565b60208082526018908201527f4164647265737320616c726561647920636c61696d6564210000000000000000604082015260600190565b6020808252600e908201526d496e76616c69642070726f6f662160901b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161233a5761233a612312565b5060010190565b6000821982111561235457612354612312565b500190565b6000825161236b818460208701611db3565b9190910192915050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906123a890830184611ddf565b9695505050505050565b6000602082840312156123c457600080fd5b815161138581611d8056fea2646970667358221220516f5276ba43ed2b9f3bd40790563edce6e11f18fc1142f9b057a539e25ac76c64736f6c634300080e003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001bc000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000134861636b746976697374732047656e6573697300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000355534200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d665572365a784b53733556733654336a6d796f64735a42416848323234547a65356a4355535443524237776a2f00000000000000000000

Deployed Bytecode

0x60806040526004361061025c5760003560e01c806373fc16ad11610144578063b767a098116100b6578063d5abeb011161007a578063d5abeb01146106cf578063db4bec44146106e5578063dc64a75414610715578063e985e9c51461072a578063f2fde38b14610773578063f880bf391461079357600080fd5b8063b767a0981461063c578063b88d4fde1461065c578063bc63f02e1461067c578063c87b56dd1461069c578063cb30bc2e146106bc57600080fd5b806395d89b411161010857806395d89b4114610584578063a0712d6814610599578063a1f94330146105ac578063a22cb465146105dc578063acec338a146105fc578063b071401b1461061c57600080fd5b806373fc16ad146104ed5780637ec4a6591461051d5780638da5cb5b1461053d578063918ed5d51461055b57806394354fd01461056e57600080fd5b806329140819116101dd5780635288b3e7116101a15780635288b3e7146104585780635503a0e81461046e57806362b99ad4146104835780636352211e1461049857806370a08231146104b8578063715018a6146104d857600080fd5b806329140819146103cc5780632eb4a7ab146103e2578063372f657c146103f857806342842e0e1461040b578063438b63001461042b57600080fd5b80630a302530116102245780630a3025301461032c57806311f95ac31461035057806316ba10e01461036f57806318160ddd1461038f57806323b872dd146103ac57600080fd5b806301ffc9a71461026157806302fb0c5e1461029657806306fdde03146102b0578063081812fc146102d2578063095ea7b31461030a575b600080fd5b34801561026d57600080fd5b5061028161027c366004611d96565b6107b3565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506015546102819060ff1681565b3480156102bc57600080fd5b506102c5610805565b60405161028d9190611e0b565b3480156102de57600080fd5b506102f26102ed366004611e1e565b610897565b6040516001600160a01b03909116815260200161028d565b34801561031657600080fd5b5061032a610325366004611e53565b6108db565b005b34801561033857600080fd5b50610342600b5481565b60405190815260200161028d565b34801561035c57600080fd5b5060155461028190610100900460ff1681565b34801561037b57600080fd5b5061032a61038a366004611f09565b610968565b34801561039b57600080fd5b506001546000540360001901610342565b3480156103b857600080fd5b5061032a6103c7366004611f52565b6109b2565b3480156103d857600080fd5b50610342600c5481565b3480156103ee57600080fd5b50610342600a5481565b61032a610406366004611f8e565b6109bd565b34801561041757600080fd5b5061032a610426366004611f52565b610aee565b34801561043757600080fd5b5061044b610446366004612003565b610b09565b60405161028d919061201e565b34801561046457600080fd5b5061034260125481565b34801561047a57600080fd5b506102c5610c51565b34801561048f57600080fd5b506102c5610cdf565b3480156104a457600080fd5b506102f26104b3366004611e1e565b610cec565b3480156104c457600080fd5b506103426104d3366004612003565b610cfe565b3480156104e457600080fd5b5061032a610d4d565b3480156104f957600080fd5b50610281610508366004612003565b600e6020526000908152604090205460ff1681565b34801561052957600080fd5b5061032a610538366004611f09565b610d83565b34801561054957600080fd5b506008546001600160a01b03166102f2565b61032a610569366004611f8e565b610dc0565b34801561057a57600080fd5b5061034260145481565b34801561059057600080fd5b506102c5610ef1565b61032a6105a7366004611e1e565b610f00565b3480156105b857600080fd5b506102816105c7366004612003565b600f6020526000908152604090205460ff1681565b3480156105e857600080fd5b5061032a6105f7366004612072565b61104b565b34801561060857600080fd5b5061032a6106173660046120a5565b6110e0565b34801561062857600080fd5b5061032a610637366004611e1e565b61111d565b34801561064857600080fd5b5061032a6106573660046120a5565b61114c565b34801561066857600080fd5b5061032a6106773660046120c0565b611190565b34801561068857600080fd5b5061032a61069736600461213c565b6111e1565b3480156106a857600080fd5b506102c56106b7366004611e1e565b6112cb565b61032a6106ca366004611f8e565b61138c565b3480156106db57600080fd5b5061034260135481565b3480156106f157600080fd5b50610281610700366004612003565b600d6020526000908152604090205460ff1681565b34801561072157600080fd5b5061032a611474565b34801561073657600080fd5b5061028161074536600461215f565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561077f57600080fd5b5061032a61078e366004612003565b6114ae565b34801561079f57600080fd5b5061032a6107ae366004612189565b611549565b60006001600160e01b031982166380ac58cd60e01b14806107e457506001600160e01b03198216635b5e139f60e01b145b806107ff57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610814906121b5565b80601f0160208091040260200160405190810160405280929190818152602001828054610840906121b5565b801561088d5780601f106108625761010080835404028352916020019161088d565b820191906000526020600020905b81548152906001019060200180831161087057829003601f168201915b5050505050905090565b60006108a282611581565b6108bf576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006108e682610cec565b9050806001600160a01b0316836001600160a01b03160361091a5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061093a57506109388133610745565b155b15610958576040516367d9dca160e11b815260040160405180910390fd5b6109638383836115ba565b505050565b6008546001600160a01b0316331461099b5760405162461bcd60e51b8152600401610992906121ef565b60405180910390fd5b80516109ae906011906020840190611ce7565b5050565b610963838383611616565b60155460ff166109df5760405162461bcd60e51b815260040161099290612224565b601554610100900460ff16610a065760405162461bcd60e51b81526004016109929061225b565b336000908152600d602052604090205460ff1615610a365760405162461bcd60e51b81526004016109929061229d565b6040516001600160601b03193360601b166020820152600090603401604051602081830303815290604052805190602001209050610aab83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a549150849050611805565b610ac75760405162461bcd60e51b8152600401610992906122d4565b336000818152600d60205260409020805460ff19166001908117909155610963919061181b565b61096383838360405180602001604052806000815250611190565b60606000610b1683610cfe565b905060008167ffffffffffffffff811115610b3357610b33611e7d565b604051908082528060200260200182016040528015610b5c578160200160208202803683370190505b50905060016000805b8482108015610b7657506013548311155b15610c4657600083815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161580159282018390529091610be4575080516001600160a01b031615155b15610bee57805191505b876001600160a01b0316826001600160a01b031603610c335783858481518110610c1a57610c1a6122fc565b602090810291909101015282610c2f81612328565b9350505b83610c3d81612328565b94505050610b65565b509195945050505050565b60118054610c5e906121b5565b80601f0160208091040260200160405190810160405280929190818152602001828054610c8a906121b5565b8015610cd75780601f10610cac57610100808354040283529160200191610cd7565b820191906000526020600020905b815481529060010190602001808311610cba57829003601f168201915b505050505081565b60108054610c5e906121b5565b6000610cf782611835565b5192915050565b60006001600160a01b038216610d27576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610d775760405162461bcd60e51b8152600401610992906121ef565b610d81600061195e565b565b6008546001600160a01b03163314610dad5760405162461bcd60e51b8152600401610992906121ef565b80516109ae906010906020840190611ce7565b60155460ff16610de25760405162461bcd60e51b815260040161099290612224565b601554610100900460ff16610e095760405162461bcd60e51b81526004016109929061225b565b336000908152600e602052604090205460ff1615610e395760405162461bcd60e51b81526004016109929061229d565b6040516001600160601b03193360601b166020820152600090603401604051602081830303815290604052805190602001209050610eae83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b549150849050611805565b610eca5760405162461bcd60e51b8152600401610992906122d4565b336000818152600e60205260409020805460ff19166001179055601254610963919061181b565b606060038054610814906121b5565b80600081118015610f1357506014548111155b610f565760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610992565b6013546001546000548391900360001901610f719190612341565b1115610fb65760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610992565b60155460ff16610fd85760405162461bcd60e51b815260040161099290612224565b601554610100900460ff16156110415760405162461bcd60e51b815260206004820152602860248201527f5468652077686974656c6973742073616c652069732063757272656e746c7920604482015267656e61626c65642160c01b6064820152608401610992565b6109ae338361181b565b336001600160a01b038316036110745760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b0316331461110a5760405162461bcd60e51b8152600401610992906121ef565b6015805460ff1916911515919091179055565b6008546001600160a01b031633146111475760405162461bcd60e51b8152600401610992906121ef565b601455565b6008546001600160a01b031633146111765760405162461bcd60e51b8152600401610992906121ef565b601580549115156101000261ff0019909216919091179055565b61119b848484611616565b6001600160a01b0383163b151580156111bd57506111bb848484846119b0565b155b156111db576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b816000811180156111f457506014548111155b6112375760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610992565b60135460015460005483919003600019016112529190612341565b11156112975760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610992565b6008546001600160a01b031633146112c15760405162461bcd60e51b8152600401610992906121ef565b610963828461181b565b60606112d682611581565b61133a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610992565b6000611344611a9c565b905060008151116113645760405180602001604052806000815250611385565b806040516020016113759190612359565b6040516020818303038152906040525b9392505050565b336000908152600f602052604090205460ff16156113bc5760405162461bcd60e51b81526004016109929061229d565b6040516001600160601b03193360601b16602082015260009060340160405160208183030381529060405280519060200120905061143183838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600c549150849050611805565b61144d5760405162461bcd60e51b8152600401610992906122d4565b336000818152600f60205260409020805460ff19166001908117909155610963919061181b565b6008546001600160a01b0316331461149e5760405162461bcd60e51b8152600401610992906121ef565b6015805461ffff19166001179055565b6008546001600160a01b031633146114d85760405162461bcd60e51b8152600401610992906121ef565b6001600160a01b03811661153d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610992565b6115468161195e565b50565b6008546001600160a01b031633146115735760405162461bcd60e51b8152600401610992906121ef565b600a92909255600c55600b55565b600081600111158015611595575060005482105b80156107ff575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061162182611835565b9050836001600160a01b031681600001516001600160a01b0316146116585760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061167657506116768533610745565b8061169157503361168684610897565b6001600160a01b0316145b9050806116b157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166116d857604051633a954ecd60e21b815260040160405180910390fd5b6116e4600084876115ba565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166117ba5760005482146117ba578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b6000826118128584611aab565b14949350505050565b6109ae828260405180602001604052806000815250611b1f565b60408051606081018252600080825260208201819052918101919091528180600111158015611865575060005481105b1561194557600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906119435780516001600160a01b0316156118d9579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff161515928101929092521561193e579392505050565b6118d9565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906119e5903390899088908890600401612375565b6020604051808303816000875af1925050508015611a20575060408051601f3d908101601f19168201909252611a1d918101906123b2565b60015b611a7e573d808015611a4e576040519150601f19603f3d011682016040523d82523d6000602084013e611a53565b606091505b508051600003611a76576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060108054610814906121b5565b600081815b8451811015611b17576000858281518110611acd57611acd6122fc565b60200260200101519050808311611af35760008381526020829052604090209250611b04565b600081815260208490526040902092505b5080611b0f81612328565b915050611ab0565b509392505050565b6000546001600160a01b038416611b4857604051622e076360e81b815260040160405180910390fd5b82600003611b695760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b15611c92575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611c5b60008784806001019550876119b0565b611c78576040516368d2bf6b60e11b815260040160405180910390fd5b808203611c10578260005414611c8d57600080fd5b611cd7565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808203611c93575b5060009081556111db9085838684565b828054611cf3906121b5565b90600052602060002090601f016020900481019282611d155760008555611d5b565b82601f10611d2e57805160ff1916838001178555611d5b565b82800160010185558215611d5b579182015b82811115611d5b578251825591602001919060010190611d40565b50611d67929150611d6b565b5090565b5b80821115611d675760008155600101611d6c565b6001600160e01b03198116811461154657600080fd5b600060208284031215611da857600080fd5b813561138581611d80565b60005b83811015611dce578181015183820152602001611db6565b838111156111db5750506000910152565b60008151808452611df7816020860160208601611db3565b601f01601f19169290920160200192915050565b6020815260006113856020830184611ddf565b600060208284031215611e3057600080fd5b5035919050565b80356001600160a01b0381168114611e4e57600080fd5b919050565b60008060408385031215611e6657600080fd5b611e6f83611e37565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611eae57611eae611e7d565b604051601f8501601f19908116603f01168101908282118183101715611ed657611ed6611e7d565b81604052809350858152868686011115611eef57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611f1b57600080fd5b813567ffffffffffffffff811115611f3257600080fd5b8201601f81018413611f4357600080fd5b611a9484823560208401611e93565b600080600060608486031215611f6757600080fd5b611f7084611e37565b9250611f7e60208501611e37565b9150604084013590509250925092565b60008060208385031215611fa157600080fd5b823567ffffffffffffffff80821115611fb957600080fd5b818501915085601f830112611fcd57600080fd5b813581811115611fdc57600080fd5b8660208260051b8501011115611ff157600080fd5b60209290920196919550909350505050565b60006020828403121561201557600080fd5b61138582611e37565b6020808252825182820181905260009190848201906040850190845b818110156120565783518352928401929184019160010161203a565b50909695505050505050565b80358015158114611e4e57600080fd5b6000806040838503121561208557600080fd5b61208e83611e37565b915061209c60208401612062565b90509250929050565b6000602082840312156120b757600080fd5b61138582612062565b600080600080608085870312156120d657600080fd5b6120df85611e37565b93506120ed60208601611e37565b925060408501359150606085013567ffffffffffffffff81111561211057600080fd5b8501601f8101871361212157600080fd5b61213087823560208401611e93565b91505092959194509250565b6000806040838503121561214f57600080fd5b8235915061209c60208401611e37565b6000806040838503121561217257600080fd5b61217b83611e37565b915061209c60208401611e37565b60008060006060848603121561219e57600080fd5b505081359360208301359350604090920135919050565b600181811c908216806121c957607f821691505b6020821081036121e957634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526017908201527f436f6e7472616374206973206e6f742061637469766521000000000000000000604082015260600190565b60208082526022908201527f5468652077686974656c6973742073616c65206973206e6f7420656e61626c65604082015261642160f01b606082015260800190565b60208082526018908201527f4164647265737320616c726561647920636c61696d6564210000000000000000604082015260600190565b6020808252600e908201526d496e76616c69642070726f6f662160901b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161233a5761233a612312565b5060010190565b6000821982111561235457612354612312565b500190565b6000825161236b818460208701611db3565b9190910192915050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906123a890830184611ddf565b9695505050505050565b6000602082840312156123c457600080fd5b815161138581611d8056fea2646970667358221220516f5276ba43ed2b9f3bd40790563edce6e11f18fc1142f9b057a539e25ac76c64736f6c634300080e0033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001bc000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000134861636b746976697374732047656e6573697300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000355534200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d665572365a784b53733556733654336a6d796f64735a42416848323234547a65356a4355535443524237776a2f00000000000000000000

-----Decoded View---------------
Arg [0] : _tokenName (string): Hacktivists Genesis
Arg [1] : _tokenSymbol (string): USB
Arg [2] : _uriPrefix (string): ipfs://QmfUr6ZxKSs5Vs6T3jmyodsZBAhH224Tze5jCUSTCRB7wj/
Arg [3] : _maxSupply (uint256): 444
Arg [4] : _maxMintAmountPerTx (uint256): 5

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001bc
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [6] : 4861636b746976697374732047656e6573697300000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [8] : 5553420000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [10] : 697066733a2f2f516d665572365a784b53733556733654336a6d796f64735a42
Arg [11] : 416848323234547a65356a4355535443524237776a2f00000000000000000000


Deployed Bytecode Sourcemap

51376:5114:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32479:305;;;;;;;;;;-1:-1:-1;32479:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;32479:305:0;;;;;;;;51893:26;;;;;;;;;;-1:-1:-1;51893:26:0;;;;;;;;35592:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;37095:204::-;;;;;;;;;;-1:-1:-1;37095:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;37095:204:0;1528:203:1;36658:371:0;;;;;;;;;;-1:-1:-1;36658:371:0;;;;;:::i;:::-;;:::i;:::-;;51500:27;;;;;;;;;;;;;;;;;;;2319:25:1;;;2307:2;2292:18;51500:27:0;2173:177:1;51924:32:0;;;;;;;;;;-1:-1:-1;51924:32:0;;;;;;;;;;;55759:100;;;;;;;;;;-1:-1:-1;55759:100:0;;;;;:::i;:::-;;:::i;31728:303::-;;;;;;;;;;-1:-1:-1;55157:1:0;31982:12;31772:7;31966:13;:28;-1:-1:-1;;31966:46:0;31728:303;;37960:170;;;;;;;;;;-1:-1:-1;37960:170:0;;;;;:::i;:::-;;:::i;51532:29::-;;;;;;;;;;;;;;;;51470:25;;;;;;;;;;;;;;;;52522:486;;;;;;:::i;:::-;;:::i;38201:185::-;;;;;;;;;;-1:-1:-1;38201:185:0;;;;;:::i;:::-;;:::i;54269:794::-;;;;;;;;;;-1:-1:-1;54269:794:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;51790:27::-;;;;;;;;;;;;;;;;51748:33;;;;;;;;;;;;;:::i;51715:28::-;;;;;;;;;;;;;:::i;35400:125::-;;;;;;;;;;-1:-1:-1;35400:125:0;;;;;:::i;:::-;;:::i;32848:206::-;;;;;;;;;;-1:-1:-1;32848:206:0;;;;;:::i;:::-;;:::i;10207:103::-;;;;;;;;;;;;;:::i;51619:41::-;;;;;;;;;;-1:-1:-1;51619:41:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;55653:100;;;;;;;;;;-1:-1:-1;55653:100:0;;;;;:::i;:::-;;:::i;9556:87::-;;;;;;;;;;-1:-1:-1;9629:6:0;;-1:-1:-1;;;;;9629:6:0;9556:87;;53633:474;;;;;;:::i;:::-;;:::i;51853:33::-;;;;;;;;;;;;;;;;35761:104;;;;;;;;;;;;;:::i;53014:248::-;;;;;;:::i;:::-;;:::i;51665:43::-;;;;;;;;;;-1:-1:-1;51665:43:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;37371:287;;;;;;;;;;-1:-1:-1;37371:287:0;;;;;:::i;:::-;;:::i;56192:77::-;;;;;;;;;;-1:-1:-1;56192:77:0;;;;;:::i;:::-;;:::i;55517:130::-;;;;;;;;;;-1:-1:-1;55517:130:0;;;;;:::i;:::-;;:::i;56275:102::-;;;;;;;;;;-1:-1:-1;56275:102:0;;;;;:::i;:::-;;:::i;38457:369::-;;;;;;;;;;-1:-1:-1;38457:369:0;;;;;:::i;:::-;;:::i;54115:148::-;;;;;;;;;;-1:-1:-1;54115:148:0;;;;;:::i;:::-;;:::i;55170:341::-;;;;;;;;;;-1:-1:-1;55170:341:0;;;;;:::i;:::-;;:::i;53268:359::-;;;;;;:::i;:::-;;:::i;51824:24::-;;;;;;;;;;;;;;;;51566:48;;;;;;;;;;-1:-1:-1;51566:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;55865:95;;;;;;;;;;;;;:::i;37729:164::-;;;;;;;;;;-1:-1:-1;37729:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;37850:25:0;;;37826:4;37850:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;37729:164;10465:201;;;;;;;;;;-1:-1:-1;10465:201:0;;;;;:::i;:::-;;:::i;55966:220::-;;;;;;;;;;-1:-1:-1;55966:220:0;;;;;:::i;:::-;;:::i;32479:305::-;32581:4;-1:-1:-1;;;;;;32618:40:0;;-1:-1:-1;;;32618:40:0;;:105;;-1:-1:-1;;;;;;;32675:48:0;;-1:-1:-1;;;32675:48:0;32618:105;:158;;;-1:-1:-1;;;;;;;;;;22472:40:0;;;32740:36;32598:178;32479:305;-1:-1:-1;;32479:305:0:o;35592:100::-;35646:13;35679:5;35672:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35592:100;:::o;37095:204::-;37163:7;37188:16;37196:7;37188;:16::i;:::-;37183:64;;37213:34;;-1:-1:-1;;;37213:34:0;;;;;;;;;;;37183:64;-1:-1:-1;37267:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;37267:24:0;;37095:204::o;36658:371::-;36731:13;36747:24;36763:7;36747:15;:24::i;:::-;36731:40;;36792:5;-1:-1:-1;;;;;36786:11:0;:2;-1:-1:-1;;;;;36786:11:0;;36782:48;;36806:24;;-1:-1:-1;;;36806:24:0;;;;;;;;;;;36782:48;8360:10;-1:-1:-1;;;;;36847:21:0;;;;;;:63;;-1:-1:-1;36873:37:0;36890:5;8360:10;37729:164;:::i;36873:37::-;36872:38;36847:63;36843:138;;;36934:35;;-1:-1:-1;;;36934:35:0;;;;;;;;;;;36843:138;36993:28;37002:2;37006:7;37015:5;36993:8;:28::i;:::-;36720:309;36658:371;;:::o;55759:100::-;9629:6;;-1:-1:-1;;;;;9629:6:0;8360:10;9776:23;9768:68;;;;-1:-1:-1;;;9768:68:0;;;;;;;:::i;:::-;;;;;;;;;55831:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;55759:100:::0;:::o;37960:170::-;38094:28;38104:4;38110:2;38114:7;38094:9;:28::i;52522:486::-;52608:6;;;;52600:42;;;;-1:-1:-1;;;52600:42:0;;;;;;;:::i;:::-;52657:13;;;;;;;52649:60;;;;-1:-1:-1;;;52649:60:0;;;;;;;:::i;:::-;52742:10;52725:28;;;;:16;:28;;;;;;;;52724:29;52716:66;;;;-1:-1:-1;;;52716:66:0;;;;;;;:::i;:::-;52814:28;;-1:-1:-1;;;;;;52831:10:0;9672:2:1;9668:15;9664:53;52814:28:0;;;9652:66:1;52789:12:0;;9734::1;;52814:28:0;;;;;;;;;;;;52804:39;;;;;;52789:54;;52858:50;52877:12;;52858:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52891:10:0;;;-1:-1:-1;52903:4:0;;-1:-1:-1;52858:18:0;:50::i;:::-;52850:77;;;;-1:-1:-1;;;52850:77:0;;;;;;;:::i;:::-;52953:10;52936:28;;;;:16;:28;;;;;:35;;-1:-1:-1;;52936:35:0;52967:4;52936:35;;;;;;52978:24;;52953:10;52978:9;:24::i;38201:185::-;38339:39;38356:4;38362:2;38366:7;38339:39;;;;;;;;;;;;:16;:39::i;54269:794::-;54329:16;54354:23;54380:17;54390:6;54380:9;:17::i;:::-;54354:43;;54404:30;54451:15;54437:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54437:30:0;-1:-1:-1;54404:63:0;-1:-1:-1;55157:1:0;54474:22;;54590:439;54615:15;54597;:33;:64;;;;;54652:9;;54634:14;:27;;54597:64;54590:439;;;54672:31;54706:27;;;:11;:27;;;;;;;;;54672:61;;;;;;;;;-1:-1:-1;;;;;54672:61:0;;;;-1:-1:-1;;;54672:61:0;;;;;;;;;;;-1:-1:-1;;;54672:61:0;;;;;;;;;;;;;;;;54748:49;;-1:-1:-1;54769:14:0;;-1:-1:-1;;;;;54769:28:0;;;54748:49;54744:111;;;54831:14;;;-1:-1:-1;54744:111:0;54891:6;-1:-1:-1;;;;;54869:28:0;:18;-1:-1:-1;;;;;54869:28:0;;54865:130;;54943:14;54910:13;54924:15;54910:30;;;;;;;;:::i;:::-;;;;;;;;;;:47;54968:17;;;;:::i;:::-;;;;54865:130;55005:16;;;;:::i;:::-;;;;54663:366;54590:439;;;-1:-1:-1;55044:13:0;;54269:794;-1:-1:-1;;;;;54269:794:0:o;51748:33::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;51715:28::-;;;;;;;:::i;35400:125::-;35464:7;35491:21;35504:7;35491:12;:21::i;:::-;:26;;35400:125;-1:-1:-1;;35400:125:0:o;32848:206::-;32912:7;-1:-1:-1;;;;;32936:19:0;;32932:60;;32964:28;;-1:-1:-1;;;32964:28:0;;;;;;;;;;;32932:60;-1:-1:-1;;;;;;33018:19:0;;;;;:12;:19;;;;;:27;;;;32848:206::o;10207:103::-;9629:6;;-1:-1:-1;;;;;9629:6:0;8360:10;9776:23;9768:68;;;;-1:-1:-1;;;9768:68:0;;;;;;;:::i;:::-;10272:30:::1;10299:1;10272:18;:30::i;:::-;10207:103::o:0;55653:100::-;9629:6;;-1:-1:-1;;;;;9629:6:0;8360:10;9776:23;9768:68;;;;-1:-1:-1;;;9768:68:0;;;;;;;:::i;:::-;55725:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;53633:474::-:0;53712:6;;;;53704:42;;;;-1:-1:-1;;;53704:42:0;;;;;;;:::i;:::-;53761:13;;;;;;;53753:60;;;;-1:-1:-1;;;53753:60:0;;;;;;;:::i;:::-;53839:10;53829:21;;;;:9;:21;;;;;;;;53828:22;53820:59;;;;-1:-1:-1;;;53820:59:0;;;;;;;:::i;:::-;53911:28;;-1:-1:-1;;;;;;53928:10:0;9672:2:1;9668:15;9664:53;53911:28:0;;;9652:66:1;53886:12:0;;9734::1;;53911:28:0;;;;;;;;;;;;53901:39;;;;;;53886:54;;53955:52;53974:12;;53955:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53988:12:0;;;-1:-1:-1;54002:4:0;;-1:-1:-1;53955:18:0;:52::i;:::-;53947:79;;;;-1:-1:-1;;;53947:79:0;;;;;;;:::i;:::-;54045:10;54035:21;;;;:9;:21;;;;;:28;;-1:-1:-1;;54035:28:0;54059:4;54035:28;;;54092:8;;54070:31;;54045:10;54070:9;:31::i;35761:104::-;35817:13;35850:7;35843:14;;;;;:::i;53014:248::-;53079:11;52359:1;52345:11;:15;:52;;;;;52379:18;;52364:11;:33;;52345:52;52337:85;;;;-1:-1:-1;;;52337:85:0;;10706:2:1;52337:85:0;;;10688:21:1;10745:2;10725:18;;;10718:30;-1:-1:-1;;;10764:18:1;;;10757:50;10824:18;;52337:85:0;10504:344:1;52337:85:0;52468:9;;55157:1;31982:12;31772:7;31966:13;52453:11;;31966:28;;-1:-1:-1;;31966:46:0;52437:27;;;;:::i;:::-;:40;;52429:73;;;;-1:-1:-1;;;52429:73:0;;11188:2:1;52429:73:0;;;11170:21:1;11227:2;11207:18;;;11200:30;-1:-1:-1;;;11246:18:1;;;11239:50;11306:18;;52429:73:0;10986:344:1;52429:73:0;53107:6:::1;::::0;::::1;;53099:42;;;;-1:-1:-1::0;;;53099:42:0::1;;;;;;;:::i;:::-;53157:13;::::0;::::1;::::0;::::1;;;53156:14;53148:67;;;::::0;-1:-1:-1;;;53148:67:0;;11537:2:1;53148:67:0::1;::::0;::::1;11519:21:1::0;11576:2;11556:18;;;11549:30;11615:34;11595:18;;;11588:62;-1:-1:-1;;;11666:18:1;;;11659:38;11714:19;;53148:67:0::1;11335:404:1::0;53148:67:0::1;53222:34;53232:10;53244:11;53222:9;:34::i;37371:287::-:0;8360:10;-1:-1:-1;;;;;37470:24:0;;;37466:54;;37503:17;;-1:-1:-1;;;37503:17:0;;;;;;;;;;;37466:54;8360:10;37533:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;37533:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;37533:53:0;;;;;;;;;;37602:48;;540:41:1;;;37533:42:0;;8360:10;37602:48;;513:18:1;37602:48:0;;;;;;;37371:287;;:::o;56192:77::-;9629:6;;-1:-1:-1;;;;;9629:6:0;8360:10;9776:23;9768:68;;;;-1:-1:-1;;;9768:68:0;;;;;;;:::i;:::-;56248:6:::1;:15:::0;;-1:-1:-1;;56248:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;56192:77::o;55517:130::-;9629:6;;-1:-1:-1;;;;;9629:6:0;8360:10;9776:23;9768:68;;;;-1:-1:-1;;;9768:68:0;;;;;;;:::i;:::-;55601:18:::1;:40:::0;55517:130::o;56275:102::-;9629:6;;-1:-1:-1;;;;;9629:6:0;8360:10;9776:23;9768:68;;;;-1:-1:-1;;;9768:68:0;;;;;;;:::i;:::-;56347:13:::1;:24:::0;;;::::1;;;;-1:-1:-1::0;;56347:24:0;;::::1;::::0;;;::::1;::::0;;56275:102::o;38457:369::-;38624:28;38634:4;38640:2;38644:7;38624:9;:28::i;:::-;-1:-1:-1;;;;;38667:13:0;;12552:19;:23;;38667:76;;;;;38687:56;38718:4;38724:2;38728:7;38737:5;38687:30;:56::i;:::-;38686:57;38667:76;38663:156;;;38767:40;;-1:-1:-1;;;38767:40:0;;;;;;;;;;;38663:156;38457:369;;;;:::o;54115:148::-;54194:11;52359:1;52345:11;:15;:52;;;;;52379:18;;52364:11;:33;;52345:52;52337:85;;;;-1:-1:-1;;;52337:85:0;;10706:2:1;52337:85:0;;;10688:21:1;10745:2;10725:18;;;10718:30;-1:-1:-1;;;10764:18:1;;;10757:50;10824:18;;52337:85:0;10504:344:1;52337:85:0;52468:9;;55157:1;31982:12;31772:7;31966:13;52453:11;;31966:28;;-1:-1:-1;;31966:46:0;52437:27;;;;:::i;:::-;:40;;52429:73;;;;-1:-1:-1;;;52429:73:0;;11188:2:1;52429:73:0;;;11170:21:1;11227:2;11207:18;;;11200:30;-1:-1:-1;;;11246:18:1;;;11239:50;11306:18;;52429:73:0;10986:344:1;52429:73:0;9629:6;;-1:-1:-1;;;;;9629:6:0;8360:10;9776:23:::1;9768:68;;;;-1:-1:-1::0;;;9768:68:0::1;;;;;;;:::i;:::-;54224:33:::2;54234:9;54245:11;54224:9;:33::i;55170:341::-:0;55244:13;55274:17;55282:8;55274:7;:17::i;:::-;55266:77;;;;-1:-1:-1;;;55266:77:0;;11946:2:1;55266:77:0;;;11928:21:1;11985:2;11965:18;;;11958:30;12024:34;12004:18;;;11997:62;-1:-1:-1;;;12075:18:1;;;12068:45;12130:19;;55266:77:0;11744:411:1;55266:77:0;55352:28;55383:10;:8;:10::i;:::-;55352:41;;55438:1;55413:14;55407:28;:32;:98;;;;;;;;;;;;;;;;;55475:14;55458:32;;;;;;;;:::i;:::-;;;;;;;;;;;;;55407:98;55400:105;55170:341;-1:-1:-1;;;55170:341:0:o;53268:359::-;53362:10;53350:23;;;;:11;:23;;;;;;;;53349:24;53341:61;;;;-1:-1:-1;;;53341:61:0;;;;;;;:::i;:::-;53434:28;;-1:-1:-1;;;;;;53451:10:0;9672:2:1;9668:15;9664:53;53434:28:0;;;9652:66:1;53409:12:0;;9734::1;;53434:28:0;;;;;;;;;;;;53424:39;;;;;;53409:54;;53478;53497:12;;53478:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53511:14:0;;;-1:-1:-1;53527:4:0;;-1:-1:-1;53478:18:0;:54::i;:::-;53470:81;;;;-1:-1:-1;;;53470:81:0;;;;;;;:::i;:::-;53572:10;53560:23;;;;:11;:23;;;;;:30;;-1:-1:-1;;53560:30:0;53586:4;53560:30;;;;;;53597:24;;53572:10;53597:9;:24::i;55865:95::-;9629:6;;-1:-1:-1;;;;;9629:6:0;8360:10;9776:23;9768:68;;;;-1:-1:-1;;;9768:68:0;;;;;;;:::i;:::-;55913:6:::1;:13:::0;;-1:-1:-1;;55933:21:0;55922:4:::1;55933:21:::0;;;55865:95::o;10465:201::-;9629:6;;-1:-1:-1;;;;;9629:6:0;8360:10;9776:23;9768:68;;;;-1:-1:-1;;;9768:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;10554:22:0;::::1;10546:73;;;::::0;-1:-1:-1;;;10546:73:0;;12643:2:1;10546:73:0::1;::::0;::::1;12625:21:1::0;12682:2;12662:18;;;12655:30;12721:34;12701:18;;;12694:62;-1:-1:-1;;;12772:18:1;;;12765:36;12818:19;;10546:73:0::1;12441:402:1::0;10546:73:0::1;10630:28;10649:8;10630:18;:28::i;:::-;10465:201:::0;:::o;55966:220::-;9629:6;;-1:-1:-1;;;;;9629:6:0;8360:10;9776:23;9768:68;;;;-1:-1:-1;;;9768:68:0;;;;;;;:::i;:::-;56082:10:::1;:24:::0;;;;56113:14:::1;:32:::0;56152:12:::1;:28:::0;55966:220::o;39081:174::-;39138:4;39181:7;55157:1;39162:26;;:53;;;;;39202:13;;39192:7;:23;39162:53;:85;;;;-1:-1:-1;;39220:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;39220:27:0;;;;39219:28;;39081:174::o;48307:196::-;48422:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;48422:29:0;-1:-1:-1;;;;;48422:29:0;;;;;;;;;48467:28;;48422:24;;48467:28;;;;;;;48307:196;;;:::o;43255:2130::-;43370:35;43408:21;43421:7;43408:12;:21::i;:::-;43370:59;;43468:4;-1:-1:-1;;;;;43446:26:0;:13;:18;;;-1:-1:-1;;;;;43446:26:0;;43442:67;;43481:28;;-1:-1:-1;;;43481:28:0;;;;;;;;;;;43442:67;43522:22;8360:10;-1:-1:-1;;;;;43548:20:0;;;;:73;;-1:-1:-1;43585:36:0;43602:4;8360:10;37729:164;:::i;43585:36::-;43548:126;;;-1:-1:-1;8360:10:0;43638:20;43650:7;43638:11;:20::i;:::-;-1:-1:-1;;;;;43638:36:0;;43548:126;43522:153;;43693:17;43688:66;;43719:35;;-1:-1:-1;;;43719:35:0;;;;;;;;;;;43688:66;-1:-1:-1;;;;;43769:16:0;;43765:52;;43794:23;;-1:-1:-1;;;43794:23:0;;;;;;;;;;;43765:52;43938:35;43955:1;43959:7;43968:4;43938:8;:35::i;:::-;-1:-1:-1;;;;;44269:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;44269:31:0;;;;;;;-1:-1:-1;;44269:31:0;;;;;;;44315:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;44315:29:0;;;;;;;;;;;44395:20;;;:11;:20;;;;;;44430:18;;-1:-1:-1;;;;;;44463:49:0;;;;-1:-1:-1;;;44496:15:0;44463:49;;;;;;;;;;44786:11;;44846:24;;;;;44889:13;;44395:20;;44846:24;;44889:13;44885:384;;45099:13;;45084:11;:28;45080:174;;45137:20;;45206:28;;;;45180:54;;-1:-1:-1;;;45180:54:0;-1:-1:-1;;;;;;45180:54:0;;;-1:-1:-1;;;;;45137:20:0;;45180:54;;;;45080:174;44244:1036;;;45316:7;45312:2;-1:-1:-1;;;;;45297:27:0;45306:4;-1:-1:-1;;;;;45297:27:0;;;;;;;;;;;43359:2026;;43255:2130;;;:::o;4012:190::-;4137:4;4190;4161:25;4174:5;4181:4;4161:12;:25::i;:::-;:33;;4012:190;-1:-1:-1;;;;4012:190:0:o;39339:104::-;39408:27;39418:2;39422:8;39408:27;;;;;;;;;;;;:9;:27::i;34229:1109::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;34340:7:0;;55157:1;34389:23;;:47;;;;;34423:13;;34416:4;:20;34389:47;34385:886;;;34457:31;34491:17;;;:11;:17;;;;;;;;;34457:51;;;;;;;;;-1:-1:-1;;;;;34457:51:0;;;;-1:-1:-1;;;34457:51:0;;;;;;;;;;;-1:-1:-1;;;34457:51:0;;;;;;;;;;;;;;34527:729;;34577:14;;-1:-1:-1;;;;;34577:28:0;;34573:101;;34641:9;34229:1109;-1:-1:-1;;;34229:1109:0:o;34573:101::-;-1:-1:-1;;;35016:6:0;35061:17;;;;:11;:17;;;;;;;;;35049:29;;;;;;;;;-1:-1:-1;;;;;35049:29:0;;;;;-1:-1:-1;;;35049:29:0;;;;;;;;;;;-1:-1:-1;;;35049:29:0;;;;;;;;;;;;;35109:28;35105:109;;35177:9;34229:1109;-1:-1:-1;;;34229:1109:0:o;35105:109::-;34976:261;;;34438:833;34385:886;35299:31;;-1:-1:-1;;;35299:31:0;;;;;;;;;;;10826:191;10919:6;;;-1:-1:-1;;;;;10936:17:0;;;-1:-1:-1;;;;;;10936:17:0;;;;;;;10969:40;;10919:6;;;10936:17;10919:6;;10969:40;;10900:16;;10969:40;10889:128;10826:191;:::o;48995:667::-;49179:72;;-1:-1:-1;;;49179:72:0;;49158:4;;-1:-1:-1;;;;;49179:36:0;;;;;:72;;8360:10;;49230:4;;49236:7;;49245:5;;49179:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49179:72:0;;;;;;;;-1:-1:-1;;49179:72:0;;;;;;;;;;;;:::i;:::-;;;49175:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49413:6;:13;49430:1;49413:18;49409:235;;49459:40;;-1:-1:-1;;;49459:40:0;;;;;;;;;;;49409:235;49602:6;49596:13;49587:6;49583:2;49579:15;49572:38;49175:480;-1:-1:-1;;;;;;49298:55:0;-1:-1:-1;;;49298:55:0;;-1:-1:-1;49175:480:0;48995:667;;;;;;:::o;56383:104::-;56443:13;56472:9;56465:16;;;;;:::i;4563:675::-;4646:7;4689:4;4646:7;4704:497;4728:5;:12;4724:1;:16;4704:497;;;4762:20;4785:5;4791:1;4785:8;;;;;;;;:::i;:::-;;;;;;;4762:31;;4828:12;4812;:28;4808:382;;5314:13;5364:15;;;5400:4;5393:15;;;5447:4;5431:21;;4940:57;;4808:382;;;5314:13;5364:15;;;5400:4;5393:15;;;5447:4;5431:21;;5117:57;;4808:382;-1:-1:-1;4742:3:0;;;;:::i;:::-;;;;4704:497;;;-1:-1:-1;5218:12:0;4563:675;-1:-1:-1;;;4563:675:0:o;39817:1751::-;39940:20;39963:13;-1:-1:-1;;;;;39991:16:0;;39987:48;;40016:19;;-1:-1:-1;;;40016:19:0;;;;;;;;;;;39987:48;40050:8;40062:1;40050:13;40046:44;;40072:18;;-1:-1:-1;;;40072:18:0;;;;;;;;;;;40046:44;-1:-1:-1;;;;;40441:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;40500:49:0;;40441:44;;;;;;;;40500:49;;;;-1:-1:-1;;40441:44:0;;;;;;40500:49;;;;;;;;;;;;;;;;40566:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;40616:66:0;;;-1:-1:-1;;;40666:15:0;40616:66;;;;;;;;;;;;;40566:25;;40763:23;;;;12552:19;:23;40803:633;;40843:314;40874:38;;40899:12;;-1:-1:-1;;;;;40874:38:0;;;40891:1;;40874:38;;40891:1;;40874:38;40940:69;40979:1;40983:2;40987:14;;;;;;41003:5;40940:30;:69::i;:::-;40935:174;;41045:40;;-1:-1:-1;;;41045:40:0;;;;;;;;;;;40935:174;41152:3;41136:12;:19;40843:314;;41238:12;41221:13;;:29;41217:43;;41252:8;;;41217:43;40803:633;;;41301:120;41332:40;;41357:14;;;;;-1:-1:-1;;;;;41332:40:0;;;41349:1;;41332:40;;41349:1;;41332:40;41416:3;41400:12;:19;41301:120;;40803:633;-1:-1:-1;41450:13:0;:28;;;41500:60;;41533:2;41537:12;41551:8;41500:60;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:127::-;2416:10;2411:3;2407:20;2404:1;2397:31;2447:4;2444:1;2437:15;2471:4;2468:1;2461:15;2487:632;2552:5;2582:18;2623:2;2615:6;2612:14;2609:40;;;2629:18;;:::i;:::-;2704:2;2698:9;2672:2;2758:15;;-1:-1:-1;;2754:24:1;;;2780:2;2750:33;2746:42;2734:55;;;2804:18;;;2824:22;;;2801:46;2798:72;;;2850:18;;:::i;:::-;2890:10;2886:2;2879:22;2919:6;2910:15;;2949:6;2941;2934:22;2989:3;2980:6;2975:3;2971:16;2968:25;2965:45;;;3006:1;3003;2996:12;2965:45;3056:6;3051:3;3044:4;3036:6;3032:17;3019:44;3111:1;3104:4;3095:6;3087;3083:19;3079:30;3072:41;;;;2487:632;;;;;:::o;3124:451::-;3193:6;3246:2;3234:9;3225:7;3221:23;3217:32;3214:52;;;3262:1;3259;3252:12;3214:52;3302:9;3289:23;3335:18;3327:6;3324:30;3321:50;;;3367:1;3364;3357:12;3321:50;3390:22;;3443:4;3435:13;;3431:27;-1:-1:-1;3421:55:1;;3472:1;3469;3462:12;3421:55;3495:74;3561:7;3556:2;3543:16;3538:2;3534;3530:11;3495:74;:::i;3762:328::-;3839:6;3847;3855;3908:2;3896:9;3887:7;3883:23;3879:32;3876:52;;;3924:1;3921;3914:12;3876:52;3947:29;3966:9;3947:29;:::i;:::-;3937:39;;3995:38;4029:2;4018:9;4014:18;3995:38;:::i;:::-;3985:48;;4080:2;4069:9;4065:18;4052:32;4042:42;;3762:328;;;;;:::o;4095:615::-;4181:6;4189;4242:2;4230:9;4221:7;4217:23;4213:32;4210:52;;;4258:1;4255;4248:12;4210:52;4298:9;4285:23;4327:18;4368:2;4360:6;4357:14;4354:34;;;4384:1;4381;4374:12;4354:34;4422:6;4411:9;4407:22;4397:32;;4467:7;4460:4;4456:2;4452:13;4448:27;4438:55;;4489:1;4486;4479:12;4438:55;4529:2;4516:16;4555:2;4547:6;4544:14;4541:34;;;4571:1;4568;4561:12;4541:34;4624:7;4619:2;4609:6;4606:1;4602:14;4598:2;4594:23;4590:32;4587:45;4584:65;;;4645:1;4642;4635:12;4584:65;4676:2;4668:11;;;;;4698:6;;-1:-1:-1;4095:615:1;;-1:-1:-1;;;;4095:615:1:o;4715:186::-;4774:6;4827:2;4815:9;4806:7;4802:23;4798:32;4795:52;;;4843:1;4840;4833:12;4795:52;4866:29;4885:9;4866:29;:::i;4906:632::-;5077:2;5129:21;;;5199:13;;5102:18;;;5221:22;;;5048:4;;5077:2;5300:15;;;;5274:2;5259:18;;;5048:4;5343:169;5357:6;5354:1;5351:13;5343:169;;;5418:13;;5406:26;;5487:15;;;;5452:12;;;;5379:1;5372:9;5343:169;;;-1:-1:-1;5529:3:1;;4906:632;-1:-1:-1;;;;;;4906:632:1:o;5543:160::-;5608:20;;5664:13;;5657:21;5647:32;;5637:60;;5693:1;5690;5683:12;5708:254;5773:6;5781;5834:2;5822:9;5813:7;5809:23;5805:32;5802:52;;;5850:1;5847;5840:12;5802:52;5873:29;5892:9;5873:29;:::i;:::-;5863:39;;5921:35;5952:2;5941:9;5937:18;5921:35;:::i;:::-;5911:45;;5708:254;;;;;:::o;5967:180::-;6023:6;6076:2;6064:9;6055:7;6051:23;6047:32;6044:52;;;6092:1;6089;6082:12;6044:52;6115:26;6131:9;6115:26;:::i;6152:667::-;6247:6;6255;6263;6271;6324:3;6312:9;6303:7;6299:23;6295:33;6292:53;;;6341:1;6338;6331:12;6292:53;6364:29;6383:9;6364:29;:::i;:::-;6354:39;;6412:38;6446:2;6435:9;6431:18;6412:38;:::i;:::-;6402:48;;6497:2;6486:9;6482:18;6469:32;6459:42;;6552:2;6541:9;6537:18;6524:32;6579:18;6571:6;6568:30;6565:50;;;6611:1;6608;6601:12;6565:50;6634:22;;6687:4;6679:13;;6675:27;-1:-1:-1;6665:55:1;;6716:1;6713;6706:12;6665:55;6739:74;6805:7;6800:2;6787:16;6782:2;6778;6774:11;6739:74;:::i;:::-;6729:84;;;6152:667;;;;;;;:::o;6824:254::-;6892:6;6900;6953:2;6941:9;6932:7;6928:23;6924:32;6921:52;;;6969:1;6966;6959:12;6921:52;7005:9;6992:23;6982:33;;7034:38;7068:2;7057:9;7053:18;7034:38;:::i;7083:260::-;7151:6;7159;7212:2;7200:9;7191:7;7187:23;7183:32;7180:52;;;7228:1;7225;7218:12;7180:52;7251:29;7270:9;7251:29;:::i;:::-;7241:39;;7299:38;7333:2;7322:9;7318:18;7299:38;:::i;7348:316::-;7425:6;7433;7441;7494:2;7482:9;7473:7;7469:23;7465:32;7462:52;;;7510:1;7507;7500:12;7462:52;-1:-1:-1;;7533:23:1;;;7603:2;7588:18;;7575:32;;-1:-1:-1;7654:2:1;7639:18;;;7626:32;;7348:316;-1:-1:-1;7348:316:1:o;7669:380::-;7748:1;7744:12;;;;7791;;;7812:61;;7866:4;7858:6;7854:17;7844:27;;7812:61;7919:2;7911:6;7908:14;7888:18;7885:38;7882:161;;7965:10;7960:3;7956:20;7953:1;7946:31;8000:4;7997:1;7990:15;8028:4;8025:1;8018:15;7882:161;;7669:380;;;:::o;8054:356::-;8256:2;8238:21;;;8275:18;;;8268:30;8334:34;8329:2;8314:18;;8307:62;8401:2;8386:18;;8054:356::o;8415:347::-;8617:2;8599:21;;;8656:2;8636:18;;;8629:30;8695:25;8690:2;8675:18;;8668:53;8753:2;8738:18;;8415:347::o;8767:398::-;8969:2;8951:21;;;9008:2;8988:18;;;8981:30;9047:34;9042:2;9027:18;;9020:62;-1:-1:-1;;;9113:2:1;9098:18;;9091:32;9155:3;9140:19;;8767:398::o;9170:348::-;9372:2;9354:21;;;9411:2;9391:18;;;9384:30;9450:26;9445:2;9430:18;;9423:54;9509:2;9494:18;;9170:348::o;9757:338::-;9959:2;9941:21;;;9998:2;9978:18;;;9971:30;-1:-1:-1;;;10032:2:1;10017:18;;10010:44;10086:2;10071:18;;9757:338::o;10100:127::-;10161:10;10156:3;10152:20;10149:1;10142:31;10192:4;10189:1;10182:15;10216:4;10213:1;10206:15;10232:127;10293:10;10288:3;10284:20;10281:1;10274:31;10324:4;10321:1;10314:15;10348:4;10345:1;10338:15;10364:135;10403:3;10424:17;;;10421:43;;10444:18;;:::i;:::-;-1:-1:-1;10491:1:1;10480:13;;10364:135::o;10853:128::-;10893:3;10924:1;10920:6;10917:1;10914:13;10911:39;;;10930:18;;:::i;:::-;-1:-1:-1;10966:9:1;;10853:128::o;12160:276::-;12291:3;12329:6;12323:13;12345:53;12391:6;12386:3;12379:4;12371:6;12367:17;12345:53;:::i;:::-;12414:16;;;;;12160:276;-1:-1:-1;;12160:276:1:o;12848:489::-;-1:-1:-1;;;;;13117:15:1;;;13099:34;;13169:15;;13164:2;13149:18;;13142:43;13216:2;13201:18;;13194:34;;;13264:3;13259:2;13244:18;;13237:31;;;13042:4;;13285:46;;13311:19;;13303:6;13285:46;:::i;:::-;13277:54;12848:489;-1:-1:-1;;;;;;12848:489:1:o;13342:249::-;13411:6;13464:2;13452:9;13443:7;13439:23;13435:32;13432:52;;;13480:1;13477;13470:12;13432:52;13512:9;13506:16;13531:30;13555:5;13531:30;:::i

Swarm Source

ipfs://516f5276ba43ed2b9f3bd40790563edce6e11f18fc1142f9b057a539e25ac76c
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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