ETH Price: $3,964.43 (+1.39%)

Token

PitBossToken (MBPB)
 

Overview

Max Total Supply

3,001 MBPB

Holders

868

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0xE9C025EFA72A325C44dFD05031d6AB0b20e0fd3e
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:
RedeemNFT

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : RedeemNFT.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;

// implements the ERC1155 standard
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./IRedeemNFT.sol";

contract RedeemNFT is ERC1155, AccessControl, Ownable, IRedeemNFT {
    using ECDSA for bytes32;
    bytes32 public constant SIGNER_ROLE = keccak256("SIGNER_ROLE");

    mapping(address => mapping(uint256 => bool)) internal usedNonces;
    mapping(uint256 => bool) internal usedInternalIds;
    mapping(address => bool) internal claimedTokens;

    string public name;
    string public symbol;
    bool private claimActive = true;

    uint256 private immutable endTime;

    constructor(
        address initialSignerAddress,
        string memory _name,
        string memory _symbol,
        uint256 _endtime
    )
        ERC1155("https://api.monkeybet.co/monkeybet/pitboss/{id}")
        AccessControl()
    {
        name = _name;
        symbol = _symbol;
        endTime = _endtime;

        require(
            initialSignerAddress != address(0x0),
            "Initial signer required"
        );

        // Setting the role admin for all the roles (signer).
        _setRoleAdmin(SIGNER_ROLE, DEFAULT_ADMIN_ROLE);

        // Granting roles to accounts.
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _setupRole(SIGNER_ROLE, initialSignerAddress);
    }

    function claim(
        address sender,
        address signer,
        uint256 nonce,
        uint256 qty,
        uint256 internalId,
        bytes calldata signature
    ) external {
        require(block.timestamp <= endTime, "Claim are currently close");
        require(claimActive == true, "Claim are currently close");
        require(msg.sender == sender, "Sender does not match");
        require(!usedInternalIds[internalId], "Internal id already used");
        require(!claimedTokens[sender], "PitBoss Already Claimed");

        _requireValidNonceAndUpdate(signer, nonce);

        usedInternalIds[internalId] = true;

        address messageSigner = _getSigner(
            sender,
            signer,
            nonce,
            qty,
            internalId,
            signature
        );

        require(messageSigner == signer, "Signer does not match");

        _requireHasRole(SIGNER_ROLE, messageSigner);

        _mint(msg.sender, 0, qty, "");

        claimedTokens[sender] = true;

        emit TokensRedeemed(sender, signer, internalId, qty);
    }

    function toogleRedeem() public onlyOwner {
        claimActive = !claimActive;
    }

    function statusRedeem() public view returns (bool status) {
        return claimActive;
    }

    function isUsedNonce(address signer, uint256 nonce)
        external
        view
        returns (bool)
    {
        return usedNonces[signer][nonce];
    }

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

    /** Internal Functions */

    /**
        @notice Gets the current chain id using the opcode 'chainid()'.
        @return the current chain id.
     */
    function _getChainId() internal view returns (uint256) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        uint256 id;
        assembly {
            id := chainid()
        }
        return id;
    }

    /** Internal Functions */

    function _requireValidNonceAndUpdate(address signer, uint256 nonce)
        internal
    {
        require(!usedNonces[signer][nonce], "Nonce already used");
        usedNonces[signer][nonce] = true;
    }

    function _requireHasRole(bytes32 role, address account) internal view {
        require(hasRole(role, account), "Account has not role");
    }

    function _getSigner(
        address sender,
        address signer,
        uint256 nonce,
        uint256 qty,
        uint256 internalId,
        bytes memory signature
    ) internal view returns (address) {
        bytes32 hash = _hashData(
            sender,
            signer,
            nonce,
            qty,
            internalId,
            _getChainId()
        );
        bytes32 messageHash = hash.toEthSignedMessageHash();
        return messageHash.recover(signature);
    }

    function _hashData(
        address sender,
        address signer,
        uint256 nonce,
        uint256 qty,
        uint256 internalId,
        uint256 chainId
    ) internal view returns (bytes32) {
        return
            keccak256(
                abi.encodePacked(
                    sender,
                    signer,
                    nonce,
                    qty,
                    internalId,
                    chainId
                )
            );
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

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

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

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

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

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

        address operator = _msgSender();

        _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 3 of 15 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 27)
        }
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 4 of 15 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 5 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev 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 6 of 15 : IRedeemNFT.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;

// Allows anyone to redeem tokens from the platform.
interface IRedeemNFT {
    
    // Redeems digital points in change of ERC20 tokens.
    function claim(
        address sender,
        address signer,
        uint256 nonce,
        uint256 qty,
        uint256 internalId,
        bytes calldata signature
    ) external;

    // Verify whether a nonce value was used or not for a given signer account.
    function isUsedNonce(address signer, uint256 nonce) external view returns (bool);

