ETH Price: $3,802.17 (+5.22%)

Bored Bits Chemistry Club (BBCC)
 

Overview

TokenID

0

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
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:
BoredBitsChemistryClub

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : BoredBitsChemistryClub.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.6;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract BoredBitsChemistryClub is ERC1155, Ownable {
    using Strings for uint256;

    bool public mintOpen = false;
    
    address private mutationContract;
    string private baseURI;

    bytes32 public m1MerkleRoot;
    bytes32 public m2MerkleRoot;
    bytes32 public megaMerkleRoot;

    mapping(uint256 => bool) public validSerumTypes;
    mapping(uint256 => uint256) public maxSerums;
    mapping(address => mapping(uint => bool)) private claimed;
    mapping(uint => uint) public assetNonce;

    string public name = "Bored Bits Chemistry Club";
    string public symbol = "BBCC";

    modifier notClaimed(uint idx){
        require(!claimed[msg.sender][idx],"You cannot claim this again");
        _;
    }

    modifier opened(){
        require(mintOpen, "mint is closed");
        _;
    }

    constructor(string memory _baseURI) ERC1155(_baseURI) {
        baseURI = _baseURI;
        validSerumTypes[0] = true;
        validSerumTypes[1] = true;
        validSerumTypes[69] = true;
        maxSerums[0] = 7500;
        maxSerums[1] = 2492;
        maxSerums[69] = 8;
    }

    function setM1MerkleRoot(bytes32 root) external onlyOwner {
        m1MerkleRoot = root;
    }

    function setM2MerkleRoot(bytes32 root) external onlyOwner {
        m2MerkleRoot = root;
    }

    function setMegaMerkleRoot(bytes32 root) external onlyOwner {
        megaMerkleRoot = root;
    }

    function toggleMint() external onlyOwner {
        mintOpen = !mintOpen;
    }

    function claimM1(uint qty, bytes32[] memory proof) external opened notClaimed(0) {
        require(MerkleProof.verify(proof, m1MerkleRoot, keccak256(abi.encodePacked(msg.sender, qty))), "Invalid proof");
        require(assetNonce[0] + qty <= maxSerums[0], "Total exceeded");
        claimed[msg.sender][0] = true;
        assetNonce[0] += qty;
        _mint(msg.sender, 0, qty, "");
    }

    function claimM2(uint qty, bytes32[] memory proof) external opened notClaimed(1) {
        require(MerkleProof.verify(proof, m2MerkleRoot, keccak256(abi.encodePacked(msg.sender, qty))), "Invalid proof");
        require(assetNonce[1] + qty <= maxSerums[1], "Total exceeded");
        claimed[msg.sender][1] = true;
        assetNonce[1] += qty;
        _mint(msg.sender, 1, qty, "");
    }

    function claimMega(uint qty, bytes32[] memory proof) external opened notClaimed(69) {
        require(MerkleProof.verify(proof, megaMerkleRoot, keccak256(abi.encodePacked(msg.sender, qty))), "Invalid proof");
        require(assetNonce[69] + qty <= maxSerums[69], "Total exceeded");
        claimed[msg.sender][69] = true;
        assetNonce[69] += qty;
        _mint(msg.sender, 69, qty, "");
    }

    function mintBatch(uint256[] memory ids, uint256[] memory amounts)
        external
        onlyOwner
    {
        _mintBatch(owner(), ids, amounts, "");
    }

    function setMutationContractAddress(address mutationContractAddress)
        external
        onlyOwner
    {
        mutationContract = mutationContractAddress;
    }

    function burnSerumForAddress(uint256 typeId, address burnTokenAddress)
        external
    {
        require(msg.sender == mutationContract, "Invalid burner address");
        _burn(burnTokenAddress, typeId, 1);
    }

    function updateBaseUri(string memory _baseURI) external onlyOwner {
        baseURI = _baseURI;
    }

    function uri(uint256 typeId)
        public
        view                
        override
        returns (string memory)
    {
        require(
            validSerumTypes[typeId],
            "URI requested for invalid serum type"
        );
        return
            bytes(baseURI).length > 0
                ? string(abi.encodePacked(baseURI, typeId.toString()))
                : baseURI;
    }
}

