ETH Price: $3,388.23 (+1.20%)

Token

OpenDAO Genesis Membership ()
 

Overview

Max Total Supply

8,202

Holders

3,307

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
The OpenDAO: Deployer 1
0x20f1da6b7913f62e09c9c03b5f9feffc82c8bc18
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The OpenDAO Genesis Membership NFT are tokens exclusively mintable by the $veSOS holders. Holding this token entitle the owners access to airdrops, early access to future collections, early access to curated drops and various other benefits.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
OpenDAOMembershipNFT

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

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

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

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

    mapping(address => bool) public _claimed;
    bytes32 public _merkleRoot;
    uint public _claimEndTime;

    constructor(bytes32 root, uint claimEndTime, string memory uri_) ERC1155("") {
        _merkleRoot = root;
        _claimEndTime = claimEndTime;
        _setURI(uri_);
    }

    function uri(uint256 tokenId) public view virtual override returns (string memory) {
        return string(abi.encodePacked(ERC1155.uri(tokenId), tokenId.toString(), ".json"));
    }

    function claimMembershipNFTs(uint8 tier, bytes32[] memory proof) external {
        require(block.timestamp < _claimEndTime, "OpenDAOMembershipNFT: claim period is over");
        require(!_claimed[msg.sender], "OpenDAOMembershipNFT: already claimed");
        require(tier <= 3, "OpenDAOMembershipNFT: invalid tier");

        bytes32 leaf = keccak256(abi.encodePacked(msg.sender, tier));
        require(MerkleProof.verify(proof, _merkleRoot, leaf), "OpenDAOMembershipNFT: invalid merkle proof");

        _claimed[msg.sender] = true;

        if (tier == 0) _mint(msg.sender, 0, 1, "");
        if (tier <= 1) _mint(msg.sender, 1, 1, "");
        if (tier <= 2) _mint(msg.sender, 2, 1, "");
        if (tier <= 3) _mint(msg.sender, 3, 1, "");
    }

    function setURI(string memory newUri) external onlyOwner {
        _setURI(newUri);
    }

    function setClaimEndTime(uint newEndTime) external onlyOwner {
        _claimEndTime = newEndTime;
    }

    function setMerkleRoot(bytes32 newRoot) external onlyOwner {
        _merkleRoot = newRoot;
    }
}

File 2 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 3 of 12 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

        return array;
    }
}

File 4 of 12 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 7 of 12 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

