ETH Price: $3,295.59 (-3.62%)
Gas: 9 Gwei

Token

 

Overview

Max Total Supply

533

Holders

390

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

0x7cdbb8e309ce7c701ed200be123f16c6f7c9e525
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:
soupXmondrian

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : soupXmondrian.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "openzeppelin-solidity/contracts/token/ERC1155/ERC1155.sol";
import "openzeppelin-solidity/contracts/access/Ownable.sol";
import "openzeppelin-solidity/contracts/utils/math/SafeMath.sol";
import "openzeppelin-solidity/contracts/utils/cryptography/MerkleProof.sol";


// soupXmondrian commemorative drop for Patrn/Art101 hodlers.
// A snapshot of addresses holding our NFTs and the amounts they can claim
// will be gathered at a specific time. Distribution will be done via
// merkle tree proof to allow users to claim their tokens.
contract soupXmondrian is ERC1155, Ownable {
    using SafeMath for uint256;
    using MerkleProof for bytes32[];

    // Track indexes (users) which have claimed their tokens
    mapping(uint256 => uint256) private claimedBitMap;

    // Define starting contract state
    bytes32 merkleRoot;
    bool merkleSet = false;
    bool public mintingActive = false;
    string public baseURI = "ipfs://QmRTqBFtst7j1Yj63xDXDEmg43rethZ8dAAy4WDvwieqKo/{id}";

    constructor() ERC1155(baseURI) {}

    // Flip the minting from active or pause
    function toggleMinting() external onlyOwner {
        if (mintingActive) {
            mintingActive = false;
        } else {
            mintingActive = true;
        }
    }

    // Specify a new IPFS URI for metadata
    function setBaseURI (string memory newURI) external onlyOwner {
        baseURI = newURI;
        _setURI(baseURI);
    }

    // Specify a merkle root hash from the gathered k/v dictionary of
    // addresses and their claimable amount of tokens - thanks Kiwi!
    // https://github.com/0xKiwi/go-merkle-distributor
    function setMerkleRoot(bytes32 root) external onlyOwner {
        merkleRoot = root;
        merkleSet = true;
    }

    // Return bool on if merkle root hash is set
    function isMerkleSet() public view returns (bool) {
        return merkleSet;
    }

    // Check if an index has claimed tokens
    function isClaimed(uint256 index) public view returns (bool) {
        uint256 claimedWordIndex = index / 256;
        uint256 claimedBitIndex = index % 256;
        uint256 claimedWord = claimedBitMap[claimedWordIndex];
        uint256 mask = (1 << claimedBitIndex);
        return claimedWord & mask == mask;
    }

    // Store if an index has claimed their tokens
    function _setClaimed(uint256 index) private {
        uint256 claimedWordIndex = index / 256;
        uint256 claimedBitIndex = index % 256;
        claimedBitMap[claimedWordIndex] = claimedBitMap[claimedWordIndex] | (1 << claimedBitIndex);
    }

    // Mint and claim tokens
    function mintItem(uint256 index, address account, uint256 amount, bytes32[] calldata merkleProof) external {
        require(mintingActive, "Minting must be active");
        require(amount <= 2, "Max amount that can be claimed is 2");
        require(msg.sender == account, "Can only be claimed by the hodler");
        require(!isClaimed(index), "Drop already claimed");

        // Verify the merkle proof
        bytes32 node = keccak256(abi.encodePacked(index, account, amount));
        require(MerkleProof.verify(merkleProof, merkleRoot, node), "Invalid proof");

        // Mark it claimed and proceed with minting
        _setClaimed(index);

        // Mint tokens, ensuring uniques if multiple
        for(uint256 i = 0; i < amount; i++) {
            uint256 tokenId = ((block.number + i) % 3) + 1;
            _mint(msg.sender, tokenId, 1, "");
        }
    }

}