    // This event is triggered whenever a call to #redeem succeeds.
    event TokensRedeemed(
        address indexed account,
        address indexed signer,
        uint256 internalId,
        uint256 qty
    );
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

File 8 of 15 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

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

File 9 of 15 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "../IERC1155.sol";

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

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

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 15 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 12 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 13 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 14 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 15 of 15 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"initialSignerAddress","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_endtime","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"signer","type":"address"},{"indexed":false,"internalType":"uint256","name":"internalId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"qty","type":"uint256"}],"name":"TokensRedeemed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SIGNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"signer","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"uint256","name":"internalId","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"isUsedNonce","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"statusRedeem","outputs":[{"internalType":"bool","name":"status","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toogleRedeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60a06040526001600a60006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b50604051620055f3380380620055f383398181016040528101906200005291906200079f565b6040518060600160405280602f8152602001620055c4602f91396200007d81620001d160201b60201c565b506200009e62000092620001ed60201b60201c565b620001f560201b60201c565b8260089080519060200190620000b6929190620004b2565b508160099080519060200190620000cf929190620004b2565b508060808181525050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156200014b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200014290620008b0565b60405180910390fd5b620001807fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f706000801b620002bb60201b60201c565b620001956000801b336200031f60201b60201c565b620001c77fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f70856200031f60201b60201c565b5050505062000937565b8060029080519060200190620001e9929190620004b2565b5050565b600033905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000620002ce836200033560201b60201c565b90508160036000858152602001908152602001600020600101819055508181847fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff60405160405180910390a4505050565b6200033182826200035560201b60201c565b5050565b600060036000838152602001908152602001600020600101549050919050565b6200036782826200044760201b60201c565b620004435760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620003e8620001ed60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b828054620004c09062000901565b90600052602060002090601f016020900481019282620004e4576000855562000530565b82601f10620004ff57805160ff191683800117855562000530565b8280016001018555821562000530579182015b828111156200052f57825182559160200191906001019062000512565b5b5090506200053f919062000543565b5090565b5b808211156200055e57600081600090555060010162000544565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620005a38262000576565b9050919050565b620005b58162000596565b8114620005c157600080fd5b50565b600081519050620005d581620005aa565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200063082620005e5565b810181811067ffffffffffffffff82111715620006525762000651620005f6565b5b80604052505050565b60006200066762000562565b905062000675828262000625565b919050565b600067ffffffffffffffff821115620006985762000697620005f6565b5b620006a382620005e5565b9050602081019050919050565b60005b83811015620006d0578082015181840152602081019050620006b3565b83811115620006e0576000848401525b50505050565b6000620006fd620006f7846200067a565b6200065b565b9050828152602081018484840111156200071c576200071b620005e0565b5b62000729848285620006b0565b509392505050565b600082601f830112620007495762000748620005db565b5b81516200075b848260208601620006e6565b91505092915050565b6000819050919050565b620007798162000764565b81146200078557600080fd5b50565b60008151905062000799816200076e565b92915050565b60008060008060808587031215620007bc57620007bb6200056c565b5b6000620007cc87828801620005c4565b945050602085015167ffffffffffffffff811115620007f057620007ef62000571565b5b620007fe8782880162000731565b935050604085015167ffffffffffffffff81111562000822576200082162000571565b5b620008308782880162000731565b9250506060620008438782880162000788565b91505092959194509250565b600082825260208201905092915050565b7f496e697469616c207369676e6572207265717569726564000000000000000000600082015250565b6000620008986017836200084f565b9150620008a58262000860565b602082019050919050565b60006020820190508181036000830152620008cb8162000889565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200091a57607f821691505b60208210811415620009315762000930620008d2565b5b50919050565b608051614c7162000953600039600061087d0152614c716000f3fe608060405234801561001057600080fd5b50600436106101575760003560e01c8063715018a6116100c3578063a217fddf1161007c578063a217fddf146103c6578063a22cb465146103e4578063d547741f14610400578063e985e9c51461041c578063f242432a1461044c578063f2fde38b1461046857610157565b8063715018a6146103145780638da5cb5b1461031e5780639012fded1461033c57806391d148541461035a57806395d89b411461038a578063a1ebf35d146103a857610157565b80632e4e2225116101155780632e4e22251461026a5780632eb2c2d6146102745780632f2ff15d14610290578063343685d1146102ac57806336568abe146102c85780634e1273f4146102e457610157565b8062fdd58e1461015c57806301ffc9a71461018c57806306fdde03146101bc5780630e89341c146101da5780630ee60fa71461020a578063248a9ca31461023a575b600080fd5b61017660048036038101906101719190612d3a565b610484565b6040516101839190612d89565b60405180910390f35b6101a660048036038101906101a19190612dfc565b61054d565b6040516101b39190612e44565b60405180910390f35b6101c461055f565b6040516101d19190612ef8565b60405180910390f35b6101f460048036038101906101ef9190612f1a565b6105ed565b6040516102019190612ef8565b60405180910390f35b610224600480360381019061021f9190612d3a565b610681565b6040516102319190612e44565b60405180910390f35b610254600480360381019061024f9190612f7d565b6106e9565b6040516102619190612fb9565b60405180910390f35b610272610709565b005b61028e600480360381019061028991906131d1565b6107b1565b005b6102aa60048036038101906102a591906132a0565b610852565b005b6102c660048036038101906102c1919061333b565b61087b565b005b6102e260048036038101906102dd91906132a0565b610c99565b005b6102fe60048036038101906102f991906134ad565b610d1c565b60405161030b91906135e3565b60405180910390f35b61031c610e35565b005b610326610ebd565b6040516103339190613614565b60405180910390f35b610344610ee7565b6040516103519190612e44565b60405180910390f35b610374600480360381019061036f91906132a0565b610efe565b6040516103819190612e44565b60405180910390f35b610392610f69565b60405161039f9190612ef8565b60405180910390f35b6103b0610ff7565b6040516103bd9190612fb9565b60405180910390f35b6103ce61101b565b6040516103db9190612fb9565b60405180910390f35b6103fe60048036038101906103f9919061365b565b611022565b005b61041a600480360381019061041591906132a0565b611038565b005b6104366004803603810190610431919061369b565b611061565b6040516104439190612e44565b60405180910390f35b610466600480360381019061046191906136db565b6110f5565b005b610482600480360381019061047d9190613772565b611196565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156104f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ec90613811565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006105588261128e565b9050919050565b6008805461056c90613860565b80601f016020809104026020016040519081016040528092919081815260200182805461059890613860565b80156105e55780601f106105ba576101008083540402835291602001916105e5565b820191906000526020600020905b8154815290600101906020018083116105c857829003601f168201915b505050505081565b6060600280546105fc90613860565b80601f016020809104026020016040519081016040528092919081815260200182805461062890613860565b80156106755780601f1061064a57610100808354040283529160200191610675565b820191906000526020600020905b81548152906001019060200180831161065857829003601f168201915b50505050509050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900460ff16905092915050565b600060036000838152602001908152602001600020600101549050919050565b610711611308565b73ffffffffffffffffffffffffffffffffffffffff1661072f610ebd565b73ffffffffffffffffffffffffffffffffffffffff1614610785576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077c906138de565b60405180910390fd5b600a60009054906101000a900460ff1615600a60006101000a81548160ff021916908315150217905550565b6107b9611308565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806107ff57506107fe856107f9611308565b611061565b5b61083e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083590613970565b60405180910390fd5b61084b8585858585611310565b5050505050565b61085b826106e9565b61086c81610867611308565b611624565b61087683836116c1565b505050565b7f00000000000000000000000000000000000000000000000000000000000000004211156108de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d5906139dc565b60405180910390fd5b60011515600a60009054906101000a900460ff16151514610934576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092b906139dc565b60405180910390fd5b8673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099990613a48565b60405180910390fd5b6006600084815260200190815260200160002060009054906101000a900460ff1615610a03576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fa90613ab4565b60405180910390fd5b600760008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610a90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8790613b20565b60405180910390fd5b610a9a86866117a2565b60016006600085815260200190815260200160002060006101000a81548160ff0219169083151502179055506000610b1a888888888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506118ad565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8190613b8c565b60405180910390fd5b610bb47fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f70826118f5565b610bd03360008760405180602001604052806000815250611942565b6001600760008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167f0bb7d7161f80ca4cd98ff0298ff3ba71bb1a2f4e100340b6fc696d6caa4321818688604051610c87929190613bac565b60405180910390a35050505050505050565b610ca1611308565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0590613c47565b60405180910390fd5b610d188282611ad8565b5050565b60608151835114610d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5990613cd9565b60405180910390fd5b6000835167ffffffffffffffff811115610d7f57610d7e612fd9565b5b604051908082528060200260200182016040528015610dad5781602001602082028036833780820191505090505b50905060005b8451811015610e2a57610dfa858281518110610dd257610dd1613cf9565b5b6020026020010151858381518110610ded57610dec613cf9565b5b6020026020010151610484565b828281518110610e0d57610e0c613cf9565b5b60200260200101818152505080610e2390613d57565b9050610db3565b508091505092915050565b610e3d611308565b73ffffffffffffffffffffffffffffffffffffffff16610e5b610ebd565b73ffffffffffffffffffffffffffffffffffffffff1614610eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea8906138de565b60405180910390fd5b610ebb6000611bba565b565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600a60009054906101000a900460ff16905090565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60098054610f7690613860565b80601f0160208091040260200160405190810160405280929190818152602001828054610fa290613860565b8015610fef5780601f10610fc457610100808354040283529160200191610fef565b820191906000526020600020905b815481529060010190602001808311610fd257829003601f168201915b505050505081565b7fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f7081565b6000801b81565b61103461102d611308565b8383611c80565b5050565b611041826106e9565b6110528161104d611308565b611624565b61105c8383611ad8565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6110fd611308565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061114357506111428561113d611308565b611061565b5b611182576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117990613e12565b60405180910390fd5b61118f8585858585611ded565b5050505050565b61119e611308565b73ffffffffffffffffffffffffffffffffffffffff166111bc610ebd565b73ffffffffffffffffffffffffffffffffffffffff1614611212576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611209906138de565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611282576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127990613ea4565b60405180910390fd5b61128b81611bba565b50565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061130157506113008261206f565b5b9050919050565b600033905090565b8151835114611354576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134b90613f36565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156113c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bb90613fc8565b60405180910390fd5b60006113ce611308565b90506113de818787878787612151565b60005b845181101561158f5760008582815181106113ff576113fe613cf9565b5b60200260200101519050600085838151811061141e5761141d613cf9565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156114bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b69061405a565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611574919061407a565b925050819055505050508061158890613d57565b90506113e1565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516116069291906140d0565b60405180910390a461161c818787878787612159565b505050505050565b61162e8282610efe565b6116bd576116538173ffffffffffffffffffffffffffffffffffffffff166014612331565b6116618360001c6020612331565b6040516020016116729291906141db565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b49190612ef8565b60405180910390fd5b5050565b6116cb8282610efe565b61179e5760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611743611308565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082815260200190815260200160002060009054906101000a900460ff1615611840576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183790614261565b60405180910390fd5b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000806118c588888888886118c061256d565b61257a565b905060006118d2826125b9565b90506118e784826125e990919063ffffffff16565b925050509695505050505050565b6118ff8282610efe565b61193e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611935906142cd565b60405180910390fd5b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156119b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a99061435f565b60405180910390fd5b60006119bc611308565b90506119dd816000876119ce88612610565b6119d788612610565b87612151565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a3c919061407a565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611aba929190613bac565b60405180910390a4611ad18160008787878761268a565b5050505050565b611ae28282610efe565b15611bb65760006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611b5b611308565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611cef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce6906143f1565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611de09190612e44565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611e5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5490613fc8565b60405180910390fd5b6000611e67611308565b9050611e87818787611e7888612610565b611e8188612610565b87612151565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f159061405a565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fd3919061407a565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612050929190613bac565b60405180910390a461206682888888888861268a565b50505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061213a57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061214a575061214982612862565b5b9050919050565b505050505050565b6121788473ffffffffffffffffffffffffffffffffffffffff166128cc565b15612329578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016121be959493929190614466565b6020604051808303816000875af19250505080156121fa57506040513d601f19601f820116820180604052508101906121f791906144e3565b60015b6122a05761220661451d565b806308c379a01415612263575061221b61453f565b806122265750612265565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225a9190612ef8565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229790614647565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612327576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231e906146d9565b60405180910390fd5b505b505050505050565b60606000600283600261234491906146f9565b61234e919061407a565b67ffffffffffffffff81111561236757612366612fd9565b5b6040519080825280601f01601f1916602001820160405280156123995781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106123d1576123d0613cf9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061243557612434613cf9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261247591906146f9565b61247f919061407a565b90505b600181111561251f577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106124c1576124c0613cf9565b5b1a60f81b8282815181106124d8576124d7613cf9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061251890614753565b9050612482565b5060008414612563576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255a906147c9565b60405180910390fd5b8091505092915050565b6000804690508091505090565b600086868686868660405160200161259796959493929190614852565b6040516020818303038152906040528051906020012090509695505050505050565b6000816040516020016125cc919061492f565b604051602081830303815290604052805190602001209050919050565b60008060006125f885856128df565b9150915061260581612962565b819250505092915050565b60606000600167ffffffffffffffff81111561262f5761262e612fd9565b5b60405190808252806020026020018201604052801561265d5781602001602082028036833780820191505090505b509050828160008151811061267557612674613cf9565b5b60200260200101818152505080915050919050565b6126a98473ffffffffffffffffffffffffffffffffffffffff166128cc565b1561285a578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016126ef959493929190614955565b6020604051808303816000875af192505050801561272b57506040513d601f19601f8201168201806040525081019061272891906144e3565b60015b6127d15761273761451d565b806308c379a01415612794575061274c61453f565b806127575750612796565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278b9190612ef8565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c890614647565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284f906146d9565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080823b905060008111915050919050565b6000806041835114156129215760008060006020860151925060408601519150606086015160001a905061291587828585612b37565b9450945050505061295b565b604083511415612952576000806020850151915060408501519050612947868383612c44565b93509350505061295b565b60006002915091505b9250929050565b60006004811115612976576129756149af565b5b816004811115612989576129886149af565b5b141561299457612b34565b600160048111156129a8576129a76149af565b5b8160048111156129bb576129ba6149af565b5b14156129fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129f390614a2a565b60405180910390fd5b60026004811115612a1057612a0f6149af565b5b816004811115612a2357612a226149af565b5b1415612a64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5b90614a96565b60405180910390fd5b60036004811115612a7857612a776149af565b5b816004811115612a8b57612a8a6149af565b5b1415612acc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac390614b28565b60405180910390fd5b600480811115612adf57612ade6149af565b5b816004811115612af257612af16149af565b5b1415612b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2a90614bba565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612b72576000600391509150612c3b565b601b8560ff1614158015612b8a5750601c8560ff1614155b15612b9c576000600491509150612c3b565b600060018787878760405160008152602001604052604051612bc19493929190614bf6565b6020604051602081039080840390855afa158015612be3573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612c3257600060019250925050612c3b565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050612c8487828885612b37565b935093505050935093915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612cd182612ca6565b9050919050565b612ce181612cc6565b8114612cec57600080fd5b50565b600081359050612cfe81612cd8565b92915050565b6000819050919050565b612d1781612d04565b8114612d2257600080fd5b50565b600081359050612d3481612d0e565b92915050565b60008060408385031215612d5157612d50612c9c565b5b6000612d5f85828601612cef565b9250506020612d7085828601612d25565b9150509250929050565b612d8381612d04565b82525050565b6000602082019050612d9e6000830184612d7a565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612dd981612da4565b8114612de457600080fd5b50565b600081359050612df681612dd0565b92915050565b600060208284031215612e1257612e11612c9c565b5b6000612e2084828501612de7565b91505092915050565b60008115159050919050565b612e3e81612e29565b82525050565b6000602082019050612e596000830184612e35565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612e99578082015181840152602081019050612e7e565b83811115612ea8576000848401525b50505050565b6000601f19601f8301169050919050565b6000612eca82612e5f565b612ed48185612e6a565b9350612ee4818560208601612e7b565b612eed81612eae565b840191505092915050565b60006020820190508181036000830152612f128184612ebf565b905092915050565b600060208284031215612f3057612f2f612c9c565b5b6000612f3e84828501612d25565b91505092915050565b6000819050919050565b612f5a81612f47565b8114612f6557600080fd5b50565b600081359050612f7781612f51565b92915050565b600060208284031215612f9357612f92612c9c565b5b6000612fa184828501612f68565b91505092915050565b612fb381612f47565b82525050565b6000602082019050612fce6000830184612faa565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61301182612eae565b810181811067ffffffffffffffff821117156130305761302f612fd9565b5b80604052505050565b6000613043612c92565b905061304f8282613008565b919050565b600067ffffffffffffffff82111561306f5761306e612fd9565b5b602082029050602081019050919050565b600080fd5b600061309861309384613054565b613039565b905080838252602082019050602084028301858111156130bb576130ba613080565b5b835b818110156130e457806130d08882612d25565b8452602084019350506020810190506130bd565b5050509392505050565b600082601f83011261310357613102612fd4565b5b8135613113848260208601613085565b91505092915050565b600080fd5b600067ffffffffffffffff82111561313c5761313b612fd9565b5b61314582612eae565b9050602081019050919050565b82818337600083830152505050565b600061317461316f84613121565b613039565b9050828152602081018484840111156131905761318f61311c565b5b61319b848285613152565b509392505050565b600082601f8301126131b8576131b7612fd4565b5b81356131c8848260208601613161565b91505092915050565b600080600080600060a086880312156131ed576131ec612c9c565b5b60006131fb88828901612cef565b955050602061320c88828901612cef565b945050604086013567ffffffffffffffff81111561322d5761322c612ca1565b5b613239888289016130ee565b935050606086013567ffffffffffffffff81111561325a57613259612ca1565b5b613266888289016130ee565b925050608086013567ffffffffffffffff81111561328757613286612ca1565b5b613293888289016131a3565b9150509295509295909350565b600080604083850312156132b7576132b6612c9c565b5b60006132c585828601612f68565b92505060206132d685828601612cef565b9150509250929050565b600080fd5b60008083601f8401126132fb576132fa612fd4565b5b8235905067ffffffffffffffff811115613318576133176132e0565b5b60208301915083600182028301111561333457613333613080565b5b9250929050565b600080600080600080600060c0888a03121561335a57613359612c9c565b5b60006133688a828b01612cef565b97505060206133798a828b01612cef565b965050604061338a8a828b01612d25565b955050606061339b8a828b01612d25565b94505060806133ac8a828b01612d25565b93505060a088013567ffffffffffffffff8111156133cd576133cc612ca1565b5b6133d98a828b016132e5565b925092505092959891949750929550565b600067ffffffffffffffff82111561340557613404612fd9565b5b602082029050602081019050919050565b6000613429613424846133ea565b613039565b9050808382526020820190506020840283018581111561344c5761344b613080565b5b835b8181101561347557806134618882612cef565b84526020840193505060208101905061344e565b5050509392505050565b600082601f83011261349457613493612fd4565b5b81356134a4848260208601613416565b91505092915050565b600080604083850312156134c4576134c3612c9c565b5b600083013567ffffffffffffffff8111156134e2576134e1612ca1565b5b6134ee8582860161347f565b925050602083013567ffffffffffffffff81111561350f5761350e612ca1565b5b61351b858286016130ee565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61355a81612d04565b82525050565b600061356c8383613551565b60208301905092915050565b6000602082019050919050565b600061359082613525565b61359a8185613530565b93506135a583613541565b8060005b838110156135d65781516135bd8882613560565b97506135c883613578565b9250506001810190506135a9565b5085935050505092915050565b600060208201905081810360008301526135fd8184613585565b905092915050565b61360e81612cc6565b82525050565b60006020820190506136296000830184613605565b92915050565b61363881612e29565b811461364357600080fd5b50565b6000813590506136558161362f565b92915050565b6000806040838503121561367257613671612c9c565b5b600061368085828601612cef565b925050602061369185828601613646565b9150509250929050565b600080604083850312156136b2576136b1612c9c565b5b60006136c085828601612cef565b92505060206136d185828601612cef565b9150509250929050565b600080600080600060a086880312156136f7576136f6612c9c565b5b600061370588828901612cef565b955050602061371688828901612cef565b945050604061372788828901612d25565b935050606061373888828901612d25565b925050608086013567ffffffffffffffff81111561375957613758612ca1565b5b613765888289016131a3565b9150509295509295909350565b60006020828403121561378857613787612c9c565b5b600061379684828501612cef565b91505092915050565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b60006137fb602b83612e6a565b91506138068261379f565b604082019050919050565b6000602082019050818103600083015261382a816137ee565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061387857607f821691505b6020821081141561388c5761388b613831565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006138c8602083612e6a565b91506138d382613892565b602082019050919050565b600060208201905081810360008301526138f7816138bb565b9050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b600061395a603283612e6a565b9150613965826138fe565b604082019050919050565b600060208201905081810360008301526139898161394d565b9050919050565b7f436c61696d206172652063757272656e746c7920636c6f736500000000000000600082015250565b60006139c6601983612e6a565b91506139d182613990565b602082019050919050565b600060208201905081810360008301526139f5816139b9565b9050919050565b7f53656e64657220646f6573206e6f74206d617463680000000000000000000000600082015250565b6000613a32601583612e6a565b9150613a3d826139fc565b602082019050919050565b60006020820190508181036000830152613a6181613a25565b9050919050565b7f496e7465726e616c20696420616c726561647920757365640000000000000000600082015250565b6000613a9e601883612e6a565b9150613aa982613a68565b602082019050919050565b60006020820190508181036000830152613acd81613a91565b9050919050565b7f506974426f737320416c726561647920436c61696d6564000000000000000000600082015250565b6000613b0a601783612e6a565b9150613b1582613ad4565b602082019050919050565b60006020820190508181036000830152613b3981613afd565b9050919050565b7f5369676e657220646f6573206e6f74206d617463680000000000000000000000600082015250565b6000613b76601583612e6a565b9150613b8182613b40565b602082019050919050565b60006020820190508181036000830152613ba581613b69565b9050919050565b6000604082019050613bc16000830185612d7a565b613bce6020830184612d7a565b9392505050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000613c31602f83612e6a565b9150613c3c82613bd5565b604082019050919050565b60006020820190508181036000830152613c6081613c24565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613cc3602983612e6a565b9150613cce82613c67565b604082019050919050565b60006020820190508181036000830152613cf281613cb6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613d6282612d04565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613d9557613d94613d28565b5b600182019050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000613dfc602983612e6a565b9150613e0782613da0565b604082019050919050565b60006020820190508181036000830152613e2b81613def565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613e8e602683612e6a565b9150613e9982613e32565b604082019050919050565b60006020820190508181036000830152613ebd81613e81565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613f20602883612e6a565b9150613f2b82613ec4565b604082019050919050565b60006020820190508181036000830152613f4f81613f13565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613fb2602583612e6a565b9150613fbd82613f56565b604082019050919050565b60006020820190508181036000830152613fe181613fa5565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000614044602a83612e6a565b915061404f82613fe8565b604082019050919050565b6000602082019050818103600083015261407381614037565b9050919050565b600061408582612d04565b915061409083612d04565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140c5576140c4613d28565b5b828201905092915050565b600060408201905081810360008301526140ea8185613585565b905081810360208301526140fe8184613585565b90509392505050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000614148601783614107565b915061415382614112565b601782019050919050565b600061416982612e5f565b6141738185614107565b9350614183818560208601612e7b565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b60006141c5601183614107565b91506141d08261418f565b601182019050919050565b60006141e68261413b565b91506141f2828561415e565b91506141fd826141b8565b9150614209828461415e565b91508190509392505050565b7f4e6f6e636520616c726561647920757365640000000000000000000000000000600082015250565b600061424b601283612e6a565b915061425682614215565b602082019050919050565b6000602082019050818103600083015261427a8161423e565b9050919050565b7f4163636f756e7420686173206e6f7420726f6c65000000000000000000000000600082015250565b60006142b7601483612e6a565b91506142c282614281565b602082019050919050565b600060208201905081810360008301526142e6816142aa565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614349602183612e6a565b9150614354826142ed565b604082019050919050565b600060208201905081810360008301526143788161433c565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006143db602983612e6a565b91506143e68261437f565b604082019050919050565b6000602082019050818103600083015261440a816143ce565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061443882614411565b614442818561441c565b9350614452818560208601612e7b565b61445b81612eae565b840191505092915050565b600060a08201905061447b6000830188613605565b6144886020830187613605565b818103604083015261449a8186613585565b905081810360608301526144ae8185613585565b905081810360808301526144c2818461442d565b90509695505050505050565b6000815190506144dd81612dd0565b92915050565b6000602082840312156144f9576144f8612c9c565b5b6000614507848285016144ce565b91505092915050565b60008160e01c9050919050565b600060033d111561453c5760046000803e614539600051614510565b90505b90565b600060443d101561454f576145d2565b614557612c92565b60043d036004823e80513d602482011167ffffffffffffffff8211171561457f5750506145d2565b808201805167ffffffffffffffff81111561459d57505050506145d2565b80602083010160043d0385018111156145ba5750505050506145d2565b6145c982602001850186613008565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614631603483612e6a565b915061463c826145d5565b604082019050919050565b6000602082019050818103600083015261466081614624565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006146c3602883612e6a565b91506146ce82614667565b604082019050919050565b600060208201905081810360008301526146f2816146b6565b9050919050565b600061470482612d04565b915061470f83612d04565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561474857614747613d28565b5b828202905092915050565b600061475e82612d04565b9150600082141561477257614771613d28565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006147b3602083612e6a565b91506147be8261477d565b602082019050919050565b600060208201905081810360008301526147e2816147a6565b9050919050565b60008160601b9050919050565b6000614801826147e9565b9050919050565b6000614813826147f6565b9050919050565b61482b61482682612cc6565b614808565b82525050565b6000819050919050565b61484c61484782612d04565b614831565b82525050565b600061485e828961481a565b60148201915061486e828861481a565b60148201915061487e828761483b565b60208201915061488e828661483b565b60208201915061489e828561483b565b6020820191506148ae828461483b565b602082019150819050979650505050505050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b60006148f8601c83614107565b9150614903826148c2565b601c82019050919050565b6000819050919050565b61492961492482612f47565b61490e565b82525050565b600061493a826148eb565b91506149468284614918565b60208201915081905092915050565b600060a08201905061496a6000830188613605565b6149776020830187613605565b6149846040830186612d7a565b6149916060830185612d7a565b81810360808301526149a3818461442d565b90509695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000614a14601883612e6a565b9150614a1f826149de565b602082019050919050565b60006020820190508181036000830152614a4381614a07565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000614a80601f83612e6a565b9150614a8b82614a4a565b602082019050919050565b60006020820190508181036000830152614aaf81614a73565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614b12602283612e6a565b9150614b1d82614ab6565b604082019050919050565b60006020820190508181036000830152614b4181614b05565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ba4602283612e6a565b9150614baf82614b48565b604082019050919050565b60006020820190508181036000830152614bd381614b97565b9050919050565b600060ff82169050919050565b614bf081614bda565b82525050565b6000608082019050614c0b6000830187612faa565b614c186020830186614be7565b614c256040830185612faa565b614c326060830184612faa565b9594505050505056fea2646970667358221220b7e6ffb581f7a76d1d5e9ed230c030e88c5700462007575f324461b48b18a30064736f6c634300080a003368747470733a2f2f6170692e6d6f6e6b65796265742e636f2f6d6f6e6b65796265742f706974626f73732f7b69647d0000000000000000000000007ece09c3adf1912a129083a834500b3cb1a7a378000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000061de19ff000000000000000000000000000000000000000000000000000000000000000c506974426f7373546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d42504200000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101575760003560e01c8063715018a6116100c3578063a217fddf1161007c578063a217fddf146103c6578063a22cb465146103e4578063d547741f14610400578063e985e9c51461041c578063f242432a1461044c578063f2fde38b1461046857610157565b8063715018a6146103145780638da5cb5b1461031e5780639012fded1461033c57806391d148541461035a57806395d89b411461038a578063a1ebf35d146103a857610157565b80632e4e2225116101155780632e4e22251461026a5780632eb2c2d6146102745780632f2ff15d14610290578063343685d1146102ac57806336568abe146102c85780634e1273f4146102e457610157565b8062fdd58e1461015c57806301ffc9a71461018c57806306fdde03146101bc5780630e89341c146101da5780630ee60fa71461020a578063248a9ca31461023a575b600080fd5b61017660048036038101906101719190612d3a565b610484565b6040516101839190612d89565b60405180910390f35b6101a660048036038101906101a19190612dfc565b61054d565b6040516101b39190612e44565b60405180910390f35b6101c461055f565b6040516101d19190612ef8565b60405180910390f35b6101f460048036038101906101ef9190612f1a565b6105ed565b6040516102019190612ef8565b60405180910390f35b610224600480360381019061021f9190612d3a565b610681565b6040516102319190612e44565b60405180910390f35b610254600480360381019061024f9190612f7d565b6106e9565b6040516102619190612fb9565b60405180910390f35b610272610709565b005b61028e600480360381019061028991906131d1565b6107b1565b005b6102aa60048036038101906102a591906132a0565b610852565b005b6102c660048036038101906102c1919061333b565b61087b565b005b6102e260048036038101906102dd91906132a0565b610c99565b005b6102fe60048036038101906102f991906134ad565b610d1c565b60405161030b91906135e3565b60405180910390f35b61031c610e35565b005b610326610ebd565b6040516103339190613614565b60405180910390f35b610344610ee7565b6040516103519190612e44565b60405180910390f35b610374600480360381019061036f91906132a0565b610efe565b6040516103819190612e44565b60405180910390f35b610392610f69565b60405161039f9190612ef8565b60405180910390f35b6103b0610ff7565b6040516103bd9190612fb9565b60405180910390f35b6103ce61101b565b6040516103db9190612fb9565b60405180910390f35b6103fe60048036038101906103f9919061365b565b611022565b005b61041a600480360381019061041591906132a0565b611038565b005b6104366004803603810190610431919061369b565b611061565b6040516104439190612e44565b60405180910390f35b610466600480360381019061046191906136db565b6110f5565b005b610482600480360381019061047d9190613772565b611196565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156104f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ec90613811565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006105588261128e565b9050919050565b6008805461056c90613860565b80601f016020809104026020016040519081016040528092919081815260200182805461059890613860565b80156105e55780601f106105ba576101008083540402835291602001916105e5565b820191906000526020600020905b8154815290600101906020018083116105c857829003601f168201915b505050505081565b6060600280546105fc90613860565b80601f016020809104026020016040519081016040528092919081815260200182805461062890613860565b80156106755780601f1061064a57610100808354040283529160200191610675565b820191906000526020600020905b81548152906001019060200180831161065857829003601f168201915b50505050509050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900460ff16905092915050565b600060036000838152602001908152602001600020600101549050919050565b610711611308565b73ffffffffffffffffffffffffffffffffffffffff1661072f610ebd565b73ffffffffffffffffffffffffffffffffffffffff1614610785576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077c906138de565b60405180910390fd5b600a60009054906101000a900460ff1615600a60006101000a81548160ff021916908315150217905550565b6107b9611308565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806107ff57506107fe856107f9611308565b611061565b5b61083e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083590613970565b60405180910390fd5b61084b8585858585611310565b5050505050565b61085b826106e9565b61086c81610867611308565b611624565b61087683836116c1565b505050565b7f0000000000000000000000000000000000000000000000000000000061de19ff4211156108de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d5906139dc565b60405180910390fd5b60011515600a60009054906101000a900460ff16151514610934576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092b906139dc565b60405180910390fd5b8673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099990613a48565b60405180910390fd5b6006600084815260200190815260200160002060009054906101000a900460ff1615610a03576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fa90613ab4565b60405180910390fd5b600760008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610a90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8790613b20565b60405180910390fd5b610a9a86866117a2565b60016006600085815260200190815260200160002060006101000a81548160ff0219169083151502179055506000610b1a888888888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506118ad565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8190613b8c565b60405180910390fd5b610bb47fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f70826118f5565b610bd03360008760405180602001604052806000815250611942565b6001600760008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167f0bb7d7161f80ca4cd98ff0298ff3ba71bb1a2f4e100340b6fc696d6caa4321818688604051610c87929190613bac565b60405180910390a35050505050505050565b610ca1611308565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0590613c47565b60405180910390fd5b610d188282611ad8565b5050565b60608151835114610d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5990613cd9565b60405180910390fd5b6000835167ffffffffffffffff811115610d7f57610d7e612fd9565b5b604051908082528060200260200182016040528015610dad5781602001602082028036833780820191505090505b50905060005b8451811015610e2a57610dfa858281518110610dd257610dd1613cf9565b5b6020026020010151858381518110610ded57610dec613cf9565b5b6020026020010151610484565b828281518110610e0d57610e0c613cf9565b5b60200260200101818152505080610e2390613d57565b9050610db3565b508091505092915050565b610e3d611308565b73ffffffffffffffffffffffffffffffffffffffff16610e5b610ebd565b73ffffffffffffffffffffffffffffffffffffffff1614610eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea8906138de565b60405180910390fd5b610ebb6000611bba565b565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600a60009054906101000a900460ff16905090565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60098054610f7690613860565b80601f0160208091040260200160405190810160405280929190818152602001828054610fa290613860565b8015610fef5780601f10610fc457610100808354040283529160200191610fef565b820191906000526020600020905b815481529060010190602001808311610fd257829003601f168201915b505050505081565b7fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f7081565b6000801b81565b61103461102d611308565b8383611c80565b5050565b611041826106e9565b6110528161104d611308565b611624565b61105c8383611ad8565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6110fd611308565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061114357506111428561113d611308565b611061565b5b611182576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117990613e12565b60405180910390fd5b61118f8585858585611ded565b5050505050565b61119e611308565b73ffffffffffffffffffffffffffffffffffffffff166111bc610ebd565b73ffffffffffffffffffffffffffffffffffffffff1614611212576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611209906138de565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611282576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127990613ea4565b60405180910390fd5b61128b81611bba565b50565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061130157506113008261206f565b5b9050919050565b600033905090565b8151835114611354576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134b90613f36565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156113c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bb90613fc8565b60405180910390fd5b60006113ce611308565b90506113de818787878787612151565b60005b845181101561158f5760008582815181106113ff576113fe613cf9565b5b60200260200101519050600085838151811061141e5761141d613cf9565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156114bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b69061405a565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611574919061407a565b925050819055505050508061158890613d57565b90506113e1565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516116069291906140d0565b60405180910390a461161c818787878787612159565b505050505050565b61162e8282610efe565b6116bd576116538173ffffffffffffffffffffffffffffffffffffffff166014612331565b6116618360001c6020612331565b6040516020016116729291906141db565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b49190612ef8565b60405180910390fd5b5050565b6116cb8282610efe565b61179e5760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611743611308565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082815260200190815260200160002060009054906101000a900460ff1615611840576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183790614261565b60405180910390fd5b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000806118c588888888886118c061256d565b61257a565b905060006118d2826125b9565b90506118e784826125e990919063ffffffff16565b925050509695505050505050565b6118ff8282610efe565b61193e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611935906142cd565b60405180910390fd5b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156119b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a99061435f565b60405180910390fd5b60006119bc611308565b90506119dd816000876119ce88612610565b6119d788612610565b87612151565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a3c919061407a565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611aba929190613bac565b60405180910390a4611ad18160008787878761268a565b5050505050565b611ae28282610efe565b15611bb65760006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611b5b611308565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611cef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce6906143f1565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611de09190612e44565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611e5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5490613fc8565b60405180910390fd5b6000611e67611308565b9050611e87818787611e7888612610565b611e8188612610565b87612151565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f159061405a565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fd3919061407a565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612050929190613bac565b60405180910390a461206682888888888861268a565b50505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061213a57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061214a575061214982612862565b5b9050919050565b505050505050565b6121788473ffffffffffffffffffffffffffffffffffffffff166128cc565b15612329578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016121be959493929190614466565b6020604051808303816000875af19250505080156121fa57506040513d601f19601f820116820180604052508101906121f791906144e3565b60015b6122a05761220661451d565b806308c379a01415612263575061221b61453f565b806122265750612265565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225a9190612ef8565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229790614647565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612327576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231e906146d9565b60405180910390fd5b505b505050505050565b60606000600283600261234491906146f9565b61234e919061407a565b67ffffffffffffffff81111561236757612366612fd9565b5b6040519080825280601f01601f1916602001820160405280156123995781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106123d1576123d0613cf9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061243557612434613cf9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261247591906146f9565b61247f919061407a565b90505b600181111561251f577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106124c1576124c0613cf9565b5b1a60f81b8282815181106124d8576124d7613cf9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061251890614753565b9050612482565b5060008414612563576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255a906147c9565b60405180910390fd5b8091505092915050565b6000804690508091505090565b600086868686868660405160200161259796959493929190614852565b6040516020818303038152906040528051906020012090509695505050505050565b6000816040516020016125cc919061492f565b604051602081830303815290604052805190602001209050919050565b60008060006125f885856128df565b9150915061260581612962565b819250505092915050565b60606000600167ffffffffffffffff81111561262f5761262e612fd9565b5b60405190808252806020026020018201604052801561265d5781602001602082028036833780820191505090505b509050828160008151811061267557612674613cf9565b5b60200260200101818152505080915050919050565b6126a98473ffffffffffffffffffffffffffffffffffffffff166128cc565b1561285a578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016126ef959493929190614955565b6020604051808303816000875af192505050801561272b57506040513d601f19601f8201168201806040525081019061272891906144e3565b60015b6127d15761273761451d565b806308c379a01415612794575061274c61453f565b806127575750612796565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278b9190612ef8565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c890614647565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284f906146d9565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080823b905060008111915050919050565b6000806041835114156129215760008060006020860151925060408601519150606086015160001a905061291587828585612b37565b9450945050505061295b565b604083511415612952576000806020850151915060408501519050612947868383612c44565b93509350505061295b565b60006002915091505b9250929050565b60006004811115612976576129756149af565b5b816004811115612989576129886149af565b5b141561299457612b34565b600160048111156129a8576129a76149af565b5b8160048111156129bb576129ba6149af565b5b14156129fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129f390614a2a565b60405180910390fd5b60026004811115612a1057612a0f6149af565b5b816004811115612a2357612a226149af565b5b1415612a64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5b90614a96565b60405180910390fd5b60036004811115612a7857612a776149af565b5b816004811115612a8b57612a8a6149af565b5b1415612acc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac390614b28565b60405180910390fd5b600480811115612adf57612ade6149af565b5b816004811115612af257612af16149af565b5b1415612b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2a90614bba565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612b72576000600391509150612c3b565b601b8560ff1614158015612b8a5750601c8560ff1614155b15612b9c576000600491509150612c3b565b600060018787878760405160008152602001604052604051612bc19493929190614bf6565b6020604051602081039080840390855afa158015612be3573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612c3257600060019250925050612c3b565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050612c8487828885612b37565b935093505050935093915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612cd182612ca6565b9050919050565b612ce181612cc6565b8114612cec57600080fd5b50565b600081359050612cfe81612cd8565b92915050565b6000819050919050565b612d1781612d04565b8114612d2257600080fd5b50565b600081359050612d3481612d0e565b92915050565b60008060408385031215612d5157612d50612c9c565b5b6000612d5f85828601612cef565b9250506020612d7085828601612d25565b9150509250929050565b612d8381612d04565b82525050565b6000602082019050612d9e6000830184612d7a565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612dd981612da4565b8114612de457600080fd5b50565b600081359050612df681612dd0565b92915050565b600060208284031215612e1257612e11612c9c565b5b6000612e2084828501612de7565b91505092915050565b60008115159050919050565b612e3e81612e29565b82525050565b6000602082019050612e596000830184612e35565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612e99578082015181840152602081019050612e7e565b83811115612ea8576000848401525b50505050565b6000601f19601f8301169050919050565b6000612eca82612e5f565b612ed48185612e6a565b9350612ee4818560208601612e7b565b612eed81612eae565b840191505092915050565b60006020820190508181036000830152612f128184612ebf565b905092915050565b600060208284031215612f3057612f2f612c9c565b5b6000612f3e84828501612d25565b91505092915050565b6000819050919050565b612f5a81612f47565b8114612f6557600080fd5b50565b600081359050612f7781612f51565b92915050565b600060208284031215612f9357612f92612c9c565b5b6000612fa184828501612f68565b91505092915050565b612fb381612f47565b82525050565b6000602082019050612fce6000830184612faa565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61301182612eae565b810181811067ffffffffffffffff821117156130305761302f612fd9565b5b80604052505050565b6000613043612c92565b905061304f8282613008565b919050565b600067ffffffffffffffff82111561306f5761306e612fd9565b5b602082029050602081019050919050565b600080fd5b600061309861309384613054565b613039565b905080838252602082019050602084028301858111156130bb576130ba613080565b5b835b818110156130e457806130d08882612d25565b8452602084019350506020810190506130bd565b5050509392505050565b600082601f83011261310357613102612fd4565b5b8135613113848260208601613085565b91505092915050565b600080fd5b600067ffffffffffffffff82111561313c5761313b612fd9565b5b61314582612eae565b9050602081019050919050565b82818337600083830152505050565b600061317461316f84613121565b613039565b9050828152602081018484840111156131905761318f61311c565b5b61319b848285613152565b509392505050565b600082601f8301126131b8576131b7612fd4565b5b81356131c8848260208601613161565b91505092915050565b600080600080600060a086880312156131ed576131ec612c9c565b5b60006131fb88828901612cef565b955050602061320c88828901612cef565b945050604086013567ffffffffffffffff81111561322d5761322c612ca1565b5b613239888289016130ee565b935050606086013567ffffffffffffffff81111561325a57613259612ca1565b5b613266888289016130ee565b925050608086013567ffffffffffffffff81111561328757613286612ca1565b5b613293888289016131a3565b9150509295509295909350565b600080604083850312156132b7576132b6612c9c565b5b60006132c585828601612f68565b92505060206132d685828601612cef565b9150509250929050565b600080fd5b60008083601f8401126132fb576132fa612fd4565b5b8235905067ffffffffffffffff811115613318576133176132e0565b5b60208301915083600182028301111561333457613333613080565b5b9250929050565b600080600080600080600060c0888a03121561335a57613359612c9c565b5b60006133688a828b01612cef565b97505060206133798a828b01612cef565b965050604061338a8a828b01612d25565b955050606061339b8a828b01612d25565b94505060806133ac8a828b01612d25565b93505060a088013567ffffffffffffffff8111156133cd576133cc612ca1565b5b6133d98a828b016132e5565b925092505092959891949750929550565b600067ffffffffffffffff82111561340557613404612fd9565b5b602082029050602081019050919050565b6000613429613424846133ea565b613039565b9050808382526020820190506020840283018581111561344c5761344b613080565b5b835b8181101561347557806134618882612cef565b84526020840193505060208101905061344e565b5050509392505050565b600082601f83011261349457613493612fd4565b5b81356134a4848260208601613416565b91505092915050565b600080604083850312156134c4576134c3612c9c565b5b600083013567ffffffffffffffff8111156134e2576134e1612ca1565b5b6134ee8582860161347f565b925050602083013567ffffffffffffffff81111561350f5761350e612ca1565b5b61351b858286016130ee565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61355a81612d04565b82525050565b600061356c8383613551565b60208301905092915050565b6000602082019050919050565b600061359082613525565b61359a8185613530565b93506135a583613541565b8060005b838110156135d65781516135bd8882613560565b97506135c883613578565b9250506001810190506135a9565b5085935050505092915050565b600060208201905081810360008301526135fd8184613585565b905092915050565b61360e81612cc6565b82525050565b60006020820190506136296000830184613605565b92915050565b61363881612e29565b811461364357600080fd5b50565b6000813590506136558161362f565b92915050565b6000806040838503121561367257613671612c9c565b5b600061368085828601612cef565b925050602061369185828601613646565b9150509250929050565b600080604083850312156136b2576136b1612c9c565b5b60006136c085828601612cef565b92505060206136d185828601612cef565b9150509250929050565b600080600080600060a086880312156136f7576136f6612c9c565b5b600061370588828901612cef565b955050602061371688828901612cef565b945050604061372788828901612d25565b935050606061373888828901612d25565b925050608086013567ffffffffffffffff81111561375957613758612ca1565b5b613765888289016131a3565b9150509295509295909350565b60006020828403121561378857613787612c9c565b5b600061379684828501612cef565b91505092915050565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b60006137fb602b83612e6a565b91506138068261379f565b604082019050919050565b6000602082019050818103600083015261382a816137ee565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061387857607f821691505b6020821081141561388c5761388b613831565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006138c8602083612e6a565b91506138d382613892565b602082019050919050565b600060208201905081810360008301526138f7816138bb565b9050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b600061395a603283612e6a565b9150613965826138fe565b604082019050919050565b600060208201905081810360008301526139898161394d565b9050919050565b7f436c61696d206172652063757272656e746c7920636c6f736500000000000000600082015250565b60006139c6601983612e6a565b91506139d182613990565b602082019050919050565b600060208201905081810360008301526139f5816139b9565b9050919050565b7f53656e64657220646f6573206e6f74206d617463680000000000000000000000600082015250565b6000613a32601583612e6a565b9150613a3d826139fc565b602082019050919050565b60006020820190508181036000830152613a6181613a25565b9050919050565b7f496e7465726e616c20696420616c726561647920757365640000000000000000600082015250565b6000613a9e601883612e6a565b9150613aa982613a68565b602082019050919050565b60006020820190508181036000830152613acd81613a91565b9050919050565b7f506974426f737320416c726561647920436c61696d6564000000000000000000600082015250565b6000613b0a601783612e6a565b9150613b1582613ad4565b602082019050919050565b60006020820190508181036000830152613b3981613afd565b9050919050565b7f5369676e657220646f6573206e6f74206d617463680000000000000000000000600082015250565b6000613b76601583612e6a565b9150613b8182613b40565b602082019050919050565b60006020820190508181036000830152613ba581613b69565b9050919050565b6000604082019050613bc16000830185612d7a565b613bce6020830184612d7a565b9392505050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000613c31602f83612e6a565b9150613c3c82613bd5565b604082019050919050565b60006020820190508181036000830152613c6081613c24565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613cc3602983612e6a565b9150613cce82613c67565b604082019050919050565b60006020820190508181036000830152613cf281613cb6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613d6282612d04565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613d9557613d94613d28565b5b600182019050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000613dfc602983612e6a565b9150613e0782613da0565b604082019050919050565b60006020820190508181036000830152613e2b81613def565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613e8e602683612e6a565b9150613e9982613e32565b604082019050919050565b60006020820190508181036000830152613ebd81613e81565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613f20602883612e6a565b9150613f2b82613ec4565b604082019050919050565b60006020820190508181036000830152613f4f81613f13565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613fb2602583612e6a565b9150613fbd82613f56565b604082019050919050565b60006020820190508181036000830152613fe181613fa5565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000614044602a83612e6a565b915061404f82613fe8565b604082019050919050565b6000602082019050818103600083015261407381614037565b9050919050565b600061408582612d04565b915061409083612d04565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140c5576140c4613d28565b5b828201905092915050565b600060408201905081810360008301526140ea8185613585565b905081810360208301526140fe8184613585565b90509392505050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000614148601783614107565b915061415382614112565b601782019050919050565b600061416982612e5f565b6141738185614107565b9350614183818560208601612e7b565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b60006141c5601183614107565b91506141d08261418f565b601182019050919050565b60006141e68261413b565b91506141f2828561415e565b91506141fd826141b8565b9150614209828461415e565b91508190509392505050565b7f4e6f6e636520616c726561647920757365640000000000000000000000000000600082015250565b600061424b601283612e6a565b915061425682614215565b602082019050919050565b6000602082019050818103600083015261427a8161423e565b9050919050565b7f4163636f756e7420686173206e6f7420726f6c65000000000000000000000000600082015250565b60006142b7601483612e6a565b91506142c282614281565b602082019050919050565b600060208201905081810360008301526142e6816142aa565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614349602183612e6a565b9150614354826142ed565b604082019050919050565b600060208201905081810360008301526143788161433c565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006143db602983612e6a565b91506143e68261437f565b604082019050919050565b6000602082019050818103600083015261440a816143ce565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061443882614411565b614442818561441c565b9350614452818560208601612e7b565b61445b81612eae565b840191505092915050565b600060a08201905061447b6000830188613605565b6144886020830187613605565b818103604083015261449a8186613585565b905081810360608301526144ae8185613585565b905081810360808301526144c2818461442d565b90509695505050505050565b6000815190506144dd81612dd0565b92915050565b6000602082840312156144f9576144f8612c9c565b5b6000614507848285016144ce565b91505092915050565b60008160e01c9050919050565b600060033d111561453c5760046000803e614539600051614510565b90505b90565b600060443d101561454f576145d2565b614557612c92565b60043d036004823e80513d602482011167ffffffffffffffff8211171561457f5750506145d2565b808201805167ffffffffffffffff81111561459d57505050506145d2565b80602083010160043d0385018111156145ba5750505050506145d2565b6145c982602001850186613008565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614631603483612e6a565b915061463c826145d5565b604082019050919050565b6000602082019050818103600083015261466081614624565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006146c3602883612e6a565b91506146ce82614667565b604082019050919050565b600060208201905081810360008301526146f2816146b6565b9050919050565b600061470482612d04565b915061470f83612d04565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561474857614747613d28565b5b828202905092915050565b600061475e82612d04565b9150600082141561477257614771613d28565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006147b3602083612e6a565b91506147be8261477d565b602082019050919050565b600060208201905081810360008301526147e2816147a6565b9050919050565b60008160601b9050919050565b6000614801826147e9565b9050919050565b6000614813826147f6565b9050919050565b61482b61482682612cc6565b614808565b82525050565b6000819050919050565b61484c61484782612d04565b614831565b82525050565b600061485e828961481a565b60148201915061486e828861481a565b60148201915061487e828761483b565b60208201915061488e828661483b565b60208201915061489e828561483b565b6020820191506148ae828461483b565b602082019150819050979650505050505050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b60006148f8601c83614107565b9150614903826148c2565b601c82019050919050565b6000819050919050565b61492961492482612f47565b61490e565b82525050565b600061493a826148eb565b91506149468284614918565b60208201915081905092915050565b600060a08201905061496a6000830188613605565b6149776020830187613605565b6149846040830186612d7a565b6149916060830185612d7a565b81810360808301526149a3818461442d565b90509695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000614a14601883612e6a565b9150614a1f826149de565b602082019050919050565b60006020820190508181036000830152614a4381614a07565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000614a80601f83612e6a565b9150614a8b82614a4a565b602082019050919050565b60006020820190508181036000830152614aaf81614a73565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614b12602283612e6a565b9150614b1d82614ab6565b604082019050919050565b60006020820190508181036000830152614b4181614b05565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ba4602283612e6a565b9150614baf82614b48565b604082019050919050565b60006020820190508181036000830152614bd381614b97565b9050919050565b600060ff82169050919050565b614bf081614bda565b82525050565b6000608082019050614c0b6000830187612faa565b614c186020830186614be7565b614c256040830185612faa565b614c326060830184612faa565b9594505050505056fea2646970667358221220b7e6ffb581f7a76d1d5e9ed230c030e88c5700462007575f324461b48b18a30064736f6c634300080a0033

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

0000000000000000000000007ece09c3adf1912a129083a834500b3cb1a7a378000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000061de19ff000000000000000000000000000000000000000000000000000000000000000c506974426f7373546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d42504200000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : initialSignerAddress (address): 0x7EcE09c3AdF1912a129083a834500B3cb1A7A378
Arg [1] : _name (string): PitBossToken
Arg [2] : _symbol (string): MBPB
Arg [3] : _endtime (uint256): 1641945599

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000007ece09c3adf1912a129083a834500b3cb1a7a378
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000061de19ff
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [5] : 506974426f7373546f6b656e0000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 4d42504200000000000000000000000000000000000000000000000000000000


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.