ETH Price: $3,084.85 (-1.17%)

Token

InvestMan_JustForFun (JFF)
 

Overview

Max Total Supply

1,000 JFF

Holders

216

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0x69c2b78bbb88eb2b74b32b52488bccddd2abd074
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
InvestManJustForFun

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : InvestManJustForFun.sol
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract InvestManJustForFun is ERC1155Supply, ERC1155Burnable, Ownable, Pausable, ReentrancyGuard {
    string public name;
    string public symbol;

    mapping(uint256 => uint256) public maxSupply;
    mapping(address => mapping(uint256 => uint256)) private _minted;

    uint256 public maxFreeMint = 1;
    uint256 public maxAllowlistMint = 20;
    uint256 public maxPublicMint = 20;

    uint256 public maxQuantityPublicMint = 20;

    bytes32 public freeMerkleRoot;
    bytes32 public allowlistMerkleRoot;

    uint256 public allowlistPrice = 0.13 ether;
    uint256 public publicPrice = 0.14 ether;

    enum Phase {
        DEV,
        FREE,
        ALLOWLIST,
        PUBLIC
    }

    struct PhaseConfig {
        uint256 startTime;
        uint256 duration;
    }

    mapping(Phase => PhaseConfig) public phases;

    constructor(string memory _baseUri, bytes32 _freeMerkleRoot, bytes32 _allowlistMerkleRoot) ERC1155(_baseUri) {
        name = "InvestMan_JustForFun";
        symbol = "JFF";

        createToken(1, 1000);

        freeMerkleRoot = _freeMerkleRoot;
        allowlistMerkleRoot = _allowlistMerkleRoot;

        phases[Phase.DEV] = PhaseConfig(1650186000, 21600);
        phases[Phase.FREE] = PhaseConfig(1650186000, 5400);
        phases[Phase.ALLOWLIST] = PhaseConfig(1650191400, 9000);
        phases[Phase.PUBLIC] = PhaseConfig(1650200400, 7200);
    }

    // mint functions
    function _isMintable(uint256 id, uint256 quantity, Phase phase, uint256 price, uint256 limit) internal {
        // solhint-disable not-rely-on-time
        require(block.timestamp >= phases[phase].startTime && block.timestamp <= phases[phase].startTime + phases[phase].duration,  "Minting is closed");
        require(maxSupply[id] > 0, "Token is not defined");
        require(totalSupply(id) + quantity <= maxSupply[id], "Reached max supply");
        require(_minted[msg.sender][id] + quantity <= limit, "Exceed mint limit");
        require(price * quantity == msg.value, "Invalid amount");
    }

    function devMint(uint256 id, uint256 quantity) external onlyOwner {
        _isMintable(id, quantity, Phase.DEV, 0, maxSupply[id]);

        _mint(owner(), id, quantity, "");
    }

    function freeMint(uint256 id, uint256 quantity, bytes32[] calldata _merkleProof) external whenNotPaused {
        _isMintable(id, quantity, Phase.FREE, 0, maxFreeMint);

        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(_merkleProof, allowlistMerkleRoot, leaf), "Invalid Proof");

        _mint(msg.sender, id, quantity, "");
    }

    function allowlistMint(uint256 id, uint256 quantity, bytes32[] calldata _merkleProof) external payable whenNotPaused {
        _isMintable(id, quantity, Phase.ALLOWLIST, allowlistPrice, maxAllowlistMint);

        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(_merkleProof, allowlistMerkleRoot, leaf), "Invalid Proof");

        _mint(msg.sender, id, quantity, "");
    }

    function publicMint(uint256 id, uint256 quantity) external payable whenNotPaused {
        require(quantity <= maxQuantityPublicMint, "Reached max quantity per tx");
        _isMintable(id, quantity, Phase.PUBLIC, publicPrice, maxPublicMint);

        _mint(msg.sender, id, quantity, "");
    }

    // admin functions
    function withdraw() external onlyOwner nonReentrant {
        // solhint-disable avoid-low-level-calls
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }

    function pause() external onlyOwner {
        _pause();
    }

    function unpause() external onlyOwner {
        _unpause();
    }

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

     function setFreeMerkleRoot(bytes32 _freeMerkleRoot) external onlyOwner {
        freeMerkleRoot = _freeMerkleRoot;
    }

    function setAllowlistMerkleRoot(bytes32 _allowlistMerkleRoot) external onlyOwner {
        allowlistMerkleRoot = _allowlistMerkleRoot;
    }

    function setPhases(Phase[] calldata _phases, uint256[] calldata _startTime, uint256[] calldata _duration) external onlyOwner {
        require(_phases.length == _startTime.length || _phases.length == _duration.length, "Invalid length");
        for (uint256 i = 0; i < _phases.length; i++) {
            phases[_phases[i]].startTime = _startTime[i];
            phases[_phases[i]].duration = _duration[i];
        }
    }

    function setPublicPrice(uint256 _publicPrice) external onlyOwner {
        publicPrice = _publicPrice;
    }

    function setAllowlistPrice(uint256 _allowlistPrice) external onlyOwner {
        allowlistPrice = _allowlistPrice;
    }

    function setMaxFreeMint(uint256 _maxFreeMint) external onlyOwner {
        maxFreeMint = _maxFreeMint;
    }

    function setMaxAllowlistMint(uint256 _maxAllowlistMint) external onlyOwner {
        maxAllowlistMint = _maxAllowlistMint;
    }

    function setMaxPublicMint(uint256 _maxPublicMint) external onlyOwner {
        maxPublicMint = _maxPublicMint;
    }

    function createToken(uint256 id, uint256 _totalSupply) public onlyOwner {
        require(!exists(id), "Token is existed");
        maxSupply[id] = _totalSupply;
    }
    
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override(ERC1155, ERC1155Supply) whenNotPaused {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);

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

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

File 2 of 15 : ERC1155Supply.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Supply.sol)

pragma solidity ^0.8.0;

import "../ERC1155.sol";

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../ERC1155.sol";

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

        _burn(account, id, value);
    }

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

        _burnBatch(account, ids, values);
    }
}

File 4 of 15 : 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 5 of 15 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 6 of 15 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 7 of 15 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
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 = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

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

