ETH Price: $2,440.09 (+1.24%)

Token

 

Overview

Max Total Supply

152

Holders

34

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
craigpaton.eth
0x42cf62449008fb43d086e1f7e31c95cbbbfc2a8a
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:
C8Tokens

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : C8Tokens.sol
// SPDX-License-Identifier: UNLISCENSED

pragma solidity ^0.8.0;


import "https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.0.0/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol";
import "https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/v4.0.0/contracts/utils/Strings.sol";


contract C8Tokens is ERC1155PresetMinterPauser {

  string public contractURI; // must point to a json that hold to the store metadata
  
  address public owner;
  
  constructor(
    string memory _contractURI,
    string memory _baseURI
  ) ERC1155PresetMinterPauser (_baseURI) {
    contractURI = _contractURI;
    owner = _msgSender();
  }

  function setBaseURI(string memory newuri) public virtual {
    require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "C8Tokens: must have admin role to set base URI");

    _setURI(newuri);
  }
  
  function setContractURI(string memory newuri) public virtual {
    require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "C8Tokens: must have admin role to set contract URI");

    contractURI = newuri;
  }
  
  /**
   * Return the metadata uir for a given token id,
   * @dev this is an override of ERC1155.uri(uint256) because OpenSea doesn't support id interpolation even if defeined in the standard
  */
  function uri(uint256 _id) public view virtual override returns (string memory) {
    
    string memory baseURI = super.uri(_id); // get base uri
    string memory strId = Strings.toString(_id); // convert uint256 to a string
    return string(abi.encodePacked(baseURI, strId, ".json")); // concatenate <base uri> + <id> + ".json"
  }
  
  function setOwner(address newOwner) public virtual {
    require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "C8Tokens: must have admin role to set ownership");
    require(hasRole(DEFAULT_ADMIN_ROLE, newOwner), "C8Tokens: new owner must have admin role");
    
    owner = newOwner;  
  }
  
}

File 2 of 17 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

File 3 of 17 : ERC1155PresetMinterPauser.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC1155.sol";
import "../extensions/ERC1155Burnable.sol";
import "../extensions/ERC1155Pausable.sol";
import "../../../access/AccessControlEnumerable.sol";
import "../../../utils/Context.sol";

/**
 * @dev {ERC1155} token, including:
 *
 *  - ability for holders to burn (destroy) their tokens
 *  - a minter role that allows for token minting (creation)
 *  - a pauser role that allows to stop all token transfers
 *
 * This contract uses {AccessControl} to lock permissioned functions using the
 * different roles - head to its documentation for details.
 *
 * The account that deploys the contract will be granted the minter and pauser
 * roles, as well as the default admin role, which will let it grant both minter
 * and pauser roles to other accounts.
 */
