ETH Price: $2,415.02 (+0.16%)

Token

UASIS CORP (UASIS)
 

Overview

Max Total Supply

1,266 UASIS

Holders

360

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

0x001709b366bb85f0fb2cc4ef18833392ebba5756
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:
UASISCorpV2

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

contract UASISCorpV2 is ERC1155, Ownable, ERC1155Burnable, ERC1155Supply {
    string public constant name = "UASIS CORP";
    string public constant symbol = "UASIS";

    uint256 public constant MAX_SUPPLY = 8888;

    address public signAddress;

    uint256 public mintIndex = 0;
    uint256 public swapIndex = 0;
    uint256 public totalTokensSupply = 0;

    mapping(uint256 => uint256) private _signatureIds;
    mapping(uint256 => uint256) private _swapSignatureIds;

    constructor(
        string memory newURI,
        address _signAddress
    ) ERC1155(newURI) {
        signAddress = _signAddress;
    }

    function mint(
        uint256 price,
        uint256 tokenId,
        uint256 amount,
        uint256 signatureId,
        bytes memory signature
    ) public payable {
        require(
            checkLimitNotReached(tokenId),
            "Max limit reached"
        );

        require(
            _signatureIds[signatureId] == 0,
            "signatureId already used"
        );

        require(
            checkMintSignature(msg.sender, price, tokenId, amount, signatureId, signature) == signAddress,
            "Not authorized to mint"
        );

        require(
            msg.value == price * amount,
            "Ether value sent is not correct"
        );

        _signatureIds[signatureId] = 1;
        mintIndex++;

        if (!exists(tokenId)) {
            totalTokensSupply++;
        }

        _mint(msg.sender, tokenId, amount, "");
    }

    function swapToken(
        uint256 tokenId,
        uint256 newTokenId,
        uint256 amount,
        uint256 newAmount,
        uint256 swapSignatureId,
        bytes memory signature
    ) public {
        require(
            _swapSignatureIds[swapSignatureId] == 0,
            "swapSignatureId already used"
        );

        require(
            checkSwapSignature(msg.sender, tokenId, newTokenId, amount, newAmount, swapSignatureId, signature) == signAddress,
            "Not authorized to swap"
        );

        _swapSignatureIds[swapSignatureId] = 1;
        swapIndex++;

        burn(msg.sender, tokenId, amount);
        _mint(msg.sender, newTokenId, newAmount, "");
    }

    function mintBatch(
        uint256 tokenId,
        address[] memory to,
        uint256[] memory amounts
    ) public onlyOwner {
        require(
            checkLimitNotReached(tokenId),
            "Max limit reached"
        );

        if (!exists(tokenId)) {
            totalTokensSupply++;
        }

        for (uint256 i = 0; i < to.length; i++) {
            _mint(to[i], tokenId, amounts[i], "");
        }
    }

    function setURI(string memory newURI) public onlyOwner {
        _setURI(newURI);
    }

    function withdraw() public onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }

    function checkMintSignature(
        address wallet,
        uint256 price,
        uint256 tokenId,
        uint256 amount,
        uint256 signatureId,
        bytes memory signature
    ) public pure returns (address) {
        return ECDSA.recover(
            ECDSA.toEthSignedMessageHash(
                keccak256(abi.encode(wallet, price, tokenId, amount, signatureId))
            ), signature
        );
    }

    function checkSwapSignature(
        address wallet,
        uint256 tokenId,
        uint256 newTokenId,
        uint256 amount,
        uint256 newAmount,
        uint256 signatureId,
        bytes memory signature
    ) public pure returns (address) {
        return ECDSA.recover(
            ECDSA.toEthSignedMessageHash(
                keccak256(abi.encode(wallet, tokenId, newTokenId, amount, newAmount, signatureId))
            ), signature
        );
    }

    function checkLimitNotReached(uint256 tokenId) internal view returns (bool) {
        if (!exists(tokenId)) {
            return totalTokensSupply + 1 <= MAX_SUPPLY;
        }

        return true;
    }

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

}