File 2 of 12 : 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 3 of 12 : 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 4 of 12 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 12 : 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 9 of 12 : 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 10 of 12 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 be 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 11 of 12 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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: balance query for the zero address");
        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 owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * 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`
     *
     * 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}.
     *
     * 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 a {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 `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 _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 12 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

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

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

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

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

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":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"assetNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"typeId","type":"uint256"},{"internalType":"address","name":"burnTokenAddress","type":"address"}],"name":"burnSerumForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claimM1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claimM2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claimMega","outputs":[],"stateMutability":"nonpayable","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":"m1MerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"m2MerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"maxSerums","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"megaMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setM1MerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setM2MerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setMegaMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"mutationContractAddress","type":"address"}],"name":"setMutationContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"updateBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"typeId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"validSerumTypes","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60806040526000600360146101000a81548160ff0219169083151502179055506040518060400160405280601981526020017f426f7265642042697473204368656d697374727920436c756200000000000000815250600d90805190602001906200006c92919062000300565b506040518060400160405280600481526020017f4242434300000000000000000000000000000000000000000000000000000000815250600e9080519060200190620000ba92919062000300565b50348015620000c857600080fd5b5060405162005544380380620055448339818101604052810190620000ee91906200042e565b8062000100816200021660201b60201c565b5062000121620001156200023260201b60201c565b6200023a60201b60201c565b80600590805190602001906200013992919062000300565b5060016009600080815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600960006001815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600960006045815260200190815260200160002060006101000a81548160ff021916908315150217905550611d4c600a6000808152602001908152602001600020819055506109bc600a600060018152602001908152602001600020819055506008600a600060458152602001908152602001600020819055505062000603565b80600290805190602001906200022e92919062000300565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200030e9062000514565b90600052602060002090601f0160209004810192826200033257600085556200037e565b82601f106200034d57805160ff19168380011785556200037e565b828001600101855582156200037e579182015b828111156200037d57825182559160200191906001019062000360565b5b5090506200038d919062000391565b5090565b5b80821115620003ac57600081600090555060010162000392565b5090565b6000620003c7620003c184620004a8565b6200047f565b905082815260208101848484011115620003e657620003e5620005e3565b5b620003f3848285620004de565b509392505050565b600082601f830112620004135762000412620005de565b5b815162000425848260208601620003b0565b91505092915050565b600060208284031215620004475762000446620005ed565b5b600082015167ffffffffffffffff811115620004685762000467620005e8565b5b6200047684828501620003fb565b91505092915050565b60006200048b6200049e565b90506200049982826200054a565b919050565b6000604051905090565b600067ffffffffffffffff821115620004c657620004c5620005af565b5b620004d182620005f2565b9050602081019050919050565b60005b83811015620004fe578082015181840152602081019050620004e1565b838111156200050e576000848401525b50505050565b600060028204905060018216806200052d57607f821691505b6020821081141562000544576200054362000580565b5b50919050565b6200055582620005f2565b810181811067ffffffffffffffff82111715620005775762000576620005af565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b614f3180620006136000396000f3fe608060405234801561001057600080fd5b50600436106101e45760003560e01c80636d46fd0b1161010f578063cc9e8df5116100a2578063e951f85111610071578063e951f85114610553578063e985e9c51461056f578063f242432a1461059f578063f2fde38b146105bb576101e4565b8063cc9e8df5146104f3578063d351cfdc1461050f578063d3dd5fe01461052b578063d946d9ac14610535576101e4565b806395d89b41116100de57806395d89b411461046d5780639fe7c5dc1461048b578063a22cb465146104a7578063aa267b73146104c3576101e4565b80636d46fd0b1461040d57806370ff9ea314610429578063715018a6146104455780638da5cb5b1461044f576101e4565b806324bbd0491161018757806339f7e37f1161015657806339f7e37f146103855780634723b223146103a15780634e1273f4146103bf57806363bb55a3146103ef576101e4565b806324bbd049146102eb5780632eb2c2d614610309578063311e74e01461032557806335d0b6fc14610355576101e4565b80630e89341c116101c35780630e89341c146102675780631be31064146102975780631f5bfd11146102b3578063224028b1146102cf576101e4565b8062fdd58e146101e957806301ffc9a71461021957806306fdde0314610249575b600080fd5b61020360048036038101906101fe919061366d565b6105d7565b60405161021091906142a4565b60405180910390f35b610233600480360381019061022e91906137ca565b6106a0565b6040516102409190613fac565b60405180910390f35b610251610782565b60405161025e9190613fe2565b60405180910390f35b610281600480360381019061027c919061386d565b610810565b60405161028e9190613fe2565b60405180910390f35b6102b160048036038101906102ac919061379d565b61094b565b005b6102cd60048036038101906102c8919061345a565b6109d1565b005b6102e960048036038101906102e491906138da565b610a91565b005b6102f3610d20565b6040516103009190613fac565b60405180910390f35b610323600480360381019061031e91906134c7565b610d33565b005b61033f600480360381019061033a919061386d565b610dd4565b60405161034c91906142a4565b60405180910390f35b61036f600480360381019061036a919061386d565b610dec565b60405161037c91906142a4565b60405180910390f35b61039f600480360381019061039a9190613824565b610e04565b005b6103a9610e9a565b6040516103b69190613fc7565b60405180910390f35b6103d960048036038101906103d491906136ad565b610ea0565b6040516103e69190613f53565b60405180910390f35b6103f7610fb9565b6040516104049190613fc7565b60405180910390f35b610427600480360381019061042291906138da565b610fbf565b005b610443600480360381019061043e919061389a565b61124a565b005b61044d6112ea565b005b610457611372565b6040516104649190613e76565b60405180910390f35b61047561139c565b6040516104829190613fe2565b60405180910390f35b6104a560048036038101906104a0919061379d565b61142a565b005b6104c160048036038101906104bc919061362d565b6114b0565b005b6104dd60048036038101906104d8919061386d565b6114c6565b6040516104ea9190613fac565b60405180910390f35b61050d6004803603810190610508919061379d565b6114e6565b005b61052960048036038101906105249190613725565b61156c565b005b61053361160e565b005b61053d6116b6565b60405161054a9190613fc7565b60405180910390f35b61056d600480360381019061056891906138da565b6116bc565b005b61058960048036038101906105849190613487565b61194b565b6040516105969190613fac565b60405180910390f35b6105b960048036038101906105b49190613596565b6119df565b005b6105d560048036038101906105d0919061345a565b611a80565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063f90614064565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061076b57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061077b575061077a82611b78565b5b9050919050565b600d805461078f906145ff565b80601f01602080910402602001604051908101604052809291908181526020018280546107bb906145ff565b80156108085780601f106107dd57610100808354040283529160200191610808565b820191906000526020600020905b8154815290600101906020018083116107eb57829003601f168201915b505050505081565b60606009600083815260200190815260200160002060009054906101000a900460ff16610872576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086990614044565b60405180910390fd5b600060058054610881906145ff565b9050116109185760058054610895906145ff565b80601f01602080910402602001604051908101604052809291908181526020018280546108c1906145ff565b801561090e5780601f106108e35761010080835404028352916020019161090e565b820191906000526020600020905b8154815290600101906020018083116108f157829003601f168201915b5050505050610944565b600561092383611be2565b604051602001610934929190613e52565b6040516020818303038152906040525b9050919050565b610953611d43565b73ffffffffffffffffffffffffffffffffffffffff16610971611372565b73ffffffffffffffffffffffffffffffffffffffff16146109c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109be906141a4565b60405180910390fd5b8060088190555050565b6109d9611d43565b73ffffffffffffffffffffffffffffffffffffffff166109f7611372565b73ffffffffffffffffffffffffffffffffffffffff1614610a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a44906141a4565b60405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600360149054906101000a900460ff16610ae0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad7906141c4565b60405180910390fd5b6001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082815260200190815260200160002060009054906101000a900460ff1615610b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7790614184565b60405180910390fd5b610bb5826007543386604051602001610b9a929190613e26565b60405160208183030381529060405280519060200120611d4b565b610bf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610beb906141e4565b60405180910390fd5b600a6000600181526020019081526020016000205483600c60006001815260200190815260200160002054610c299190614484565b1115610c6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c61906140a4565b60405180910390fd5b6001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001815260200190815260200160002060006101000a81548160ff02191690831515021790555082600c6000600181526020019081526020016000206000828254610cf89190614484565b92505081905550610d1b3360018560405180602001604052806000815250611d62565b505050565b600360149054906101000a900460ff1681565b610d3b611d43565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610d815750610d8085610d7b611d43565b61194b565b5b610dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db790614124565b60405180910390fd5b610dcd8585858585611f13565b5050505050565b600a6020528060005260406000206000915090505481565b600c6020528060005260406000206000915090505481565b610e0c611d43565b73ffffffffffffffffffffffffffffffffffffffff16610e2a611372565b73ffffffffffffffffffffffffffffffffffffffff1614610e80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e77906141a4565b60405180910390fd5b8060059080519060200190610e9692919061307f565b5050565b60065481565b60608151835114610ee6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edd90614224565b60405180910390fd5b6000835167ffffffffffffffff811115610f0357610f026147c6565b5b604051908082528060200260200182016040528015610f315781602001602082028036833780820191505090505b50905060005b8451811015610fae57610f7e858281518110610f5657610f55614797565b5b6020026020010151858381518110610f7157610f70614797565b5b60200260200101516105d7565b828281518110610f9157610f90614797565b5b60200260200101818152505080610fa790614662565b9050610f37565b508091505092915050565b60075481565b600360149054906101000a900460ff1661100e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611005906141c4565b60405180910390fd5b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082815260200190815260200160002060009054906101000a900460ff16156110ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a590614184565b60405180910390fd5b6110e38260065433866040516020016110c8929190613e26565b60405160208183030381529060405280519060200120611d4b565b611122576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611119906141e4565b60405180910390fd5b600a60008081526020019081526020016000205483600c6000808152602001908152602001600020546111559190614484565b1115611196576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118d906140a4565b60405180910390fd5b6001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080815260200190815260200160002060006101000a81548160ff02191690831515021790555082600c600080815260200190815260200160002060008282546112229190614484565b925050819055506112453360008560405180602001604052806000815250611d62565b505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d190614244565b60405180910390fd5b6112e681836001612235565b5050565b6112f2611d43565b73ffffffffffffffffffffffffffffffffffffffff16611310611372565b73ffffffffffffffffffffffffffffffffffffffff1614611366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135d906141a4565b60405180910390fd5b611370600061247c565b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e80546113a9906145ff565b80601f01602080910402602001604051908101604052809291908181526020018280546113d5906145ff565b80156114225780601f106113f757610100808354040283529160200191611422565b820191906000526020600020905b81548152906001019060200180831161140557829003601f168201915b505050505081565b611432611d43565b73ffffffffffffffffffffffffffffffffffffffff16611450611372565b73ffffffffffffffffffffffffffffffffffffffff16146114a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149d906141a4565b60405180910390fd5b8060068190555050565b6114c26114bb611d43565b8383612542565b5050565b60096020528060005260406000206000915054906101000a900460ff1681565b6114ee611d43565b73ffffffffffffffffffffffffffffffffffffffff1661150c611372565b73ffffffffffffffffffffffffffffffffffffffff1614611562576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611559906141a4565b60405180910390fd5b8060078190555050565b611574611d43565b73ffffffffffffffffffffffffffffffffffffffff16611592611372565b73ffffffffffffffffffffffffffffffffffffffff16146115e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115df906141a4565b60405180910390fd5b61160a6115f3611372565b8383604051806020016040528060008152506126af565b5050565b611616611d43565b73ffffffffffffffffffffffffffffffffffffffff16611634611372565b73ffffffffffffffffffffffffffffffffffffffff161461168a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611681906141a4565b60405180910390fd5b600360149054906101000a900460ff1615600360146101000a81548160ff021916908315150217905550565b60085481565b600360149054906101000a900460ff1661170b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611702906141c4565b60405180910390fd5b6045600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082815260200190815260200160002060009054906101000a900460ff16156117ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a290614184565b60405180910390fd5b6117e08260085433866040516020016117c5929190613e26565b60405160208183030381529060405280519060200120611d4b565b61181f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611816906141e4565b60405180910390fd5b600a6000604581526020019081526020016000205483600c600060458152602001908152602001600020546118549190614484565b1115611895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188c906140a4565b60405180910390fd5b6001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006045815260200190815260200160002060006101000a81548160ff02191690831515021790555082600c60006045815260200190815260200160002060008282546119239190614484565b925050819055506119463360458560405180602001604052806000815250611d62565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6119e7611d43565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611a2d5750611a2c85611a27611d43565b61194b565b5b611a6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a63906140e4565b60405180910390fd5b611a7985858585856128dc565b5050505050565b611a88611d43565b73ffffffffffffffffffffffffffffffffffffffff16611aa6611372565b73ffffffffffffffffffffffffffffffffffffffff1614611afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af3906141a4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6390614084565b60405180910390fd5b611b758161247c565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000821415611c2a576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611d3e565b600082905060005b60008214611c5c578080611c4590614662565b915050600a82611c5591906144da565b9150611c32565b60008167ffffffffffffffff811115611c7857611c776147c6565b5b6040519080825280601f01601f191660200182016040528015611caa5781602001600182028036833780820191505090505b5090505b60008514611d3757600182611cc3919061450b565b9150600a85611cd291906146d9565b6030611cde9190614484565b60f81b818381518110611cf457611cf3614797565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611d3091906144da565b9450611cae565b8093505050505b919050565b600033905090565b600082611d588584612b78565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc990614284565b60405180910390fd5b6000611ddc611d43565b90506000611de985612bed565b90506000611df685612bed565b9050611e0783600089858589612c67565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e669190614484565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611ee49291906142bf565b60405180910390a4611efb83600089858589612c6f565b611f0a83600089898989612c77565b50505050505050565b8151835114611f57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4e90614264565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611fc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbe90614104565b60405180910390fd5b6000611fd1611d43565b9050611fe1818787878787612c67565b60005b845181101561219257600085828151811061200257612001614797565b5b60200260200101519050600085838151811061202157612020614797565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156120c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b990614164565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121779190614484565b925050819055505050508061218b90614662565b9050611fe4565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612209929190613f75565b60405180910390a461221f818787878787612c6f565b61222d818787878787612e5e565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229c90614144565b60405180910390fd5b60006122af611d43565b905060006122bc84612bed565b905060006122c984612bed565b90506122e983876000858560405180602001604052806000815250612c67565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015612380576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612377906140c4565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62898960405161244d9291906142bf565b60405180910390a461247384886000868660405180602001604052806000815250612c6f565b50505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a890614204565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126a29190613fac565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561271f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271690614284565b60405180910390fd5b8151835114612763576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275a90614264565b60405180910390fd5b600061276d611d43565b905061277e81600087878787612c67565b60005b84518110156128375783818151811061279d5761279c614797565b5b60200260200101516000808784815181106127bb576127ba614797565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461281d9190614484565b92505081905550808061282f90614662565b915050612781565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516128af929190613f75565b60405180910390a46128c681600087878787612c6f565b6128d581600087878787612e5e565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561294c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294390614104565b60405180910390fd5b6000612956611d43565b9050600061296385612bed565b9050600061297085612bed565b9050612980838989858589612c67565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0e90614164565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612acc9190614484565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612b499291906142bf565b60405180910390a4612b5f848a8a86868a612c6f565b612b6d848a8a8a8a8a612c77565b505050505050505050565b60008082905060005b8451811015612be2576000858281518110612b9f57612b9e614797565b5b60200260200101519050808311612bc157612bba8382613045565b9250612bce565b612bcb8184613045565b92505b508080612bda90614662565b915050612b81565b508091505092915050565b60606000600167ffffffffffffffff811115612c0c57612c0b6147c6565b5b604051908082528060200260200182016040528015612c3a5781602001602082028036833780820191505090505b5090508281600081518110612c5257612c51614797565b5b60200260200101818152505080915050919050565b505050505050565b505050505050565b612c968473ffffffffffffffffffffffffffffffffffffffff1661305c565b15612e56578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612cdc959493929190613ef9565b602060405180830381600087803b158015612cf657600080fd5b505af1925050508015612d2757506040513d601f19601f82011682018060405250810190612d2491906137f7565b60015b612dcd57612d336147f5565b806308c379a01415612d905750612d48614df2565b80612d535750612d92565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d879190613fe2565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dc490614004565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612e54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4b90614024565b60405180910390fd5b505b505050505050565b612e7d8473ffffffffffffffffffffffffffffffffffffffff1661305c565b1561303d578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612ec3959493929190613e91565b602060405180830381600087803b158015612edd57600080fd5b505af1925050508015612f0e57506040513d601f19601f82011682018060405250810190612f0b91906137f7565b60015b612fb457612f1a6147f5565b806308c379a01415612f775750612f2f614df2565b80612f3a5750612f79565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6e9190613fe2565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fab90614004565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461303b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303290614024565b60405180910390fd5b505b505050505050565b600082600052816020526040600020905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461308b906145ff565b90600052602060002090601f0160209004810192826130ad57600085556130f4565b82601f106130c657805160ff19168380011785556130f4565b828001600101855582156130f4579182015b828111156130f35782518255916020019190600101906130d8565b5b5090506131019190613105565b5090565b5b8082111561311e576000816000905550600101613106565b5090565b60006131356131308461430d565b6142e8565b905080838252602082019050828560208602820111156131585761315761481c565b5b60005b85811015613188578161316e88826132f6565b84526020840193506020830192505060018101905061315b565b5050509392505050565b60006131a56131a084614339565b6142e8565b905080838252602082019050828560208602820111156131c8576131c761481c565b5b60005b858110156131f857816131de88826133aa565b8452602084019350602083019250506001810190506131cb565b5050509392505050565b600061321561321084614365565b6142e8565b905080838252602082019050828560208602820111156132385761323761481c565b5b60005b85811015613268578161324e8882613445565b84526020840193506020830192505060018101905061323b565b5050509392505050565b600061328561328084614391565b6142e8565b9050828152602081018484840111156132a1576132a0614821565b5b6132ac8482856145bd565b509392505050565b60006132c76132c2846143c2565b6142e8565b9050828152602081018484840111156132e3576132e2614821565b5b6132ee8482856145bd565b509392505050565b60008135905061330581614e88565b92915050565b600082601f8301126133205761331f614817565b5b8135613330848260208601613122565b91505092915050565b600082601f83011261334e5761334d614817565b5b813561335e848260208601613192565b91505092915050565b600082601f83011261337c5761337b614817565b5b813561338c848260208601613202565b91505092915050565b6000813590506133a481614e9f565b92915050565b6000813590506133b981614eb6565b92915050565b6000813590506133ce81614ecd565b92915050565b6000815190506133e381614ecd565b92915050565b600082601f8301126133fe576133fd614817565b5b813561340e848260208601613272565b91505092915050565b600082601f83011261342c5761342b614817565b5b813561343c8482602086016132b4565b91505092915050565b60008135905061345481614ee4565b92915050565b6000602082840312156134705761346f61482b565b5b600061347e848285016132f6565b91505092915050565b6000806040838503121561349e5761349d61482b565b5b60006134ac858286016132f6565b92505060206134bd858286016132f6565b9150509250929050565b600080600080600060a086880312156134e3576134e261482b565b5b60006134f1888289016132f6565b9550506020613502888289016132f6565b945050604086013567ffffffffffffffff81111561352357613522614826565b5b61352f88828901613367565b935050606086013567ffffffffffffffff8111156135505761354f614826565b5b61355c88828901613367565b925050608086013567ffffffffffffffff81111561357d5761357c614826565b5b613589888289016133e9565b9150509295509295909350565b600080600080600060a086880312156135b2576135b161482b565b5b60006135c0888289016132f6565b95505060206135d1888289016132f6565b94505060406135e288828901613445565b93505060606135f388828901613445565b925050608086013567ffffffffffffffff81111561361457613613614826565b5b613620888289016133e9565b9150509295509295909350565b600080604083850312156136445761364361482b565b5b6000613652858286016132f6565b925050602061366385828601613395565b9150509250929050565b600080604083850312156136845761368361482b565b5b6000613692858286016132f6565b92505060206136a385828601613445565b9150509250929050565b600080604083850312156136c4576136c361482b565b5b600083013567ffffffffffffffff8111156136e2576136e1614826565b5b6136ee8582860161330b565b925050602083013567ffffffffffffffff81111561370f5761370e614826565b5b61371b85828601613367565b9150509250929050565b6000806040838503121561373c5761373b61482b565b5b600083013567ffffffffffffffff81111561375a57613759614826565b5b61376685828601613367565b925050602083013567ffffffffffffffff81111561378757613786614826565b5b61379385828601613367565b9150509250929050565b6000602082840312156137b3576137b261482b565b5b60006137c1848285016133aa565b91505092915050565b6000602082840312156137e0576137df61482b565b5b60006137ee848285016133bf565b91505092915050565b60006020828403121561380d5761380c61482b565b5b600061381b848285016133d4565b91505092915050565b60006020828403121561383a5761383961482b565b5b600082013567ffffffffffffffff81111561385857613857614826565b5b61386484828501613417565b91505092915050565b6000602082840312156138835761388261482b565b5b600061389184828501613445565b91505092915050565b600080604083850312156138b1576138b061482b565b5b60006138bf85828601613445565b92505060206138d0858286016132f6565b9150509250929050565b600080604083850312156138f1576138f061482b565b5b60006138ff85828601613445565b925050602083013567ffffffffffffffff8111156139205761391f614826565b5b61392c85828601613339565b9150509250929050565b60006139428383613df1565b60208301905092915050565b6139578161453f565b82525050565b61396e6139698261453f565b6146ab565b82525050565b600061397f82614418565b6139898185614446565b9350613994836143f3565b8060005b838110156139c55781516139ac8882613936565b97506139b783614439565b925050600181019050613998565b5085935050505092915050565b6139db81614551565b82525050565b6139ea8161455d565b82525050565b60006139fb82614423565b613a058185614457565b9350613a158185602086016145cc565b613a1e81614830565b840191505092915050565b6000613a348261442e565b613a3e8185614468565b9350613a4e8185602086016145cc565b613a5781614830565b840191505092915050565b6000613a6d8261442e565b613a778185614479565b9350613a878185602086016145cc565b80840191505092915050565b60008154613aa0816145ff565b613aaa8186614479565b94506001821660008114613ac55760018114613ad657613b09565b60ff19831686528186019350613b09565b613adf85614403565b60005b83811015613b0157815481890152600182019150602081019050613ae2565b838801955050505b50505092915050565b6000613b1f603483614468565b9150613b2a8261485b565b604082019050919050565b6000613b42602883614468565b9150613b4d826148aa565b604082019050919050565b6000613b65602483614468565b9150613b70826148f9565b604082019050919050565b6000613b88602b83614468565b9150613b9382614948565b604082019050919050565b6000613bab602683614468565b9150613bb682614997565b604082019050919050565b6000613bce600e83614468565b9150613bd9826149e6565b602082019050919050565b6000613bf1602483614468565b9150613bfc82614a0f565b604082019050919050565b6000613c14602983614468565b9150613c1f82614a5e565b604082019050919050565b6000613c37602583614468565b9150613c4282614aad565b604082019050919050565b6000613c5a603283614468565b9150613c6582614afc565b604082019050919050565b6000613c7d602383614468565b9150613c8882614b4b565b604082019050919050565b6000613ca0602a83614468565b9150613cab82614b9a565b604082019050919050565b6000613cc3601b83614468565b9150613cce82614be9565b602082019050919050565b6000613ce6602083614468565b9150613cf182614c12565b602082019050919050565b6000613d09600e83614468565b9150613d1482614c3b565b602082019050919050565b6000613d2c600d83614468565b9150613d3782614c64565b602082019050919050565b6000613d4f602983614468565b9150613d5a82614c8d565b604082019050919050565b6000613d72602983614468565b9150613d7d82614cdc565b604082019050919050565b6000613d95601683614468565b9150613da082614d2b565b602082019050919050565b6000613db8602883614468565b9150613dc382614d54565b604082019050919050565b6000613ddb602183614468565b9150613de682614da3565b604082019050919050565b613dfa816145b3565b82525050565b613e09816145b3565b82525050565b613e20613e1b826145b3565b6146cf565b82525050565b6000613e32828561395d565b601482019150613e428284613e0f565b6020820191508190509392505050565b6000613e5e8285613a93565b9150613e6a8284613a62565b91508190509392505050565b6000602082019050613e8b600083018461394e565b92915050565b600060a082019050613ea6600083018861394e565b613eb3602083018761394e565b8181036040830152613ec58186613974565b90508181036060830152613ed98185613974565b90508181036080830152613eed81846139f0565b90509695505050505050565b600060a082019050613f0e600083018861394e565b613f1b602083018761394e565b613f286040830186613e00565b613f356060830185613e00565b8181036080830152613f4781846139f0565b90509695505050505050565b60006020820190508181036000830152613f6d8184613974565b905092915050565b60006040820190508181036000830152613f8f8185613974565b90508181036020830152613fa38184613974565b90509392505050565b6000602082019050613fc160008301846139d2565b92915050565b6000602082019050613fdc60008301846139e1565b92915050565b60006020820190508181036000830152613ffc8184613a29565b905092915050565b6000602082019050818103600083015261401d81613b12565b9050919050565b6000602082019050818103600083015261403d81613b35565b9050919050565b6000602082019050818103600083015261405d81613b58565b9050919050565b6000602082019050818103600083015261407d81613b7b565b9050919050565b6000602082019050818103600083015261409d81613b9e565b9050919050565b600060208201905081810360008301526140bd81613bc1565b9050919050565b600060208201905081810360008301526140dd81613be4565b9050919050565b600060208201905081810360008301526140fd81613c07565b9050919050565b6000602082019050818103600083015261411d81613c2a565b9050919050565b6000602082019050818103600083015261413d81613c4d565b9050919050565b6000602082019050818103600083015261415d81613c70565b9050919050565b6000602082019050818103600083015261417d81613c93565b9050919050565b6000602082019050818103600083015261419d81613cb6565b9050919050565b600060208201905081810360008301526141bd81613cd9565b9050919050565b600060208201905081810360008301526141dd81613cfc565b9050919050565b600060208201905081810360008301526141fd81613d1f565b9050919050565b6000602082019050818103600083015261421d81613d42565b9050919050565b6000602082019050818103600083015261423d81613d65565b9050919050565b6000602082019050818103600083015261425d81613d88565b9050919050565b6000602082019050818103600083015261427d81613dab565b9050919050565b6000602082019050818103600083015261429d81613dce565b9050919050565b60006020820190506142b96000830184613e00565b92915050565b60006040820190506142d46000830185613e00565b6142e16020830184613e00565b9392505050565b60006142f2614303565b90506142fe8282614631565b919050565b6000604051905090565b600067ffffffffffffffff821115614328576143276147c6565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614354576143536147c6565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156143805761437f6147c6565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156143ac576143ab6147c6565b5b6143b582614830565b9050602081019050919050565b600067ffffffffffffffff8211156143dd576143dc6147c6565b5b6143e682614830565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061448f826145b3565b915061449a836145b3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156144cf576144ce61470a565b5b828201905092915050565b60006144e5826145b3565b91506144f0836145b3565b925082614500576144ff614739565b5b828204905092915050565b6000614516826145b3565b9150614521836145b3565b9250828210156145345761453361470a565b5b828203905092915050565b600061454a82614593565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156145ea5780820151818401526020810190506145cf565b838111156145f9576000848401525b50505050565b6000600282049050600182168061461757607f821691505b6020821081141561462b5761462a614768565b5b50919050565b61463a82614830565b810181811067ffffffffffffffff82111715614659576146586147c6565b5b80604052505050565b600061466d826145b3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156146a05761469f61470a565b5b600182019050919050565b60006146b6826146bd565b9050919050565b60006146c882614841565b9050919050565b6000819050919050565b60006146e4826145b3565b91506146ef836145b3565b9250826146ff576146fe614739565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156148145760046000803e61481160005161484e565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f5552492072657175657374656420666f7220696e76616c696420736572756d2060008201527f7479706500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f546f74616c206578636565646564000000000000000000000000000000000000600082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f596f752063616e6e6f7420636c61696d207468697320616761696e0000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f6d696e7420697320636c6f736564000000000000000000000000000000000000600082015250565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f496e76616c6964206275726e6572206164647265737300000000000000000000600082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015614e0257614e85565b614e0a614303565b60043d036004823e80513d602482011167ffffffffffffffff82111715614e32575050614e85565b808201805167ffffffffffffffff811115614e505750505050614e85565b80602083010160043d038501811115614e6d575050505050614e85565b614e7c82602001850186614631565b82955050505050505b90565b614e918161453f565b8114614e9c57600080fd5b50565b614ea881614551565b8114614eb357600080fd5b50565b614ebf8161455d565b8114614eca57600080fd5b50565b614ed681614567565b8114614ee157600080fd5b50565b614eed816145b3565b8114614ef857600080fd5b5056fea264697066735822122015df414449caa858d0aa3c2417fae66c2a45f32a529a2e670417ba92b6b798e164736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101e45760003560e01c80636d46fd0b1161010f578063cc9e8df5116100a2578063e951f85111610071578063e951f85114610553578063e985e9c51461056f578063f242432a1461059f578063f2fde38b146105bb576101e4565b8063cc9e8df5146104f3578063d351cfdc1461050f578063d3dd5fe01461052b578063d946d9ac14610535576101e4565b806395d89b41116100de57806395d89b411461046d5780639fe7c5dc1461048b578063a22cb465146104a7578063aa267b73146104c3576101e4565b80636d46fd0b1461040d57806370ff9ea314610429578063715018a6146104455780638da5cb5b1461044f576101e4565b806324bbd0491161018757806339f7e37f1161015657806339f7e37f146103855780634723b223146103a15780634e1273f4146103bf57806363bb55a3146103ef576101e4565b806324bbd049146102eb5780632eb2c2d614610309578063311e74e01461032557806335d0b6fc14610355576101e4565b80630e89341c116101c35780630e89341c146102675780631be31064146102975780631f5bfd11146102b3578063224028b1146102cf576101e4565b8062fdd58e146101e957806301ffc9a71461021957806306fdde0314610249575b600080fd5b61020360048036038101906101fe919061366d565b6105d7565b60405161021091906142a4565b60405180910390f35b610233600480360381019061022e91906137ca565b6106a0565b6040516102409190613fac565b60405180910390f35b610251610782565b60405161025e9190613fe2565b60405180910390f35b610281600480360381019061027c919061386d565b610810565b60405161028e9190613fe2565b60405180910390f35b6102b160048036038101906102ac919061379d565b61094b565b005b6102cd60048036038101906102c8919061345a565b6109d1565b005b6102e960048036038101906102e491906138da565b610a91565b005b6102f3610d20565b6040516103009190613fac565b60405180910390f35b610323600480360381019061031e91906134c7565b610d33565b005b61033f600480360381019061033a919061386d565b610dd4565b60405161034c91906142a4565b60405180910390f35b61036f600480360381019061036a919061386d565b610dec565b60405161037c91906142a4565b60405180910390f35b61039f600480360381019061039a9190613824565b610e04565b005b6103a9610e9a565b6040516103b69190613fc7565b60405180910390f35b6103d960048036038101906103d491906136ad565b610ea0565b6040516103e69190613f53565b60405180910390f35b6103f7610fb9565b6040516104049190613fc7565b60405180910390f35b610427600480360381019061042291906138da565b610fbf565b005b610443600480360381019061043e919061389a565b61124a565b005b61044d6112ea565b005b610457611372565b6040516104649190613e76565b60405180910390f35b61047561139c565b6040516104829190613fe2565b60405180910390f35b6104a560048036038101906104a0919061379d565b61142a565b005b6104c160048036038101906104bc919061362d565b6114b0565b005b6104dd60048036038101906104d8919061386d565b6114c6565b6040516104ea9190613fac565b60405180910390f35b61050d6004803603810190610508919061379d565b6114e6565b005b61052960048036038101906105249190613725565b61156c565b005b61053361160e565b005b61053d6116b6565b60405161054a9190613fc7565b60405180910390f35b61056d600480360381019061056891906138da565b6116bc565b005b61058960048036038101906105849190613487565b61194b565b6040516105969190613fac565b60405180910390f35b6105b960048036038101906105b49190613596565b6119df565b005b6105d560048036038101906105d0919061345a565b611a80565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063f90614064565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061076b57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061077b575061077a82611b78565b5b9050919050565b600d805461078f906145ff565b80601f01602080910402602001604051908101604052809291908181526020018280546107bb906145ff565b80156108085780601f106107dd57610100808354040283529160200191610808565b820191906000526020600020905b8154815290600101906020018083116107eb57829003601f168201915b505050505081565b60606009600083815260200190815260200160002060009054906101000a900460ff16610872576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086990614044565b60405180910390fd5b600060058054610881906145ff565b9050116109185760058054610895906145ff565b80601f01602080910402602001604051908101604052809291908181526020018280546108c1906145ff565b801561090e5780601f106108e35761010080835404028352916020019161090e565b820191906000526020600020905b8154815290600101906020018083116108f157829003601f168201915b5050505050610944565b600561092383611be2565b604051602001610934929190613e52565b6040516020818303038152906040525b9050919050565b610953611d43565b73ffffffffffffffffffffffffffffffffffffffff16610971611372565b73ffffffffffffffffffffffffffffffffffffffff16146109c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109be906141a4565b60405180910390fd5b8060088190555050565b6109d9611d43565b73ffffffffffffffffffffffffffffffffffffffff166109f7611372565b73ffffffffffffffffffffffffffffffffffffffff1614610a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a44906141a4565b60405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600360149054906101000a900460ff16610ae0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad7906141c4565b60405180910390fd5b6001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082815260200190815260200160002060009054906101000a900460ff1615610b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7790614184565b60405180910390fd5b610bb5826007543386604051602001610b9a929190613e26565b60405160208183030381529060405280519060200120611d4b565b610bf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610beb906141e4565b60405180910390fd5b600a6000600181526020019081526020016000205483600c60006001815260200190815260200160002054610c299190614484565b1115610c6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c61906140a4565b60405180910390fd5b6001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001815260200190815260200160002060006101000a81548160ff02191690831515021790555082600c6000600181526020019081526020016000206000828254610cf89190614484565b92505081905550610d1b3360018560405180602001604052806000815250611d62565b505050565b600360149054906101000a900460ff1681565b610d3b611d43565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610d815750610d8085610d7b611d43565b61194b565b5b610dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db790614124565b60405180910390fd5b610dcd8585858585611f13565b5050505050565b600a6020528060005260406000206000915090505481565b600c6020528060005260406000206000915090505481565b610e0c611d43565b73ffffffffffffffffffffffffffffffffffffffff16610e2a611372565b73ffffffffffffffffffffffffffffffffffffffff1614610e80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e77906141a4565b60405180910390fd5b8060059080519060200190610e9692919061307f565b5050565b60065481565b60608151835114610ee6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edd90614224565b60405180910390fd5b6000835167ffffffffffffffff811115610f0357610f026147c6565b5b604051908082528060200260200182016040528015610f315781602001602082028036833780820191505090505b50905060005b8451811015610fae57610f7e858281518110610f5657610f55614797565b5b6020026020010151858381518110610f7157610f70614797565b5b60200260200101516105d7565b828281518110610f9157610f90614797565b5b60200260200101818152505080610fa790614662565b9050610f37565b508091505092915050565b60075481565b600360149054906101000a900460ff1661100e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611005906141c4565b60405180910390fd5b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082815260200190815260200160002060009054906101000a900460ff16156110ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a590614184565b60405180910390fd5b6110e38260065433866040516020016110c8929190613e26565b60405160208183030381529060405280519060200120611d4b565b611122576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611119906141e4565b60405180910390fd5b600a60008081526020019081526020016000205483600c6000808152602001908152602001600020546111559190614484565b1115611196576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118d906140a4565b60405180910390fd5b6001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080815260200190815260200160002060006101000a81548160ff02191690831515021790555082600c600080815260200190815260200160002060008282546112229190614484565b925050819055506112453360008560405180602001604052806000815250611d62565b505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d190614244565b60405180910390fd5b6112e681836001612235565b5050565b6112f2611d43565b73ffffffffffffffffffffffffffffffffffffffff16611310611372565b73ffffffffffffffffffffffffffffffffffffffff1614611366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135d906141a4565b60405180910390fd5b611370600061247c565b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e80546113a9906145ff565b80601f01602080910402602001604051908101604052809291908181526020018280546113d5906145ff565b80156114225780601f106113f757610100808354040283529160200191611422565b820191906000526020600020905b81548152906001019060200180831161140557829003601f168201915b505050505081565b611432611d43565b73ffffffffffffffffffffffffffffffffffffffff16611450611372565b73ffffffffffffffffffffffffffffffffffffffff16146114a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149d906141a4565b60405180910390fd5b8060068190555050565b6114c26114bb611d43565b8383612542565b5050565b60096020528060005260406000206000915054906101000a900460ff1681565b6114ee611d43565b73ffffffffffffffffffffffffffffffffffffffff1661150c611372565b73ffffffffffffffffffffffffffffffffffffffff1614611562576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611559906141a4565b60405180910390fd5b8060078190555050565b611574611d43565b73ffffffffffffffffffffffffffffffffffffffff16611592611372565b73ffffffffffffffffffffffffffffffffffffffff16146115e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115df906141a4565b60405180910390fd5b61160a6115f3611372565b8383604051806020016040528060008152506126af565b5050565b611616611d43565b73ffffffffffffffffffffffffffffffffffffffff16611634611372565b73ffffffffffffffffffffffffffffffffffffffff161461168a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611681906141a4565b60405180910390fd5b600360149054906101000a900460ff1615600360146101000a81548160ff021916908315150217905550565b60085481565b600360149054906101000a900460ff1661170b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611702906141c4565b60405180910390fd5b6045600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082815260200190815260200160002060009054906101000a900460ff16156117ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a290614184565b60405180910390fd5b6117e08260085433866040516020016117c5929190613e26565b60405160208183030381529060405280519060200120611d4b565b61181f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611816906141e4565b60405180910390fd5b600a6000604581526020019081526020016000205483600c600060458152602001908152602001600020546118549190614484565b1115611895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188c906140a4565b60405180910390fd5b6001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006045815260200190815260200160002060006101000a81548160ff02191690831515021790555082600c60006045815260200190815260200160002060008282546119239190614484565b925050819055506119463360458560405180602001604052806000815250611d62565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6119e7611d43565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611a2d5750611a2c85611a27611d43565b61194b565b5b611a6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a63906140e4565b60405180910390fd5b611a7985858585856128dc565b5050505050565b611a88611d43565b73ffffffffffffffffffffffffffffffffffffffff16611aa6611372565b73ffffffffffffffffffffffffffffffffffffffff1614611afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af3906141a4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6390614084565b60405180910390fd5b611b758161247c565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000821415611c2a576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611d3e565b600082905060005b60008214611c5c578080611c4590614662565b915050600a82611c5591906144da565b9150611c32565b60008167ffffffffffffffff811115611c7857611c776147c6565b5b6040519080825280601f01601f191660200182016040528015611caa5781602001600182028036833780820191505090505b5090505b60008514611d3757600182611cc3919061450b565b9150600a85611cd291906146d9565b6030611cde9190614484565b60f81b818381518110611cf457611cf3614797565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611d3091906144da565b9450611cae565b8093505050505b919050565b600033905090565b600082611d588584612b78565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc990614284565b60405180910390fd5b6000611ddc611d43565b90506000611de985612bed565b90506000611df685612bed565b9050611e0783600089858589612c67565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e669190614484565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611ee49291906142bf565b60405180910390a4611efb83600089858589612c6f565b611f0a83600089898989612c77565b50505050505050565b8151835114611f57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4e90614264565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611fc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbe90614104565b60405180910390fd5b6000611fd1611d43565b9050611fe1818787878787612c67565b60005b845181101561219257600085828151811061200257612001614797565b5b60200260200101519050600085838151811061202157612020614797565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156120c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b990614164565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121779190614484565b925050819055505050508061218b90614662565b9050611fe4565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612209929190613f75565b60405180910390a461221f818787878787612c6f565b61222d818787878787612e5e565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229c90614144565b60405180910390fd5b60006122af611d43565b905060006122bc84612bed565b905060006122c984612bed565b90506122e983876000858560405180602001604052806000815250612c67565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015612380576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612377906140c4565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62898960405161244d9291906142bf565b60405180910390a461247384886000868660405180602001604052806000815250612c6f565b50505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a890614204565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126a29190613fac565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561271f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271690614284565b60405180910390fd5b8151835114612763576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275a90614264565b60405180910390fd5b600061276d611d43565b905061277e81600087878787612c67565b60005b84518110156128375783818151811061279d5761279c614797565b5b60200260200101516000808784815181106127bb576127ba614797565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461281d9190614484565b92505081905550808061282f90614662565b915050612781565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516128af929190613f75565b60405180910390a46128c681600087878787612c6f565b6128d581600087878787612e5e565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561294c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294390614104565b60405180910390fd5b6000612956611d43565b9050600061296385612bed565b9050600061297085612bed565b9050612980838989858589612c67565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0e90614164565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612acc9190614484565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612b499291906142bf565b60405180910390a4612b5f848a8a86868a612c6f565b612b6d848a8a8a8a8a612c77565b505050505050505050565b60008082905060005b8451811015612be2576000858281518110612b9f57612b9e614797565b5b60200260200101519050808311612bc157612bba8382613045565b9250612bce565b612bcb8184613045565b92505b508080612bda90614662565b915050612b81565b508091505092915050565b60606000600167ffffffffffffffff811115612c0c57612c0b6147c6565b5b604051908082528060200260200182016040528015612c3a5781602001602082028036833780820191505090505b5090508281600081518110612c5257612c51614797565b5b60200260200101818152505080915050919050565b505050505050565b505050505050565b612c968473ffffffffffffffffffffffffffffffffffffffff1661305c565b15612e56578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612cdc959493929190613ef9565b602060405180830381600087803b158015612cf657600080fd5b505af1925050508015612d2757506040513d601f19601f82011682018060405250810190612d2491906137f7565b60015b612dcd57612d336147f5565b806308c379a01415612d905750612d48614df2565b80612d535750612d92565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d879190613fe2565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dc490614004565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612e54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4b90614024565b60405180910390fd5b505b505050505050565b612e7d8473ffffffffffffffffffffffffffffffffffffffff1661305c565b1561303d578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612ec3959493929190613e91565b602060405180830381600087803b158015612edd57600080fd5b505af1925050508015612f0e57506040513d601f19601f82011682018060405250810190612f0b91906137f7565b60015b612fb457612f1a6147f5565b806308c379a01415612f775750612f2f614df2565b80612f3a5750612f79565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6e9190613fe2565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fab90614004565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461303b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303290614024565b60405180910390fd5b505b505050505050565b600082600052816020526040600020905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461308b906145ff565b90600052602060002090601f0160209004810192826130ad57600085556130f4565b82601f106130c657805160ff19168380011785556130f4565b828001600101855582156130f4579182015b828111156130f35782518255916020019190600101906130d8565b5b5090506131019190613105565b5090565b5b8082111561311e576000816000905550600101613106565b5090565b60006131356131308461430d565b6142e8565b905080838252602082019050828560208602820111156131585761315761481c565b5b60005b85811015613188578161316e88826132f6565b84526020840193506020830192505060018101905061315b565b5050509392505050565b60006131a56131a084614339565b6142e8565b905080838252602082019050828560208602820111156131c8576131c761481c565b5b60005b858110156131f857816131de88826133aa565b8452602084019350602083019250506001810190506131cb565b5050509392505050565b600061321561321084614365565b6142e8565b905080838252602082019050828560208602820111156132385761323761481c565b5b60005b85811015613268578161324e8882613445565b84526020840193506020830192505060018101905061323b565b5050509392505050565b600061328561328084614391565b6142e8565b9050828152602081018484840111156132a1576132a0614821565b5b6132ac8482856145bd565b509392505050565b60006132c76132c2846143c2565b6142e8565b9050828152602081018484840111156132e3576132e2614821565b5b6132ee8482856145bd565b509392505050565b60008135905061330581614e88565b92915050565b600082601f8301126133205761331f614817565b5b8135613330848260208601613122565b91505092915050565b600082601f83011261334e5761334d614817565b5b813561335e848260208601613192565b91505092915050565b600082601f83011261337c5761337b614817565b5b813561338c848260208601613202565b91505092915050565b6000813590506133a481614e9f565b92915050565b6000813590506133b981614eb6565b92915050565b6000813590506133ce81614ecd565b92915050565b6000815190506133e381614ecd565b92915050565b600082601f8301126133fe576133fd614817565b5b813561340e848260208601613272565b91505092915050565b600082601f83011261342c5761342b614817565b5b813561343c8482602086016132b4565b91505092915050565b60008135905061345481614ee4565b92915050565b6000602082840312156134705761346f61482b565b5b600061347e848285016132f6565b91505092915050565b6000806040838503121561349e5761349d61482b565b5b60006134ac858286016132f6565b92505060206134bd858286016132f6565b9150509250929050565b600080600080600060a086880312156134e3576134e261482b565b5b60006134f1888289016132f6565b9550506020613502888289016132f6565b945050604086013567ffffffffffffffff81111561352357613522614826565b5b61352f88828901613367565b935050606086013567ffffffffffffffff8111156135505761354f614826565b5b61355c88828901613367565b925050608086013567ffffffffffffffff81111561357d5761357c614826565b5b613589888289016133e9565b9150509295509295909350565b600080600080600060a086880312156135b2576135b161482b565b5b60006135c0888289016132f6565b95505060206135d1888289016132f6565b94505060406135e288828901613445565b93505060606135f388828901613445565b925050608086013567ffffffffffffffff81111561361457613613614826565b5b613620888289016133e9565b9150509295509295909350565b600080604083850312156136445761364361482b565b5b6000613652858286016132f6565b925050602061366385828601613395565b9150509250929050565b600080604083850312156136845761368361482b565b5b6000613692858286016132f6565b92505060206136a385828601613445565b9150509250929050565b600080604083850312156136c4576136c361482b565b5b600083013567ffffffffffffffff8111156136e2576136e1614826565b5b6136ee8582860161330b565b925050602083013567ffffffffffffffff81111561370f5761370e614826565b5b61371b85828601613367565b9150509250929050565b6000806040838503121561373c5761373b61482b565b5b600083013567ffffffffffffffff81111561375a57613759614826565b5b61376685828601613367565b925050602083013567ffffffffffffffff81111561378757613786614826565b5b61379385828601613367565b9150509250929050565b6000602082840312156137b3576137b261482b565b5b60006137c1848285016133aa565b91505092915050565b6000602082840312156137e0576137df61482b565b5b60006137ee848285016133bf565b91505092915050565b60006020828403121561380d5761380c61482b565b5b600061381b848285016133d4565b91505092915050565b60006020828403121561383a5761383961482b565b5b600082013567ffffffffffffffff81111561385857613857614826565b5b61386484828501613417565b91505092915050565b6000602082840312156138835761388261482b565b5b600061389184828501613445565b91505092915050565b600080604083850312156138b1576138b061482b565b5b60006138bf85828601613445565b92505060206138d0858286016132f6565b9150509250929050565b600080604083850312156138f1576138f061482b565b5b60006138ff85828601613445565b925050602083013567ffffffffffffffff8111156139205761391f614826565b5b61392c85828601613339565b9150509250929050565b60006139428383613df1565b60208301905092915050565b6139578161453f565b82525050565b61396e6139698261453f565b6146ab565b82525050565b600061397f82614418565b6139898185614446565b9350613994836143f3565b8060005b838110156139c55781516139ac8882613936565b97506139b783614439565b925050600181019050613998565b5085935050505092915050565b6139db81614551565b82525050565b6139ea8161455d565b82525050565b60006139fb82614423565b613a058185614457565b9350613a158185602086016145cc565b613a1e81614830565b840191505092915050565b6000613a348261442e565b613a3e8185614468565b9350613a4e8185602086016145cc565b613a5781614830565b840191505092915050565b6000613a6d8261442e565b613a778185614479565b9350613a878185602086016145cc565b80840191505092915050565b60008154613aa0816145ff565b613aaa8186614479565b94506001821660008114613ac55760018114613ad657613b09565b60ff19831686528186019350613b09565b613adf85614403565b60005b83811015613b0157815481890152600182019150602081019050613ae2565b838801955050505b50505092915050565b6000613b1f603483614468565b9150613b2a8261485b565b604082019050919050565b6000613b42602883614468565b9150613b4d826148aa565b604082019050919050565b6000613b65602483614468565b9150613b70826148f9565b604082019050919050565b6000613b88602b83614468565b9150613b9382614948565b604082019050919050565b6000613bab602683614468565b9150613bb682614997565b604082019050919050565b6000613bce600e83614468565b9150613bd9826149e6565b602082019050919050565b6000613bf1602483614468565b9150613bfc82614a0f565b604082019050919050565b6000613c14602983614468565b9150613c1f82614a5e565b604082019050919050565b6000613c37602583614468565b9150613c4282614aad565b604082019050919050565b6000613c5a603283614468565b9150613c6582614afc565b604082019050919050565b6000613c7d602383614468565b9150613c8882614b4b565b604082019050919050565b6000613ca0602a83614468565b9150613cab82614b9a565b604082019050919050565b6000613cc3601b83614468565b9150613cce82614be9565b602082019050919050565b6000613ce6602083614468565b9150613cf182614c12565b602082019050919050565b6000613d09600e83614468565b9150613d1482614c3b565b602082019050919050565b6000613d2c600d83614468565b9150613d3782614c64565b602082019050919050565b6000613d4f602983614468565b9150613d5a82614c8d565b604082019050919050565b6000613d72602983614468565b9150613d7d82614cdc565b604082019050919050565b6000613d95601683614468565b9150613da082614d2b565b602082019050919050565b6000613db8602883614468565b9150613dc382614d54565b604082019050919050565b6000613ddb602183614468565b9150613de682614da3565b604082019050919050565b613dfa816145b3565b82525050565b613e09816145b3565b82525050565b613e20613e1b826145b3565b6146cf565b82525050565b6000613e32828561395d565b601482019150613e428284613e0f565b6020820191508190509392505050565b6000613e5e8285613a93565b9150613e6a8284613a62565b91508190509392505050565b6000602082019050613e8b600083018461394e565b92915050565b600060a082019050613ea6600083018861394e565b613eb3602083018761394e565b8181036040830152613ec58186613974565b90508181036060830152613ed98185613974565b90508181036080830152613eed81846139f0565b90509695505050505050565b600060a082019050613f0e600083018861394e565b613f1b602083018761394e565b613f286040830186613e00565b613f356060830185613e00565b8181036080830152613f4781846139f0565b90509695505050505050565b60006020820190508181036000830152613f6d8184613974565b905092915050565b60006040820190508181036000830152613f8f8185613974565b90508181036020830152613fa38184613974565b90509392505050565b6000602082019050613fc160008301846139d2565b92915050565b6000602082019050613fdc60008301846139e1565b92915050565b60006020820190508181036000830152613ffc8184613a29565b905092915050565b6000602082019050818103600083015261401d81613b12565b9050919050565b6000602082019050818103600083015261403d81613b35565b9050919050565b6000602082019050818103600083015261405d81613b58565b9050919050565b6000602082019050818103600083015261407d81613b7b565b9050919050565b6000602082019050818103600083015261409d81613b9e565b9050919050565b600060208201905081810360008301526140bd81613bc1565b9050919050565b600060208201905081810360008301526140dd81613be4565b9050919050565b600060208201905081810360008301526140fd81613c07565b9050919050565b6000602082019050818103600083015261411d81613c2a565b9050919050565b6000602082019050818103600083015261413d81613c4d565b9050919050565b6000602082019050818103600083015261415d81613c70565b9050919050565b6000602082019050818103600083015261417d81613c93565b9050919050565b6000602082019050818103600083015261419d81613cb6565b9050919050565b600060208201905081810360008301526141bd81613cd9565b9050919050565b600060208201905081810360008301526141dd81613cfc565b9050919050565b600060208201905081810360008301526141fd81613d1f565b9050919050565b6000602082019050818103600083015261421d81613d42565b9050919050565b6000602082019050818103600083015261423d81613d65565b9050919050565b6000602082019050818103600083015261425d81613d88565b9050919050565b6000602082019050818103600083015261427d81613dab565b9050919050565b6000602082019050818103600083015261429d81613dce565b9050919050565b60006020820190506142b96000830184613e00565b92915050565b60006040820190506142d46000830185613e00565b6142e16020830184613e00565b9392505050565b60006142f2614303565b90506142fe8282614631565b919050565b6000604051905090565b600067ffffffffffffffff821115614328576143276147c6565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614354576143536147c6565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156143805761437f6147c6565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156143ac576143ab6147c6565b5b6143b582614830565b9050602081019050919050565b600067ffffffffffffffff8211156143dd576143dc6147c6565b5b6143e682614830565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061448f826145b3565b915061449a836145b3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156144cf576144ce61470a565b5b828201905092915050565b60006144e5826145b3565b91506144f0836145b3565b925082614500576144ff614739565b5b828204905092915050565b6000614516826145b3565b9150614521836145b3565b9250828210156145345761453361470a565b5b828203905092915050565b600061454a82614593565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156145ea5780820151818401526020810190506145cf565b838111156145f9576000848401525b50505050565b6000600282049050600182168061461757607f821691505b6020821081141561462b5761462a614768565b5b50919050565b61463a82614830565b810181811067ffffffffffffffff82111715614659576146586147c6565b5b80604052505050565b600061466d826145b3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156146a05761469f61470a565b5b600182019050919050565b60006146b6826146bd565b9050919050565b60006146c882614841565b9050919050565b6000819050919050565b60006146e4826145b3565b91506146ef836145b3565b9250826146ff576146fe614739565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156148145760046000803e61481160005161484e565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f5552492072657175657374656420666f7220696e76616c696420736572756d2060008201527f7479706500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f546f74616c206578636565646564000000000000000000000000000000000000600082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f596f752063616e6e6f7420636c61696d207468697320616761696e0000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f6d696e7420697320636c6f736564000000000000000000000000000000000000600082015250565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f496e76616c6964206275726e6572206164647265737300000000000000000000600082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015614e0257614e85565b614e0a614303565b60043d036004823e80513d602482011167ffffffffffffffff82111715614e32575050614e85565b808201805167ffffffffffffffff811115614e505750505050614e85565b80602083010160043d038501811115614e6d575050505050614e85565b614e7c82602001850186614631565b82955050505050505b90565b614e918161453f565b8114614e9c57600080fd5b50565b614ea881614551565b8114614eb357600080fd5b50565b614ebf8161455d565b8114614eca57600080fd5b50565b614ed681614567565b8114614ee157600080fd5b50565b614eed816145b3565b8114614ef857600080fd5b5056fea264697066735822122015df414449caa858d0aa3c2417fae66c2a45f32a529a2e670417ba92b6b798e164736f6c63430008070033

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

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _baseURI (string):

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ 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.