ETH Price: $2,431.10 (+5.46%)

Token

 

Overview

Max Total Supply

134

Holders

40

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0xc8a9a8f569c61a6a061181ef61100e14759c27f1
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
TheNexus

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import {DefaultOperatorFilterer} from "operator-filter-registry/src/DefaultOperatorFilterer.sol";


contract TheNexus is ERC1155, ERC2981, Ownable, DefaultOperatorFilterer {
    constructor(string memory _URI) ERC1155('https://metag-backend.herokuapp.com/thenexus/}') {}

    uint public publicPrice = 0.029 ether;
    uint public maxSupply = 3000;
    uint public maxTx = 20;

    uint public edition = 0;

    bytes32 public guardianMerkleRoot;

    bool public _mintOpen = false;

    mapping(uint256 => uint256) public minted;
    mapping(address => bool) private metagBonus;
    
    function toggleMint() external onlyOwner {
        _mintOpen = !_mintOpen;
    }

    function setPublicPrice(uint newPrice) external onlyOwner {
        publicPrice = newPrice;
    }
    
    function setURI(string memory newBaseURI) external onlyOwner {
        _setURI(newBaseURI);
    }

    function setGuardianMerkleRoot(bytes32 root) external onlyOwner {
        guardianMerkleRoot = root;
    }
    
    function setMaxSupply(uint newSupply) external onlyOwner {
        maxSupply = newSupply;
    }

    function setEdition(uint ed) external onlyOwner {
        edition = ed;
    }
    
    function setMaxTx(uint newMax) external onlyOwner {
        maxTx = newMax;
    }

    function mintTeam(uint qty)
        external
        onlyOwner
    {
        _mint(_msgSender(), edition, qty, "");
        minted[edition] += qty;
    }

    function mintGuardianHolder(uint qty, bytes32[] memory proof) external payable {
        require(_mintOpen, "store closed");
        require(qty <= maxTx && qty > 0, "TRANSACTION: qty of mints not alowed");
        require(msg.value >= publicPrice * qty, "PAYMENT: invalid value");
        if (_verifyGuardianHolder(proof) && !metagBonus[_msgSender()]) {
            qty += 1;
            metagBonus[_msgSender()] = true;
        } 
        require(qty + minted[edition] <= maxSupply, "SUPPLY: Value exceeds totalSupply");
        _mint(_msgSender(), edition, qty, "");
        minted[edition] += qty;
    }
    
    function mint(uint qty) external payable {
        require(_mintOpen, "store closed");
        require(qty <= maxTx && qty > 0, "TRANSACTION: qty of mints not alowed");
        require(msg.value >= publicPrice * qty, "PAYMENT: invalid value");
        require(qty + minted[edition] <= maxSupply, "SUPPLY: Value exceeds totalSupply");
        _mint(_msgSender(), edition, qty, "");
        minted[edition] += qty;
    }
    
    function withdraw() external onlyOwner {
        payable(address(0x8F14068Bf2003B75E06F268E7D70184E5FBB5972)).transfer(address(this).balance);
    }

    function _verifyGuardianHolder(bytes32[] memory proof) internal view returns (bool) {
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        return MerkleProof.verify(proof, guardianMerkleRoot, leaf);
    }

    function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) {
        super.setApprovalForAll(operator, approved);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId, uint256 amount, bytes memory data)
        public
        override
        onlyAllowedOperator(from)
    {
        super.safeTransferFrom(from, to, tokenId, amount, data);
    }

    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override onlyAllowedOperator(from) {
        super.safeBatchTransferFrom(from, to, ids, amounts, data);
    }

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

File 2 of 18 : Constants.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E;
address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;

File 3 of 18 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";
import {CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS} from "./lib/Constants.sol";
/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 *         Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract OperatorFilterer {
    /// @dev Emitted when an operator is not allowed.
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS);

    /// @dev The constructor that is called when the contract is being deployed.
    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));
                }
            }
        }
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    modifier onlyAllowedOperator(address from) virtual {
        // 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) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    /**
     * @dev A helper function to check if an operator approval is allowed.
     */
    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            // under normal circumstances, this function will revert rather than return false, but inheriting contracts
            // may specify their own OperatorFilterRegistry implementations, which may behave differently
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

File 4 of 18 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    /**
     * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns
     *         true if supplied registrant address is not registered.
     */
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);

    /**
     * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner.
     */
    function register(address registrant) external;

    /**
     * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes.
     */
    function registerAndSubscribe(address registrant, address subscription) external;

    /**
     * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another
     *         address without subscribing.
     */
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;

    /**
     * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner.
     *         Note that this does not remove any filtered addresses or codeHashes.
     *         Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes.
     */
    function unregister(address addr) external;

    /**
     * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered.
     */
    function updateOperator(address registrant, address operator, bool filtered) external;

    /**
     * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates.
     */
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;

    /**
     * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered.
     */
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;

    /**
     * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates.
     */
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;

    /**
     * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous
     *         subscription if present.
     *         Note that accounts with subscriptions may go on to subscribe to other accounts - in this case,
     *         subscriptions will not be forwarded. Instead the former subscription's existing entries will still be
     *         used.
     */
    function subscribe(address registrant, address registrantToSubscribe) external;

    /**
     * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes.
     */
    function unsubscribe(address registrant, bool copyExistingEntries) external;

    /**
     * @notice Get the subscription address of a given registrant, if any.
     */
    function subscriptionOf(address addr) external returns (address registrant);

    /**
     * @notice Get the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscribers(address registrant) external returns (address[] memory);

    /**
     * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscriberAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr.
     */
    function copyEntriesOf(address registrant, address registrantToCopy) external;

    /**
     * @notice Returns true if operator is filtered by a given address or its subscription.
     */
    function isOperatorFiltered(address registrant, address operator) external returns (bool);

    /**
     * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription.
     */
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);

    /**
     * @notice Returns true if a codeHash is filtered by a given address or its subscription.
     */
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);

    /**
     * @notice Returns a list of filtered operators for a given address or its subscription.
     */
    function filteredOperators(address addr) external returns (address[] memory);

    /**
     * @notice Returns the set of filtered codeHashes for a given address or its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);

    /**
     * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);

    /**
     * @notice Returns true if an address has registered
     */
    function isRegistered(address addr) external returns (bool);

    /**
     * @dev Convenience method to compute the code hash of an arbitrary contract
     */
    function codeHashOf(address addr) external returns (bytes32);
}

File 5 of 18 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";
import {CANONICAL_CORI_SUBSCRIPTION} from "./lib/Constants.sol";
/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 * @dev    Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract DefaultOperatorFilterer is OperatorFilterer {
    /// @dev The constructor that is called when the contract is being deployed.
    constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {}
}

File 6 of 18 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 7 of 18 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * 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.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 10 of 18 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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 11 of 18 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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

File 12 of 18 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

File 13 of 18 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @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 14 of 18 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