contract ERC1155PresetMinterPauser is Context, AccessControlEnumerable, ERC1155Burnable, ERC1155Pausable {
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");

    /**
     * @dev Grants `DEFAULT_ADMIN_ROLE`, `MINTER_ROLE`, and `PAUSER_ROLE` to the account that
     * deploys the contract.
     */
    constructor(string memory uri) ERC1155(uri) {
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());

        _setupRole(MINTER_ROLE, _msgSender());
        _setupRole(PAUSER_ROLE, _msgSender());
    }

    /**
     * @dev Creates `amount` new tokens for `to`, of token type `id`.
     *
     * See {ERC1155-_mint}.
     *
     * Requirements:
     *
     * - the caller must have the `MINTER_ROLE`.
     */
    function mint(address to, uint256 id, uint256 amount, bytes memory data) public virtual {
        require(hasRole(MINTER_ROLE, _msgSender()), "ERC1155PresetMinterPauser: must have minter role to mint");

        _mint(to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] variant of {mint}.
     */
    function mintBatch(address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) public virtual {
        require(hasRole(MINTER_ROLE, _msgSender()), "ERC1155PresetMinterPauser: must have minter role to mint");

        _mintBatch(to, ids, amounts, data);
    }

    /**
     * @dev Pauses all token transfers.
     *
     * See {ERC1155Pausable} and {Pausable-_pause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function pause() public virtual {
        require(hasRole(PAUSER_ROLE, _msgSender()), "ERC1155PresetMinterPauser: must have pauser role to pause");
        _pause();
    }

    /**
     * @dev Unpauses all token transfers.
     *
     * See {ERC1155Pausable} and {Pausable-_unpause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function unpause() public virtual {
        require(hasRole(PAUSER_ROLE, _msgSender()), "ERC1155PresetMinterPauser: must have pauser role to unpause");
        _unpause();
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(AccessControlEnumerable, ERC1155) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    )
        internal virtual override(ERC1155, ERC1155Pausable)
    {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
    }
}

File 4 of 17 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 5 of 17 : AccessControlEnumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./AccessControl.sol";
import "../utils/structs/EnumerableSet.sol";

/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerable {
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);
    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}

/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
    using EnumerableSet for EnumerableSet.AddressSet;

    mapping (bytes32 => EnumerableSet.AddressSet) private _roleMembers;

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

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view override returns (address) {
        return _roleMembers[role].at(index);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view override returns (uint256) {
        return _roleMembers[role].length();
    }

    /**
     * @dev Overload {grantRole} to track enumerable memberships
     */
    function grantRole(bytes32 role, address account) public virtual override {
        super.grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {revokeRole} to track enumerable memberships
     */
    function revokeRole(bytes32 role, address account) public virtual override {
        super.revokeRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {renounceRole} to track enumerable memberships
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        super.renounceRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {_setupRole} to track enumerable memberships
     */
    function _setupRole(bytes32 role, address account) internal virtual override {
        super._setupRole(role, account);
        _roleMembers[role].add(account);
    }
}

File 6 of 17 : ERC1155Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC1155.sol";
import "../../../security/Pausable.sol";

/**
 * @dev ERC1155 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 *
 * _Available since v3.1._
 */
abstract contract ERC1155Pausable is ERC1155, Pausable {
    /**
     * @dev See {ERC1155-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    )
        internal
        virtual
        override
    {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);

        require(!paused(), "ERC1155Pausable: token transfer while paused");
    }
}

File 7 of 17 : ERC1155Burnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC1155.sol";

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

        _burn(account, id, value);
    }

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

        _burnBatch(account, ids, values);
    }
}

File 8 of 17 : ERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

        return array;
    }
}

File 9 of 17 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

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

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

File 10 of 17 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 11 of 17 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

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

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

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

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

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

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

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

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 12 of 17 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC1155.sol";

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

File 13 of 17 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * _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 14 of 17 : IERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

File 15 of 17 : EnumerableSet.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

File 16 of 17 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);
    function getRoleAdmin(bytes32 role) external view returns (bytes32);
    function grantRole(bytes32 role, address account) external;
    function revokeRole(bytes32 role, address account) external;
    function renounceRole(bytes32 role, address account) external;
}

/**
 * @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 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 {_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 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 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 {
        require(hasRole(getRoleAdmin(role), _msgSender()), "AccessControl: sender must be an admin to grant");

        _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 {
        require(hasRole(getRoleAdmin(role), _msgSender()), "AccessControl: sender must be an admin to revoke");

        _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 granted `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}.
     * ====
     */
    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 {
        emit RoleAdminChanged(role, getRoleAdmin(role), adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"},{"internalType":"string","name":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_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":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060405162005b0138038062005b01833981810160405281019062000037919062000552565b80806200004a816200017e60201b60201c565b506000600560006101000a81548160ff0219169083151502179055506200008a6000801b6200007e6200019a60201b60201c565b620001a260201b60201c565b620000cb7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6620000bf6200019a60201b60201c565b620001a260201b60201c565b6200010c7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a620001006200019a60201b60201c565b620001a260201b60201c565b5081600690805190602001906200012592919062000430565b50620001366200019a60201b60201c565b600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050620006f6565b80600490805190602001906200019692919062000430565b5050565b600033905090565b620001b98282620001ea60201b620019321760201c565b620001e581600160008581526020019081526020016000206200020060201b620019401790919060201c565b505050565b620001fc82826200023860201b60201c565b5050565b600062000230836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6200032960201b60201c565b905092915050565b6200024a8282620003a360201b60201c565b6200032557600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620002ca6200019a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006200033d83836200040d60201b60201c565b620003985782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506200039d565b600090505b92915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b8280546200043e9062000662565b90600052602060002090601f016020900481019282620004625760008555620004ae565b82601f106200047d57805160ff1916838001178555620004ae565b82800160010185558215620004ae579182015b82811115620004ad57825182559160200191906001019062000490565b5b509050620004bd9190620004c1565b5090565b5b80821115620004dc576000816000905550600101620004c2565b5090565b6000620004f7620004f184620005f9565b620005c5565b9050828152602081018484840111156200051057600080fd5b6200051d8482856200062c565b509392505050565b600082601f8301126200053757600080fd5b815162000549848260208601620004e0565b91505092915050565b600080604083850312156200056657600080fd5b600083015167ffffffffffffffff8111156200058157600080fd5b6200058f8582860162000525565b925050602083015167ffffffffffffffff811115620005ad57600080fd5b620005bb8582860162000525565b9150509250929050565b6000604051905081810181811067ffffffffffffffff82111715620005ef57620005ee620006c7565b5b8060405250919050565b600067ffffffffffffffff821115620006175762000616620006c7565b5b601f19601f8301169050602081019050919050565b60005b838110156200064c5780820151818401526020810190506200062f565b838111156200065c576000848401525b50505050565b600060028204905060018216806200067b57607f821691505b6020821081141562000692576200069162000698565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6153fb80620007066000396000f3fe608060405234801561001057600080fd5b50600436106101d95760003560e01c80638456cb5911610104578063ca15c873116100a2578063e8a3d48511610071578063e8a3d4851461053c578063e985e9c51461055a578063f242432a1461058a578063f5298aca146105a6576101d9565b8063ca15c873146104b4578063d5391393146104e4578063d547741f14610502578063e63ab1e91461051e576101d9565b806391d14854116100de57806391d148541461042e578063938e3d7b1461045e578063a217fddf1461047a578063a22cb46514610498576101d9565b80638456cb59146103d65780638da5cb5b146103e05780639010d07c146103fe576101d9565b80632f2ff15d1161017c57806355f804b31161014b57806355f804b3146103645780635c975abb146103805780636b20c4541461039e578063731133e9146103ba576101d9565b80632f2ff15d146102f257806336568abe1461030e5780633f4ba83a1461032a5780634e1273f414610334576101d9565b806313af4035116101b857806313af40351461026e5780631f7fdffa1461028a578063248a9ca3146102a65780632eb2c2d6146102d6576101d9565b8062fdd58e146101de57806301ffc9a71461020e5780630e89341c1461023e575b600080fd5b6101f860048036038101906101f391906139ec565b6105c2565b6040516102059190614df2565b60405180910390f35b61022860048036038101906102239190613bff565b61068c565b6040516102359190614a3a565b60405180910390f35b61025860048036038101906102539190613c92565b61069e565b6040516102659190614a70565b60405180910390f35b610288600480360381019061028391906136d3565b6106e5565b005b6102a4600480360381019061029f9190613905565b6107c8565b005b6102c060048036038101906102bb9190613b5e565b61084a565b6040516102cd9190614a55565b60405180910390f35b6102f060048036038101906102eb9190613738565b610869565b005b61030c60048036038101906103079190613b87565b610c62565b005b61032860048036038101906103239190613b87565b610c96565b005b610332610cca565b005b61034e60048036038101906103499190613af2565b610d44565b60405161035b91906149e1565b60405180910390f35b61037e60048036038101906103799190613c51565b610ef5565b005b610388610f54565b6040516103959190614a3a565b60405180910390f35b6103b860048036038101906103b39190613886565b610f6b565b005b6103d460048036038101906103cf9190613a77565b611008565b005b6103de61108a565b005b6103e8611104565b6040516103f59190614904565b60405180910390f35b61041860048036038101906104139190613bc3565b61112a565b6040516104259190614904565b60405180910390f35b61044860048036038101906104439190613b87565b611159565b6040516104559190614a3a565b60405180910390f35b61047860048036038101906104739190613c51565b6111c3565b005b610482611230565b60405161048f9190614a55565b60405180910390f35b6104b260048036038101906104ad91906139b0565b611237565b005b6104ce60048036038101906104c99190613b5e565b6113b8565b6040516104db9190614df2565b60405180910390f35b6104ec6113dc565b6040516104f99190614a55565b60405180910390f35b61051c60048036038101906105179190613b87565b611400565b005b610526611434565b6040516105339190614a55565b60405180910390f35b610544611458565b6040516105519190614a70565b60405180910390f35b610574600480360381019061056f91906136fc565b6114e6565b6040516105819190614a3a565b60405180910390f35b6105a4600480360381019061059f91906137f7565b61157a565b005b6105c060048036038101906105bb9190613a28565b611895565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610633576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062a90614b32565b60405180910390fd5b6002600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600061069782611970565b9050919050565b606060006106ab83611a52565b905060006106b884611ae6565b905081816040516020016106cd9291906148d5565b60405160208183030381529060405292505050919050565b6106f96000801b6106f4611c93565b611159565b610738576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072f90614c32565b60405180910390fd5b6107456000801b82611159565b610784576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077b90614b92565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6107f97f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66107f4611c93565b611159565b610838576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082f90614cd2565b60405180910390fd5b61084484848484611c9b565b50505050565b6000806000838152602001908152602001600020600101549050919050565b81518351146108ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a490614d92565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561091d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091490614c52565b60405180910390fd5b610925611c93565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061096b575061096a85610965611c93565b6114e6565b5b6109aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a190614c72565b60405180910390fd5b60006109b4611c93565b90506109c4818787878787611f06565b60005b8451811015610bcd576000858281518110610a0b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110610a50577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060006002600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610af2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae990614cf2565b60405180910390fd5b8181610afe9190615022565b6002600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816002600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610bb29190614f9b565b9250508190555050505080610bc690615148565b90506109c7565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610c44929190614a03565b60405180910390a4610c5a818787878787611f1c565b505050505050565b610c6c82826120ec565b610c91816001600085815260200190815260200160002061194090919063ffffffff16565b505050565b610ca08282612152565b610cc581600160008581526020019081526020016000206121d590919063ffffffff16565b505050565b610cfb7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610cf6611c93565b611159565b610d3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3190614d12565b60405180910390fd5b610d42612205565b565b60608151835114610d8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8190614d72565b60405180910390fd5b6000835167ffffffffffffffff811115610dcd577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610dfb5781602001602082028036833780820191505090505b50905060005b8451811015610eea57610e94858281518110610e46577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610e87577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516105c2565b828281518110610ecd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610ee390615148565b9050610e01565b508091505092915050565b610f096000801b610f04611c93565b611159565b610f48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3f90614cb2565b60405180910390fd5b610f51816122a7565b50565b6000600560009054906101000a900460ff16905090565b610f73611c93565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610fb95750610fb883610fb3611c93565b6114e6565b5b610ff8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fef90614bd2565b60405180910390fd5b6110038383836122c1565b505050565b6110397f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6611034611c93565b611159565b611078576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106f90614cd2565b60405180910390fd5b611084848484846125c9565b50505050565b6110bb7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6110b6611c93565b611159565b6110fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f190614d32565b60405180910390fd5b611102612760565b565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000611151826001600086815260200190815260200160002061280390919063ffffffff16565b905092915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6111d76000801b6111d2611c93565b611159565b611216576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120d90614b72565b60405180910390fd5b806006908051906020019061122c9291906133b6565b5050565b6000801b81565b8173ffffffffffffffffffffffffffffffffffffffff16611256611c93565b73ffffffffffffffffffffffffffffffffffffffff1614156112ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a490614d52565b60405180910390fd5b80600360006112ba611c93565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611367611c93565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113ac9190614a3a565b60405180910390a35050565b60006113d56001600084815260200190815260200160002061281d565b9050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61140a8282612832565b61142f81600160008581526020019081526020016000206121d590919063ffffffff16565b505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6006805461146590615116565b80601f016020809104026020016040519081016040528092919081815260200182805461149190615116565b80156114de5780601f106114b3576101008083540402835291602001916114de565b820191906000526020600020905b8154815290600101906020018083116114c157829003601f168201915b505050505081565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156115ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e190614c52565b60405180910390fd5b6115f2611c93565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611638575061163785611632611c93565b6114e6565b5b611677576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166e90614bd2565b60405180910390fd5b6000611681611c93565b90506116a181878761169288612898565b61169b88612898565b87611f06565b60006002600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611739576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173090614cf2565b60405180910390fd5b83816117459190615022565b6002600087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550836002600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117f99190614f9b565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051611876929190614e0d565b60405180910390a461188c82888888888861295e565b50505050505050565b61189d611c93565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806118e357506118e2836118dd611c93565b6114e6565b5b611922576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191990614bd2565b60405180910390fd5b61192d838383612b2e565b505050565b61193c8282612d56565b5050565b6000611968836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612e36565b905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611a3b57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611a4b5750611a4a82612ea6565b5b9050919050565b606060048054611a6190615116565b80601f0160208091040260200160405190810160405280929190818152602001828054611a8d90615116565b8015611ada5780601f10611aaf57610100808354040283529160200191611ada565b820191906000526020600020905b815481529060010190602001808311611abd57829003601f168201915b50505050509050919050565b60606000821415611b2e576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611c8e565b600082905060005b60008214611b60578080611b4990615148565b915050600a82611b599190614ff1565b9150611b36565b60008167ffffffffffffffff811115611ba2577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611bd45781602001600182028036833780820191505090505b5090505b60008514611c8757600182611bed9190615022565b9150600a85611bfc9190615191565b6030611c089190614f9b565b60f81b818381518110611c44577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611c809190614ff1565b9450611bd8565b8093505050505b919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0290614db2565b60405180910390fd5b8151835114611d4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4690614d92565b60405180910390fd5b6000611d59611c93565b9050611d6a81600087878787611f06565b60005b8451811015611e7057838181518110611daf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160026000878481518110611df4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e569190614f9b565b925050819055508080611e6890615148565b915050611d6d565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611ee8929190614a03565b60405180910390a4611eff81600087878787611f1c565b5050505050565b611f14868686868686612f20565b505050505050565b611f3b8473ffffffffffffffffffffffffffffffffffffffff16612f7e565b156120e4578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401611f8195949392919061491f565b602060405180830381600087803b158015611f9b57600080fd5b505af1925050508015611fcc57506040513d601f19601f82011682018060405250810190611fc99190613c28565b60015b61205b57611fd861529c565b80611fe35750612020565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120179190614a70565b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205290614a92565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146120e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d990614ad2565b60405180910390fd5b505b505050505050565b6121056120f88361084a565b612100611c93565b611159565b612144576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213b90614af2565b60405180910390fd5b61214e8282612d56565b5050565b61215a611c93565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146121c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121be90614dd2565b60405180910390fd5b6121d18282612f91565b5050565b60006121fd836000018373ffffffffffffffffffffffffffffffffffffffff1660001b613072565b905092915050565b61220d610f54565b61224c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224390614b12565b60405180910390fd5b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612290611c93565b60405161229d9190614904565b60405180910390a1565b80600490805190602001906122bd9291906133b6565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612331576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232890614c92565b60405180910390fd5b8051825114612375576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236c90614d92565b60405180910390fd5b600061237f611c93565b905061239f81856000868660405180602001604052806000815250611f06565b60005b83518110156125435760008482815181106123e6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600084838151811061242b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060006002600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156124cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c490614b52565b60405180910390fd5b81816124d99190615022565b6002600085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050808061253b90615148565b9150506123a2565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516125bb929190614a03565b60405180910390a450505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612639576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263090614db2565b60405180910390fd5b6000612643611c93565b90506126648160008761265588612898565b61265e88612898565b87611f06565b826002600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126c49190614f9b565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612742929190614e0d565b60405180910390a46127598160008787878761295e565b5050505050565b612768610f54565b156127a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279f90614c12565b60405180910390fd5b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586127ec611c93565b6040516127f99190614904565b60405180910390a1565b600061281283600001836131fc565b60001c905092915050565b600061282b82600001613296565b9050919050565b61284b61283e8361084a565b612846611c93565b611159565b61288a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288190614bf2565b60405180910390fd5b6128948282612f91565b5050565b60606000600167ffffffffffffffff8111156128dd577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561290b5781602001602082028036833780820191505090505b5090508281600081518110612949577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b61297d8473ffffffffffffffffffffffffffffffffffffffff16612f7e565b15612b26578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016129c3959493929190614987565b602060405180830381600087803b1580156129dd57600080fd5b505af1925050508015612a0e57506040513d601f19601f82011682018060405250810190612a0b9190613c28565b60015b612a9d57612a1a61529c565b80612a255750612a62565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a599190614a70565b60405180910390fd5b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9490614a92565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612b24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1b90614ad2565b60405180910390fd5b505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9590614c92565b60405180910390fd5b6000612ba8611c93565b9050612bd881856000612bba87612898565b612bc387612898565b60405180602001604052806000815250611f06565b60006002600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015612c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6790614b52565b60405180910390fd5b8281612c7c9190615022565b6002600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612d47929190614e0d565b60405180910390a45050505050565b612d608282611159565b612e3257600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612dd7611c93565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000612e4283836132a7565b612e9b578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612ea0565b600090505b92915050565b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612f195750612f18826132ca565b5b9050919050565b612f2e868686868686613344565b612f36610f54565b15612f76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6d90614bb2565b60405180910390fd5b505050505050565b600080823b905060008111915050919050565b612f9b8282611159565b1561306e57600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550613013611c93565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600080836001016000848152602001908152602001600020549050600081146131f05760006001826130a49190615022565b90506000600186600001805490506130bc9190615022565b905060008660000182815481106130fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080876000018481548110613146577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055506001836131619190614f9b565b87600101600083815260200190815260200160002081905550866000018054806131b4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506131f6565b60009150505b92915050565b600081836000018054905011613247576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323e90614ab2565b60405180910390fd5b826000018281548110613283577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905092915050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061333d575061333c8261334c565b5b9050919050565b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b8280546133c290615116565b90600052602060002090601f0160209004810192826133e4576000855561342b565b82601f106133fd57805160ff191683800117855561342b565b8280016001018555821561342b579182015b8281111561342a57825182559160200191906001019061340f565b5b509050613438919061343c565b5090565b5b8082111561345557600081600090555060010161343d565b5090565b600061346c61346784614e67565b614e36565b9050808382526020820190508285602086028201111561348b57600080fd5b60005b858110156134bb57816134a188826135ad565b84526020840193506020830192505060018101905061348e565b5050509392505050565b60006134d86134d384614e93565b614e36565b905080838252602082019050828560208602820111156134f757600080fd5b60005b85811015613527578161350d88826136be565b8452602084019350602083019250506001810190506134fa565b5050509392505050565b600061354461353f84614ebf565b614e36565b90508281526020810184848401111561355c57600080fd5b6135678482856150d4565b509392505050565b600061358261357d84614eef565b614e36565b90508281526020810184848401111561359a57600080fd5b6135a58482856150d4565b509392505050565b6000813590506135bc81615352565b92915050565b600082601f8301126135d357600080fd5b81356135e3848260208601613459565b91505092915050565b600082601f8301126135fd57600080fd5b813561360d8482602086016134c5565b91505092915050565b60008135905061362581615369565b92915050565b60008135905061363a81615380565b92915050565b60008135905061364f81615397565b92915050565b60008151905061366481615397565b92915050565b600082601f83011261367b57600080fd5b813561368b848260208601613531565b91505092915050565b600082601f8301126136a557600080fd5b81356136b584826020860161356f565b91505092915050565b6000813590506136cd816153ae565b92915050565b6000602082840312156136e557600080fd5b60006136f3848285016135ad565b91505092915050565b6000806040838503121561370f57600080fd5b600061371d858286016135ad565b925050602061372e858286016135ad565b9150509250929050565b600080600080600060a0868803121561375057600080fd5b600061375e888289016135ad565b955050602061376f888289016135ad565b945050604086013567ffffffffffffffff81111561378c57600080fd5b613798888289016135ec565b935050606086013567ffffffffffffffff8111156137b557600080fd5b6137c1888289016135ec565b925050608086013567ffffffffffffffff8111156137de57600080fd5b6137ea8882890161366a565b9150509295509295909350565b600080600080600060a0868803121561380f57600080fd5b600061381d888289016135ad565b955050602061382e888289016135ad565b945050604061383f888289016136be565b9350506060613850888289016136be565b925050608086013567ffffffffffffffff81111561386d57600080fd5b6138798882890161366a565b9150509295509295909350565b60008060006060848603121561389b57600080fd5b60006138a9868287016135ad565b935050602084013567ffffffffffffffff8111156138c657600080fd5b6138d2868287016135ec565b925050604084013567ffffffffffffffff8111156138ef57600080fd5b6138fb868287016135ec565b9150509250925092565b6000806000806080858703121561391b57600080fd5b6000613929878288016135ad565b945050602085013567ffffffffffffffff81111561394657600080fd5b613952878288016135ec565b935050604085013567ffffffffffffffff81111561396f57600080fd5b61397b878288016135ec565b925050606085013567ffffffffffffffff81111561399857600080fd5b6139a48782880161366a565b91505092959194509250565b600080604083850312156139c357600080fd5b60006139d1858286016135ad565b92505060206139e285828601613616565b9150509250929050565b600080604083850312156139ff57600080fd5b6000613a0d858286016135ad565b9250506020613a1e858286016136be565b9150509250929050565b600080600060608486031215613a3d57600080fd5b6000613a4b868287016135ad565b9350506020613a5c868287016136be565b9250506040613a6d868287016136be565b9150509250925092565b60008060008060808587031215613a8d57600080fd5b6000613a9b878288016135ad565b9450506020613aac878288016136be565b9350506040613abd878288016136be565b925050606085013567ffffffffffffffff811115613ada57600080fd5b613ae68782880161366a565b91505092959194509250565b60008060408385031215613b0557600080fd5b600083013567ffffffffffffffff811115613b1f57600080fd5b613b2b858286016135c2565b925050602083013567ffffffffffffffff811115613b4857600080fd5b613b54858286016135ec565b9150509250929050565b600060208284031215613b7057600080fd5b6000613b7e8482850161362b565b91505092915050565b60008060408385031215613b9a57600080fd5b6000613ba88582860161362b565b9250506020613bb9858286016135ad565b9150509250929050565b60008060408385031215613bd657600080fd5b6000613be48582860161362b565b9250506020613bf5858286016136be565b9150509250929050565b600060208284031215613c1157600080fd5b6000613c1f84828501613640565b91505092915050565b600060208284031215613c3a57600080fd5b6000613c4884828501613655565b91505092915050565b600060208284031215613c6357600080fd5b600082013567ffffffffffffffff811115613c7d57600080fd5b613c8984828501613694565b91505092915050565b600060208284031215613ca457600080fd5b6000613cb2848285016136be565b91505092915050565b6000613cc783836148b7565b60208301905092915050565b613cdc81615056565b82525050565b6000613ced82614f2f565b613cf78185614f5d565b9350613d0283614f1f565b8060005b83811015613d33578151613d1a8882613cbb565b9750613d2583614f50565b925050600181019050613d06565b5085935050505092915050565b613d4981615068565b82525050565b613d5881615074565b82525050565b6000613d6982614f3a565b613d738185614f6e565b9350613d838185602086016150e3565b613d8c8161527e565b840191505092915050565b6000613da282614f45565b613dac8185614f7f565b9350613dbc8185602086016150e3565b613dc58161527e565b840191505092915050565b6000613ddb82614f45565b613de58185614f90565b9350613df58185602086016150e3565b80840191505092915050565b6000613e0e603483614f7f565b91507f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008301527f526563656976657220696d706c656d656e7465720000000000000000000000006020830152604082019050919050565b6000613e74602283614f7f565b91507f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e60008301527f64730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613eda602883614f7f565b91507f455243313135353a204552433131353552656365697665722072656a6563746560008301527f6420746f6b656e730000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f40602f83614f7f565b91507f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60008301527f2061646d696e20746f206772616e7400000000000000000000000000000000006020830152604082019050919050565b6000613fa6601483614f7f565b91507f5061757361626c653a206e6f74207061757365640000000000000000000000006000830152602082019050919050565b6000613fe6602b83614f7f565b91507f455243313135353a2062616c616e636520717565727920666f7220746865207a60008301527f65726f20616464726573730000000000000000000000000000000000000000006020830152604082019050919050565b600061404c602483614f7f565b91507f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008301527f616e6365000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006140b2603283614f7f565b91507f4338546f6b656e733a206d75737420686176652061646d696e20726f6c65207460008301527f6f2073657420636f6e74726163742055524900000000000000000000000000006020830152604082019050919050565b6000614118602883614f7f565b91507f4338546f6b656e733a206e6577206f776e6572206d757374206861766520616460008301527f6d696e20726f6c650000000000000000000000000000000000000000000000006020830152604082019050919050565b600061417e602c83614f7f565b91507f455243313135355061757361626c653a20746f6b656e207472616e736665722060008301527f7768696c652070617573656400000000000000000000000000000000000000006020830152604082019050919050565b60006141e4602983614f7f565b91507f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008301527f20617070726f76656400000000000000000000000000000000000000000000006020830152604082019050919050565b600061424a603083614f7f565b91507f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60008301527f2061646d696e20746f207265766f6b65000000000000000000000000000000006020830152604082019050919050565b60006142b0601083614f7f565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b60006142f0602f83614f7f565b91507f4338546f6b656e733a206d75737420686176652061646d696e20726f6c65207460008301527f6f20736574206f776e65727368697000000000000000000000000000000000006020830152604082019050919050565b6000614356602583614f7f565b91507f455243313135353a207472616e7366657220746f20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006143bc603283614f7f565b91507f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008301527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006020830152604082019050919050565b6000614422602383614f7f565b91507f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614488602e83614f7f565b91507f4338546f6b656e733a206d75737420686176652061646d696e20726f6c65207460008301527f6f207365742062617365205552490000000000000000000000000000000000006020830152604082019050919050565b60006144ee603883614f7f565b91507f455243313135355072657365744d696e7465725061757365723a206d7573742060008301527f68617665206d696e74657220726f6c6520746f206d696e7400000000000000006020830152604082019050919050565b6000614554602a83614f7f565b91507f455243313135353a20696e73756666696369656e742062616c616e636520666f60008301527f72207472616e73666572000000000000000000000000000000000000000000006020830152604082019050919050565b60006145ba600583614f90565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b60006145fa603b83614f7f565b91507f455243313135355072657365744d696e7465725061757365723a206d7573742060008301527f686176652070617573657220726f6c6520746f20756e706175736500000000006020830152604082019050919050565b6000614660603983614f7f565b91507f455243313135355072657365744d696e7465725061757365723a206d7573742060008301527f686176652070617573657220726f6c6520746f207061757365000000000000006020830152604082019050919050565b60006146c6602983614f7f565b91507f455243313135353a2073657474696e6720617070726f76616c2073746174757360008301527f20666f722073656c6600000000000000000000000000000000000000000000006020830152604082019050919050565b600061472c602983614f7f565b91507f455243313135353a206163636f756e747320616e6420696473206c656e67746860008301527f206d69736d6174636800000000000000000000000000000000000000000000006020830152604082019050919050565b6000614792602883614f7f565b91507f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008301527f6d69736d617463680000000000000000000000000000000000000000000000006020830152604082019050919050565b60006147f8602183614f7f565b91507f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061485e602f83614f7f565b91507f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008301527f20726f6c657320666f722073656c6600000000000000000000000000000000006020830152604082019050919050565b6148c0816150ca565b82525050565b6148cf816150ca565b82525050565b60006148e18285613dd0565b91506148ed8284613dd0565b91506148f8826145ad565b91508190509392505050565b60006020820190506149196000830184613cd3565b92915050565b600060a0820190506149346000830188613cd3565b6149416020830187613cd3565b81810360408301526149538186613ce2565b905081810360608301526149678185613ce2565b9050818103608083015261497b8184613d5e565b90509695505050505050565b600060a08201905061499c6000830188613cd3565b6149a96020830187613cd3565b6149b660408301866148c6565b6149c360608301856148c6565b81810360808301526149d58184613d5e565b90509695505050505050565b600060208201905081810360008301526149fb8184613ce2565b905092915050565b60006040820190508181036000830152614a1d8185613ce2565b90508181036020830152614a318184613ce2565b90509392505050565b6000602082019050614a4f6000830184613d40565b92915050565b6000602082019050614a6a6000830184613d4f565b92915050565b60006020820190508181036000830152614a8a8184613d97565b905092915050565b60006020820190508181036000830152614aab81613e01565b9050919050565b60006020820190508181036000830152614acb81613e67565b9050919050565b60006020820190508181036000830152614aeb81613ecd565b9050919050565b60006020820190508181036000830152614b0b81613f33565b9050919050565b60006020820190508181036000830152614b2b81613f99565b9050919050565b60006020820190508181036000830152614b4b81613fd9565b9050919050565b60006020820190508181036000830152614b6b8161403f565b9050919050565b60006020820190508181036000830152614b8b816140a5565b9050919050565b60006020820190508181036000830152614bab8161410b565b9050919050565b60006020820190508181036000830152614bcb81614171565b9050919050565b60006020820190508181036000830152614beb816141d7565b9050919050565b60006020820190508181036000830152614c0b8161423d565b9050919050565b60006020820190508181036000830152614c2b816142a3565b9050919050565b60006020820190508181036000830152614c4b816142e3565b9050919050565b60006020820190508181036000830152614c6b81614349565b9050919050565b60006020820190508181036000830152614c8b816143af565b9050919050565b60006020820190508181036000830152614cab81614415565b9050919050565b60006020820190508181036000830152614ccb8161447b565b9050919050565b60006020820190508181036000830152614ceb816144e1565b9050919050565b60006020820190508181036000830152614d0b81614547565b9050919050565b60006020820190508181036000830152614d2b816145ed565b9050919050565b60006020820190508181036000830152614d4b81614653565b9050919050565b60006020820190508181036000830152614d6b816146b9565b9050919050565b60006020820190508181036000830152614d8b8161471f565b9050919050565b60006020820190508181036000830152614dab81614785565b9050919050565b60006020820190508181036000830152614dcb816147eb565b9050919050565b60006020820190508181036000830152614deb81614851565b9050919050565b6000602082019050614e0760008301846148c6565b92915050565b6000604082019050614e2260008301856148c6565b614e2f60208301846148c6565b9392505050565b6000604051905081810181811067ffffffffffffffff82111715614e5d57614e5c61524f565b5b8060405250919050565b600067ffffffffffffffff821115614e8257614e8161524f565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614eae57614ead61524f565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614eda57614ed961524f565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614f0a57614f0961524f565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614fa6826150ca565b9150614fb1836150ca565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614fe657614fe56151c2565b5b828201905092915050565b6000614ffc826150ca565b9150615007836150ca565b925082615017576150166151f1565b5b828204905092915050565b600061502d826150ca565b9150615038836150ca565b92508282101561504b5761504a6151c2565b5b828203905092915050565b6000615061826150aa565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156151015780820151818401526020810190506150e6565b83811115615110576000848401525b50505050565b6000600282049050600182168061512e57607f821691505b6020821081141561514257615141615220565b5b50919050565b6000615153826150ca565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615186576151856151c2565b5b600182019050919050565b600061519c826150ca565b91506151a7836150ca565b9250826151b7576151b66151f1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b600060443d10156152ac5761534f565b60046000803e6152bd60005161528f565b6308c379a081146152ce575061534f565b60405160043d036004823e80513d602482011167ffffffffffffffff821117156152fa5750505061534f565b808201805167ffffffffffffffff81111561531957505050505061534f565b8060208301013d85018111156153345750505050505061534f565b61533d8261527e565b60208401016040528296505050505050505b90565b61535b81615056565b811461536657600080fd5b50565b61537281615068565b811461537d57600080fd5b50565b61538981615074565b811461539457600080fd5b50565b6153a08161507e565b81146153ab57600080fd5b50565b6153b7816150ca565b81146153c257600080fd5b5056fea2646970667358221220a07cca1bbe3f23fc6b303915d3dba0decf165d57811aa0cf67e243475d85881764736f6c63430008000033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000004868747470733a2f2f63382d6e66742d64656661756c742d727464622e6575726f70652d77657374312e666972656261736564617461626173652e6170702f73746f72652e6a736f6e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004568747470733a2f2f63382d6e66742d64656661756c742d727464622e6575726f70652d77657374312e666972656261736564617461626173652e6170702f7469746c65732f000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101d95760003560e01c80638456cb5911610104578063ca15c873116100a2578063e8a3d48511610071578063e8a3d4851461053c578063e985e9c51461055a578063f242432a1461058a578063f5298aca146105a6576101d9565b8063ca15c873146104b4578063d5391393146104e4578063d547741f14610502578063e63ab1e91461051e576101d9565b806391d14854116100de57806391d148541461042e578063938e3d7b1461045e578063a217fddf1461047a578063a22cb46514610498576101d9565b80638456cb59146103d65780638da5cb5b146103e05780639010d07c146103fe576101d9565b80632f2ff15d1161017c57806355f804b31161014b57806355f804b3146103645780635c975abb146103805780636b20c4541461039e578063731133e9146103ba576101d9565b80632f2ff15d146102f257806336568abe1461030e5780633f4ba83a1461032a5780634e1273f414610334576101d9565b806313af4035116101b857806313af40351461026e5780631f7fdffa1461028a578063248a9ca3146102a65780632eb2c2d6146102d6576101d9565b8062fdd58e146101de57806301ffc9a71461020e5780630e89341c1461023e575b600080fd5b6101f860048036038101906101f391906139ec565b6105c2565b6040516102059190614df2565b60405180910390f35b61022860048036038101906102239190613bff565b61068c565b6040516102359190614a3a565b60405180910390f35b61025860048036038101906102539190613c92565b61069e565b6040516102659190614a70565b60405180910390f35b610288600480360381019061028391906136d3565b6106e5565b005b6102a4600480360381019061029f9190613905565b6107c8565b005b6102c060048036038101906102bb9190613b5e565b61084a565b6040516102cd9190614a55565b60405180910390f35b6102f060048036038101906102eb9190613738565b610869565b005b61030c60048036038101906103079190613b87565b610c62565b005b61032860048036038101906103239190613b87565b610c96565b005b610332610cca565b005b61034e60048036038101906103499190613af2565b610d44565b60405161035b91906149e1565b60405180910390f35b61037e60048036038101906103799190613c51565b610ef5565b005b610388610f54565b6040516103959190614a3a565b60405180910390f35b6103b860048036038101906103b39190613886565b610f6b565b005b6103d460048036038101906103cf9190613a77565b611008565b005b6103de61108a565b005b6103e8611104565b6040516103f59190614904565b60405180910390f35b61041860048036038101906104139190613bc3565b61112a565b6040516104259190614904565b60405180910390f35b61044860048036038101906104439190613b87565b611159565b6040516104559190614a3a565b60405180910390f35b61047860048036038101906104739190613c51565b6111c3565b005b610482611230565b60405161048f9190614a55565b60405180910390f35b6104b260048036038101906104ad91906139b0565b611237565b005b6104ce60048036038101906104c99190613b5e565b6113b8565b6040516104db9190614df2565b60405180910390f35b6104ec6113dc565b6040516104f99190614a55565b60405180910390f35b61051c60048036038101906105179190613b87565b611400565b005b610526611434565b6040516105339190614a55565b60405180910390f35b610544611458565b6040516105519190614a70565b60405180910390f35b610574600480360381019061056f91906136fc565b6114e6565b6040516105819190614a3a565b60405180910390f35b6105a4600480360381019061059f91906137f7565b61157a565b005b6105c060048036038101906105bb9190613a28565b611895565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610633576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062a90614b32565b60405180910390fd5b6002600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600061069782611970565b9050919050565b606060006106ab83611a52565b905060006106b884611ae6565b905081816040516020016106cd9291906148d5565b60405160208183030381529060405292505050919050565b6106f96000801b6106f4611c93565b611159565b610738576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072f90614c32565b60405180910390fd5b6107456000801b82611159565b610784576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077b90614b92565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6107f97f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66107f4611c93565b611159565b610838576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082f90614cd2565b60405180910390fd5b61084484848484611c9b565b50505050565b6000806000838152602001908152602001600020600101549050919050565b81518351146108ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a490614d92565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561091d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091490614c52565b60405180910390fd5b610925611c93565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061096b575061096a85610965611c93565b6114e6565b5b6109aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a190614c72565b60405180910390fd5b60006109b4611c93565b90506109c4818787878787611f06565b60005b8451811015610bcd576000858281518110610a0b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110610a50577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060006002600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610af2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae990614cf2565b60405180910390fd5b8181610afe9190615022565b6002600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816002600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610bb29190614f9b565b9250508190555050505080610bc690615148565b90506109c7565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610c44929190614a03565b60405180910390a4610c5a818787878787611f1c565b505050505050565b610c6c82826120ec565b610c91816001600085815260200190815260200160002061194090919063ffffffff16565b505050565b610ca08282612152565b610cc581600160008581526020019081526020016000206121d590919063ffffffff16565b505050565b610cfb7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610cf6611c93565b611159565b610d3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3190614d12565b60405180910390fd5b610d42612205565b565b60608151835114610d8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8190614d72565b60405180910390fd5b6000835167ffffffffffffffff811115610dcd577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610dfb5781602001602082028036833780820191505090505b50905060005b8451811015610eea57610e94858281518110610e46577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610e87577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516105c2565b828281518110610ecd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610ee390615148565b9050610e01565b508091505092915050565b610f096000801b610f04611c93565b611159565b610f48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3f90614cb2565b60405180910390fd5b610f51816122a7565b50565b6000600560009054906101000a900460ff16905090565b610f73611c93565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610fb95750610fb883610fb3611c93565b6114e6565b5b610ff8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fef90614bd2565b60405180910390fd5b6110038383836122c1565b505050565b6110397f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6611034611c93565b611159565b611078576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106f90614cd2565b60405180910390fd5b611084848484846125c9565b50505050565b6110bb7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6110b6611c93565b611159565b6110fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f190614d32565b60405180910390fd5b611102612760565b565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000611151826001600086815260200190815260200160002061280390919063ffffffff16565b905092915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6111d76000801b6111d2611c93565b611159565b611216576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120d90614b72565b60405180910390fd5b806006908051906020019061122c9291906133b6565b5050565b6000801b81565b8173ffffffffffffffffffffffffffffffffffffffff16611256611c93565b73ffffffffffffffffffffffffffffffffffffffff1614156112ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a490614d52565b60405180910390fd5b80600360006112ba611c93565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611367611c93565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113ac9190614a3a565b60405180910390a35050565b60006113d56001600084815260200190815260200160002061281d565b9050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61140a8282612832565b61142f81600160008581526020019081526020016000206121d590919063ffffffff16565b505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6006805461146590615116565b80601f016020809104026020016040519081016040528092919081815260200182805461149190615116565b80156114de5780601f106114b3576101008083540402835291602001916114de565b820191906000526020600020905b8154815290600101906020018083116114c157829003601f168201915b505050505081565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156115ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e190614c52565b60405180910390fd5b6115f2611c93565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611638575061163785611632611c93565b6114e6565b5b611677576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166e90614bd2565b60405180910390fd5b6000611681611c93565b90506116a181878761169288612898565b61169b88612898565b87611f06565b60006002600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611739576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173090614cf2565b60405180910390fd5b83816117459190615022565b6002600087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550836002600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117f99190614f9b565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051611876929190614e0d565b60405180910390a461188c82888888888861295e565b50505050505050565b61189d611c93565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806118e357506118e2836118dd611c93565b6114e6565b5b611922576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191990614bd2565b60405180910390fd5b61192d838383612b2e565b505050565b61193c8282612d56565b5050565b6000611968836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612e36565b905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611a3b57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611a4b5750611a4a82612ea6565b5b9050919050565b606060048054611a6190615116565b80601f0160208091040260200160405190810160405280929190818152602001828054611a8d90615116565b8015611ada5780601f10611aaf57610100808354040283529160200191611ada565b820191906000526020600020905b815481529060010190602001808311611abd57829003601f168201915b50505050509050919050565b60606000821415611b2e576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611c8e565b600082905060005b60008214611b60578080611b4990615148565b915050600a82611b599190614ff1565b9150611b36565b60008167ffffffffffffffff811115611ba2577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611bd45781602001600182028036833780820191505090505b5090505b60008514611c8757600182611bed9190615022565b9150600a85611bfc9190615191565b6030611c089190614f9b565b60f81b818381518110611c44577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611c809190614ff1565b9450611bd8565b8093505050505b919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0290614db2565b60405180910390fd5b8151835114611d4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4690614d92565b60405180910390fd5b6000611d59611c93565b9050611d6a81600087878787611f06565b60005b8451811015611e7057838181518110611daf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160026000878481518110611df4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e569190614f9b565b925050819055508080611e6890615148565b915050611d6d565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611ee8929190614a03565b60405180910390a4611eff81600087878787611f1c565b5050505050565b611f14868686868686612f20565b505050505050565b611f3b8473ffffffffffffffffffffffffffffffffffffffff16612f7e565b156120e4578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401611f8195949392919061491f565b602060405180830381600087803b158015611f9b57600080fd5b505af1925050508015611fcc57506040513d601f19601f82011682018060405250810190611fc99190613c28565b60015b61205b57611fd861529c565b80611fe35750612020565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120179190614a70565b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205290614a92565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146120e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d990614ad2565b60405180910390fd5b505b505050505050565b6121056120f88361084a565b612100611c93565b611159565b612144576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213b90614af2565b60405180910390fd5b61214e8282612d56565b5050565b61215a611c93565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146121c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121be90614dd2565b60405180910390fd5b6121d18282612f91565b5050565b60006121fd836000018373ffffffffffffffffffffffffffffffffffffffff1660001b613072565b905092915050565b61220d610f54565b61224c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224390614b12565b60405180910390fd5b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612290611c93565b60405161229d9190614904565b60405180910390a1565b80600490805190602001906122bd9291906133b6565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612331576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232890614c92565b60405180910390fd5b8051825114612375576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236c90614d92565b60405180910390fd5b600061237f611c93565b905061239f81856000868660405180602001604052806000815250611f06565b60005b83518110156125435760008482815181106123e6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600084838151811061242b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060006002600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156124cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c490614b52565b60405180910390fd5b81816124d99190615022565b6002600085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050808061253b90615148565b9150506123a2565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516125bb929190614a03565b60405180910390a450505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612639576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263090614db2565b60405180910390fd5b6000612643611c93565b90506126648160008761265588612898565b61265e88612898565b87611f06565b826002600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126c49190614f9b565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612742929190614e0d565b60405180910390a46127598160008787878761295e565b5050505050565b612768610f54565b156127a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279f90614c12565b60405180910390fd5b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586127ec611c93565b6040516127f99190614904565b60405180910390a1565b600061281283600001836131fc565b60001c905092915050565b600061282b82600001613296565b9050919050565b61284b61283e8361084a565b612846611c93565b611159565b61288a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288190614bf2565b60405180910390fd5b6128948282612f91565b5050565b60606000600167ffffffffffffffff8111156128dd577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561290b5781602001602082028036833780820191505090505b5090508281600081518110612949577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b61297d8473ffffffffffffffffffffffffffffffffffffffff16612f7e565b15612b26578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016129c3959493929190614987565b602060405180830381600087803b1580156129dd57600080fd5b505af1925050508015612a0e57506040513d601f19601f82011682018060405250810190612a0b9190613c28565b60015b612a9d57612a1a61529c565b80612a255750612a62565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a599190614a70565b60405180910390fd5b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9490614a92565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612b24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1b90614ad2565b60405180910390fd5b505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9590614c92565b60405180910390fd5b6000612ba8611c93565b9050612bd881856000612bba87612898565b612bc387612898565b60405180602001604052806000815250611f06565b60006002600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015612c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6790614b52565b60405180910390fd5b8281612c7c9190615022565b6002600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612d47929190614e0d565b60405180910390a45050505050565b612d608282611159565b612e3257600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612dd7611c93565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000612e4283836132a7565b612e9b578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612ea0565b600090505b92915050565b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612f195750612f18826132ca565b5b9050919050565b612f2e868686868686613344565b612f36610f54565b15612f76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6d90614bb2565b60405180910390fd5b505050505050565b600080823b905060008111915050919050565b612f9b8282611159565b1561306e57600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550613013611c93565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600080836001016000848152602001908152602001600020549050600081146131f05760006001826130a49190615022565b90506000600186600001805490506130bc9190615022565b905060008660000182815481106130fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080876000018481548110613146577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055506001836131619190614f9b565b87600101600083815260200190815260200160002081905550866000018054806131b4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506131f6565b60009150505b92915050565b600081836000018054905011613247576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323e90614ab2565b60405180910390fd5b826000018281548110613283577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905092915050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061333d575061333c8261334c565b5b9050919050565b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b8280546133c290615116565b90600052602060002090601f0160209004810192826133e4576000855561342b565b82601f106133fd57805160ff191683800117855561342b565b8280016001018555821561342b579182015b8281111561342a57825182559160200191906001019061340f565b5b509050613438919061343c565b5090565b5b8082111561345557600081600090555060010161343d565b5090565b600061346c61346784614e67565b614e36565b9050808382526020820190508285602086028201111561348b57600080fd5b60005b858110156134bb57816134a188826135ad565b84526020840193506020830192505060018101905061348e565b5050509392505050565b60006134d86134d384614e93565b614e36565b905080838252602082019050828560208602820111156134f757600080fd5b60005b85811015613527578161350d88826136be565b8452602084019350602083019250506001810190506134fa565b5050509392505050565b600061354461353f84614ebf565b614e36565b90508281526020810184848401111561355c57600080fd5b6135678482856150d4565b509392505050565b600061358261357d84614eef565b614e36565b90508281526020810184848401111561359a57600080fd5b6135a58482856150d4565b509392505050565b6000813590506135bc81615352565b92915050565b600082601f8301126135d357600080fd5b81356135e3848260208601613459565b91505092915050565b600082601f8301126135fd57600080fd5b813561360d8482602086016134c5565b91505092915050565b60008135905061362581615369565b92915050565b60008135905061363a81615380565b92915050565b60008135905061364f81615397565b92915050565b60008151905061366481615397565b92915050565b600082601f83011261367b57600080fd5b813561368b848260208601613531565b91505092915050565b600082601f8301126136a557600080fd5b81356136b584826020860161356f565b91505092915050565b6000813590506136cd816153ae565b92915050565b6000602082840312156136e557600080fd5b60006136f3848285016135ad565b91505092915050565b6000806040838503121561370f57600080fd5b600061371d858286016135ad565b925050602061372e858286016135ad565b9150509250929050565b600080600080600060a0868803121561375057600080fd5b600061375e888289016135ad565b955050602061376f888289016135ad565b945050604086013567ffffffffffffffff81111561378c57600080fd5b613798888289016135ec565b935050606086013567ffffffffffffffff8111156137b557600080fd5b6137c1888289016135ec565b925050608086013567ffffffffffffffff8111156137de57600080fd5b6137ea8882890161366a565b9150509295509295909350565b600080600080600060a0868803121561380f57600080fd5b600061381d888289016135ad565b955050602061382e888289016135ad565b945050604061383f888289016136be565b9350506060613850888289016136be565b925050608086013567ffffffffffffffff81111561386d57600080fd5b6138798882890161366a565b9150509295509295909350565b60008060006060848603121561389b57600080fd5b60006138a9868287016135ad565b935050602084013567ffffffffffffffff8111156138c657600080fd5b6138d2868287016135ec565b925050604084013567ffffffffffffffff8111156138ef57600080fd5b6138fb868287016135ec565b9150509250925092565b6000806000806080858703121561391b57600080fd5b6000613929878288016135ad565b945050602085013567ffffffffffffffff81111561394657600080fd5b613952878288016135ec565b935050604085013567ffffffffffffffff81111561396f57600080fd5b61397b878288016135ec565b925050606085013567ffffffffffffffff81111561399857600080fd5b6139a48782880161366a565b91505092959194509250565b600080604083850312156139c357600080fd5b60006139d1858286016135ad565b92505060206139e285828601613616565b9150509250929050565b600080604083850312156139ff57600080fd5b6000613a0d858286016135ad565b9250506020613a1e858286016136be565b9150509250929050565b600080600060608486031215613a3d57600080fd5b6000613a4b868287016135ad565b9350506020613a5c868287016136be565b9250506040613a6d868287016136be565b9150509250925092565b60008060008060808587031215613a8d57600080fd5b6000613a9b878288016135ad565b9450506020613aac878288016136be565b9350506040613abd878288016136be565b925050606085013567ffffffffffffffff811115613ada57600080fd5b613ae68782880161366a565b91505092959194509250565b60008060408385031215613b0557600080fd5b600083013567ffffffffffffffff811115613b1f57600080fd5b613b2b858286016135c2565b925050602083013567ffffffffffffffff811115613b4857600080fd5b613b54858286016135ec565b9150509250929050565b600060208284031215613b7057600080fd5b6000613b7e8482850161362b565b91505092915050565b60008060408385031215613b9a57600080fd5b6000613ba88582860161362b565b9250506020613bb9858286016135ad565b9150509250929050565b60008060408385031215613bd657600080fd5b6000613be48582860161362b565b9250506020613bf5858286016136be565b9150509250929050565b600060208284031215613c1157600080fd5b6000613c1f84828501613640565b91505092915050565b600060208284031215613c3a57600080fd5b6000613c4884828501613655565b91505092915050565b600060208284031215613c6357600080fd5b600082013567ffffffffffffffff811115613c7d57600080fd5b613c8984828501613694565b91505092915050565b600060208284031215613ca457600080fd5b6000613cb2848285016136be565b91505092915050565b6000613cc783836148b7565b60208301905092915050565b613cdc81615056565b82525050565b6000613ced82614f2f565b613cf78185614f5d565b9350613d0283614f1f565b8060005b83811015613d33578151613d1a8882613cbb565b9750613d2583614f50565b925050600181019050613d06565b5085935050505092915050565b613d4981615068565b82525050565b613d5881615074565b82525050565b6000613d6982614f3a565b613d738185614f6e565b9350613d838185602086016150e3565b613d8c8161527e565b840191505092915050565b6000613da282614f45565b613dac8185614f7f565b9350613dbc8185602086016150e3565b613dc58161527e565b840191505092915050565b6000613ddb82614f45565b613de58185614f90565b9350613df58185602086016150e3565b80840191505092915050565b6000613e0e603483614f7f565b91507f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008301527f526563656976657220696d706c656d656e7465720000000000000000000000006020830152604082019050919050565b6000613e74602283614f7f565b91507f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e60008301527f64730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613eda602883614f7f565b91507f455243313135353a204552433131353552656365697665722072656a6563746560008301527f6420746f6b656e730000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f40602f83614f7f565b91507f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60008301527f2061646d696e20746f206772616e7400000000000000000000000000000000006020830152604082019050919050565b6000613fa6601483614f7f565b91507f5061757361626c653a206e6f74207061757365640000000000000000000000006000830152602082019050919050565b6000613fe6602b83614f7f565b91507f455243313135353a2062616c616e636520717565727920666f7220746865207a60008301527f65726f20616464726573730000000000000000000000000000000000000000006020830152604082019050919050565b600061404c602483614f7f565b91507f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008301527f616e6365000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006140b2603283614f7f565b91507f4338546f6b656e733a206d75737420686176652061646d696e20726f6c65207460008301527f6f2073657420636f6e74726163742055524900000000000000000000000000006020830152604082019050919050565b6000614118602883614f7f565b91507f4338546f6b656e733a206e6577206f776e6572206d757374206861766520616460008301527f6d696e20726f6c650000000000000000000000000000000000000000000000006020830152604082019050919050565b600061417e602c83614f7f565b91507f455243313135355061757361626c653a20746f6b656e207472616e736665722060008301527f7768696c652070617573656400000000000000000000000000000000000000006020830152604082019050919050565b60006141e4602983614f7f565b91507f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008301527f20617070726f76656400000000000000000000000000000000000000000000006020830152604082019050919050565b600061424a603083614f7f565b91507f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60008301527f2061646d696e20746f207265766f6b65000000000000000000000000000000006020830152604082019050919050565b60006142b0601083614f7f565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b60006142f0602f83614f7f565b91507f4338546f6b656e733a206d75737420686176652061646d696e20726f6c65207460008301527f6f20736574206f776e65727368697000000000000000000000000000000000006020830152604082019050919050565b6000614356602583614f7f565b91507f455243313135353a207472616e7366657220746f20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006143bc603283614f7f565b91507f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008301527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006020830152604082019050919050565b6000614422602383614f7f565b91507f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614488602e83614f7f565b91507f4338546f6b656e733a206d75737420686176652061646d696e20726f6c65207460008301527f6f207365742062617365205552490000000000000000000000000000000000006020830152604082019050919050565b60006144ee603883614f7f565b91507f455243313135355072657365744d696e7465725061757365723a206d7573742060008301527f68617665206d696e74657220726f6c6520746f206d696e7400000000000000006020830152604082019050919050565b6000614554602a83614f7f565b91507f455243313135353a20696e73756666696369656e742062616c616e636520666f60008301527f72207472616e73666572000000000000000000000000000000000000000000006020830152604082019050919050565b60006145ba600583614f90565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b60006145fa603b83614f7f565b91507f455243313135355072657365744d696e7465725061757365723a206d7573742060008301527f686176652070617573657220726f6c6520746f20756e706175736500000000006020830152604082019050919050565b6000614660603983614f7f565b91507f455243313135355072657365744d696e7465725061757365723a206d7573742060008301527f686176652070617573657220726f6c6520746f207061757365000000000000006020830152604082019050919050565b60006146c6602983614f7f565b91507f455243313135353a2073657474696e6720617070726f76616c2073746174757360008301527f20666f722073656c6600000000000000000000000000000000000000000000006020830152604082019050919050565b600061472c602983614f7f565b91507f455243313135353a206163636f756e747320616e6420696473206c656e67746860008301527f206d69736d6174636800000000000000000000000000000000000000000000006020830152604082019050919050565b6000614792602883614f7f565b91507f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008301527f6d69736d617463680000000000000000000000000000000000000000000000006020830152604082019050919050565b60006147f8602183614f7f565b91507f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061485e602f83614f7f565b91507f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008301527f20726f6c657320666f722073656c6600000000000000000000000000000000006020830152604082019050919050565b6148c0816150ca565b82525050565b6148cf816150ca565b82525050565b60006148e18285613dd0565b91506148ed8284613dd0565b91506148f8826145ad565b91508190509392505050565b60006020820190506149196000830184613cd3565b92915050565b600060a0820190506149346000830188613cd3565b6149416020830187613cd3565b81810360408301526149538186613ce2565b905081810360608301526149678185613ce2565b9050818103608083015261497b8184613d5e565b90509695505050505050565b600060a08201905061499c6000830188613cd3565b6149a96020830187613cd3565b6149b660408301866148c6565b6149c360608301856148c6565b81810360808301526149d58184613d5e565b90509695505050505050565b600060208201905081810360008301526149fb8184613ce2565b905092915050565b60006040820190508181036000830152614a1d8185613ce2565b90508181036020830152614a318184613ce2565b90509392505050565b6000602082019050614a4f6000830184613d40565b92915050565b6000602082019050614a6a6000830184613d4f565b92915050565b60006020820190508181036000830152614a8a8184613d97565b905092915050565b60006020820190508181036000830152614aab81613e01565b9050919050565b60006020820190508181036000830152614acb81613e67565b9050919050565b60006020820190508181036000830152614aeb81613ecd565b9050919050565b60006020820190508181036000830152614b0b81613f33565b9050919050565b60006020820190508181036000830152614b2b81613f99565b9050919050565b60006020820190508181036000830152614b4b81613fd9565b9050919050565b60006020820190508181036000830152614b6b8161403f565b9050919050565b60006020820190508181036000830152614b8b816140a5565b9050919050565b60006020820190508181036000830152614bab8161410b565b9050919050565b60006020820190508181036000830152614bcb81614171565b9050919050565b60006020820190508181036000830152614beb816141d7565b9050919050565b60006020820190508181036000830152614c0b8161423d565b9050919050565b60006020820190508181036000830152614c2b816142a3565b9050919050565b60006020820190508181036000830152614c4b816142e3565b9050919050565b60006020820190508181036000830152614c6b81614349565b9050919050565b60006020820190508181036000830152614c8b816143af565b9050919050565b60006020820190508181036000830152614cab81614415565b9050919050565b60006020820190508181036000830152614ccb8161447b565b9050919050565b60006020820190508181036000830152614ceb816144e1565b9050919050565b60006020820190508181036000830152614d0b81614547565b9050919050565b60006020820190508181036000830152614d2b816145ed565b9050919050565b60006020820190508181036000830152614d4b81614653565b9050919050565b60006020820190508181036000830152614d6b816146b9565b9050919050565b60006020820190508181036000830152614d8b8161471f565b9050919050565b60006020820190508181036000830152614dab81614785565b9050919050565b60006020820190508181036000830152614dcb816147eb565b9050919050565b60006020820190508181036000830152614deb81614851565b9050919050565b6000602082019050614e0760008301846148c6565b92915050565b6000604082019050614e2260008301856148c6565b614e2f60208301846148c6565b9392505050565b6000604051905081810181811067ffffffffffffffff82111715614e5d57614e5c61524f565b5b8060405250919050565b600067ffffffffffffffff821115614e8257614e8161524f565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614eae57614ead61524f565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614eda57614ed961524f565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614f0a57614f0961524f565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614fa6826150ca565b9150614fb1836150ca565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614fe657614fe56151c2565b5b828201905092915050565b6000614ffc826150ca565b9150615007836150ca565b925082615017576150166151f1565b5b828204905092915050565b600061502d826150ca565b9150615038836150ca565b92508282101561504b5761504a6151c2565b5b828203905092915050565b6000615061826150aa565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156151015780820151818401526020810190506150e6565b83811115615110576000848401525b50505050565b6000600282049050600182168061512e57607f821691505b6020821081141561514257615141615220565b5b50919050565b6000615153826150ca565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615186576151856151c2565b5b600182019050919050565b600061519c826150ca565b91506151a7836150ca565b9250826151b7576151b66151f1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b600060443d10156152ac5761534f565b60046000803e6152bd60005161528f565b6308c379a081146152ce575061534f565b60405160043d036004823e80513d602482011167ffffffffffffffff821117156152fa5750505061534f565b808201805167ffffffffffffffff81111561531957505050505061534f565b8060208301013d85018111156153345750505050505061534f565b61533d8261527e565b60208401016040528296505050505050505b90565b61535b81615056565b811461536657600080fd5b50565b61537281615068565b811461537d57600080fd5b50565b61538981615074565b811461539457600080fd5b50565b6153a08161507e565b81146153ab57600080fd5b50565b6153b7816150ca565b81146153c257600080fd5b5056fea2646970667358221220a07cca1bbe3f23fc6b303915d3dba0decf165d57811aa0cf67e243475d85881764736f6c63430008000033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000004868747470733a2f2f63382d6e66742d64656661756c742d727464622e6575726f70652d77657374312e666972656261736564617461626173652e6170702f73746f72652e6a736f6e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004568747470733a2f2f63382d6e66742d64656661756c742d727464622e6575726f70652d77657374312e666972656261736564617461626173652e6170702f7469746c65732f000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _contractURI (string): https://c8-nft-default-rtdb.europe-west1.firebasedatabase.app/store.json
Arg [1] : _baseURI (string): https://c8-nft-default-rtdb.europe-west1.firebasedatabase.app/titles/

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000048
Arg [3] : 68747470733a2f2f63382d6e66742d64656661756c742d727464622e6575726f
Arg [4] : 70652d77657374312e666972656261736564617461626173652e6170702f7374
Arg [5] : 6f72652e6a736f6e000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000045
Arg [7] : 68747470733a2f2f63382d6e66742d64656661756c742d727464622e6575726f
Arg [8] : 70652d77657374312e666972656261736564617461626173652e6170702f7469
Arg [9] : 746c65732f000000000000000000000000000000000000000000000000000000


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.