File 2 of 12 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 3 of 12 : IERC165.sol
// SPDX-License-Identifier: MIT

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 4 of 12 : ERC165.sol
// SPDX-License-Identifier: MIT

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 5 of 12 : MerkleProof.sol
// SPDX-License-Identifier: MIT

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.
 */
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) {
        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 = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

File 6 of 12 : Context.sol
// SPDX-License-Identifier: MIT

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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 7 of 12 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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

                // solhint-disable-next-line no-inline-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

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

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

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

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 {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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(to != address(0), "ERC1155: transfer to the zero address");
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

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

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

        _doSafeTransferAcceptanceCheck(operator, 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(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );

        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");
            _balances[id][from] = fromBalance - amount;
            _balances[id][to] += amount;
        }

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

        _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 `account`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(address account, uint256 id, uint256 amount, bytes memory data) internal virtual {
        require(account != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data);

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

        _doSafeTransferAcceptanceCheck(operator, address(0), account, 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 (uint i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

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

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

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

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        uint256 accountBalance = _balances[id][account];
        require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
        _balances[id][account] = accountBalance - amount;

        emit TransferSingle(operator, account, address(0), id, amount);
    }

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

        address operator = _msgSender();

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

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

            uint256 accountBalance = _balances[id][account];
            require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
            _balances[id][account] = accountBalance - amount;
        }

        emit TransferBatch(operator, account, address(0), ids, amounts);
    }

    /**
     * @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
    { }

    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(to).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(to).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

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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"isClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMerkleSet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintItem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"string","name":"newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setMerkleRoot","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":"toggleMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040526000600660006101000a81548160ff0219169083151502179055506000600660016101000a81548160ff0219169083151502179055506040518060600160405280603a815260200162003f2c603a9139600790805190602001906200006b929190620001fa565b503480156200007957600080fd5b50600780546200008990620002d9565b80601f0160208091040260200160405190810160405280929190818152602001828054620000b790620002d9565b8015620001085780601f10620000dc5761010080835404028352916020019162000108565b820191906000526020600020905b815481529060010190602001808311620000ea57829003601f168201915b50505050506200011e81620001d660201b60201c565b50600062000131620001f260201b60201c565b905080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506200030f565b8060029080519060200190620001ee929190620001fa565b5050565b600033905090565b8280546200020890620002d9565b90600052602060002090601f0160209004810192826200022c576000855562000278565b82601f106200024757805160ff191683800117855562000278565b8280016001018555821562000278579182015b82811115620002775782518255916020019190600101906200025a565b5b5090506200028791906200028b565b5090565b5b80821115620002a65760008160009055506001016200028c565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002f257607f821691505b60208210811415620003095762000308620002aa565b5b50919050565b613c0d806200031f6000396000f3fe608060405234801561001057600080fd5b50600436106101205760003560e01c80637cb64759116100ad578063b2e778bc11610071578063b2e778bc146102f3578063d91c25ab14610311578063e985e9c51461032d578063f242432a1461035d578063f2fde38b1461037957610120565b80637cb64759146102635780637d55094d1461027f5780638da5cb5b146102895780639e34070f146102a7578063a22cb465146102d757610120565b806331f9c919116100f457806331f9c919146101d15780634e1273f4146101ef57806355f804b31461021f5780636c0360eb1461023b578063715018a61461025957610120565b8062fdd58e1461012557806301ffc9a7146101555780630e89341c146101855780632eb2c2d6146101b5575b600080fd5b61013f600480360381019061013a91906121d9565b610395565b60405161014c9190612228565b60405180910390f35b61016f600480360381019061016a919061229b565b61045e565b60405161017c91906122e3565b60405180910390f35b61019f600480360381019061019a91906122fe565b610540565b6040516101ac91906123c4565b60405180910390f35b6101cf60048036038101906101ca91906125e3565b6105d4565b005b6101d961097e565b6040516101e691906122e3565b60405180910390f35b61020960048036038101906102049190612775565b610991565b60405161021691906128ab565b60405180910390f35b6102396004803603810190610234919061296e565b610aaa565b005b610243610bd3565b60405161025091906123c4565b60405180910390f35b610261610c61565b005b61027d600480360381019061027891906129ed565b610d9e565b005b610287610e3f565b005b610291610f0e565b60405161029e9190612a29565b60405180910390f35b6102c160048036038101906102bc91906122fe565b610f38565b6040516102ce91906122e3565b60405180910390f35b6102f160048036038101906102ec9190612a70565b610f8e565b005b6102fb61110f565b60405161030891906122e3565b60405180910390f35b61032b60048036038101906103269190612b0b565b611126565b005b61034760048036038101906103429190612b93565b6113a1565b60405161035491906122e3565b60405180910390f35b61037760048036038101906103729190612bd3565b611435565b005b610393600480360381019061038e9190612c6a565b61174d565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610406576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103fd90612d09565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061052957507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105395750610538826118f9565b5b9050919050565b60606002805461054f90612d58565b80601f016020809104026020016040519081016040528092919081815260200182805461057b90612d58565b80156105c85780601f1061059d576101008083540402835291602001916105c8565b820191906000526020600020905b8154815290600101906020018083116105ab57829003601f168201915b50505050509050919050565b8151835114610618576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060f90612dfc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610688576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067f90612e8e565b60405180910390fd5b610690611963565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806106d657506106d5856106d0611963565b6113a1565b5b610715576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070c90612f20565b60405180910390fd5b600061071f611963565b905061072f81878787878761196b565b60005b84518110156108e95760008582815181106107505761074f612f40565b5b60200260200101519050600085838151811061076f5761076e612f40565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610810576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080790612fe1565b60405180910390fd5b818161081c9190613030565b60008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546108ce9190613064565b92505081905550505050806108e2906130ba565b9050610732565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610960929190613103565b60405180910390a4610976818787878787611973565b505050505050565b600660019054906101000a900460ff1681565b606081518351146109d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ce906131ac565b60405180910390fd5b6000835167ffffffffffffffff8111156109f4576109f36123eb565b5b604051908082528060200260200182016040528015610a225781602001602082028036833780820191505090505b50905060005b8451811015610a9f57610a6f858281518110610a4757610a46612f40565b5b6020026020010151858381518110610a6257610a61612f40565b5b6020026020010151610395565b828281518110610a8257610a81612f40565b5b60200260200101818152505080610a98906130ba565b9050610a28565b508091505092915050565b610ab2611963565b73ffffffffffffffffffffffffffffffffffffffff16610ad0610f0e565b73ffffffffffffffffffffffffffffffffffffffff1614610b26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1d90613218565b60405180910390fd5b8060079080519060200190610b3c92919061208e565b50610bd060078054610b4d90612d58565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7990612d58565b8015610bc65780601f10610b9b57610100808354040283529160200191610bc6565b820191906000526020600020905b815481529060010190602001808311610ba957829003601f168201915b5050505050611b5a565b50565b60078054610be090612d58565b80601f0160208091040260200160405190810160405280929190818152602001828054610c0c90612d58565b8015610c595780601f10610c2e57610100808354040283529160200191610c59565b820191906000526020600020905b815481529060010190602001808311610c3c57829003601f168201915b505050505081565b610c69611963565b73ffffffffffffffffffffffffffffffffffffffff16610c87610f0e565b73ffffffffffffffffffffffffffffffffffffffff1614610cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd490613218565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b610da6611963565b73ffffffffffffffffffffffffffffffffffffffff16610dc4610f0e565b73ffffffffffffffffffffffffffffffffffffffff1614610e1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1190613218565b60405180910390fd5b806005819055506001600660006101000a81548160ff02191690831515021790555050565b610e47611963565b73ffffffffffffffffffffffffffffffffffffffff16610e65610f0e565b73ffffffffffffffffffffffffffffffffffffffff1614610ebb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb290613218565b60405180910390fd5b600660019054906101000a900460ff1615610ef0576000600660016101000a81548160ff021916908315150217905550610f0c565b6001600660016101000a81548160ff0219169083151502179055505b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008061010083610f499190613267565b9050600061010084610f5b9190613298565b90506000600460008481526020019081526020016000205490506000826001901b90508081831614945050505050919050565b8173ffffffffffffffffffffffffffffffffffffffff16610fad611963565b73ffffffffffffffffffffffffffffffffffffffff161415611004576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffb9061333b565b60405180910390fd5b8060016000611011611963565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166110be611963565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161110391906122e3565b60405180910390a35050565b6000600660009054906101000a900460ff16905090565b600660019054906101000a900460ff16611175576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116c906133a7565b60405180910390fd5b60028311156111b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b090613439565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611227576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121e906134cb565b60405180910390fd5b61123085610f38565b15611270576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126790613537565b60405180910390fd5b6000858585604051602001611287939291906135c0565b6040516020818303038152906040528051906020012090506112ed838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060055483611b74565b61132c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132390613649565b60405180910390fd5b61133586611c2a565b60005b848110156113985760006001600383436113529190613064565b61135c9190613298565b6113669190613064565b90506113843382600160405180602001604052806000815250611c84565b508080611390906130ba565b915050611338565b50505050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156114a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149c90612e8e565b60405180910390fd5b6114ad611963565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806114f357506114f2856114ed611963565b6113a1565b5b611532576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611529906136db565b60405180910390fd5b600061153c611963565b905061155c81878761154d88611e1a565b61155688611e1a565b8761196b565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838110156115f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ea90612fe1565b60405180910390fd5b83816115ff9190613030565b60008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116b19190613064565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161172e9291906136fb565b60405180910390a4611744828888888888611e94565b50505050505050565b611755611963565b73ffffffffffffffffffffffffffffffffffffffff16611773610f0e565b73ffffffffffffffffffffffffffffffffffffffff16146117c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c090613218565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611839576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183090613796565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b505050505050565b6119928473ffffffffffffffffffffffffffffffffffffffff1661207b565b15611b52578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016119d895949392919061380b565b602060405180830381600087803b1580156119f257600080fd5b505af1925050508015611a2357506040513d601f19601f82011682018060405250810190611a209190613888565b60015b611ac957611a2f6138c2565b806308c379a01415611a8c5750611a446138e4565b80611a4f5750611a8e565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8391906123c4565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac0906139ec565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611b50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4790613a7e565b60405180910390fd5b505b505050505050565b8060029080519060200190611b7092919061208e565b5050565b60008082905060005b8551811015611c1c576000868281518110611b9b57611b9a612f40565b5b60200260200101519050808311611bdc578281604051602001611bbf929190613abf565b604051602081830303815290604052805190602001209250611c08565b8083604051602001611bef929190613abf565b6040516020818303038152906040528051906020012092505b508080611c14906130ba565b915050611b7d565b508381149150509392505050565b600061010082611c3a9190613267565b9050600061010083611c4c9190613298565b9050806001901b6004600084815260200190815260200160002054176004600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ceb90613b5d565b60405180910390fd5b6000611cfe611963565b9050611d1f81600087611d1088611e1a565b611d1988611e1a565b8761196b565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d7e9190613064565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611dfc9291906136fb565b60405180910390a4611e1381600087878787611e94565b5050505050565b60606000600167ffffffffffffffff811115611e3957611e386123eb565b5b604051908082528060200260200182016040528015611e675781602001602082028036833780820191505090505b5090508281600081518110611e7f57611e7e612f40565b5b60200260200101818152505080915050919050565b611eb38473ffffffffffffffffffffffffffffffffffffffff1661207b565b15612073578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611ef9959493929190613b7d565b602060405180830381600087803b158015611f1357600080fd5b505af1925050508015611f4457506040513d601f19601f82011682018060405250810190611f419190613888565b60015b611fea57611f506138c2565b806308c379a01415611fad5750611f656138e4565b80611f705750611faf565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa491906123c4565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe1906139ec565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612071576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206890613a7e565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b82805461209a90612d58565b90600052602060002090601f0160209004810192826120bc5760008555612103565b82601f106120d557805160ff1916838001178555612103565b82800160010185558215612103579182015b828111156121025782518255916020019190600101906120e7565b5b5090506121109190612114565b5090565b5b8082111561212d576000816000905550600101612115565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061217082612145565b9050919050565b61218081612165565b811461218b57600080fd5b50565b60008135905061219d81612177565b92915050565b6000819050919050565b6121b6816121a3565b81146121c157600080fd5b50565b6000813590506121d3816121ad565b92915050565b600080604083850312156121f0576121ef61213b565b5b60006121fe8582860161218e565b925050602061220f858286016121c4565b9150509250929050565b612222816121a3565b82525050565b600060208201905061223d6000830184612219565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61227881612243565b811461228357600080fd5b50565b6000813590506122958161226f565b92915050565b6000602082840312156122b1576122b061213b565b5b60006122bf84828501612286565b91505092915050565b60008115159050919050565b6122dd816122c8565b82525050565b60006020820190506122f860008301846122d4565b92915050565b6000602082840312156123145761231361213b565b5b6000612322848285016121c4565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561236557808201518184015260208101905061234a565b83811115612374576000848401525b50505050565b6000601f19601f8301169050919050565b60006123968261232b565b6123a08185612336565b93506123b0818560208601612347565b6123b98161237a565b840191505092915050565b600060208201905081810360008301526123de818461238b565b905092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6124238261237a565b810181811067ffffffffffffffff82111715612442576124416123eb565b5b80604052505050565b6000612455612131565b9050612461828261241a565b919050565b600067ffffffffffffffff821115612481576124806123eb565b5b602082029050602081019050919050565b600080fd5b60006124aa6124a584612466565b61244b565b905080838252602082019050602084028301858111156124cd576124cc612492565b5b835b818110156124f657806124e288826121c4565b8452602084019350506020810190506124cf565b5050509392505050565b600082601f830112612515576125146123e6565b5b8135612525848260208601612497565b91505092915050565b600080fd5b600067ffffffffffffffff82111561254e5761254d6123eb565b5b6125578261237a565b9050602081019050919050565b82818337600083830152505050565b600061258661258184612533565b61244b565b9050828152602081018484840111156125a2576125a161252e565b5b6125ad848285612564565b509392505050565b600082601f8301126125ca576125c96123e6565b5b81356125da848260208601612573565b91505092915050565b600080600080600060a086880312156125ff576125fe61213b565b5b600061260d8882890161218e565b955050602061261e8882890161218e565b945050604086013567ffffffffffffffff81111561263f5761263e612140565b5b61264b88828901612500565b935050606086013567ffffffffffffffff81111561266c5761266b612140565b5b61267888828901612500565b925050608086013567ffffffffffffffff81111561269957612698612140565b5b6126a5888289016125b5565b9150509295509295909350565b600067ffffffffffffffff8211156126cd576126cc6123eb565b5b602082029050602081019050919050565b60006126f16126ec846126b2565b61244b565b9050808382526020820190506020840283018581111561271457612713612492565b5b835b8181101561273d5780612729888261218e565b845260208401935050602081019050612716565b5050509392505050565b600082601f83011261275c5761275b6123e6565b5b813561276c8482602086016126de565b91505092915050565b6000806040838503121561278c5761278b61213b565b5b600083013567ffffffffffffffff8111156127aa576127a9612140565b5b6127b685828601612747565b925050602083013567ffffffffffffffff8111156127d7576127d6612140565b5b6127e385828601612500565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612822816121a3565b82525050565b60006128348383612819565b60208301905092915050565b6000602082019050919050565b6000612858826127ed565b61286281856127f8565b935061286d83612809565b8060005b8381101561289e5781516128858882612828565b975061289083612840565b925050600181019050612871565b5085935050505092915050565b600060208201905081810360008301526128c5818461284d565b905092915050565b600067ffffffffffffffff8211156128e8576128e76123eb565b5b6128f18261237a565b9050602081019050919050565b600061291161290c846128cd565b61244b565b90508281526020810184848401111561292d5761292c61252e565b5b612938848285612564565b509392505050565b600082601f830112612955576129546123e6565b5b81356129658482602086016128fe565b91505092915050565b6000602082840312156129845761298361213b565b5b600082013567ffffffffffffffff8111156129a2576129a1612140565b5b6129ae84828501612940565b91505092915050565b6000819050919050565b6129ca816129b7565b81146129d557600080fd5b50565b6000813590506129e7816129c1565b92915050565b600060208284031215612a0357612a0261213b565b5b6000612a11848285016129d8565b91505092915050565b612a2381612165565b82525050565b6000602082019050612a3e6000830184612a1a565b92915050565b612a4d816122c8565b8114612a5857600080fd5b50565b600081359050612a6a81612a44565b92915050565b60008060408385031215612a8757612a8661213b565b5b6000612a958582860161218e565b9250506020612aa685828601612a5b565b9150509250929050565b600080fd5b60008083601f840112612acb57612aca6123e6565b5b8235905067ffffffffffffffff811115612ae857612ae7612ab0565b5b602083019150836020820283011115612b0457612b03612492565b5b9250929050565b600080600080600060808688031215612b2757612b2661213b565b5b6000612b35888289016121c4565b9550506020612b468882890161218e565b9450506040612b57888289016121c4565b935050606086013567ffffffffffffffff811115612b7857612b77612140565b5b612b8488828901612ab5565b92509250509295509295909350565b60008060408385031215612baa57612ba961213b565b5b6000612bb88582860161218e565b9250506020612bc98582860161218e565b9150509250929050565b600080600080600060a08688031215612bef57612bee61213b565b5b6000612bfd8882890161218e565b9550506020612c0e8882890161218e565b9450506040612c1f888289016121c4565b9350506060612c30888289016121c4565b925050608086013567ffffffffffffffff811115612c5157612c50612140565b5b612c5d888289016125b5565b9150509295509295909350565b600060208284031215612c8057612c7f61213b565b5b6000612c8e8482850161218e565b91505092915050565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000612cf3602b83612336565b9150612cfe82612c97565b604082019050919050565b60006020820190508181036000830152612d2281612ce6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612d7057607f821691505b60208210811415612d8457612d83612d29565b5b50919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000612de6602883612336565b9150612df182612d8a565b604082019050919050565b60006020820190508181036000830152612e1581612dd9565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000612e78602583612336565b9150612e8382612e1c565b604082019050919050565b60006020820190508181036000830152612ea781612e6b565b9050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000612f0a603283612336565b9150612f1582612eae565b604082019050919050565b60006020820190508181036000830152612f3981612efd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000612fcb602a83612336565b9150612fd682612f6f565b604082019050919050565b60006020820190508181036000830152612ffa81612fbe565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061303b826121a3565b9150613046836121a3565b92508282101561305957613058613001565b5b828203905092915050565b600061306f826121a3565b915061307a836121a3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156130af576130ae613001565b5b828201905092915050565b60006130c5826121a3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156130f8576130f7613001565b5b600182019050919050565b6000604082019050818103600083015261311d818561284d565b90508181036020830152613131818461284d565b90509392505050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613196602983612336565b91506131a18261313a565b604082019050919050565b600060208201905081810360008301526131c581613189565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613202602083612336565b915061320d826131cc565b602082019050919050565b60006020820190508181036000830152613231816131f5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613272826121a3565b915061327d836121a3565b92508261328d5761328c613238565b5b828204905092915050565b60006132a3826121a3565b91506132ae836121a3565b9250826132be576132bd613238565b5b828206905092915050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000613325602983612336565b9150613330826132c9565b604082019050919050565b6000602082019050818103600083015261335481613318565b9050919050565b7f4d696e74696e67206d7573742062652061637469766500000000000000000000600082015250565b6000613391601683612336565b915061339c8261335b565b602082019050919050565b600060208201905081810360008301526133c081613384565b9050919050565b7f4d617820616d6f756e7420746861742063616e20626520636c61696d6564206960008201527f7320320000000000000000000000000000000000000000000000000000000000602082015250565b6000613423602383612336565b915061342e826133c7565b604082019050919050565b6000602082019050818103600083015261345281613416565b9050919050565b7f43616e206f6e6c7920626520636c61696d65642062792074686520686f646c6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006134b5602183612336565b91506134c082613459565b604082019050919050565b600060208201905081810360008301526134e4816134a8565b9050919050565b7f44726f7020616c726561647920636c61696d6564000000000000000000000000600082015250565b6000613521601483612336565b915061352c826134eb565b602082019050919050565b6000602082019050818103600083015261355081613514565b9050919050565b6000819050919050565b61357261356d826121a3565b613557565b82525050565b60008160601b9050919050565b600061359082613578565b9050919050565b60006135a282613585565b9050919050565b6135ba6135b582612165565b613597565b82525050565b60006135cc8286613561565b6020820191506135dc82856135a9565b6014820191506135ec8284613561565b602082019150819050949350505050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b6000613633600d83612336565b915061363e826135fd565b602082019050919050565b6000602082019050818103600083015261366281613626565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b60006136c5602983612336565b91506136d082613669565b604082019050919050565b600060208201905081810360008301526136f4816136b8565b9050919050565b60006040820190506137106000830185612219565b61371d6020830184612219565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613780602683612336565b915061378b82613724565b604082019050919050565b600060208201905081810360008301526137af81613773565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006137dd826137b6565b6137e781856137c1565b93506137f7818560208601612347565b6138008161237a565b840191505092915050565b600060a0820190506138206000830188612a1a565b61382d6020830187612a1a565b818103604083015261383f818661284d565b90508181036060830152613853818561284d565b9050818103608083015261386781846137d2565b90509695505050505050565b6000815190506138828161226f565b92915050565b60006020828403121561389e5761389d61213b565b5b60006138ac84828501613873565b91505092915050565b60008160e01c9050919050565b600060033d11156138e15760046000803e6138de6000516138b5565b90505b90565b600060443d10156138f457613977565b6138fc612131565b60043d036004823e80513d602482011167ffffffffffffffff82111715613924575050613977565b808201805167ffffffffffffffff8111156139425750505050613977565b80602083010160043d03850181111561395f575050505050613977565b61396e8260200185018661241a565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006139d6603483612336565b91506139e18261397a565b604082019050919050565b60006020820190508181036000830152613a05816139c9565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000613a68602883612336565b9150613a7382613a0c565b604082019050919050565b60006020820190508181036000830152613a9781613a5b565b9050919050565b6000819050919050565b613ab9613ab4826129b7565b613a9e565b82525050565b6000613acb8285613aa8565b602082019150613adb8284613aa8565b6020820191508190509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613b47602183612336565b9150613b5282613aeb565b604082019050919050565b60006020820190508181036000830152613b7681613b3a565b9050919050565b600060a082019050613b926000830188612a1a565b613b9f6020830187612a1a565b613bac6040830186612219565b613bb96060830185612219565b8181036080830152613bcb81846137d2565b9050969550505050505056fea26469706673582212208f9513ec0de268b0389e7738d5f6ed17072b392187c3fa9b3e119bb69611f4ab64736f6c63430008090033697066733a2f2f516d5254714246747374376a31596a363378445844456d673433726574685a386441417934574476776965714b6f2f7b69647d

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101205760003560e01c80637cb64759116100ad578063b2e778bc11610071578063b2e778bc146102f3578063d91c25ab14610311578063e985e9c51461032d578063f242432a1461035d578063f2fde38b1461037957610120565b80637cb64759146102635780637d55094d1461027f5780638da5cb5b146102895780639e34070f146102a7578063a22cb465146102d757610120565b806331f9c919116100f457806331f9c919146101d15780634e1273f4146101ef57806355f804b31461021f5780636c0360eb1461023b578063715018a61461025957610120565b8062fdd58e1461012557806301ffc9a7146101555780630e89341c146101855780632eb2c2d6146101b5575b600080fd5b61013f600480360381019061013a91906121d9565b610395565b60405161014c9190612228565b60405180910390f35b61016f600480360381019061016a919061229b565b61045e565b60405161017c91906122e3565b60405180910390f35b61019f600480360381019061019a91906122fe565b610540565b6040516101ac91906123c4565b60405180910390f35b6101cf60048036038101906101ca91906125e3565b6105d4565b005b6101d961097e565b6040516101e691906122e3565b60405180910390f35b61020960048036038101906102049190612775565b610991565b60405161021691906128ab565b60405180910390f35b6102396004803603810190610234919061296e565b610aaa565b005b610243610bd3565b60405161025091906123c4565b60405180910390f35b610261610c61565b005b61027d600480360381019061027891906129ed565b610d9e565b005b610287610e3f565b005b610291610f0e565b60405161029e9190612a29565b60405180910390f35b6102c160048036038101906102bc91906122fe565b610f38565b6040516102ce91906122e3565b60405180910390f35b6102f160048036038101906102ec9190612a70565b610f8e565b005b6102fb61110f565b60405161030891906122e3565b60405180910390f35b61032b60048036038101906103269190612b0b565b611126565b005b61034760048036038101906103429190612b93565b6113a1565b60405161035491906122e3565b60405180910390f35b61037760048036038101906103729190612bd3565b611435565b005b610393600480360381019061038e9190612c6a565b61174d565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610406576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103fd90612d09565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061052957507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105395750610538826118f9565b5b9050919050565b60606002805461054f90612d58565b80601f016020809104026020016040519081016040528092919081815260200182805461057b90612d58565b80156105c85780601f1061059d576101008083540402835291602001916105c8565b820191906000526020600020905b8154815290600101906020018083116105ab57829003601f168201915b50505050509050919050565b8151835114610618576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060f90612dfc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610688576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067f90612e8e565b60405180910390fd5b610690611963565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806106d657506106d5856106d0611963565b6113a1565b5b610715576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070c90612f20565b60405180910390fd5b600061071f611963565b905061072f81878787878761196b565b60005b84518110156108e95760008582815181106107505761074f612f40565b5b60200260200101519050600085838151811061076f5761076e612f40565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610810576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080790612fe1565b60405180910390fd5b818161081c9190613030565b60008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546108ce9190613064565b92505081905550505050806108e2906130ba565b9050610732565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610960929190613103565b60405180910390a4610976818787878787611973565b505050505050565b600660019054906101000a900460ff1681565b606081518351146109d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ce906131ac565b60405180910390fd5b6000835167ffffffffffffffff8111156109f4576109f36123eb565b5b604051908082528060200260200182016040528015610a225781602001602082028036833780820191505090505b50905060005b8451811015610a9f57610a6f858281518110610a4757610a46612f40565b5b6020026020010151858381518110610a6257610a61612f40565b5b6020026020010151610395565b828281518110610a8257610a81612f40565b5b60200260200101818152505080610a98906130ba565b9050610a28565b508091505092915050565b610ab2611963565b73ffffffffffffffffffffffffffffffffffffffff16610ad0610f0e565b73ffffffffffffffffffffffffffffffffffffffff1614610b26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1d90613218565b60405180910390fd5b8060079080519060200190610b3c92919061208e565b50610bd060078054610b4d90612d58565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7990612d58565b8015610bc65780601f10610b9b57610100808354040283529160200191610bc6565b820191906000526020600020905b815481529060010190602001808311610ba957829003601f168201915b5050505050611b5a565b50565b60078054610be090612d58565b80601f0160208091040260200160405190810160405280929190818152602001828054610c0c90612d58565b8015610c595780601f10610c2e57610100808354040283529160200191610c59565b820191906000526020600020905b815481529060010190602001808311610c3c57829003601f168201915b505050505081565b610c69611963565b73ffffffffffffffffffffffffffffffffffffffff16610c87610f0e565b73ffffffffffffffffffffffffffffffffffffffff1614610cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd490613218565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b610da6611963565b73ffffffffffffffffffffffffffffffffffffffff16610dc4610f0e565b73ffffffffffffffffffffffffffffffffffffffff1614610e1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1190613218565b60405180910390fd5b806005819055506001600660006101000a81548160ff02191690831515021790555050565b610e47611963565b73ffffffffffffffffffffffffffffffffffffffff16610e65610f0e565b73ffffffffffffffffffffffffffffffffffffffff1614610ebb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb290613218565b60405180910390fd5b600660019054906101000a900460ff1615610ef0576000600660016101000a81548160ff021916908315150217905550610f0c565b6001600660016101000a81548160ff0219169083151502179055505b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008061010083610f499190613267565b9050600061010084610f5b9190613298565b90506000600460008481526020019081526020016000205490506000826001901b90508081831614945050505050919050565b8173ffffffffffffffffffffffffffffffffffffffff16610fad611963565b73ffffffffffffffffffffffffffffffffffffffff161415611004576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffb9061333b565b60405180910390fd5b8060016000611011611963565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166110be611963565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161110391906122e3565b60405180910390a35050565b6000600660009054906101000a900460ff16905090565b600660019054906101000a900460ff16611175576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116c906133a7565b60405180910390fd5b60028311156111b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b090613439565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611227576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121e906134cb565b60405180910390fd5b61123085610f38565b15611270576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126790613537565b60405180910390fd5b6000858585604051602001611287939291906135c0565b6040516020818303038152906040528051906020012090506112ed838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060055483611b74565b61132c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132390613649565b60405180910390fd5b61133586611c2a565b60005b848110156113985760006001600383436113529190613064565b61135c9190613298565b6113669190613064565b90506113843382600160405180602001604052806000815250611c84565b508080611390906130ba565b915050611338565b50505050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156114a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149c90612e8e565b60405180910390fd5b6114ad611963565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806114f357506114f2856114ed611963565b6113a1565b5b611532576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611529906136db565b60405180910390fd5b600061153c611963565b905061155c81878761154d88611e1a565b61155688611e1a565b8761196b565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838110156115f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ea90612fe1565b60405180910390fd5b83816115ff9190613030565b60008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116b19190613064565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161172e9291906136fb565b60405180910390a4611744828888888888611e94565b50505050505050565b611755611963565b73ffffffffffffffffffffffffffffffffffffffff16611773610f0e565b73ffffffffffffffffffffffffffffffffffffffff16146117c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c090613218565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611839576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183090613796565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b505050505050565b6119928473ffffffffffffffffffffffffffffffffffffffff1661207b565b15611b52578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016119d895949392919061380b565b602060405180830381600087803b1580156119f257600080fd5b505af1925050508015611a2357506040513d601f19601f82011682018060405250810190611a209190613888565b60015b611ac957611a2f6138c2565b806308c379a01415611a8c5750611a446138e4565b80611a4f5750611a8e565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8391906123c4565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac0906139ec565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611b50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4790613a7e565b60405180910390fd5b505b505050505050565b8060029080519060200190611b7092919061208e565b5050565b60008082905060005b8551811015611c1c576000868281518110611b9b57611b9a612f40565b5b60200260200101519050808311611bdc578281604051602001611bbf929190613abf565b604051602081830303815290604052805190602001209250611c08565b8083604051602001611bef929190613abf565b6040516020818303038152906040528051906020012092505b508080611c14906130ba565b915050611b7d565b508381149150509392505050565b600061010082611c3a9190613267565b9050600061010083611c4c9190613298565b9050806001901b6004600084815260200190815260200160002054176004600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ceb90613b5d565b60405180910390fd5b6000611cfe611963565b9050611d1f81600087611d1088611e1a565b611d1988611e1a565b8761196b565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d7e9190613064565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611dfc9291906136fb565b60405180910390a4611e1381600087878787611e94565b5050505050565b60606000600167ffffffffffffffff811115611e3957611e386123eb565b5b604051908082528060200260200182016040528015611e675781602001602082028036833780820191505090505b5090508281600081518110611e7f57611e7e612f40565b5b60200260200101818152505080915050919050565b611eb38473ffffffffffffffffffffffffffffffffffffffff1661207b565b15612073578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611ef9959493929190613b7d565b602060405180830381600087803b158015611f1357600080fd5b505af1925050508015611f4457506040513d601f19601f82011682018060405250810190611f419190613888565b60015b611fea57611f506138c2565b806308c379a01415611fad5750611f656138e4565b80611f705750611faf565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa491906123c4565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe1906139ec565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612071576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206890613a7e565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b82805461209a90612d58565b90600052602060002090601f0160209004810192826120bc5760008555612103565b82601f106120d557805160ff1916838001178555612103565b82800160010185558215612103579182015b828111156121025782518255916020019190600101906120e7565b5b5090506121109190612114565b5090565b5b8082111561212d576000816000905550600101612115565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061217082612145565b9050919050565b61218081612165565b811461218b57600080fd5b50565b60008135905061219d81612177565b92915050565b6000819050919050565b6121b6816121a3565b81146121c157600080fd5b50565b6000813590506121d3816121ad565b92915050565b600080604083850312156121f0576121ef61213b565b5b60006121fe8582860161218e565b925050602061220f858286016121c4565b9150509250929050565b612222816121a3565b82525050565b600060208201905061223d6000830184612219565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61227881612243565b811461228357600080fd5b50565b6000813590506122958161226f565b92915050565b6000602082840312156122b1576122b061213b565b5b60006122bf84828501612286565b91505092915050565b60008115159050919050565b6122dd816122c8565b82525050565b60006020820190506122f860008301846122d4565b92915050565b6000602082840312156123145761231361213b565b5b6000612322848285016121c4565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561236557808201518184015260208101905061234a565b83811115612374576000848401525b50505050565b6000601f19601f8301169050919050565b60006123968261232b565b6123a08185612336565b93506123b0818560208601612347565b6123b98161237a565b840191505092915050565b600060208201905081810360008301526123de818461238b565b905092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6124238261237a565b810181811067ffffffffffffffff82111715612442576124416123eb565b5b80604052505050565b6000612455612131565b9050612461828261241a565b919050565b600067ffffffffffffffff821115612481576124806123eb565b5b602082029050602081019050919050565b600080fd5b60006124aa6124a584612466565b61244b565b905080838252602082019050602084028301858111156124cd576124cc612492565b5b835b818110156124f657806124e288826121c4565b8452602084019350506020810190506124cf565b5050509392505050565b600082601f830112612515576125146123e6565b5b8135612525848260208601612497565b91505092915050565b600080fd5b600067ffffffffffffffff82111561254e5761254d6123eb565b5b6125578261237a565b9050602081019050919050565b82818337600083830152505050565b600061258661258184612533565b61244b565b9050828152602081018484840111156125a2576125a161252e565b5b6125ad848285612564565b509392505050565b600082601f8301126125ca576125c96123e6565b5b81356125da848260208601612573565b91505092915050565b600080600080600060a086880312156125ff576125fe61213b565b5b600061260d8882890161218e565b955050602061261e8882890161218e565b945050604086013567ffffffffffffffff81111561263f5761263e612140565b5b61264b88828901612500565b935050606086013567ffffffffffffffff81111561266c5761266b612140565b5b61267888828901612500565b925050608086013567ffffffffffffffff81111561269957612698612140565b5b6126a5888289016125b5565b9150509295509295909350565b600067ffffffffffffffff8211156126cd576126cc6123eb565b5b602082029050602081019050919050565b60006126f16126ec846126b2565b61244b565b9050808382526020820190506020840283018581111561271457612713612492565b5b835b8181101561273d5780612729888261218e565b845260208401935050602081019050612716565b5050509392505050565b600082601f83011261275c5761275b6123e6565b5b813561276c8482602086016126de565b91505092915050565b6000806040838503121561278c5761278b61213b565b5b600083013567ffffffffffffffff8111156127aa576127a9612140565b5b6127b685828601612747565b925050602083013567ffffffffffffffff8111156127d7576127d6612140565b5b6127e385828601612500565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612822816121a3565b82525050565b60006128348383612819565b60208301905092915050565b6000602082019050919050565b6000612858826127ed565b61286281856127f8565b935061286d83612809565b8060005b8381101561289e5781516128858882612828565b975061289083612840565b925050600181019050612871565b5085935050505092915050565b600060208201905081810360008301526128c5818461284d565b905092915050565b600067ffffffffffffffff8211156128e8576128e76123eb565b5b6128f18261237a565b9050602081019050919050565b600061291161290c846128cd565b61244b565b90508281526020810184848401111561292d5761292c61252e565b5b612938848285612564565b509392505050565b600082601f830112612955576129546123e6565b5b81356129658482602086016128fe565b91505092915050565b6000602082840312156129845761298361213b565b5b600082013567ffffffffffffffff8111156129a2576129a1612140565b5b6129ae84828501612940565b91505092915050565b6000819050919050565b6129ca816129b7565b81146129d557600080fd5b50565b6000813590506129e7816129c1565b92915050565b600060208284031215612a0357612a0261213b565b5b6000612a11848285016129d8565b91505092915050565b612a2381612165565b82525050565b6000602082019050612a3e6000830184612a1a565b92915050565b612a4d816122c8565b8114612a5857600080fd5b50565b600081359050612a6a81612a44565b92915050565b60008060408385031215612a8757612a8661213b565b5b6000612a958582860161218e565b9250506020612aa685828601612a5b565b9150509250929050565b600080fd5b60008083601f840112612acb57612aca6123e6565b5b8235905067ffffffffffffffff811115612ae857612ae7612ab0565b5b602083019150836020820283011115612b0457612b03612492565b5b9250929050565b600080600080600060808688031215612b2757612b2661213b565b5b6000612b35888289016121c4565b9550506020612b468882890161218e565b9450506040612b57888289016121c4565b935050606086013567ffffffffffffffff811115612b7857612b77612140565b5b612b8488828901612ab5565b92509250509295509295909350565b60008060408385031215612baa57612ba961213b565b5b6000612bb88582860161218e565b9250506020612bc98582860161218e565b9150509250929050565b600080600080600060a08688031215612bef57612bee61213b565b5b6000612bfd8882890161218e565b9550506020612c0e8882890161218e565b9450506040612c1f888289016121c4565b9350506060612c30888289016121c4565b925050608086013567ffffffffffffffff811115612c5157612c50612140565b5b612c5d888289016125b5565b9150509295509295909350565b600060208284031215612c8057612c7f61213b565b5b6000612c8e8482850161218e565b91505092915050565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000612cf3602b83612336565b9150612cfe82612c97565b604082019050919050565b60006020820190508181036000830152612d2281612ce6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612d7057607f821691505b60208210811415612d8457612d83612d29565b5b50919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000612de6602883612336565b9150612df182612d8a565b604082019050919050565b60006020820190508181036000830152612e1581612dd9565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000612e78602583612336565b9150612e8382612e1c565b604082019050919050565b60006020820190508181036000830152612ea781612e6b565b9050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000612f0a603283612336565b9150612f1582612eae565b604082019050919050565b60006020820190508181036000830152612f3981612efd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000612fcb602a83612336565b9150612fd682612f6f565b604082019050919050565b60006020820190508181036000830152612ffa81612fbe565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061303b826121a3565b9150613046836121a3565b92508282101561305957613058613001565b5b828203905092915050565b600061306f826121a3565b915061307a836121a3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156130af576130ae613001565b5b828201905092915050565b60006130c5826121a3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156130f8576130f7613001565b5b600182019050919050565b6000604082019050818103600083015261311d818561284d565b90508181036020830152613131818461284d565b90509392505050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613196602983612336565b91506131a18261313a565b604082019050919050565b600060208201905081810360008301526131c581613189565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613202602083612336565b915061320d826131cc565b602082019050919050565b60006020820190508181036000830152613231816131f5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613272826121a3565b915061327d836121a3565b92508261328d5761328c613238565b5b828204905092915050565b60006132a3826121a3565b91506132ae836121a3565b9250826132be576132bd613238565b5b828206905092915050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000613325602983612336565b9150613330826132c9565b604082019050919050565b6000602082019050818103600083015261335481613318565b9050919050565b7f4d696e74696e67206d7573742062652061637469766500000000000000000000600082015250565b6000613391601683612336565b915061339c8261335b565b602082019050919050565b600060208201905081810360008301526133c081613384565b9050919050565b7f4d617820616d6f756e7420746861742063616e20626520636c61696d6564206960008201527f7320320000000000000000000000000000000000000000000000000000000000602082015250565b6000613423602383612336565b915061342e826133c7565b604082019050919050565b6000602082019050818103600083015261345281613416565b9050919050565b7f43616e206f6e6c7920626520636c61696d65642062792074686520686f646c6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006134b5602183612336565b91506134c082613459565b604082019050919050565b600060208201905081810360008301526134e4816134a8565b9050919050565b7f44726f7020616c726561647920636c61696d6564000000000000000000000000600082015250565b6000613521601483612336565b915061352c826134eb565b602082019050919050565b6000602082019050818103600083015261355081613514565b9050919050565b6000819050919050565b61357261356d826121a3565b613557565b82525050565b60008160601b9050919050565b600061359082613578565b9050919050565b60006135a282613585565b9050919050565b6135ba6135b582612165565b613597565b82525050565b60006135cc8286613561565b6020820191506135dc82856135a9565b6014820191506135ec8284613561565b602082019150819050949350505050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b6000613633600d83612336565b915061363e826135fd565b602082019050919050565b6000602082019050818103600083015261366281613626565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b60006136c5602983612336565b91506136d082613669565b604082019050919050565b600060208201905081810360008301526136f4816136b8565b9050919050565b60006040820190506137106000830185612219565b61371d6020830184612219565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613780602683612336565b915061378b82613724565b604082019050919050565b600060208201905081810360008301526137af81613773565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006137dd826137b6565b6137e781856137c1565b93506137f7818560208601612347565b6138008161237a565b840191505092915050565b600060a0820190506138206000830188612a1a565b61382d6020830187612a1a565b818103604083015261383f818661284d565b90508181036060830152613853818561284d565b9050818103608083015261386781846137d2565b90509695505050505050565b6000815190506138828161226f565b92915050565b60006020828403121561389e5761389d61213b565b5b60006138ac84828501613873565b91505092915050565b60008160e01c9050919050565b600060033d11156138e15760046000803e6138de6000516138b5565b90505b90565b600060443d10156138f457613977565b6138fc612131565b60043d036004823e80513d602482011167ffffffffffffffff82111715613924575050613977565b808201805167ffffffffffffffff8111156139425750505050613977565b80602083010160043d03850181111561395f575050505050613977565b61396e8260200185018661241a565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006139d6603483612336565b91506139e18261397a565b604082019050919050565b60006020820190508181036000830152613a05816139c9565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000613a68602883612336565b9150613a7382613a0c565b604082019050919050565b60006020820190508181036000830152613a9781613a5b565b9050919050565b6000819050919050565b613ab9613ab4826129b7565b613a9e565b82525050565b6000613acb8285613aa8565b602082019150613adb8284613aa8565b6020820191508190509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613b47602183612336565b9150613b5282613aeb565b604082019050919050565b60006020820190508181036000830152613b7681613b3a565b9050919050565b600060a082019050613b926000830188612a1a565b613b9f6020830187612a1a565b613bac6040830186612219565b613bb96060830185612219565b8181036080830152613bcb81846137d2565b9050969550505050505056fea26469706673582212208f9513ec0de268b0389e7738d5f6ed17072b392187c3fa9b3e119bb69611f4ab64736f6c63430008090033

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

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