File 8 of 15 : 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 9 of 15 : 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 10 of 15 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 15 : 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 14 of 15 : 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 15 of 15 : 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":"string","name":"_baseUri","type":"string"},{"internalType":"bytes32","name":"_freeMerkleRoot","type":"bytes32"},{"internalType":"bytes32","name":"_allowlistMerkleRoot","type":"bytes32"}],"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"allowlistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"allowlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"allowlistPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"_totalSupply","type":"uint256"}],"name":"createToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"freeMint","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":"maxAllowlistMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxQuantityPublicMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum InvestManJustForFun.Phase","name":"","type":"uint8"}],"name":"phases","outputs":[{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"bytes32","name":"_allowlistMerkleRoot","type":"bytes32"}],"name":"setAllowlistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allowlistPrice","type":"uint256"}],"name":"setAllowlistPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_freeMerkleRoot","type":"bytes32"}],"name":"setFreeMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxAllowlistMint","type":"uint256"}],"name":"setMaxAllowlistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxFreeMint","type":"uint256"}],"name":"setMaxFreeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPublicMint","type":"uint256"}],"name":"setMaxPublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum InvestManJustForFun.Phase[]","name":"_phases","type":"uint8[]"},{"internalType":"uint256[]","name":"_startTime","type":"uint256[]"},{"internalType":"uint256[]","name":"_duration","type":"uint256[]"}],"name":"setPhases","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicPrice","type":"uint256"}],"name":"setPublicPrice","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":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526001600a556014600b556014600c556014600d556701cdda4faccd00006010556701f161421c8e00006011553480156200003d57600080fd5b506040516200694f3803806200694f833981810160405281019062000063919062000818565b8262000075816200033f60201b60201c565b50620000966200008a6200035b60201b60201c565b6200036360201b60201c565b6000600460146101000a81548160ff02191690831515021790555060016005819055506040518060400160405280601481526020017f496e766573744d616e5f4a757374466f7246756e000000000000000000000000815250600690805190602001906200010692919062000590565b506040518060400160405280600381526020017f4a46460000000000000000000000000000000000000000000000000000000000815250600790805190602001906200015492919062000590565b506200016a60016103e86200042960201b60201c565b81600e8190555080600f81905550604051806040016040528063625bd710815260200161546081525060126000806003811115620001ad57620001ac62000893565b5b6003811115620001c257620001c162000893565b5b81526020019081526020016000206000820151816000015560208201518160010155905050604051806040016040528063625bd710815260200161151881525060126000600160038111156200021d576200021c62000893565b5b600381111562000232576200023162000893565b5b81526020019081526020016000206000820151816000015560208201518160010155905050604051806040016040528063625bec28815260200161232881525060126000600260038111156200028d576200028c62000893565b5b6003811115620002a257620002a162000893565b5b81526020019081526020016000206000820151816000015560208201518160010155905050604051806040016040528063625c0f508152602001611c2081525060126000600380811115620002fc57620002fb62000893565b5b600381111562000311576200031062000893565b5b8152602001908152602001600020600082015181600001556020820151816001015590505050505062000a1c565b80600290805190602001906200035792919062000590565b5050565b600033905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620004396200035b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200045f6200052860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620004b8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004af9062000923565b60405180910390fd5b620004c9826200055260201b60201c565b156200050c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005039062000995565b60405180910390fd5b8060086000848152602001908152602001600020819055505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000806200056b836200057360201b62001d0d1760201c565b119050919050565b600060036000838152602001908152602001600020549050919050565b8280546200059e90620009e6565b90600052602060002090601f016020900481019282620005c257600085556200060e565b82601f10620005dd57805160ff19168380011785556200060e565b828001600101855582156200060e579182015b828111156200060d578251825591602001919060010190620005f0565b5b5090506200061d919062000621565b5090565b5b808211156200063c57600081600090555060010162000622565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620006a9826200065e565b810181811067ffffffffffffffff82111715620006cb57620006ca6200066f565b5b80604052505050565b6000620006e062000640565b9050620006ee82826200069e565b919050565b600067ffffffffffffffff8211156200071157620007106200066f565b5b6200071c826200065e565b9050602081019050919050565b60005b83811015620007495780820151818401526020810190506200072c565b8381111562000759576000848401525b50505050565b6000620007766200077084620006f3565b620006d4565b90508281526020810184848401111562000795576200079462000659565b5b620007a284828562000729565b509392505050565b600082601f830112620007c257620007c162000654565b5b8151620007d48482602086016200075f565b91505092915050565b6000819050919050565b620007f281620007dd565b8114620007fe57600080fd5b50565b6000815190506200081281620007e7565b92915050565b6000806000606084860312156200083457620008336200064a565b5b600084015167ffffffffffffffff8111156200085557620008546200064f565b5b6200086386828701620007aa565b9350506020620008768682870162000801565b9250506040620008898682870162000801565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006200090b602083620008c2565b91506200091882620008d3565b602082019050919050565b600060208201905081810360008301526200093e81620008fc565b9050919050565b7f546f6b656e206973206578697374656400000000000000000000000000000000600082015250565b60006200097d601083620008c2565b91506200098a8262000945565b602082019050919050565b60006020820190508181036000830152620009b0816200096e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620009ff57607f821691505b6020821081141562000a165762000a15620009b7565b5b50919050565b615f238062000a2c6000396000f3fe6080604052600436106102715760003560e01c80638456cb591161014f578063b28673fa116100c1578063e985e9c51161007a578063e985e9c51461090c578063f242432a14610949578063f2fde38b14610972578063f48a2e031461099b578063f5298aca146109c4578063f95df414146109ed57610271565b8063b28673fa146107fc578063bcb49d9e14610825578063bd85b03914610850578063bedbf0d81461088d578063c6275255146108b8578063cabadaa0146108e157610271565b806398ae99a81161011357806398ae99a81461070f5780639aa289ce1461072b578063a22cb46514610754578063a591252d1461077d578063a5b985a2146107a8578063a945bf80146107d157610271565b80638456cb591461063a578063869f7594146106515780638da5cb5b1461068e57806390967a52146106b957806395d89b41146106e457610271565b80633ccfd60b116101e8578063638df30b116101ac578063638df30b1461054157806369eee0051461056a5780636b20c454146105a8578063715018a6146105d1578063742a4c9b146105e8578063817cc12d1461061157610271565b80633ccfd60b1461046e5780633f4ba83a146104855780634e1273f41461049c5780634f558e79146104d95780635c975abb1461051657610271565b8063270ab52c1161023a578063270ab52c14610381578063293108e0146103aa5780632a805069146103d55780632d945cb9146103fe5780632eb2c2d61461041a5780633a2528de1461044357610271565b8062fdd58e1461027657806301ffc9a7146102b357806302fe5305146102f057806306fdde03146103195780630e89341c14610344575b600080fd5b34801561028257600080fd5b5061029d60048036038101906102989190613e23565b610a16565b6040516102aa9190613e72565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d59190613ee5565b610adf565b6040516102e79190613f2d565b60405180910390f35b3480156102fc57600080fd5b506103176004803603810190610312919061408e565b610bc1565b005b34801561032557600080fd5b5061032e610c49565b60405161033b919061415f565b60405180910390f35b34801561035057600080fd5b5061036b60048036038101906103669190614181565b610cd7565b604051610378919061415f565b60405180910390f35b34801561038d57600080fd5b506103a860048036038101906103a39190614181565b610d6b565b005b3480156103b657600080fd5b506103bf610df1565b6040516103cc91906141c7565b60405180910390f35b3480156103e157600080fd5b506103fc60048036038101906103f791906141e2565b610df7565b005b61041860048036038101906104139190614282565b610ed8565b005b34801561042657600080fd5b50610441600480360381019061043c919061445a565b61100c565b005b34801561044f57600080fd5b506104586110ad565b6040516104659190613e72565b60405180910390f35b34801561047a57600080fd5b506104836110b3565b005b34801561049157600080fd5b5061049a611234565b005b3480156104a857600080fd5b506104c360048036038101906104be91906145ec565b6112ba565b6040516104d09190614722565b60405180910390f35b3480156104e557600080fd5b5061050060048036038101906104fb9190614181565b6113d3565b60405161050d9190613f2d565b60405180910390f35b34801561052257600080fd5b5061052b6113e7565b6040516105389190613f2d565b60405180910390f35b34801561054d57600080fd5b5061056860048036038101906105639190614770565b6113fe565b005b34801561057657600080fd5b50610591600480360381019061058c91906147c2565b611484565b60405161059f9291906147ef565b60405180910390f35b3480156105b457600080fd5b506105cf60048036038101906105ca9190614818565b6114a8565b005b3480156105dd57600080fd5b506105e6611545565b005b3480156105f457600080fd5b5061060f600480360381019061060a9190614181565b6115cd565b005b34801561061d57600080fd5b5061063860048036038101906106339190614181565b611653565b005b34801561064657600080fd5b5061064f6116d9565b005b34801561065d57600080fd5b5061067860048036038101906106739190614181565b61175f565b6040516106859190613e72565b60405180910390f35b34801561069a57600080fd5b506106a3611777565b6040516106b091906148b2565b60405180910390f35b3480156106c557600080fd5b506106ce6117a1565b6040516106db9190613e72565b60405180910390f35b3480156106f057600080fd5b506106f96117a7565b604051610706919061415f565b60405180910390f35b610729600480360381019061072491906141e2565b611835565b005b34801561073757600080fd5b50610752600480360381019061074d9190614282565b6118f3565b005b34801561076057600080fd5b5061077b600480360381019061077691906148f9565b611a26565b005b34801561078957600080fd5b50610792611a3c565b60405161079f9190613e72565b60405180910390f35b3480156107b457600080fd5b506107cf60048036038101906107ca91906141e2565b611a42565b005b3480156107dd57600080fd5b506107e6611b05565b6040516107f39190613e72565b60405180910390f35b34801561080857600080fd5b50610823600480360381019061081e91906149e5565b611b0b565b005b34801561083157600080fd5b5061083a611d07565b6040516108479190613e72565b60405180910390f35b34801561085c57600080fd5b5061087760048036038101906108729190614181565b611d0d565b6040516108849190613e72565b60405180910390f35b34801561089957600080fd5b506108a2611d2a565b6040516108af91906141c7565b60405180910390f35b3480156108c457600080fd5b506108df60048036038101906108da9190614181565b611d30565b005b3480156108ed57600080fd5b506108f6611db6565b6040516109039190613e72565b60405180910390f35b34801561091857600080fd5b50610933600480360381019061092e9190614a99565b611dbc565b6040516109409190613f2d565b60405180910390f35b34801561095557600080fd5b50610970600480360381019061096b9190614ad9565b611e50565b005b34801561097e57600080fd5b5061099960048036038101906109949190614b70565b611ef1565b005b3480156109a757600080fd5b506109c260048036038101906109bd9190614181565b611fe9565b005b3480156109d057600080fd5b506109eb60048036038101906109e69190614b9d565b61206f565b005b3480156109f957600080fd5b50610a146004803603810190610a0f9190614770565b61210c565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7e90614c62565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610baa57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bba5750610bb982612192565b5b9050919050565b610bc96121fc565b73ffffffffffffffffffffffffffffffffffffffff16610be7611777565b73ffffffffffffffffffffffffffffffffffffffff1614610c3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3490614cce565b60405180910390fd5b610c4681612204565b50565b60068054610c5690614d1d565b80601f0160208091040260200160405190810160405280929190818152602001828054610c8290614d1d565b8015610ccf5780601f10610ca457610100808354040283529160200191610ccf565b820191906000526020600020905b815481529060010190602001808311610cb257829003601f168201915b505050505081565b606060028054610ce690614d1d565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1290614d1d565b8015610d5f5780601f10610d3457610100808354040283529160200191610d5f565b820191906000526020600020905b815481529060010190602001808311610d4257829003601f168201915b50505050509050919050565b610d736121fc565b73ffffffffffffffffffffffffffffffffffffffff16610d91611777565b73ffffffffffffffffffffffffffffffffffffffff1614610de7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dde90614cce565b60405180910390fd5b80600c8190555050565b600f5481565b610dff6121fc565b73ffffffffffffffffffffffffffffffffffffffff16610e1d611777565b73ffffffffffffffffffffffffffffffffffffffff1614610e73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6a90614cce565b60405180910390fd5b610e7c826113d3565b15610ebc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb390614d9b565b60405180910390fd5b8060086000848152602001908152602001600020819055505050565b610ee06113e7565b15610f20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1790614e07565b60405180910390fd5b610f3284846002601054600b5461221e565b600033604051602001610f459190614e6f565b604051602081830303815290604052805190602001209050610fab838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600f54836124d7565b610fea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe190614ed6565b60405180910390fd5b611005338686604051806020016040528060008152506124ee565b5050505050565b6110146121fc565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061105a5750611059856110546121fc565b611dbc565b5b611099576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109090614f68565b60405180910390fd5b6110a68585858585612684565b5050505050565b600d5481565b6110bb6121fc565b73ffffffffffffffffffffffffffffffffffffffff166110d9611777565b73ffffffffffffffffffffffffffffffffffffffff161461112f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112690614cce565b60405180910390fd5b60026005541415611175576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116c90614fd4565b60405180910390fd5b600260058190555060003373ffffffffffffffffffffffffffffffffffffffff16476040516111a390615025565b60006040518083038185875af1925050503d80600081146111e0576040519150601f19603f3d011682016040523d82523d6000602084013e6111e5565b606091505b5050905080611229576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122090615086565b60405180910390fd5b506001600581905550565b61123c6121fc565b73ffffffffffffffffffffffffffffffffffffffff1661125a611777565b73ffffffffffffffffffffffffffffffffffffffff16146112b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a790614cce565b60405180910390fd5b6112b8612998565b565b60608151835114611300576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f790615118565b60405180910390fd5b6000835167ffffffffffffffff81111561131d5761131c613f63565b5b60405190808252806020026020018201604052801561134b5781602001602082028036833780820191505090505b50905060005b84518110156113c8576113988582815181106113705761136f615138565b5b602002602001015185838151811061138b5761138a615138565b5b6020026020010151610a16565b8282815181106113ab576113aa615138565b5b602002602001018181525050806113c190615196565b9050611351565b508091505092915050565b6000806113df83611d0d565b119050919050565b6000600460149054906101000a900460ff16905090565b6114066121fc565b73ffffffffffffffffffffffffffffffffffffffff16611424611777565b73ffffffffffffffffffffffffffffffffffffffff161461147a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147190614cce565b60405180910390fd5b80600e8190555050565b60126020528060005260406000206000915090508060000154908060010154905082565b6114b06121fc565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806114f657506114f5836114f06121fc565b611dbc565b5b611535576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152c90615251565b60405180910390fd5b611540838383612a3a565b505050565b61154d6121fc565b73ffffffffffffffffffffffffffffffffffffffff1661156b611777565b73ffffffffffffffffffffffffffffffffffffffff16146115c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b890614cce565b60405180910390fd5b6115cb6000612ceb565b565b6115d56121fc565b73ffffffffffffffffffffffffffffffffffffffff166115f3611777565b73ffffffffffffffffffffffffffffffffffffffff1614611649576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164090614cce565b60405180910390fd5b80600a8190555050565b61165b6121fc565b73ffffffffffffffffffffffffffffffffffffffff16611679611777565b73ffffffffffffffffffffffffffffffffffffffff16146116cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c690614cce565b60405180910390fd5b80600b8190555050565b6116e16121fc565b73ffffffffffffffffffffffffffffffffffffffff166116ff611777565b73ffffffffffffffffffffffffffffffffffffffff1614611755576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174c90614cce565b60405180910390fd5b61175d612db1565b565b60086020528060005260406000206000915090505481565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60105481565b600780546117b490614d1d565b80601f01602080910402602001604051908101604052809291908181526020018280546117e090614d1d565b801561182d5780601f106118025761010080835404028352916020019161182d565b820191906000526020600020905b81548152906001019060200180831161181057829003601f168201915b505050505081565b61183d6113e7565b1561187d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187490614e07565b60405180910390fd5b600d548111156118c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b9906152bd565b60405180910390fd5b6118d482826003601154600c5461221e565b6118ef338383604051806020016040528060008152506124ee565b5050565b6118fb6113e7565b1561193b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193290614e07565b60405180910390fd5b61194c848460016000600a5461221e565b60003360405160200161195f9190614e6f565b6040516020818303038152906040528051906020012090506119c5838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600f54836124d7565b611a04576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fb90614ed6565b60405180910390fd5b611a1f338686604051806020016040528060008152506124ee565b5050505050565b611a38611a316121fc565b8383612e54565b5050565b600a5481565b611a4a6121fc565b73ffffffffffffffffffffffffffffffffffffffff16611a68611777565b73ffffffffffffffffffffffffffffffffffffffff1614611abe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab590614cce565b60405180910390fd5b611adf8282600080600860008881526020019081526020016000205461221e565b611b01611aea611777565b8383604051806020016040528060008152506124ee565b5050565b60115481565b611b136121fc565b73ffffffffffffffffffffffffffffffffffffffff16611b31611777565b73ffffffffffffffffffffffffffffffffffffffff1614611b87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7e90614cce565b60405180910390fd5b83839050868690501480611ba057508181905086869050145b611bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd690615329565b60405180910390fd5b60005b86869050811015611cfe57848482818110611c0057611bff615138565b5b9050602002013560126000898985818110611c1e57611c1d615138565b5b9050602002016020810190611c3391906147c2565b6003811115611c4557611c44615349565b5b6003811115611c5757611c56615349565b5b815260200190815260200160002060000181905550828282818110611c7f57611c7e615138565b5b9050602002013560126000898985818110611c9d57611c9c615138565b5b9050602002016020810190611cb291906147c2565b6003811115611cc457611cc3615349565b5b6003811115611cd657611cd5615349565b5b8152602001908152602001600020600101819055508080611cf690615196565b915050611be2565b50505050505050565b600b5481565b600060036000838152602001908152602001600020549050919050565b600e5481565b611d386121fc565b73ffffffffffffffffffffffffffffffffffffffff16611d56611777565b73ffffffffffffffffffffffffffffffffffffffff1614611dac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da390614cce565b60405180910390fd5b8060118190555050565b600c5481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e586121fc565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611e9e5750611e9d85611e986121fc565b611dbc565b5b611edd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed490615251565b60405180910390fd5b611eea8585858585612fc1565b5050505050565b611ef96121fc565b73ffffffffffffffffffffffffffffffffffffffff16611f17611777565b73ffffffffffffffffffffffffffffffffffffffff1614611f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6490614cce565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611fdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd4906153ea565b60405180910390fd5b611fe681612ceb565b50565b611ff16121fc565b73ffffffffffffffffffffffffffffffffffffffff1661200f611777565b73ffffffffffffffffffffffffffffffffffffffff1614612065576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205c90614cce565b60405180910390fd5b8060108190555050565b6120776121fc565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806120bd57506120bc836120b76121fc565b611dbc565b5b6120fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f390615251565b60405180910390fd5b612107838383613243565b505050565b6121146121fc565b73ffffffffffffffffffffffffffffffffffffffff16612132611777565b73ffffffffffffffffffffffffffffffffffffffff1614612188576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217f90614cce565b60405180910390fd5b80600f8190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b806002908051906020019061221a929190613cd8565b5050565b6012600084600381111561223557612234615349565b5b600381111561224757612246615349565b5b81526020019081526020016000206000015442101580156122e757506012600084600381111561227a57612279615349565b5b600381111561228c5761228b615349565b5b815260200190815260200160002060010154601260008560038111156122b5576122b4615349565b5b60038111156122c7576122c6615349565b5b8152602001908152602001600020600001546122e3919061540a565b4211155b612326576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231d906154ac565b60405180910390fd5b600060086000878152602001908152602001600020541161237c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237390615518565b60405180910390fd5b60086000868152602001908152602001600020548461239a87611d0d565b6123a4919061540a565b11156123e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123dc90615584565b60405180910390fd5b8084600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600088815260200190815260200160002054612442919061540a565b1115612483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247a906155f0565b60405180910390fd5b3484836124909190615610565b146124d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c7906156b6565b60405180910390fd5b5050505050565b6000826124e48584613460565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561255e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255590615748565b60405180910390fd5b60006125686121fc565b90506125898160008761257a886134d5565b612583886134d5565b8761354f565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125e8919061540a565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516126669291906147ef565b60405180910390a461267d8160008787878761374e565b5050505050565b81518351146126c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126bf906157da565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612738576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272f9061586c565b60405180910390fd5b60006127426121fc565b905061275281878787878761354f565b60005b845181101561290357600085828151811061277357612772615138565b5b60200260200101519050600085838151811061279257612791615138565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612833576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282a906158fe565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128e8919061540a565b92505081905550505050806128fc90615196565b9050612755565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161297a92919061591e565b60405180910390a4612990818787878787613935565b505050505050565b6129a06113e7565b6129df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d6906159a1565b60405180910390fd5b6000600460146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612a236121fc565b604051612a3091906148b2565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612aaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa190615a33565b60405180910390fd5b8051825114612aee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae5906157da565b60405180910390fd5b6000612af86121fc565b9050612b188185600086866040518060200160405280600081525061354f565b60005b8351811015612c65576000848281518110612b3957612b38615138565b5b602002602001015190506000848381518110612b5857612b57615138565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612bf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bf090615ac5565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080612c5d90615196565b915050612b1b565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051612cdd92919061591e565b60405180910390a450505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612db96113e7565b15612df9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612df090614e07565b60405180910390fd5b6001600460146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612e3d6121fc565b604051612e4a91906148b2565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612ec3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eba90615b57565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612fb49190613f2d565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613031576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130289061586c565b60405180910390fd5b600061303b6121fc565b905061305b81878761304c886134d5565b613055886134d5565b8761354f565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838110156130f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130e9906158fe565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131a7919061540a565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516132249291906147ef565b60405180910390a461323a82888888888861374e565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132aa90615a33565b60405180910390fd5b60006132bd6121fc565b90506132ed818560006132cf876134d5565b6132d8876134d5565b6040518060200160405280600081525061354f565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015613384576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161337b90615ac5565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516134519291906147ef565b60405180910390a45050505050565b60008082905060005b84518110156134ca57600085828151811061348757613486615138565b5b602002602001015190508083116134a9576134a28382613b1c565b92506134b6565b6134b38184613b1c565b92505b5080806134c290615196565b915050613469565b508091505092915050565b60606000600167ffffffffffffffff8111156134f4576134f3613f63565b5b6040519080825280602002602001820160405280156135225781602001602082028036833780820191505090505b509050828160008151811061353a57613539615138565b5b60200260200101818152505080915050919050565b6135576113e7565b15613597576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161358e90614e07565b60405180910390fd5b6135a5868686868686613b33565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156136945760005b8351811015613692578281815181106135f9576135f8615138565b5b6020026020010151600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600086848151811061365557613654615138565b5b60200260200101518152602001908152602001600020600082825461367a919061540a565b925050819055508061368b90615196565b90506135dd565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156137465760005b8351811015613744578281815181106136e8576136e7615138565b5b60200260200101516008600086848151811061370757613706615138565b5b60200260200101518152602001908152602001600020600082825461372c9190615b77565b925050819055508061373d90615196565b90506136cc565b505b505050505050565b61376d8473ffffffffffffffffffffffffffffffffffffffff16613cad565b1561392d578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016137b3959493929190615c00565b602060405180830381600087803b1580156137cd57600080fd5b505af19250505080156137fe57506040513d601f19601f820116820180604052508101906137fb9190615c6f565b60015b6138a45761380a615ca9565b806308c379a01415613867575061381f615ccb565b8061382a5750613869565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161385e919061415f565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161389b90615dd3565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461392b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161392290615e65565b60405180910390fd5b505b505050505050565b6139548473ffffffffffffffffffffffffffffffffffffffff16613cad565b15613b14578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161399a959493929190615e85565b602060405180830381600087803b1580156139b457600080fd5b505af19250505080156139e557506040513d601f19601f820116820180604052508101906139e29190615c6f565b60015b613a8b576139f1615ca9565b806308c379a01415613a4e5750613a06615ccb565b80613a115750613a50565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a45919061415f565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a8290615dd3565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613b12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b0990615e65565b60405180910390fd5b505b505050505050565b600082600052816020526040600020905092915050565b613b41868686868686613cd0565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613bf35760005b8351811015613bf157828181518110613b9557613b94615138565b5b602002602001015160036000868481518110613bb457613bb3615138565b5b602002602001015181526020019081526020016000206000828254613bd9919061540a565b9250508190555080613bea90615196565b9050613b79565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613ca55760005b8351811015613ca357828181518110613c4757613c46615138565b5b602002602001015160036000868481518110613c6657613c65615138565b5b602002602001015181526020019081526020016000206000828254613c8b9190615b77565b9250508190555080613c9c90615196565b9050613c2b565b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050505050565b828054613ce490614d1d565b90600052602060002090601f016020900481019282613d065760008555613d4d565b82601f10613d1f57805160ff1916838001178555613d4d565b82800160010185558215613d4d579182015b82811115613d4c578251825591602001919060010190613d31565b5b509050613d5a9190613d5e565b5090565b5b80821115613d77576000816000905550600101613d5f565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613dba82613d8f565b9050919050565b613dca81613daf565b8114613dd557600080fd5b50565b600081359050613de781613dc1565b92915050565b6000819050919050565b613e0081613ded565b8114613e0b57600080fd5b50565b600081359050613e1d81613df7565b92915050565b60008060408385031215613e3a57613e39613d85565b5b6000613e4885828601613dd8565b9250506020613e5985828601613e0e565b9150509250929050565b613e6c81613ded565b82525050565b6000602082019050613e876000830184613e63565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613ec281613e8d565b8114613ecd57600080fd5b50565b600081359050613edf81613eb9565b92915050565b600060208284031215613efb57613efa613d85565b5b6000613f0984828501613ed0565b91505092915050565b60008115159050919050565b613f2781613f12565b82525050565b6000602082019050613f426000830184613f1e565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613f9b82613f52565b810181811067ffffffffffffffff82111715613fba57613fb9613f63565b5b80604052505050565b6000613fcd613d7b565b9050613fd98282613f92565b919050565b600067ffffffffffffffff821115613ff957613ff8613f63565b5b61400282613f52565b9050602081019050919050565b82818337600083830152505050565b600061403161402c84613fde565b613fc3565b90508281526020810184848401111561404d5761404c613f4d565b5b61405884828561400f565b509392505050565b600082601f83011261407557614074613f48565b5b813561408584826020860161401e565b91505092915050565b6000602082840312156140a4576140a3613d85565b5b600082013567ffffffffffffffff8111156140c2576140c1613d8a565b5b6140ce84828501614060565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156141115780820151818401526020810190506140f6565b83811115614120576000848401525b50505050565b6000614131826140d7565b61413b81856140e2565b935061414b8185602086016140f3565b61415481613f52565b840191505092915050565b600060208201905081810360008301526141798184614126565b905092915050565b60006020828403121561419757614196613d85565b5b60006141a584828501613e0e565b91505092915050565b6000819050919050565b6141c1816141ae565b82525050565b60006020820190506141dc60008301846141b8565b92915050565b600080604083850312156141f9576141f8613d85565b5b600061420785828601613e0e565b925050602061421885828601613e0e565b9150509250929050565b600080fd5b600080fd5b60008083601f84011261424257614241613f48565b5b8235905067ffffffffffffffff81111561425f5761425e614222565b5b60208301915083602082028301111561427b5761427a614227565b5b9250929050565b6000806000806060858703121561429c5761429b613d85565b5b60006142aa87828801613e0e565b94505060206142bb87828801613e0e565b935050604085013567ffffffffffffffff8111156142dc576142db613d8a565b5b6142e88782880161422c565b925092505092959194509250565b600067ffffffffffffffff82111561431157614310613f63565b5b602082029050602081019050919050565b6000614335614330846142f6565b613fc3565b9050808382526020820190506020840283018581111561435857614357614227565b5b835b81811015614381578061436d8882613e0e565b84526020840193505060208101905061435a565b5050509392505050565b600082601f8301126143a05761439f613f48565b5b81356143b0848260208601614322565b91505092915050565b600067ffffffffffffffff8211156143d4576143d3613f63565b5b6143dd82613f52565b9050602081019050919050565b60006143fd6143f8846143b9565b613fc3565b90508281526020810184848401111561441957614418613f4d565b5b61442484828561400f565b509392505050565b600082601f83011261444157614440613f48565b5b81356144518482602086016143ea565b91505092915050565b600080600080600060a0868803121561447657614475613d85565b5b600061448488828901613dd8565b955050602061449588828901613dd8565b945050604086013567ffffffffffffffff8111156144b6576144b5613d8a565b5b6144c28882890161438b565b935050606086013567ffffffffffffffff8111156144e3576144e2613d8a565b5b6144ef8882890161438b565b925050608086013567ffffffffffffffff8111156145105761450f613d8a565b5b61451c8882890161442c565b9150509295509295909350565b600067ffffffffffffffff82111561454457614543613f63565b5b602082029050602081019050919050565b600061456861456384614529565b613fc3565b9050808382526020820190506020840283018581111561458b5761458a614227565b5b835b818110156145b457806145a08882613dd8565b84526020840193505060208101905061458d565b5050509392505050565b600082601f8301126145d3576145d2613f48565b5b81356145e3848260208601614555565b91505092915050565b6000806040838503121561460357614602613d85565b5b600083013567ffffffffffffffff81111561462157614620613d8a565b5b61462d858286016145be565b925050602083013567ffffffffffffffff81111561464e5761464d613d8a565b5b61465a8582860161438b565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61469981613ded565b82525050565b60006146ab8383614690565b60208301905092915050565b6000602082019050919050565b60006146cf82614664565b6146d9818561466f565b93506146e483614680565b8060005b838110156147155781516146fc888261469f565b9750614707836146b7565b9250506001810190506146e8565b5085935050505092915050565b6000602082019050818103600083015261473c81846146c4565b905092915050565b61474d816141ae565b811461475857600080fd5b50565b60008135905061476a81614744565b92915050565b60006020828403121561478657614785613d85565b5b60006147948482850161475b565b91505092915050565b600481106147aa57600080fd5b50565b6000813590506147bc8161479d565b92915050565b6000602082840312156147d8576147d7613d85565b5b60006147e6848285016147ad565b91505092915050565b60006040820190506148046000830185613e63565b6148116020830184613e63565b9392505050565b60008060006060848603121561483157614830613d85565b5b600061483f86828701613dd8565b935050602084013567ffffffffffffffff8111156148605761485f613d8a565b5b61486c8682870161438b565b925050604084013567ffffffffffffffff81111561488d5761488c613d8a565b5b6148998682870161438b565b9150509250925092565b6148ac81613daf565b82525050565b60006020820190506148c760008301846148a3565b92915050565b6148d681613f12565b81146148e157600080fd5b50565b6000813590506148f3816148cd565b92915050565b600080604083850312156149105761490f613d85565b5b600061491e85828601613dd8565b925050602061492f858286016148e4565b9150509250929050565b60008083601f84011261494f5761494e613f48565b5b8235905067ffffffffffffffff81111561496c5761496b614222565b5b60208301915083602082028301111561498857614987614227565b5b9250929050565b60008083601f8401126149a5576149a4613f48565b5b8235905067ffffffffffffffff8111156149c2576149c1614222565b5b6020830191508360208202830111156149de576149dd614227565b5b9250929050565b60008060008060008060608789031215614a0257614a01613d85565b5b600087013567ffffffffffffffff811115614a2057614a1f613d8a565b5b614a2c89828a01614939565b9650965050602087013567ffffffffffffffff811115614a4f57614a4e613d8a565b5b614a5b89828a0161498f565b9450945050604087013567ffffffffffffffff811115614a7e57614a7d613d8a565b5b614a8a89828a0161498f565b92509250509295509295509295565b60008060408385031215614ab057614aaf613d85565b5b6000614abe85828601613dd8565b9250506020614acf85828601613dd8565b9150509250929050565b600080600080600060a08688031215614af557614af4613d85565b5b6000614b0388828901613dd8565b9550506020614b1488828901613dd8565b9450506040614b2588828901613e0e565b9350506060614b3688828901613e0e565b925050608086013567ffffffffffffffff811115614b5757614b56613d8a565b5b614b638882890161442c565b9150509295509295909350565b600060208284031215614b8657614b85613d85565b5b6000614b9484828501613dd8565b91505092915050565b600080600060608486031215614bb657614bb5613d85565b5b6000614bc486828701613dd8565b9350506020614bd586828701613e0e565b9250506040614be686828701613e0e565b9150509250925092565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000614c4c602b836140e2565b9150614c5782614bf0565b604082019050919050565b60006020820190508181036000830152614c7b81614c3f565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614cb86020836140e2565b9150614cc382614c82565b602082019050919050565b60006020820190508181036000830152614ce781614cab565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614d3557607f821691505b60208210811415614d4957614d48614cee565b5b50919050565b7f546f6b656e206973206578697374656400000000000000000000000000000000600082015250565b6000614d856010836140e2565b9150614d9082614d4f565b602082019050919050565b60006020820190508181036000830152614db481614d78565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000614df16010836140e2565b9150614dfc82614dbb565b602082019050919050565b60006020820190508181036000830152614e2081614de4565b9050919050565b60008160601b9050919050565b6000614e3f82614e27565b9050919050565b6000614e5182614e34565b9050919050565b614e69614e6482613daf565b614e46565b82525050565b6000614e7b8284614e58565b60148201915081905092915050565b7f496e76616c69642050726f6f6600000000000000000000000000000000000000600082015250565b6000614ec0600d836140e2565b9150614ecb82614e8a565b602082019050919050565b60006020820190508181036000830152614eef81614eb3565b9050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000614f526032836140e2565b9150614f5d82614ef6565b604082019050919050565b60006020820190508181036000830152614f8181614f45565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614fbe601f836140e2565b9150614fc982614f88565b602082019050919050565b60006020820190508181036000830152614fed81614fb1565b9050919050565b600081905092915050565b50565b600061500f600083614ff4565b915061501a82614fff565b600082019050919050565b600061503082615002565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006150706010836140e2565b915061507b8261503a565b602082019050919050565b6000602082019050818103600083015261509f81615063565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006151026029836140e2565b915061510d826150a6565b604082019050919050565b60006020820190508181036000830152615131816150f5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006151a182613ded565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156151d4576151d3615167565b5b600182019050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b600061523b6029836140e2565b9150615246826151df565b604082019050919050565b6000602082019050818103600083015261526a8161522e565b9050919050565b7f52656163686564206d6178207175616e74697479207065722074780000000000600082015250565b60006152a7601b836140e2565b91506152b282615271565b602082019050919050565b600060208201905081810360008301526152d68161529a565b9050919050565b7f496e76616c6964206c656e677468000000000000000000000000000000000000600082015250565b6000615313600e836140e2565b915061531e826152dd565b602082019050919050565b6000602082019050818103600083015261534281615306565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006153d46026836140e2565b91506153df82615378565b604082019050919050565b60006020820190508181036000830152615403816153c7565b9050919050565b600061541582613ded565b915061542083613ded565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561545557615454615167565b5b828201905092915050565b7f4d696e74696e6720697320636c6f736564000000000000000000000000000000600082015250565b60006154966011836140e2565b91506154a182615460565b602082019050919050565b600060208201905081810360008301526154c581615489565b9050919050565b7f546f6b656e206973206e6f7420646566696e6564000000000000000000000000600082015250565b60006155026014836140e2565b915061550d826154cc565b602082019050919050565b60006020820190508181036000830152615531816154f5565b9050919050565b7f52656163686564206d617820737570706c790000000000000000000000000000600082015250565b600061556e6012836140e2565b915061557982615538565b602082019050919050565b6000602082019050818103600083015261559d81615561565b9050919050565b7f457863656564206d696e74206c696d6974000000000000000000000000000000600082015250565b60006155da6011836140e2565b91506155e5826155a4565b602082019050919050565b60006020820190508181036000830152615609816155cd565b9050919050565b600061561b82613ded565b915061562683613ded565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561565f5761565e615167565b5b828202905092915050565b7f496e76616c696420616d6f756e74000000000000000000000000000000000000600082015250565b60006156a0600e836140e2565b91506156ab8261566a565b602082019050919050565b600060208201905081810360008301526156cf81615693565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006157326021836140e2565b915061573d826156d6565b604082019050919050565b6000602082019050818103600083015261576181615725565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006157c46028836140e2565b91506157cf82615768565b604082019050919050565b600060208201905081810360008301526157f3816157b7565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006158566025836140e2565b9150615861826157fa565b604082019050919050565b6000602082019050818103600083015261588581615849565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006158e8602a836140e2565b91506158f38261588c565b604082019050919050565b60006020820190508181036000830152615917816158db565b9050919050565b6000604082019050818103600083015261593881856146c4565b9050818103602083015261594c81846146c4565b90509392505050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b600061598b6014836140e2565b915061599682615955565b602082019050919050565b600060208201905081810360008301526159ba8161597e565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000615a1d6023836140e2565b9150615a28826159c1565b604082019050919050565b60006020820190508181036000830152615a4c81615a10565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000615aaf6024836140e2565b9150615aba82615a53565b604082019050919050565b60006020820190508181036000830152615ade81615aa2565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000615b416029836140e2565b9150615b4c82615ae5565b604082019050919050565b60006020820190508181036000830152615b7081615b34565b9050919050565b6000615b8282613ded565b9150615b8d83613ded565b925082821015615ba057615b9f615167565b5b828203905092915050565b600081519050919050565b600082825260208201905092915050565b6000615bd282615bab565b615bdc8185615bb6565b9350615bec8185602086016140f3565b615bf581613f52565b840191505092915050565b600060a082019050615c1560008301886148a3565b615c2260208301876148a3565b615c2f6040830186613e63565b615c3c6060830185613e63565b8181036080830152615c4e8184615bc7565b90509695505050505050565b600081519050615c6981613eb9565b92915050565b600060208284031215615c8557615c84613d85565b5b6000615c9384828501615c5a565b91505092915050565b60008160e01c9050919050565b600060033d1115615cc85760046000803e615cc5600051615c9c565b90505b90565b600060443d1015615cdb57615d5e565b615ce3613d7b565b60043d036004823e80513d602482011167ffffffffffffffff82111715615d0b575050615d5e565b808201805167ffffffffffffffff811115615d295750505050615d5e565b80602083010160043d038501811115615d46575050505050615d5e565b615d5582602001850186613f92565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000615dbd6034836140e2565b9150615dc882615d61565b604082019050919050565b60006020820190508181036000830152615dec81615db0565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000615e4f6028836140e2565b9150615e5a82615df3565b604082019050919050565b60006020820190508181036000830152615e7e81615e42565b9050919050565b600060a082019050615e9a60008301886148a3565b615ea760208301876148a3565b8181036040830152615eb981866146c4565b90508181036060830152615ecd81856146c4565b90508181036080830152615ee18184615bc7565b9050969550505050505056fea2646970667358221220f31acf838432af902470f8caf7ea5ae87438cbc9c02b493b08083ef633ce533064736f6c63430008090033000000000000000000000000000000000000000000000000000000000000006009d684046024b36d37dae62b63d67ba9af5bb8687f01053e6df004ec1d693cf92ff797806b7212f6b435a9896a825cd15561013c60d2566e58296fc75a5a7de2000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d5875454b6e6b71716b726b33704857516f42327155326776456477553566416f3856774479435a436a59475800000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102715760003560e01c80638456cb591161014f578063b28673fa116100c1578063e985e9c51161007a578063e985e9c51461090c578063f242432a14610949578063f2fde38b14610972578063f48a2e031461099b578063f5298aca146109c4578063f95df414146109ed57610271565b8063b28673fa146107fc578063bcb49d9e14610825578063bd85b03914610850578063bedbf0d81461088d578063c6275255146108b8578063cabadaa0146108e157610271565b806398ae99a81161011357806398ae99a81461070f5780639aa289ce1461072b578063a22cb46514610754578063a591252d1461077d578063a5b985a2146107a8578063a945bf80146107d157610271565b80638456cb591461063a578063869f7594146106515780638da5cb5b1461068e57806390967a52146106b957806395d89b41146106e457610271565b80633ccfd60b116101e8578063638df30b116101ac578063638df30b1461054157806369eee0051461056a5780636b20c454146105a8578063715018a6146105d1578063742a4c9b146105e8578063817cc12d1461061157610271565b80633ccfd60b1461046e5780633f4ba83a146104855780634e1273f41461049c5780634f558e79146104d95780635c975abb1461051657610271565b8063270ab52c1161023a578063270ab52c14610381578063293108e0146103aa5780632a805069146103d55780632d945cb9146103fe5780632eb2c2d61461041a5780633a2528de1461044357610271565b8062fdd58e1461027657806301ffc9a7146102b357806302fe5305146102f057806306fdde03146103195780630e89341c14610344575b600080fd5b34801561028257600080fd5b5061029d60048036038101906102989190613e23565b610a16565b6040516102aa9190613e72565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d59190613ee5565b610adf565b6040516102e79190613f2d565b60405180910390f35b3480156102fc57600080fd5b506103176004803603810190610312919061408e565b610bc1565b005b34801561032557600080fd5b5061032e610c49565b60405161033b919061415f565b60405180910390f35b34801561035057600080fd5b5061036b60048036038101906103669190614181565b610cd7565b604051610378919061415f565b60405180910390f35b34801561038d57600080fd5b506103a860048036038101906103a39190614181565b610d6b565b005b3480156103b657600080fd5b506103bf610df1565b6040516103cc91906141c7565b60405180910390f35b3480156103e157600080fd5b506103fc60048036038101906103f791906141e2565b610df7565b005b61041860048036038101906104139190614282565b610ed8565b005b34801561042657600080fd5b50610441600480360381019061043c919061445a565b61100c565b005b34801561044f57600080fd5b506104586110ad565b6040516104659190613e72565b60405180910390f35b34801561047a57600080fd5b506104836110b3565b005b34801561049157600080fd5b5061049a611234565b005b3480156104a857600080fd5b506104c360048036038101906104be91906145ec565b6112ba565b6040516104d09190614722565b60405180910390f35b3480156104e557600080fd5b5061050060048036038101906104fb9190614181565b6113d3565b60405161050d9190613f2d565b60405180910390f35b34801561052257600080fd5b5061052b6113e7565b6040516105389190613f2d565b60405180910390f35b34801561054d57600080fd5b5061056860048036038101906105639190614770565b6113fe565b005b34801561057657600080fd5b50610591600480360381019061058c91906147c2565b611484565b60405161059f9291906147ef565b60405180910390f35b3480156105b457600080fd5b506105cf60048036038101906105ca9190614818565b6114a8565b005b3480156105dd57600080fd5b506105e6611545565b005b3480156105f457600080fd5b5061060f600480360381019061060a9190614181565b6115cd565b005b34801561061d57600080fd5b5061063860048036038101906106339190614181565b611653565b005b34801561064657600080fd5b5061064f6116d9565b005b34801561065d57600080fd5b5061067860048036038101906106739190614181565b61175f565b6040516106859190613e72565b60405180910390f35b34801561069a57600080fd5b506106a3611777565b6040516106b091906148b2565b60405180910390f35b3480156106c557600080fd5b506106ce6117a1565b6040516106db9190613e72565b60405180910390f35b3480156106f057600080fd5b506106f96117a7565b604051610706919061415f565b60405180910390f35b610729600480360381019061072491906141e2565b611835565b005b34801561073757600080fd5b50610752600480360381019061074d9190614282565b6118f3565b005b34801561076057600080fd5b5061077b600480360381019061077691906148f9565b611a26565b005b34801561078957600080fd5b50610792611a3c565b60405161079f9190613e72565b60405180910390f35b3480156107b457600080fd5b506107cf60048036038101906107ca91906141e2565b611a42565b005b3480156107dd57600080fd5b506107e6611b05565b6040516107f39190613e72565b60405180910390f35b34801561080857600080fd5b50610823600480360381019061081e91906149e5565b611b0b565b005b34801561083157600080fd5b5061083a611d07565b6040516108479190613e72565b60405180910390f35b34801561085c57600080fd5b5061087760048036038101906108729190614181565b611d0d565b6040516108849190613e72565b60405180910390f35b34801561089957600080fd5b506108a2611d2a565b6040516108af91906141c7565b60405180910390f35b3480156108c457600080fd5b506108df60048036038101906108da9190614181565b611d30565b005b3480156108ed57600080fd5b506108f6611db6565b6040516109039190613e72565b60405180910390f35b34801561091857600080fd5b50610933600480360381019061092e9190614a99565b611dbc565b6040516109409190613f2d565b60405180910390f35b34801561095557600080fd5b50610970600480360381019061096b9190614ad9565b611e50565b005b34801561097e57600080fd5b5061099960048036038101906109949190614b70565b611ef1565b005b3480156109a757600080fd5b506109c260048036038101906109bd9190614181565b611fe9565b005b3480156109d057600080fd5b506109eb60048036038101906109e69190614b9d565b61206f565b005b3480156109f957600080fd5b50610a146004803603810190610a0f9190614770565b61210c565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7e90614c62565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610baa57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bba5750610bb982612192565b5b9050919050565b610bc96121fc565b73ffffffffffffffffffffffffffffffffffffffff16610be7611777565b73ffffffffffffffffffffffffffffffffffffffff1614610c3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3490614cce565b60405180910390fd5b610c4681612204565b50565b60068054610c5690614d1d565b80601f0160208091040260200160405190810160405280929190818152602001828054610c8290614d1d565b8015610ccf5780601f10610ca457610100808354040283529160200191610ccf565b820191906000526020600020905b815481529060010190602001808311610cb257829003601f168201915b505050505081565b606060028054610ce690614d1d565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1290614d1d565b8015610d5f5780601f10610d3457610100808354040283529160200191610d5f565b820191906000526020600020905b815481529060010190602001808311610d4257829003601f168201915b50505050509050919050565b610d736121fc565b73ffffffffffffffffffffffffffffffffffffffff16610d91611777565b73ffffffffffffffffffffffffffffffffffffffff1614610de7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dde90614cce565b60405180910390fd5b80600c8190555050565b600f5481565b610dff6121fc565b73ffffffffffffffffffffffffffffffffffffffff16610e1d611777565b73ffffffffffffffffffffffffffffffffffffffff1614610e73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6a90614cce565b60405180910390fd5b610e7c826113d3565b15610ebc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb390614d9b565b60405180910390fd5b8060086000848152602001908152602001600020819055505050565b610ee06113e7565b15610f20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1790614e07565b60405180910390fd5b610f3284846002601054600b5461221e565b600033604051602001610f459190614e6f565b604051602081830303815290604052805190602001209050610fab838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600f54836124d7565b610fea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe190614ed6565b60405180910390fd5b611005338686604051806020016040528060008152506124ee565b5050505050565b6110146121fc565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061105a5750611059856110546121fc565b611dbc565b5b611099576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109090614f68565b60405180910390fd5b6110a68585858585612684565b5050505050565b600d5481565b6110bb6121fc565b73ffffffffffffffffffffffffffffffffffffffff166110d9611777565b73ffffffffffffffffffffffffffffffffffffffff161461112f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112690614cce565b60405180910390fd5b60026005541415611175576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116c90614fd4565b60405180910390fd5b600260058190555060003373ffffffffffffffffffffffffffffffffffffffff16476040516111a390615025565b60006040518083038185875af1925050503d80600081146111e0576040519150601f19603f3d011682016040523d82523d6000602084013e6111e5565b606091505b5050905080611229576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122090615086565b60405180910390fd5b506001600581905550565b61123c6121fc565b73ffffffffffffffffffffffffffffffffffffffff1661125a611777565b73ffffffffffffffffffffffffffffffffffffffff16146112b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a790614cce565b60405180910390fd5b6112b8612998565b565b60608151835114611300576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f790615118565b60405180910390fd5b6000835167ffffffffffffffff81111561131d5761131c613f63565b5b60405190808252806020026020018201604052801561134b5781602001602082028036833780820191505090505b50905060005b84518110156113c8576113988582815181106113705761136f615138565b5b602002602001015185838151811061138b5761138a615138565b5b6020026020010151610a16565b8282815181106113ab576113aa615138565b5b602002602001018181525050806113c190615196565b9050611351565b508091505092915050565b6000806113df83611d0d565b119050919050565b6000600460149054906101000a900460ff16905090565b6114066121fc565b73ffffffffffffffffffffffffffffffffffffffff16611424611777565b73ffffffffffffffffffffffffffffffffffffffff161461147a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147190614cce565b60405180910390fd5b80600e8190555050565b60126020528060005260406000206000915090508060000154908060010154905082565b6114b06121fc565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806114f657506114f5836114f06121fc565b611dbc565b5b611535576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152c90615251565b60405180910390fd5b611540838383612a3a565b505050565b61154d6121fc565b73ffffffffffffffffffffffffffffffffffffffff1661156b611777565b73ffffffffffffffffffffffffffffffffffffffff16146115c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b890614cce565b60405180910390fd5b6115cb6000612ceb565b565b6115d56121fc565b73ffffffffffffffffffffffffffffffffffffffff166115f3611777565b73ffffffffffffffffffffffffffffffffffffffff1614611649576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164090614cce565b60405180910390fd5b80600a8190555050565b61165b6121fc565b73ffffffffffffffffffffffffffffffffffffffff16611679611777565b73ffffffffffffffffffffffffffffffffffffffff16146116cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c690614cce565b60405180910390fd5b80600b8190555050565b6116e16121fc565b73ffffffffffffffffffffffffffffffffffffffff166116ff611777565b73ffffffffffffffffffffffffffffffffffffffff1614611755576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174c90614cce565b60405180910390fd5b61175d612db1565b565b60086020528060005260406000206000915090505481565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60105481565b600780546117b490614d1d565b80601f01602080910402602001604051908101604052809291908181526020018280546117e090614d1d565b801561182d5780601f106118025761010080835404028352916020019161182d565b820191906000526020600020905b81548152906001019060200180831161181057829003601f168201915b505050505081565b61183d6113e7565b1561187d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187490614e07565b60405180910390fd5b600d548111156118c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b9906152bd565b60405180910390fd5b6118d482826003601154600c5461221e565b6118ef338383604051806020016040528060008152506124ee565b5050565b6118fb6113e7565b1561193b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193290614e07565b60405180910390fd5b61194c848460016000600a5461221e565b60003360405160200161195f9190614e6f565b6040516020818303038152906040528051906020012090506119c5838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600f54836124d7565b611a04576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fb90614ed6565b60405180910390fd5b611a1f338686604051806020016040528060008152506124ee565b5050505050565b611a38611a316121fc565b8383612e54565b5050565b600a5481565b611a4a6121fc565b73ffffffffffffffffffffffffffffffffffffffff16611a68611777565b73ffffffffffffffffffffffffffffffffffffffff1614611abe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab590614cce565b60405180910390fd5b611adf8282600080600860008881526020019081526020016000205461221e565b611b01611aea611777565b8383604051806020016040528060008152506124ee565b5050565b60115481565b611b136121fc565b73ffffffffffffffffffffffffffffffffffffffff16611b31611777565b73ffffffffffffffffffffffffffffffffffffffff1614611b87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7e90614cce565b60405180910390fd5b83839050868690501480611ba057508181905086869050145b611bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd690615329565b60405180910390fd5b60005b86869050811015611cfe57848482818110611c0057611bff615138565b5b9050602002013560126000898985818110611c1e57611c1d615138565b5b9050602002016020810190611c3391906147c2565b6003811115611c4557611c44615349565b5b6003811115611c5757611c56615349565b5b815260200190815260200160002060000181905550828282818110611c7f57611c7e615138565b5b9050602002013560126000898985818110611c9d57611c9c615138565b5b9050602002016020810190611cb291906147c2565b6003811115611cc457611cc3615349565b5b6003811115611cd657611cd5615349565b5b8152602001908152602001600020600101819055508080611cf690615196565b915050611be2565b50505050505050565b600b5481565b600060036000838152602001908152602001600020549050919050565b600e5481565b611d386121fc565b73ffffffffffffffffffffffffffffffffffffffff16611d56611777565b73ffffffffffffffffffffffffffffffffffffffff1614611dac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da390614cce565b60405180910390fd5b8060118190555050565b600c5481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e586121fc565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611e9e5750611e9d85611e986121fc565b611dbc565b5b611edd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed490615251565b60405180910390fd5b611eea8585858585612fc1565b5050505050565b611ef96121fc565b73ffffffffffffffffffffffffffffffffffffffff16611f17611777565b73ffffffffffffffffffffffffffffffffffffffff1614611f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6490614cce565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611fdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd4906153ea565b60405180910390fd5b611fe681612ceb565b50565b611ff16121fc565b73ffffffffffffffffffffffffffffffffffffffff1661200f611777565b73ffffffffffffffffffffffffffffffffffffffff1614612065576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205c90614cce565b60405180910390fd5b8060108190555050565b6120776121fc565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806120bd57506120bc836120b76121fc565b611dbc565b5b6120fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f390615251565b60405180910390fd5b612107838383613243565b505050565b6121146121fc565b73ffffffffffffffffffffffffffffffffffffffff16612132611777565b73ffffffffffffffffffffffffffffffffffffffff1614612188576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217f90614cce565b60405180910390fd5b80600f8190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b806002908051906020019061221a929190613cd8565b5050565b6012600084600381111561223557612234615349565b5b600381111561224757612246615349565b5b81526020019081526020016000206000015442101580156122e757506012600084600381111561227a57612279615349565b5b600381111561228c5761228b615349565b5b815260200190815260200160002060010154601260008560038111156122b5576122b4615349565b5b60038111156122c7576122c6615349565b5b8152602001908152602001600020600001546122e3919061540a565b4211155b612326576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231d906154ac565b60405180910390fd5b600060086000878152602001908152602001600020541161237c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237390615518565b60405180910390fd5b60086000868152602001908152602001600020548461239a87611d0d565b6123a4919061540a565b11156123e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123dc90615584565b60405180910390fd5b8084600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600088815260200190815260200160002054612442919061540a565b1115612483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247a906155f0565b60405180910390fd5b3484836124909190615610565b146124d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c7906156b6565b60405180910390fd5b5050505050565b6000826124e48584613460565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561255e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255590615748565b60405180910390fd5b60006125686121fc565b90506125898160008761257a886134d5565b612583886134d5565b8761354f565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125e8919061540a565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516126669291906147ef565b60405180910390a461267d8160008787878761374e565b5050505050565b81518351146126c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126bf906157da565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612738576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272f9061586c565b60405180910390fd5b60006127426121fc565b905061275281878787878761354f565b60005b845181101561290357600085828151811061277357612772615138565b5b60200260200101519050600085838151811061279257612791615138565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612833576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282a906158fe565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128e8919061540a565b92505081905550505050806128fc90615196565b9050612755565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161297a92919061591e565b60405180910390a4612990818787878787613935565b505050505050565b6129a06113e7565b6129df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d6906159a1565b60405180910390fd5b6000600460146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612a236121fc565b604051612a3091906148b2565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612aaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa190615a33565b60405180910390fd5b8051825114612aee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae5906157da565b60405180910390fd5b6000612af86121fc565b9050612b188185600086866040518060200160405280600081525061354f565b60005b8351811015612c65576000848281518110612b3957612b38615138565b5b602002602001015190506000848381518110612b5857612b57615138565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612bf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bf090615ac5565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080612c5d90615196565b915050612b1b565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051612cdd92919061591e565b60405180910390a450505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612db96113e7565b15612df9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612df090614e07565b60405180910390fd5b6001600460146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612e3d6121fc565b604051612e4a91906148b2565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612ec3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eba90615b57565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612fb49190613f2d565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613031576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130289061586c565b60405180910390fd5b600061303b6121fc565b905061305b81878761304c886134d5565b613055886134d5565b8761354f565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838110156130f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130e9906158fe565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131a7919061540a565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516132249291906147ef565b60405180910390a461323a82888888888861374e565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132aa90615a33565b60405180910390fd5b60006132bd6121fc565b90506132ed818560006132cf876134d5565b6132d8876134d5565b6040518060200160405280600081525061354f565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015613384576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161337b90615ac5565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516134519291906147ef565b60405180910390a45050505050565b60008082905060005b84518110156134ca57600085828151811061348757613486615138565b5b602002602001015190508083116134a9576134a28382613b1c565b92506134b6565b6134b38184613b1c565b92505b5080806134c290615196565b915050613469565b508091505092915050565b60606000600167ffffffffffffffff8111156134f4576134f3613f63565b5b6040519080825280602002602001820160405280156135225781602001602082028036833780820191505090505b509050828160008151811061353a57613539615138565b5b60200260200101818152505080915050919050565b6135576113e7565b15613597576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161358e90614e07565b60405180910390fd5b6135a5868686868686613b33565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156136945760005b8351811015613692578281815181106135f9576135f8615138565b5b6020026020010151600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600086848151811061365557613654615138565b5b60200260200101518152602001908152602001600020600082825461367a919061540a565b925050819055508061368b90615196565b90506135dd565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156137465760005b8351811015613744578281815181106136e8576136e7615138565b5b60200260200101516008600086848151811061370757613706615138565b5b60200260200101518152602001908152602001600020600082825461372c9190615b77565b925050819055508061373d90615196565b90506136cc565b505b505050505050565b61376d8473ffffffffffffffffffffffffffffffffffffffff16613cad565b1561392d578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016137b3959493929190615c00565b602060405180830381600087803b1580156137cd57600080fd5b505af19250505080156137fe57506040513d601f19601f820116820180604052508101906137fb9190615c6f565b60015b6138a45761380a615ca9565b806308c379a01415613867575061381f615ccb565b8061382a5750613869565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161385e919061415f565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161389b90615dd3565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461392b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161392290615e65565b60405180910390fd5b505b505050505050565b6139548473ffffffffffffffffffffffffffffffffffffffff16613cad565b15613b14578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161399a959493929190615e85565b602060405180830381600087803b1580156139b457600080fd5b505af19250505080156139e557506040513d601f19601f820116820180604052508101906139e29190615c6f565b60015b613a8b576139f1615ca9565b806308c379a01415613a4e5750613a06615ccb565b80613a115750613a50565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a45919061415f565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a8290615dd3565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613b12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b0990615e65565b60405180910390fd5b505b505050505050565b600082600052816020526040600020905092915050565b613b41868686868686613cd0565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613bf35760005b8351811015613bf157828181518110613b9557613b94615138565b5b602002602001015160036000868481518110613bb457613bb3615138565b5b602002602001015181526020019081526020016000206000828254613bd9919061540a565b9250508190555080613bea90615196565b9050613b79565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613ca55760005b8351811015613ca357828181518110613c4757613c46615138565b5b602002602001015160036000868481518110613c6657613c65615138565b5b602002602001015181526020019081526020016000206000828254613c8b9190615b77565b9250508190555080613c9c90615196565b9050613c2b565b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050505050565b828054613ce490614d1d565b90600052602060002090601f016020900481019282613d065760008555613d4d565b82601f10613d1f57805160ff1916838001178555613d4d565b82800160010185558215613d4d579182015b82811115613d4c578251825591602001919060010190613d31565b5b509050613d5a9190613d5e565b5090565b5b80821115613d77576000816000905550600101613d5f565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613dba82613d8f565b9050919050565b613dca81613daf565b8114613dd557600080fd5b50565b600081359050613de781613dc1565b92915050565b6000819050919050565b613e0081613ded565b8114613e0b57600080fd5b50565b600081359050613e1d81613df7565b92915050565b60008060408385031215613e3a57613e39613d85565b5b6000613e4885828601613dd8565b9250506020613e5985828601613e0e565b9150509250929050565b613e6c81613ded565b82525050565b6000602082019050613e876000830184613e63565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613ec281613e8d565b8114613ecd57600080fd5b50565b600081359050613edf81613eb9565b92915050565b600060208284031215613efb57613efa613d85565b5b6000613f0984828501613ed0565b91505092915050565b60008115159050919050565b613f2781613f12565b82525050565b6000602082019050613f426000830184613f1e565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613f9b82613f52565b810181811067ffffffffffffffff82111715613fba57613fb9613f63565b5b80604052505050565b6000613fcd613d7b565b9050613fd98282613f92565b919050565b600067ffffffffffffffff821115613ff957613ff8613f63565b5b61400282613f52565b9050602081019050919050565b82818337600083830152505050565b600061403161402c84613fde565b613fc3565b90508281526020810184848401111561404d5761404c613f4d565b5b61405884828561400f565b509392505050565b600082601f83011261407557614074613f48565b5b813561408584826020860161401e565b91505092915050565b6000602082840312156140a4576140a3613d85565b5b600082013567ffffffffffffffff8111156140c2576140c1613d8a565b5b6140ce84828501614060565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156141115780820151818401526020810190506140f6565b83811115614120576000848401525b50505050565b6000614131826140d7565b61413b81856140e2565b935061414b8185602086016140f3565b61415481613f52565b840191505092915050565b600060208201905081810360008301526141798184614126565b905092915050565b60006020828403121561419757614196613d85565b5b60006141a584828501613e0e565b91505092915050565b6000819050919050565b6141c1816141ae565b82525050565b60006020820190506141dc60008301846141b8565b92915050565b600080604083850312156141f9576141f8613d85565b5b600061420785828601613e0e565b925050602061421885828601613e0e565b9150509250929050565b600080fd5b600080fd5b60008083601f84011261424257614241613f48565b5b8235905067ffffffffffffffff81111561425f5761425e614222565b5b60208301915083602082028301111561427b5761427a614227565b5b9250929050565b6000806000806060858703121561429c5761429b613d85565b5b60006142aa87828801613e0e565b94505060206142bb87828801613e0e565b935050604085013567ffffffffffffffff8111156142dc576142db613d8a565b5b6142e88782880161422c565b925092505092959194509250565b600067ffffffffffffffff82111561431157614310613f63565b5b602082029050602081019050919050565b6000614335614330846142f6565b613fc3565b9050808382526020820190506020840283018581111561435857614357614227565b5b835b81811015614381578061436d8882613e0e565b84526020840193505060208101905061435a565b5050509392505050565b600082601f8301126143a05761439f613f48565b5b81356143b0848260208601614322565b91505092915050565b600067ffffffffffffffff8211156143d4576143d3613f63565b5b6143dd82613f52565b9050602081019050919050565b60006143fd6143f8846143b9565b613fc3565b90508281526020810184848401111561441957614418613f4d565b5b61442484828561400f565b509392505050565b600082601f83011261444157614440613f48565b5b81356144518482602086016143ea565b91505092915050565b600080600080600060a0868803121561447657614475613d85565b5b600061448488828901613dd8565b955050602061449588828901613dd8565b945050604086013567ffffffffffffffff8111156144b6576144b5613d8a565b5b6144c28882890161438b565b935050606086013567ffffffffffffffff8111156144e3576144e2613d8a565b5b6144ef8882890161438b565b925050608086013567ffffffffffffffff8111156145105761450f613d8a565b5b61451c8882890161442c565b9150509295509295909350565b600067ffffffffffffffff82111561454457614543613f63565b5b602082029050602081019050919050565b600061456861456384614529565b613fc3565b9050808382526020820190506020840283018581111561458b5761458a614227565b5b835b818110156145b457806145a08882613dd8565b84526020840193505060208101905061458d565b5050509392505050565b600082601f8301126145d3576145d2613f48565b5b81356145e3848260208601614555565b91505092915050565b6000806040838503121561460357614602613d85565b5b600083013567ffffffffffffffff81111561462157614620613d8a565b5b61462d858286016145be565b925050602083013567ffffffffffffffff81111561464e5761464d613d8a565b5b61465a8582860161438b565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61469981613ded565b82525050565b60006146ab8383614690565b60208301905092915050565b6000602082019050919050565b60006146cf82614664565b6146d9818561466f565b93506146e483614680565b8060005b838110156147155781516146fc888261469f565b9750614707836146b7565b9250506001810190506146e8565b5085935050505092915050565b6000602082019050818103600083015261473c81846146c4565b905092915050565b61474d816141ae565b811461475857600080fd5b50565b60008135905061476a81614744565b92915050565b60006020828403121561478657614785613d85565b5b60006147948482850161475b565b91505092915050565b600481106147aa57600080fd5b50565b6000813590506147bc8161479d565b92915050565b6000602082840312156147d8576147d7613d85565b5b60006147e6848285016147ad565b91505092915050565b60006040820190506148046000830185613e63565b6148116020830184613e63565b9392505050565b60008060006060848603121561483157614830613d85565b5b600061483f86828701613dd8565b935050602084013567ffffffffffffffff8111156148605761485f613d8a565b5b61486c8682870161438b565b925050604084013567ffffffffffffffff81111561488d5761488c613d8a565b5b6148998682870161438b565b9150509250925092565b6148ac81613daf565b82525050565b60006020820190506148c760008301846148a3565b92915050565b6148d681613f12565b81146148e157600080fd5b50565b6000813590506148f3816148cd565b92915050565b600080604083850312156149105761490f613d85565b5b600061491e85828601613dd8565b925050602061492f858286016148e4565b9150509250929050565b60008083601f84011261494f5761494e613f48565b5b8235905067ffffffffffffffff81111561496c5761496b614222565b5b60208301915083602082028301111561498857614987614227565b5b9250929050565b60008083601f8401126149a5576149a4613f48565b5b8235905067ffffffffffffffff8111156149c2576149c1614222565b5b6020830191508360208202830111156149de576149dd614227565b5b9250929050565b60008060008060008060608789031215614a0257614a01613d85565b5b600087013567ffffffffffffffff811115614a2057614a1f613d8a565b5b614a2c89828a01614939565b9650965050602087013567ffffffffffffffff811115614a4f57614a4e613d8a565b5b614a5b89828a0161498f565b9450945050604087013567ffffffffffffffff811115614a7e57614a7d613d8a565b5b614a8a89828a0161498f565b92509250509295509295509295565b60008060408385031215614ab057614aaf613d85565b5b6000614abe85828601613dd8565b9250506020614acf85828601613dd8565b9150509250929050565b600080600080600060a08688031215614af557614af4613d85565b5b6000614b0388828901613dd8565b9550506020614b1488828901613dd8565b9450506040614b2588828901613e0e565b9350506060614b3688828901613e0e565b925050608086013567ffffffffffffffff811115614b5757614b56613d8a565b5b614b638882890161442c565b9150509295509295909350565b600060208284031215614b8657614b85613d85565b5b6000614b9484828501613dd8565b91505092915050565b600080600060608486031215614bb657614bb5613d85565b5b6000614bc486828701613dd8565b9350506020614bd586828701613e0e565b9250506040614be686828701613e0e565b9150509250925092565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000614c4c602b836140e2565b9150614c5782614bf0565b604082019050919050565b60006020820190508181036000830152614c7b81614c3f565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614cb86020836140e2565b9150614cc382614c82565b602082019050919050565b60006020820190508181036000830152614ce781614cab565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614d3557607f821691505b60208210811415614d4957614d48614cee565b5b50919050565b7f546f6b656e206973206578697374656400000000000000000000000000000000600082015250565b6000614d856010836140e2565b9150614d9082614d4f565b602082019050919050565b60006020820190508181036000830152614db481614d78565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000614df16010836140e2565b9150614dfc82614dbb565b602082019050919050565b60006020820190508181036000830152614e2081614de4565b9050919050565b60008160601b9050919050565b6000614e3f82614e27565b9050919050565b6000614e5182614e34565b9050919050565b614e69614e6482613daf565b614e46565b82525050565b6000614e7b8284614e58565b60148201915081905092915050565b7f496e76616c69642050726f6f6600000000000000000000000000000000000000600082015250565b6000614ec0600d836140e2565b9150614ecb82614e8a565b602082019050919050565b60006020820190508181036000830152614eef81614eb3565b9050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000614f526032836140e2565b9150614f5d82614ef6565b604082019050919050565b60006020820190508181036000830152614f8181614f45565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614fbe601f836140e2565b9150614fc982614f88565b602082019050919050565b60006020820190508181036000830152614fed81614fb1565b9050919050565b600081905092915050565b50565b600061500f600083614ff4565b915061501a82614fff565b600082019050919050565b600061503082615002565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006150706010836140e2565b915061507b8261503a565b602082019050919050565b6000602082019050818103600083015261509f81615063565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006151026029836140e2565b915061510d826150a6565b604082019050919050565b60006020820190508181036000830152615131816150f5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006151a182613ded565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156151d4576151d3615167565b5b600182019050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b600061523b6029836140e2565b9150615246826151df565b604082019050919050565b6000602082019050818103600083015261526a8161522e565b9050919050565b7f52656163686564206d6178207175616e74697479207065722074780000000000600082015250565b60006152a7601b836140e2565b91506152b282615271565b602082019050919050565b600060208201905081810360008301526152d68161529a565b9050919050565b7f496e76616c6964206c656e677468000000000000000000000000000000000000600082015250565b6000615313600e836140e2565b915061531e826152dd565b602082019050919050565b6000602082019050818103600083015261534281615306565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006153d46026836140e2565b91506153df82615378565b604082019050919050565b60006020820190508181036000830152615403816153c7565b9050919050565b600061541582613ded565b915061542083613ded565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561545557615454615167565b5b828201905092915050565b7f4d696e74696e6720697320636c6f736564000000000000000000000000000000600082015250565b60006154966011836140e2565b91506154a182615460565b602082019050919050565b600060208201905081810360008301526154c581615489565b9050919050565b7f546f6b656e206973206e6f7420646566696e6564000000000000000000000000600082015250565b60006155026014836140e2565b915061550d826154cc565b602082019050919050565b60006020820190508181036000830152615531816154f5565b9050919050565b7f52656163686564206d617820737570706c790000000000000000000000000000600082015250565b600061556e6012836140e2565b915061557982615538565b602082019050919050565b6000602082019050818103600083015261559d81615561565b9050919050565b7f457863656564206d696e74206c696d6974000000000000000000000000000000600082015250565b60006155da6011836140e2565b91506155e5826155a4565b602082019050919050565b60006020820190508181036000830152615609816155cd565b9050919050565b600061561b82613ded565b915061562683613ded565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561565f5761565e615167565b5b828202905092915050565b7f496e76616c696420616d6f756e74000000000000000000000000000000000000600082015250565b60006156a0600e836140e2565b91506156ab8261566a565b602082019050919050565b600060208201905081810360008301526156cf81615693565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006157326021836140e2565b915061573d826156d6565b604082019050919050565b6000602082019050818103600083015261576181615725565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006157c46028836140e2565b91506157cf82615768565b604082019050919050565b600060208201905081810360008301526157f3816157b7565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006158566025836140e2565b9150615861826157fa565b604082019050919050565b6000602082019050818103600083015261588581615849565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006158e8602a836140e2565b91506158f38261588c565b604082019050919050565b60006020820190508181036000830152615917816158db565b9050919050565b6000604082019050818103600083015261593881856146c4565b9050818103602083015261594c81846146c4565b90509392505050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b600061598b6014836140e2565b915061599682615955565b602082019050919050565b600060208201905081810360008301526159ba8161597e565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000615a1d6023836140e2565b9150615a28826159c1565b604082019050919050565b60006020820190508181036000830152615a4c81615a10565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000615aaf6024836140e2565b9150615aba82615a53565b604082019050919050565b60006020820190508181036000830152615ade81615aa2565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000615b416029836140e2565b9150615b4c82615ae5565b604082019050919050565b60006020820190508181036000830152615b7081615b34565b9050919050565b6000615b8282613ded565b9150615b8d83613ded565b925082821015615ba057615b9f615167565b5b828203905092915050565b600081519050919050565b600082825260208201905092915050565b6000615bd282615bab565b615bdc8185615bb6565b9350615bec8185602086016140f3565b615bf581613f52565b840191505092915050565b600060a082019050615c1560008301886148a3565b615c2260208301876148a3565b615c2f6040830186613e63565b615c3c6060830185613e63565b8181036080830152615c4e8184615bc7565b90509695505050505050565b600081519050615c6981613eb9565b92915050565b600060208284031215615c8557615c84613d85565b5b6000615c9384828501615c5a565b91505092915050565b60008160e01c9050919050565b600060033d1115615cc85760046000803e615cc5600051615c9c565b90505b90565b600060443d1015615cdb57615d5e565b615ce3613d7b565b60043d036004823e80513d602482011167ffffffffffffffff82111715615d0b575050615d5e565b808201805167ffffffffffffffff811115615d295750505050615d5e565b80602083010160043d038501811115615d46575050505050615d5e565b615d5582602001850186613f92565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000615dbd6034836140e2565b9150615dc882615d61565b604082019050919050565b60006020820190508181036000830152615dec81615db0565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000615e4f6028836140e2565b9150615e5a82615df3565b604082019050919050565b60006020820190508181036000830152615e7e81615e42565b9050919050565b600060a082019050615e9a60008301886148a3565b615ea760208301876148a3565b8181036040830152615eb981866146c4565b90508181036060830152615ecd81856146c4565b90508181036080830152615ee18184615bc7565b9050969550505050505056fea2646970667358221220f31acf838432af902470f8caf7ea5ae87438cbc9c02b493b08083ef633ce533064736f6c63430008090033

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

