ETH Price: $2,966.57 (-4.15%)
Gas: 2 Gwei

Contract

0xb88A278C72Fc84a3752a2BC3E85d5cBD86640Abd
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Set Approval For...186034002023-11-19 4:12:47229 days ago1700367167IN
0xb88A278C...D86640Abd
0 ETH0.0004110616.90380367
Set Approval For...169657972023-04-03 3:18:59459 days ago1680491939IN
0xb88A278C...D86640Abd
0 ETH0.0009465620.47514853
Set Approval For...168169662023-03-13 5:23:59480 days ago1678685039IN
0xb88A278C...D86640Abd
0 ETH0.0008344518.08298453
Set Approval For...168169642023-03-13 5:23:35480 days ago1678685015IN
0xb88A278C...D86640Abd
0 ETH0.0008184117.70308656
Set Approval For...162774342022-12-27 17:00:11556 days ago1672160411IN
0xb88A278C...D86640Abd
0 ETH0.0008374718.11533389
Set Approval For...162772092022-12-27 16:14:59556 days ago1672157699IN
0xb88A278C...D86640Abd
0 ETH0.0007017115.1786889
Set Approval For...162763122022-12-27 13:14:35556 days ago1672146875IN
0xb88A278C...D86640Abd
0 ETH0.0006106313.20870832
Set Approval For...162757142022-12-27 11:13:59556 days ago1672139639IN
0xb88A278C...D86640Abd
0 ETH0.0006185113.378979
Set Approval For...162756222022-12-27 10:55:35556 days ago1672138535IN
0xb88A278C...D86640Abd
0 ETH0.0003528113.39963511
Set Approval For...162756102022-12-27 10:53:11556 days ago1672138391IN
0xb88A278C...D86640Abd
0 ETH0.0003950415.00343976
Set Approval For...162756062022-12-27 10:52:23556 days ago1672138343IN
0xb88A278C...D86640Abd
0 ETH0.0008106717.53560643
Set Approval For...162732272022-12-27 2:53:35556 days ago1672109615IN
0xb88A278C...D86640Abd
0 ETH0.0004142315.73226145
Set Approval For...162731942022-12-27 2:46:47556 days ago1672109207IN
0xb88A278C...D86640Abd
0 ETH0.0007587116.41176359
Set Approval For...162079182022-12-18 0:12:35566 days ago1671322355IN
0xb88A278C...D86640Abd
0 ETH0.0006704714.52951015
Safe Transfer Fr...161973412022-12-16 12:44:59567 days ago1671194699IN
0xb88A278C...D86640Abd
0 ETH0.0006159517.51750417
Whitelist Mint161973372022-12-16 12:44:11567 days ago1671194651IN
0xb88A278C...D86640Abd
0 ETH0.0017054718.90600114
Safe Transfer Fr...161973322022-12-16 12:43:11567 days ago1671194591IN
0xb88A278C...D86640Abd
0 ETH0.0006123817.41611461
Whitelist Mint161973282022-12-16 12:42:23567 days ago1671194543IN
0xb88A278C...D86640Abd
0 ETH0.0017718419.62607665
Safe Transfer Fr...161973182022-12-16 12:40:23567 days ago1671194423IN
0xb88A278C...D86640Abd
0 ETH0.0006085217.30623446
Whitelist Mint161973152022-12-16 12:39:47567 days ago1671194387IN
0xb88A278C...D86640Abd
0 ETH0.0016874718.37048335
Safe Transfer Fr...161973072022-12-16 12:38:11567 days ago1671194291IN
0xb88A278C...D86640Abd
0 ETH0.0006425518.27412065
Whitelist Mint161973042022-12-16 12:37:35567 days ago1671194255IN
0xb88A278C...D86640Abd
0 ETH0.0018170520.1376246
Safe Transfer Fr...161972902022-12-16 12:34:47567 days ago1671194087IN
0xb88A278C...D86640Abd
0 ETH0.0006195917.63323259
Whitelist Mint161972872022-12-16 12:34:11567 days ago1671194051IN
0xb88A278C...D86640Abd
0 ETH0.0016555618.34300837
Safe Transfer Fr...161972822022-12-16 12:33:11567 days ago1671193991IN
0xb88A278C...D86640Abd
0 ETH0.000645818.36647821
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
HypeGearBox

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// File: contracts/IOperatorFilterRegistry.sol


pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function unregister(address addr) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

// File: contracts/OperatorFilterer.sol


pragma solidity ^0.8.13;


/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 */
abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            // Allow spending tokens from addresses with balance
            // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
            // from an EOA.
            if (from == msg.sender) {
                _;
                return;
            }
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), msg.sender)) {
                revert OperatorNotAllowed(msg.sender);
            }
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
        _;
    }
}

// File: contracts/DefaultOperatorFilterer.sol


pragma solidity ^0.8.13;


/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

// 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.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

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

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

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

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

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

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

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

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

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

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

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

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

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


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // 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);
    }

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

// File: @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 (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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.7.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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// 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/interfaces/IERC2981.sol


// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;


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

// File: @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/common/ERC2981.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;



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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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

// File: @openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;


/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

// File: @openzeppelin/contracts/token/ERC1155/IERC1155.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;


/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

// File: @openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

// File: @openzeppelin/contracts/token/ERC1155/ERC1155.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;







/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: address zero is not a valid owner");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not token owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not token owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `ids` and `amounts` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

// File: @openzeppelin/contracts/token/ERC1155/extensions/ERC1155URIStorage.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/extensions/ERC1155URIStorage.sol)

pragma solidity ^0.8.0;



/**
 * @dev ERC1155 token with storage based token URI management.
 * Inspired by the ERC721URIStorage extension
 *
 * _Available since v4.6._
 */
abstract contract ERC1155URIStorage is ERC1155 {
    using Strings for uint256;

    // Optional base URI
    string private _baseURI = "";

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the concatenation of the `_baseURI`
     * and the token-specific uri if the latter is set
     *
     * This enables the following behaviors:
     *
     * - if `_tokenURIs[tokenId]` is set, then the result is the concatenation
     *   of `_baseURI` and `_tokenURIs[tokenId]` (keep in mind that `_baseURI`
     *   is empty per default);
     *
     * - if `_tokenURIs[tokenId]` is NOT set then we fallback to `super.uri()`
     *   which in most cases will contain `ERC1155._uri`;
     *
     * - if `_tokenURIs[tokenId]` is NOT set, and if the parents do not have a
     *   uri value set, then the result is empty.
     */
    function uri(uint256 tokenId) public view virtual override returns (string memory) {
        string memory tokenURI = _tokenURIs[tokenId];

        // If token URI is set, concatenate base URI and tokenURI (via abi.encodePacked).
        return bytes(tokenURI).length > 0 ? string(abi.encodePacked(_baseURI, tokenURI)) : super.uri(tokenId);
    }

    /**
     * @dev Sets `tokenURI` as the tokenURI of `tokenId`.
     */
    function _setURI(uint256 tokenId, string memory tokenURI) internal virtual {
        _tokenURIs[tokenId] = tokenURI;
        emit URI(uri(tokenId), tokenId);
    }

    /**
     * @dev Sets `baseURI` as the `_baseURI` for all tokens
     */
    function _setBaseURI(string memory baseURI) internal virtual {
        _baseURI = baseURI;
    }
}

// File: @openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/extensions/ERC1155Supply.sol)

pragma solidity ^0.8.0;


/**
 * @dev Extension of ERC1155 that adds tracking of total supply per id.
 *
 * Useful for scenarios where Fungible and Non-fungible tokens have to be
 * clearly identified. Note: While a totalSupply of 1 might mean the
 * corresponding is an NFT, there is no guarantees that no other token with the
 * same id are not going to be minted.
 */
abstract contract ERC1155Supply is ERC1155 {
    mapping(uint256 => uint256) private _totalSupply;

    /**
     * @dev Total amount of tokens in with a given id.
     */
    function totalSupply(uint256 id) public view virtual returns (uint256) {
        return _totalSupply[id];
    }

    /**
     * @dev Indicates whether any token exist with a given id, or not.
     */
    function exists(uint256 id) public view virtual returns (bool) {
        return ERC1155Supply.totalSupply(id) > 0;
    }

    /**
     * @dev See {ERC1155-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);

        if (from == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                _totalSupply[ids[i]] += amounts[i];
            }
        }

        if (to == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                uint256 id = ids[i];
                uint256 amount = amounts[i];
                uint256 supply = _totalSupply[id];
                require(supply >= amount, "ERC1155: burn amount exceeds totalSupply");
                unchecked {
                    _totalSupply[id] = supply - amount;
                }
            }
        }
    }
}

// File: @openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol


// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC1155/extensions/ERC1155Burnable.sol)

pragma solidity ^0.8.0;


/**
 * @dev Extension of {ERC1155} that allows token holders to destroy both their
 * own tokens and those that they have been approved to use.
 *
 * _Available since v3.1._
 */
abstract contract ERC1155Burnable is ERC1155 {
    function burn(
        address account,
        uint256 id,
        uint256 value
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not token owner or approved"
        );

        _burn(account, id, value);
    }

    function burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory values
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not token owner or approved"
        );

        _burnBatch(account, ids, values);
    }
}

// File: contracts/box.sol


pragma solidity ^0.8.17;

//@author PZ
//@title HypeGearBox