File 8 of 12 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        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 9 of 12 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "../IERC1155.sol";

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

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

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;
        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");

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"},{"internalType":"uint256","name":"claimEndTime","type":"uint256"},{"internalType":"string","name":"uri_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"_claimEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"tier","type":"uint8"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claimMembershipNFTs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"uint256","name":"newEndTime","type":"uint256"}],"name":"setClaimEndTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newUri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b50604051620041693803806200416983398181016040528101906200003791906200044e565b604051806020016040528060008152506200005881620000a160201b60201c565b50620000796200006d620000bd60201b60201c565b620000c560201b60201c565b82600581905550816006819055506200009881620000a160201b60201c565b5050506200052e565b8060029080519060200190620000b99291906200018b565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200019990620004f8565b90600052602060002090601f016020900481019282620001bd576000855562000209565b82601f10620001d857805160ff191683800117855562000209565b8280016001018555821562000209579182015b8281111562000208578251825591602001919060010190620001eb565b5b5090506200021891906200021c565b5090565b5b80821115620002375760008160009055506001016200021d565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b62000264816200024f565b81146200027057600080fd5b50565b600081519050620002848162000259565b92915050565b6000819050919050565b6200029f816200028a565b8114620002ab57600080fd5b50565b600081519050620002bf8162000294565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200031a82620002cf565b810181811067ffffffffffffffff821117156200033c576200033b620002e0565b5b80604052505050565b6000620003516200023b565b90506200035f82826200030f565b919050565b600067ffffffffffffffff821115620003825762000381620002e0565b5b6200038d82620002cf565b9050602081019050919050565b60005b83811015620003ba5780820151818401526020810190506200039d565b83811115620003ca576000848401525b50505050565b6000620003e7620003e18462000364565b62000345565b905082815260208101848484011115620004065762000405620002ca565b5b620004138482856200039a565b509392505050565b600082601f830112620004335762000432620002c5565b5b815162000445848260208601620003d0565b91505092915050565b6000806000606084860312156200046a576200046962000245565b5b60006200047a8682870162000273565b93505060206200048d86828701620002ae565b925050604084015167ffffffffffffffff811115620004b157620004b06200024a565b5b620004bf868287016200041b565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200051157607f821691505b60208210811415620005285762000527620004c9565b5b50919050565b613c2b806200053e6000396000f3fe608060405234801561001057600080fd5b50600436106101155760003560e01c80638da5cb5b116100a2578063dd896a1c11610071578063dd896a1c146102c8578063e985e9c5146102f8578063f0e4a05e14610328578063f242432a14610346578063f2fde38b1461036257610115565b80638da5cb5b146102565780639a3aa76614610274578063a22cb46514610290578063be0980e2146102ac57610115565b80632eb2c2d6116100e95780632eb2c2d6146101c65780632fc37ab2146101e25780634e1273f414610200578063715018a6146102305780637cb647591461023a57610115565b8062fdd58e1461011a57806301ffc9a71461014a57806302fe53051461017a5780630e89341c14610196575b600080fd5b610134600480360381019061012f91906120bd565b61037e565b604051610141919061210c565b60405180910390f35b610164600480360381019061015f919061217f565b610447565b60405161017191906121c7565b60405180910390f35b610194600480360381019061018f9190612328565b610529565b005b6101b060048036038101906101ab9190612371565b6105b1565b6040516101bd9190612426565b60405180910390f35b6101e060048036038101906101db91906125b1565b6105ec565b005b6101ea61068d565b6040516101f79190612699565b60405180910390f35b61021a60048036038101906102159190612777565b610693565b60405161022791906128ad565b60405180910390f35b6102386107ac565b005b610254600480360381019061024f91906128fb565b610834565b005b61025e6108ba565b60405161026b9190612937565b60405180910390f35b61028e60048036038101906102899190612371565b6108e4565b005b6102aa60048036038101906102a5919061297e565b61096a565b005b6102c660048036038101906102c19190612aba565b610980565b005b6102e260048036038101906102dd9190612b16565b610c12565b6040516102ef91906121c7565b60405180910390f35b610312600480360381019061030d9190612b43565b610c32565b60405161031f91906121c7565b60405180910390f35b610330610cc6565b60405161033d919061210c565b60405180910390f35b610360600480360381019061035b9190612b83565b610ccc565b005b61037c60048036038101906103779190612b16565b610d6d565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156103ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e690612c8c565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061051257507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610522575061052182610e65565b5b9050919050565b610531610ecf565b73ffffffffffffffffffffffffffffffffffffffff1661054f6108ba565b73ffffffffffffffffffffffffffffffffffffffff16146105a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161059c90612cf8565b60405180910390fd5b6105ae81610ed7565b50565b60606105bc82610ef1565b6105c583610f85565b6040516020016105d6929190612da0565b6040516020818303038152906040529050919050565b6105f4610ecf565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061063a575061063985610634610ecf565b610c32565b5b610679576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067090612e41565b60405180910390fd5b61068685858585856110e6565b5050505050565b60055481565b606081518351146106d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d090612ed3565b60405180910390fd5b6000835167ffffffffffffffff8111156106f6576106f56121fd565b5b6040519080825280602002602001820160405280156107245781602001602082028036833780820191505090505b50905060005b84518110156107a15761077185828151811061074957610748612ef3565b5b602002602001015185838151811061076457610763612ef3565b5b602002602001015161037e565b82828151811061078457610783612ef3565b5b6020026020010181815250508061079a90612f51565b905061072a565b508091505092915050565b6107b4610ecf565b73ffffffffffffffffffffffffffffffffffffffff166107d26108ba565b73ffffffffffffffffffffffffffffffffffffffff1614610828576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081f90612cf8565b60405180910390fd5b61083260006113fa565b565b61083c610ecf565b73ffffffffffffffffffffffffffffffffffffffff1661085a6108ba565b73ffffffffffffffffffffffffffffffffffffffff16146108b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a790612cf8565b60405180910390fd5b8060058190555050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6108ec610ecf565b73ffffffffffffffffffffffffffffffffffffffff1661090a6108ba565b73ffffffffffffffffffffffffffffffffffffffff1614610960576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095790612cf8565b60405180910390fd5b8060068190555050565b61097c610975610ecf565b83836114c0565b5050565b60065442106109c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb9061300c565b60405180910390fd5b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610a51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a489061309e565b60405180910390fd5b60038260ff161115610a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8f90613130565b60405180910390fd5b60003383604051602001610aad9291906131ce565b604051602081830303815290604052805190602001209050610ad2826005548361162d565b610b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b089061326c565b60405180910390fd5b6001600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060008360ff161415610b9357610b92336000600160405180602001604052806000815250611644565b5b60018360ff1611610bbb57610bba3360018060405180602001604052806000815250611644565b5b60028360ff1611610be457610be3336002600160405180602001604052806000815250611644565b5b60038360ff1611610c0d57610c0c336003600160405180602001604052806000815250611644565b5b505050565b60046020528060005260406000206000915054906101000a900460ff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60065481565b610cd4610ecf565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610d1a5750610d1985610d14610ecf565b610c32565b5b610d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d50906132fe565b60405180910390fd5b610d6685858585856117da565b5050505050565b610d75610ecf565b73ffffffffffffffffffffffffffffffffffffffff16610d936108ba565b73ffffffffffffffffffffffffffffffffffffffff1614610de9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de090612cf8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5090613390565b60405180910390fd5b610e62816113fa565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b8060029080519060200190610eed929190611f72565b5050565b606060028054610f00906133df565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2c906133df565b8015610f795780601f10610f4e57610100808354040283529160200191610f79565b820191906000526020600020905b815481529060010190602001808311610f5c57829003601f168201915b50505050509050919050565b60606000821415610fcd576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506110e1565b600082905060005b60008214610fff578080610fe890612f51565b915050600a82610ff89190613440565b9150610fd5565b60008167ffffffffffffffff81111561101b5761101a6121fd565b5b6040519080825280601f01601f19166020018201604052801561104d5781602001600182028036833780820191505090505b5090505b600085146110da576001826110669190613471565b9150600a8561107591906134a5565b603061108191906134d6565b60f81b81838151811061109757611096612ef3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856110d39190613440565b9450611051565b8093505050505b919050565b815183511461112a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111219061359e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561119a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119190613630565b60405180910390fd5b60006111a4610ecf565b90506111b4818787878787611a5c565b60005b84518110156113655760008582815181106111d5576111d4612ef3565b5b6020026020010151905060008583815181106111f4576111f3612ef3565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611295576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128c906136c2565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461134a91906134d6565b925050819055505050508061135e90612f51565b90506111b7565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516113dc9291906136e2565b60405180910390a46113f2818787878787611a64565b505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561152f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115269061378b565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161162091906121c7565b60405180910390a3505050565b60008261163a8584611c4b565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156116b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ab9061381d565b60405180910390fd5b60006116be610ecf565b90506116df816000876116d088611cfe565b6116d988611cfe565b87611a5c565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461173e91906134d6565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516117bc92919061383d565b60405180910390a46117d381600087878787611d78565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561184a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184190613630565b60405180910390fd5b6000611854610ecf565b905061187481878761186588611cfe565b61186e88611cfe565b87611a5c565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561190b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611902906136c2565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119c091906134d6565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051611a3d92919061383d565b60405180910390a4611a53828888888888611d78565b50505050505050565b505050505050565b611a838473ffffffffffffffffffffffffffffffffffffffff16611f5f565b15611c43578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401611ac99594939291906138bb565b602060405180830381600087803b158015611ae357600080fd5b505af1925050508015611b1457506040513d601f19601f82011682018060405250810190611b119190613938565b60015b611bba57611b20613972565b806308c379a01415611b7d5750611b35613994565b80611b405750611b7f565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b749190612426565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb190613a9c565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611c41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3890613b2e565b60405180910390fd5b505b505050505050565b60008082905060005b8451811015611cf3576000858281518110611c7257611c71612ef3565b5b60200260200101519050808311611cb3578281604051602001611c96929190613b6f565b604051602081830303815290604052805190602001209250611cdf565b8083604051602001611cc6929190613b6f565b6040516020818303038152906040528051906020012092505b508080611ceb90612f51565b915050611c54565b508091505092915050565b60606000600167ffffffffffffffff811115611d1d57611d1c6121fd565b5b604051908082528060200260200182016040528015611d4b5781602001602082028036833780820191505090505b5090508281600081518110611d6357611d62612ef3565b5b60200260200101818152505080915050919050565b611d978473ffffffffffffffffffffffffffffffffffffffff16611f5f565b15611f57578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611ddd959493929190613b9b565b602060405180830381600087803b158015611df757600080fd5b505af1925050508015611e2857506040513d601f19601f82011682018060405250810190611e259190613938565b60015b611ece57611e34613972565b806308c379a01415611e915750611e49613994565b80611e545750611e93565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e889190612426565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec590613a9c565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611f55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4c90613b2e565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b828054611f7e906133df565b90600052602060002090601f016020900481019282611fa05760008555611fe7565b82601f10611fb957805160ff1916838001178555611fe7565b82800160010185558215611fe7579182015b82811115611fe6578251825591602001919060010190611fcb565b5b509050611ff49190611ff8565b5090565b5b80821115612011576000816000905550600101611ff9565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061205482612029565b9050919050565b61206481612049565b811461206f57600080fd5b50565b6000813590506120818161205b565b92915050565b6000819050919050565b61209a81612087565b81146120a557600080fd5b50565b6000813590506120b781612091565b92915050565b600080604083850312156120d4576120d361201f565b5b60006120e285828601612072565b92505060206120f3858286016120a8565b9150509250929050565b61210681612087565b82525050565b600060208201905061212160008301846120fd565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61215c81612127565b811461216757600080fd5b50565b60008135905061217981612153565b92915050565b6000602082840312156121955761219461201f565b5b60006121a38482850161216a565b91505092915050565b60008115159050919050565b6121c1816121ac565b82525050565b60006020820190506121dc60008301846121b8565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612235826121ec565b810181811067ffffffffffffffff82111715612254576122536121fd565b5b80604052505050565b6000612267612015565b9050612273828261222c565b919050565b600067ffffffffffffffff821115612293576122926121fd565b5b61229c826121ec565b9050602081019050919050565b82818337600083830152505050565b60006122cb6122c684612278565b61225d565b9050828152602081018484840111156122e7576122e66121e7565b5b6122f28482856122a9565b509392505050565b600082601f83011261230f5761230e6121e2565b5b813561231f8482602086016122b8565b91505092915050565b60006020828403121561233e5761233d61201f565b5b600082013567ffffffffffffffff81111561235c5761235b612024565b5b612368848285016122fa565b91505092915050565b6000602082840312156123875761238661201f565b5b6000612395848285016120a8565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156123d85780820151818401526020810190506123bd565b838111156123e7576000848401525b50505050565b60006123f88261239e565b61240281856123a9565b93506124128185602086016123ba565b61241b816121ec565b840191505092915050565b6000602082019050818103600083015261244081846123ed565b905092915050565b600067ffffffffffffffff821115612463576124626121fd565b5b602082029050602081019050919050565b600080fd5b600061248c61248784612448565b61225d565b905080838252602082019050602084028301858111156124af576124ae612474565b5b835b818110156124d857806124c488826120a8565b8452602084019350506020810190506124b1565b5050509392505050565b600082601f8301126124f7576124f66121e2565b5b8135612507848260208601612479565b91505092915050565b600067ffffffffffffffff82111561252b5761252a6121fd565b5b612534826121ec565b9050602081019050919050565b600061255461254f84612510565b61225d565b9050828152602081018484840111156125705761256f6121e7565b5b61257b8482856122a9565b509392505050565b600082601f830112612598576125976121e2565b5b81356125a8848260208601612541565b91505092915050565b600080600080600060a086880312156125cd576125cc61201f565b5b60006125db88828901612072565b95505060206125ec88828901612072565b945050604086013567ffffffffffffffff81111561260d5761260c612024565b5b612619888289016124e2565b935050606086013567ffffffffffffffff81111561263a57612639612024565b5b612646888289016124e2565b925050608086013567ffffffffffffffff81111561266757612666612024565b5b61267388828901612583565b9150509295509295909350565b6000819050919050565b61269381612680565b82525050565b60006020820190506126ae600083018461268a565b92915050565b600067ffffffffffffffff8211156126cf576126ce6121fd565b5b602082029050602081019050919050565b60006126f36126ee846126b4565b61225d565b9050808382526020820190506020840283018581111561271657612715612474565b5b835b8181101561273f578061272b8882612072565b845260208401935050602081019050612718565b5050509392505050565b600082601f83011261275e5761275d6121e2565b5b813561276e8482602086016126e0565b91505092915050565b6000806040838503121561278e5761278d61201f565b5b600083013567ffffffffffffffff8111156127ac576127ab612024565b5b6127b885828601612749565b925050602083013567ffffffffffffffff8111156127d9576127d8612024565b5b6127e5858286016124e2565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61282481612087565b82525050565b6000612836838361281b565b60208301905092915050565b6000602082019050919050565b600061285a826127ef565b61286481856127fa565b935061286f8361280b565b8060005b838110156128a0578151612887888261282a565b975061289283612842565b925050600181019050612873565b5085935050505092915050565b600060208201905081810360008301526128c7818461284f565b905092915050565b6128d881612680565b81146128e357600080fd5b50565b6000813590506128f5816128cf565b92915050565b6000602082840312156129115761291061201f565b5b600061291f848285016128e6565b91505092915050565b61293181612049565b82525050565b600060208201905061294c6000830184612928565b92915050565b61295b816121ac565b811461296657600080fd5b50565b60008135905061297881612952565b92915050565b600080604083850312156129955761299461201f565b5b60006129a385828601612072565b92505060206129b485828601612969565b9150509250929050565b600060ff82169050919050565b6129d4816129be565b81146129df57600080fd5b50565b6000813590506129f1816129cb565b92915050565b600067ffffffffffffffff821115612a1257612a116121fd565b5b602082029050602081019050919050565b6000612a36612a31846129f7565b61225d565b90508083825260208201905060208402830185811115612a5957612a58612474565b5b835b81811015612a825780612a6e88826128e6565b845260208401935050602081019050612a5b565b5050509392505050565b600082601f830112612aa157612aa06121e2565b5b8135612ab1848260208601612a23565b91505092915050565b60008060408385031215612ad157612ad061201f565b5b6000612adf858286016129e2565b925050602083013567ffffffffffffffff811115612b0057612aff612024565b5b612b0c85828601612a8c565b9150509250929050565b600060208284031215612b2c57612b2b61201f565b5b6000612b3a84828501612072565b91505092915050565b60008060408385031215612b5a57612b5961201f565b5b6000612b6885828601612072565b9250506020612b7985828601612072565b9150509250929050565b600080600080600060a08688031215612b9f57612b9e61201f565b5b6000612bad88828901612072565b9550506020612bbe88828901612072565b9450506040612bcf888289016120a8565b9350506060612be0888289016120a8565b925050608086013567ffffffffffffffff811115612c0157612c00612024565b5b612c0d88828901612583565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000612c76602b836123a9565b9150612c8182612c1a565b604082019050919050565b60006020820190508181036000830152612ca581612c69565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612ce26020836123a9565b9150612ced82612cac565b602082019050919050565b60006020820190508181036000830152612d1181612cd5565b9050919050565b600081905092915050565b6000612d2e8261239e565b612d388185612d18565b9350612d488185602086016123ba565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000612d8a600583612d18565b9150612d9582612d54565b600582019050919050565b6000612dac8285612d23565b9150612db88284612d23565b9150612dc382612d7d565b91508190509392505050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000612e2b6032836123a9565b9150612e3682612dcf565b604082019050919050565b60006020820190508181036000830152612e5a81612e1e565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000612ebd6029836123a9565b9150612ec882612e61565b604082019050919050565b60006020820190508181036000830152612eec81612eb0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612f5c82612087565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612f8f57612f8e612f22565b5b600182019050919050565b7f4f70656e44414f4d656d626572736869704e46543a20636c61696d207065726960008201527f6f64206973206f76657200000000000000000000000000000000000000000000602082015250565b6000612ff6602a836123a9565b915061300182612f9a565b604082019050919050565b6000602082019050818103600083015261302581612fe9565b9050919050565b7f4f70656e44414f4d656d626572736869704e46543a20616c726561647920636c60008201527f61696d6564000000000000000000000000000000000000000000000000000000602082015250565b60006130886025836123a9565b91506130938261302c565b604082019050919050565b600060208201905081810360008301526130b78161307b565b9050919050565b7f4f70656e44414f4d656d626572736869704e46543a20696e76616c696420746960008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b600061311a6022836123a9565b9150613125826130be565b604082019050919050565b600060208201905081810360008301526131498161310d565b9050919050565b60008160601b9050919050565b600061316882613150565b9050919050565b600061317a8261315d565b9050919050565b61319261318d82612049565b61316f565b82525050565b60008160f81b9050919050565b60006131b082613198565b9050919050565b6131c86131c3826129be565b6131a5565b82525050565b60006131da8285613181565b6014820191506131ea82846131b7565b6001820191508190509392505050565b7f4f70656e44414f4d656d626572736869704e46543a20696e76616c6964206d6560008201527f726b6c652070726f6f6600000000000000000000000000000000000000000000602082015250565b6000613256602a836123a9565b9150613261826131fa565b604082019050919050565b6000602082019050818103600083015261328581613249565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b60006132e86029836123a9565b91506132f38261328c565b604082019050919050565b60006020820190508181036000830152613317816132db565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061337a6026836123a9565b91506133858261331e565b604082019050919050565b600060208201905081810360008301526133a98161336d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806133f757607f821691505b6020821081141561340b5761340a6133b0565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061344b82612087565b915061345683612087565b92508261346657613465613411565b5b828204905092915050565b600061347c82612087565b915061348783612087565b92508282101561349a57613499612f22565b5b828203905092915050565b60006134b082612087565b91506134bb83612087565b9250826134cb576134ca613411565b5b828206905092915050565b60006134e182612087565b91506134ec83612087565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561352157613520612f22565b5b828201905092915050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006135886028836123a9565b91506135938261352c565b604082019050919050565b600060208201905081810360008301526135b78161357b565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061361a6025836123a9565b9150613625826135be565b604082019050919050565b600060208201905081810360008301526136498161360d565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006136ac602a836123a9565b91506136b782613650565b604082019050919050565b600060208201905081810360008301526136db8161369f565b9050919050565b600060408201905081810360008301526136fc818561284f565b90508181036020830152613710818461284f565b90509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006137756029836123a9565b915061378082613719565b604082019050919050565b600060208201905081810360008301526137a481613768565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006138076021836123a9565b9150613812826137ab565b604082019050919050565b60006020820190508181036000830152613836816137fa565b9050919050565b600060408201905061385260008301856120fd565b61385f60208301846120fd565b9392505050565b600081519050919050565b600082825260208201905092915050565b600061388d82613866565b6138978185613871565b93506138a78185602086016123ba565b6138b0816121ec565b840191505092915050565b600060a0820190506138d06000830188612928565b6138dd6020830187612928565b81810360408301526138ef818661284f565b90508181036060830152613903818561284f565b905081810360808301526139178184613882565b90509695505050505050565b60008151905061393281612153565b92915050565b60006020828403121561394e5761394d61201f565b5b600061395c84828501613923565b91505092915050565b60008160e01c9050919050565b600060033d11156139915760046000803e61398e600051613965565b90505b90565b600060443d10156139a457613a27565b6139ac612015565b60043d036004823e80513d602482011167ffffffffffffffff821117156139d4575050613a27565b808201805167ffffffffffffffff8111156139f25750505050613a27565b80602083010160043d038501811115613a0f575050505050613a27565b613a1e8260200185018661222c565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000613a866034836123a9565b9150613a9182613a2a565b604082019050919050565b60006020820190508181036000830152613ab581613a79565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000613b186028836123a9565b9150613b2382613abc565b604082019050919050565b60006020820190508181036000830152613b4781613b0b565b9050919050565b6000819050919050565b613b69613b6482612680565b613b4e565b82525050565b6000613b7b8285613b58565b602082019150613b8b8284613b58565b6020820191508190509392505050565b600060a082019050613bb06000830188612928565b613bbd6020830187612928565b613bca60408301866120fd565b613bd760608301856120fd565b8181036080830152613be98184613882565b9050969550505050505056fea264697066735822122032a1c9e29236c3c18dbc163180dcd88054d074efeacb1f5d2300a6b5f559a7ed64736f6c63430008090033ac7bed30976a9e81a333313a62bf9fc12c479b9250fc39f0fa061bf5fc2e038300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000005e68747470733a2f2f7261772e67697468756275736572636f6e74656e742e636f6d2f5468652d4f70656e44414f2f736f732d6d656d626572736869702d6e66742d636f6e7472616374732f6d61696e2f6d657461646174612f6a736f6e2f0000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101155760003560e01c80638da5cb5b116100a2578063dd896a1c11610071578063dd896a1c146102c8578063e985e9c5146102f8578063f0e4a05e14610328578063f242432a14610346578063f2fde38b1461036257610115565b80638da5cb5b146102565780639a3aa76614610274578063a22cb46514610290578063be0980e2146102ac57610115565b80632eb2c2d6116100e95780632eb2c2d6146101c65780632fc37ab2146101e25780634e1273f414610200578063715018a6146102305780637cb647591461023a57610115565b8062fdd58e1461011a57806301ffc9a71461014a57806302fe53051461017a5780630e89341c14610196575b600080fd5b610134600480360381019061012f91906120bd565b61037e565b604051610141919061210c565b60405180910390f35b610164600480360381019061015f919061217f565b610447565b60405161017191906121c7565b60405180910390f35b610194600480360381019061018f9190612328565b610529565b005b6101b060048036038101906101ab9190612371565b6105b1565b6040516101bd9190612426565b60405180910390f35b6101e060048036038101906101db91906125b1565b6105ec565b005b6101ea61068d565b6040516101f79190612699565b60405180910390f35b61021a60048036038101906102159190612777565b610693565b60405161022791906128ad565b60405180910390f35b6102386107ac565b005b610254600480360381019061024f91906128fb565b610834565b005b61025e6108ba565b60405161026b9190612937565b60405180910390f35b61028e60048036038101906102899190612371565b6108e4565b005b6102aa60048036038101906102a5919061297e565b61096a565b005b6102c660048036038101906102c19190612aba565b610980565b005b6102e260048036038101906102dd9190612b16565b610c12565b6040516102ef91906121c7565b60405180910390f35b610312600480360381019061030d9190612b43565b610c32565b60405161031f91906121c7565b60405180910390f35b610330610cc6565b60405161033d919061210c565b60405180910390f35b610360600480360381019061035b9190612b83565b610ccc565b005b61037c60048036038101906103779190612b16565b610d6d565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156103ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e690612c8c565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061051257507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610522575061052182610e65565b5b9050919050565b610531610ecf565b73ffffffffffffffffffffffffffffffffffffffff1661054f6108ba565b73ffffffffffffffffffffffffffffffffffffffff16146105a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161059c90612cf8565b60405180910390fd5b6105ae81610ed7565b50565b60606105bc82610ef1565b6105c583610f85565b6040516020016105d6929190612da0565b6040516020818303038152906040529050919050565b6105f4610ecf565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061063a575061063985610634610ecf565b610c32565b5b610679576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067090612e41565b60405180910390fd5b61068685858585856110e6565b5050505050565b60055481565b606081518351146106d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d090612ed3565b60405180910390fd5b6000835167ffffffffffffffff8111156106f6576106f56121fd565b5b6040519080825280602002602001820160405280156107245781602001602082028036833780820191505090505b50905060005b84518110156107a15761077185828151811061074957610748612ef3565b5b602002602001015185838151811061076457610763612ef3565b5b602002602001015161037e565b82828151811061078457610783612ef3565b5b6020026020010181815250508061079a90612f51565b905061072a565b508091505092915050565b6107b4610ecf565b73ffffffffffffffffffffffffffffffffffffffff166107d26108ba565b73ffffffffffffffffffffffffffffffffffffffff1614610828576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081f90612cf8565b60405180910390fd5b61083260006113fa565b565b61083c610ecf565b73ffffffffffffffffffffffffffffffffffffffff1661085a6108ba565b73ffffffffffffffffffffffffffffffffffffffff16146108b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a790612cf8565b60405180910390fd5b8060058190555050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6108ec610ecf565b73ffffffffffffffffffffffffffffffffffffffff1661090a6108ba565b73ffffffffffffffffffffffffffffffffffffffff1614610960576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095790612cf8565b60405180910390fd5b8060068190555050565b61097c610975610ecf565b83836114c0565b5050565b60065442106109c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb9061300c565b60405180910390fd5b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610a51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a489061309e565b60405180910390fd5b60038260ff161115610a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8f90613130565b60405180910390fd5b60003383604051602001610aad9291906131ce565b604051602081830303815290604052805190602001209050610ad2826005548361162d565b610b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b089061326c565b60405180910390fd5b6001600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060008360ff161415610b9357610b92336000600160405180602001604052806000815250611644565b5b60018360ff1611610bbb57610bba3360018060405180602001604052806000815250611644565b5b60028360ff1611610be457610be3336002600160405180602001604052806000815250611644565b5b60038360ff1611610c0d57610c0c336003600160405180602001604052806000815250611644565b5b505050565b60046020528060005260406000206000915054906101000a900460ff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60065481565b610cd4610ecf565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610d1a5750610d1985610d14610ecf565b610c32565b5b610d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d50906132fe565b60405180910390fd5b610d6685858585856117da565b5050505050565b610d75610ecf565b73ffffffffffffffffffffffffffffffffffffffff16610d936108ba565b73ffffffffffffffffffffffffffffffffffffffff1614610de9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de090612cf8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5090613390565b60405180910390fd5b610e62816113fa565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b8060029080519060200190610eed929190611f72565b5050565b606060028054610f00906133df565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2c906133df565b8015610f795780601f10610f4e57610100808354040283529160200191610f79565b820191906000526020600020905b815481529060010190602001808311610f5c57829003601f168201915b50505050509050919050565b60606000821415610fcd576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506110e1565b600082905060005b60008214610fff578080610fe890612f51565b915050600a82610ff89190613440565b9150610fd5565b60008167ffffffffffffffff81111561101b5761101a6121fd565b5b6040519080825280601f01601f19166020018201604052801561104d5781602001600182028036833780820191505090505b5090505b600085146110da576001826110669190613471565b9150600a8561107591906134a5565b603061108191906134d6565b60f81b81838151811061109757611096612ef3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856110d39190613440565b9450611051565b8093505050505b919050565b815183511461112a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111219061359e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561119a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119190613630565b60405180910390fd5b60006111a4610ecf565b90506111b4818787878787611a5c565b60005b84518110156113655760008582815181106111d5576111d4612ef3565b5b6020026020010151905060008583815181106111f4576111f3612ef3565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611295576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128c906136c2565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461134a91906134d6565b925050819055505050508061135e90612f51565b90506111b7565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516113dc9291906136e2565b60405180910390a46113f2818787878787611a64565b505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561152f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115269061378b565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161162091906121c7565b60405180910390a3505050565b60008261163a8584611c4b565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156116b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ab9061381d565b60405180910390fd5b60006116be610ecf565b90506116df816000876116d088611cfe565b6116d988611cfe565b87611a5c565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461173e91906134d6565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516117bc92919061383d565b60405180910390a46117d381600087878787611d78565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561184a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184190613630565b60405180910390fd5b6000611854610ecf565b905061187481878761186588611cfe565b61186e88611cfe565b87611a5c565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561190b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611902906136c2565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119c091906134d6565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051611a3d92919061383d565b60405180910390a4611a53828888888888611d78565b50505050505050565b505050505050565b611a838473ffffffffffffffffffffffffffffffffffffffff16611f5f565b15611c43578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401611ac99594939291906138bb565b602060405180830381600087803b158015611ae357600080fd5b505af1925050508015611b1457506040513d601f19601f82011682018060405250810190611b119190613938565b60015b611bba57611b20613972565b806308c379a01415611b7d5750611b35613994565b80611b405750611b7f565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b749190612426565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb190613a9c565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611c41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3890613b2e565b60405180910390fd5b505b505050505050565b60008082905060005b8451811015611cf3576000858281518110611c7257611c71612ef3565b5b60200260200101519050808311611cb3578281604051602001611c96929190613b6f565b604051602081830303815290604052805190602001209250611cdf565b8083604051602001611cc6929190613b6f565b6040516020818303038152906040528051906020012092505b508080611ceb90612f51565b915050611c54565b508091505092915050565b60606000600167ffffffffffffffff811115611d1d57611d1c6121fd565b5b604051908082528060200260200182016040528015611d4b5781602001602082028036833780820191505090505b5090508281600081518110611d6357611d62612ef3565b5b60200260200101818152505080915050919050565b611d978473ffffffffffffffffffffffffffffffffffffffff16611f5f565b15611f57578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611ddd959493929190613b9b565b602060405180830381600087803b158015611df757600080fd5b505af1925050508015611e2857506040513d601f19601f82011682018060405250810190611e259190613938565b60015b611ece57611e34613972565b806308c379a01415611e915750611e49613994565b80611e545750611e93565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e889190612426565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec590613a9c565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611f55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4c90613b2e565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b828054611f7e906133df565b90600052602060002090601f016020900481019282611fa05760008555611fe7565b82601f10611fb957805160ff1916838001178555611fe7565b82800160010185558215611fe7579182015b82811115611fe6578251825591602001919060010190611fcb565b5b509050611ff49190611ff8565b5090565b5b80821115612011576000816000905550600101611ff9565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061205482612029565b9050919050565b61206481612049565b811461206f57600080fd5b50565b6000813590506120818161205b565b92915050565b6000819050919050565b61209a81612087565b81146120a557600080fd5b50565b6000813590506120b781612091565b92915050565b600080604083850312156120d4576120d361201f565b5b60006120e285828601612072565b92505060206120f3858286016120a8565b9150509250929050565b61210681612087565b82525050565b600060208201905061212160008301846120fd565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61215c81612127565b811461216757600080fd5b50565b60008135905061217981612153565b92915050565b6000602082840312156121955761219461201f565b5b60006121a38482850161216a565b91505092915050565b60008115159050919050565b6121c1816121ac565b82525050565b60006020820190506121dc60008301846121b8565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612235826121ec565b810181811067ffffffffffffffff82111715612254576122536121fd565b5b80604052505050565b6000612267612015565b9050612273828261222c565b919050565b600067ffffffffffffffff821115612293576122926121fd565b5b61229c826121ec565b9050602081019050919050565b82818337600083830152505050565b60006122cb6122c684612278565b61225d565b9050828152602081018484840111156122e7576122e66121e7565b5b6122f28482856122a9565b509392505050565b600082601f83011261230f5761230e6121e2565b5b813561231f8482602086016122b8565b91505092915050565b60006020828403121561233e5761233d61201f565b5b600082013567ffffffffffffffff81111561235c5761235b612024565b5b612368848285016122fa565b91505092915050565b6000602082840312156123875761238661201f565b5b6000612395848285016120a8565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156123d85780820151818401526020810190506123bd565b838111156123e7576000848401525b50505050565b60006123f88261239e565b61240281856123a9565b93506124128185602086016123ba565b61241b816121ec565b840191505092915050565b6000602082019050818103600083015261244081846123ed565b905092915050565b600067ffffffffffffffff821115612463576124626121fd565b5b602082029050602081019050919050565b600080fd5b600061248c61248784612448565b61225d565b905080838252602082019050602084028301858111156124af576124ae612474565b5b835b818110156124d857806124c488826120a8565b8452602084019350506020810190506124b1565b5050509392505050565b600082601f8301126124f7576124f66121e2565b5b8135612507848260208601612479565b91505092915050565b600067ffffffffffffffff82111561252b5761252a6121fd565b5b612534826121ec565b9050602081019050919050565b600061255461254f84612510565b61225d565b9050828152602081018484840111156125705761256f6121e7565b5b61257b8482856122a9565b509392505050565b600082601f830112612598576125976121e2565b5b81356125a8848260208601612541565b91505092915050565b600080600080600060a086880312156125cd576125cc61201f565b5b60006125db88828901612072565b95505060206125ec88828901612072565b945050604086013567ffffffffffffffff81111561260d5761260c612024565b5b612619888289016124e2565b935050606086013567ffffffffffffffff81111561263a57612639612024565b5b612646888289016124e2565b925050608086013567ffffffffffffffff81111561266757612666612024565b5b61267388828901612583565b9150509295509295909350565b6000819050919050565b61269381612680565b82525050565b60006020820190506126ae600083018461268a565b92915050565b600067ffffffffffffffff8211156126cf576126ce6121fd565b5b602082029050602081019050919050565b60006126f36126ee846126b4565b61225d565b9050808382526020820190506020840283018581111561271657612715612474565b5b835b8181101561273f578061272b8882612072565b845260208401935050602081019050612718565b5050509392505050565b600082601f83011261275e5761275d6121e2565b5b813561276e8482602086016126e0565b91505092915050565b6000806040838503121561278e5761278d61201f565b5b600083013567ffffffffffffffff8111156127ac576127ab612024565b5b6127b885828601612749565b925050602083013567ffffffffffffffff8111156127d9576127d8612024565b5b6127e5858286016124e2565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61282481612087565b82525050565b6000612836838361281b565b60208301905092915050565b6000602082019050919050565b600061285a826127ef565b61286481856127fa565b935061286f8361280b565b8060005b838110156128a0578151612887888261282a565b975061289283612842565b925050600181019050612873565b5085935050505092915050565b600060208201905081810360008301526128c7818461284f565b905092915050565b6128d881612680565b81146128e357600080fd5b50565b6000813590506128f5816128cf565b92915050565b6000602082840312156129115761291061201f565b5b600061291f848285016128e6565b91505092915050565b61293181612049565b82525050565b600060208201905061294c6000830184612928565b92915050565b61295b816121ac565b811461296657600080fd5b50565b60008135905061297881612952565b92915050565b600080604083850312156129955761299461201f565b5b60006129a385828601612072565b92505060206129b485828601612969565b9150509250929050565b600060ff82169050919050565b6129d4816129be565b81146129df57600080fd5b50565b6000813590506129f1816129cb565b92915050565b600067ffffffffffffffff821115612a1257612a116121fd565b5b602082029050602081019050919050565b6000612a36612a31846129f7565b61225d565b90508083825260208201905060208402830185811115612a5957612a58612474565b5b835b81811015612a825780612a6e88826128e6565b845260208401935050602081019050612a5b565b5050509392505050565b600082601f830112612aa157612aa06121e2565b5b8135612ab1848260208601612a23565b91505092915050565b60008060408385031215612ad157612ad061201f565b5b6000612adf858286016129e2565b925050602083013567ffffffffffffffff811115612b0057612aff612024565b5b612b0c85828601612a8c565b9150509250929050565b600060208284031215612b2c57612b2b61201f565b5b6000612b3a84828501612072565b91505092915050565b60008060408385031215612b5a57612b5961201f565b5b6000612b6885828601612072565b9250506020612b7985828601612072565b9150509250929050565b600080600080600060a08688031215612b9f57612b9e61201f565b5b6000612bad88828901612072565b9550506020612bbe88828901612072565b9450506040612bcf888289016120a8565b9350506060612be0888289016120a8565b925050608086013567ffffffffffffffff811115612c0157612c00612024565b5b612c0d88828901612583565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000612c76602b836123a9565b9150612c8182612c1a565b604082019050919050565b60006020820190508181036000830152612ca581612c69565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612ce26020836123a9565b9150612ced82612cac565b602082019050919050565b60006020820190508181036000830152612d1181612cd5565b9050919050565b600081905092915050565b6000612d2e8261239e565b612d388185612d18565b9350612d488185602086016123ba565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000612d8a600583612d18565b9150612d9582612d54565b600582019050919050565b6000612dac8285612d23565b9150612db88284612d23565b9150612dc382612d7d565b91508190509392505050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000612e2b6032836123a9565b9150612e3682612dcf565b604082019050919050565b60006020820190508181036000830152612e5a81612e1e565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000612ebd6029836123a9565b9150612ec882612e61565b604082019050919050565b60006020820190508181036000830152612eec81612eb0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612f5c82612087565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612f8f57612f8e612f22565b5b600182019050919050565b7f4f70656e44414f4d656d626572736869704e46543a20636c61696d207065726960008201527f6f64206973206f76657200000000000000000000000000000000000000000000602082015250565b6000612ff6602a836123a9565b915061300182612f9a565b604082019050919050565b6000602082019050818103600083015261302581612fe9565b9050919050565b7f4f70656e44414f4d656d626572736869704e46543a20616c726561647920636c60008201527f61696d6564000000000000000000000000000000000000000000000000000000602082015250565b60006130886025836123a9565b91506130938261302c565b604082019050919050565b600060208201905081810360008301526130b78161307b565b9050919050565b7f4f70656e44414f4d656d626572736869704e46543a20696e76616c696420746960008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b600061311a6022836123a9565b9150613125826130be565b604082019050919050565b600060208201905081810360008301526131498161310d565b9050919050565b60008160601b9050919050565b600061316882613150565b9050919050565b600061317a8261315d565b9050919050565b61319261318d82612049565b61316f565b82525050565b60008160f81b9050919050565b60006131b082613198565b9050919050565b6131c86131c3826129be565b6131a5565b82525050565b60006131da8285613181565b6014820191506131ea82846131b7565b6001820191508190509392505050565b7f4f70656e44414f4d656d626572736869704e46543a20696e76616c6964206d6560008201527f726b6c652070726f6f6600000000000000000000000000000000000000000000602082015250565b6000613256602a836123a9565b9150613261826131fa565b604082019050919050565b6000602082019050818103600083015261328581613249565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b60006132e86029836123a9565b91506132f38261328c565b604082019050919050565b60006020820190508181036000830152613317816132db565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061337a6026836123a9565b91506133858261331e565b604082019050919050565b600060208201905081810360008301526133a98161336d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806133f757607f821691505b6020821081141561340b5761340a6133b0565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061344b82612087565b915061345683612087565b92508261346657613465613411565b5b828204905092915050565b600061347c82612087565b915061348783612087565b92508282101561349a57613499612f22565b5b828203905092915050565b60006134b082612087565b91506134bb83612087565b9250826134cb576134ca613411565b5b828206905092915050565b60006134e182612087565b91506134ec83612087565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561352157613520612f22565b5b828201905092915050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006135886028836123a9565b91506135938261352c565b604082019050919050565b600060208201905081810360008301526135b78161357b565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061361a6025836123a9565b9150613625826135be565b604082019050919050565b600060208201905081810360008301526136498161360d565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006136ac602a836123a9565b91506136b782613650565b604082019050919050565b600060208201905081810360008301526136db8161369f565b9050919050565b600060408201905081810360008301526136fc818561284f565b90508181036020830152613710818461284f565b90509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006137756029836123a9565b915061378082613719565b604082019050919050565b600060208201905081810360008301526137a481613768565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006138076021836123a9565b9150613812826137ab565b604082019050919050565b60006020820190508181036000830152613836816137fa565b9050919050565b600060408201905061385260008301856120fd565b61385f60208301846120fd565b9392505050565b600081519050919050565b600082825260208201905092915050565b600061388d82613866565b6138978185613871565b93506138a78185602086016123ba565b6138b0816121ec565b840191505092915050565b600060a0820190506138d06000830188612928565b6138dd6020830187612928565b81810360408301526138ef818661284f565b90508181036060830152613903818561284f565b905081810360808301526139178184613882565b90509695505050505050565b60008151905061393281612153565b92915050565b60006020828403121561394e5761394d61201f565b5b600061395c84828501613923565b91505092915050565b60008160e01c9050919050565b600060033d11156139915760046000803e61398e600051613965565b90505b90565b600060443d10156139a457613a27565b6139ac612015565b60043d036004823e80513d602482011167ffffffffffffffff821117156139d4575050613a27565b808201805167ffffffffffffffff8111156139f25750505050613a27565b80602083010160043d038501811115613a0f575050505050613a27565b613a1e8260200185018661222c565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000613a866034836123a9565b9150613a9182613a2a565b604082019050919050565b60006020820190508181036000830152613ab581613a79565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000613b186028836123a9565b9150613b2382613abc565b604082019050919050565b60006020820190508181036000830152613b4781613b0b565b9050919050565b6000819050919050565b613b69613b6482612680565b613b4e565b82525050565b6000613b7b8285613b58565b602082019150613b8b8284613b58565b6020820191508190509392505050565b600060a082019050613bb06000830188612928565b613bbd6020830187612928565b613bca60408301866120fd565b613bd760608301856120fd565b8181036080830152613be98184613882565b9050969550505050505056fea264697066735822122032a1c9e29236c3c18dbc163180dcd88054d074efeacb1f5d2300a6b5f559a7ed64736f6c63430008090033

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

ac7bed30976a9e81a333313a62bf9fc12c479b9250fc39f0fa061bf5fc2e038300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000005e68747470733a2f2f7261772e67697468756275736572636f6e74656e742e636f6d2f5468652d4f70656e44414f2f736f732d6d656d626572736869702d6e66742d636f6e7472616374732f6d61696e2f6d657461646174612f6a736f6e2f0000

-----Decoded View---------------
Arg [0] : root (bytes32): 0xac7bed30976a9e81a333313a62bf9fc12c479b9250fc39f0fa061bf5fc2e0383
Arg [1] : claimEndTime (uint256): 0
Arg [2] : uri_ (string): https://raw.githubusercontent.com/The-OpenDAO/sos-membership-nft-contracts/main/metadata/json/

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : ac7bed30976a9e81a333313a62bf9fc12c479b9250fc39f0fa061bf5fc2e0383
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 000000000000000000000000000000000000000000000000000000000000005e
Arg [4] : 68747470733a2f2f7261772e67697468756275736572636f6e74656e742e636f
Arg [5] : 6d2f5468652d4f70656e44414f2f736f732d6d656d626572736869702d6e6674
Arg [6] : 2d636f6e7472616374732f6d61696e2f6d657461646174612f6a736f6e2f0000


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.