File 2 of 14 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

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

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

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

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

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

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

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

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

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

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

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

        address operator = _msgSender();

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

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

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

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

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

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

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

    /**
     * @dev Hook that is called after 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 _afterTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

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

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

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

        return array;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../ERC1155.sol";

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

        _burn(account, id, value);
    }

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

        _burnBatch(account, ids, values);
    }
}

File 5 of 14 : ERC1155Supply.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/extensions/ERC1155Supply.sol)

pragma solidity ^0.8.0;

import "../ERC1155.sol";

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

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

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

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

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

        if (to == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                uint256 id = ids[i];
                uint256 amount = amounts[i];
                uint256 supply = _totalSupply[id];
                require(supply >= amount, "ERC1155: burn amount exceeds totalSupply");
                unchecked {
                    _totalSupply[id] = supply - amount;
                }
            }
        }
    }
}

File 6 of 14 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

File 8 of 14 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC1155.sol";

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

File 10 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"newURI","type":"string"},{"internalType":"address","name":"_signAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"signatureId","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"checkMintSignature","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"newTokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"newAmount","type":"uint256"},{"internalType":"uint256","name":"signatureId","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"checkSwapSignature","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","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":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"signatureId","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address[]","name":"to","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"newTokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"newAmount","type":"uint256"},{"internalType":"uint256","name":"swapSignatureId","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"swapToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokensSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600655600060075560006008553480156200002057600080fd5b5060405162005b2f38038062005b2f8339818101604052810190620000469190620002e5565b816200005881620000c260201b60201c565b50620000796200006d620000de60201b60201c565b620000e660201b60201c565b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050620004fd565b8060029080519060200190620000da929190620001ac565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001ba9062000408565b90600052602060002090601f016020900481019282620001de57600085556200022a565b82601f10620001f957805160ff19168380011785556200022a565b828001600101855582156200022a579182015b82811115620002295782518255916020019190600101906200020c565b5b5090506200023991906200023d565b5090565b5b80821115620002585760008160009055506001016200023e565b5090565b6000620002736200026d8462000368565b6200033f565b9050828152602081018484840111156200028c57600080fd5b62000299848285620003d2565b509392505050565b600081519050620002b281620004e3565b92915050565b600082601f830112620002ca57600080fd5b8151620002dc8482602086016200025c565b91505092915050565b60008060408385031215620002f957600080fd5b600083015167ffffffffffffffff8111156200031457600080fd5b6200032285828601620002b8565b92505060206200033585828601620002a1565b9150509250929050565b60006200034b6200035e565b90506200035982826200043e565b919050565b6000604051905090565b600067ffffffffffffffff821115620003865762000385620004a3565b5b6200039182620004d2565b9050602081019050919050565b6000620003ab82620003b2565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015620003f2578082015181840152602081019050620003d5565b8381111562000402576000848401525b50505050565b600060028204905060018216806200042157607f821691505b6020821081141562000438576200043762000474565b5b50919050565b6200044982620004d2565b810181811067ffffffffffffffff821117156200046b576200046a620004a3565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b620004ee816200039e565b8114620004fa57600080fd5b50565b615622806200050d6000396000f3fe6080604052600436106101c15760003560e01c80636b20c454116100f7578063bd85b03911610095578063f2fde38b11610064578063f2fde38b14610665578063f5298aca1461068e578063f74f9bfd146106b7578063f8ea8f16146106e2576101c1565b8063bd85b03914610585578063e985e9c5146105c2578063f1bd8bba146105ff578063f242432a1461063c576101c1565b80638da5cb5b116100d15780638da5cb5b146104db57806395d89b4114610506578063a22cb46514610531578063b3a651471461055a576101c1565b80636b20c45414610470578063715018a61461049957806379d54184146104b0576101c1565b806323e4526d1161016457806338ebe88e1161013e57806338ebe88e146103b65780633ccfd60b146103df5780634e1273f4146103f65780634f558e7914610433576101c1565b806323e4526d146103255780632eb2c2d61461036257806332cb6b0c1461038b576101c1565b80630682bdbc116101a05780630682bdbc1461026957806306fdde03146102945780630e89341c146102bf5780631449247d146102fc576101c1565b8062fdd58e146101c657806301ffc9a71461020357806302fe530514610240575b600080fd5b3480156101d257600080fd5b506101ed60048036038101906101e891906139ed565b6106fe565b6040516101fa9190614982565b60405180910390f35b34801561020f57600080fd5b5061022a60048036038101906102259190613c3b565b6107c7565b60405161023791906145c0565b60405180910390f35b34801561024c57600080fd5b5061026760048036038101906102629190613c8d565b6108a9565b005b34801561027557600080fd5b5061027e610931565b60405161028b91906143d6565b60405180910390f35b3480156102a057600080fd5b506102a9610957565b6040516102b69190614620565b60405180910390f35b3480156102cb57600080fd5b506102e660048036038101906102e19190613cce565b610990565b6040516102f39190614620565b60405180910390f35b34801561030857600080fd5b50610323600480360381019061031e9190613cf7565b610a24565b005b34801561033157600080fd5b5061034c60048036038101906103479190613b19565b610bce565b60405161035991906143d6565b60405180910390f35b34801561036e57600080fd5b50610389600480360381019061038491906137e4565b610c1f565b005b34801561039757600080fd5b506103a0610cc0565b6040516103ad9190614982565b60405180910390f35b3480156103c257600080fd5b506103dd60048036038101906103d89190613e05565b610cc6565b005b3480156103eb57600080fd5b506103f4610e19565b005b34801561040257600080fd5b5061041d60048036038101906104189190613bcf565b610ede565b60405161042a9190614567565b60405180910390f35b34801561043f57600080fd5b5061045a60048036038101906104559190613cce565b61108f565b60405161046791906145c0565b60405180910390f35b34801561047c57600080fd5b5061049760048036038101906104929190613932565b6110a3565b005b3480156104a557600080fd5b506104ae611140565b005b3480156104bc57600080fd5b506104c56111c8565b6040516104d29190614982565b60405180910390f35b3480156104e757600080fd5b506104f06111ce565b6040516104fd91906143d6565b60405180910390f35b34801561051257600080fd5b5061051b6111f8565b6040516105289190614620565b60405180910390f35b34801561053d57600080fd5b50610558600480360381019061055391906139b1565b611231565b005b34801561056657600080fd5b5061056f611247565b60405161057c9190614982565b60405180910390f35b34801561059157600080fd5b506105ac60048036038101906105a79190613cce565b61124d565b6040516105b99190614982565b60405180910390f35b3480156105ce57600080fd5b506105e960048036038101906105e491906137a8565b61126a565b6040516105f691906145c0565b60405180910390f35b34801561060b57600080fd5b5061062660048036038101906106219190613a78565b6112fe565b60405161063391906143d6565b60405180910390f35b34801561064857600080fd5b50610663600480360381019061065e91906138a3565b61134c565b005b34801561067157600080fd5b5061068c6004803603810190610687919061377f565b6113ed565b005b34801561069a57600080fd5b506106b560048036038101906106b09190613a29565b6114e5565b005b3480156106c357600080fd5b506106cc611582565b6040516106d99190614982565b60405180910390f35b6106fc60048036038101906106f79190613d76565b611588565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561076f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610766906146e2565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061089257507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108a257506108a182611789565b5b9050919050565b6108b16117f3565b73ffffffffffffffffffffffffffffffffffffffff166108cf6111ce565b73ffffffffffffffffffffffffffffffffffffffff1614610925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091c90614882565b60405180910390fd5b61092e816117fb565b50565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6040518060400160405280600a81526020017f554153495320434f52500000000000000000000000000000000000000000000081525081565b60606002805461099f90614c9e565b80601f01602080910402602001604051908101604052809291908181526020018280546109cb90614c9e565b8015610a185780601f106109ed57610100808354040283529160200191610a18565b820191906000526020600020905b8154815290600101906020018083116109fb57829003601f168201915b50505050509050919050565b610a2c6117f3565b73ffffffffffffffffffffffffffffffffffffffff16610a4a6111ce565b73ffffffffffffffffffffffffffffffffffffffff1614610aa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9790614882565b60405180910390fd5b610aa983611815565b610ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adf906147c2565b60405180910390fd5b610af18361108f565b610b0e5760086000815480929190610b0890614d01565b91905055505b60005b8251811015610bc857610bb5838281518110610b56577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015185848481518110610b98577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160405180602001604052806000815250611849565b8080610bc090614d01565b915050610b11565b50505050565b6000610c12610c0c898989898989604051602001610bf196959493929190614506565b604051602081830303815290604052805190602001206119fa565b83611a2a565b9050979650505050505050565b610c276117f3565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610c6d5750610c6c85610c676117f3565b61126a565b5b610cac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca390614802565b60405180910390fd5b610cb98585858585611a51565b5050505050565b6122b881565b6000600a60008481526020019081526020016000205414610d1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d13906148c2565b60405180910390fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610d6433888888888888610bce565b73ffffffffffffffffffffffffffffffffffffffff1614610dba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db190614922565b60405180910390fd5b6001600a60008481526020019081526020016000208190555060076000815480929190610de690614d01565b9190505550610df63387866114e5565b610e1133868560405180602001604052806000815250611849565b505050505050565b610e216117f3565b73ffffffffffffffffffffffffffffffffffffffff16610e3f6111ce565b73ffffffffffffffffffffffffffffffffffffffff1614610e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8c90614882565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610edb573d6000803e3d6000fd5b50565b60608151835114610f24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1b90614902565b60405180910390fd5b6000835167ffffffffffffffff811115610f67577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610f955781602001602082028036833780820191505090505b50905060005b84518110156110845761102e858281518110610fe0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110611021577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516106fe565b828281518110611067577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508061107d90614d01565b9050610f9b565b508091505092915050565b60008061109b8361124d565b119050919050565b6110ab6117f3565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806110f157506110f0836110eb6117f3565b61126a565b5b611130576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112790614742565b60405180910390fd5b61113b838383611dbf565b505050565b6111486117f3565b73ffffffffffffffffffffffffffffffffffffffff166111666111ce565b73ffffffffffffffffffffffffffffffffffffffff16146111bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b390614882565b60405180910390fd5b6111c660006120da565b565b60085481565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6040518060400160405280600581526020017f554153495300000000000000000000000000000000000000000000000000000081525081565b61124361123c6117f3565b83836121a0565b5050565b60075481565b600060046000838152602001908152602001600020549050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600061134061133a888888888860405160200161131f9594939291906144b3565b604051602081830303815290604052805190602001206119fa565b83611a2a565b90509695505050505050565b6113546117f3565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061139a5750611399856113946117f3565b61126a565b5b6113d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d090614742565b60405180910390fd5b6113e6858585858561230d565b5050505050565b6113f56117f3565b73ffffffffffffffffffffffffffffffffffffffff166114136111ce565b73ffffffffffffffffffffffffffffffffffffffff1614611469576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146090614882565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d090614702565b60405180910390fd5b6114e2816120da565b50565b6114ed6117f3565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061153357506115328361152d6117f3565b61126a565b5b611572576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156990614742565b60405180910390fd5b61157d8383836125a9565b505050565b60065481565b61159184611815565b6115d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c7906147c2565b60405180910390fd5b6000600960008481526020019081526020016000205414611626576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161d906146a2565b60405180910390fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661166d3387878787876112fe565b73ffffffffffffffffffffffffffffffffffffffff16146116c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ba906147a2565b60405180910390fd5b82856116cf9190614b77565b3414611710576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170790614762565b60405180910390fd5b600160096000848152602001908152602001600020819055506006600081548092919061173c90614d01565b919050555061174a8461108f565b611767576008600081548092919061176190614d01565b91905055505b61178233858560405180602001604052806000815250611849565b5050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b8060029080519060200190611811929190613477565b5050565b60006118208261108f565b61183f576122b860016008546118369190614b21565b11159050611844565b600190505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156118b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b090614962565b60405180910390fd5b60006118c36117f3565b905060006118d0856127f0565b905060006118dd856127f0565b90506118ee836000898585896128b6565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461194d9190614b21565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516119cb92919061499d565b60405180910390a46119e2836000898585896128cc565b6119f1836000898989896128d4565b50505050505050565b600081604051602001611a0d91906143b0565b604051602081830303815290604052805190602001209050919050565b6000806000611a398585612abb565b91509150611a4681612b3e565b819250505092915050565b8151835114611a95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8c90614942565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611b05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afc906147e2565b60405180910390fd5b6000611b0f6117f3565b9050611b1f8187878787876128b6565b60005b8451811015611d1c576000858281518110611b66577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110611bab577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611c4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4390614862565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d019190614b21565b9250508190555050505080611d1590614d01565b9050611b22565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611d93929190614589565b60405180910390a4611da98187878787876128cc565b611db7818787878787612e8f565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2690614842565b60405180910390fd5b8051825114611e73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6a90614942565b60405180910390fd5b6000611e7d6117f3565b9050611e9d818560008686604051806020016040528060008152506128b6565b60005b8351811015612036576000848281518110611ee4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000848381518110611f29577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611fca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc190614722565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050808061202e90614d01565b915050611ea0565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516120ae929190614589565b60405180910390a46120d4818560008686604051806020016040528060008152506128cc565b50505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561220f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612206906148e2565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161230091906145c0565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561237d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612374906147e2565b60405180910390fd5b60006123876117f3565b90506000612394856127f0565b905060006123a1856127f0565b90506123b18389898585896128b6565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612448576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243f90614862565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124fd9190614b21565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a60405161257a92919061499d565b60405180910390a4612590848a8a86868a6128cc565b61259e848a8a8a8a8a6128d4565b505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612619576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261090614842565b60405180910390fd5b60006126236117f3565b90506000612630846127f0565b9050600061263d846127f0565b905061265d838760008585604051806020016040528060008152506128b6565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050848110156126f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126eb90614722565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516127c192919061499d565b60405180910390a46127e7848860008686604051806020016040528060008152506128cc565b50505050505050565b60606000600167ffffffffffffffff811115612835577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156128635781602001602082028036833780820191505090505b50905082816000815181106128a1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b6128c4868686868686613076565b505050505050565b505050505050565b6128f38473ffffffffffffffffffffffffffffffffffffffff166132e0565b15612ab3578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612939959493929190614459565b602060405180830381600087803b15801561295357600080fd5b505af192505050801561298457506040513d601f19601f820116820180604052508101906129819190613c64565b60015b612a2a57612990614de1565b806308c379a014156129ed57506129a56154fa565b806129b057506129ef565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e49190614620565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2190614662565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612ab1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa890614682565b60405180910390fd5b505b505050505050565b600080604183511415612afd5760008060006020860151925060408601519150606086015160001a9050612af187828585613303565b94509450505050612b37565b604083511415612b2e576000806020850151915060408501519050612b23868383613410565b935093505050612b37565b60006002915091505b9250929050565b60006004811115612b78577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612bb1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612bbc57612e8c565b60016004811115612bf6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612c2f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6790614642565b60405180910390fd5b60026004811115612caa577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612ce3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612d24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1b906146c2565b60405180910390fd5b60036004811115612d5e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612d97577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612dd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dcf90614782565b60405180910390fd5b600480811115612e11577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612e4a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612e8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8290614822565b60405180910390fd5b5b50565b612eae8473ffffffffffffffffffffffffffffffffffffffff166132e0565b1561306e578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612ef49594939291906143f1565b602060405180830381600087803b158015612f0e57600080fd5b505af1925050508015612f3f57506040513d601f19601f82011682018060405250810190612f3c9190613c64565b60015b612fe557612f4b614de1565b806308c379a01415612fa85750612f606154fa565b80612f6b5750612faa565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f9f9190614620565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fdc90614662565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461306c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161306390614682565b60405180910390fd5b505b505050505050565b61308486868686868661346f565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156131825760005b8351811015613180578281815181106130fe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160046000868481518110613143577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060008282546131689190614b21565b925050819055508061317990614d01565b90506130bc565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156132d85760005b83518110156132d65760008482815181106131fe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000848381518110613243577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600060046000848152602001908152602001600020549050818110156132a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329f906148a2565b60405180910390fd5b8181036004600085815260200190815260200160002081905550505050806132cf90614d01565b90506131ba565b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561333e576000600391509150613407565b601b8560ff16141580156133565750601c8560ff1614155b15613368576000600491509150613407565b60006001878787876040516000815260200160405260405161338d94939291906145db565b6020604051602081039080840390855afa1580156133af573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156133fe57600060019250925050613407565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6134539190614b21565b905061346187828885613303565b935093505050935093915050565b505050505050565b82805461348390614c9e565b90600052602060002090601f0160209004810192826134a557600085556134ec565b82601f106134be57805160ff19168380011785556134ec565b828001600101855582156134ec579182015b828111156134eb5782518255916020019190600101906134d0565b5b5090506134f991906134fd565b5090565b5b808211156135165760008160009055506001016134fe565b5090565b600061352d613528846149eb565b6149c6565b9050808382526020820190508285602086028201111561354c57600080fd5b60005b8581101561357c5781613562888261366e565b84526020840193506020830192505060018101905061354f565b5050509392505050565b600061359961359484614a17565b6149c6565b905080838252602082019050828560208602820111156135b857600080fd5b60005b858110156135e857816135ce888261376a565b8452602084019350602083019250506001810190506135bb565b5050509392505050565b600061360561360084614a43565b6149c6565b90508281526020810184848401111561361d57600080fd5b613628848285614c5c565b509392505050565b600061364361363e84614a74565b6149c6565b90508281526020810184848401111561365b57600080fd5b613666848285614c5c565b509392505050565b60008135905061367d81615590565b92915050565b600082601f83011261369457600080fd5b81356136a484826020860161351a565b91505092915050565b600082601f8301126136be57600080fd5b81356136ce848260208601613586565b91505092915050565b6000813590506136e6816155a7565b92915050565b6000813590506136fb816155be565b92915050565b600081519050613710816155be565b92915050565b600082601f83011261372757600080fd5b81356137378482602086016135f2565b91505092915050565b600082601f83011261375157600080fd5b8135613761848260208601613630565b91505092915050565b600081359050613779816155d5565b92915050565b60006020828403121561379157600080fd5b600061379f8482850161366e565b91505092915050565b600080604083850312156137bb57600080fd5b60006137c98582860161366e565b92505060206137da8582860161366e565b9150509250929050565b600080600080600060a086880312156137fc57600080fd5b600061380a8882890161366e565b955050602061381b8882890161366e565b945050604086013567ffffffffffffffff81111561383857600080fd5b613844888289016136ad565b935050606086013567ffffffffffffffff81111561386157600080fd5b61386d888289016136ad565b925050608086013567ffffffffffffffff81111561388a57600080fd5b61389688828901613716565b9150509295509295909350565b600080600080600060a086880312156138bb57600080fd5b60006138c98882890161366e565b95505060206138da8882890161366e565b94505060406138eb8882890161376a565b93505060606138fc8882890161376a565b925050608086013567ffffffffffffffff81111561391957600080fd5b61392588828901613716565b9150509295509295909350565b60008060006060848603121561394757600080fd5b60006139558682870161366e565b935050602084013567ffffffffffffffff81111561397257600080fd5b61397e868287016136ad565b925050604084013567ffffffffffffffff81111561399b57600080fd5b6139a7868287016136ad565b9150509250925092565b600080604083850312156139c457600080fd5b60006139d28582860161366e565b92505060206139e3858286016136d7565b9150509250929050565b60008060408385031215613a0057600080fd5b6000613a0e8582860161366e565b9250506020613a1f8582860161376a565b9150509250929050565b600080600060608486031215613a3e57600080fd5b6000613a4c8682870161366e565b9350506020613a5d8682870161376a565b9250506040613a6e8682870161376a565b9150509250925092565b60008060008060008060c08789031215613a9157600080fd5b6000613a9f89828a0161366e565b9650506020613ab089828a0161376a565b9550506040613ac189828a0161376a565b9450506060613ad289828a0161376a565b9350506080613ae389828a0161376a565b92505060a087013567ffffffffffffffff811115613b0057600080fd5b613b0c89828a01613716565b9150509295509295509295565b600080600080600080600060e0888a031215613b3457600080fd5b6000613b428a828b0161366e565b9750506020613b538a828b0161376a565b9650506040613b648a828b0161376a565b9550506060613b758a828b0161376a565b9450506080613b868a828b0161376a565b93505060a0613b978a828b0161376a565b92505060c088013567ffffffffffffffff811115613bb457600080fd5b613bc08a828b01613716565b91505092959891949750929550565b60008060408385031215613be257600080fd5b600083013567ffffffffffffffff811115613bfc57600080fd5b613c0885828601613683565b925050602083013567ffffffffffffffff811115613c2557600080fd5b613c31858286016136ad565b9150509250929050565b600060208284031215613c4d57600080fd5b6000613c5b848285016136ec565b91505092915050565b600060208284031215613c7657600080fd5b6000613c8484828501613701565b91505092915050565b600060208284031215613c9f57600080fd5b600082013567ffffffffffffffff811115613cb957600080fd5b613cc584828501613740565b91505092915050565b600060208284031215613ce057600080fd5b6000613cee8482850161376a565b91505092915050565b600080600060608486031215613d0c57600080fd5b6000613d1a8682870161376a565b935050602084013567ffffffffffffffff811115613d3757600080fd5b613d4386828701613683565b925050604084013567ffffffffffffffff811115613d6057600080fd5b613d6c868287016136ad565b9150509250925092565b600080600080600060a08688031215613d8e57600080fd5b6000613d9c8882890161376a565b9550506020613dad8882890161376a565b9450506040613dbe8882890161376a565b9350506060613dcf8882890161376a565b925050608086013567ffffffffffffffff811115613dec57600080fd5b613df888828901613716565b9150509295509295909350565b60008060008060008060c08789031215613e1e57600080fd5b6000613e2c89828a0161376a565b9650506020613e3d89828a0161376a565b9550506040613e4e89828a0161376a565b9450506060613e5f89828a0161376a565b9350506080613e7089828a0161376a565b92505060a087013567ffffffffffffffff811115613e8d57600080fd5b613e9989828a01613716565b9150509295509295509295565b6000613eb28383614383565b60208301905092915050565b613ec781614bd1565b82525050565b6000613ed882614ab5565b613ee28185614ae3565b9350613eed83614aa5565b8060005b83811015613f1e578151613f058882613ea6565b9750613f1083614ad6565b925050600181019050613ef1565b5085935050505092915050565b613f3481614be3565b82525050565b613f4381614bef565b82525050565b613f5a613f5582614bef565b614d4a565b82525050565b6000613f6b82614ac0565b613f758185614af4565b9350613f85818560208601614c6b565b613f8e81614e03565b840191505092915050565b6000613fa482614acb565b613fae8185614b05565b9350613fbe818560208601614c6b565b613fc781614e03565b840191505092915050565b6000613fdf601883614b05565b9150613fea82614e21565b602082019050919050565b6000614002603483614b05565b915061400d82614e4a565b604082019050919050565b6000614025602883614b05565b915061403082614e99565b604082019050919050565b6000614048601883614b05565b915061405382614ee8565b602082019050919050565b600061406b601f83614b05565b915061407682614f11565b602082019050919050565b600061408e601c83614b16565b915061409982614f3a565b601c82019050919050565b60006140b1602b83614b05565b91506140bc82614f63565b604082019050919050565b60006140d4602683614b05565b91506140df82614fb2565b604082019050919050565b60006140f7602483614b05565b915061410282615001565b604082019050919050565b600061411a602983614b05565b915061412582615050565b604082019050919050565b600061413d601f83614b05565b91506141488261509f565b602082019050919050565b6000614160602283614b05565b915061416b826150c8565b604082019050919050565b6000614183601683614b05565b915061418e82615117565b602082019050919050565b60006141a6601183614b05565b91506141b182615140565b602082019050919050565b60006141c9602583614b05565b91506141d482615169565b604082019050919050565b60006141ec603283614b05565b91506141f7826151b8565b604082019050919050565b600061420f602283614b05565b915061421a82615207565b604082019050919050565b6000614232602383614b05565b915061423d82615256565b604082019050919050565b6000614255602a83614b05565b9150614260826152a5565b604082019050919050565b6000614278602083614b05565b9150614283826152f4565b602082019050919050565b600061429b602883614b05565b91506142a68261531d565b604082019050919050565b60006142be601c83614b05565b91506142c98261536c565b602082019050919050565b60006142e1602983614b05565b91506142ec82615395565b604082019050919050565b6000614304602983614b05565b915061430f826153e4565b604082019050919050565b6000614327601683614b05565b915061433282615433565b602082019050919050565b600061434a602883614b05565b91506143558261545c565b604082019050919050565b600061436d602183614b05565b9150614378826154ab565b604082019050919050565b61438c81614c45565b82525050565b61439b81614c45565b82525050565b6143aa81614c4f565b82525050565b60006143bb82614081565b91506143c78284613f49565b60208201915081905092915050565b60006020820190506143eb6000830184613ebe565b92915050565b600060a0820190506144066000830188613ebe565b6144136020830187613ebe565b81810360408301526144258186613ecd565b905081810360608301526144398185613ecd565b9050818103608083015261444d8184613f60565b90509695505050505050565b600060a08201905061446e6000830188613ebe565b61447b6020830187613ebe565b6144886040830186614392565b6144956060830185614392565b81810360808301526144a78184613f60565b90509695505050505050565b600060a0820190506144c86000830188613ebe565b6144d56020830187614392565b6144e26040830186614392565b6144ef6060830185614392565b6144fc6080830184614392565b9695505050505050565b600060c08201905061451b6000830189613ebe565b6145286020830188614392565b6145356040830187614392565b6145426060830186614392565b61454f6080830185614392565b61455c60a0830184614392565b979650505050505050565b600060208201905081810360008301526145818184613ecd565b905092915050565b600060408201905081810360008301526145a38185613ecd565b905081810360208301526145b78184613ecd565b90509392505050565b60006020820190506145d56000830184613f2b565b92915050565b60006080820190506145f06000830187613f3a565b6145fd60208301866143a1565b61460a6040830185613f3a565b6146176060830184613f3a565b95945050505050565b6000602082019050818103600083015261463a8184613f99565b905092915050565b6000602082019050818103600083015261465b81613fd2565b9050919050565b6000602082019050818103600083015261467b81613ff5565b9050919050565b6000602082019050818103600083015261469b81614018565b9050919050565b600060208201905081810360008301526146bb8161403b565b9050919050565b600060208201905081810360008301526146db8161405e565b9050919050565b600060208201905081810360008301526146fb816140a4565b9050919050565b6000602082019050818103600083015261471b816140c7565b9050919050565b6000602082019050818103600083015261473b816140ea565b9050919050565b6000602082019050818103600083015261475b8161410d565b9050919050565b6000602082019050818103600083015261477b81614130565b9050919050565b6000602082019050818103600083015261479b81614153565b9050919050565b600060208201905081810360008301526147bb81614176565b9050919050565b600060208201905081810360008301526147db81614199565b9050919050565b600060208201905081810360008301526147fb816141bc565b9050919050565b6000602082019050818103600083015261481b816141df565b9050919050565b6000602082019050818103600083015261483b81614202565b9050919050565b6000602082019050818103600083015261485b81614225565b9050919050565b6000602082019050818103600083015261487b81614248565b9050919050565b6000602082019050818103600083015261489b8161426b565b9050919050565b600060208201905081810360008301526148bb8161428e565b9050919050565b600060208201905081810360008301526148db816142b1565b9050919050565b600060208201905081810360008301526148fb816142d4565b9050919050565b6000602082019050818103600083015261491b816142f7565b9050919050565b6000602082019050818103600083015261493b8161431a565b9050919050565b6000602082019050818103600083015261495b8161433d565b9050919050565b6000602082019050818103600083015261497b81614360565b9050919050565b60006020820190506149976000830184614392565b92915050565b60006040820190506149b26000830185614392565b6149bf6020830184614392565b9392505050565b60006149d06149e1565b90506149dc8282614cd0565b919050565b6000604051905090565b600067ffffffffffffffff821115614a0657614a05614db2565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614a3257614a31614db2565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614a5e57614a5d614db2565b5b614a6782614e03565b9050602081019050919050565b600067ffffffffffffffff821115614a8f57614a8e614db2565b5b614a9882614e03565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614b2c82614c45565b9150614b3783614c45565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b6c57614b6b614d54565b5b828201905092915050565b6000614b8282614c45565b9150614b8d83614c45565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614bc657614bc5614d54565b5b828202905092915050565b6000614bdc82614c25565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614c89578082015181840152602081019050614c6e565b83811115614c98576000848401525b50505050565b60006002820490506001821680614cb657607f821691505b60208210811415614cca57614cc9614d83565b5b50919050565b614cd982614e03565b810181811067ffffffffffffffff82111715614cf857614cf7614db2565b5b80604052505050565b6000614d0c82614c45565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614d3f57614d3e614d54565b5b600182019050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115614e005760046000803e614dfd600051614e14565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f7369676e6174757265496420616c726561647920757365640000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420617574686f72697a656420746f206d696e7400000000000000000000600082015250565b7f4d6178206c696d69742072656163686564000000000000000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b7f737761705369676e6174757265496420616c7265616479207573656400000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f4e6f7420617574686f72697a656420746f207377617000000000000000000000600082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d101561550a5761558d565b6155126149e1565b60043d036004823e80513d602482011167ffffffffffffffff8211171561553a57505061558d565b808201805167ffffffffffffffff811115615558575050505061558d565b80602083010160043d03850181111561557557505050505061558d565b61558482602001850186614cd0565b82955050505050505b90565b61559981614bd1565b81146155a457600080fd5b50565b6155b081614be3565b81146155bb57600080fd5b50565b6155c781614bf9565b81146155d257600080fd5b50565b6155de81614c45565b81146155e957600080fd5b5056fea26469706673582212208e81eee24115611dcc028af1a43bc95007194fe43d438380e2cbbc2319fb309064736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000006e041105a890e406c5e76cde81ad83231f7661f9000000000000000000000000000000000000000000000000000000000000002a68747470733a2f2f6170692e7561736973636f72702e636f6d2f746f6b656e732f7b69647d2e6a736f6e00000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101c15760003560e01c80636b20c454116100f7578063bd85b03911610095578063f2fde38b11610064578063f2fde38b14610665578063f5298aca1461068e578063f74f9bfd146106b7578063f8ea8f16146106e2576101c1565b8063bd85b03914610585578063e985e9c5146105c2578063f1bd8bba146105ff578063f242432a1461063c576101c1565b80638da5cb5b116100d15780638da5cb5b146104db57806395d89b4114610506578063a22cb46514610531578063b3a651471461055a576101c1565b80636b20c45414610470578063715018a61461049957806379d54184146104b0576101c1565b806323e4526d1161016457806338ebe88e1161013e57806338ebe88e146103b65780633ccfd60b146103df5780634e1273f4146103f65780634f558e7914610433576101c1565b806323e4526d146103255780632eb2c2d61461036257806332cb6b0c1461038b576101c1565b80630682bdbc116101a05780630682bdbc1461026957806306fdde03146102945780630e89341c146102bf5780631449247d146102fc576101c1565b8062fdd58e146101c657806301ffc9a71461020357806302fe530514610240575b600080fd5b3480156101d257600080fd5b506101ed60048036038101906101e891906139ed565b6106fe565b6040516101fa9190614982565b60405180910390f35b34801561020f57600080fd5b5061022a60048036038101906102259190613c3b565b6107c7565b60405161023791906145c0565b60405180910390f35b34801561024c57600080fd5b5061026760048036038101906102629190613c8d565b6108a9565b005b34801561027557600080fd5b5061027e610931565b60405161028b91906143d6565b60405180910390f35b3480156102a057600080fd5b506102a9610957565b6040516102b69190614620565b60405180910390f35b3480156102cb57600080fd5b506102e660048036038101906102e19190613cce565b610990565b6040516102f39190614620565b60405180910390f35b34801561030857600080fd5b50610323600480360381019061031e9190613cf7565b610a24565b005b34801561033157600080fd5b5061034c60048036038101906103479190613b19565b610bce565b60405161035991906143d6565b60405180910390f35b34801561036e57600080fd5b50610389600480360381019061038491906137e4565b610c1f565b005b34801561039757600080fd5b506103a0610cc0565b6040516103ad9190614982565b60405180910390f35b3480156103c257600080fd5b506103dd60048036038101906103d89190613e05565b610cc6565b005b3480156103eb57600080fd5b506103f4610e19565b005b34801561040257600080fd5b5061041d60048036038101906104189190613bcf565b610ede565b60405161042a9190614567565b60405180910390f35b34801561043f57600080fd5b5061045a60048036038101906104559190613cce565b61108f565b60405161046791906145c0565b60405180910390f35b34801561047c57600080fd5b5061049760048036038101906104929190613932565b6110a3565b005b3480156104a557600080fd5b506104ae611140565b005b3480156104bc57600080fd5b506104c56111c8565b6040516104d29190614982565b60405180910390f35b3480156104e757600080fd5b506104f06111ce565b6040516104fd91906143d6565b60405180910390f35b34801561051257600080fd5b5061051b6111f8565b6040516105289190614620565b60405180910390f35b34801561053d57600080fd5b50610558600480360381019061055391906139b1565b611231565b005b34801561056657600080fd5b5061056f611247565b60405161057c9190614982565b60405180910390f35b34801561059157600080fd5b506105ac60048036038101906105a79190613cce565b61124d565b6040516105b99190614982565b60405180910390f35b3480156105ce57600080fd5b506105e960048036038101906105e491906137a8565b61126a565b6040516105f691906145c0565b60405180910390f35b34801561060b57600080fd5b5061062660048036038101906106219190613a78565b6112fe565b60405161063391906143d6565b60405180910390f35b34801561064857600080fd5b50610663600480360381019061065e91906138a3565b61134c565b005b34801561067157600080fd5b5061068c6004803603810190610687919061377f565b6113ed565b005b34801561069a57600080fd5b506106b560048036038101906106b09190613a29565b6114e5565b005b3480156106c357600080fd5b506106cc611582565b6040516106d99190614982565b60405180910390f35b6106fc60048036038101906106f79190613d76565b611588565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561076f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610766906146e2565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061089257507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108a257506108a182611789565b5b9050919050565b6108b16117f3565b73ffffffffffffffffffffffffffffffffffffffff166108cf6111ce565b73ffffffffffffffffffffffffffffffffffffffff1614610925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091c90614882565b60405180910390fd5b61092e816117fb565b50565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6040518060400160405280600a81526020017f554153495320434f52500000000000000000000000000000000000000000000081525081565b60606002805461099f90614c9e565b80601f01602080910402602001604051908101604052809291908181526020018280546109cb90614c9e565b8015610a185780601f106109ed57610100808354040283529160200191610a18565b820191906000526020600020905b8154815290600101906020018083116109fb57829003601f168201915b50505050509050919050565b610a2c6117f3565b73ffffffffffffffffffffffffffffffffffffffff16610a4a6111ce565b73ffffffffffffffffffffffffffffffffffffffff1614610aa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9790614882565b60405180910390fd5b610aa983611815565b610ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adf906147c2565b60405180910390fd5b610af18361108f565b610b0e5760086000815480929190610b0890614d01565b91905055505b60005b8251811015610bc857610bb5838281518110610b56577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015185848481518110610b98577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160405180602001604052806000815250611849565b8080610bc090614d01565b915050610b11565b50505050565b6000610c12610c0c898989898989604051602001610bf196959493929190614506565b604051602081830303815290604052805190602001206119fa565b83611a2a565b9050979650505050505050565b610c276117f3565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610c6d5750610c6c85610c676117f3565b61126a565b5b610cac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca390614802565b60405180910390fd5b610cb98585858585611a51565b5050505050565b6122b881565b6000600a60008481526020019081526020016000205414610d1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d13906148c2565b60405180910390fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610d6433888888888888610bce565b73ffffffffffffffffffffffffffffffffffffffff1614610dba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db190614922565b60405180910390fd5b6001600a60008481526020019081526020016000208190555060076000815480929190610de690614d01565b9190505550610df63387866114e5565b610e1133868560405180602001604052806000815250611849565b505050505050565b610e216117f3565b73ffffffffffffffffffffffffffffffffffffffff16610e3f6111ce565b73ffffffffffffffffffffffffffffffffffffffff1614610e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8c90614882565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610edb573d6000803e3d6000fd5b50565b60608151835114610f24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1b90614902565b60405180910390fd5b6000835167ffffffffffffffff811115610f67577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610f955781602001602082028036833780820191505090505b50905060005b84518110156110845761102e858281518110610fe0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110611021577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516106fe565b828281518110611067577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508061107d90614d01565b9050610f9b565b508091505092915050565b60008061109b8361124d565b119050919050565b6110ab6117f3565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806110f157506110f0836110eb6117f3565b61126a565b5b611130576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112790614742565b60405180910390fd5b61113b838383611dbf565b505050565b6111486117f3565b73ffffffffffffffffffffffffffffffffffffffff166111666111ce565b73ffffffffffffffffffffffffffffffffffffffff16146111bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b390614882565b60405180910390fd5b6111c660006120da565b565b60085481565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6040518060400160405280600581526020017f554153495300000000000000000000000000000000000000000000000000000081525081565b61124361123c6117f3565b83836121a0565b5050565b60075481565b600060046000838152602001908152602001600020549050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600061134061133a888888888860405160200161131f9594939291906144b3565b604051602081830303815290604052805190602001206119fa565b83611a2a565b90509695505050505050565b6113546117f3565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061139a5750611399856113946117f3565b61126a565b5b6113d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d090614742565b60405180910390fd5b6113e6858585858561230d565b5050505050565b6113f56117f3565b73ffffffffffffffffffffffffffffffffffffffff166114136111ce565b73ffffffffffffffffffffffffffffffffffffffff1614611469576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146090614882565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d090614702565b60405180910390fd5b6114e2816120da565b50565b6114ed6117f3565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061153357506115328361152d6117f3565b61126a565b5b611572576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156990614742565b60405180910390fd5b61157d8383836125a9565b505050565b60065481565b61159184611815565b6115d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c7906147c2565b60405180910390fd5b6000600960008481526020019081526020016000205414611626576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161d906146a2565b60405180910390fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661166d3387878787876112fe565b73ffffffffffffffffffffffffffffffffffffffff16146116c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ba906147a2565b60405180910390fd5b82856116cf9190614b77565b3414611710576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170790614762565b60405180910390fd5b600160096000848152602001908152602001600020819055506006600081548092919061173c90614d01565b919050555061174a8461108f565b611767576008600081548092919061176190614d01565b91905055505b61178233858560405180602001604052806000815250611849565b5050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b8060029080519060200190611811929190613477565b5050565b60006118208261108f565b61183f576122b860016008546118369190614b21565b11159050611844565b600190505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156118b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b090614962565b60405180910390fd5b60006118c36117f3565b905060006118d0856127f0565b905060006118dd856127f0565b90506118ee836000898585896128b6565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461194d9190614b21565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516119cb92919061499d565b60405180910390a46119e2836000898585896128cc565b6119f1836000898989896128d4565b50505050505050565b600081604051602001611a0d91906143b0565b604051602081830303815290604052805190602001209050919050565b6000806000611a398585612abb565b91509150611a4681612b3e565b819250505092915050565b8151835114611a95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8c90614942565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611b05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afc906147e2565b60405180910390fd5b6000611b0f6117f3565b9050611b1f8187878787876128b6565b60005b8451811015611d1c576000858281518110611b66577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110611bab577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611c4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4390614862565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d019190614b21565b9250508190555050505080611d1590614d01565b9050611b22565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611d93929190614589565b60405180910390a4611da98187878787876128cc565b611db7818787878787612e8f565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2690614842565b60405180910390fd5b8051825114611e73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6a90614942565b60405180910390fd5b6000611e7d6117f3565b9050611e9d818560008686604051806020016040528060008152506128b6565b60005b8351811015612036576000848281518110611ee4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000848381518110611f29577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611fca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc190614722565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050808061202e90614d01565b915050611ea0565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516120ae929190614589565b60405180910390a46120d4818560008686604051806020016040528060008152506128cc565b50505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561220f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612206906148e2565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161230091906145c0565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561237d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612374906147e2565b60405180910390fd5b60006123876117f3565b90506000612394856127f0565b905060006123a1856127f0565b90506123b18389898585896128b6565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612448576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243f90614862565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124fd9190614b21565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a60405161257a92919061499d565b60405180910390a4612590848a8a86868a6128cc565b61259e848a8a8a8a8a6128d4565b505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612619576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261090614842565b60405180910390fd5b60006126236117f3565b90506000612630846127f0565b9050600061263d846127f0565b905061265d838760008585604051806020016040528060008152506128b6565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050848110156126f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126eb90614722565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516127c192919061499d565b60405180910390a46127e7848860008686604051806020016040528060008152506128cc565b50505050505050565b60606000600167ffffffffffffffff811115612835577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156128635781602001602082028036833780820191505090505b50905082816000815181106128a1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b6128c4868686868686613076565b505050505050565b505050505050565b6128f38473ffffffffffffffffffffffffffffffffffffffff166132e0565b15612ab3578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612939959493929190614459565b602060405180830381600087803b15801561295357600080fd5b505af192505050801561298457506040513d601f19601f820116820180604052508101906129819190613c64565b60015b612a2a57612990614de1565b806308c379a014156129ed57506129a56154fa565b806129b057506129ef565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e49190614620565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2190614662565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612ab1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa890614682565b60405180910390fd5b505b505050505050565b600080604183511415612afd5760008060006020860151925060408601519150606086015160001a9050612af187828585613303565b94509450505050612b37565b604083511415612b2e576000806020850151915060408501519050612b23868383613410565b935093505050612b37565b60006002915091505b9250929050565b60006004811115612b78577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612bb1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612bbc57612e8c565b60016004811115612bf6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612c2f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6790614642565b60405180910390fd5b60026004811115612caa577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612ce3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612d24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1b906146c2565b60405180910390fd5b60036004811115612d5e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612d97577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612dd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dcf90614782565b60405180910390fd5b600480811115612e11577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612e4a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612e8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8290614822565b60405180910390fd5b5b50565b612eae8473ffffffffffffffffffffffffffffffffffffffff166132e0565b1561306e578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612ef49594939291906143f1565b602060405180830381600087803b158015612f0e57600080fd5b505af1925050508015612f3f57506040513d601f19601f82011682018060405250810190612f3c9190613c64565b60015b612fe557612f4b614de1565b806308c379a01415612fa85750612f606154fa565b80612f6b5750612faa565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f9f9190614620565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fdc90614662565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461306c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161306390614682565b60405180910390fd5b505b505050505050565b61308486868686868661346f565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156131825760005b8351811015613180578281815181106130fe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160046000868481518110613143577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060008282546131689190614b21565b925050819055508061317990614d01565b90506130bc565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156132d85760005b83518110156132d65760008482815181106131fe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000848381518110613243577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600060046000848152602001908152602001600020549050818110156132a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329f906148a2565b60405180910390fd5b8181036004600085815260200190815260200160002081905550505050806132cf90614d01565b90506131ba565b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561333e576000600391509150613407565b601b8560ff16141580156133565750601c8560ff1614155b15613368576000600491509150613407565b60006001878787876040516000815260200160405260405161338d94939291906145db565b6020604051602081039080840390855afa1580156133af573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156133fe57600060019250925050613407565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6134539190614b21565b905061346187828885613303565b935093505050935093915050565b505050505050565b82805461348390614c9e565b90600052602060002090601f0160209004810192826134a557600085556134ec565b82601f106134be57805160ff19168380011785556134ec565b828001600101855582156134ec579182015b828111156134eb5782518255916020019190600101906134d0565b5b5090506134f991906134fd565b5090565b5b808211156135165760008160009055506001016134fe565b5090565b600061352d613528846149eb565b6149c6565b9050808382526020820190508285602086028201111561354c57600080fd5b60005b8581101561357c5781613562888261366e565b84526020840193506020830192505060018101905061354f565b5050509392505050565b600061359961359484614a17565b6149c6565b905080838252602082019050828560208602820111156135b857600080fd5b60005b858110156135e857816135ce888261376a565b8452602084019350602083019250506001810190506135bb565b5050509392505050565b600061360561360084614a43565b6149c6565b90508281526020810184848401111561361d57600080fd5b613628848285614c5c565b509392505050565b600061364361363e84614a74565b6149c6565b90508281526020810184848401111561365b57600080fd5b613666848285614c5c565b509392505050565b60008135905061367d81615590565b92915050565b600082601f83011261369457600080fd5b81356136a484826020860161351a565b91505092915050565b600082601f8301126136be57600080fd5b81356136ce848260208601613586565b91505092915050565b6000813590506136e6816155a7565b92915050565b6000813590506136fb816155be565b92915050565b600081519050613710816155be565b92915050565b600082601f83011261372757600080fd5b81356137378482602086016135f2565b91505092915050565b600082601f83011261375157600080fd5b8135613761848260208601613630565b91505092915050565b600081359050613779816155d5565b92915050565b60006020828403121561379157600080fd5b600061379f8482850161366e565b91505092915050565b600080604083850312156137bb57600080fd5b60006137c98582860161366e565b92505060206137da8582860161366e565b9150509250929050565b600080600080600060a086880312156137fc57600080fd5b600061380a8882890161366e565b955050602061381b8882890161366e565b945050604086013567ffffffffffffffff81111561383857600080fd5b613844888289016136ad565b935050606086013567ffffffffffffffff81111561386157600080fd5b61386d888289016136ad565b925050608086013567ffffffffffffffff81111561388a57600080fd5b61389688828901613716565b9150509295509295909350565b600080600080600060a086880312156138bb57600080fd5b60006138c98882890161366e565b95505060206138da8882890161366e565b94505060406138eb8882890161376a565b93505060606138fc8882890161376a565b925050608086013567ffffffffffffffff81111561391957600080fd5b61392588828901613716565b9150509295509295909350565b60008060006060848603121561394757600080fd5b60006139558682870161366e565b935050602084013567ffffffffffffffff81111561397257600080fd5b61397e868287016136ad565b925050604084013567ffffffffffffffff81111561399b57600080fd5b6139a7868287016136ad565b9150509250925092565b600080604083850312156139c457600080fd5b60006139d28582860161366e565b92505060206139e3858286016136d7565b9150509250929050565b60008060408385031215613a0057600080fd5b6000613a0e8582860161366e565b9250506020613a1f8582860161376a565b9150509250929050565b600080600060608486031215613a3e57600080fd5b6000613a4c8682870161366e565b9350506020613a5d8682870161376a565b9250506040613a6e8682870161376a565b9150509250925092565b60008060008060008060c08789031215613a9157600080fd5b6000613a9f89828a0161366e565b9650506020613ab089828a0161376a565b9550506040613ac189828a0161376a565b9450506060613ad289828a0161376a565b9350506080613ae389828a0161376a565b92505060a087013567ffffffffffffffff811115613b0057600080fd5b613b0c89828a01613716565b9150509295509295509295565b600080600080600080600060e0888a031215613b3457600080fd5b6000613b428a828b0161366e565b9750506020613b538a828b0161376a565b9650506040613b648a828b0161376a565b9550506060613b758a828b0161376a565b9450506080613b868a828b0161376a565b93505060a0613b978a828b0161376a565b92505060c088013567ffffffffffffffff811115613bb457600080fd5b613bc08a828b01613716565b91505092959891949750929550565b60008060408385031215613be257600080fd5b600083013567ffffffffffffffff811115613bfc57600080fd5b613c0885828601613683565b925050602083013567ffffffffffffffff811115613c2557600080fd5b613c31858286016136ad565b9150509250929050565b600060208284031215613c4d57600080fd5b6000613c5b848285016136ec565b91505092915050565b600060208284031215613c7657600080fd5b6000613c8484828501613701565b91505092915050565b600060208284031215613c9f57600080fd5b600082013567ffffffffffffffff811115613cb957600080fd5b613cc584828501613740565b91505092915050565b600060208284031215613ce057600080fd5b6000613cee8482850161376a565b91505092915050565b600080600060608486031215613d0c57600080fd5b6000613d1a8682870161376a565b935050602084013567ffffffffffffffff811115613d3757600080fd5b613d4386828701613683565b925050604084013567ffffffffffffffff811115613d6057600080fd5b613d6c868287016136ad565b9150509250925092565b600080600080600060a08688031215613d8e57600080fd5b6000613d9c8882890161376a565b9550506020613dad8882890161376a565b9450506040613dbe8882890161376a565b9350506060613dcf8882890161376a565b925050608086013567ffffffffffffffff811115613dec57600080fd5b613df888828901613716565b9150509295509295909350565b60008060008060008060c08789031215613e1e57600080fd5b6000613e2c89828a0161376a565b9650506020613e3d89828a0161376a565b9550506040613e4e89828a0161376a565b9450506060613e5f89828a0161376a565b9350506080613e7089828a0161376a565b92505060a087013567ffffffffffffffff811115613e8d57600080fd5b613e9989828a01613716565b9150509295509295509295565b6000613eb28383614383565b60208301905092915050565b613ec781614bd1565b82525050565b6000613ed882614ab5565b613ee28185614ae3565b9350613eed83614aa5565b8060005b83811015613f1e578151613f058882613ea6565b9750613f1083614ad6565b925050600181019050613ef1565b5085935050505092915050565b613f3481614be3565b82525050565b613f4381614bef565b82525050565b613f5a613f5582614bef565b614d4a565b82525050565b6000613f6b82614ac0565b613f758185614af4565b9350613f85818560208601614c6b565b613f8e81614e03565b840191505092915050565b6000613fa482614acb565b613fae8185614b05565b9350613fbe818560208601614c6b565b613fc781614e03565b840191505092915050565b6000613fdf601883614b05565b9150613fea82614e21565b602082019050919050565b6000614002603483614b05565b915061400d82614e4a565b604082019050919050565b6000614025602883614b05565b915061403082614e99565b604082019050919050565b6000614048601883614b05565b915061405382614ee8565b602082019050919050565b600061406b601f83614b05565b915061407682614f11565b602082019050919050565b600061408e601c83614b16565b915061409982614f3a565b601c82019050919050565b60006140b1602b83614b05565b91506140bc82614f63565b604082019050919050565b60006140d4602683614b05565b91506140df82614fb2565b604082019050919050565b60006140f7602483614b05565b915061410282615001565b604082019050919050565b600061411a602983614b05565b915061412582615050565b604082019050919050565b600061413d601f83614b05565b91506141488261509f565b602082019050919050565b6000614160602283614b05565b915061416b826150c8565b604082019050919050565b6000614183601683614b05565b915061418e82615117565b602082019050919050565b60006141a6601183614b05565b91506141b182615140565b602082019050919050565b60006141c9602583614b05565b91506141d482615169565b604082019050919050565b60006141ec603283614b05565b91506141f7826151b8565b604082019050919050565b600061420f602283614b05565b915061421a82615207565b604082019050919050565b6000614232602383614b05565b915061423d82615256565b604082019050919050565b6000614255602a83614b05565b9150614260826152a5565b604082019050919050565b6000614278602083614b05565b9150614283826152f4565b602082019050919050565b600061429b602883614b05565b91506142a68261531d565b604082019050919050565b60006142be601c83614b05565b91506142c98261536c565b602082019050919050565b60006142e1602983614b05565b91506142ec82615395565b604082019050919050565b6000614304602983614b05565b915061430f826153e4565b604082019050919050565b6000614327601683614b05565b915061433282615433565b602082019050919050565b600061434a602883614b05565b91506143558261545c565b604082019050919050565b600061436d602183614b05565b9150614378826154ab565b604082019050919050565b61438c81614c45565b82525050565b61439b81614c45565b82525050565b6143aa81614c4f565b82525050565b60006143bb82614081565b91506143c78284613f49565b60208201915081905092915050565b60006020820190506143eb6000830184613ebe565b92915050565b600060a0820190506144066000830188613ebe565b6144136020830187613ebe565b81810360408301526144258186613ecd565b905081810360608301526144398185613ecd565b9050818103608083015261444d8184613f60565b90509695505050505050565b600060a08201905061446e6000830188613ebe565b61447b6020830187613ebe565b6144886040830186614392565b6144956060830185614392565b81810360808301526144a78184613f60565b90509695505050505050565b600060a0820190506144c86000830188613ebe565b6144d56020830187614392565b6144e26040830186614392565b6144ef6060830185614392565b6144fc6080830184614392565b9695505050505050565b600060c08201905061451b6000830189613ebe565b6145286020830188614392565b6145356040830187614392565b6145426060830186614392565b61454f6080830185614392565b61455c60a0830184614392565b979650505050505050565b600060208201905081810360008301526145818184613ecd565b905092915050565b600060408201905081810360008301526145a38185613ecd565b905081810360208301526145b78184613ecd565b90509392505050565b60006020820190506145d56000830184613f2b565b92915050565b60006080820190506145f06000830187613f3a565b6145fd60208301866143a1565b61460a6040830185613f3a565b6146176060830184613f3a565b95945050505050565b6000602082019050818103600083015261463a8184613f99565b905092915050565b6000602082019050818103600083015261465b81613fd2565b9050919050565b6000602082019050818103600083015261467b81613ff5565b9050919050565b6000602082019050818103600083015261469b81614018565b9050919050565b600060208201905081810360008301526146bb8161403b565b9050919050565b600060208201905081810360008301526146db8161405e565b9050919050565b600060208201905081810360008301526146fb816140a4565b9050919050565b6000602082019050818103600083015261471b816140c7565b9050919050565b6000602082019050818103600083015261473b816140ea565b9050919050565b6000602082019050818103600083015261475b8161410d565b9050919050565b6000602082019050818103600083015261477b81614130565b9050919050565b6000602082019050818103600083015261479b81614153565b9050919050565b600060208201905081810360008301526147bb81614176565b9050919050565b600060208201905081810360008301526147db81614199565b9050919050565b600060208201905081810360008301526147fb816141bc565b9050919050565b6000602082019050818103600083015261481b816141df565b9050919050565b6000602082019050818103600083015261483b81614202565b9050919050565b6000602082019050818103600083015261485b81614225565b9050919050565b6000602082019050818103600083015261487b81614248565b9050919050565b6000602082019050818103600083015261489b8161426b565b9050919050565b600060208201905081810360008301526148bb8161428e565b9050919050565b600060208201905081810360008301526148db816142b1565b9050919050565b600060208201905081810360008301526148fb816142d4565b9050919050565b6000602082019050818103600083015261491b816142f7565b9050919050565b6000602082019050818103600083015261493b8161431a565b9050919050565b6000602082019050818103600083015261495b8161433d565b9050919050565b6000602082019050818103600083015261497b81614360565b9050919050565b60006020820190506149976000830184614392565b92915050565b60006040820190506149b26000830185614392565b6149bf6020830184614392565b9392505050565b60006149d06149e1565b90506149dc8282614cd0565b919050565b6000604051905090565b600067ffffffffffffffff821115614a0657614a05614db2565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614a3257614a31614db2565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614a5e57614a5d614db2565b5b614a6782614e03565b9050602081019050919050565b600067ffffffffffffffff821115614a8f57614a8e614db2565b5b614a9882614e03565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614b2c82614c45565b9150614b3783614c45565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b6c57614b6b614d54565b5b828201905092915050565b6000614b8282614c45565b9150614b8d83614c45565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614bc657614bc5614d54565b5b828202905092915050565b6000614bdc82614c25565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614c89578082015181840152602081019050614c6e565b83811115614c98576000848401525b50505050565b60006002820490506001821680614cb657607f821691505b60208210811415614cca57614cc9614d83565b5b50919050565b614cd982614e03565b810181811067ffffffffffffffff82111715614cf857614cf7614db2565b5b80604052505050565b6000614d0c82614c45565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614d3f57614d3e614d54565b5b600182019050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115614e005760046000803e614dfd600051614e14565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f7369676e6174757265496420616c726561647920757365640000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420617574686f72697a656420746f206d696e7400000000000000000000600082015250565b7f4d6178206c696d69742072656163686564000000000000000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b7f737761705369676e6174757265496420616c7265616479207573656400000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f4e6f7420617574686f72697a656420746f207377617000000000000000000000600082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d101561550a5761558d565b6155126149e1565b60043d036004823e80513d602482011167ffffffffffffffff8211171561553a57505061558d565b808201805167ffffffffffffffff811115615558575050505061558d565b80602083010160043d03850181111561557557505050505061558d565b61558482602001850186614cd0565b82955050505050505b90565b61559981614bd1565b81146155a457600080fd5b50565b6155b081614be3565b81146155bb57600080fd5b50565b6155c781614bf9565b81146155d257600080fd5b50565b6155de81614c45565b81146155e957600080fd5b5056fea26469706673582212208e81eee24115611dcc028af1a43bc95007194fe43d438380e2cbbc2319fb309064736f6c63430008040033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000006e041105a890e406c5e76cde81ad83231f7661f9000000000000000000000000000000000000000000000000000000000000002a68747470733a2f2f6170692e7561736973636f72702e636f6d2f746f6b656e732f7b69647d2e6a736f6e00000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : newURI (string): https://api.uasiscorp.com/tokens/{id}.json
Arg [1] : _signAddress (address): 0x6e041105a890E406c5e76Cde81Ad83231F7661F9

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000006e041105a890e406c5e76cde81ad83231f7661f9
Arg [2] : 000000000000000000000000000000000000000000000000000000000000002a
Arg [3] : 68747470733a2f2f6170692e7561736973636f72702e636f6d2f746f6b656e73
Arg [4] : 2f7b69647d2e6a736f6e00000000000000000000000000000000000000000000


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.