contract HypeGearBox is ERC1155,
    ERC1155Burnable,
    ERC1155Supply,
    ERC1155URIStorage,
    ERC2981,
    Ownable,
    ReentrancyGuard,
    IERC1155Receiver,
    DefaultOperatorFilterer {

    using MerkleProof for bytes32[];

    uint256 public constant NORMAL = 0;

    uint256 public constant GOLD = 1;

    uint256 public constant ONE = 1;

    mapping(uint256 => uint256) public maxSupply;

    mapping(address => mapping(uint256 => uint256)) private _count;

    string private _name;

    string private _symbol;

    bytes32 private _normalMerkleRoot;

    bytes32 private _goldMerkleRoot;

    bool private _active;

    constructor(
        string memory name_,
        string memory symbol_,
        uint256 normalMaxSupply_,
        uint256 goldMaxSupply_,
        address royalty_,
        uint96 royaltyFee_,
        string memory uri_
    ) ERC1155(uri_) {
        _name = name_;
        _symbol = symbol_;
        maxSupply[NORMAL] = normalMaxSupply_;
        maxSupply[GOLD] = goldMaxSupply_;
        _active = false;
        _setDefaultRoyalty(royalty_, royaltyFee_);
    }

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "The caller is another contract");
        _;
    }

    function onERC1155Received(
        address,
        address,
        uint256,
        uint256,
        bytes memory
    ) public virtual override returns (bytes4) {
        return this.onERC1155Received.selector;
    }

    function onERC1155BatchReceived(
        address,
        address,
        uint256[] memory,
        uint256[] memory,
        bytes memory
    ) public virtual override returns (bytes4) {
        return this.onERC1155BatchReceived.selector;
    }

    function kolMint(address[] memory _team, uint256 amount,uint256 boxType) external onlyOwner {
        for (uint256 i = 0; i < _team.length; i++) {
            require(totalSupply(boxType) + amount <= maxSupply[boxType], "Max supply exceeded");
            _mint(_team[i], boxType,amount,"");
        }
    }

    function whitelistMint(bytes32[] calldata _proof,uint256 _boxType) external callerIsUser nonReentrant {
        require(_boxType < 2, "0 or 1");
        require(_active, "Not active");
        require(isWhiteListed(msg.sender, _proof,_boxType), "Not whitelisted");

        require(_count[msg.sender][_boxType] < 1, "You can only mint 1 NFT on the HypeGearBox Whitelist");
        require(totalSupply(_boxType) + ONE <= maxSupply[_boxType], "Max supply exceeded");
        _mint(msg.sender, _boxType,ONE,"");
        _count[msg.sender][_boxType] = 1;
        
    }




    //Whitelist
    function setMerkleRoot(bytes32 merkleRoot_,uint256 _boxType) external onlyOwner {
        
        require(_boxType < 2, "0 or 1");

        if (_boxType == NORMAL) {
            _normalMerkleRoot = merkleRoot_;
        } else {
            _goldMerkleRoot = merkleRoot_;
        }
    }

    function isWhiteListed(address _account, bytes32[] calldata _proof,uint256 _boxType) internal view returns(bool) {
        return _verify(leaf(_account), _proof,_boxType);
    }

    function leaf(address _account) internal pure returns(bytes32) {
        return keccak256(abi.encodePacked(_account));
    }

    function _verify(bytes32 _leaf, bytes32[] memory _proof,uint256 _boxType) internal view returns(bool) {
        if (NORMAL == _boxType) {
            return MerkleProof.verify(_proof, _normalMerkleRoot, _leaf);
        } else {
            return MerkleProof.verify(_proof, _goldMerkleRoot, _leaf);
        }
    }  


    function getActive() external view returns (bool) {
        return _active;
    }

    function setMaxSupply(uint256 maxSupply_,uint256 boxType_) external onlyOwner {
        maxSupply[boxType_] = maxSupply_;
    }

    function getMaxSupply(uint256 boxType_) external view returns (uint256) {
        return maxSupply[boxType_];
    }


    function setActive(bool active) external onlyOwner {
        _active = active;
    }

    function setURI(string memory uri_) external onlyOwner {
        super._setBaseURI(uri_);
    }

    function setURI(uint256 tokenId, string memory tokenURI) external onlyOwner {
        super._setURI(tokenId,tokenURI);
    }

    function uri(uint256 tokenId) public view override(ERC1155, ERC1155URIStorage) returns (string memory) {
    return ERC1155URIStorage.uri(tokenId);
    }

    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal override(ERC1155, ERC1155Supply) {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC1155, ERC2981,IERC165)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"normalMaxSupply_","type":"uint256"},{"internalType":"uint256","name":"goldMaxSupply_","type":"uint256"},{"internalType":"address","name":"royalty_","type":"address"},{"internalType":"uint96","name":"royaltyFee_","type":"uint96"},{"internalType":"string","name":"uri_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"GOLD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NORMAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ONE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"boxType_","type":"uint256"}],"name":"getMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_team","type":"address[]"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"boxType","type":"uint256"}],"name":"kolMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"active","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":"maxSupply_","type":"uint256"},{"internalType":"uint256","name":"boxType_","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"},{"internalType":"uint256","name":"_boxType","type":"uint256"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri_","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"tokenURI","type":"string"}],"name":"setURI","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":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"uint256","name":"_boxType","type":"uint256"}],"name":"whitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a0604052600060809081526004906200001a908262000468565b503480156200002857600080fd5b506040516200314c3803806200314c8339810160408190526200004b9162000600565b733cc6cdda760b79bafa08df41ecfa224f810dceb66001826200006e816200025a565b506200007a336200026c565b60016009556daaeb6d7670e522a718067333cd4e3b15620001c45780156200011257604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015620000f357600080fd5b505af115801562000108573d6000803e3d6000fd5b50505050620001c4565b6001600160a01b03821615620001635760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620000d8565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001aa57600080fd5b505af1158015620001bf573d6000803e3d6000fd5b505050505b50600c9050620001d5888262000468565b50600d620001e4878262000468565b50600a6020527f13da86008ba1c6922daee3e07db95305ef49ebced9f5467a0b8613fcc6b343e385905560016000527fbbc70db1b6c7afd11e79c0fb0051300458f1a3acb8ee9789d9b6b26c61ad9bc78490556010805460ff191690556200024d8383620002be565b50505050505050620006dc565b600262000268828262000468565b5050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127106001600160601b0382161115620003325760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b0382166200038a5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640162000329565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600655565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620003ee57607f821691505b6020821081036200040f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200046357600081815260208120601f850160051c810160208610156200043e5750805b601f850160051c820191505b818110156200045f578281556001016200044a565b5050505b505050565b81516001600160401b03811115620004845762000484620003c3565b6200049c81620004958454620003d9565b8462000415565b602080601f831160018114620004d45760008415620004bb5750858301515b600019600386901b1c1916600185901b1785556200045f565b600085815260208120601f198616915b828110156200050557888601518255948401946001909101908401620004e4565b5085821015620005245787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082601f8301126200054657600080fd5b81516001600160401b0380821115620005635762000563620003c3565b604051601f8301601f19908116603f011681019082821181831017156200058e576200058e620003c3565b81604052838152602092508683858801011115620005ab57600080fd5b600091505b83821015620005cf5785820183015181830184015290820190620005b0565b600093810190920192909252949350505050565b80516001600160601b0381168114620005fb57600080fd5b919050565b600080600080600080600060e0888a0312156200061c57600080fd5b87516001600160401b03808211156200063457600080fd5b620006428b838c0162000534565b985060208a01519150808211156200065957600080fd5b620006678b838c0162000534565b60408b015160608c015160808d0151929a50909850965091506001600160a01b03821682146200069657600080fd5b819450620006a760a08b01620005e3565b935060c08a0151915080821115620006be57600080fd5b50620006cd8a828b0162000534565b91505092959891949750929550565b612a6080620006ec6000396000f3fe608060405234801561001057600080fd5b50600436106101e35760003560e01c80637c382d0b1161010f578063bd85b039116100a2578063f23a6e6111610071578063f23a6e6114610493578063f242432a146104b2578063f2fde38b146104c5578063f5298aca146104d857600080fd5b8063bd85b03914610424578063bf30099a14610444578063c2ee3a08146102d8578063e985e9c51461045757600080fd5b8063a22cb465116100de578063a22cb465146103be578063acec338a146103d1578063ae24595c146103e4578063bc197c81146103ec57600080fd5b80637c382d0b1461035d578063862440e214610370578063869f7594146103835780638da5cb5b146103a357600080fd5b80632eb2c2d6116101875780634f558e79116101565780634f558e79146103005780635e495d74146103225780636b20c45414610342578063715018a61461035557600080fd5b80632eb2c2d6146102b257806337da577c146102c55780633e4bee38146102d85780634e1273f4146102e057600080fd5b806302fe5305116101c357806302fe5305146102385780630e89341c1461024d5780632904e6d91461026d5780632a55205a1461028057600080fd5b80629ebb10146101e8578062fdd58e1461020457806301ffc9a714610225575b600080fd5b60105460ff165b60405190151581526020015b60405180910390f35b610217610212366004611d0f565b6104eb565b6040519081526020016101fb565b6101ef610233366004611d4f565b610584565b61024b610246366004611e21565b61058f565b005b61026061025b366004611e5d565b6105a3565b6040516101fb9190611ec6565b61024b61027b366004611ed9565b6105ae565b61029361028e366004611f53565b61084a565b604080516001600160a01b0390931683526020830191909152016101fb565b61024b6102c0366004612009565b6108f6565b61024b6102d3366004611f53565b610942565b610217600181565b6102f36102ee36600461211f565b61095b565b6040516101fb91906121bd565b6101ef61030e366004611e5d565b600090815260036020526040902054151590565b610217610330366004611e5d565b6000908152600a602052604090205490565b61024b6103503660046121d0565b610a84565b61024b610acc565b61024b61036b366004611f53565b610ae0565b61024b61037e366004612243565b610b36565b610217610391366004611e5d565b600a6020526000908152604090205481565b6008546040516001600160a01b0390911681526020016101fb565b61024b6103cc36600461228f565b610b48565b61024b6103df3660046122c2565b610b53565b610217600081565b61040b6103fa366004612009565b63bc197c8160e01b95945050505050565b6040516001600160e01b031990911681526020016101fb565b610217610432366004611e5d565b60009081526003602052604090205490565b61024b6104523660046122dd565b610b6e565b6101ef61046536600461232a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b61040b6104a1366004612354565b63f23a6e6160e01b95945050505050565b61024b6104c0366004612354565b610c38565b61024b6104d33660046123b8565b610c7d565b61024b6104e63660046123d3565b610cf3565b60006001600160a01b03831661055b5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b600061057e82610d36565b610597610d5b565b6105a081610db5565b50565b606061057e82610dc1565b3233146105fd5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610552565b60026009540361064f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610552565b60026009819055811061068d5760405162461bcd60e51b815260206004820152600660248201526530206f72203160d01b6044820152606401610552565b60105460ff166106cc5760405162461bcd60e51b815260206004820152600a6024820152694e6f742061637469766560b01b6044820152606401610552565b6106d833848484610ea1565b6107165760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b6044820152606401610552565b336000908152600b6020908152604080832084845290915290205460011161079d5760405162461bcd60e51b815260206004820152603460248201527f596f752063616e206f6e6c79206d696e742031204e4654206f6e2074686520486044820152731e5c1951d9585c909bde0815da1a5d195b1a5cdd60621b6064820152608401610552565b6000818152600a60209081526040808320546003909252909120546107c49060019061241c565b11156108085760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610552565b6108243382600160405180602001604052806000815250610f2d565b336000908152600b60209081526040808320938352929052206001908190556009555050565b60008281526007602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916108bf5750604080518082019091526006546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906108de906001600160601b03168761242f565b6108e89190612446565b915196919550909350505050565b6001600160a01b03851633148061091257506109128533610465565b61092e5760405162461bcd60e51b815260040161055290612468565b61093b8585858585611050565b5050505050565b61094a610d5b565b6000908152600a6020526040902055565b606081518351146109c05760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610552565b600083516001600160401b038111156109db576109db611d6c565b604051908082528060200260200182016040528015610a04578160200160208202803683370190505b50905060005b8451811015610a7c57610a4f858281518110610a2857610a286124b7565b6020026020010151858381518110610a4257610a426124b7565b60200260200101516104eb565b828281518110610a6157610a616124b7565b6020908102919091010152610a75816124cd565b9050610a0a565b509392505050565b6001600160a01b038316331480610aa05750610aa08333610465565b610abc5760405162461bcd60e51b8152600401610552906124e6565b610ac78383836111fa565b505050565b610ad4610d5b565b610ade6000611396565b565b610ae8610d5b565b60028110610b215760405162461bcd60e51b815260206004820152600660248201526530206f72203160d01b6044820152606401610552565b80610b2c5750600e55565b600f8290555b5050565b610b3e610d5b565b610b3282826113e8565b610b32338383611445565b610b5b610d5b565b6010805460ff1916911515919091179055565b610b76610d5b565b60005b8351811015610c32576000828152600a6020908152604080832054600390925290912054610ba890859061241c565b1115610bec5760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610552565b610c20848281518110610c0157610c016124b7565b6020026020010151838560405180602001604052806000815250610f2d565b80610c2a816124cd565b915050610b79565b50505050565b6001600160a01b038516331480610c545750610c548533610465565b610c705760405162461bcd60e51b815260040161055290612468565b61093b8585858585611525565b610c85610d5b565b6001600160a01b038116610cea5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610552565b6105a081611396565b6001600160a01b038316331480610d0f5750610d0f8333610465565b610d2b5760405162461bcd60e51b8152600401610552906124e6565b610ac783838361165d565b60006001600160e01b0319821663152a902d60e11b148061057e575061057e82611775565b6008546001600160a01b03163314610ade5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610552565b6004610b3282826125b4565b600081815260056020526040812080546060929190610ddf90612534565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0b90612534565b8015610e585780601f10610e2d57610100808354040283529160200191610e58565b820191906000526020600020905b815481529060010190602001808311610e3b57829003601f168201915b505050505090506000815111610e7657610e71836117c5565b610e9a565b600481604051602001610e8a929190612673565b6040516020818303038152906040525b9392505050565b6000610f24610ee9866040516bffffffffffffffffffffffff19606083901b166020820152600090603401604051602081830303815290604052805190602001209050919050565b858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250879250611859915050565b95945050505050565b6001600160a01b038416610f8d5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610552565b336000610f9985611884565b90506000610fa685611884565b9050610fb7836000898585896118cf565b6000868152602081815260408083206001600160a01b038b16845290915281208054879290610fe790849061241c565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611047836000898989896118dd565b50505050505050565b81518351146110715760405162461bcd60e51b8152600401610552906126fa565b6001600160a01b0384166110975760405162461bcd60e51b815260040161055290612742565b336110a68187878787876118cf565b60005b845181101561118c5760008582815181106110c6576110c66124b7565b6020026020010151905060008583815181106110e4576110e46124b7565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156111345760405162461bcd60e51b815260040161055290612787565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061117190849061241c565b9250508190555050505080611185906124cd565b90506110a9565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516111dc9291906127d1565b60405180910390a46111f2818787878787611a38565b505050505050565b6001600160a01b0383166112205760405162461bcd60e51b8152600401610552906127f6565b80518251146112415760405162461bcd60e51b8152600401610552906126fa565b6000339050611264818560008686604051806020016040528060008152506118cf565b60005b8351811015611329576000848281518110611284576112846124b7565b6020026020010151905060008483815181106112a2576112a26124b7565b602090810291909101810151600084815280835260408082206001600160a01b038c1683529093529190912054909150818110156112f25760405162461bcd60e51b815260040161055290612839565b6000928352602083815260408085206001600160a01b038b1686529091529092209103905580611321816124cd565b915050611267565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb868660405161137a9291906127d1565b60405180910390a4604080516020810190915260009052610c32565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600082815260056020526040902061140082826125b4565b50817f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b61142c846105a3565b6040516114399190611ec6565b60405180910390a25050565b816001600160a01b0316836001600160a01b0316036114b85760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610552565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b03841661154b5760405162461bcd60e51b815260040161055290612742565b33600061155785611884565b9050600061156485611884565b90506115748389898585896118cf565b6000868152602081815260408083206001600160a01b038c168452909152902054858110156115b55760405162461bcd60e51b815260040161055290612787565b6000878152602081815260408083206001600160a01b038d8116855292528083208985039055908a168252812080548892906115f290849061241c565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611652848a8a8a8a8a6118dd565b505050505050505050565b6001600160a01b0383166116835760405162461bcd60e51b8152600401610552906127f6565b33600061168f84611884565b9050600061169c84611884565b90506116bc838760008585604051806020016040528060008152506118cf565b6000858152602081815260408083206001600160a01b038a168452909152902054848110156116fd5760405162461bcd60e51b815260040161055290612839565b6000868152602081815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4604080516020810190915260009052611047565b60006001600160e01b03198216636cdb3d1360e11b14806117a657506001600160e01b031982166303a24d0760e21b145b8061057e57506301ffc9a760e01b6001600160e01b031983161461057e565b6060600280546117d490612534565b80601f016020809104026020016040519081016040528092919081815260200182805461180090612534565b801561184d5780601f106118225761010080835404028352916020019161184d565b820191906000526020600020905b81548152906001019060200180831161183057829003601f168201915b50505050509050919050565b6000816000036118775761187083600e5486611af3565b9050610e9a565b61187083600f5486611af3565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106118be576118be6124b7565b602090810291909101015292915050565b6111f2868686868686611b09565b6001600160a01b0384163b156111f25760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611921908990899088908890889060040161287d565b6020604051808303816000875af192505050801561195c575060408051601f3d908101601f19168201909252611959918101906128c2565b60015b611a08576119686128df565b806308c379a0036119a1575061197c6128fb565b8061198757506119a3565b8060405162461bcd60e51b81526004016105529190611ec6565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610552565b6001600160e01b0319811663f23a6e6160e01b146110475760405162461bcd60e51b815260040161055290612984565b6001600160a01b0384163b156111f25760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611a7c90899089908890889088906004016129cc565b6020604051808303816000875af1925050508015611ab7575060408051601f3d908101601f19168201909252611ab4918101906128c2565b60015b611ac3576119686128df565b6001600160e01b0319811663bc197c8160e01b146110475760405162461bcd60e51b815260040161055290612984565b600082611b008584611c82565b14949350505050565b6001600160a01b038516611b905760005b8351811015611b8e57828181518110611b3557611b356124b7565b602002602001015160036000868481518110611b5357611b536124b7565b602002602001015181526020019081526020016000206000828254611b78919061241c565b90915550611b879050816124cd565b9050611b1a565b505b6001600160a01b0384166111f25760005b8351811015611047576000848281518110611bbe57611bbe6124b7565b602002602001015190506000848381518110611bdc57611bdc6124b7565b6020026020010151905060006003600084815260200190815260200160002054905081811015611c5f5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a206275726e20616d6f756e74206578636565647320746f74604482015267616c537570706c7960c01b6064820152608401610552565b60009283526003602052604090922091039055611c7b816124cd565b9050611ba1565b600081815b8451811015610a7c57611cb382868381518110611ca657611ca66124b7565b6020026020010151611cc7565b915080611cbf816124cd565b915050611c87565b6000818310611ce3576000828152602084905260409020610e9a565b5060009182526020526040902090565b80356001600160a01b0381168114611d0a57600080fd5b919050565b60008060408385031215611d2257600080fd5b611d2b83611cf3565b946020939093013593505050565b6001600160e01b0319811681146105a057600080fd5b600060208284031215611d6157600080fd5b8135610e9a81611d39565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b0381118282101715611da757611da7611d6c565b6040525050565b600082601f830112611dbf57600080fd5b81356001600160401b03811115611dd857611dd8611d6c565b604051611def601f8301601f191660200182611d82565b818152846020838601011115611e0457600080fd5b816020850160208301376000918101602001919091529392505050565b600060208284031215611e3357600080fd5b81356001600160401b03811115611e4957600080fd5b611e5584828501611dae565b949350505050565b600060208284031215611e6f57600080fd5b5035919050565b60005b83811015611e91578181015183820152602001611e79565b50506000910152565b60008151808452611eb2816020860160208601611e76565b601f01601f19169290920160200192915050565b602081526000610e9a6020830184611e9a565b600080600060408486031215611eee57600080fd5b83356001600160401b0380821115611f0557600080fd5b818601915086601f830112611f1957600080fd5b813581811115611f2857600080fd5b8760208260051b8501011115611f3d57600080fd5b6020928301989097509590910135949350505050565b60008060408385031215611f6657600080fd5b50508035926020909101359150565b60006001600160401b03821115611f8e57611f8e611d6c565b5060051b60200190565b600082601f830112611fa957600080fd5b81356020611fb682611f75565b604051611fc38282611d82565b83815260059390931b8501820192828101915086841115611fe357600080fd5b8286015b84811015611ffe5780358352918301918301611fe7565b509695505050505050565b600080600080600060a0868803121561202157600080fd5b61202a86611cf3565b945061203860208701611cf3565b935060408601356001600160401b038082111561205457600080fd5b61206089838a01611f98565b9450606088013591508082111561207657600080fd5b61208289838a01611f98565b9350608088013591508082111561209857600080fd5b506120a588828901611dae565b9150509295509295909350565b600082601f8301126120c357600080fd5b813560206120d082611f75565b6040516120dd8282611d82565b83815260059390931b85018201928281019150868411156120fd57600080fd5b8286015b84811015611ffe5761211281611cf3565b8352918301918301612101565b6000806040838503121561213257600080fd5b82356001600160401b038082111561214957600080fd5b612155868387016120b2565b9350602085013591508082111561216b57600080fd5b5061217885828601611f98565b9150509250929050565b600081518084526020808501945080840160005b838110156121b257815187529582019590820190600101612196565b509495945050505050565b602081526000610e9a6020830184612182565b6000806000606084860312156121e557600080fd5b6121ee84611cf3565b925060208401356001600160401b038082111561220a57600080fd5b61221687838801611f98565b9350604086013591508082111561222c57600080fd5b5061223986828701611f98565b9150509250925092565b6000806040838503121561225657600080fd5b8235915060208301356001600160401b0381111561227357600080fd5b61217885828601611dae565b80358015158114611d0a57600080fd5b600080604083850312156122a257600080fd5b6122ab83611cf3565b91506122b96020840161227f565b90509250929050565b6000602082840312156122d457600080fd5b610e9a8261227f565b6000806000606084860312156122f257600080fd5b83356001600160401b0381111561230857600080fd5b612314868287016120b2565b9660208601359650604090950135949350505050565b6000806040838503121561233d57600080fd5b61234683611cf3565b91506122b960208401611cf3565b600080600080600060a0868803121561236c57600080fd5b61237586611cf3565b945061238360208701611cf3565b9350604086013592506060860135915060808601356001600160401b038111156123ac57600080fd5b6120a588828901611dae565b6000602082840312156123ca57600080fd5b610e9a82611cf3565b6000806000606084860312156123e857600080fd5b6123f184611cf3565b95602085013595506040909401359392505050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561057e5761057e612406565b808202811582820484141761057e5761057e612406565b60008261246357634e487b7160e01b600052601260045260246000fd5b500490565b6020808252602f908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526e195c881b9bdc88185c1c1c9bdd9959608a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000600182016124df576124df612406565b5060010190565b6020808252602e908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526d195c881bdc88185c1c1c9bdd995960921b606082015260800190565b600181811c9082168061254857607f821691505b60208210810361256857634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610ac757600081815260208120601f850160051c810160208610156125955750805b601f850160051c820191505b818110156111f2578281556001016125a1565b81516001600160401b038111156125cd576125cd611d6c565b6125e1816125db8454612534565b8461256e565b602080601f83116001811461261657600084156125fe5750858301515b600019600386901b1c1916600185901b1785556111f2565b600085815260208120601f198616915b8281101561264557888601518255948401946001909101908401612626565b50858210156126635787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600080845461268181612534565b6001828116801561269957600181146126ae576126dd565b60ff19841687528215158302870194506126dd565b8860005260208060002060005b858110156126d45781548a8201529084019082016126bb565b50505082870194505b5050505083516126f1818360208801611e76565b01949350505050565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6040815260006127e46040830185612182565b8281036020840152610f248185612182565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190526000906128b790830184611e9a565b979650505050505050565b6000602082840312156128d457600080fd5b8151610e9a81611d39565b600060033d11156128f85760046000803e5060005160e01c5b90565b600060443d10156129095790565b6040516003193d81016004833e81513d6001600160401b03816024840111818411171561293857505050505090565b82850191508151818111156129505750505050505090565b843d870101602082850101111561296a5750505050505090565b61297960208286010187611d82565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b0386811682528516602082015260a0604082018190526000906129f890830186612182565b8281036060840152612a0a8186612182565b90508281036080840152612a1e8185611e9a565b9897505050505050505056fea2646970667358221220f13143556967892d252f8f00d5c88b7e9d135e6a249b93a2740219d33cd6385a64736f6c6343000811003300000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000003e80000000000000000000000009dada93ef24cfeb2cfc7ee87db12bcf2f3a7950700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000b4879706547656172426f78000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000348474200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101e35760003560e01c80637c382d0b1161010f578063bd85b039116100a2578063f23a6e6111610071578063f23a6e6114610493578063f242432a146104b2578063f2fde38b146104c5578063f5298aca146104d857600080fd5b8063bd85b03914610424578063bf30099a14610444578063c2ee3a08146102d8578063e985e9c51461045757600080fd5b8063a22cb465116100de578063a22cb465146103be578063acec338a146103d1578063ae24595c146103e4578063bc197c81146103ec57600080fd5b80637c382d0b1461035d578063862440e214610370578063869f7594146103835780638da5cb5b146103a357600080fd5b80632eb2c2d6116101875780634f558e79116101565780634f558e79146103005780635e495d74146103225780636b20c45414610342578063715018a61461035557600080fd5b80632eb2c2d6146102b257806337da577c146102c55780633e4bee38146102d85780634e1273f4146102e057600080fd5b806302fe5305116101c357806302fe5305146102385780630e89341c1461024d5780632904e6d91461026d5780632a55205a1461028057600080fd5b80629ebb10146101e8578062fdd58e1461020457806301ffc9a714610225575b600080fd5b60105460ff165b60405190151581526020015b60405180910390f35b610217610212366004611d0f565b6104eb565b6040519081526020016101fb565b6101ef610233366004611d4f565b610584565b61024b610246366004611e21565b61058f565b005b61026061025b366004611e5d565b6105a3565b6040516101fb9190611ec6565b61024b61027b366004611ed9565b6105ae565b61029361028e366004611f53565b61084a565b604080516001600160a01b0390931683526020830191909152016101fb565b61024b6102c0366004612009565b6108f6565b61024b6102d3366004611f53565b610942565b610217600181565b6102f36102ee36600461211f565b61095b565b6040516101fb91906121bd565b6101ef61030e366004611e5d565b600090815260036020526040902054151590565b610217610330366004611e5d565b6000908152600a602052604090205490565b61024b6103503660046121d0565b610a84565b61024b610acc565b61024b61036b366004611f53565b610ae0565b61024b61037e366004612243565b610b36565b610217610391366004611e5d565b600a6020526000908152604090205481565b6008546040516001600160a01b0390911681526020016101fb565b61024b6103cc36600461228f565b610b48565b61024b6103df3660046122c2565b610b53565b610217600081565b61040b6103fa366004612009565b63bc197c8160e01b95945050505050565b6040516001600160e01b031990911681526020016101fb565b610217610432366004611e5d565b60009081526003602052604090205490565b61024b6104523660046122dd565b610b6e565b6101ef61046536600461232a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b61040b6104a1366004612354565b63f23a6e6160e01b95945050505050565b61024b6104c0366004612354565b610c38565b61024b6104d33660046123b8565b610c7d565b61024b6104e63660046123d3565b610cf3565b60006001600160a01b03831661055b5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b600061057e82610d36565b610597610d5b565b6105a081610db5565b50565b606061057e82610dc1565b3233146105fd5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610552565b60026009540361064f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610552565b60026009819055811061068d5760405162461bcd60e51b815260206004820152600660248201526530206f72203160d01b6044820152606401610552565b60105460ff166106cc5760405162461bcd60e51b815260206004820152600a6024820152694e6f742061637469766560b01b6044820152606401610552565b6106d833848484610ea1565b6107165760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b6044820152606401610552565b336000908152600b6020908152604080832084845290915290205460011161079d5760405162461bcd60e51b815260206004820152603460248201527f596f752063616e206f6e6c79206d696e742031204e4654206f6e2074686520486044820152731e5c1951d9585c909bde0815da1a5d195b1a5cdd60621b6064820152608401610552565b6000818152600a60209081526040808320546003909252909120546107c49060019061241c565b11156108085760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610552565b6108243382600160405180602001604052806000815250610f2d565b336000908152600b60209081526040808320938352929052206001908190556009555050565b60008281526007602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916108bf5750604080518082019091526006546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906108de906001600160601b03168761242f565b6108e89190612446565b915196919550909350505050565b6001600160a01b03851633148061091257506109128533610465565b61092e5760405162461bcd60e51b815260040161055290612468565b61093b8585858585611050565b5050505050565b61094a610d5b565b6000908152600a6020526040902055565b606081518351146109c05760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610552565b600083516001600160401b038111156109db576109db611d6c565b604051908082528060200260200182016040528015610a04578160200160208202803683370190505b50905060005b8451811015610a7c57610a4f858281518110610a2857610a286124b7565b6020026020010151858381518110610a4257610a426124b7565b60200260200101516104eb565b828281518110610a6157610a616124b7565b6020908102919091010152610a75816124cd565b9050610a0a565b509392505050565b6001600160a01b038316331480610aa05750610aa08333610465565b610abc5760405162461bcd60e51b8152600401610552906124e6565b610ac78383836111fa565b505050565b610ad4610d5b565b610ade6000611396565b565b610ae8610d5b565b60028110610b215760405162461bcd60e51b815260206004820152600660248201526530206f72203160d01b6044820152606401610552565b80610b2c5750600e55565b600f8290555b5050565b610b3e610d5b565b610b3282826113e8565b610b32338383611445565b610b5b610d5b565b6010805460ff1916911515919091179055565b610b76610d5b565b60005b8351811015610c32576000828152600a6020908152604080832054600390925290912054610ba890859061241c565b1115610bec5760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610552565b610c20848281518110610c0157610c016124b7565b6020026020010151838560405180602001604052806000815250610f2d565b80610c2a816124cd565b915050610b79565b50505050565b6001600160a01b038516331480610c545750610c548533610465565b610c705760405162461bcd60e51b815260040161055290612468565b61093b8585858585611525565b610c85610d5b565b6001600160a01b038116610cea5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610552565b6105a081611396565b6001600160a01b038316331480610d0f5750610d0f8333610465565b610d2b5760405162461bcd60e51b8152600401610552906124e6565b610ac783838361165d565b60006001600160e01b0319821663152a902d60e11b148061057e575061057e82611775565b6008546001600160a01b03163314610ade5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610552565b6004610b3282826125b4565b600081815260056020526040812080546060929190610ddf90612534565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0b90612534565b8015610e585780601f10610e2d57610100808354040283529160200191610e58565b820191906000526020600020905b815481529060010190602001808311610e3b57829003601f168201915b505050505090506000815111610e7657610e71836117c5565b610e9a565b600481604051602001610e8a929190612673565b6040516020818303038152906040525b9392505050565b6000610f24610ee9866040516bffffffffffffffffffffffff19606083901b166020820152600090603401604051602081830303815290604052805190602001209050919050565b858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250879250611859915050565b95945050505050565b6001600160a01b038416610f8d5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610552565b336000610f9985611884565b90506000610fa685611884565b9050610fb7836000898585896118cf565b6000868152602081815260408083206001600160a01b038b16845290915281208054879290610fe790849061241c565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611047836000898989896118dd565b50505050505050565b81518351146110715760405162461bcd60e51b8152600401610552906126fa565b6001600160a01b0384166110975760405162461bcd60e51b815260040161055290612742565b336110a68187878787876118cf565b60005b845181101561118c5760008582815181106110c6576110c66124b7565b6020026020010151905060008583815181106110e4576110e46124b7565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156111345760405162461bcd60e51b815260040161055290612787565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061117190849061241c565b9250508190555050505080611185906124cd565b90506110a9565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516111dc9291906127d1565b60405180910390a46111f2818787878787611a38565b505050505050565b6001600160a01b0383166112205760405162461bcd60e51b8152600401610552906127f6565b80518251146112415760405162461bcd60e51b8152600401610552906126fa565b6000339050611264818560008686604051806020016040528060008152506118cf565b60005b8351811015611329576000848281518110611284576112846124b7565b6020026020010151905060008483815181106112a2576112a26124b7565b602090810291909101810151600084815280835260408082206001600160a01b038c1683529093529190912054909150818110156112f25760405162461bcd60e51b815260040161055290612839565b6000928352602083815260408085206001600160a01b038b1686529091529092209103905580611321816124cd565b915050611267565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb868660405161137a9291906127d1565b60405180910390a4604080516020810190915260009052610c32565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600082815260056020526040902061140082826125b4565b50817f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b61142c846105a3565b6040516114399190611ec6565b60405180910390a25050565b816001600160a01b0316836001600160a01b0316036114b85760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610552565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b03841661154b5760405162461bcd60e51b815260040161055290612742565b33600061155785611884565b9050600061156485611884565b90506115748389898585896118cf565b6000868152602081815260408083206001600160a01b038c168452909152902054858110156115b55760405162461bcd60e51b815260040161055290612787565b6000878152602081815260408083206001600160a01b038d8116855292528083208985039055908a168252812080548892906115f290849061241c565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611652848a8a8a8a8a6118dd565b505050505050505050565b6001600160a01b0383166116835760405162461bcd60e51b8152600401610552906127f6565b33600061168f84611884565b9050600061169c84611884565b90506116bc838760008585604051806020016040528060008152506118cf565b6000858152602081815260408083206001600160a01b038a168452909152902054848110156116fd5760405162461bcd60e51b815260040161055290612839565b6000868152602081815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4604080516020810190915260009052611047565b60006001600160e01b03198216636cdb3d1360e11b14806117a657506001600160e01b031982166303a24d0760e21b145b8061057e57506301ffc9a760e01b6001600160e01b031983161461057e565b6060600280546117d490612534565b80601f016020809104026020016040519081016040528092919081815260200182805461180090612534565b801561184d5780601f106118225761010080835404028352916020019161184d565b820191906000526020600020905b81548152906001019060200180831161183057829003601f168201915b50505050509050919050565b6000816000036118775761187083600e5486611af3565b9050610e9a565b61187083600f5486611af3565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106118be576118be6124b7565b602090810291909101015292915050565b6111f2868686868686611b09565b6001600160a01b0384163b156111f25760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611921908990899088908890889060040161287d565b6020604051808303816000875af192505050801561195c575060408051601f3d908101601f19168201909252611959918101906128c2565b60015b611a08576119686128df565b806308c379a0036119a1575061197c6128fb565b8061198757506119a3565b8060405162461bcd60e51b81526004016105529190611ec6565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610552565b6001600160e01b0319811663f23a6e6160e01b146110475760405162461bcd60e51b815260040161055290612984565b6001600160a01b0384163b156111f25760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611a7c90899089908890889088906004016129cc565b6020604051808303816000875af1925050508015611ab7575060408051601f3d908101601f19168201909252611ab4918101906128c2565b60015b611ac3576119686128df565b6001600160e01b0319811663bc197c8160e01b146110475760405162461bcd60e51b815260040161055290612984565b600082611b008584611c82565b14949350505050565b6001600160a01b038516611b905760005b8351811015611b8e57828181518110611b3557611b356124b7565b602002602001015160036000868481518110611b5357611b536124b7565b602002602001015181526020019081526020016000206000828254611b78919061241c565b90915550611b879050816124cd565b9050611b1a565b505b6001600160a01b0384166111f25760005b8351811015611047576000848281518110611bbe57611bbe6124b7565b602002602001015190506000848381518110611bdc57611bdc6124b7565b6020026020010151905060006003600084815260200190815260200160002054905081811015611c5f5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a206275726e20616d6f756e74206578636565647320746f74604482015267616c537570706c7960c01b6064820152608401610552565b60009283526003602052604090922091039055611c7b816124cd565b9050611ba1565b600081815b8451811015610a7c57611cb382868381518110611ca657611ca66124b7565b6020026020010151611cc7565b915080611cbf816124cd565b915050611c87565b6000818310611ce3576000828152602084905260409020610e9a565b5060009182526020526040902090565b80356001600160a01b0381168114611d0a57600080fd5b919050565b60008060408385031215611d2257600080fd5b611d2b83611cf3565b946020939093013593505050565b6001600160e01b0319811681146105a057600080fd5b600060208284031215611d6157600080fd5b8135610e9a81611d39565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b0381118282101715611da757611da7611d6c565b6040525050565b600082601f830112611dbf57600080fd5b81356001600160401b03811115611dd857611dd8611d6c565b604051611def601f8301601f191660200182611d82565b818152846020838601011115611e0457600080fd5b816020850160208301376000918101602001919091529392505050565b600060208284031215611e3357600080fd5b81356001600160401b03811115611e4957600080fd5b611e5584828501611dae565b949350505050565b600060208284031215611e6f57600080fd5b5035919050565b60005b83811015611e91578181015183820152602001611e79565b50506000910152565b60008151808452611eb2816020860160208601611e76565b601f01601f19169290920160200192915050565b602081526000610e9a6020830184611e9a565b600080600060408486031215611eee57600080fd5b83356001600160401b0380821115611f0557600080fd5b818601915086601f830112611f1957600080fd5b813581811115611f2857600080fd5b8760208260051b8501011115611f3d57600080fd5b6020928301989097509590910135949350505050565b60008060408385031215611f6657600080fd5b50508035926020909101359150565b60006001600160401b03821115611f8e57611f8e611d6c565b5060051b60200190565b600082601f830112611fa957600080fd5b81356020611fb682611f75565b604051611fc38282611d82565b83815260059390931b8501820192828101915086841115611fe357600080fd5b8286015b84811015611ffe5780358352918301918301611fe7565b509695505050505050565b600080600080600060a0868803121561202157600080fd5b61202a86611cf3565b945061203860208701611cf3565b935060408601356001600160401b038082111561205457600080fd5b61206089838a01611f98565b9450606088013591508082111561207657600080fd5b61208289838a01611f98565b9350608088013591508082111561209857600080fd5b506120a588828901611dae565b9150509295509295909350565b600082601f8301126120c357600080fd5b813560206120d082611f75565b6040516120dd8282611d82565b83815260059390931b85018201928281019150868411156120fd57600080fd5b8286015b84811015611ffe5761211281611cf3565b8352918301918301612101565b6000806040838503121561213257600080fd5b82356001600160401b038082111561214957600080fd5b612155868387016120b2565b9350602085013591508082111561216b57600080fd5b5061217885828601611f98565b9150509250929050565b600081518084526020808501945080840160005b838110156121b257815187529582019590820190600101612196565b509495945050505050565b602081526000610e9a6020830184612182565b6000806000606084860312156121e557600080fd5b6121ee84611cf3565b925060208401356001600160401b038082111561220a57600080fd5b61221687838801611f98565b9350604086013591508082111561222c57600080fd5b5061223986828701611f98565b9150509250925092565b6000806040838503121561225657600080fd5b8235915060208301356001600160401b0381111561227357600080fd5b61217885828601611dae565b80358015158114611d0a57600080fd5b600080604083850312156122a257600080fd5b6122ab83611cf3565b91506122b96020840161227f565b90509250929050565b6000602082840312156122d457600080fd5b610e9a8261227f565b6000806000606084860312156122f257600080fd5b83356001600160401b0381111561230857600080fd5b612314868287016120b2565b9660208601359650604090950135949350505050565b6000806040838503121561233d57600080fd5b61234683611cf3565b91506122b960208401611cf3565b600080600080600060a0868803121561236c57600080fd5b61237586611cf3565b945061238360208701611cf3565b9350604086013592506060860135915060808601356001600160401b038111156123ac57600080fd5b6120a588828901611dae565b6000602082840312156123ca57600080fd5b610e9a82611cf3565b6000806000606084860312156123e857600080fd5b6123f184611cf3565b95602085013595506040909401359392505050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561057e5761057e612406565b808202811582820484141761057e5761057e612406565b60008261246357634e487b7160e01b600052601260045260246000fd5b500490565b6020808252602f908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526e195c881b9bdc88185c1c1c9bdd9959608a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000600182016124df576124df612406565b5060010190565b6020808252602e908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526d195c881bdc88185c1c1c9bdd995960921b606082015260800190565b600181811c9082168061254857607f821691505b60208210810361256857634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610ac757600081815260208120601f850160051c810160208610156125955750805b601f850160051c820191505b818110156111f2578281556001016125a1565b81516001600160401b038111156125cd576125cd611d6c565b6125e1816125db8454612534565b8461256e565b602080601f83116001811461261657600084156125fe5750858301515b600019600386901b1c1916600185901b1785556111f2565b600085815260208120601f198616915b8281101561264557888601518255948401946001909101908401612626565b50858210156126635787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600080845461268181612534565b6001828116801561269957600181146126ae576126dd565b60ff19841687528215158302870194506126dd565b8860005260208060002060005b858110156126d45781548a8201529084019082016126bb565b50505082870194505b5050505083516126f1818360208801611e76565b01949350505050565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6040815260006127e46040830185612182565b8281036020840152610f248185612182565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190526000906128b790830184611e9a565b979650505050505050565b6000602082840312156128d457600080fd5b8151610e9a81611d39565b600060033d11156128f85760046000803e5060005160e01c5b90565b600060443d10156129095790565b6040516003193d81016004833e81513d6001600160401b03816024840111818411171561293857505050505090565b82850191508151818111156129505750505050505090565b843d870101602082850101111561296a5750505050505090565b61297960208286010187611d82565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b0386811682528516602082015260a0604082018190526000906129f890830186612182565b8281036060840152612a0a8186612182565b90508281036080840152612a1e8185611e9a565b9897505050505050505056fea2646970667358221220f13143556967892d252f8f00d5c88b7e9d135e6a249b93a2740219d33cd6385a64736f6c63430008110033

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