000000000000000000000000000000000000000000000000000000000000006009d684046024b36d37dae62b63d67ba9af5bb8687f01053e6df004ec1d693cf92ff797806b7212f6b435a9896a825cd15561013c60d2566e58296fc75a5a7de2000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d5875454b6e6b71716b726b33704857516f42327155326776456477553566416f3856774479435a436a59475800000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _baseUri (string): https://gateway.pinata.cloud/ipfs/QmXuEKnkqqkrk3pHWQoB2qU2gvEdwU5fAo8VwDyCZCjYGX
Arg [1] : _freeMerkleRoot (bytes32): 0x09d684046024b36d37dae62b63d67ba9af5bb8687f01053e6df004ec1d693cf9
Arg [2] : _allowlistMerkleRoot (bytes32): 0x2ff797806b7212f6b435a9896a825cd15561013c60d2566e58296fc75a5a7de2

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 09d684046024b36d37dae62b63d67ba9af5bb8687f01053e6df004ec1d693cf9
Arg [2] : 2ff797806b7212f6b435a9896a825cd15561013c60d2566e58296fc75a5a7de2
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000050
Arg [4] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [5] : 732f516d5875454b6e6b71716b726b33704857516f4232715532677645647755
Arg [6] : 3566416f3856774479435a436a59475800000000000000000000000000000000


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.