/**
 * @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 15 of 18 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

/**
 * @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 16 of 18 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @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 or 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 or 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 17 of 18 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

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

File 18 of 18 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _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);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"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":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_mintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"edition","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guardianMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mintGuardianHolder","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"mintTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"ed","type":"uint256"}],"name":"setEdition","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setGuardianMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"setMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","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":[],"name":"toggleMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405266670758aa7c8000600655610bb8600755601460085560006009556000600b60006101000a81548160ff0219169083151502179055503480156200004757600080fd5b5060405162004a5438038062004a5483398181016040528101906200006d919062000605565b733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060600160405280602e815260200162004a26602e9139620000af81620002ce60201b60201c565b50620000d0620000c4620002ea60201b60201c565b620002f260201b60201c565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620002c55780156200018b576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620001519291906200069b565b600060405180830381600087803b1580156200016c57600080fd5b505af115801562000181573d6000803e3d6000fd5b50505050620002c4565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000245576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200020b9291906200069b565b600060405180830381600087803b1580156200022657600080fd5b505af11580156200023b573d6000803e3d6000fd5b50505050620002c3565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016200028e9190620006c8565b600060405180830381600087803b158015620002a957600080fd5b505af1158015620002be573d6000803e3d6000fd5b505050505b5b5b50505062000749565b8060029080519060200190620002e6929190620003b8565b5050565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003c69062000714565b90600052602060002090601f016020900481019282620003ea576000855562000436565b82601f106200040557805160ff191683800117855562000436565b8280016001018555821562000436579182015b828111156200043557825182559160200191906001019062000418565b5b50905062000445919062000449565b5090565b5b80821115620004645760008160009055506001016200044a565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620004d18262000486565b810181811067ffffffffffffffff82111715620004f357620004f262000497565b5b80604052505050565b60006200050862000468565b9050620005168282620004c6565b919050565b600067ffffffffffffffff82111562000539576200053862000497565b5b620005448262000486565b9050602081019050919050565b60005b838110156200057157808201518184015260208101905062000554565b8381111562000581576000848401525b50505050565b60006200059e62000598846200051b565b620004fc565b905082815260208101848484011115620005bd57620005bc62000481565b5b620005ca84828562000551565b509392505050565b600082601f830112620005ea57620005e96200047c565b5b8151620005fc84826020860162000587565b91505092915050565b6000602082840312156200061e576200061d62000472565b5b600082015167ffffffffffffffff8111156200063f576200063e62000477565b5b6200064d84828501620005d2565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620006838262000656565b9050919050565b620006958162000676565b82525050565b6000604082019050620006b260008301856200068a565b620006c160208301846200068a565b9392505050565b6000602082019050620006df60008301846200068a565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200072d57607f821691505b602082108103620007435762000742620006e5565b5b50919050565b6142cd80620007596000396000f3fe6080604052600436106101d75760003560e01c80637dc0bf3f11610102578063cc52c16e11610095578063e066235011610064578063e066235014610668578063e985e9c514610691578063f242432a146106ce578063f2fde38b146106f7576101d7565b8063cc52c16e146105d2578063cd9a2228146105fb578063d3dd5fe014610626578063d5abeb011461063d576101d7565b8063a22cb465116100d1578063a22cb4651461052c578063a945bf8014610555578063bc33718214610580578063c6275255146105a9576101d7565b80637dc0bf3f1461047d5780638da5cb5b146104ba5780638e98f86a146104e5578063a0712d6814610510576101d7565b8063342f48aa1161017a5780635171b434116101495780635171b434146103f65780636f8b44b014610412578063715018a61461043b5780637437681e14610452576101d7565b8063342f48aa1461034e5780633ccfd60b1461037757806341f434341461038e5780634e1273f4146103b9576101d7565b80630e89341c116101b65780630e89341c1461027f578063222230c2146102bc5780632a55205a146102e75780632eb2c2d614610325576101d7565b8062fdd58e146101dc57806301ffc9a71461021957806302fe530514610256575b600080fd5b3480156101e857600080fd5b5061020360048036038101906101fe9190612886565b610720565b60405161021091906128d5565b60405180910390f35b34801561022557600080fd5b50610240600480360381019061023b9190612948565b6107e8565b60405161024d9190612990565b60405180910390f35b34801561026257600080fd5b5061027d60048036038101906102789190612af1565b6107fa565b005b34801561028b57600080fd5b506102a660048036038101906102a19190612b3a565b61080e565b6040516102b39190612bef565b60405180910390f35b3480156102c857600080fd5b506102d16108a2565b6040516102de9190612c2a565b60405180910390f35b3480156102f357600080fd5b5061030e60048036038101906103099190612c45565b6108a8565b60405161031c929190612c94565b60405180910390f35b34801561033157600080fd5b5061034c60048036038101906103479190612e26565b610a92565b005b34801561035a57600080fd5b5061037560048036038101906103709190612b3a565b610ae5565b005b34801561038357600080fd5b5061038c610b40565b005b34801561039a57600080fd5b506103a3610ba5565b6040516103b09190612f54565b60405180910390f35b3480156103c557600080fd5b506103e060048036038101906103db9190613032565b610bb7565b6040516103ed9190613168565b60405180910390f35b610410600480360381019061040b9190613279565b610cd0565b005b34801561041e57600080fd5b5061043960048036038101906104349190612b3a565b610f53565b005b34801561044757600080fd5b50610450610f65565b005b34801561045e57600080fd5b50610467610f79565b60405161047491906128d5565b60405180910390f35b34801561048957600080fd5b506104a4600480360381019061049f9190612b3a565b610f7f565b6040516104b191906128d5565b60405180910390f35b3480156104c657600080fd5b506104cf610f97565b6040516104dc91906132d5565b60405180910390f35b3480156104f157600080fd5b506104fa610fc1565b60405161050791906128d5565b60405180910390f35b61052a60048036038101906105259190612b3a565b610fc7565b005b34801561053857600080fd5b50610553600480360381019061054e919061331c565b61116f565b005b34801561056157600080fd5b5061056a611188565b60405161057791906128d5565b60405180910390f35b34801561058c57600080fd5b506105a760048036038101906105a29190612b3a565b61118e565b005b3480156105b557600080fd5b506105d060048036038101906105cb9190612b3a565b6111a0565b005b3480156105de57600080fd5b506105f960048036038101906105f49190612b3a565b6111b2565b005b34801561060757600080fd5b506106106111c4565b60405161061d9190612990565b60405180910390f35b34801561063257600080fd5b5061063b6111d7565b005b34801561064957600080fd5b5061065261120b565b60405161065f91906128d5565b60405180910390f35b34801561067457600080fd5b5061068f600480360381019061068a919061335c565b611211565b005b34801561069d57600080fd5b506106b860048036038101906106b39190613389565b611223565b6040516106c59190612990565b60405180910390f35b3480156106da57600080fd5b506106f560048036038101906106f091906133c9565b6112b7565b005b34801561070357600080fd5b5061071e60048036038101906107199190613460565b61130a565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610790576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610787906134ff565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006107f38261138d565b9050919050565b610802611407565b61080b81611485565b50565b60606002805461081d9061354e565b80601f01602080910402602001604051908101604052809291908181526020018280546108499061354e565b80156108965780601f1061086b57610100808354040283529160200191610896565b820191906000526020600020905b81548152906001019060200180831161087957829003601f168201915b50505050509050919050565b600a5481565b6000806000600460008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610a3d5760036040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610a4761149f565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610a7391906135ae565b610a7d9190613637565b90508160000151819350935050509250929050565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ad057610acf336114a9565b5b610add86868686866115a6565b505050505050565b610aed611407565b610b11610af8611647565b600954836040518060200160405280600081525061164f565b80600c600060095481526020019081526020016000206000828254610b369190613668565b9250508190555050565b610b48611407565b738f14068bf2003b75e06f268e7d70184e5fbb597273ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610ba2573d6000803e3d6000fd5b50565b6daaeb6d7670e522a718067333cd4e81565b60608151835114610bfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf490613730565b60405180910390fd5b6000835167ffffffffffffffff811115610c1a57610c196129c6565b5b604051908082528060200260200182016040528015610c485781602001602082028036833780820191505090505b50905060005b8451811015610cc557610c95858281518110610c6d57610c6c613750565b5b6020026020010151858381518110610c8857610c87613750565b5b6020026020010151610720565b828281518110610ca857610ca7613750565b5b60200260200101818152505080610cbe9061377f565b9050610c4e565b508091505092915050565b600b60009054906101000a900460ff16610d1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1690613813565b60405180910390fd5b6008548211158015610d315750600082115b610d70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d67906138a5565b60405180910390fd5b81600654610d7e91906135ae565b341015610dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db790613911565b60405180910390fd5b610dc9816117ff565b8015610e265750600d6000610ddc611647565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15610e9a57600182610e389190613668565b91506001600d6000610e48611647565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b600754600c600060095481526020019081526020016000205483610ebe9190613668565b1115610eff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef6906139a3565b60405180910390fd5b610f23610f0a611647565b600954846040518060200160405280600081525061164f565b81600c600060095481526020019081526020016000206000828254610f489190613668565b925050819055505050565b610f5b611407565b8060078190555050565b610f6d611407565b610f776000611840565b565b60085481565b600c6020528060005260406000206000915090505481565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60095481565b600b60009054906101000a900460ff16611016576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100d90613813565b60405180910390fd5b60085481111580156110285750600081115b611067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105e906138a5565b60405180910390fd5b8060065461107591906135ae565b3410156110b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ae90613911565b60405180910390fd5b600754600c6000600954815260200190815260200160002054826110db9190613668565b111561111c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611113906139a3565b60405180910390fd5b611140611127611647565b600954836040518060200160405280600081525061164f565b80600c6000600954815260200190815260200160002060008282546111659190613668565b9250508190555050565b81611179816114a9565b6111838383611906565b505050565b60065481565b611196611407565b8060088190555050565b6111a8611407565b8060068190555050565b6111ba611407565b8060098190555050565b600b60009054906101000a900460ff1681565b6111df611407565b600b60009054906101000a900460ff1615600b60006101000a81548160ff021916908315150217905550565b60075481565b611219611407565b80600a8190555050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146112f5576112f4336114a9565b5b611302868686868661191c565b505050505050565b611312611407565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611381576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137890613a35565b60405180910390fd5b61138a81611840565b50565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061140057506113ff826119bd565b5b9050919050565b61140f611647565b73ffffffffffffffffffffffffffffffffffffffff1661142d610f97565b73ffffffffffffffffffffffffffffffffffffffff1614611483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147a90613aa1565b60405180910390fd5b565b806002908051906020019061149b92919061273b565b5050565b6000612710905090565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156115a3576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611520929190613ac1565b602060405180830381865afa15801561153d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115619190613aff565b6115a257806040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161159991906132d5565b60405180910390fd5b5b50565b6115ae611647565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806115f457506115f3856115ee611647565b611223565b5b611633576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162a90613b9e565b60405180910390fd5b6116408585858585611a9f565b5050505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036116be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b590613c30565b60405180910390fd5b60006116c8611647565b905060006116d585611dc0565b905060006116e285611dc0565b90506116f383600089858589611e3a565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117529190613668565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516117d0929190613c50565b60405180910390a46117e783600089858589611e42565b6117f683600089898989611e4a565b50505050505050565b600080336040516020016118139190613cc1565b60405160208183030381529060405280519060200120905061183883600a5483612021565b915050919050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611918611911611647565b8383612038565b5050565b611924611647565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061196a575061196985611964611647565b611223565b5b6119a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a090613b9e565b60405180910390fd5b6119b685858585856121a4565b5050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611a8857507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611a985750611a978261243f565b5b9050919050565b8151835114611ae3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ada90613d4e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611b52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4990613de0565b60405180910390fd5b6000611b5c611647565b9050611b6c818787878787611e3a565b60005b8451811015611d1d576000858281518110611b8d57611b8c613750565b5b602002602001015190506000858381518110611bac57611bab613750565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611c4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4490613e72565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d029190613668565b9250508190555050505080611d169061377f565b9050611b6f565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611d94929190613e92565b60405180910390a4611daa818787878787611e42565b611db88187878787876124a9565b505050505050565b60606000600167ffffffffffffffff811115611ddf57611dde6129c6565b5b604051908082528060200260200182016040528015611e0d5781602001602082028036833780820191505090505b5090508281600081518110611e2557611e24613750565b5b60200260200101818152505080915050919050565b505050505050565b505050505050565b611e698473ffffffffffffffffffffffffffffffffffffffff16612680565b15612019578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611eaf959493929190613f1e565b6020604051808303816000875af1925050508015611eeb57506040513d601f19601f82011682018060405250810190611ee89190613f8d565b60015b611f9057611ef7613fc7565b806308c379a003611f535750611f0b613fe9565b80611f165750611f55565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4a9190612bef565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f87906140eb565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612017576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200e9061417d565b60405180910390fd5b505b505050505050565b60008261202e85846126a3565b1490509392505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036120a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209d9061420f565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121979190612990565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612213576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220a90613de0565b60405180910390fd5b600061221d611647565b9050600061222a85611dc0565b9050600061223785611dc0565b9050612247838989858589611e3a565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050858110156122de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d590613e72565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123939190613668565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612410929190613c50565b60405180910390a4612426848a8a86868a611e42565b612434848a8a8a8a8a611e4a565b505050505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6124c88473ffffffffffffffffffffffffffffffffffffffff16612680565b15612678578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161250e95949392919061422f565b6020604051808303816000875af192505050801561254a57506040513d601f19601f820116820180604052508101906125479190613f8d565b60015b6125ef57612556613fc7565b806308c379a0036125b2575061256a613fe9565b8061257557506125b4565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a99190612bef565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e6906140eb565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612676576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266d9061417d565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008082905060005b84518110156126ee576126d9828683815181106126cc576126cb613750565b5b60200260200101516126f9565b915080806126e69061377f565b9150506126ac565b508091505092915050565b60008183106127115761270c8284612724565b61271c565b61271b8383612724565b5b905092915050565b600082600052816020526040600020905092915050565b8280546127479061354e565b90600052602060002090601f01602090048101928261276957600085556127b0565b82601f1061278257805160ff19168380011785556127b0565b828001600101855582156127b0579182015b828111156127af578251825591602001919060010190612794565b5b5090506127bd91906127c1565b5090565b5b808211156127da5760008160009055506001016127c2565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061281d826127f2565b9050919050565b61282d81612812565b811461283857600080fd5b50565b60008135905061284a81612824565b92915050565b6000819050919050565b61286381612850565b811461286e57600080fd5b50565b6000813590506128808161285a565b92915050565b6000806040838503121561289d5761289c6127e8565b5b60006128ab8582860161283b565b92505060206128bc85828601612871565b9150509250929050565b6128cf81612850565b82525050565b60006020820190506128ea60008301846128c6565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612925816128f0565b811461293057600080fd5b50565b6000813590506129428161291c565b92915050565b60006020828403121561295e5761295d6127e8565b5b600061296c84828501612933565b91505092915050565b60008115159050919050565b61298a81612975565b82525050565b60006020820190506129a56000830184612981565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6129fe826129b5565b810181811067ffffffffffffffff82111715612a1d57612a1c6129c6565b5b80604052505050565b6000612a306127de565b9050612a3c82826129f5565b919050565b600067ffffffffffffffff821115612a5c57612a5b6129c6565b5b612a65826129b5565b9050602081019050919050565b82818337600083830152505050565b6000612a94612a8f84612a41565b612a26565b905082815260208101848484011115612ab057612aaf6129b0565b5b612abb848285612a72565b509392505050565b600082601f830112612ad857612ad76129ab565b5b8135612ae8848260208601612a81565b91505092915050565b600060208284031215612b0757612b066127e8565b5b600082013567ffffffffffffffff811115612b2557612b246127ed565b5b612b3184828501612ac3565b91505092915050565b600060208284031215612b5057612b4f6127e8565b5b6000612b5e84828501612871565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612ba1578082015181840152602081019050612b86565b83811115612bb0576000848401525b50505050565b6000612bc182612b67565b612bcb8185612b72565b9350612bdb818560208601612b83565b612be4816129b5565b840191505092915050565b60006020820190508181036000830152612c098184612bb6565b905092915050565b6000819050919050565b612c2481612c11565b82525050565b6000602082019050612c3f6000830184612c1b565b92915050565b60008060408385031215612c5c57612c5b6127e8565b5b6000612c6a85828601612871565b9250506020612c7b85828601612871565b9150509250929050565b612c8e81612812565b82525050565b6000604082019050612ca96000830185612c85565b612cb660208301846128c6565b9392505050565b600067ffffffffffffffff821115612cd857612cd76129c6565b5b602082029050602081019050919050565b600080fd5b6000612d01612cfc84612cbd565b612a26565b90508083825260208201905060208402830185811115612d2457612d23612ce9565b5b835b81811015612d4d5780612d398882612871565b845260208401935050602081019050612d26565b5050509392505050565b600082601f830112612d6c57612d6b6129ab565b5b8135612d7c848260208601612cee565b91505092915050565b600067ffffffffffffffff821115612da057612d9f6129c6565b5b612da9826129b5565b9050602081019050919050565b6000612dc9612dc484612d85565b612a26565b905082815260208101848484011115612de557612de46129b0565b5b612df0848285612a72565b509392505050565b600082601f830112612e0d57612e0c6129ab565b5b8135612e1d848260208601612db6565b91505092915050565b600080600080600060a08688031215612e4257612e416127e8565b5b6000612e508882890161283b565b9550506020612e618882890161283b565b945050604086013567ffffffffffffffff811115612e8257612e816127ed565b5b612e8e88828901612d57565b935050606086013567ffffffffffffffff811115612eaf57612eae6127ed565b5b612ebb88828901612d57565b925050608086013567ffffffffffffffff811115612edc57612edb6127ed565b5b612ee888828901612df8565b9150509295509295909350565b6000819050919050565b6000612f1a612f15612f10846127f2565b612ef5565b6127f2565b9050919050565b6000612f2c82612eff565b9050919050565b6000612f3e82612f21565b9050919050565b612f4e81612f33565b82525050565b6000602082019050612f696000830184612f45565b92915050565b600067ffffffffffffffff821115612f8a57612f896129c6565b5b602082029050602081019050919050565b6000612fae612fa984612f6f565b612a26565b90508083825260208201905060208402830185811115612fd157612fd0612ce9565b5b835b81811015612ffa5780612fe6888261283b565b845260208401935050602081019050612fd3565b5050509392505050565b600082601f830112613019576130186129ab565b5b8135613029848260208601612f9b565b91505092915050565b60008060408385031215613049576130486127e8565b5b600083013567ffffffffffffffff811115613067576130666127ed565b5b61307385828601613004565b925050602083013567ffffffffffffffff811115613094576130936127ed565b5b6130a085828601612d57565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6130df81612850565b82525050565b60006130f183836130d6565b60208301905092915050565b6000602082019050919050565b6000613115826130aa565b61311f81856130b5565b935061312a836130c6565b8060005b8381101561315b57815161314288826130e5565b975061314d836130fd565b92505060018101905061312e565b5085935050505092915050565b60006020820190508181036000830152613182818461310a565b905092915050565b600067ffffffffffffffff8211156131a5576131a46129c6565b5b602082029050602081019050919050565b6131bf81612c11565b81146131ca57600080fd5b50565b6000813590506131dc816131b6565b92915050565b60006131f56131f08461318a565b612a26565b9050808382526020820190506020840283018581111561321857613217612ce9565b5b835b81811015613241578061322d88826131cd565b84526020840193505060208101905061321a565b5050509392505050565b600082601f8301126132605761325f6129ab565b5b81356132708482602086016131e2565b91505092915050565b600080604083850312156132905761328f6127e8565b5b600061329e85828601612871565b925050602083013567ffffffffffffffff8111156132bf576132be6127ed565b5b6132cb8582860161324b565b9150509250929050565b60006020820190506132ea6000830184612c85565b92915050565b6132f981612975565b811461330457600080fd5b50565b600081359050613316816132f0565b92915050565b60008060408385031215613333576133326127e8565b5b60006133418582860161283b565b925050602061335285828601613307565b9150509250929050565b600060208284031215613372576133716127e8565b5b6000613380848285016131cd565b91505092915050565b600080604083850312156133a05761339f6127e8565b5b60006133ae8582860161283b565b92505060206133bf8582860161283b565b9150509250929050565b600080600080600060a086880312156133e5576133e46127e8565b5b60006133f38882890161283b565b95505060206134048882890161283b565b945050604061341588828901612871565b935050606061342688828901612871565b925050608086013567ffffffffffffffff811115613447576134466127ed565b5b61345388828901612df8565b9150509295509295909350565b600060208284031215613476576134756127e8565b5b60006134848482850161283b565b91505092915050565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b60006134e9602a83612b72565b91506134f48261348d565b604082019050919050565b60006020820190508181036000830152613518816134dc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061356657607f821691505b6020821081036135795761357861351f565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006135b982612850565b91506135c483612850565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156135fd576135fc61357f565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061364282612850565b915061364d83612850565b92508261365d5761365c613608565b5b828204905092915050565b600061367382612850565b915061367e83612850565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136b3576136b261357f565b5b828201905092915050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b600061371a602983612b72565b9150613725826136be565b604082019050919050565b600060208201905081810360008301526137498161370d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061378a82612850565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036137bc576137bb61357f565b5b600182019050919050565b7f73746f726520636c6f7365640000000000000000000000000000000000000000600082015250565b60006137fd600c83612b72565b9150613808826137c7565b602082019050919050565b6000602082019050818103600083015261382c816137f0565b9050919050565b7f5452414e53414354494f4e3a20717479206f66206d696e7473206e6f7420616c60008201527f6f77656400000000000000000000000000000000000000000000000000000000602082015250565b600061388f602483612b72565b915061389a82613833565b604082019050919050565b600060208201905081810360008301526138be81613882565b9050919050565b7f5041594d454e543a20696e76616c69642076616c756500000000000000000000600082015250565b60006138fb601683612b72565b9150613906826138c5565b602082019050919050565b6000602082019050818103600083015261392a816138ee565b9050919050565b7f535550504c593a2056616c7565206578636565647320746f74616c537570706c60008201527f7900000000000000000000000000000000000000000000000000000000000000602082015250565b600061398d602183612b72565b915061399882613931565b604082019050919050565b600060208201905081810360008301526139bc81613980565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613a1f602683612b72565b9150613a2a826139c3565b604082019050919050565b60006020820190508181036000830152613a4e81613a12565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613a8b602083612b72565b9150613a9682613a55565b602082019050919050565b60006020820190508181036000830152613aba81613a7e565b9050919050565b6000604082019050613ad66000830185612c85565b613ae36020830184612c85565b9392505050565b600081519050613af9816132f0565b92915050565b600060208284031215613b1557613b146127e8565b5b6000613b2384828501613aea565b91505092915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613b88602e83612b72565b9150613b9382613b2c565b604082019050919050565b60006020820190508181036000830152613bb781613b7b565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c1a602183612b72565b9150613c2582613bbe565b604082019050919050565b60006020820190508181036000830152613c4981613c0d565b9050919050565b6000604082019050613c6560008301856128c6565b613c7260208301846128c6565b9392505050565b60008160601b9050919050565b6000613c9182613c79565b9050919050565b6000613ca382613c86565b9050919050565b613cbb613cb682612812565b613c98565b82525050565b6000613ccd8284613caa565b60148201915081905092915050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613d38602883612b72565b9150613d4382613cdc565b604082019050919050565b60006020820190508181036000830152613d6781613d2b565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613dca602583612b72565b9150613dd582613d6e565b604082019050919050565b60006020820190508181036000830152613df981613dbd565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613e5c602a83612b72565b9150613e6782613e00565b604082019050919050565b60006020820190508181036000830152613e8b81613e4f565b9050919050565b60006040820190508181036000830152613eac818561310a565b90508181036020830152613ec0818461310a565b90509392505050565b600081519050919050565b600082825260208201905092915050565b6000613ef082613ec9565b613efa8185613ed4565b9350613f0a818560208601612b83565b613f13816129b5565b840191505092915050565b600060a082019050613f336000830188612c85565b613f406020830187612c85565b613f4d60408301866128c6565b613f5a60608301856128c6565b8181036080830152613f6c8184613ee5565b90509695505050505050565b600081519050613f878161291c565b92915050565b600060208284031215613fa357613fa26127e8565b5b6000613fb184828501613f78565b91505092915050565b60008160e01c9050919050565b600060033d1115613fe65760046000803e613fe3600051613fba565b90505b90565b600060443d1061407657613ffb6127de565b60043d036004823e80513d602482011167ffffffffffffffff82111715614023575050614076565b808201805167ffffffffffffffff8111156140415750505050614076565b80602083010160043d03850181111561405e575050505050614076565b61406d826020018501866129f5565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006140d5603483612b72565b91506140e082614079565b604082019050919050565b60006020820190508181036000830152614104816140c8565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614167602883612b72565b91506141728261410b565b604082019050919050565b600060208201905081810360008301526141968161415a565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006141f9602983612b72565b91506142048261419d565b604082019050919050565b60006020820190508181036000830152614228816141ec565b9050919050565b600060a0820190506142446000830188612c85565b6142516020830187612c85565b8181036040830152614263818661310a565b90508181036060830152614277818561310a565b9050818103608083015261428b8184613ee5565b9050969550505050505056fea2646970667358221220c5d24237c76ff0244cc7228aecbe314dfe39c0c3a4fc1b8edad11e701da6bbdc64736f6c634300080d003368747470733a2f2f6d657461672d6261636b656e642e6865726f6b756170702e636f6d2f7468656e657875732f7d0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002d68747470733a2f2f6d657461672d6261636b656e642e6865726f6b756170702e636f6d2f7468656e657875732f00000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101d75760003560e01c80637dc0bf3f11610102578063cc52c16e11610095578063e066235011610064578063e066235014610668578063e985e9c514610691578063f242432a146106ce578063f2fde38b146106f7576101d7565b8063cc52c16e146105d2578063cd9a2228146105fb578063d3dd5fe014610626578063d5abeb011461063d576101d7565b8063a22cb465116100d1578063a22cb4651461052c578063a945bf8014610555578063bc33718214610580578063c6275255146105a9576101d7565b80637dc0bf3f1461047d5780638da5cb5b146104ba5780638e98f86a146104e5578063a0712d6814610510576101d7565b8063342f48aa1161017a5780635171b434116101495780635171b434146103f65780636f8b44b014610412578063715018a61461043b5780637437681e14610452576101d7565b8063342f48aa1461034e5780633ccfd60b1461037757806341f434341461038e5780634e1273f4146103b9576101d7565b80630e89341c116101b65780630e89341c1461027f578063222230c2146102bc5780632a55205a146102e75780632eb2c2d614610325576101d7565b8062fdd58e146101dc57806301ffc9a71461021957806302fe530514610256575b600080fd5b3480156101e857600080fd5b5061020360048036038101906101fe9190612886565b610720565b60405161021091906128d5565b60405180910390f35b34801561022557600080fd5b50610240600480360381019061023b9190612948565b6107e8565b60405161024d9190612990565b60405180910390f35b34801561026257600080fd5b5061027d60048036038101906102789190612af1565b6107fa565b005b34801561028b57600080fd5b506102a660048036038101906102a19190612b3a565b61080e565b6040516102b39190612bef565b60405180910390f35b3480156102c857600080fd5b506102d16108a2565b6040516102de9190612c2a565b60405180910390f35b3480156102f357600080fd5b5061030e60048036038101906103099190612c45565b6108a8565b60405161031c929190612c94565b60405180910390f35b34801561033157600080fd5b5061034c60048036038101906103479190612e26565b610a92565b005b34801561035a57600080fd5b5061037560048036038101906103709190612b3a565b610ae5565b005b34801561038357600080fd5b5061038c610b40565b005b34801561039a57600080fd5b506103a3610ba5565b6040516103b09190612f54565b60405180910390f35b3480156103c557600080fd5b506103e060048036038101906103db9190613032565b610bb7565b6040516103ed9190613168565b60405180910390f35b610410600480360381019061040b9190613279565b610cd0565b005b34801561041e57600080fd5b5061043960048036038101906104349190612b3a565b610f53565b005b34801561044757600080fd5b50610450610f65565b005b34801561045e57600080fd5b50610467610f79565b60405161047491906128d5565b60405180910390f35b34801561048957600080fd5b506104a4600480360381019061049f9190612b3a565b610f7f565b6040516104b191906128d5565b60405180910390f35b3480156104c657600080fd5b506104cf610f97565b6040516104dc91906132d5565b60405180910390f35b3480156104f157600080fd5b506104fa610fc1565b60405161050791906128d5565b60405180910390f35b61052a60048036038101906105259190612b3a565b610fc7565b005b34801561053857600080fd5b50610553600480360381019061054e919061331c565b61116f565b005b34801561056157600080fd5b5061056a611188565b60405161057791906128d5565b60405180910390f35b34801561058c57600080fd5b506105a760048036038101906105a29190612b3a565b61118e565b005b3480156105b557600080fd5b506105d060048036038101906105cb9190612b3a565b6111a0565b005b3480156105de57600080fd5b506105f960048036038101906105f49190612b3a565b6111b2565b005b34801561060757600080fd5b506106106111c4565b60405161061d9190612990565b60405180910390f35b34801561063257600080fd5b5061063b6111d7565b005b34801561064957600080fd5b5061065261120b565b60405161065f91906128d5565b60405180910390f35b34801561067457600080fd5b5061068f600480360381019061068a919061335c565b611211565b005b34801561069d57600080fd5b506106b860048036038101906106b39190613389565b611223565b6040516106c59190612990565b60405180910390f35b3480156106da57600080fd5b506106f560048036038101906106f091906133c9565b6112b7565b005b34801561070357600080fd5b5061071e60048036038101906107199190613460565b61130a565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610790576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610787906134ff565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006107f38261138d565b9050919050565b610802611407565b61080b81611485565b50565b60606002805461081d9061354e565b80601f01602080910402602001604051908101604052809291908181526020018280546108499061354e565b80156108965780601f1061086b57610100808354040283529160200191610896565b820191906000526020600020905b81548152906001019060200180831161087957829003601f168201915b50505050509050919050565b600a5481565b6000806000600460008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610a3d5760036040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610a4761149f565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610a7391906135ae565b610a7d9190613637565b90508160000151819350935050509250929050565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ad057610acf336114a9565b5b610add86868686866115a6565b505050505050565b610aed611407565b610b11610af8611647565b600954836040518060200160405280600081525061164f565b80600c600060095481526020019081526020016000206000828254610b369190613668565b9250508190555050565b610b48611407565b738f14068bf2003b75e06f268e7d70184e5fbb597273ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610ba2573d6000803e3d6000fd5b50565b6daaeb6d7670e522a718067333cd4e81565b60608151835114610bfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf490613730565b60405180910390fd5b6000835167ffffffffffffffff811115610c1a57610c196129c6565b5b604051908082528060200260200182016040528015610c485781602001602082028036833780820191505090505b50905060005b8451811015610cc557610c95858281518110610c6d57610c6c613750565b5b6020026020010151858381518110610c8857610c87613750565b5b6020026020010151610720565b828281518110610ca857610ca7613750565b5b60200260200101818152505080610cbe9061377f565b9050610c4e565b508091505092915050565b600b60009054906101000a900460ff16610d1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1690613813565b60405180910390fd5b6008548211158015610d315750600082115b610d70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d67906138a5565b60405180910390fd5b81600654610d7e91906135ae565b341015610dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db790613911565b60405180910390fd5b610dc9816117ff565b8015610e265750600d6000610ddc611647565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15610e9a57600182610e389190613668565b91506001600d6000610e48611647565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b600754600c600060095481526020019081526020016000205483610ebe9190613668565b1115610eff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef6906139a3565b60405180910390fd5b610f23610f0a611647565b600954846040518060200160405280600081525061164f565b81600c600060095481526020019081526020016000206000828254610f489190613668565b925050819055505050565b610f5b611407565b8060078190555050565b610f6d611407565b610f776000611840565b565b60085481565b600c6020528060005260406000206000915090505481565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60095481565b600b60009054906101000a900460ff16611016576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100d90613813565b60405180910390fd5b60085481111580156110285750600081115b611067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105e906138a5565b60405180910390fd5b8060065461107591906135ae565b3410156110b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ae90613911565b60405180910390fd5b600754600c6000600954815260200190815260200160002054826110db9190613668565b111561111c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611113906139a3565b60405180910390fd5b611140611127611647565b600954836040518060200160405280600081525061164f565b80600c6000600954815260200190815260200160002060008282546111659190613668565b9250508190555050565b81611179816114a9565b6111838383611906565b505050565b60065481565b611196611407565b8060088190555050565b6111a8611407565b8060068190555050565b6111ba611407565b8060098190555050565b600b60009054906101000a900460ff1681565b6111df611407565b600b60009054906101000a900460ff1615600b60006101000a81548160ff021916908315150217905550565b60075481565b611219611407565b80600a8190555050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146112f5576112f4336114a9565b5b611302868686868661191c565b505050505050565b611312611407565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611381576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137890613a35565b60405180910390fd5b61138a81611840565b50565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061140057506113ff826119bd565b5b9050919050565b61140f611647565b73ffffffffffffffffffffffffffffffffffffffff1661142d610f97565b73ffffffffffffffffffffffffffffffffffffffff1614611483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147a90613aa1565b60405180910390fd5b565b806002908051906020019061149b92919061273b565b5050565b6000612710905090565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156115a3576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611520929190613ac1565b602060405180830381865afa15801561153d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115619190613aff565b6115a257806040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161159991906132d5565b60405180910390fd5b5b50565b6115ae611647565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806115f457506115f3856115ee611647565b611223565b5b611633576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162a90613b9e565b60405180910390fd5b6116408585858585611a9f565b5050505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036116be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b590613c30565b60405180910390fd5b60006116c8611647565b905060006116d585611dc0565b905060006116e285611dc0565b90506116f383600089858589611e3a565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117529190613668565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516117d0929190613c50565b60405180910390a46117e783600089858589611e42565b6117f683600089898989611e4a565b50505050505050565b600080336040516020016118139190613cc1565b60405160208183030381529060405280519060200120905061183883600a5483612021565b915050919050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611918611911611647565b8383612038565b5050565b611924611647565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061196a575061196985611964611647565b611223565b5b6119a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a090613b9e565b60405180910390fd5b6119b685858585856121a4565b5050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611a8857507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611a985750611a978261243f565b5b9050919050565b8151835114611ae3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ada90613d4e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611b52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4990613de0565b60405180910390fd5b6000611b5c611647565b9050611b6c818787878787611e3a565b60005b8451811015611d1d576000858281518110611b8d57611b8c613750565b5b602002602001015190506000858381518110611bac57611bab613750565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611c4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4490613e72565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d029190613668565b9250508190555050505080611d169061377f565b9050611b6f565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611d94929190613e92565b60405180910390a4611daa818787878787611e42565b611db88187878787876124a9565b505050505050565b60606000600167ffffffffffffffff811115611ddf57611dde6129c6565b5b604051908082528060200260200182016040528015611e0d5781602001602082028036833780820191505090505b5090508281600081518110611e2557611e24613750565b5b60200260200101818152505080915050919050565b505050505050565b505050505050565b611e698473ffffffffffffffffffffffffffffffffffffffff16612680565b15612019578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611eaf959493929190613f1e565b6020604051808303816000875af1925050508015611eeb57506040513d601f19601f82011682018060405250810190611ee89190613f8d565b60015b611f9057611ef7613fc7565b806308c379a003611f535750611f0b613fe9565b80611f165750611f55565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4a9190612bef565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f87906140eb565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612017576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200e9061417d565b60405180910390fd5b505b505050505050565b60008261202e85846126a3565b1490509392505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036120a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209d9061420f565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121979190612990565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612213576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220a90613de0565b60405180910390fd5b600061221d611647565b9050600061222a85611dc0565b9050600061223785611dc0565b9050612247838989858589611e3a565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050858110156122de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d590613e72565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123939190613668565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612410929190613c50565b60405180910390a4612426848a8a86868a611e42565b612434848a8a8a8a8a611e4a565b505050505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6124c88473ffffffffffffffffffffffffffffffffffffffff16612680565b15612678578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161250e95949392919061422f565b6020604051808303816000875af192505050801561254a57506040513d601f19601f820116820180604052508101906125479190613f8d565b60015b6125ef57612556613fc7565b806308c379a0036125b2575061256a613fe9565b8061257557506125b4565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a99190612bef565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e6906140eb565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612676576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266d9061417d565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008082905060005b84518110156126ee576126d9828683815181106126cc576126cb613750565b5b60200260200101516126f9565b915080806126e69061377f565b9150506126ac565b508091505092915050565b60008183106127115761270c8284612724565b61271c565b61271b8383612724565b5b905092915050565b600082600052816020526040600020905092915050565b8280546127479061354e565b90600052602060002090601f01602090048101928261276957600085556127b0565b82601f1061278257805160ff19168380011785556127b0565b828001600101855582156127b0579182015b828111156127af578251825591602001919060010190612794565b5b5090506127bd91906127c1565b5090565b5b808211156127da5760008160009055506001016127c2565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061281d826127f2565b9050919050565b61282d81612812565b811461283857600080fd5b50565b60008135905061284a81612824565b92915050565b6000819050919050565b61286381612850565b811461286e57600080fd5b50565b6000813590506128808161285a565b92915050565b6000806040838503121561289d5761289c6127e8565b5b60006128ab8582860161283b565b92505060206128bc85828601612871565b9150509250929050565b6128cf81612850565b82525050565b60006020820190506128ea60008301846128c6565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612925816128f0565b811461293057600080fd5b50565b6000813590506129428161291c565b92915050565b60006020828403121561295e5761295d6127e8565b5b600061296c84828501612933565b91505092915050565b60008115159050919050565b61298a81612975565b82525050565b60006020820190506129a56000830184612981565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6129fe826129b5565b810181811067ffffffffffffffff82111715612a1d57612a1c6129c6565b5b80604052505050565b6000612a306127de565b9050612a3c82826129f5565b919050565b600067ffffffffffffffff821115612a5c57612a5b6129c6565b5b612a65826129b5565b9050602081019050919050565b82818337600083830152505050565b6000612a94612a8f84612a41565b612a26565b905082815260208101848484011115612ab057612aaf6129b0565b5b612abb848285612a72565b509392505050565b600082601f830112612ad857612ad76129ab565b5b8135612ae8848260208601612a81565b91505092915050565b600060208284031215612b0757612b066127e8565b5b600082013567ffffffffffffffff811115612b2557612b246127ed565b5b612b3184828501612ac3565b91505092915050565b600060208284031215612b5057612b4f6127e8565b5b6000612b5e84828501612871565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612ba1578082015181840152602081019050612b86565b83811115612bb0576000848401525b50505050565b6000612bc182612b67565b612bcb8185612b72565b9350612bdb818560208601612b83565b612be4816129b5565b840191505092915050565b60006020820190508181036000830152612c098184612bb6565b905092915050565b6000819050919050565b612c2481612c11565b82525050565b6000602082019050612c3f6000830184612c1b565b92915050565b60008060408385031215612c5c57612c5b6127e8565b5b6000612c6a85828601612871565b9250506020612c7b85828601612871565b9150509250929050565b612c8e81612812565b82525050565b6000604082019050612ca96000830185612c85565b612cb660208301846128c6565b9392505050565b600067ffffffffffffffff821115612cd857612cd76129c6565b5b602082029050602081019050919050565b600080fd5b6000612d01612cfc84612cbd565b612a26565b90508083825260208201905060208402830185811115612d2457612d23612ce9565b5b835b81811015612d4d5780612d398882612871565b845260208401935050602081019050612d26565b5050509392505050565b600082601f830112612d6c57612d6b6129ab565b5b8135612d7c848260208601612cee565b91505092915050565b600067ffffffffffffffff821115612da057612d9f6129c6565b5b612da9826129b5565b9050602081019050919050565b6000612dc9612dc484612d85565b612a26565b905082815260208101848484011115612de557612de46129b0565b5b612df0848285612a72565b509392505050565b600082601f830112612e0d57612e0c6129ab565b5b8135612e1d848260208601612db6565b91505092915050565b600080600080600060a08688031215612e4257612e416127e8565b5b6000612e508882890161283b565b9550506020612e618882890161283b565b945050604086013567ffffffffffffffff811115612e8257612e816127ed565b5b612e8e88828901612d57565b935050606086013567ffffffffffffffff811115612eaf57612eae6127ed565b5b612ebb88828901612d57565b925050608086013567ffffffffffffffff811115612edc57612edb6127ed565b5b612ee888828901612df8565b9150509295509295909350565b6000819050919050565b6000612f1a612f15612f10846127f2565b612ef5565b6127f2565b9050919050565b6000612f2c82612eff565b9050919050565b6000612f3e82612f21565b9050919050565b612f4e81612f33565b82525050565b6000602082019050612f696000830184612f45565b92915050565b600067ffffffffffffffff821115612f8a57612f896129c6565b5b602082029050602081019050919050565b6000612fae612fa984612f6f565b612a26565b90508083825260208201905060208402830185811115612fd157612fd0612ce9565b5b835b81811015612ffa5780612fe6888261283b565b845260208401935050602081019050612fd3565b5050509392505050565b600082601f830112613019576130186129ab565b5b8135613029848260208601612f9b565b91505092915050565b60008060408385031215613049576130486127e8565b5b600083013567ffffffffffffffff811115613067576130666127ed565b5b61307385828601613004565b925050602083013567ffffffffffffffff811115613094576130936127ed565b5b6130a085828601612d57565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6130df81612850565b82525050565b60006130f183836130d6565b60208301905092915050565b6000602082019050919050565b6000613115826130aa565b61311f81856130b5565b935061312a836130c6565b8060005b8381101561315b57815161314288826130e5565b975061314d836130fd565b92505060018101905061312e565b5085935050505092915050565b60006020820190508181036000830152613182818461310a565b905092915050565b600067ffffffffffffffff8211156131a5576131a46129c6565b5b602082029050602081019050919050565b6131bf81612c11565b81146131ca57600080fd5b50565b6000813590506131dc816131b6565b92915050565b60006131f56131f08461318a565b612a26565b9050808382526020820190506020840283018581111561321857613217612ce9565b5b835b81811015613241578061322d88826131cd565b84526020840193505060208101905061321a565b5050509392505050565b600082601f8301126132605761325f6129ab565b5b81356132708482602086016131e2565b91505092915050565b600080604083850312156132905761328f6127e8565b5b600061329e85828601612871565b925050602083013567ffffffffffffffff8111156132bf576132be6127ed565b5b6132cb8582860161324b565b9150509250929050565b60006020820190506132ea6000830184612c85565b92915050565b6132f981612975565b811461330457600080fd5b50565b600081359050613316816132f0565b92915050565b60008060408385031215613333576133326127e8565b5b60006133418582860161283b565b925050602061335285828601613307565b9150509250929050565b600060208284031215613372576133716127e8565b5b6000613380848285016131cd565b91505092915050565b600080604083850312156133a05761339f6127e8565b5b60006133ae8582860161283b565b92505060206133bf8582860161283b565b9150509250929050565b600080600080600060a086880312156133e5576133e46127e8565b5b60006133f38882890161283b565b95505060206134048882890161283b565b945050604061341588828901612871565b935050606061342688828901612871565b925050608086013567ffffffffffffffff811115613447576134466127ed565b5b61345388828901612df8565b9150509295509295909350565b600060208284031215613476576134756127e8565b5b60006134848482850161283b565b91505092915050565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b60006134e9602a83612b72565b91506134f48261348d565b604082019050919050565b60006020820190508181036000830152613518816134dc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061356657607f821691505b6020821081036135795761357861351f565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006135b982612850565b91506135c483612850565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156135fd576135fc61357f565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061364282612850565b915061364d83612850565b92508261365d5761365c613608565b5b828204905092915050565b600061367382612850565b915061367e83612850565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136b3576136b261357f565b5b828201905092915050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b600061371a602983612b72565b9150613725826136be565b604082019050919050565b600060208201905081810360008301526137498161370d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061378a82612850565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036137bc576137bb61357f565b5b600182019050919050565b7f73746f726520636c6f7365640000000000000000000000000000000000000000600082015250565b60006137fd600c83612b72565b9150613808826137c7565b602082019050919050565b6000602082019050818103600083015261382c816137f0565b9050919050565b7f5452414e53414354494f4e3a20717479206f66206d696e7473206e6f7420616c60008201527f6f77656400000000000000000000000000000000000000000000000000000000602082015250565b600061388f602483612b72565b915061389a82613833565b604082019050919050565b600060208201905081810360008301526138be81613882565b9050919050565b7f5041594d454e543a20696e76616c69642076616c756500000000000000000000600082015250565b60006138fb601683612b72565b9150613906826138c5565b602082019050919050565b6000602082019050818103600083015261392a816138ee565b9050919050565b7f535550504c593a2056616c7565206578636565647320746f74616c537570706c60008201527f7900000000000000000000000000000000000000000000000000000000000000602082015250565b600061398d602183612b72565b915061399882613931565b604082019050919050565b600060208201905081810360008301526139bc81613980565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613a1f602683612b72565b9150613a2a826139c3565b604082019050919050565b60006020820190508181036000830152613a4e81613a12565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613a8b602083612b72565b9150613a9682613a55565b602082019050919050565b60006020820190508181036000830152613aba81613a7e565b9050919050565b6000604082019050613ad66000830185612c85565b613ae36020830184612c85565b9392505050565b600081519050613af9816132f0565b92915050565b600060208284031215613b1557613b146127e8565b5b6000613b2384828501613aea565b91505092915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613b88602e83612b72565b9150613b9382613b2c565b604082019050919050565b60006020820190508181036000830152613bb781613b7b565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c1a602183612b72565b9150613c2582613bbe565b604082019050919050565b60006020820190508181036000830152613c4981613c0d565b9050919050565b6000604082019050613c6560008301856128c6565b613c7260208301846128c6565b9392505050565b60008160601b9050919050565b6000613c9182613c79565b9050919050565b6000613ca382613c86565b9050919050565b613cbb613cb682612812565b613c98565b82525050565b6000613ccd8284613caa565b60148201915081905092915050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613d38602883612b72565b9150613d4382613cdc565b604082019050919050565b60006020820190508181036000830152613d6781613d2b565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613dca602583612b72565b9150613dd582613d6e565b604082019050919050565b60006020820190508181036000830152613df981613dbd565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613e5c602a83612b72565b9150613e6782613e00565b604082019050919050565b60006020820190508181036000830152613e8b81613e4f565b9050919050565b60006040820190508181036000830152613eac818561310a565b90508181036020830152613ec0818461310a565b90509392505050565b600081519050919050565b600082825260208201905092915050565b6000613ef082613ec9565b613efa8185613ed4565b9350613f0a818560208601612b83565b613f13816129b5565b840191505092915050565b600060a082019050613f336000830188612c85565b613f406020830187612c85565b613f4d60408301866128c6565b613f5a60608301856128c6565b8181036080830152613f6c8184613ee5565b90509695505050505050565b600081519050613f878161291c565b92915050565b600060208284031215613fa357613fa26127e8565b5b6000613fb184828501613f78565b91505092915050565b60008160e01c9050919050565b600060033d1115613fe65760046000803e613fe3600051613fba565b90505b90565b600060443d1061407657613ffb6127de565b60043d036004823e80513d602482011167ffffffffffffffff82111715614023575050614076565b808201805167ffffffffffffffff8111156140415750505050614076565b80602083010160043d03850181111561405e575050505050614076565b61406d826020018501866129f5565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006140d5603483612b72565b91506140e082614079565b604082019050919050565b60006020820190508181036000830152614104816140c8565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614167602883612b72565b91506141728261410b565b604082019050919050565b600060208201905081810360008301526141968161415a565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006141f9602983612b72565b91506142048261419d565b604082019050919050565b60006020820190508181036000830152614228816141ec565b9050919050565b600060a0820190506142446000830188612c85565b6142516020830187612c85565b8181036040830152614263818661310a565b90508181036060830152614277818561310a565b9050818103608083015261428b8184613ee5565b9050969550505050505056fea2646970667358221220c5d24237c76ff0244cc7228aecbe314dfe39c0c3a4fc1b8edad11e701da6bbdc64736f6c634300080d0033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002d68747470733a2f2f6d657461672d6261636b656e642e6865726f6b756170702e636f6d2f7468656e657875732f00000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _URI (string): https://metag-backend.herokuapp.com/thenexus/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000002d
Arg [2] : 68747470733a2f2f6d657461672d6261636b656e642e6865726f6b756170702e
Arg [3] : 636f6d2f7468656e657875732f00000000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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