00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000003e80000000000000000000000009dada93ef24cfeb2cfc7ee87db12bcf2f3a7950700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000b4879706547656172426f78000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000348474200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): HypeGearBox
Arg [1] : symbol_ (string): HGB
Arg [2] : normalMaxSupply_ (uint256): 2000
Arg [3] : goldMaxSupply_ (uint256): 1000
Arg [4] : royalty_ (address): 0x9DADA93ef24Cfeb2cfC7Ee87DB12BcF2f3a79507
Arg [5] : royaltyFee_ (uint96): 0
Arg [6] : uri_ (string):

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 00000000000000000000000000000000000000000000000000000000000007d0
Arg [3] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [4] : 0000000000000000000000009dada93ef24cfeb2cfc7ee87db12bcf2f3a79507
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [8] : 4879706547656172426f78000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [10] : 4847420000000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

68973:5068:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72636:83;72704:7;;;;72636:83;;;179:14:1;;172:22;154:41;;142:2;127:18;72636:83:0;;;;;;;;47950:230;;;;;;:::i;:::-;;:::i;:::-;;;789:25:1;;;777:2;762:18;47950:230:0;643:177:1;73824:212:0;;;;;;:::i;:::-;;:::i;73085:97::-;;;;;;:::i;:::-;;:::i;:::-;;73324:155;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;71073:575::-;;;;;;:::i;:::-;;:::i;35921:442::-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4565:32:1;;;4547:51;;4629:2;4614:18;;4607:34;;;;4520:18;35921:442:0;4373:274:1;49894:439:0;;;;;;:::i;:::-;;:::i;72727:129::-;;;;;;:::i;:::-;;:::i;69266:32::-;;69297:1;69266:32;;48346:524;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;66575:122::-;;;;;;:::i;:::-;66632:4;66453:16;;;:12;:16;;;;;;-1:-1:-1;;;66575:122:0;72864:117;;;;;;:::i;:::-;72927:7;72954:19;;;:9;:19;;;;;;;72864:117;68490:358;;;;;;:::i;:::-;;:::i;22051:103::-;;;:::i;71679:296::-;;;;;;:::i;:::-;;:::i;73190:126::-;;;;;;:::i;:::-;;:::i;69347:44::-;;;;;;:::i;:::-;;;;;;;;;;;;;;21403:87;21476:6;;21403:87;;-1:-1:-1;;;;;21476:6:0;;;10027:51:1;;10015:2;10000:18;21403:87:0;9881:203:1;48943:155:0;;;;;;:::i;:::-;;:::i;72991:86::-;;;;;;:::i;:::-;;:::i;69223:34::-;;69256:1;69223:34;;70490:255;;;;;;:::i;:::-;-1:-1:-1;;;70490:255:0;;;;;;;;;;;-1:-1:-1;;;;;;10860:33:1;;;10842:52;;10830:2;10815:18;70490:255:0;10698:202:1;66364:113:0;;;;;;:::i;:::-;66426:7;66453:16;;;:12;:16;;;;;;;66364:113;70753:312;;;;;;:::i;:::-;;:::i;49170:168::-;;;;;;:::i;:::-;-1:-1:-1;;;;;49293:27:0;;;49269:4;49293:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;49170:168;70255:227;;;;;;:::i;:::-;-1:-1:-1;;;70255:227:0;;;;;;;;49410:407;;;;;;:::i;:::-;;:::i;22309:201::-;;;;;;:::i;:::-;;:::i;68156:326::-;;;;;;:::i;:::-;;:::i;47950:230::-;48036:7;-1:-1:-1;;;;;48064:21:0;;48056:76;;;;-1:-1:-1;;;48056:76:0;;12991:2:1;48056:76:0;;;12973:21:1;13030:2;13010:18;;;13003:30;13069:34;13049:18;;;13042:62;-1:-1:-1;;;13120:18:1;;;13113:40;13170:19;;48056:76:0;;;;;;;;;-1:-1:-1;48150:9:0;:13;;;;;;;;;;;-1:-1:-1;;;;;48150:22:0;;;;;;;;;;47950:230;;;;;:::o;73824:212::-;73963:4;73992:36;74016:11;73992:23;:36::i;73085:97::-;21289:13;:11;:13::i;:::-;73151:23:::1;73169:4;73151:17;:23::i;:::-;73085:97:::0;:::o;73324:155::-;73412:13;73441:30;73463:7;73441:21;:30::i;71073:575::-;70169:9;70182:10;70169:23;70161:66;;;;-1:-1:-1;;;70161:66:0;;13402:2:1;70161:66:0;;;13384:21:1;13441:2;13421:18;;;13414:30;13480:32;13460:18;;;13453:60;13530:18;;70161:66:0;13200:354:1;70161:66:0;7106:1:::1;7704:7;;:19:::0;7696:63:::1;;;::::0;-1:-1:-1;;;7696:63:0;;13761:2:1;7696:63:0::1;::::0;::::1;13743:21:1::0;13800:2;13780:18;;;13773:30;13839:33;13819:18;;;13812:61;13890:18;;7696:63:0::1;13559:355:1::0;7696:63:0::1;7106:1;7837:7;:18:::0;;;71194:12;::::2;71186:31;;;::::0;-1:-1:-1;;;71186:31:0;;14121:2:1;71186:31:0::2;::::0;::::2;14103:21:1::0;14160:1;14140:18;;;14133:29;-1:-1:-1;;;14178:18:1;;;14171:36;14224:18;;71186:31:0::2;13919:329:1::0;71186:31:0::2;71236:7;::::0;::::2;;71228:30;;;::::0;-1:-1:-1;;;71228:30:0;;14455:2:1;71228:30:0::2;::::0;::::2;14437:21:1::0;14494:2;14474:18;;;14467:30;-1:-1:-1;;;14513:18:1;;;14506:40;14563:18;;71228:30:0::2;14253:334:1::0;71228:30:0::2;71277:42;71291:10;71303:6;;71310:8;71277:13;:42::i;:::-;71269:70;;;::::0;-1:-1:-1;;;71269:70:0;;14794:2:1;71269:70:0::2;::::0;::::2;14776:21:1::0;14833:2;14813:18;;;14806:30;-1:-1:-1;;;14852:18:1;;;14845:45;14907:18;;71269:70:0::2;14592:339:1::0;71269:70:0::2;71367:10;71360:18;::::0;;;:6:::2;:18;::::0;;;;;;;:28;;;;;;;;;71391:1:::2;-1:-1:-1::0;71352:97:0::2;;;::::0;-1:-1:-1;;;71352:97:0;;15138:2:1;71352:97:0::2;::::0;::::2;15120:21:1::0;15177:2;15157:18;;;15150:30;15216:34;15196:18;;;15189:62;-1:-1:-1;;;15267:18:1;;;15260:50;15327:19;;71352:97:0::2;14936:416:1::0;71352:97:0::2;71499:19;::::0;;;:9:::2;:19;::::0;;;;;;;;66453:12;:16;;;;;;;71468:27:::2;::::0;69337:1:::2;::::0;71468:27:::2;:::i;:::-;:50;;71460:82;;;::::0;-1:-1:-1;;;71460:82:0;;15821:2:1;71460:82:0::2;::::0;::::2;15803:21:1::0;15860:2;15840:18;;;15833:30;-1:-1:-1;;;15879:18:1;;;15872:49;15938:18;;71460:82:0::2;15619:343:1::0;71460:82:0::2;71553:34;71559:10;71571:8;69337:1;71553:34;;;;;;;;;;;::::0;:5:::2;:34::i;:::-;71605:10;71598:18;::::0;;;:6:::2;:18;::::0;;;;;;;:28;;;;;;;71629:1:::2;71598:32:::0;;;;8016:7:::1;:22:::0;-1:-1:-1;;71073:575:0:o;35921:442::-;36018:7;36076:27;;;:17;:27;;;;;;;;36047:56;;;;;;;;;-1:-1:-1;;;;;36047:56:0;;;;;-1:-1:-1;;;36047:56:0;;;-1:-1:-1;;;;;36047:56:0;;;;;;;;36018:7;;36116:92;;-1:-1:-1;36167:29:0;;;;;;;;;36177:19;36167:29;-1:-1:-1;;;;;36167:29:0;;;;-1:-1:-1;;;36167:29:0;;-1:-1:-1;;;;;36167:29:0;;;;;36116:92;36258:23;;;;36220:21;;36729:5;;36245:36;;-1:-1:-1;;;;;36245:36:0;:10;:36;:::i;:::-;36244:58;;;;:::i;:::-;36323:16;;;;;-1:-1:-1;35921:442:0;;-1:-1:-1;;;;35921:442:0:o;49894:439::-;-1:-1:-1;;;;;50127:20:0;;20034:10;50127:20;;:60;;-1:-1:-1;50151:36:0;50168:4;20034:10;49170:168;:::i;50151:36::-;50105:157;;;;-1:-1:-1;;;50105:157:0;;;;;;;:::i;:::-;50273:52;50296:4;50302:2;50306:3;50311:7;50320:4;50273:22;:52::i;:::-;49894:439;;;;;:::o;72727:129::-;21289:13;:11;:13::i;:::-;72816:19:::1;::::0;;;:9:::1;:19;::::0;;;;:32;72727:129::o;48346:524::-;48502:16;48563:3;:10;48544:8;:15;:29;48536:83;;;;-1:-1:-1;;;48536:83:0;;16980:2:1;48536:83:0;;;16962:21:1;17019:2;16999:18;;;16992:30;17058:34;17038:18;;;17031:62;-1:-1:-1;;;17109:18:1;;;17102:39;17158:19;;48536:83:0;16778:405:1;48536:83:0;48632:30;48679:8;:15;-1:-1:-1;;;;;48665:30:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48665:30:0;;48632:63;;48713:9;48708:122;48732:8;:15;48728:1;:19;48708:122;;;48788:30;48798:8;48807:1;48798:11;;;;;;;;:::i;:::-;;;;;;;48811:3;48815:1;48811:6;;;;;;;;:::i;:::-;;;;;;;48788:9;:30::i;:::-;48769:13;48783:1;48769:16;;;;;;;;:::i;:::-;;;;;;;;;;:49;48749:3;;;:::i;:::-;;;48708:122;;;-1:-1:-1;48849:13:0;48346:524;-1:-1:-1;;;48346:524:0:o;68490:358::-;-1:-1:-1;;;;;68655:23:0;;20034:10;68655:23;;:66;;-1:-1:-1;68682:39:0;68699:7;20034:10;49170:168;:::i;68682:39::-;68633:162;;;;-1:-1:-1;;;68633:162:0;;;;;;;:::i;:::-;68808:32;68819:7;68828:3;68833:6;68808:10;:32::i;:::-;68490:358;;;:::o;22051:103::-;21289:13;:11;:13::i;:::-;22116:30:::1;22143:1;22116:18;:30::i;:::-;22051:103::o:0;71679:296::-;21289:13;:11;:13::i;:::-;71799:1:::1;71788:8;:12;71780:31;;;::::0;-1:-1:-1;;;71780:31:0;;14121:2:1;71780:31:0::1;::::0;::::1;14103:21:1::0;14160:1;14140:18;;;14133:29;-1:-1:-1;;;14178:18:1;;;14171:36;14224:18;;71780:31:0::1;13919:329:1::0;71780:31:0::1;71828:8:::0;71824:144:::1;;-1:-1:-1::0;71863:17:0::1;:31:::0;71679:296::o;71824:144::-:1;71927:15;:29:::0;;;71824:144:::1;71679:296:::0;;:::o;73190:126::-;21289:13;:11;:13::i;:::-;73277:31:::1;73291:7;73299:8;73277:13;:31::i;48943:155::-:0;49038:52;20034:10;49071:8;49081;49038:18;:52::i;72991:86::-;21289:13;:11;:13::i;:::-;73053:7:::1;:16:::0;;-1:-1:-1;;73053:16:0::1;::::0;::::1;;::::0;;;::::1;::::0;;72991:86::o;70753:312::-;21289:13;:11;:13::i;:::-;70861:9:::1;70856:202;70880:5;:12;70876:1;:16;70856:202;;;70955:18;::::0;;;:9:::1;:18;::::0;;;;;;;;66453:12;:16;;;;;;;70922:29:::1;::::0;70945:6;;70922:29:::1;:::i;:::-;:51;;70914:83;;;::::0;-1:-1:-1;;;70914:83:0;;15821:2:1;70914:83:0::1;::::0;::::1;15803:21:1::0;15860:2;15840:18;;;15833:30;-1:-1:-1;;;15879:18:1;;;15872:49;15938:18;;70914:83:0::1;15619:343:1::0;70914:83:0::1;71012:34;71018:5;71024:1;71018:8;;;;;;;;:::i;:::-;;;;;;;71028:7;71036:6;71012:34;;;;;;;;;;;::::0;:5:::1;:34::i;:::-;70894:3:::0;::::1;::::0;::::1;:::i;:::-;;;;70856:202;;;;70753:312:::0;;;:::o;49410:407::-;-1:-1:-1;;;;;49618:20:0;;20034:10;49618:20;;:60;;-1:-1:-1;49642:36:0;49659:4;20034:10;49170:168;:::i;49642:36::-;49596:157;;;;-1:-1:-1;;;49596:157:0;;;;;;;:::i;:::-;49764:45;49782:4;49788:2;49792;49796:6;49804:4;49764:17;:45::i;22309:201::-;21289:13;:11;:13::i;:::-;-1:-1:-1;;;;;22398:22:0;::::1;22390:73;;;::::0;-1:-1:-1;;;22390:73:0;;18077:2:1;22390:73:0::1;::::0;::::1;18059:21:1::0;18116:2;18096:18;;;18089:30;18155:34;18135:18;;;18128:62;-1:-1:-1;;;18206:18:1;;;18199:36;18252:19;;22390:73:0::1;17875:402:1::0;22390:73:0::1;22474:28;22493:8;22474:18;:28::i;68156:326::-:0;-1:-1:-1;;;;;68296:23:0;;20034:10;68296:23;;:66;;-1:-1:-1;68323:39:0;68340:7;20034:10;49170:168;:::i;68323:39::-;68274:162;;;;-1:-1:-1;;;68274:162:0;;;;;;;:::i;:::-;68449:25;68455:7;68464:2;68468:5;68449;:25::i;35651:215::-;35753:4;-1:-1:-1;;;;;;35777:41:0;;-1:-1:-1;;;35777:41:0;;:81;;;35822:36;35846:11;35822:23;:36::i;21568:132::-;21476:6;;-1:-1:-1;;;;;21476:6:0;20034:10;21632:23;21624:68;;;;-1:-1:-1;;;21624:68:0;;18484:2:1;21624:68:0;;;18466:21:1;;;18503:18;;;18496:30;18562:34;18542:18;;;18535:62;18614:18;;21624:68:0;18282:356:1;65519:98:0;65591:8;:18;65602:7;65591:8;:18;:::i;64830:351::-;64924:22;64949:19;;;:10;:19;;;;;64924:44;;64898:13;;64924:22;64949:19;64924:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65104:1;65085:8;65079:22;:26;:94;;65155:18;65165:7;65155:9;:18::i;:::-;65079:94;;;65132:8;65142;65115:36;;;;;;;;;:::i;:::-;;;;;;;;;;;;;65079:94;65072:101;64830:351;-1:-1:-1;;;64830:351:0:o;71983:179::-;72090:4;72114:40;72122:14;72127:8;72261:26;;-1:-1:-1;;25976:2:1;25972:15;;;25968:53;72261:26:0;;;25956:66:1;72224:7:0;;26038:12:1;;72261:26:0;;;;;;;;;;;;72251:37;;;;;;72244:44;;72170:126;;;;72122:14;72138:6;;72114:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72145:8:0;;-1:-1:-1;72114:7:0;;-1:-1:-1;;72114:40:0:i;:::-;72107:47;71983:179;-1:-1:-1;;;;;71983:179:0:o;54593:729::-;-1:-1:-1;;;;;54746:16:0;;54738:62;;;;-1:-1:-1;;;54738:62:0;;22459:2:1;54738:62:0;;;22441:21:1;22498:2;22478:18;;;22471:30;22537:34;22517:18;;;22510:62;-1:-1:-1;;;22588:18:1;;;22581:31;22629:19;;54738:62:0;22257:397:1;54738:62:0;20034:10;54813:16;54878:21;54896:2;54878:17;:21::i;:::-;54855:44;;54910:24;54937:25;54955:6;54937:17;:25::i;:::-;54910:52;;54975:66;54996:8;55014:1;55018:2;55022:3;55027:7;55036:4;54975:20;:66::i;:::-;55054:9;:13;;;;;;;;;;;-1:-1:-1;;;;;55054:17:0;;;;;;;;;:27;;55075:6;;55054:9;:27;;55075:6;;55054:27;:::i;:::-;;;;-1:-1:-1;;55097:52:0;;;22833:25:1;;;22889:2;22874:18;;22867:34;;;-1:-1:-1;;;;;55097:52:0;;;;55130:1;;55097:52;;;;;;22806:18:1;55097:52:0;;;;;;;55240:74;55271:8;55289:1;55293:2;55297;55301:6;55309:4;55240:30;:74::i;:::-;54727:595;;;54593:729;;;;:::o;52129:1146::-;52356:7;:14;52342:3;:10;:28;52334:81;;;;-1:-1:-1;;;52334:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;52434:16:0;;52426:66;;;;-1:-1:-1;;;52426:66:0;;;;;;;:::i;:::-;20034:10;52549:60;20034:10;52580:4;52586:2;52590:3;52595:7;52604:4;52549:20;:60::i;:::-;52627:9;52622:421;52646:3;:10;52642:1;:14;52622:421;;;52678:10;52691:3;52695:1;52691:6;;;;;;;;:::i;:::-;;;;;;;52678:19;;52712:14;52729:7;52737:1;52729:10;;;;;;;;:::i;:::-;;;;;;;;;;;;52756:19;52778:13;;;;;;;;;;-1:-1:-1;;;;;52778:19:0;;;;;;;;;;;;52729:10;;-1:-1:-1;52820:21:0;;;;52812:76;;;;-1:-1:-1;;;52812:76:0;;;;;;;:::i;:::-;52932:9;:13;;;;;;;;;;;-1:-1:-1;;;;;52932:19:0;;;;;;;;;;52954:20;;;52932:42;;53004:17;;;;;;;:27;;52954:20;;52932:9;53004:27;;52954:20;;53004:27;:::i;:::-;;;;;;;;52663:380;;;52658:3;;;;:::i;:::-;;;52622:421;;;;53090:2;-1:-1:-1;;;;;53060:47:0;53084:4;-1:-1:-1;;;;;53060:47:0;53074:8;-1:-1:-1;;;;;53060:47:0;;53094:3;53099:7;53060:47;;;;;;;:::i;:::-;;;;;;;;53192:75;53228:8;53238:4;53244:2;53248:3;53253:7;53262:4;53192:35;:75::i;:::-;52323:952;52129:1146;;;;;:::o;57894:969::-;-1:-1:-1;;;;;58046:18:0;;58038:66;;;;-1:-1:-1;;;58038:66:0;;;;;;;:::i;:::-;58137:7;:14;58123:3;:10;:28;58115:81;;;;-1:-1:-1;;;58115:81:0;;;;;;;:::i;:::-;58209:16;20034:10;58209:31;;58253:66;58274:8;58284:4;58298:1;58302:3;58307:7;58253:66;;;;;;;;;;;;:20;:66::i;:::-;58337:9;58332:373;58356:3;:10;58352:1;:14;58332:373;;;58388:10;58401:3;58405:1;58401:6;;;;;;;;:::i;:::-;;;;;;;58388:19;;58422:14;58439:7;58447:1;58439:10;;;;;;;;:::i;:::-;;;;;;;;;;;;58466:19;58488:13;;;;;;;;;;-1:-1:-1;;;;;58488:19:0;;;;;;;;;;;;58439:10;;-1:-1:-1;58530:21:0;;;;58522:70;;;;-1:-1:-1;;;58522:70:0;;;;;;;:::i;:::-;58636:9;:13;;;;;;;;;;;-1:-1:-1;;;;;58636:19:0;;;;;;;;;;58658:20;;58636:42;;58368:3;;;;:::i;:::-;;;;58332:373;;;;58760:1;-1:-1:-1;;;;;58722:55:0;58746:4;-1:-1:-1;;;;;58722:55:0;58736:8;-1:-1:-1;;;;;58722:55:0;;58764:3;58769:7;58722:55;;;;;;;:::i;:::-;;;;;;;;58790:65;;;;;;;;;58834:1;58790:65;;;52129:1146;22670:191;22763:6;;;-1:-1:-1;;;;;22780:17:0;;;-1:-1:-1;;;;;;22780:17:0;;;;;;;22813:40;;22763:6;;;22780:17;22763:6;;22813:40;;22744:16;;22813:40;22733:128;22670:191;:::o;65266:166::-;65352:19;;;;:10;:19;;;;;:30;65374:8;65352:19;:30;:::i;:::-;;65416:7;65398:26;65402:12;65406:7;65402:3;:12::i;:::-;65398:26;;;;;;:::i;:::-;;;;;;;;65266:166;;:::o;59006:331::-;59161:8;-1:-1:-1;;;;;59152:17:0;:5;-1:-1:-1;;;;;59152:17:0;;59144:71;;;;-1:-1:-1;;;59144:71:0;;25619:2:1;59144:71:0;;;25601:21:1;25658:2;25638:18;;;25631:30;25697:34;25677:18;;;25670:62;-1:-1:-1;;;25748:18:1;;;25741:39;25797:19;;59144:71:0;25417:405:1;59144:71:0;-1:-1:-1;;;;;59226:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;59226:46:0;;;;;;;;;;59288:41;;154::1;;;59288::0;;127:18:1;59288:41:0;;;;;;;59006:331;;;:::o;50797:974::-;-1:-1:-1;;;;;50985:16:0;;50977:66;;;;-1:-1:-1;;;50977:66:0;;;;;;;:::i;:::-;20034:10;51056:16;51121:21;51139:2;51121:17;:21::i;:::-;51098:44;;51153:24;51180:25;51198:6;51180:17;:25::i;:::-;51153:52;;51218:60;51239:8;51249:4;51255:2;51259:3;51264:7;51273:4;51218:20;:60::i;:::-;51291:19;51313:13;;;;;;;;;;;-1:-1:-1;;;;;51313:19:0;;;;;;;;;;51351:21;;;;51343:76;;;;-1:-1:-1;;;51343:76:0;;;;;;;:::i;:::-;51455:9;:13;;;;;;;;;;;-1:-1:-1;;;;;51455:19:0;;;;;;;;;;51477:20;;;51455:42;;51519:17;;;;;;;:27;;51477:20;;51455:9;51519:27;;51477:20;;51519:27;:::i;:::-;;;;-1:-1:-1;;51564:46:0;;;22833:25:1;;;22889:2;22874:18;;22867:34;;;-1:-1:-1;;;;;51564:46:0;;;;;;;;;;;;;;22806:18:1;51564:46:0;;;;;;;51695:68;51726:8;51736:4;51742:2;51746;51750:6;51758:4;51695:30;:68::i;:::-;50966:805;;;;50797:974;;;;;:::o;56836:808::-;-1:-1:-1;;;;;56963:18:0;;56955:66;;;;-1:-1:-1;;;56955:66:0;;;;;;;:::i;:::-;20034:10;57034:16;57099:21;57117:2;57099:17;:21::i;:::-;57076:44;;57131:24;57158:25;57176:6;57158:17;:25::i;:::-;57131:52;;57196:66;57217:8;57227:4;57241:1;57245:3;57250:7;57196:66;;;;;;;;;;;;:20;:66::i;:::-;57275:19;57297:13;;;;;;;;;;;-1:-1:-1;;;;;57297:19:0;;;;;;;;;;57335:21;;;;57327:70;;;;-1:-1:-1;;;57327:70:0;;;;;;;:::i;:::-;57433:9;:13;;;;;;;;;;;-1:-1:-1;;;;;57433:19:0;;;;;;;;;;;;57455:20;;;57433:42;;57504:54;;22833:25:1;;;22874:18;;;22867:34;;;57433:19:0;;57504:54;;;;;;22806:18:1;57504:54:0;;;;;;;57571:65;;;;;;;;;57615:1;57571:65;;;52129:1146;46973:310;47075:4;-1:-1:-1;;;;;;47112:41:0;;-1:-1:-1;;;47112:41:0;;:110;;-1:-1:-1;;;;;;;47170:52:0;;-1:-1:-1;;;47170:52:0;47112:110;:163;;;-1:-1:-1;;;;;;;;;;34210:40:0;;;47239:36;34101:157;47694:105;47754:13;47787:4;47780:11;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47694:105;;;:::o;72304:320::-;72400:4;72431:8;69256:1;72421:18;72417:200;;72463:52;72482:6;72490:17;;72509:5;72463:18;:52::i;:::-;72456:59;;;;72417:200;72555:50;72574:6;72582:15;;72599:5;72555:18;:50::i;63272:198::-;63392:16;;;63406:1;63392:16;;;;;;;;;63338;;63367:22;;63392:16;;;;;;;;;;;;-1:-1:-1;63392:16:0;63367:41;;63430:7;63419:5;63425:1;63419:8;;;;;;;;:::i;:::-;;;;;;;;;;:18;63457:5;63272:198;-1:-1:-1;;63272:198:0:o;73487:329::-;73742:66;73769:8;73779:4;73785:2;73789:3;73794:7;73803:4;73742:26;:66::i;61699:744::-;-1:-1:-1;;;;;61914:13:0;;24396:19;:23;61910:526;;61950:72;;-1:-1:-1;;;61950:72:0;;-1:-1:-1;;;;;61950:38:0;;;;;:72;;61989:8;;61999:4;;62005:2;;62009:6;;62017:4;;61950:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61950:72:0;;;;;;;;-1:-1:-1;;61950:72:0;;;;;;;;;;;;:::i;:::-;;;61946:479;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;62298:6;62291:14;;-1:-1:-1;;;62291:14:0;;;;;;;;:::i;61946:479::-;;;62347:62;;-1:-1:-1;;;62347:62:0;;27943:2:1;62347:62:0;;;27925:21:1;27982:2;27962:18;;;27955:30;28021:34;28001:18;;;27994:62;-1:-1:-1;;;28072:18:1;;;28065:50;28132:19;;62347:62:0;27741:416:1;61946:479:0;-1:-1:-1;;;;;;62072:55:0;;-1:-1:-1;;;62072:55:0;62068:154;;62152:50;;-1:-1:-1;;;62152:50:0;;;;;;;:::i;62451:813::-;-1:-1:-1;;;;;62691:13:0;;24396:19;:23;62687:570;;62727:79;;-1:-1:-1;;;62727:79:0;;-1:-1:-1;;;;;62727:43:0;;;;;:79;;62771:8;;62781:4;;62787:3;;62792:7;;62801:4;;62727:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62727:79:0;;;;;;;;-1:-1:-1;;62727:79:0;;;;;;;;;;;;:::i;:::-;;;62723:523;;;;:::i;:::-;-1:-1:-1;;;;;;62888:60:0;;-1:-1:-1;;;62888:60:0;62884:159;;62973:50;;-1:-1:-1;;;62973:50:0;;;;;;;:::i;9272:190::-;9397:4;9450;9421:25;9434:5;9441:4;9421:12;:25::i;:::-;:33;;9272:190;-1:-1:-1;;;;9272:190:0:o;66772:931::-;-1:-1:-1;;;;;67094:18:0;;67090:160;;67134:9;67129:110;67153:3;:10;67149:1;:14;67129:110;;;67213:7;67221:1;67213:10;;;;;;;;:::i;:::-;;;;;;;67189:12;:20;67202:3;67206:1;67202:6;;;;;;;;:::i;:::-;;;;;;;67189:20;;;;;;;;;;;;:34;;;;;;;:::i;:::-;;;;-1:-1:-1;67165:3:0;;-1:-1:-1;67165:3:0;;:::i;:::-;;;67129:110;;;;67090:160;-1:-1:-1;;;;;67266:16:0;;67262:434;;67304:9;67299:386;67323:3;:10;67319:1;:14;67299:386;;;67359:10;67372:3;67376:1;67372:6;;;;;;;;:::i;:::-;;;;;;;67359:19;;67397:14;67414:7;67422:1;67414:10;;;;;;;;:::i;:::-;;;;;;;67397:27;;67443:14;67460:12;:16;67473:2;67460:16;;;;;;;;;;;;67443:33;;67513:6;67503;:16;;67495:69;;;;-1:-1:-1;;;67495:69:0;;29605:2:1;67495:69:0;;;29587:21:1;29644:2;29624:18;;;29617:30;29683:34;29663:18;;;29656:62;-1:-1:-1;;;29734:18:1;;;29727:38;29782:19;;67495:69:0;29403:404:1;67495:69:0;67616:16;;;;:12;:16;;;;;;67635:15;;67616:34;;67335:3;;;:::i;:::-;;;67299:386;;10139:296;10222:7;10265:4;10222:7;10280:118;10304:5;:12;10300:1;:16;10280:118;;;10353:33;10363:12;10377:5;10383:1;10377:8;;;;;;;;:::i;:::-;;;;;;;10353:9;:33::i;:::-;10338:48;-1:-1:-1;10318:3:0;;;;:::i;:::-;;;;10280:118;;16346:149;16409:7;16440:1;16436;:5;:51;;16571:13;16665:15;;;16701:4;16694:15;;;16748:4;16732:21;;16436:51;;;-1:-1:-1;16571:13:0;16665:15;;;16701:4;16694:15;16748:4;16732:21;;;16346:149::o;206:173:1:-;274:20;;-1:-1:-1;;;;;323:31:1;;313:42;;303:70;;369:1;366;359:12;303:70;206:173;;;:::o;384:254::-;452:6;460;513:2;501:9;492:7;488:23;484:32;481:52;;;529:1;526;519:12;481:52;552:29;571:9;552:29;:::i;:::-;542:39;628:2;613:18;;;;600:32;;-1:-1:-1;;;384:254:1:o;825:131::-;-1:-1:-1;;;;;;899:32:1;;889:43;;879:71;;946:1;943;936:12;961:245;1019:6;1072:2;1060:9;1051:7;1047:23;1043:32;1040:52;;;1088:1;1085;1078:12;1040:52;1127:9;1114:23;1146:30;1170:5;1146:30;:::i;1211:127::-;1272:10;1267:3;1263:20;1260:1;1253:31;1303:4;1300:1;1293:15;1327:4;1324:1;1317:15;1343:249;1453:2;1434:13;;-1:-1:-1;;1430:27:1;1418:40;;-1:-1:-1;;;;;1473:34:1;;1509:22;;;1470:62;1467:88;;;1535:18;;:::i;:::-;1571:2;1564:22;-1:-1:-1;;1343:249:1:o;1597:556::-;1640:5;1693:3;1686:4;1678:6;1674:17;1670:27;1660:55;;1711:1;1708;1701:12;1660:55;1747:6;1734:20;-1:-1:-1;;;;;1769:2:1;1766:26;1763:52;;;1795:18;;:::i;:::-;1844:2;1838:9;1856:67;1911:2;1892:13;;-1:-1:-1;;1888:27:1;1917:4;1884:38;1838:9;1856:67;:::i;:::-;1947:2;1939:6;1932:18;1993:3;1986:4;1981:2;1973:6;1969:15;1965:26;1962:35;1959:55;;;2010:1;2007;2000:12;1959:55;2074:2;2067:4;2059:6;2055:17;2048:4;2040:6;2036:17;2023:54;2121:1;2097:15;;;2114:4;2093:26;2086:37;;;;2101:6;1597:556;-1:-1:-1;;;1597:556:1:o;2158:322::-;2227:6;2280:2;2268:9;2259:7;2255:23;2251:32;2248:52;;;2296:1;2293;2286:12;2248:52;2336:9;2323:23;-1:-1:-1;;;;;2361:6:1;2358:30;2355:50;;;2401:1;2398;2391:12;2355:50;2424;2466:7;2457:6;2446:9;2442:22;2424:50;:::i;:::-;2414:60;2158:322;-1:-1:-1;;;;2158:322:1:o;2485:180::-;2544:6;2597:2;2585:9;2576:7;2572:23;2568:32;2565:52;;;2613:1;2610;2603:12;2565:52;-1:-1:-1;2636:23:1;;2485:180;-1:-1:-1;2485:180:1:o;2670:250::-;2755:1;2765:113;2779:6;2776:1;2773:13;2765:113;;;2855:11;;;2849:18;2836:11;;;2829:39;2801:2;2794:10;2765:113;;;-1:-1:-1;;2912:1:1;2894:16;;2887:27;2670:250::o;2925:271::-;2967:3;3005:5;2999:12;3032:6;3027:3;3020:19;3048:76;3117:6;3110:4;3105:3;3101:14;3094:4;3087:5;3083:16;3048:76;:::i;:::-;3178:2;3157:15;-1:-1:-1;;3153:29:1;3144:39;;;;3185:4;3140:50;;2925:271;-1:-1:-1;;2925:271:1:o;3201:220::-;3350:2;3339:9;3332:21;3313:4;3370:45;3411:2;3400:9;3396:18;3388:6;3370:45;:::i;3426:689::-;3521:6;3529;3537;3590:2;3578:9;3569:7;3565:23;3561:32;3558:52;;;3606:1;3603;3596:12;3558:52;3646:9;3633:23;-1:-1:-1;;;;;3716:2:1;3708:6;3705:14;3702:34;;;3732:1;3729;3722:12;3702:34;3770:6;3759:9;3755:22;3745:32;;3815:7;3808:4;3804:2;3800:13;3796:27;3786:55;;3837:1;3834;3827:12;3786:55;3877:2;3864:16;3903:2;3895:6;3892:14;3889:34;;;3919:1;3916;3909:12;3889:34;3974:7;3967:4;3957:6;3954:1;3950:14;3946:2;3942:23;3938:34;3935:47;3932:67;;;3995:1;3992;3985:12;3932:67;4026:4;4018:13;;;;4050:6;;-1:-1:-1;4088:20:1;;;;4075:34;;3426:689;-1:-1:-1;;;;3426:689:1:o;4120:248::-;4188:6;4196;4249:2;4237:9;4228:7;4224:23;4220:32;4217:52;;;4265:1;4262;4255:12;4217:52;-1:-1:-1;;4288:23:1;;;4358:2;4343:18;;;4330:32;;-1:-1:-1;4120:248:1:o;4652:183::-;4712:4;-1:-1:-1;;;;;4737:6:1;4734:30;4731:56;;;4767:18;;:::i;:::-;-1:-1:-1;4812:1:1;4808:14;4824:4;4804:25;;4652:183::o;4840:724::-;4894:5;4947:3;4940:4;4932:6;4928:17;4924:27;4914:55;;4965:1;4962;4955:12;4914:55;5001:6;4988:20;5027:4;5050:43;5090:2;5050:43;:::i;:::-;5122:2;5116:9;5134:31;5162:2;5154:6;5134:31;:::i;:::-;5200:18;;;5292:1;5288:10;;;;5276:23;;5272:32;;;5234:15;;;;-1:-1:-1;5316:15:1;;;5313:35;;;5344:1;5341;5334:12;5313:35;5380:2;5372:6;5368:15;5392:142;5408:6;5403:3;5400:15;5392:142;;;5474:17;;5462:30;;5512:12;;;;5425;;5392:142;;;-1:-1:-1;5552:6:1;4840:724;-1:-1:-1;;;;;;4840:724:1:o;5569:944::-;5723:6;5731;5739;5747;5755;5808:3;5796:9;5787:7;5783:23;5779:33;5776:53;;;5825:1;5822;5815:12;5776:53;5848:29;5867:9;5848:29;:::i;:::-;5838:39;;5896:38;5930:2;5919:9;5915:18;5896:38;:::i;:::-;5886:48;;5985:2;5974:9;5970:18;5957:32;-1:-1:-1;;;;;6049:2:1;6041:6;6038:14;6035:34;;;6065:1;6062;6055:12;6035:34;6088:61;6141:7;6132:6;6121:9;6117:22;6088:61;:::i;:::-;6078:71;;6202:2;6191:9;6187:18;6174:32;6158:48;;6231:2;6221:8;6218:16;6215:36;;;6247:1;6244;6237:12;6215:36;6270:63;6325:7;6314:8;6303:9;6299:24;6270:63;:::i;:::-;6260:73;;6386:3;6375:9;6371:19;6358:33;6342:49;;6416:2;6406:8;6403:16;6400:36;;;6432:1;6429;6422:12;6400:36;;6455:52;6499:7;6488:8;6477:9;6473:24;6455:52;:::i;:::-;6445:62;;;5569:944;;;;;;;;:::o;6518:730::-;6572:5;6625:3;6618:4;6610:6;6606:17;6602:27;6592:55;;6643:1;6640;6633:12;6592:55;6679:6;6666:20;6705:4;6728:43;6768:2;6728:43;:::i;:::-;6800:2;6794:9;6812:31;6840:2;6832:6;6812:31;:::i;:::-;6878:18;;;6970:1;6966:10;;;;6954:23;;6950:32;;;6912:15;;;;-1:-1:-1;6994:15:1;;;6991:35;;;7022:1;7019;7012:12;6991:35;7058:2;7050:6;7046:15;7070:148;7086:6;7081:3;7078:15;7070:148;;;7152:23;7171:3;7152:23;:::i;:::-;7140:36;;7196:12;;;;7103;;7070:148;;7253:595;7371:6;7379;7432:2;7420:9;7411:7;7407:23;7403:32;7400:52;;;7448:1;7445;7438:12;7400:52;7488:9;7475:23;-1:-1:-1;;;;;7558:2:1;7550:6;7547:14;7544:34;;;7574:1;7571;7564:12;7544:34;7597:61;7650:7;7641:6;7630:9;7626:22;7597:61;:::i;:::-;7587:71;;7711:2;7700:9;7696:18;7683:32;7667:48;;7740:2;7730:8;7727:16;7724:36;;;7756:1;7753;7746:12;7724:36;;7779:63;7834:7;7823:8;7812:9;7808:24;7779:63;:::i;:::-;7769:73;;;7253:595;;;;;:::o;7853:435::-;7906:3;7944:5;7938:12;7971:6;7966:3;7959:19;7997:4;8026:2;8021:3;8017:12;8010:19;;8063:2;8056:5;8052:14;8084:1;8094:169;8108:6;8105:1;8102:13;8094:169;;;8169:13;;8157:26;;8203:12;;;;8238:15;;;;8130:1;8123:9;8094:169;;;-1:-1:-1;8279:3:1;;7853:435;-1:-1:-1;;;;;7853:435:1:o;8293:261::-;8472:2;8461:9;8454:21;8435:4;8492:56;8544:2;8533:9;8529:18;8521:6;8492:56;:::i;8559:669::-;8686:6;8694;8702;8755:2;8743:9;8734:7;8730:23;8726:32;8723:52;;;8771:1;8768;8761:12;8723:52;8794:29;8813:9;8794:29;:::i;:::-;8784:39;;8874:2;8863:9;8859:18;8846:32;-1:-1:-1;;;;;8938:2:1;8930:6;8927:14;8924:34;;;8954:1;8951;8944:12;8924:34;8977:61;9030:7;9021:6;9010:9;9006:22;8977:61;:::i;:::-;8967:71;;9091:2;9080:9;9076:18;9063:32;9047:48;;9120:2;9110:8;9107:16;9104:36;;;9136:1;9133;9126:12;9104:36;;9159:63;9214:7;9203:8;9192:9;9188:24;9159:63;:::i;:::-;9149:73;;;8559:669;;;;;:::o;9486:390::-;9564:6;9572;9625:2;9613:9;9604:7;9600:23;9596:32;9593:52;;;9641:1;9638;9631:12;9593:52;9677:9;9664:23;9654:33;;9738:2;9727:9;9723:18;9710:32;-1:-1:-1;;;;;9757:6:1;9754:30;9751:50;;;9797:1;9794;9787:12;9751:50;9820;9862:7;9853:6;9842:9;9838:22;9820:50;:::i;10089:160::-;10154:20;;10210:13;;10203:21;10193:32;;10183:60;;10239:1;10236;10229:12;10254:254;10319:6;10327;10380:2;10368:9;10359:7;10355:23;10351:32;10348:52;;;10396:1;10393;10386:12;10348:52;10419:29;10438:9;10419:29;:::i;:::-;10409:39;;10467:35;10498:2;10487:9;10483:18;10467:35;:::i;:::-;10457:45;;10254:254;;;;;:::o;10513:180::-;10569:6;10622:2;10610:9;10601:7;10597:23;10593:32;10590:52;;;10638:1;10635;10628:12;10590:52;10661:26;10677:9;10661:26;:::i;10905:484::-;11007:6;11015;11023;11076:2;11064:9;11055:7;11051:23;11047:32;11044:52;;;11092:1;11089;11082:12;11044:52;11132:9;11119:23;-1:-1:-1;;;;;11157:6:1;11154:30;11151:50;;;11197:1;11194;11187:12;11151:50;11220:61;11273:7;11264:6;11253:9;11249:22;11220:61;:::i;:::-;11210:71;11328:2;11313:18;;11300:32;;-1:-1:-1;11379:2:1;11364:18;;;11351:32;;10905:484;-1:-1:-1;;;;10905:484:1:o;11394:260::-;11462:6;11470;11523:2;11511:9;11502:7;11498:23;11494:32;11491:52;;;11539:1;11536;11529:12;11491:52;11562:29;11581:9;11562:29;:::i;:::-;11552:39;;11610:38;11644:2;11633:9;11629:18;11610:38;:::i;11659:607::-;11763:6;11771;11779;11787;11795;11848:3;11836:9;11827:7;11823:23;11819:33;11816:53;;;11865:1;11862;11855:12;11816:53;11888:29;11907:9;11888:29;:::i;:::-;11878:39;;11936:38;11970:2;11959:9;11955:18;11936:38;:::i;:::-;11926:48;;12021:2;12010:9;12006:18;11993:32;11983:42;;12072:2;12061:9;12057:18;12044:32;12034:42;;12127:3;12116:9;12112:19;12099:33;-1:-1:-1;;;;;12147:6:1;12144:30;12141:50;;;12187:1;12184;12177:12;12141:50;12210;12252:7;12243:6;12232:9;12228:22;12210:50;:::i;12271:186::-;12330:6;12383:2;12371:9;12362:7;12358:23;12354:32;12351:52;;;12399:1;12396;12389:12;12351:52;12422:29;12441:9;12422:29;:::i;12462:322::-;12539:6;12547;12555;12608:2;12596:9;12587:7;12583:23;12579:32;12576:52;;;12624:1;12621;12614:12;12576:52;12647:29;12666:9;12647:29;:::i;:::-;12637:39;12723:2;12708:18;;12695:32;;-1:-1:-1;12774:2:1;12759:18;;;12746:32;;12462:322;-1:-1:-1;;;12462:322:1:o;15357:127::-;15418:10;15413:3;15409:20;15406:1;15399:31;15449:4;15446:1;15439:15;15473:4;15470:1;15463:15;15489:125;15554:9;;;15575:10;;;15572:36;;;15588:18;;:::i;15967:168::-;16040:9;;;16071;;16088:15;;;16082:22;;16068:37;16058:71;;16109:18;;:::i;16140:217::-;16180:1;16206;16196:132;;16250:10;16245:3;16241:20;16238:1;16231:31;16285:4;16282:1;16275:15;16313:4;16310:1;16303:15;16196:132;-1:-1:-1;16342:9:1;;16140:217::o;16362:411::-;16564:2;16546:21;;;16603:2;16583:18;;;16576:30;16642:34;16637:2;16622:18;;16615:62;-1:-1:-1;;;16708:2:1;16693:18;;16686:45;16763:3;16748:19;;16362:411::o;17188:127::-;17249:10;17244:3;17240:20;17237:1;17230:31;17280:4;17277:1;17270:15;17304:4;17301:1;17294:15;17320:135;17359:3;17380:17;;;17377:43;;17400:18;;:::i;:::-;-1:-1:-1;17447:1:1;17436:13;;17320:135::o;17460:410::-;17662:2;17644:21;;;17701:2;17681:18;;;17674:30;17740:34;17735:2;17720:18;;17713:62;-1:-1:-1;;;17806:2:1;17791:18;;17784:44;17860:3;17845:19;;17460:410::o;18643:380::-;18722:1;18718:12;;;;18765;;;18786:61;;18840:4;18832:6;18828:17;18818:27;;18786:61;18893:2;18885:6;18882:14;18862:18;18859:38;18856:161;;18939:10;18934:3;18930:20;18927:1;18920:31;18974:4;18971:1;18964:15;19002:4;18999:1;18992:15;18856:161;;18643:380;;;:::o;19154:545::-;19256:2;19251:3;19248:11;19245:448;;;19292:1;19317:5;19313:2;19306:17;19362:4;19358:2;19348:19;19432:2;19420:10;19416:19;19413:1;19409:27;19403:4;19399:38;19468:4;19456:10;19453:20;19450:47;;;-1:-1:-1;19491:4:1;19450:47;19546:2;19541:3;19537:12;19534:1;19530:20;19524:4;19520:31;19510:41;;19601:82;19619:2;19612:5;19609:13;19601:82;;;19664:17;;;19645:1;19634:13;19601:82;;19875:1352;20001:3;19995:10;-1:-1:-1;;;;;20020:6:1;20017:30;20014:56;;;20050:18;;:::i;:::-;20079:97;20169:6;20129:38;20161:4;20155:11;20129:38;:::i;:::-;20123:4;20079:97;:::i;:::-;20231:4;;20295:2;20284:14;;20312:1;20307:663;;;;21014:1;21031:6;21028:89;;;-1:-1:-1;21083:19:1;;;21077:26;21028:89;-1:-1:-1;;19832:1:1;19828:11;;;19824:24;19820:29;19810:40;19856:1;19852:11;;;19807:57;21130:81;;20277:944;;20307:663;19101:1;19094:14;;;19138:4;19125:18;;-1:-1:-1;;20343:20:1;;;20461:236;20475:7;20472:1;20469:14;20461:236;;;20564:19;;;20558:26;20543:42;;20656:27;;;;20624:1;20612:14;;;;20491:19;;20461:236;;;20465:3;20725:6;20716:7;20713:19;20710:201;;;20786:19;;;20780:26;-1:-1:-1;;20869:1:1;20865:14;;;20881:3;20861:24;20857:37;20853:42;20838:58;20823:74;;20710:201;-1:-1:-1;;;;;20957:1:1;20941:14;;;20937:22;20924:36;;-1:-1:-1;19875:1352:1:o;21232:1020::-;21408:3;21437:1;21470:6;21464:13;21500:36;21526:9;21500:36;:::i;:::-;21555:1;21572:18;;;21599:133;;;;21746:1;21741:356;;;;21565:532;;21599:133;-1:-1:-1;;21632:24:1;;21620:37;;21705:14;;21698:22;21686:35;;21677:45;;;-1:-1:-1;21599:133:1;;21741:356;21772:6;21769:1;21762:17;21802:4;21847:2;21844:1;21834:16;21872:1;21886:165;21900:6;21897:1;21894:13;21886:165;;;21978:14;;21965:11;;;21958:35;22021:16;;;;21915:10;;21886:165;;;21890:3;;;22080:6;22075:3;22071:16;22064:23;;21565:532;;;;;22128:6;22122:13;22144:68;22203:8;22198:3;22191:4;22183:6;22179:17;22144:68;:::i;:::-;22228:18;;21232:1020;-1:-1:-1;;;;21232:1020:1:o;22912:404::-;23114:2;23096:21;;;23153:2;23133:18;;;23126:30;23192:34;23187:2;23172:18;;23165:62;-1:-1:-1;;;23258:2:1;23243:18;;23236:38;23306:3;23291:19;;22912:404::o;23321:401::-;23523:2;23505:21;;;23562:2;23542:18;;;23535:30;23601:34;23596:2;23581:18;;23574:62;-1:-1:-1;;;23667:2:1;23652:18;;23645:35;23712:3;23697:19;;23321:401::o;23727:406::-;23929:2;23911:21;;;23968:2;23948:18;;;23941:30;24007:34;24002:2;23987:18;;23980:62;-1:-1:-1;;;24073:2:1;24058:18;;24051:40;24123:3;24108:19;;23727:406::o;24138:465::-;24395:2;24384:9;24377:21;24358:4;24421:56;24473:2;24462:9;24458:18;24450:6;24421:56;:::i;:::-;24525:9;24517:6;24513:22;24508:2;24497:9;24493:18;24486:50;24553:44;24590:6;24582;24553:44;:::i;24608:399::-;24810:2;24792:21;;;24849:2;24829:18;;;24822:30;24888:34;24883:2;24868:18;;24861:62;-1:-1:-1;;;24954:2:1;24939:18;;24932:33;24997:3;24982:19;;24608:399::o;25012:400::-;25214:2;25196:21;;;25253:2;25233:18;;;25226:30;25292:34;25287:2;25272:18;;25265:62;-1:-1:-1;;;25358:2:1;25343:18;;25336:34;25402:3;25387:19;;25012:400::o;26061:561::-;-1:-1:-1;;;;;26358:15:1;;;26340:34;;26410:15;;26405:2;26390:18;;26383:43;26457:2;26442:18;;26435:34;;;26500:2;26485:18;;26478:34;;;26320:3;26543;26528:19;;26521:32;;;26283:4;;26570:46;;26596:19;;26588:6;26570:46;:::i;:::-;26562:54;26061:561;-1:-1:-1;;;;;;;26061:561:1:o;26627:249::-;26696:6;26749:2;26737:9;26728:7;26724:23;26720:32;26717:52;;;26765:1;26762;26755:12;26717:52;26797:9;26791:16;26816:30;26840:5;26816:30;:::i;26881:179::-;26916:3;26958:1;26940:16;26937:23;26934:120;;;27004:1;27001;26998;26983:23;-1:-1:-1;27041:1:1;27035:8;27030:3;27026:18;26934:120;26881:179;:::o;27065:671::-;27104:3;27146:4;27128:16;27125:26;27122:39;;;27065:671;:::o;27122:39::-;27188:2;27182:9;-1:-1:-1;;27253:16:1;27249:25;;27246:1;27182:9;27225:50;27304:4;27298:11;27328:16;-1:-1:-1;;;;;27434:2:1;27427:4;27419:6;27415:17;27412:25;27407:2;27399:6;27396:14;27393:45;27390:58;;;27441:5;;;;;27065:671;:::o;27390:58::-;27478:6;27472:4;27468:17;27457:28;;27514:3;27508:10;27541:2;27533:6;27530:14;27527:27;;;27547:5;;;;;;27065:671;:::o;27527:27::-;27631:2;27612:16;27606:4;27602:27;27598:36;27591:4;27582:6;27577:3;27573:16;27569:27;27566:69;27563:82;;;27638:5;;;;;;27065:671;:::o;27563:82::-;27654:57;27705:4;27696:6;27688;27684:19;27680:30;27674:4;27654:57;:::i;:::-;-1:-1:-1;27727:3:1;;27065:671;-1:-1:-1;;;;;27065:671:1:o;28162:404::-;28364:2;28346:21;;;28403:2;28383:18;;;28376:30;28442:34;28437:2;28422:18;;28415:62;-1:-1:-1;;;28508:2:1;28493:18;;28486:38;28556:3;28541:19;;28162:404::o;28571:827::-;-1:-1:-1;;;;;28968:15:1;;;28950:34;;29020:15;;29015:2;29000:18;;28993:43;28930:3;29067:2;29052:18;;29045:31;;;28893:4;;29099:57;;29136:19;;29128:6;29099:57;:::i;:::-;29204:9;29196:6;29192:22;29187:2;29176:9;29172:18;29165:50;29238:44;29275:6;29267;29238:44;:::i;:::-;29224:58;;29331:9;29323:6;29319:22;29313:3;29302:9;29298:19;29291:51;29359:33;29385:6;29377;29359:33;:::i;:::-;29351:41;28571:827;-1:-1:-1;;;;;;;;28571:827:1:o

Swarm Source

ipfs://f13143556967892d252f8f00d5c88b7e9d135e6a249b93a2740219d33cd6385a

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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