Token BlockTunes RARE

 

Overview

TokenID:
1

Transfers:
-

 
Loading
[ Download CSV Export  ] 
Loading
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
ERC721Suika

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-11-15
*/

/**
 *Submitted for verification at BscScan.com on 2021-12-28
*/

// SPDX-License-Identifier: MIT

/**

MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMWWWWWWWWWWWWWWWMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMWWNXXKKKKKKKXXXXKKKKKKXXNWWMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMWNXKKKKXXNWWWWMMWWWWMWWWWNXXXKKKXNWMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMWNXKKKXNWMMMMMMMMMNOdxKWMMMMMMMMWNXKKKXNWMMMMMMMMMMMMMM
MMMMMMMMMMMMMWXKKKNWMMMMMMMMMMMMNx:;;l0WMMMMMMMMMMMWNK0KXWMMMMMMMMMMMM
MMMMMMMMMMMWXKKXWMMMMMMMMMMMMMMXd:;;;;cOWMMMMMMMMMMMMMWXKKXWMMMMMMMMMM
MMMMMMMMMWNKKXWMMMMMMMMMMMMMMWKo;;col:;:kNMMMMMMMMMMMMMMWX0KNWMMMMMMMM
MMMMMMMMWX0XWMMMMMMMMMMMMMMMWOl;;oKWXkc;:dXMMMMMMMMMMMMMMMWX0XWMMMMMMM
MMMMMMMNKKNWMMMMMMMMMMMMMMMNkc;:dXMMMWOc;;oKWMMMMMMMMMMMMMMWNKKNMMMMMM
MMMMMMNKKNMMMMMMMMMMMMMMMMNx:;:xNMMMMMW0l;;l0WMMMMMMMWMMMMMMMNKKNMMMMM
MMMMMNKKNMMMMMMMMMMMMMMMMXd:;ckNMMMMMMMMKo:;cOWMMMMXkxkXWMMMMMNKKNMMMM
MMMMWK0NMMMMMMMMMMMMMMMWKo;;l0WMMMMMMMMMMXx:;:xNMMW0lccxXMMMMMMN0KWMMM
MMMMX0XWMMMMMMWWMMMMMMWOl;;oKWMMMMMMMMMMMMNkc;:dXMMNklcoKMMMMMMMX0XMMM
MMMWKKNMMWK0OkkkkkkKWNkc;:dXMMMMMMMMMMMMMMMWOl;;oKWMXdcxNMMMMMMMNKKWMM
MMMN0XWMMWNXX0OdlccdKOc;:xNMMMWXKKXNWNNNNWWMW0o;;l0WNkdKWMMMMMMMWX0NMM
MMMX0XMMMMMMMMMN0dlcdOxoONMMMMW0xdddddodxk0KNWXd:;l0Kx0WMMMMMMMMMX0XMM
MMMX0NMMMMMMMMMMWXxlcoOXWMMMMWKkolclodkKNNNNWWMNxcxOkKWMMMMMMMMMMX0XMM
MMMX0XMMMMMMMMMMMMNklclkNMMWXklccodxdodKWMMMMMMMNKOkKWMMMMMMMMMMMX0XMM
MMMN0XWMMMMMMMMMMMMNOoclxXN0occcdKX0xlco0WMMMMMMNOOXMMMMMMMMMMMMMX0NMM
MMMWKKWMMMMMMMMMMMMMW0dccoxocccdKWMWNklclONMMMMXOONMMMMMMMMMMMMMWKKWMM
MMMMX0XMMMMMMMMMMMMMMWKdcccccco0WMMMMNOoclkNWWKk0NMMMMMMMMMMMMMMX0XWMM
MMMMWKKNMMMMMMMMMMMMMMMXxlcccckNMMMMMMW0oclxK0kKWMMMMMMMMMMMMMMNKKWMMM
MMMMMN0KWMMMMMMMMMMMMMMMNklccoKWMMMMMMMWKdlcoxKWMMMMMMMMMMMMMMWK0NMMMM
MMMMMMN0KWMMMMMMMMMMMMMMMNOod0KXWMMMMMMNK0xoxXWMMMMMMMMMMMMMMWK0NMMMMM
MMMMMMMN0KNMMMMMMMMMMMMMMMWXKkll0WMMMMXdcoOKNMMMMMMMMMMMMMMMNK0NMMMMMM
MMMMMMMMNK0XWMMMMMMMMMMMMMMMNd:;cOWMWKo:;c0WMMMMMMMMMMMMMMWX0KNMMMMMMM
MMMMMMMMMWXKKNWMMMMMMMMMMMMMMXd:;cx0kl;;l0WMMMMMMMMMMMMMWNKKXWMMMMMMMM
MMMMMMMMMMMWX0KNWMMMMMMMMMMMMMNkc;;::;:oKWMMMMMMMMMMMMWNK0XWMMMMMMMMMM
MMMMMMMMMMMMMNXKKXNWMMMMMMMMMMMWOc;;;:dXMMMMMMMMMMMWNXKKXWMMMMMMMMMMMM
MMMMMMMMMMMMMMMWNKKKXNWMMMMMMMMMW0l:ckNMMMMMMMMMWNXKKKNWMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMWNXKKKXXNWWWMMMMX0KWMMMWWWNXXKKKXNWMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMWWNXXKKKKKXXXXXXXXXXKKKKXXNWWMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMWWNNNNNNNNNNNNWWWMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM


---------------------- [ WPSmartContracts.com ] ----------------------

                       [ Blockchain Made Easy ]


    |
    |  ERC-721 NFT Token Marketplace
    |
    |----------------------------
    |
    |  Flavors
    |
    |  >  Suika: Standard ERC-721 Token with Marketplace
    |            Supports Payment with Tokens, and royalties
    |

*/

pragma solidity ^0.8.2;

/**
 * @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);
}

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * @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;
    }
}

/**
 * @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);
    }
}

/**
 * @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;
    }
}

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token");

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

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

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

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

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

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

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

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

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

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

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

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

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

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

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

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

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

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

        _revokeRole(role, account);
    }

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

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

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

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

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

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

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

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

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

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

            if (lastIndex != toDeleteIndex) {
                bytes32 lastvalue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastvalue;
                // Update the index for the moved value
                set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex
            }

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

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

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

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

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

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

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        return _values(set._inner);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        assembly {
            result := store
        }

        return result;
    }
}

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

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

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

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

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

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

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

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

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

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
 
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

contract ERC721Mochi is ERC721, ERC721Enumerable, ERC721URIStorage, AccessControlEnumerable, ERC721Burnable {
    using Counters for Counters.Counter;

    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    Counters.Counter private _tokenIdCounter;
    bool public anyoneCanMint;

    constructor(address owner, string memory name, string memory symbol, bool _anyoneCanMint) ERC721(name, symbol) {
        _setupRole(DEFAULT_ADMIN_ROLE, owner);
        _setupRole(MINTER_ROLE, owner);
        anyoneCanMint = _anyoneCanMint;
    }

    function autoMint(string memory _tokenURI, address to) public onlyMinter {
        uint id;
        do {
          _tokenIdCounter.increment();
          id = _tokenIdCounter.current();
        } while(_exists(id));
        _mint(to, id);
        _setTokenURI(id, _tokenURI);
    }

    function mint(address to, uint256 tokenId) public onlyMinter {
        _mint(to, tokenId);
    }

    function safeMint(address to, uint256 tokenId) public onlyMinter {
        _safeMint(to, tokenId);
    }

    function isMinter(address account) public view returns (bool) {
        return hasRole(MINTER_ROLE, account);
    }

    function safeMint(address to, uint256 tokenId, bytes memory _data) public onlyMinter {
        _safeMint(to, tokenId, _data);
    }

    function _burn(uint256 tokenId) internal virtual override(ERC721, ERC721URIStorage) {
        ERC721URIStorage._burn(tokenId);
    }

    function _beforeTokenTransfer(address from, address to, uint256 tokenId)
        internal
        override(ERC721, ERC721Enumerable)
    {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    function tokenURI(uint256 tokenId)
        public
        view
        override(ERC721, ERC721URIStorage)
        returns (string memory)
    {
        return super.tokenURI(tokenId);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721, ERC721Enumerable, AccessControlEnumerable)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }

    function addMinter(address account) public onlyRole(MINTER_ROLE) {
        grantRole(MINTER_ROLE, account);
    }

    function canIMint() public view returns (bool) {
        return anyoneCanMint || isMinter(msg.sender);
    }

    /**
     * Open modifier to anyone can mint possibility
     */
    modifier onlyMinter() {
        string memory mensaje;
        require(
            canIMint(),
            "MinterRole: caller does not have the Minter role"
        );
        _;
    }

}

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

contract EIP20 {

    uint256 public totalSupply;

    uint256 constant private MAX_UINT256 = 2**256 - 1;
    mapping (address => uint256) public balances;
    mapping (address => mapping (address => uint256)) public allowed;
    /*
    NOTE:
    The following variables are OPTIONAL vanities. One does not have to include them.
    They allow one to customise the token contract & in no way influences the core functionality.
    Some wallets/interfaces might not even bother to look at this information.
    */
    string public name;                   //fancy name: eg Simon Bucks
    uint8 public decimals;                //How many decimals to show.
    string public symbol;                 //An identifier: eg SBX

    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);

    constructor(
        uint256 _initialAmount,
        string memory _tokenName,
        uint8 _decimalUnits,
        string memory _tokenSymbol
    ) {
        balances[msg.sender] = _initialAmount;               // Give the creator all initial tokens
        totalSupply = _initialAmount;                        // Update total supply
        name = _tokenName;                                   // Set the name for display purposes
        decimals = _decimalUnits;                            // Amount of decimals for display purposes
        symbol = _tokenSymbol;                               // Set the symbol for display purposes
    }

    function transfer(address _to, uint256 _value) public returns (bool success) {
        require(balances[msg.sender] >= _value);
        balances[msg.sender] -= _value;
        balances[_to] += _value;
        emit Transfer(msg.sender, _to, _value); //solhint-disable-line indent, no-unused-vars
        return true;
    }

    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {
        uint256 _allowance = allowed[_from][msg.sender];
        require(balances[_from] >= _value && _allowance >= _value);
        balances[_to] += _value;
        balances[_from] -= _value;
        if (_allowance < MAX_UINT256) {
            allowed[_from][msg.sender] -= _value;
        }
        emit Transfer(_from, _to, _value); //solhint-disable-line indent, no-unused-vars
        return true;
    }

    function balanceOf(address _owner) public view returns (uint256 balance) {
        return balances[_owner];
    }

    function approve(address _spender, uint256 _value) public returns (bool success) {
        allowed[msg.sender][_spender] = _value;
        emit Approval(msg.sender, _spender, _value); //solhint-disable-line indent, no-unused-vars
        return true;
    }

    function allowance(address _owner, address _spender) public view returns (uint256 remaining) {
        return allowed[_owner][_spender];
    }
}

/**
 * @title ERC721Suika
 * ERC-721 Marketplace with tokens and royalties support
 */

contract ERC721Suika is ERC721Mochi, ReentrancyGuard {

    using SafeMath for uint256;

    using Address for address payable;
    using Address for address;

    // admin address, the owner of the marketplace
    address payable admin;

    address public contract_owner;

    // ERC20 token to be used for payments
    EIP20 public payment_token;

    // commission rate is a value from 0 to 100
    uint256 commissionRate;

    // royalties commission rate is a value from 0 to 100
    uint256 royaltiesCommissionRate;

    // nft item creators list, used to pay royalties
    mapping(uint256 => address) public creators;
    
    // last price sold or auctioned
    mapping(uint256 => uint256) public soldFor;
    
    // Mapping from token ID to sell price in Ether or to bid price, depending if it is an auction or not
    mapping(uint256 => uint256) public sellBidPrice;

    // Mapping payment address for tokenId 
    mapping(uint256 => address payable) private _wallets;

    event Sale(uint256 indexed tokenId, address indexed from, address indexed to, uint256 value);
    event Commission(uint256 indexed tokenId, address indexed to, uint256 value, uint256 rate, uint256 total);
    event Royalty(uint256 indexed tokenId, address indexed to, uint256 value, uint256 rate, uint256 total);

    // Auction data
    struct Auction {

        // Parameters of the auction. Times are either
        // absolute unix timestamps (seconds since 1970-01-01)
        // or time periods in seconds.
        address payable beneficiary;
        uint auctionEnd;

        // Current state of the auction.
        address payable highestBidder;
        uint highestBid;

        // Set to true at the end, disallows any change
        bool open;

        // minimum reserve price in wei
        uint256 reserve;

    }

    // mapping auctions for each tokenId
    mapping(uint256 => Auction) public auctions;

    // Events that will be fired on changes.
    event Refund(address bidder, uint amount);
    event HighestBidIncreased(address indexed bidder, uint amount, uint256 tokenId);
    event AuctionEnded(address winner, uint amount);

    event LimitSell(address indexed from, address indexed to, uint256 amount);
    event LimitBuy(address indexed from, address indexed to, uint256 amount);
    event MarketSell(address indexed from, address indexed to, uint256 amount);
    event MarketBuy(address indexed from, address indexed to, uint256 amount);

    constructor(
        EIP20 _payment_token, address _owner, address payable _admin, 
        uint256 _commissionRate, uint256 _royaltiesCommissionRate, string memory name, string memory symbol, bool _anyoneCanMint) 
        ERC721Mochi(_owner, name, symbol, _anyoneCanMint) 
    {
        admin = _admin;
        contract_owner = _owner;
        require(_commissionRate<=100, "ERC721Suika: Commission rate has to be between 0 and 100");
        commissionRate = _commissionRate;
        royaltiesCommissionRate = _royaltiesCommissionRate;
        payment_token = _payment_token;
    }

    function canSell(uint256 tokenId) public view returns (bool) {
        return (ownerOf(tokenId)==msg.sender && !auctions[tokenId].open);
    }

    // Sell option for a fixed price
    function sell(uint256 tokenId, uint256 price, address payable wallet) public {

        // onlyOwner
        require(ownerOf(tokenId)==msg.sender, "ERC721Suika: Only owner can sell this item");

        // cannot set a price if auction is activated
        require(!auctions[tokenId].open, "ERC721Suika: Cannot sell an item which has an active auction");

        // set sell price for index
        sellBidPrice[tokenId] = price;

        // If price is zero, means not for sale
        if (price>0) {

            // approve the Index to the current contract
            approve(address(this), tokenId);
            
            // set wallet payment
            _wallets[tokenId] = wallet;
            
        }

    }

    // simple function to return the price of a tokenId
    // returns: sell price, bid price, sold price, only one can be non zero
    function getPrice(uint256 tokenId) public view returns (uint256, uint256, uint256) {
        if (sellBidPrice[tokenId]>0) return (sellBidPrice[tokenId], 0, 0);
        if (auctions[tokenId].highestBid>0) return (0, auctions[tokenId].highestBid, 0);
        return (0, 0, soldFor[tokenId]);
    }

    function canBuy(uint256 tokenId) public view returns (uint256) {
        if (!auctions[tokenId].open && sellBidPrice[tokenId]>0 && sellBidPrice[tokenId]>0 && getApproved(tokenId) == address(this)) {
            return sellBidPrice[tokenId];
        } else {
            return 0;
        }
    }

    // Buy option
    function buy(uint256 tokenId) public nonReentrant {

        // is on sale
        require(!auctions[tokenId].open && sellBidPrice[tokenId]>0, "ERC721Suika: The collectible is not for sale");

        // transfer ownership
        address owner = ownerOf(tokenId);

        require(msg.sender!=owner, "ERC721Suika: The seller cannot buy his own collectible");

        // we need to call a transferFrom from this contract, which is the one with permission to sell the NFT
        callOptionalReturn(this, abi.encodeWithSelector(this.transferFrom.selector, owner, msg.sender, tokenId));

        // calculate amounts
        uint256 amount4admin = sellBidPrice[tokenId].mul(commissionRate).div(100);
        uint256 amount4creator = sellBidPrice[tokenId].mul(royaltiesCommissionRate).div(100);
        uint256 amount4owner = sellBidPrice[tokenId].sub(amount4admin).sub(amount4creator);

        // to owner
        require(payment_token.transferFrom(msg.sender, _wallets[tokenId], amount4owner), "Transfer failed.");

        // to creator
        if (amount4creator>0) {
            require(payment_token.transferFrom(msg.sender, creators[tokenId], amount4creator), "Transfer failed.");
        }

        // to admin
        if (amount4admin>0) {
            require(payment_token.transferFrom(msg.sender, admin, amount4admin), "Transfer failed.");
        }

        emit Sale(tokenId, owner, msg.sender, sellBidPrice[tokenId]);
        emit Commission(tokenId, owner, sellBidPrice[tokenId], commissionRate, amount4admin);
        emit Royalty(tokenId, owner, sellBidPrice[tokenId], royaltiesCommissionRate, amount4creator);

        soldFor[tokenId] = sellBidPrice[tokenId];

        // close the sell
        sellBidPrice[tokenId] = 0;
        delete _wallets[tokenId];

    }

    function canAuction(uint256 tokenId) public view returns (bool) {
        return (ownerOf(tokenId)==msg.sender && !auctions[tokenId].open && sellBidPrice[tokenId]==0);
    }

    // Instantiate an auction contract for a tokenId
    function createAuction(uint256 tokenId, uint _closingTime, address payable _beneficiary, uint256 _reservePrice) public {

        require(sellBidPrice[tokenId]==0, "ERC721Suika: The selected NFT is open for sale, cannot be auctioned");
        require(!auctions[tokenId].open, "ERC721Suika: The selected NFT already has an auction");
        require(ownerOf(tokenId)==msg.sender, "ERC721Suika: Only owner can auction this item");

        auctions[tokenId].beneficiary = _beneficiary;
        auctions[tokenId].auctionEnd = _closingTime;
        auctions[tokenId].reserve = _reservePrice;
        auctions[tokenId].open = true;

        // approve the Index to the current contract
        approve(address(this), tokenId);

    }

    function canBid(uint256 tokenId) public view returns (bool) {
        if (!msg.sender.isContract() &&
            auctions[tokenId].open &&
            block.timestamp <= auctions[tokenId].auctionEnd &&
            msg.sender != ownerOf(tokenId) &&
            getApproved(tokenId) == address(this)
        ) {
            return true;
        } else {
            return false;
        }
    }

    /// Overrides minting function to keep track of item creators
    function _mint(address to, uint256 tokenId) override internal {
        creators[tokenId] = msg.sender;
        super._mint(to, tokenId);
    }

    /// Bid on the auction with the value sent
    /// together with this transaction.
    /// The value will only be refunded if the
    /// auction is not won.
    function bid(uint256 tokenId, uint256 bid_value) public nonReentrant {

        // Contracts cannot bid, because they can block the auction with a reentrant attack
        require(!msg.sender.isContract(), "No script kiddies");

        // auction has to be opened
        require(auctions[tokenId].open, "No opened auction found");

        // approve was lost
        require(getApproved(tokenId) == address(this), "Cannot complete the auction");

        // Revert the call if the bidding
        // period is over.
        require(
            block.timestamp <= auctions[tokenId].auctionEnd,
            "Auction already ended."
        );

        // If the bid is not higher, send the
        // money back.
        require(
            bid_value > auctions[tokenId].highestBid,
            "There already is a higher bid."
        );

        address owner = ownerOf(tokenId);
        require(msg.sender!=owner, "ERC721Suika: The owner cannot bid his own collectible");

        // return the funds to the previous bidder, if there is one
        if (auctions[tokenId].highestBid>0) {
            require(payment_token.transfer(auctions[tokenId].highestBidder, auctions[tokenId].highestBid), "Transfer failed.");
            emit Refund(auctions[tokenId].highestBidder, auctions[tokenId].highestBid);
        }

        // now store the bid data
        auctions[tokenId].highestBidder = payable(msg.sender);

        // transfer tokens to contract
        require(payment_token.transferFrom(msg.sender, address(this), bid_value), "Transfer failed.");

        // register the highest bid value
        auctions[tokenId].highestBid = bid_value;

        emit HighestBidIncreased(msg.sender, bid_value, tokenId);

    }

    // anyone can execute withdraw if auction is opened and 
    // the bid time expired and the reserve was not met
    // or
    // the auction is openen but the contract is unable to transfer
    function canWithdraw(uint256 tokenId) public view returns (bool) {
        if (auctions[tokenId].open && 
            (
                (
                    block.timestamp >= auctions[tokenId].auctionEnd &&
                    auctions[tokenId].highestBid > 0 &&
                    auctions[tokenId].highestBid<auctions[tokenId].reserve
                ) || 
                getApproved(tokenId) != address(this)
            )
        ) {
            return true;
        } else {
            return false;
        }
    }

    /// Withdraw a bid when the auction is not finalized
    function withdraw(uint256 tokenId) public nonReentrant {

        require(canWithdraw(tokenId), "Conditions to withdraw are not met");

        // transfer funds to highest bidder always
        if (auctions[tokenId].highestBid > 0) {
            require(payment_token.transfer(auctions[tokenId].highestBidder, auctions[tokenId].highestBid), "Transfer failed.");
        }

        // finalize the auction
        delete auctions[tokenId];

    }

    function canFinalize(uint256 tokenId) public view returns (bool) {
        if (auctions[tokenId].open && 
            block.timestamp >= auctions[tokenId].auctionEnd &&
            (
                auctions[tokenId].highestBid>=auctions[tokenId].reserve || 
                auctions[tokenId].highestBid==0
            )
        ) {
            return true;
        } else {
            return false;
        }
    }

    // implement the auctionFinalize including the NFT transfer logic
    function auctionFinalize(uint256 tokenId) public nonReentrant {

        require(canFinalize(tokenId), "Cannot finalize");

        if (auctions[tokenId].highestBid>0) {

            // transfer the ownership of token to the highest bidder
            address payable _highestBidder = auctions[tokenId].highestBidder;

            // calculate payment amounts
            uint256 amount4admin = auctions[tokenId].highestBid.mul(commissionRate).div(100);
            uint256 amount4creator = auctions[tokenId].highestBid.mul(royaltiesCommissionRate).div(100);
            uint256 amount4owner = auctions[tokenId].highestBid.sub(amount4admin).sub(amount4creator);

            // to owner
            require(payment_token.transfer(auctions[tokenId].beneficiary, amount4owner), "Transfer failed.");

            // to creator
            if (amount4creator>0) {
                require(payment_token.transfer(creators[tokenId], amount4creator), "Transfer failed.");
            }

            // to admin
            if (amount4admin>0) {
                require(payment_token.transfer(admin, amount4admin), "Transfer failed.");
            }

            emit Sale(tokenId, auctions[tokenId].beneficiary, _highestBidder, auctions[tokenId].highestBid);
            emit Royalty(tokenId, auctions[tokenId].beneficiary, auctions[tokenId].highestBid, royaltiesCommissionRate, amount4creator);
            emit Commission(tokenId, auctions[tokenId].beneficiary, auctions[tokenId].highestBid, commissionRate, amount4admin);

            // transfer ownership
            address owner = ownerOf(tokenId);

            // we need to call a transferFrom from this contract, which is the one with permission to sell the NFT
            // transfer the NFT to the auction's highest bidder
            callOptionalReturn(this, abi.encodeWithSelector(this.transferFrom.selector, owner, _highestBidder, tokenId));

            soldFor[tokenId] = auctions[tokenId].highestBid;

        }

        emit AuctionEnded(auctions[tokenId].highestBidder, auctions[tokenId].highestBid);

        // finalize the auction
        delete auctions[tokenId];

    }

    // Bid query functions
    function highestBidder(uint256 tokenId) public view returns (address payable) {
        return auctions[tokenId].highestBidder;
    }

    function highestBid(uint256 tokenId) public view returns (uint256) {
        return auctions[tokenId].highestBid;
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function callOptionalReturn(IERC721 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves.

        // A Solidity high level call has three parts:
        //  1. The target address is checked to verify it contains contract code
        //  2. The call itself is made, and success asserted
        //  3. The return value is decoded, which in turn checks the size of the returned data.
        // solhint-disable-next-line max-line-length
        require(address(token).isContract(), "SafeERC721: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(data);
        require(success, "SafeERC721: low-level call failed");

        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC721: ERC20 operation did not succeed");
        }
    }

    // update contract fields
    function updateAdmin(address payable _admin, uint256 _commissionRate, uint256 _royaltiesCommissionRate, bool _anyoneCanMint, EIP20 _payment_token) public {
        require(msg.sender==contract_owner, "Only contract owner can do this");
        admin = _admin;
        commissionRate = _commissionRate;
        royaltiesCommissionRate = _royaltiesCommissionRate;
        anyoneCanMint = _anyoneCanMint;
        payment_token = _payment_token;
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract EIP20","name":"_payment_token","type":"address"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address payable","name":"_admin","type":"address"},{"internalType":"uint256","name":"_commissionRate","type":"uint256"},{"internalType":"uint256","name":"_royaltiesCommissionRate","type":"uint256"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"bool","name":"_anyoneCanMint","type":"bool"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"winner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AuctionEnded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"total","type":"uint256"}],"name":"Commission","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"bidder","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"HighestBidIncreased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"LimitBuy","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"LimitSell","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"MarketBuy","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"MarketSell","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"bidder","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Refund","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"total","type":"uint256"}],"name":"Royalty","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Sale","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"anyoneCanMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"auctionFinalize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"auctions","outputs":[{"internalType":"address payable","name":"beneficiary","type":"address"},{"internalType":"uint256","name":"auctionEnd","type":"uint256"},{"internalType":"address payable","name":"highestBidder","type":"address"},{"internalType":"uint256","name":"highestBid","type":"uint256"},{"internalType":"bool","name":"open","type":"bool"},{"internalType":"uint256","name":"reserve","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenURI","type":"string"},{"internalType":"address","name":"to","type":"address"}],"name":"autoMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"bid_value","type":"uint256"}],"name":"bid","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"buy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"canAuction","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"canBid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"canBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"canFinalize","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canIMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"canSell","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"canWithdraw","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contract_owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"_closingTime","type":"uint256"},{"internalType":"address payable","name":"_beneficiary","type":"address"},{"internalType":"uint256","name":"_reservePrice","type":"uint256"}],"name":"createAuction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"creators","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"highestBid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"highestBidder","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"payment_token","outputs":[{"internalType":"contract EIP20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"address payable","name":"wallet","type":"address"}],"name":"sell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"sellBidPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"soldFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_admin","type":"address"},{"internalType":"uint256","name":"_commissionRate","type":"uint256"},{"internalType":"uint256","name":"_royaltiesCommissionRate","type":"uint256"},{"internalType":"bool","name":"_anyoneCanMint","type":"bool"},{"internalType":"contract EIP20","name":"_payment_token","type":"address"}],"name":"updateAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162004dec38038062004dec833981016040819052620000349162000496565b8683838382828160009080519060200190620000529291906200030a565b508051620000689060019060208401906200030a565b506200007a91506000905085620001a1565b620000a67f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a685620001a1565b600e805491151560ff1990921691909117905550506001600f5550601080546001600160a01b038089166001600160a01b03199283161790925560118054928a169290911691909117905560648511156200016d5760405162461bcd60e51b815260206004820152603860248201527f4552433732315375696b613a20436f6d6d697373696f6e20726174652068617360448201527f20746f206265206265747765656e203020616e64203130300000000000000000606482015260840160405180910390fd5b5050506013919091556014555050601280546001600160a01b0319166001600160a01b0392909216919091179055620005ad565b620001b88282620001e460201b6200296e1760201c565b6000828152600c60209081526040909120620001df91839062002978620001f4821b17901c565b505050565b620001f0828262000214565b5050565b60006200020b836001600160a01b038416620002b8565b90505b92915050565b6000828152600b602090815260408083206001600160a01b038516845290915290205460ff16620001f0576000828152600b602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620002743390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600081815260018301602052604081205462000301575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556200020e565b5060006200020e565b828054620003189062000570565b90600052602060002090601f0160209004810192826200033c576000855562000387565b82601f106200035757805160ff191683800117855562000387565b8280016001018555821562000387579182015b82811115620003875782518255916020019190600101906200036a565b506200039592915062000399565b5090565b5b808211156200039557600081556001016200039a565b6001600160a01b0381168114620003c657600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620003f157600080fd5b81516001600160401b03808211156200040e576200040e620003c9565b604051601f8301601f19908116603f01168101908282118183101715620004395762000439620003c9565b816040528381526020925086838588010111156200045657600080fd5b600091505b838210156200047a57858201830151818301840152908201906200045b565b838211156200048c5760008385830101525b9695505050505050565b600080600080600080600080610100898b031215620004b457600080fd5b8851620004c181620003b0565b60208a0151909850620004d481620003b0565b60408a0151909750620004e781620003b0565b60608a015160808b015160a08c015192985090965094506001600160401b03808211156200051457600080fd5b620005228c838d01620003df565b945060c08b01519150808211156200053957600080fd5b50620005488b828c01620003df565b92505060e089015180151581146200055f57600080fd5b809150509295985092959890939650565b600181811c908216806200058557607f821691505b60208210811415620005a757634e487b7160e01b600052602260045260246000fd5b50919050565b61482f80620005bd6000396000f3fe608060405234801561001057600080fd5b50600436106103785760003560e01c80639010d07c116101d3578063c87b56dd11610104578063dc16bd43116100a2578063e985e9c51161007c578063e985e9c514610879578063ee1b59e4146108b5578063fa184c49146108bd578063fbe85f06146108d057600080fd5b8063dc16bd4314610825578063e4e2bfe414610838578063e75722301461084b57600080fd5b8063d04c6983116100de578063d04c6983146107d7578063d5391393146107ea578063d547741f146107ff578063d96a094a1461081257600080fd5b8063c87b56dd14610788578063ca15c8731461079b578063cd53d08e146107ae57600080fd5b8063a36b146211610171578063b14c63c51161014b578063b14c63c51461072c578063b1cb48ef1461074f578063b2ecfad414610762578063b88d4fde1461077557600080fd5b8063a36b1462146106ec578063aa271e1a1461070c578063b13fbe961461071f57600080fd5b8063983b2d56116101ad578063983b2d56146106ab578063a1448194146106be578063a217fddf146106d1578063a22cb465146106d957600080fd5b80639010d07c1461067d57806391d148541461069057806395d89b41146106a357600080fd5b8063384f58eb116102ad578063571a26a01161024b5780636352211e116102255780636352211e1461063157806370a08231146106445780638832e6e31461065757806389f4c0b11461066a57600080fd5b8063571a26a014610576578063598647f81461060b57806361a09c971461061e57600080fd5b806342842e0e1161028757806342842e0e1461051157806342966c6814610524578063451df52e146105375780634f6ccce71461056357600080fd5b8063384f58eb146104d85780633ca88a2f146104eb57806340c10f19146104fe57600080fd5b806323b872dd1161031a5780632f2ff15d116102f45780632f2ff15d1461048c5780632f745c591461049f578063331c6587146104b257806336568abe146104c557600080fd5b806323b872dd14610443578063248a9ca3146104565780632e1a7d4d1461047957600080fd5b8063095ea7b311610356578063095ea7b3146103e5578063172b099d146103fa57806318160ddd146104285780631ac70f6f1461043057600080fd5b806301ffc9a71461037d57806306fdde03146103a5578063081812fc146103ba575b600080fd5b61039061038b366004613f50565b6108e3565b60405190151581526020015b60405180910390f35b6103ad6108f4565b60405161039c9190613fc5565b6103cd6103c8366004613fd8565b610986565b6040516001600160a01b03909116815260200161039c565b6103f86103f3366004614006565b610a13565b005b61041a610408366004613fd8565b60176020526000908152604090205481565b60405190815260200161039c565b60085461041a565b61039061043e366004613fd8565b610b29565b6103f8610451366004614032565b610b78565b61041a610464366004613fd8565b6000908152600b602052604090206001015490565b6103f8610487366004613fd8565b610baa565b6103f861049a366004614073565b610d59565b61041a6104ad366004614006565b610d7b565b6012546103cd906001600160a01b031681565b6103f86104d3366004614073565b610e11565b6011546103cd906001600160a01b031681565b61041a6104f9366004613fd8565b610e33565b6103f861050c366004614006565b610eb7565b6103f861051f366004614032565b610ee7565b6103f8610532366004613fd8565b610f02565b6103cd610545366004613fd8565b6000908152601960205260409020600201546001600160a01b031690565b61041a610571366004613fd8565b610f7c565b6105cb610584366004613fd8565b6019602052600090815260409020805460018201546002830154600384015460048501546005909501546001600160a01b0394851695939490921692909160ff9091169086565b604080516001600160a01b0397881681526020810196909652939095169284019290925260608301521515608082015260a081019190915260c00161039c565b6103f86106193660046140a3565b61100f565b6103f861062c366004614151565b6114cc565b6103cd61063f366004613fd8565b61152e565b61041a6106523660046141ac565b6115a5565b6103f86106653660046141e9565b61162c565b610390610678366004613fd8565b61165d565b6103cd61068b3660046140a3565b6116eb565b61039061069e366004614073565b61170a565b6103ad611735565b6103f86106b93660046141ac565b611744565b6103f86106cc366004614006565b611779565b61041a600081565b6103f86106e7366004614250565b6117a9565b61041a6106fa366004613fd8565b60166020526000908152604090205481565b61039061071a3660046141ac565b61186e565b600e546103909060ff1681565b61041a61073a366004613fd8565b60009081526019602052604090206003015490565b6103f861075d36600461427e565b611888565b610390610770366004613fd8565b611a5b565b6103f86107833660046142bd565b611a92565b6103ad610796366004613fd8565b611ac4565b61041a6107a9366004613fd8565b611acf565b6103cd6107bc366004613fd8565b6015602052600090815260409020546001600160a01b031681565b6103f86107e5366004614329565b611ae6565b61041a6000805160206147da83398151915281565b6103f861080d366004614073565b611c30565b6103f8610820366004613fd8565b611c3a565b6103f8610833366004613fd8565b6121c9565b610390610846366004613fd8565b61271e565b61085e610859366004613fd8565b612796565b6040805193845260208401929092529082015260600161039c565b610390610887366004614362565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610390612815565b6103f86108cb366004614390565b612832565b6103906108de366004613fd8565b6128d9565b60006108ee8261298d565b92915050565b606060008054610903906143ef565b80601f016020809104026020016040519081016040528092919081815260200182805461092f906143ef565b801561097c5780601f106109515761010080835404028352916020019161097c565b820191906000526020600020905b81548152906001019060200180831161095f57829003601f168201915b5050505050905090565b6000610991826129b2565b6109f75760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610a1e8261152e565b9050806001600160a01b0316836001600160a01b03161415610a8c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016109ee565b336001600160a01b0382161480610aa85750610aa88133610887565b610b1a5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109ee565b610b2483836129cf565b505050565b600033610b358361152e565b6001600160a01b0316148015610b5d575060008281526019602052604090206004015460ff16155b80156108ee5750506000908152601760205260409020541590565b610b83335b82612a3d565b610b9f5760405162461bcd60e51b81526004016109ee9061442a565b610b24838383612b27565b6002600f541415610bcd5760405162461bcd60e51b81526004016109ee9061447b565b6002600f55610bdb816128d9565b610c325760405162461bcd60e51b815260206004820152602260248201527f436f6e646974696f6e7320746f20776974686472617720617265206e6f74206d604482015261195d60f21b60648201526084016109ee565b60008181526019602052604090206003015415610d0657601254600082815260196020526040908190206002810154600390910154915163a9059cbb60e01b81526001600160a01b03918216600482015260248101929092529091169063a9059cbb90604401602060405180830381600087803b158015610cb257600080fd5b505af1158015610cc6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cea91906144b2565b610d065760405162461bcd60e51b81526004016109ee906144cf565b600090815260196020526040812080546001600160a01b0319908116825560018083018490556002830180549092169091556003820183905560048201805460ff19169055600590910191909155600f55565b610d638282612cd2565b6000828152600c60205260409020610b249082612978565b6000610d86836115a5565b8210610de85760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109ee565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610e1b8282612cf8565b6000828152600c60205260409020610b249082612d72565b60008181526019602052604081206004015460ff16158015610e62575060008281526017602052604090205415155b8015610e7b575060008281526017602052604090205415155b8015610e97575030610e8c83610986565b6001600160a01b0316145b15610eaf575060009081526017602052604090205490565b506000919050565b6060610ec1612815565b610edd5760405162461bcd60e51b81526004016109ee906144f9565b610b248383612d87565b610b2483838360405180602001604052806000815250611a92565b610f0b33610b7d565b610f705760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b60648201526084016109ee565b610f7981612daf565b50565b6000610f8760085490565b8210610fea5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016109ee565b60088281548110610ffd57610ffd614549565b90600052602060002001549050919050565b6002600f5414156110325760405162461bcd60e51b81526004016109ee9061447b565b6002600f55333b1561107a5760405162461bcd60e51b81526020600482015260116024820152704e6f20736372697074206b69646469657360781b60448201526064016109ee565b60008281526019602052604090206004015460ff166110db5760405162461bcd60e51b815260206004820152601760248201527f4e6f206f70656e65642061756374696f6e20666f756e6400000000000000000060448201526064016109ee565b306110e583610986565b6001600160a01b03161461113b5760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f7420636f6d706c657465207468652061756374696f6e000000000060448201526064016109ee565b6000828152601960205260409020600101544211156111955760405162461bcd60e51b815260206004820152601660248201527520bab1ba34b7b71030b63932b0b23c9032b73232b21760511b60448201526064016109ee565b60008281526019602052604090206003015481116111f55760405162461bcd60e51b815260206004820152601e60248201527f546865726520616c7265616479206973206120686967686572206269642e000060448201526064016109ee565b60006112008361152e565b9050336001600160a01b03821614156112795760405162461bcd60e51b815260206004820152603560248201527f4552433732315375696b613a20546865206f776e65722063616e6e6f742062696044820152746420686973206f776e20636f6c6c65637469626c6560581b60648201526084016109ee565b600083815260196020526040902060030154156113ac57601254600084815260196020526040908190206002810154600390910154915163a9059cbb60e01b81526001600160a01b03918216600482015260248101929092529091169063a9059cbb90604401602060405180830381600087803b1580156112f957600080fd5b505af115801561130d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133191906144b2565b61134d5760405162461bcd60e51b81526004016109ee906144cf565b600083815260196020908152604091829020600281015460039091015483516001600160a01b039092168252918101919091527fbb28353e4598c3b9199101a66e0989549b659a59a54d2c27fbb183f1932c8e6d910160405180910390a15b6000838152601960205260409081902060020180546001600160a01b0319163390811790915560125491516323b872dd60e01b81526001600160a01b0392909216916323b872dd91611404913090879060040161455f565b602060405180830381600087803b15801561141e57600080fd5b505af1158015611432573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145691906144b2565b6114725760405162461bcd60e51b81526004016109ee906144cf565b600083815260196020908152604091829020600301849055815184815290810185905233917fdafc4a123c6bb3b49dd38a0cba299808581a0126a37248a5f1102d5e5fa06337910160405180910390a250506001600f5550565b60606114d6612815565b6114f25760405162461bcd60e51b81526004016109ee906144f9565b60005b611503600d80546001019055565b50600d54611510816129b2565b6114f55761151e8382612d87565b6115288185612db8565b50505050565b6000818152600260205260408120546001600160a01b0316806108ee5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016109ee565b60006001600160a01b0382166116105760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016109ee565b506001600160a01b031660009081526003602052604090205490565b6060611636612815565b6116525760405162461bcd60e51b81526004016109ee906144f9565b611528848484612e43565b6000333b15801561167f575060008281526019602052604090206004015460ff165b801561169c57506000828152601960205260409020600101544211155b80156116c257506116ac8261152e565b6001600160a01b0316336001600160a01b031614155b80156116de5750306116d383610986565b6001600160a01b0316145b15610eaf57506001919050565b6000828152600c602052604081206117039083612e76565b9392505050565b6000918252600b602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060018054610903906143ef565b6000805160206147da83398151915261175d8133612e82565b6117756000805160206147da83398151915283610d59565b5050565b6060611783612815565b61179f5760405162461bcd60e51b81526004016109ee906144f9565b610b248383612ee6565b6001600160a01b0382163314156118025760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109ee565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60006108ee6000805160206147da8339815191528361170a565b600084815260176020526040902054156119165760405162461bcd60e51b815260206004820152604360248201527f4552433732315375696b613a205468652073656c6563746564204e465420697360448201527f206f70656e20666f722073616c652c2063616e6e6f742062652061756374696f6064820152621b995960ea1b608482015260a4016109ee565b60008481526019602052604090206004015460ff16156119955760405162461bcd60e51b815260206004820152603460248201527f4552433732315375696b613a205468652073656c6563746564204e465420616c6044820152733932b0b23c903430b99030b71030bab1ba34b7b760611b60648201526084016109ee565b3361199f8561152e565b6001600160a01b031614611a0b5760405162461bcd60e51b815260206004820152602d60248201527f4552433732315375696b613a204f6e6c79206f776e65722063616e206175637460448201526c696f6e2074686973206974656d60981b60648201526084016109ee565b600084815260196020526040902080546001600160a01b0319166001600160a01b0384161781556001808201859055600582018390556004909101805460ff191690911790556115283085610a13565b600033611a678361152e565b6001600160a01b03161480156108ee57505060009081526019602052604090206004015460ff161590565b611a9c3383612a3d565b611ab85760405162461bcd60e51b81526004016109ee9061442a565b61152884848484612f00565b60606108ee82612f33565b6000818152600c602052604081206108ee906130a2565b33611af08461152e565b6001600160a01b031614611b595760405162461bcd60e51b815260206004820152602a60248201527f4552433732315375696b613a204f6e6c79206f776e65722063616e2073656c6c6044820152692074686973206974656d60b01b60648201526084016109ee565b60008381526019602052604090206004015460ff1615611be15760405162461bcd60e51b815260206004820152603c60248201527f4552433732315375696b613a2043616e6e6f742073656c6c20616e206974656d60448201527f2077686963682068617320616e206163746976652061756374696f6e0000000060648201526084016109ee565b60008381526017602052604090208290558115610b2457611c023084610a13565b600083815260186020526040902080546001600160a01b0383166001600160a01b0319909116179055505050565b610e1b82826130ac565b6002600f541415611c5d5760405162461bcd60e51b81526004016109ee9061447b565b6002600f5560008181526019602052604090206004015460ff16158015611c91575060008181526017602052604090205415155b611cf25760405162461bcd60e51b815260206004820152602c60248201527f4552433732315375696b613a2054686520636f6c6c65637469626c652069732060448201526b6e6f7420666f722073616c6560a01b60648201526084016109ee565b6000611cfd8261152e565b9050336001600160a01b0382161415611d775760405162461bcd60e51b815260206004820152603660248201527f4552433732315375696b613a205468652073656c6c65722063616e6e6f742062604482015275757920686973206f776e20636f6c6c65637469626c6560501b60648201526084016109ee565b611dcf306323b872dd60e01b833386604051602401611d989392919061455f565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526130d2565b6013546000838152601760205260408120549091611dfa91606491611df4919061325d565b90613269565b60145460008581526017602052604081205492935091611e2091606491611df49161325d565b60008581526017602052604081205491925090611e49908390611e439086613275565b90613275565b601254600087815260186020526040908190205490516323b872dd60e01b81529293506001600160a01b03918216926323b872dd92611e91923392911690869060040161455f565b602060405180830381600087803b158015611eab57600080fd5b505af1158015611ebf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ee391906144b2565b611eff5760405162461bcd60e51b81526004016109ee906144cf565b8115611fb957601254600086815260156020526040908190205490516323b872dd60e01b81526001600160a01b03928316926323b872dd92611f4b92339290911690879060040161455f565b602060405180830381600087803b158015611f6557600080fd5b505af1158015611f79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f9d91906144b2565b611fb95760405162461bcd60e51b81526004016109ee906144cf565b8215612066576012546010546040516323b872dd60e01b81526001600160a01b03928316926323b872dd92611ff892339290911690889060040161455f565b602060405180830381600087803b15801561201257600080fd5b505af1158015612026573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061204a91906144b2565b6120665760405162461bcd60e51b81526004016109ee906144cf565b336001600160a01b0316846001600160a01b0316867f88863d5e20f64464b554931394e2e4b6f09c10015147215bf26b3ba5070acebe601760008a8152602001908152602001600020546040516120bf91815260200190565b60405180910390a4600085815260176020908152604091829020546013548351918252918101919091529081018490526001600160a01b0385169086907fef7a63d352d8b0f42e35d7f8bd277ba75ba2ff721a50eaad4c62f1ee6561d5eb9060600160405180910390a3600085815260176020908152604091829020546014548351918252918101919091529081018390526001600160a01b0385169086907f69c21e0288fa2ee397e158571d58b093897385aaa1ccb8deacd82fc0e17a08bd9060600160405180910390a3505050600091825250601760209081526040808320805460168452828520558390556018909152902080546001600160a01b03191690556001600f55565b6002600f5414156121ec5760405162461bcd60e51b81526004016109ee9061447b565b6002600f556121fa8161271e565b6122385760405162461bcd60e51b815260206004820152600f60248201526e43616e6e6f742066696e616c697a6560881b60448201526064016109ee565b6000818152601960205260409020600301541561266d57600081815260196020526040812060028101546013546003909201546001600160a01b03909116929161228991606491611df4919061325d565b601454600085815260196020526040812060030154929350916122b291606491611df49161325d565b600085815260196020526040812060030154919250906122d8908390611e439086613275565b6012546000878152601960205260409081902054905163a9059cbb60e01b81526001600160a01b03918216600482015260248101849052929350169063a9059cbb90604401602060405180830381600087803b15801561233757600080fd5b505af115801561234b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061236f91906144b2565b61238b5760405162461bcd60e51b81526004016109ee906144cf565b8115612442576012546000868152601560205260409081902054905163a9059cbb60e01b81526001600160a01b0391821660048201526024810185905291169063a9059cbb90604401602060405180830381600087803b1580156123ee57600080fd5b505af1158015612402573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061242691906144b2565b6124425760405162461bcd60e51b81526004016109ee906144cf565b82156124ec5760125460105460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810186905291169063a9059cbb90604401602060405180830381600087803b15801561249857600080fd5b505af11580156124ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124d091906144b2565b6124ec5760405162461bcd60e51b81526004016109ee906144cf565b600085815260196020908152604091829020805460039091015492519283526001600160a01b038781169391169188917f88863d5e20f64464b554931394e2e4b6f09c10015147215bf26b3ba5070acebe910160405180910390a460008581526019602090815260409182902080546003909101546014548451918252928101929092529181018490526001600160a01b039091169086907f69c21e0288fa2ee397e158571d58b093897385aaa1ccb8deacd82fc0e17a08bd9060600160405180910390a360008581526019602090815260409182902080546003909101546013548451918252928101929092529181018590526001600160a01b039091169086907fef7a63d352d8b0f42e35d7f8bd277ba75ba2ff721a50eaad4c62f1ee6561d5eb9060600160405180910390a360006126268661152e565b9050612649306323b872dd60e01b83888a604051602401611d989392919061455f565b50505060008381526019602090815260408083206003015460169092529091205550505b600081815260196020908152604091829020600281015460039091015483516001600160a01b039092168252918101919091527fdaec4582d5d9595688c8c98545fdd1c696d41c6aeaeb636737e84ed2f5c00eda910160405180910390a1600090815260196020526040812080546001600160a01b0319908116825560018083018490556002830180549092169091556003820183905560048201805460ff19169055600590910191909155600f55565b60008181526019602052604081206004015460ff16801561275057506000828152601960205260409020600101544210155b80156116de5750600082815260196020526040902060058101546003909101541015806116de5750600082815260196020526040902060030154610eaf57506001919050565b60008181526017602052604081205481908190156127c757505050600081815260176020526040812054908061280e565b600084815260196020526040902060030154156127f9575050506000818152601960205260408120600301548161280e565b50505060008181526016602052604081205481905b9193909250565b600e5460009060ff168061282d575061282d3361186e565b905090565b6011546001600160a01b0316331461288c5760405162461bcd60e51b815260206004820152601f60248201527f4f6e6c7920636f6e7472616374206f776e65722063616e20646f20746869730060448201526064016109ee565b601080546001600160a01b039687166001600160a01b031991821617909155601394909455601492909255600e805491151560ff1990921691909117905560128054919093169116179055565b60008181526019602052604081206004015460ff1680156116de57506000828152601960205260409020600101544210801590612926575060008281526019602052604090206003015415155b8015612948575060008281526019602052604090206005810154600390910154105b806116de57503061295883610986565b6001600160a01b031614610eaf57506001919050565b6117758282613281565b6000611703836001600160a01b038416613307565b60006001600160e01b03198216635a05180f60e01b14806108ee57506108ee82613356565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612a048261152e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612a48826129b2565b612aa95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109ee565b6000612ab48361152e565b9050806001600160a01b0316846001600160a01b03161480612aef5750836001600160a01b0316612ae484610986565b6001600160a01b0316145b80612b1f57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316612b3a8261152e565b6001600160a01b031614612ba25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016109ee565b6001600160a01b038216612c045760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109ee565b612c0f83838361337b565b612c1a6000826129cf565b6001600160a01b0383166000908152600360205260408120805460019290612c43908490614599565b90915550506001600160a01b0382166000908152600360205260408120805460019290612c719084906145b0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000828152600b6020526040902060010154612cee8133612e82565b610b248383613281565b6001600160a01b0381163314612d685760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016109ee565b6117758282613386565b6000611703836001600160a01b0384166133ed565b600081815260156020526040902080546001600160a01b0319163317905561177582826134e0565b610f798161361f565b612dc1826129b2565b612e245760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b60648201526084016109ee565b6000828152600a602090815260409091208251610b2492840190613e6b565b612e4d8383612d87565b612e5a600084848461365f565b610b245760405162461bcd60e51b81526004016109ee906145c8565b6000611703838361376c565b612e8c828261170a565b61177557612ea4816001600160a01b03166014613796565b612eaf836020613796565b604051602001612ec092919061461a565b60408051601f198184030181529082905262461bcd60e51b82526109ee91600401613fc5565b611775828260405180602001604052806000815250612e43565b612f0b848484612b27565b612f178484848461365f565b6115285760405162461bcd60e51b81526004016109ee906145c8565b6060612f3e826129b2565b612fa45760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b60648201526084016109ee565b6000828152600a602052604081208054612fbd906143ef565b80601f0160208091040260200160405190810160405280929190818152602001828054612fe9906143ef565b80156130365780601f1061300b57610100808354040283529160200191613036565b820191906000526020600020905b81548152906001019060200180831161301957829003601f168201915b50505050509050600061305460408051602081019091526000815290565b9050805160001415613067575092915050565b81511561309957808260405160200161308192919061468f565b60405160208183030381529060405292505050919050565b612b1f84613932565b60006108ee825490565b6000828152600b60205260409020600101546130c88133612e82565b610b248383613386565b6001600160a01b0382163b6131295760405162461bcd60e51b815260206004820181905260248201527f536166654552433732313a2063616c6c20746f206e6f6e2d636f6e747261637460448201526064016109ee565b600080836001600160a01b03168360405161314491906146be565b6000604051808303816000865af19150503d8060008114613181576040519150601f19603f3d011682016040523d82523d6000602084013e613186565b606091505b5091509150816131e25760405162461bcd60e51b815260206004820152602160248201527f536166654552433732313a206c6f772d6c6576656c2063616c6c206661696c656044820152601960fa1b60648201526084016109ee565b80511561152857808060200190518101906131fd91906144b2565b6115285760405162461bcd60e51b815260206004820152602b60248201527f536166654552433732313a204552433230206f7065726174696f6e206469642060448201526a1b9bdd081cdd58d8d9595960aa1b60648201526084016109ee565b600061170382846146da565b6000611703828461470f565b60006117038284614599565b61328b828261170a565b611775576000828152600b602090815260408083206001600160a01b03851684529091529020805460ff191660011790556132c33390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600081815260018301602052604081205461334e575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556108ee565b5060006108ee565b60006001600160e01b03198216637965db0b60e01b14806108ee57506108ee82613a09565b610b24838383613a2e565b613390828261170a565b15611775576000828152600b602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600081815260018301602052604081205480156134d6576000613411600183614599565b855490915060009061342590600190614599565b905081811461348a57600086600001828154811061344557613445614549565b906000526020600020015490508087600001848154811061346857613468614549565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061349b5761349b614723565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506108ee565b60009150506108ee565b6001600160a01b0382166135365760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109ee565b61353f816129b2565b1561358c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109ee565b6135986000838361337b565b6001600160a01b03821660009081526003602052604081208054600192906135c19084906145b0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b61362881613ae6565b6000818152600a602052604090208054613641906143ef565b159050610f79576000818152600a60205260408120610f7991613eef565b60006001600160a01b0384163b1561376157604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906136a3903390899088908890600401614739565b602060405180830381600087803b1580156136bd57600080fd5b505af19250505080156136ed575060408051601f3d908101601f191682019092526136ea91810190614776565b60015b613747573d80801561371b576040519150601f19603f3d011682016040523d82523d6000602084013e613720565b606091505b50805161373f5760405162461bcd60e51b81526004016109ee906145c8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612b1f565b506001949350505050565b600082600001828154811061378357613783614549565b9060005260206000200154905092915050565b606060006137a58360026146da565b6137b09060026145b0565b67ffffffffffffffff8111156137c8576137c86140c5565b6040519080825280601f01601f1916602001820160405280156137f2576020820181803683370190505b509050600360fc1b8160008151811061380d5761380d614549565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061383c5761383c614549565b60200101906001600160f81b031916908160001a90535060006138608460026146da565b61386b9060016145b0565b90505b60018111156138e3576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061389f5761389f614549565b1a60f81b8282815181106138b5576138b5614549565b60200101906001600160f81b031916908160001a90535060049490941c936138dc81614793565b905061386e565b5083156117035760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016109ee565b606061393d826129b2565b6139a15760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109ee565b60006139b860408051602081019091526000815290565b905060008151116139d85760405180602001604052806000815250611703565b806139e284613b8d565b6040516020016139f392919061468f565b6040516020818303038152906040529392505050565b60006001600160e01b0319821663780e9d6360e01b14806108ee57506108ee82613c8b565b6001600160a01b038316613a8957613a8481600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b613aac565b816001600160a01b0316836001600160a01b031614613aac57613aac8382613cdb565b6001600160a01b038216613ac357610b2481613d78565b826001600160a01b0316826001600160a01b031614610b2457610b248282613e27565b6000613af18261152e565b9050613aff8160008461337b565b613b0a6000836129cf565b6001600160a01b0381166000908152600360205260408120805460019290613b33908490614599565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b606081613bb15750506040805180820190915260018152600360fc1b602082015290565b8160005b8115613bdb5780613bc5816147aa565b9150613bd49050600a8361470f565b9150613bb5565b60008167ffffffffffffffff811115613bf657613bf66140c5565b6040519080825280601f01601f191660200182016040528015613c20576020820181803683370190505b5090505b8415612b1f57613c35600183614599565b9150613c42600a866147c5565b613c4d9060306145b0565b60f81b818381518110613c6257613c62614549565b60200101906001600160f81b031916908160001a905350613c84600a8661470f565b9450613c24565b60006001600160e01b031982166380ac58cd60e01b1480613cbc57506001600160e01b03198216635b5e139f60e01b145b806108ee57506301ffc9a760e01b6001600160e01b03198316146108ee565b60006001613ce8846115a5565b613cf29190614599565b600083815260076020526040902054909150808214613d45576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090613d8a90600190614599565b60008381526009602052604081205460088054939450909284908110613db257613db2614549565b906000526020600020015490508060088381548110613dd357613dd3614549565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480613e0b57613e0b614723565b6001900381819060005260206000200160009055905550505050565b6000613e32836115a5565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054613e77906143ef565b90600052602060002090601f016020900481019282613e995760008555613edf565b82601f10613eb257805160ff1916838001178555613edf565b82800160010185558215613edf579182015b82811115613edf578251825591602001919060010190613ec4565b50613eeb929150613f25565b5090565b508054613efb906143ef565b6000825580601f10613f0b575050565b601f016020900490600052602060002090810190610f7991905b5b80821115613eeb5760008155600101613f26565b6001600160e01b031981168114610f7957600080fd5b600060208284031215613f6257600080fd5b813561170381613f3a565b60005b83811015613f88578181015183820152602001613f70565b838111156115285750506000910152565b60008151808452613fb1816020860160208601613f6d565b601f01601f19169290920160200192915050565b6020815260006117036020830184613f99565b600060208284031215613fea57600080fd5b5035919050565b6001600160a01b0381168114610f7957600080fd5b6000806040838503121561401957600080fd5b823561402481613ff1565b946020939093013593505050565b60008060006060848603121561404757600080fd5b833561405281613ff1565b9250602084013561406281613ff1565b929592945050506040919091013590565b6000806040838503121561408657600080fd5b82359150602083013561409881613ff1565b809150509250929050565b600080604083850312156140b657600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156140f6576140f66140c5565b604051601f8501601f19908116603f0116810190828211818310171561411e5761411e6140c5565b8160405280935085815286868601111561413757600080fd5b858560208301376000602087830101525050509392505050565b6000806040838503121561416457600080fd5b823567ffffffffffffffff81111561417b57600080fd5b8301601f8101851361418c57600080fd5b61419b858235602084016140db565b925050602083013561409881613ff1565b6000602082840312156141be57600080fd5b813561170381613ff1565b600082601f8301126141da57600080fd5b611703838335602085016140db565b6000806000606084860312156141fe57600080fd5b833561420981613ff1565b925060208401359150604084013567ffffffffffffffff81111561422c57600080fd5b614238868287016141c9565b9150509250925092565b8015158114610f7957600080fd5b6000806040838503121561426357600080fd5b823561426e81613ff1565b9150602083013561409881614242565b6000806000806080858703121561429457600080fd5b843593506020850135925060408501356142ad81613ff1565b9396929550929360600135925050565b600080600080608085870312156142d357600080fd5b84356142de81613ff1565b935060208501356142ee81613ff1565b925060408501359150606085013567ffffffffffffffff81111561431157600080fd5b61431d878288016141c9565b91505092959194509250565b60008060006060848603121561433e57600080fd5b8335925060208401359150604084013561435781613ff1565b809150509250925092565b6000806040838503121561437557600080fd5b823561438081613ff1565b9150602083013561409881613ff1565b600080600080600060a086880312156143a857600080fd5b85356143b381613ff1565b9450602086013593506040860135925060608601356143d181614242565b915060808601356143e181613ff1565b809150509295509295909350565b600181811c9082168061440357607f821691505b6020821081141561442457634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6000602082840312156144c457600080fd5b815161170381614242565b60208082526010908201526f2a3930b739b332b9103330b4b632b21760811b604082015260600190565b60208082526030908201527f4d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766560408201526f20746865204d696e74657220726f6c6560801b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b039384168152919092166020820152604081019190915260600190565b634e487b7160e01b600052601160045260246000fd5b6000828210156145ab576145ab614583565b500390565b600082198211156145c3576145c3614583565b500190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351614652816017850160208801613f6d565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351614683816028840160208801613f6d565b01602801949350505050565b600083516146a1818460208801613f6d565b8351908301906146b5818360208801613f6d565b01949350505050565b600082516146d0818460208701613f6d565b9190910192915050565b60008160001904831182151516156146f4576146f4614583565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261471e5761471e6146f9565b500490565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061476c90830184613f99565b9695505050505050565b60006020828403121561478857600080fd5b815161170381613f3a565b6000816147a2576147a2614583565b506000190190565b60006000198214156147be576147be614583565b5060010190565b6000826147d4576147d46146f9565b50069056fe9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a264697066735822122035f4cd0367d6bddd876f7a567376e285320c7f53c5939420900cd6f749ba976864736f6c634300080900330000000000000000000000006d969cea201e427d2875724fd4e8044833fbc7f40000000000000000000000006618a18f5fc81bb36871f71a7c23b4bf93622d790000000000000000000000006618a18f5fc81bb36871f71a7c23b4bf93622d7900000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000f426c6f636b54756e65732052415245000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034254520000000000000000000000000000000000000000000000000000000000

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

0000000000000000000000006d969cea201e427d2875724fd4e8044833fbc7f40000000000000000000000006618a18f5fc81bb36871f71a7c23b4bf93622d790000000000000000000000006618a18f5fc81bb36871f71a7c23b4bf93622d7900000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000f426c6f636b54756e65732052415245000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034254520000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _payment_token (address): 0x6d969cea201e427d2875724fd4e8044833fbc7f4
Arg [1] : _owner (address): 0x6618a18f5fc81bb36871f71a7c23b4bf93622d79
Arg [2] : _admin (address): 0x6618a18f5fc81bb36871f71a7c23b4bf93622d79
Arg [3] : _commissionRate (uint256): 5
Arg [4] : _royaltiesCommissionRate (uint256): 5
Arg [5] : name (string): BlockTunes RARE
Arg [6] : symbol (string): BTR
Arg [7] : _anyoneCanMint (bool): True

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000006d969cea201e427d2875724fd4e8044833fbc7f4
Arg [1] : 0000000000000000000000006618a18f5fc81bb36871f71a7c23b4bf93622d79
Arg [2] : 0000000000000000000000006618a18f5fc81bb36871f71a7c23b4bf93622d79
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [9] : 426c6f636b54756e657320524152450000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [11] : 4254520000000000000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

87940:16510:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74649:237;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;74649:237:0;;;;;;;;23766:100;;;:::i;:::-;;;;;;;:::i;25325:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;25325:221:0;1528:203:1;24848:411:0;;;;;;:::i;:::-;;:::i;:::-;;88798:47;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;2338:25:1;;;2326:2;2311:18;88798:47:0;2192:177:1;37274:113:0;37362:10;:17;37274:113;;94614:175;;;;;;:::i;:::-;;:::i;26215:339::-;;;;;;:::i;:::-;;:::i;52992:123::-;;;;;;:::i;:::-;53058:7;53085:12;;;:6;:12;;;;;:22;;;;52992:123;98986:458;;;;;;:::i;:::-;;:::i;70356:196::-;;;;;;:::i;:::-;;:::i;36942:256::-;;;;;;:::i;:::-;;:::i;88275:26::-;;;;;-1:-1:-1;;;;;88275:26:0;;;70941:205;;;;;;:::i;:::-;;:::i;88193:29::-;;;;;-1:-1:-1;;;;;88193:29:0;;;92457:301;;;;;;:::i;:::-;;:::i;73605:98::-;;;;;;:::i;:::-;;:::i;26625:185::-;;;;;;:::i;:::-;;:::i;44935:245::-;;;;;;:::i;:::-;;:::i;102179:135::-;;;;;;:::i;:::-;102240:15;102275:17;;;:8;:17;;;;;:31;;;-1:-1:-1;;;;;102275:31:0;;102179:135;37464:233;;;;;;:::i;:::-;;:::i;89862:43::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;89862:43:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4337:15:1;;;4319:34;;4384:2;4369:18;;4362:34;;;;4432:15;;;;4412:18;;;4405:43;;;;4479:2;4464:18;;4457:34;4535:14;4528:22;4522:3;4507:19;;4500:51;4299:3;4567:19;;4560:35;;;;4268:3;4253:19;89862:43:0;3968:633:1;96402:1771:0;;;;;;:::i;:::-;;:::i;73308:289::-;;;;;;:::i;:::-;;:::i;23460:239::-;;;;;;:::i;:::-;;:::i;23190:208::-;;;;;;:::i;:::-;;:::i;73950:133::-;;;;;;:::i;:::-;;:::i;95602:405::-;;;;;;:::i;:::-;;:::i;69811:145::-;;;;;;:::i;:::-;;:::i;51877:139::-;;;;;;:::i;:::-;;:::i;23935:104::-;;;:::i;74894:115::-;;;;;;:::i;:::-;;:::i;73711:106::-;;;;;;:::i;:::-;;:::i;50968:49::-;;51013:4;50968:49;;25618:295;;;;;;:::i;:::-;;:::i;88636:42::-;;;;;;:::i;:::-;;;;;;;;;;;;;;73825:117;;;;;;:::i;:::-;;:::i;73017:25::-;;;;;;;;;102322:121;;;;;;:::i;:::-;102380:7;102407:17;;;:8;:17;;;;;:28;;;;102322:121;94851:743;;;;;;:::i;:::-;;:::i;91074:144::-;;;;;;:::i;:::-;;:::i;26881:328::-;;;;;;:::i;:::-;;:::i;74445:196::-;;;;;;:::i;:::-;;:::i;70130:134::-;;;;;;:::i;:::-;;:::i;88543:43::-;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;88543:43:0;;;91264:744;;;;;;:::i;:::-;;:::i;72901:62::-;;-1:-1:-1;;;;;;;;;;;72901:62:0;;70645:201;;;;;;:::i;:::-;;:::i;92785:1821::-;;;;;;:::i;:::-;;:::i;99959:2184::-;;;;;;:::i;:::-;;:::i;99452:428::-;;;;;;:::i;:::-;;:::i;92150:299::-;;;;;;:::i;:::-;;:::i;:::-;;;;9725:25:1;;;9781:2;9766:18;;9759:34;;;;9809:18;;;9802:34;9713:2;9698:18;92150:299:0;9523:319:1;25984:164:0;;;;;;:::i;:::-;-1:-1:-1;;;;;26105:25:0;;;26081:4;26105:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;25984:164;75017:110;;;:::i;103991:454::-;;;;;;:::i;:::-;;:::i;98380:540::-;;;;;;:::i;:::-;;:::i;74649:237::-;74813:4;74842:36;74866:11;74842:23;:36::i;:::-;74835:43;74649:237;-1:-1:-1;;74649:237:0:o;23766:100::-;23820:13;23853:5;23846:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23766:100;:::o;25325:221::-;25401:7;25429:16;25437:7;25429;:16::i;:::-;25421:73;;;;-1:-1:-1;;;25421:73:0;;11515:2:1;25421:73:0;;;11497:21:1;11554:2;11534:18;;;11527:30;11593:34;11573:18;;;11566:62;-1:-1:-1;;;11644:18:1;;;11637:42;11696:19;;25421:73:0;;;;;;;;;-1:-1:-1;25514:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;25514:24:0;;25325:221::o;24848:411::-;24929:13;24945:23;24960:7;24945:14;:23::i;:::-;24929:39;;24993:5;-1:-1:-1;;;;;24987:11:0;:2;-1:-1:-1;;;;;24987:11:0;;;24979:57;;;;-1:-1:-1;;;24979:57:0;;11928:2:1;24979:57:0;;;11910:21:1;11967:2;11947:18;;;11940:30;12006:34;11986:18;;;11979:62;-1:-1:-1;;;12057:18:1;;;12050:31;12098:19;;24979:57:0;11726:397:1;24979:57:0;18613:10;-1:-1:-1;;;;;25071:21:0;;;;:62;;-1:-1:-1;25096:37:0;25113:5;18613:10;25984:164;:::i;25096:37::-;25049:168;;;;-1:-1:-1;;;25049:168:0;;12330:2:1;25049:168:0;;;12312:21:1;12369:2;12349:18;;;12342:30;12408:34;12388:18;;;12381:62;12479:26;12459:18;;;12452:54;12523:19;;25049:168:0;12128:420:1;25049:168:0;25230:21;25239:2;25243:7;25230:8;:21::i;:::-;24918:341;24848:411;;:::o;94614:175::-;94672:4;94715:10;94697:16;94705:7;94697;:16::i;:::-;-1:-1:-1;;;;;94697:28:0;;:55;;;;-1:-1:-1;94730:17:0;;;;:8;:17;;;;;:22;;;;;94729:23;94697:55;:83;;;;-1:-1:-1;;94756:21:0;;;;:12;:21;;;;;;:24;;94614:175::o;26215:339::-;26410:41;18613:10;26429:12;26443:7;26410:18;:41::i;:::-;26402:103;;;;-1:-1:-1;;;26402:103:0;;;;;;;:::i;:::-;26518:28;26528:4;26534:2;26538:7;26518:9;:28::i;98986:458::-;77059:1;77657:7;;:19;;77649:63;;;;-1:-1:-1;;;77649:63:0;;;;;;;:::i;:::-;77059:1;77790:7;:18;99062:20:::1;99074:7:::0;99062:11:::1;:20::i;:::-;99054:67;;;::::0;-1:-1:-1;;;99054:67:0;;13533:2:1;99054:67:0::1;::::0;::::1;13515:21:1::0;13572:2;13552:18;;;13545:30;13611:34;13591:18;;;13584:62;-1:-1:-1;;;13662:18:1;;;13655:32;13704:19;;99054:67:0::1;13331:398:1::0;99054:67:0::1;99221:1;99190:17:::0;;;:8:::1;:17;::::0;;;;:28:::1;;::::0;:32;99186:179:::1;;99247:13;::::0;::::1;99270:17:::0;;;:8:::1;:17;::::0;;;;;;:31:::1;::::0;::::1;::::0;99303:28:::1;::::0;;::::1;::::0;99247:85;;-1:-1:-1;;;99247:85:0;;-1:-1:-1;;;;;99270:31:0;;::::1;99247:85;::::0;::::1;13916:51:1::0;13983:18;;;13976:34;;;;99247:13:0;;::::1;::::0;:22:::1;::::0;13889:18:1;;99247:85:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;99239:114;;;;-1:-1:-1::0;;;99239:114:0::1;;;;;;;:::i;:::-;99417:17;::::0;;;:8:::1;:17;::::0;;;;99410:24;;-1:-1:-1;;;;;;99410:24:0;;::::1;::::0;;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;-1:-1:-1;;99410:24:0::1;::::0;;::::1;::::0;;::::1;::::0;;;;77969:7;:22;98986:458::o;70356:196::-;70472:30;70488:4;70494:7;70472:15;:30::i;:::-;70513:18;;;;:12;:18;;;;;:31;;70536:7;70513:22;:31::i;36942:256::-;37039:7;37075:23;37092:5;37075:16;:23::i;:::-;37067:5;:31;37059:87;;;;-1:-1:-1;;;37059:87:0;;14818:2:1;37059:87:0;;;14800:21:1;14857:2;14837:18;;;14830:30;14896:34;14876:18;;;14869:62;-1:-1:-1;;;14947:18:1;;;14940:41;14998:19;;37059:87:0;14616:407:1;37059:87:0;-1:-1:-1;;;;;;37164:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;36942:256::o;70941:205::-;71060:33;71079:4;71085:7;71060:18;:33::i;:::-;71104:18;;;;:12;:18;;;;;:34;;71130:7;71104:25;:34::i;92457:301::-;92511:7;92536:17;;;:8;:17;;;;;:22;;;;;92535:23;:50;;;;-1:-1:-1;92584:1:0;92562:21;;;:12;:21;;;;;;:23;;92535:50;:77;;;;-1:-1:-1;92611:1:0;92589:21;;;:12;:21;;;;;;:23;;92535:77;:118;;;;-1:-1:-1;92648:4:0;92616:20;92628:7;92616:11;:20::i;:::-;-1:-1:-1;;;;;92616:37:0;;92535:118;92531:220;;;-1:-1:-1;92677:21:0;;;;:12;:21;;;;;;;92457:301::o;92531:220::-;-1:-1:-1;92738:1:0;;92457:301;-1:-1:-1;92457:301:0:o;73605:98::-;75239:21;75293:10;:8;:10::i;:::-;75271:108;;;;-1:-1:-1;;;75271:108:0;;;;;;;:::i;:::-;73677:18:::1;73683:2;73687:7;73677:5;:18::i;26625:185::-:0;26763:39;26780:4;26786:2;26790:7;26763:39;;;;;;;;;;;;:16;:39::i;44935:245::-;45053:41;18613:10;45072:12;18533:98;45053:41;45045:102;;;;-1:-1:-1;;;45045:102:0;;15647:2:1;45045:102:0;;;15629:21:1;15686:2;15666:18;;;15659:30;15725:34;15705:18;;;15698:62;-1:-1:-1;;;15776:18:1;;;15769:46;15832:19;;45045:102:0;15445:412:1;45045:102:0;45158:14;45164:7;45158:5;:14::i;:::-;44935:245;:::o;37464:233::-;37539:7;37575:30;37362:10;:17;;37274:113;37575:30;37567:5;:38;37559:95;;;;-1:-1:-1;;;37559:95:0;;16064:2:1;37559:95:0;;;16046:21:1;16103:2;16083:18;;;16076:30;16142:34;16122:18;;;16115:62;-1:-1:-1;;;16193:18:1;;;16186:42;16245:19;;37559:95:0;15862:408:1;37559:95:0;37672:10;37683:5;37672:17;;;;;;;;:::i;:::-;;;;;;;;;37665:24;;37464:233;;;:::o;96402:1771::-;77059:1;77657:7;;:19;;77649:63;;;;-1:-1:-1;;;77649:63:0;;;;;;;:::i;:::-;77059:1;77790:7;:18;96586:10:::1;10985:20:::0;11033:8;96577:54:::1;;;::::0;-1:-1:-1;;;96577:54:0;;16609:2:1;96577:54:0::1;::::0;::::1;16591:21:1::0;16648:2;16628:18;;;16621:30;-1:-1:-1;;;16667:18:1;;;16660:47;16724:18;;96577:54:0::1;16407:341:1::0;96577:54:0::1;96689:17;::::0;;;:8:::1;:17;::::0;;;;:22:::1;;::::0;::::1;;96681:58;;;::::0;-1:-1:-1;;;96681:58:0;;16955:2:1;96681:58:0::1;::::0;::::1;16937:21:1::0;16994:2;16974:18;;;16967:30;17033:25;17013:18;;;17006:53;17076:18;;96681:58:0::1;16753:347:1::0;96681:58:0::1;96821:4;96789:20;96801:7:::0;96789:11:::1;:20::i;:::-;-1:-1:-1::0;;;;;96789:37:0::1;;96781:77;;;::::0;-1:-1:-1;;;96781:77:0;;17307:2:1;96781:77:0::1;::::0;::::1;17289:21:1::0;17346:2;17326:18;;;17319:30;17385:29;17365:18;;;17358:57;17432:18;;96781:77:0::1;17105:351:1::0;96781:77:0::1;96983:17;::::0;;;:8:::1;:17;::::0;;;;:28:::1;;::::0;96964:15:::1;:47;;96942:119;;;::::0;-1:-1:-1;;;96942:119:0;;17663:2:1;96942:119:0::1;::::0;::::1;17645:21:1::0;17702:2;17682:18;;;17675:30;-1:-1:-1;;;17721:18:1;;;17714:52;17783:18;;96942:119:0::1;17461:346:1::0;96942:119:0::1;97179:17;::::0;;;:8:::1;:17;::::0;;;;:28:::1;;::::0;97167:40;::::1;97145:120;;;::::0;-1:-1:-1;;;97145:120:0;;18014:2:1;97145:120:0::1;::::0;::::1;17996:21:1::0;18053:2;18033:18;;;18026:30;18092:32;18072:18;;;18065:60;18142:18;;97145:120:0::1;17812:354:1::0;97145:120:0::1;97278:13;97294:16;97302:7;97294;:16::i;:::-;97278:32:::0;-1:-1:-1;97329:10:0::1;-1:-1:-1::0;;;;;97329:17:0;::::1;;;97321:83;;;::::0;-1:-1:-1;;;97321:83:0;;18373:2:1;97321:83:0::1;::::0;::::1;18355:21:1::0;18412:2;18392:18;;;18385:30;18451:34;18431:18;;;18424:62;-1:-1:-1;;;18502:18:1;;;18495:51;18563:19;;97321:83:0::1;18171:417:1::0;97321:83:0::1;97519:1;97490:17:::0;;;:8:::1;:17;::::0;;;;:28:::1;;::::0;:30;97486:266:::1;;97545:13;::::0;::::1;97568:17:::0;;;:8:::1;:17;::::0;;;;;;:31:::1;::::0;::::1;::::0;97601:28:::1;::::0;;::::1;::::0;97545:85;;-1:-1:-1;;;97545:85:0;;-1:-1:-1;;;;;97568:31:0;;::::1;97545:85;::::0;::::1;13916:51:1::0;13983:18;;;13976:34;;;;97545:13:0;;::::1;::::0;:22:::1;::::0;13889:18:1;;97545:85:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;97537:114;;;;-1:-1:-1::0;;;97537:114:0::1;;;;;;;:::i;:::-;97678:17;::::0;;;:8:::1;:17;::::0;;;;;;;;:31:::1;::::0;::::1;::::0;97711:28:::1;::::0;;::::1;::::0;97671:69;;-1:-1:-1;;;;;97678:31:0;;::::1;13916:51:1::0;;13983:18;;;13976:34;;;;97671:69:0::1;::::0;13889:18:1;97671:69:0::1;;;;;;;97486:266;97799:17;::::0;;;:8:::1;:17;::::0;;;;;;:31:::1;;:53:::0;;-1:-1:-1;;;;;;97799:53:0::1;97841:10;97799:53:::0;;::::1;::::0;;;97913:13:::1;::::0;:64;;-1:-1:-1;;;97913:64:0;;-1:-1:-1;;;;;97913:13:0;;;::::1;::::0;:26:::1;::::0;:64:::1;::::0;97960:4:::1;::::0;97967:9;;97913:64:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;97905:93;;;;-1:-1:-1::0;;;97905:93:0::1;;;;;;;:::i;:::-;98054:17;::::0;;;:8:::1;:17;::::0;;;;;;;;:28:::1;;:40:::0;;;98112:51;;19147:25:1;;;19188:18;;;19181:34;;;98132:10:0::1;::::0;98112:51:::1;::::0;19120:18:1;98112:51:0::1;;;;;;;-1:-1:-1::0;;77015:1:0;77969:7;:22;-1:-1:-1;96402:1771:0:o;73308:289::-;75239:21;75293:10;:8;:10::i;:::-;75271:108;;;;-1:-1:-1;;;75271:108:0;;;;;;;:::i;:::-;73392:7:::1;73410:118;73426:27;:15;72357:19:::0;;72375:1;72357:19;;;72268:127;73426:27:::1;-1:-1:-1::0;73471:15:0::1;72238:14:::0;73515:11:::1;72238:14:::0;73515:7:::1;:11::i;:::-;73410:118;;73538:13;73544:2;73548;73538:5;:13::i;:::-;73562:27;73575:2;73579:9;73562:12;:27::i;:::-;73381:216;75228:171:::0;73308:289;;:::o;23460:239::-;23532:7;23568:16;;;:7;:16;;;;;;-1:-1:-1;;;;;23568:16:0;23603:19;23595:73;;;;-1:-1:-1;;;23595:73:0;;19428:2:1;23595:73:0;;;19410:21:1;19467:2;19447:18;;;19440:30;19506:34;19486:18;;;19479:62;-1:-1:-1;;;19557:18:1;;;19550:39;19606:19;;23595:73:0;19226:405:1;23190:208:0;23262:7;-1:-1:-1;;;;;23290:19:0;;23282:74;;;;-1:-1:-1;;;23282:74:0;;19838:2:1;23282:74:0;;;19820:21:1;19877:2;19857:18;;;19850:30;19916:34;19896:18;;;19889:62;-1:-1:-1;;;19967:18:1;;;19960:40;20017:19;;23282:74:0;19636:406:1;23282:74:0;-1:-1:-1;;;;;;23374:16:0;;;;;:9;:16;;;;;;;23190:208::o;73950:133::-;75239:21;75293:10;:8;:10::i;:::-;75271:108;;;;-1:-1:-1;;;75271:108:0;;;;;;;:::i;:::-;74046:29:::1;74056:2;74060:7;74069:5;74046:9;:29::i;95602:405::-:0;95656:4;95678:10;10985:20;11033:8;;;95677:63;;-1:-1:-1;95718:17:0;;;;:8;:17;;;;;:22;;;;;95677:63;:127;;;;-1:-1:-1;95776:17:0;;;;:8;:17;;;;;:28;;;95757:15;:47;;95677:127;:174;;;;;95835:16;95843:7;95835;:16::i;:::-;-1:-1:-1;;;;;95821:30:0;:10;-1:-1:-1;;;;;95821:30:0;;;95677:174;:228;;;;-1:-1:-1;95900:4:0;95868:20;95880:7;95868:11;:20::i;:::-;-1:-1:-1;;;;;95868:37:0;;95677:228;95673:327;;;-1:-1:-1;95939:4:0;;95602:405;-1:-1:-1;95602:405:0:o;69811:145::-;69893:7;69920:18;;;:12;:18;;;;;:28;;69942:5;69920:21;:28::i;:::-;69913:35;69811:145;-1:-1:-1;;;69811:145:0:o;51877:139::-;51955:4;51979:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;51979:29:0;;;;;;;;;;;;;;;51877:139::o;23935:104::-;23991:13;24024:7;24017:14;;;;;:::i;74894:115::-;-1:-1:-1;;;;;;;;;;;51459:30:0;72939:24;18613:10;51459;:30::i;:::-;74970:31:::1;-1:-1:-1::0;;;;;;;;;;;74993:7:0::1;74970:9;:31::i;:::-;74894:115:::0;;:::o;73711:106::-;75239:21;75293:10;:8;:10::i;:::-;75271:108;;;;-1:-1:-1;;;75271:108:0;;;;;;;:::i;:::-;73787:22:::1;73797:2;73801:7;73787:9;:22::i;25618:295::-:0;-1:-1:-1;;;;;25721:24:0;;18613:10;25721:24;;25713:62;;;;-1:-1:-1;;;25713:62:0;;20249:2:1;25713:62:0;;;20231:21:1;20288:2;20268:18;;;20261:30;20327:27;20307:18;;;20300:55;20372:18;;25713:62:0;20047:349:1;25713:62:0;18613:10;25788:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;25788:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;25788:53:0;;;;;;;;;;25857:48;;540:41:1;;;25788:42:0;;18613:10;25857:48;;513:18:1;25857:48:0;;;;;;;25618:295;;:::o;73825:117::-;73881:4;73905:29;-1:-1:-1;;;;;;;;;;;73926:7:0;73905;:29::i;94851:743::-;94991:21;;;;:12;:21;;;;;;:24;94983:104;;;;-1:-1:-1;;;94983:104:0;;20603:2:1;94983:104:0;;;20585:21:1;20642:2;20622:18;;;20615:30;20681:34;20661:18;;;20654:62;20752:34;20732:18;;;20725:62;-1:-1:-1;;;20803:19:1;;;20796:34;20847:19;;94983:104:0;20401:471:1;94983:104:0;95107:17;;;;:8;:17;;;;;:22;;;;;95106:23;95098:88;;;;-1:-1:-1;;;95098:88:0;;21079:2:1;95098:88:0;;;21061:21:1;21118:2;21098:18;;;21091:30;21157:34;21137:18;;;21130:62;-1:-1:-1;;;21208:18:1;;;21201:50;21268:19;;95098:88:0;20877:416:1;95098:88:0;95223:10;95205:16;95213:7;95205;:16::i;:::-;-1:-1:-1;;;;;95205:28:0;;95197:86;;;;-1:-1:-1;;;95197:86:0;;21500:2:1;95197:86:0;;;21482:21:1;21539:2;21519:18;;;21512:30;21578:34;21558:18;;;21551:62;-1:-1:-1;;;21629:18:1;;;21622:43;21682:19;;95197:86:0;21298:409:1;95197:86:0;95296:17;;;;:8;:17;;;;;:44;;-1:-1:-1;;;;;;95296:44:0;-1:-1:-1;;;;;95296:44:0;;;;;-1:-1:-1;95351:28:0;;;:43;;;95405:25;;;:41;;;95457:22;;;;:29;;-1:-1:-1;;95457:29:0;;;;;;95553:31;95569:4;95296:17;95553:7;:31::i;91074:144::-;91129:4;91172:10;91154:16;91162:7;91154;:16::i;:::-;-1:-1:-1;;;;;91154:28:0;;:55;;;;-1:-1:-1;;91187:17:0;;;;:8;:17;;;;;:22;;;;;91186:23;;91074:144::o;26881:328::-;27056:41;18613:10;27089:7;27056:18;:41::i;:::-;27048:103;;;;-1:-1:-1;;;27048:103:0;;;;;;;:::i;:::-;27162:39;27176:4;27182:2;27186:7;27195:5;27162:13;:39::i;74445:196::-;74572:13;74610:23;74625:7;74610:14;:23::i;70130:134::-;70202:7;70229:18;;;:12;:18;;;;;:27;;:25;:27::i;91264:744::-;91402:10;91384:16;91392:7;91384;:16::i;:::-;-1:-1:-1;;;;;91384:28:0;;91376:83;;;;-1:-1:-1;;;91376:83:0;;21914:2:1;91376:83:0;;;21896:21:1;21953:2;21933:18;;;21926:30;21992:34;21972:18;;;21965:62;-1:-1:-1;;;22043:18:1;;;22036:40;22093:19;;91376:83:0;21712:406:1;91376:83:0;91536:17;;;;:8;:17;;;;;:22;;;;;91535:23;91527:96;;;;-1:-1:-1;;;91527:96:0;;22325:2:1;91527:96:0;;;22307:21:1;22364:2;22344:18;;;22337:30;22403:34;22383:18;;;22376:62;22474:30;22454:18;;;22447:58;22522:19;;91527:96:0;22123:424:1;91527:96:0;91673:21;;;;:12;:21;;;;;:29;;;91768:7;;91764:235;;91852:31;91868:4;91875:7;91852;:31::i;:::-;91947:17;;;;:8;:17;;;;;:26;;-1:-1:-1;;;;;91947:26:0;;-1:-1:-1;;;;;;91947:26:0;;;;;;91264:744;;;:::o;70645:201::-;70762:31;70779:4;70785:7;70762:16;:31::i;92785:1821::-;77059:1;77657:7;;:19;;77649:63;;;;-1:-1:-1;;;77649:63:0;;;;;;;:::i;:::-;77059:1;77790:7;:18;92880:17:::1;::::0;;;:8:::1;:17;::::0;;;;:22:::1;;::::0;::::1;;92879:23;:50:::0;::::1;;;-1:-1:-1::0;92928:1:0::1;92906:21:::0;;;:12:::1;:21;::::0;;;;;:23;;92879:50:::1;92871:107;;;::::0;-1:-1:-1;;;92871:107:0;;22754:2:1;92871:107:0::1;::::0;::::1;22736:21:1::0;22793:2;22773:18;;;22766:30;22832:34;22812:18;;;22805:62;-1:-1:-1;;;22883:18:1;;;22876:42;22935:19;;92871:107:0::1;22552:408:1::0;92871:107:0::1;93022:13;93038:16;93046:7;93038;:16::i;:::-;93022:32:::0;-1:-1:-1;93075:10:0::1;-1:-1:-1::0;;;;;93075:17:0;::::1;;;93067:84;;;::::0;-1:-1:-1;;;93067:84:0;;23167:2:1;93067:84:0::1;::::0;::::1;23149:21:1::0;23206:2;23186:18;;;23179:30;23245:34;23225:18;;;23218:62;-1:-1:-1;;;23296:18:1;;;23289:52;23358:19;;93067:84:0::1;22965:418:1::0;93067:84:0::1;93276:104;93295:4;93324:26;;;93352:5;93359:10;93371:7;93301:78;;;;;;;;;;:::i;:::-;;::::0;;-1:-1:-1;;93301:78:0;;::::1;::::0;;;;;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;93301:78:0::1;-1:-1:-1::0;;;;;;93301:78:0;;::::1;::::0;;;::::1;::::0;;;93276:18:::1;:104::i;:::-;93472:14;::::0;93423:20:::1;93446:21:::0;;;:12:::1;:21;::::0;;;;;93423:20;;93446:50:::1;::::0;93492:3:::1;::::0;93446:41:::1;::::0;:21;:25:::1;:41::i;:::-;:45:::0;::::1;:50::i;:::-;93558:23;::::0;93507:22:::1;93532:21:::0;;;:12:::1;:21;::::0;;;;;93423:73;;-1:-1:-1;93507:22:0;93532:59:::1;::::0;93587:3:::1;::::0;93532:50:::1;::::0;:25:::1;:50::i;:59::-;93602:20;93625:21:::0;;;:12:::1;:21;::::0;;;;;93507:84;;-1:-1:-1;93602:20:0;93625:59:::1;::::0;93507:84;;93625:39:::1;::::0;93651:12;93625:25:::1;:39::i;:::-;:43:::0;::::1;:59::i;:::-;93726:13;::::0;::::1;93765:17:::0;;;:8:::1;:17;::::0;;;;;;;93726:71;;-1:-1:-1;;;93726:71:0;;93602:82;;-1:-1:-1;;;;;;93726:13:0;;::::1;::::0;:26:::1;::::0;:71:::1;::::0;93753:10:::1;::::0;93765:17;::::1;::::0;93602:82;;93726:71:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;93718:100;;;;-1:-1:-1::0;;;93718:100:0::1;;;;;;;:::i;:::-;93858:16:::0;;93854:151:::1;;93899:13;::::0;::::1;93938:17:::0;;;:8:::1;:17;::::0;;;;;;;93899:73;;-1:-1:-1;;;93899:73:0;;-1:-1:-1;;;;;93899:13:0;;::::1;::::0;:26:::1;::::0;:73:::1;::::0;93926:10:::1;::::0;93938:17;;::::1;::::0;93957:14;;93899:73:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;93891:102;;;;-1:-1:-1::0;;;93891:102:0::1;;;;;;;:::i;:::-;94042:14:::0;;94038:135:::1;;94081:13;::::0;94120:5:::1;::::0;94081:59:::1;::::0;-1:-1:-1;;;94081:59:0;;-1:-1:-1;;;;;94081:13:0;;::::1;::::0;:26:::1;::::0;:59:::1;::::0;94108:10:::1;::::0;94120:5;;::::1;::::0;94127:12;;94081:59:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;94073:88;;;;-1:-1:-1::0;;;94073:88:0::1;;;;;;;:::i;:::-;94211:10;-1:-1:-1::0;;;;;94190:55:0::1;94204:5;-1:-1:-1::0;;;;;94190:55:0::1;94195:7;94190:55;94223:12;:21;94236:7;94223:21;;;;;;;;;;;;94190:55;;;;2338:25:1::0;;2326:2;2311:18;;2192:177;94190:55:0::1;;;;;;;;94288:21;::::0;;;:12:::1;:21;::::0;;;;;;;;;94311:14:::1;::::0;94261:79;;9725:25:1;;;9766:18;;;9759:34;;;;9809:18;;;9802:34;;;-1:-1:-1;;;;;94261:79:0;::::1;::::0;94272:7;;94261:79:::1;::::0;9713:2:1;9698:18;94261:79:0::1;;;;;;;94380:21;::::0;;;:12:::1;:21;::::0;;;;;;;;;94403:23:::1;::::0;94356:87;;9725:25:1;;;9766:18;;;9759:34;;;;9809:18;;;9802:34;;;-1:-1:-1;;;;;94356:87:0;::::1;::::0;94364:7;;94356:87:::1;::::0;9713:2:1;9698:18;94356:87:0::1;;;;;;;-1:-1:-1::0;;;94475:21:0::1;::::0;;;-1:-1:-1;94475:12:0::1;:21;::::0;;;;;;;;;94456:7:::1;:16:::0;;;;;:40;94536:25;;;94579:8:::1;:17:::0;;;;;94572:24;;-1:-1:-1;;;;;;94572:24:0::1;::::0;;-1:-1:-1;77969:7:0;:22;92785:1821::o;99959:2184::-;77059:1;77657:7;;:19;;77649:63;;;;-1:-1:-1;;;77649:63:0;;;;;;;:::i;:::-;77059:1;77790:7;:18;100042:20:::1;100054:7:::0;100042:11:::1;:20::i;:::-;100034:48;;;::::0;-1:-1:-1;;;100034:48:0;;23978:2:1;100034:48:0::1;::::0;::::1;23960:21:1::0;24017:2;23997:18;;;23990:30;-1:-1:-1;;;24036:18:1;;;24029:45;24091:18;;100034:48:0::1;23776:339:1::0;100034:48:0::1;100128:1;100099:17:::0;;;:8:::1;:17;::::0;;;;:28:::1;;::::0;:30;100095:1876:::1;;100218:30;100251:17:::0;;;:8:::1;:17;::::0;;;;:31:::1;::::0;::::1;::::0;100397:14:::1;::::0;100364:28:::1;::::0;;::::1;::::0;-1:-1:-1;;;;;100251:31:0;;::::1;::::0;100218:30;100364:57:::1;::::0;100417:3:::1;::::0;100364:48:::1;::::0;:28;:32:::1;:48::i;:57::-;100494:23;::::0;100436:22:::1;100461:17:::0;;;:8:::1;:17;::::0;;;;:28:::1;;::::0;100341:80;;-1:-1:-1;100436:22:0;100461:66:::1;::::0;100523:3:::1;::::0;100461:57:::1;::::0;:32:::1;:57::i;:66::-;100542:20;100565:17:::0;;;:8:::1;:17;::::0;;;;:28:::1;;::::0;100436:91;;-1:-1:-1;100542:20:0;100565:66:::1;::::0;100436:91;;100565:46:::1;::::0;100598:12;100565:32:::1;:46::i;:66::-;100681:13;::::0;::::1;100704:17:::0;;;:8:::1;:17;::::0;;;;;;:29;100681:67;;-1:-1:-1;;;100681:67:0;;-1:-1:-1;;;;;100704:29:0;;::::1;100681:67;::::0;::::1;13916:51:1::0;13983:18;;;13976:34;;;100542:89:0;;-1:-1:-1;100681:13:0::1;::::0;:22:::1;::::0;13889:18:1;;100681:67:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;100673:96;;;;-1:-1:-1::0;;;100673:96:0::1;;;;;;;:::i;:::-;100817:16:::0;;100813:143:::1;;100862:13;::::0;::::1;100885:17:::0;;;:8:::1;:17;::::0;;;;;;;100862:57;;-1:-1:-1;;;100862:57:0;;-1:-1:-1;;;;;100885:17:0;;::::1;100862:57;::::0;::::1;13916:51:1::0;13983:18;;;13976:34;;;100862:13:0;::::1;::::0;:22:::1;::::0;13889:18:1;;100862:57:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;100854:86;;;;-1:-1:-1::0;;;100854:86:0::1;;;;;;;:::i;:::-;101001:14:::0;;100997:127:::1;;101044:13;::::0;101067:5:::1;::::0;101044:43:::1;::::0;-1:-1:-1;;;101044:43:0;;-1:-1:-1;;;;;101067:5:0;;::::1;101044:43;::::0;::::1;13916:51:1::0;13983:18;;;13976:34;;;101044:13:0;::::1;::::0;:22:::1;::::0;13889:18:1;;101044:43:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;101036:72;;;;-1:-1:-1::0;;;101036:72:0::1;;;;;;;:::i;:::-;101159:17;::::0;;;:8:::1;:17;::::0;;;;;;;;:29;;101206:28:::1;::::0;;::::1;::::0;101145:90;;2338:25:1;;;-1:-1:-1;;;;;101145:90:0;;::::1;::::0;101159:29;::::1;::::0;:17;;101145:90:::1;::::0;2311:18:1;101145:90:0::1;;;;;;;101272:17;::::0;;;:8:::1;:17;::::0;;;;;;;;:29;;101303:28:::1;::::0;;::::1;::::0;101333:23:::1;::::0;101255:118;;9725:25:1;;;9766:18;;;9759:34;;;;9809:18;;;9802:34;;;-1:-1:-1;;;;;101272:29:0;;::::1;::::0;:17;;101255:118:::1;::::0;9713:2:1;9698:18;101255:118:0::1;;;;;;;101413:17;::::0;;;:8:::1;:17;::::0;;;;;;;;:29;;101444:28:::1;::::0;;::::1;::::0;101474:14:::1;::::0;101393:110;;9725:25:1;;;9766:18;;;9759:34;;;;9809:18;;;9802:34;;;-1:-1:-1;;;;;101413:29:0;;::::1;::::0;:17;;101393:110:::1;::::0;9713:2:1;9698:18;101393:110:0::1;;;;;;;101555:13;101571:16;101579:7;101571;:16::i;:::-;101555:32;;101785:108;101804:4;101833:26;;;101861:5;101868:14;101884:7;101810:82;;;;;;;;;;:::i;101785:108::-;-1:-1:-1::0;;;101929:17:0::1;::::0;;;:8:::1;:17;::::0;;;;;;;:28:::1;;::::0;101910:7:::1;:16:::0;;;;;;:47;-1:-1:-1;;100095:1876:0::1;102001:17;::::0;;;:8:::1;:17;::::0;;;;;;;;:31:::1;::::0;::::1;::::0;102034:28:::1;::::0;;::::1;::::0;101988:75;;-1:-1:-1;;;;;102001:31:0;;::::1;13916:51:1::0;;13983:18;;;13976:34;;;;101988:75:0::1;::::0;13889:18:1;101988:75:0::1;;;;;;;102116:17;::::0;;;:8:::1;:17;::::0;;;;102109:24;;-1:-1:-1;;;;;;102109:24:0;;::::1;::::0;;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;-1:-1:-1;;102109:24:0::1;::::0;;::::1;::::0;;::::1;::::0;;;;77969:7;:22;99959:2184::o;99452:428::-;99511:4;99532:17;;;:8;:17;;;;;:22;;;;;:87;;;;-1:-1:-1;99591:17:0;;;;:8;:17;;;;;:28;;;99572:15;:47;;99532:87;:246;;;;-1:-1:-1;99685:17:0;;;;:8;:17;;;;;:25;;;;99655:28;;;;;:55;;;:108;;-1:-1:-1;99732:17:0;;;;:8;:17;;;;;:28;;;99528:345;;-1:-1:-1;99812:4:0;;99452:428;-1:-1:-1;99452:428:0:o;92150:299::-;92206:7;92248:21;;;:12;:21;;;;;;92206:7;;;;92248:23;92244:65;;-1:-1:-1;;;92281:21:0;;;;:12;:21;;;;;;;;92273:36;;92244:65;92353:1;92324:17;;;:8;:17;;;;;:28;;;:30;92320:79;;-1:-1:-1;;;92364:1:0;92367:17;;;:8;:17;;;;;:28;;;92364:1;92356:43;;92320:79;-1:-1:-1;;;92418:1:0;92424:16;;;:7;:16;;;;;;92418:1;;92150:299;;;;;;:::o;75017:110::-;75082:13;;75058:4;;75082:13;;;:37;;;75099:20;75108:10;75099:8;:20::i;:::-;75075:44;;75017:110;:::o;103991:454::-;104176:14;;-1:-1:-1;;;;;104176:14:0;104164:10;:26;104156:70;;;;-1:-1:-1;;;104156:70:0;;24997:2:1;104156:70:0;;;24979:21:1;25036:2;25016:18;;;25009:30;25075:33;25055:18;;;25048:61;25126:18;;104156:70:0;24795:355:1;104156:70:0;104237:5;:14;;-1:-1:-1;;;;;104237:14:0;;;-1:-1:-1;;;;;;104237:14:0;;;;;;;104262;:32;;;;104305:23;:50;;;;104366:13;:30;;;;;-1:-1:-1;;104366:30:0;;;;;;;;;104407:13;:30;;;;;;;;;;;103991:454::o;98380:540::-;98439:4;98460:17;;;:8;:17;;;;;:22;;;;;:358;;;;-1:-1:-1;98561:17:0;;;;:8;:17;;;;;:28;;;98542:15;:47;;;;:104;;-1:-1:-1;98645:1:0;98614:17;;;:8;:17;;;;;:28;;;:32;;98542:104;:183;;;;-1:-1:-1;98700:17:0;;;;:8;:17;;;;;:25;;;;98671:28;;;;;:54;98542:183;98519:284;;;-1:-1:-1;98798:4:0;98766:20;98778:7;98766:11;:20::i;:::-;-1:-1:-1;;;;;98766:37:0;;98456:457;;-1:-1:-1;98852:4:0;;98380:540;-1:-1:-1;98380:540:0:o;55226:112::-;55305:25;55316:4;55322:7;55305:10;:25::i;63908:152::-;63978:4;64002:50;64007:3;-1:-1:-1;;;;;64027:23:0;;64002:4;:50::i;68998:214::-;69083:4;-1:-1:-1;;;;;;69107:57:0;;-1:-1:-1;;;69107:57:0;;:97;;;69168:36;69192:11;69168:23;:36::i;28719:127::-;28784:4;28808:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28808:16:0;:30;;;28719:127::o;32701:174::-;32776:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;32776:29:0;-1:-1:-1;;;;;32776:29:0;;;;;;;;:24;;32830:23;32776:24;32830:14;:23::i;:::-;-1:-1:-1;;;;;32821:46:0;;;;;;;;;;;32701:174;;:::o;29013:348::-;29106:4;29131:16;29139:7;29131;:16::i;:::-;29123:73;;;;-1:-1:-1;;;29123:73:0;;25357:2:1;29123:73:0;;;25339:21:1;25396:2;25376:18;;;25369:30;25435:34;25415:18;;;25408:62;-1:-1:-1;;;25486:18:1;;;25479:42;25538:19;;29123:73:0;25155:408:1;29123:73:0;29207:13;29223:23;29238:7;29223:14;:23::i;:::-;29207:39;;29276:5;-1:-1:-1;;;;;29265:16:0;:7;-1:-1:-1;;;;;29265:16:0;;:51;;;;29309:7;-1:-1:-1;;;;;29285:31:0;:20;29297:7;29285:11;:20::i;:::-;-1:-1:-1;;;;;29285:31:0;;29265:51;:87;;;-1:-1:-1;;;;;;26105:25:0;;;26081:4;26105:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;29320:32;29257:96;29013:348;-1:-1:-1;;;;29013:348:0:o;32005:578::-;32164:4;-1:-1:-1;;;;;32137:31:0;:23;32152:7;32137:14;:23::i;:::-;-1:-1:-1;;;;;32137:31:0;;32129:85;;;;-1:-1:-1;;;32129:85:0;;25770:2:1;32129:85:0;;;25752:21:1;25809:2;25789:18;;;25782:30;25848:34;25828:18;;;25821:62;-1:-1:-1;;;25899:18:1;;;25892:39;25948:19;;32129:85:0;25568:405:1;32129:85:0;-1:-1:-1;;;;;32233:16:0;;32225:65;;;;-1:-1:-1;;;32225:65:0;;26180:2:1;32225:65:0;;;26162:21:1;26219:2;26199:18;;;26192:30;26258:34;26238:18;;;26231:62;-1:-1:-1;;;26309:18:1;;;26302:34;26353:19;;32225:65:0;25978:400:1;32225:65:0;32303:39;32324:4;32330:2;32334:7;32303:20;:39::i;:::-;32407:29;32424:1;32428:7;32407:8;:29::i;:::-;-1:-1:-1;;;;;32449:15:0;;;;;;:9;:15;;;;;:20;;32468:1;;32449:15;:20;;32468:1;;32449:20;:::i;:::-;;;;-1:-1:-1;;;;;;;32480:13:0;;;;;;:9;:13;;;;;:18;;32497:1;;32480:13;:18;;32497:1;;32480:18;:::i;:::-;;;;-1:-1:-1;;32509:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;32509:21:0;-1:-1:-1;;;;;32509:21:0;;;;;;;;;32548:27;;32509:16;;32548:27;;;;;;;32005:578;;;:::o;53377:147::-;53058:7;53085:12;;;:6;:12;;;;;:22;;;51459:30;51470:4;18613:10;51459;:30::i;:::-;53491:25:::1;53502:4;53508:7;53491:10;:25::i;54425:218::-:0;-1:-1:-1;;;;;54521:23:0;;18613:10;54521:23;54513:83;;;;-1:-1:-1;;;54513:83:0;;26980:2:1;54513:83:0;;;26962:21:1;27019:2;26999:18;;;26992:30;27058:34;27038:18;;;27031:62;-1:-1:-1;;;27109:18:1;;;27102:45;27164:19;;54513:83:0;26778:411:1;54513:83:0;54609:26;54621:4;54627:7;54609:11;:26::i;64236:158::-;64309:4;64333:53;64341:3;-1:-1:-1;;;;;64361:23:0;;64333:7;:53::i;96082:146::-;96155:17;;;;:8;:17;;;;;:30;;-1:-1:-1;;;;;;96155:30:0;96175:10;96155:30;;;96196:24;96208:2;96164:7;96196:11;:24::i;74091:134::-;74186:31;74209:7;74186:22;:31::i;43933:217::-;44033:16;44041:7;44033;:16::i;:::-;44025:75;;;;-1:-1:-1;;;44025:75:0;;27396:2:1;44025:75:0;;;27378:21:1;27435:2;27415:18;;;27408:30;27474:34;27454:18;;;27447:62;-1:-1:-1;;;27525:18:1;;;27518:44;27579:19;;44025:75:0;27194:410:1;44025:75:0;44111:19;;;;:10;:19;;;;;;;;:31;;;;;;;;:::i;30040:321::-;30170:18;30176:2;30180:7;30170:5;:18::i;:::-;30221:54;30252:1;30256:2;30260:7;30269:5;30221:22;:54::i;:::-;30199:154;;;;-1:-1:-1;;;30199:154:0;;;;;;;:::i;65204:158::-;65278:7;65329:22;65333:3;65345:5;65329:3;:22::i;52306:497::-;52387:22;52395:4;52401:7;52387;:22::i;:::-;52382:414;;52575:41;52603:7;-1:-1:-1;;;;;52575:41:0;52613:2;52575:19;:41::i;:::-;52689:38;52717:4;52724:2;52689:19;:38::i;:::-;52480:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;52480:270:0;;;;;;;;;;-1:-1:-1;;;52426:358:0;;;;;;;:::i;29703:110::-;29779:26;29789:2;29793:7;29779:26;;;;;;;;;;;;:9;:26::i;28091:315::-;28248:28;28258:4;28264:2;28268:7;28248:9;:28::i;:::-;28295:48;28318:4;28324:2;28328:7;28337:5;28295:22;:48::i;:::-;28287:111;;;;-1:-1:-1;;;28287:111:0;;;;;;;:::i;43098:679::-;43171:13;43205:16;43213:7;43205;:16::i;:::-;43197:78;;;;-1:-1:-1;;;43197:78:0;;29021:2:1;43197:78:0;;;29003:21:1;29060:2;29040:18;;;29033:30;29099:34;29079:18;;;29072:62;-1:-1:-1;;;29150:18:1;;;29143:47;29207:19;;43197:78:0;28819:413:1;43197:78:0;43288:23;43314:19;;;:10;:19;;;;;43288:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43344:18;43365:10;24769:9;;;;;;;;;-1:-1:-1;24769:9:0;;;24692:94;43365:10;43344:31;;43457:4;43451:18;43473:1;43451:23;43447:72;;;-1:-1:-1;43498:9:0;43098:679;-1:-1:-1;;43098:679:0:o;43447:72::-;43623:23;;:27;43619:108;;43698:4;43704:9;43681:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;43667:48;;;;43098:679;;;:::o;43619:108::-;43746:23;43761:7;43746:14;:23::i;64733:117::-;64796:7;64823:19;64831:3;60217:18;;60134:109;53769:149;53058:7;53085:12;;;:6;:12;;;;;:22;;;51459:30;51470:4;18613:10;51459;:30::i;:::-;53884:26:::1;53896:4;53902:7;53884:11;:26::i;102834:1118::-:0;-1:-1:-1;;;;;103439:25:0;;10985:20;103431:72;;;;-1:-1:-1;;;103431:72:0;;29914:2:1;103431:72:0;;;29896:21:1;;;29933:18;;;29926:30;29992:34;29972:18;;;29965:62;30044:18;;103431:72:0;29712:356:1;103431:72:0;103577:12;103591:23;103626:5;-1:-1:-1;;;;;103618:19:0;103638:4;103618:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;103576:67;;;;103662:7;103654:53;;;;-1:-1:-1;;;103654:53:0;;30554:2:1;103654:53:0;;;30536:21:1;30593:2;30573:18;;;30566:30;30632:34;30612:18;;;30605:62;-1:-1:-1;;;30683:18:1;;;30676:31;30724:19;;103654:53:0;30352:397:1;103654:53:0;103724:17;;:21;103720:225;;103866:10;103855:30;;;;;;;;;;;;:::i;:::-;103847:86;;;;-1:-1:-1;;;103847:86:0;;30956:2:1;103847:86:0;;;30938:21:1;30995:2;30975:18;;;30968:30;31034:34;31014:18;;;31007:62;-1:-1:-1;;;31085:18:1;;;31078:41;31136:19;;103847:86:0;30754:407:1;81445:98:0;81503:7;81530:5;81534:1;81530;:5;:::i;81844:98::-;81902:7;81929:5;81933:1;81929;:5;:::i;81088:98::-;81146:7;81173:5;81177:1;81173;:5;:::i;55729:229::-;55804:22;55812:4;55818:7;55804;:22::i;:::-;55799:152;;55843:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;55843:29:0;;;;;;;;;:36;;-1:-1:-1;;55843:36:0;55875:4;55843:36;;;55926:12;18613:10;;18533:98;55926:12;-1:-1:-1;;;;;55899:40:0;55917:7;-1:-1:-1;;;;;55899:40:0;55911:4;55899:40;;;;;;;;;;55729:229;;:::o;57823:414::-;57886:4;60016:19;;;:12;;;:19;;;;;;57903:327;;-1:-1:-1;57946:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;58129:18;;58107:19;;;:12;;;:19;;;;;;:40;;;;58162:11;;57903:327;-1:-1:-1;58213:5:0;58206:12;;51581:204;51666:4;-1:-1:-1;;;;;;51690:47:0;;-1:-1:-1;;;51690:47:0;;:87;;;51741:36;51765:11;51741:23;:36::i;74233:204::-;74384:45;74411:4;74417:2;74421:7;74384:26;:45::i;55966:230::-;56041:22;56049:4;56055:7;56041;:22::i;:::-;56037:152;;;56112:5;56080:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;56080:29:0;;;;;;;;;;:37;;-1:-1:-1;;56080:37:0;;;56137:40;18613:10;;56080:12;;56137:40;;56112:5;56137:40;55966:230;;:::o;58413:1420::-;58479:4;58618:19;;;:12;;;:19;;;;;;58654:15;;58650:1176;;59029:21;59053:14;59066:1;59053:10;:14;:::i;:::-;59102:18;;59029:38;;-1:-1:-1;59082:17:0;;59102:22;;59123:1;;59102:22;:::i;:::-;59082:42;;59158:13;59145:9;:26;59141:405;;59192:17;59212:3;:11;;59224:9;59212:22;;;;;;;;:::i;:::-;;;;;;;;;59192:42;;59366:9;59337:3;:11;;59349:13;59337:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;59451:23;;;:12;;;:23;;;;;:36;;;59141:405;59627:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;59722:3;:12;;:19;59735:5;59722:19;;;;;;;;;;;59715:26;;;59765:4;59758:11;;;;;;;58650:1176;59809:5;59802:12;;;;;30697:382;-1:-1:-1;;;;;30777:16:0;;30769:61;;;;-1:-1:-1;;;30769:61:0;;31930:2:1;30769:61:0;;;31912:21:1;;;31949:18;;;31942:30;32008:34;31988:18;;;31981:62;32060:18;;30769:61:0;31728:356:1;30769:61:0;30850:16;30858:7;30850;:16::i;:::-;30849:17;30841:58;;;;-1:-1:-1;;;30841:58:0;;32291:2:1;30841:58:0;;;32273:21:1;32330:2;32310:18;;;32303:30;32369;32349:18;;;32342:58;32417:18;;30841:58:0;32089:352:1;30841:58:0;30912:45;30941:1;30945:2;30949:7;30912:20;:45::i;:::-;-1:-1:-1;;;;;30970:13:0;;;;;;:9;:13;;;;;:18;;30987:1;;30970:13;:18;;30987:1;;30970:18;:::i;:::-;;;;-1:-1:-1;;30999:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;30999:21:0;-1:-1:-1;;;;;30999:21:0;;;;;;;;31038:33;;30999:16;;;31038:33;;30999:16;;31038:33;30697:382;;:::o;44379:206::-;44448:20;44460:7;44448:11;:20::i;:::-;44491:19;;;;:10;:19;;;;;44485:33;;;;;:::i;:::-;:38;;-1:-1:-1;44481:97:0;;44547:19;;;;:10;:19;;;;;44540:26;;;:::i;33440:799::-;33595:4;-1:-1:-1;;;;;33616:13:0;;10985:20;11033:8;33612:620;;33652:72;;-1:-1:-1;;;33652:72:0;;-1:-1:-1;;;;;33652:36:0;;;;;:72;;18613:10;;33703:4;;33709:7;;33718:5;;33652:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33652:72:0;;;;;;;;-1:-1:-1;;33652:72:0;;;;;;;;;;;;:::i;:::-;;;33648:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33894:13:0;;33890:272;;33937:60;;-1:-1:-1;;;33937:60:0;;;;;;;:::i;33890:272::-;34112:6;34106:13;34097:6;34093:2;34089:15;34082:38;33648:529;-1:-1:-1;;;;;;33775:51:0;-1:-1:-1;;;33775:51:0;;-1:-1:-1;33768:58:0;;33612:620;-1:-1:-1;34216:4:0;33440:799;;;;;;:::o;60597:120::-;60664:7;60691:3;:11;;60703:5;60691:18;;;;;;;;:::i;:::-;;;;;;;;;60684:25;;60597:120;;;;:::o;20274:451::-;20349:13;20375:19;20407:10;20411:6;20407:1;:10;:::i;:::-;:14;;20420:1;20407:14;:::i;:::-;20397:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20397:25:0;;20375:47;;-1:-1:-1;;;20433:6:0;20440:1;20433:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;20433:15:0;;;;;;;;;-1:-1:-1;;;20459:6:0;20466:1;20459:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;20459:15:0;;;;;;;;-1:-1:-1;20490:9:0;20502:10;20506:6;20502:1;:10;:::i;:::-;:14;;20515:1;20502:14;:::i;:::-;20490:26;;20485:135;20522:1;20518;:5;20485:135;;;-1:-1:-1;;;20570:5:0;20578:3;20570:11;20557:25;;;;;;;:::i;:::-;;;;20545:6;20552:1;20545:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;20545:37:0;;;;;;;;-1:-1:-1;20607:1:0;20597:11;;;;;20525:3;;;:::i;:::-;;;20485:135;;;-1:-1:-1;20638:10:0;;20630:55;;;;-1:-1:-1;;;20630:55:0;;33537:2:1;20630:55:0;;;33519:21:1;;;33556:18;;;33549:30;33615:34;33595:18;;;33588:62;33667:18;;20630:55:0;33335:356:1;24110:334:0;24183:13;24217:16;24225:7;24217;:16::i;:::-;24209:76;;;;-1:-1:-1;;;24209:76:0;;33898:2:1;24209:76:0;;;33880:21:1;33937:2;33917:18;;;33910:30;33976:34;33956:18;;;33949:62;-1:-1:-1;;;34027:18:1;;;34020:45;34082:19;;24209:76:0;33696:411:1;24209:76:0;24298:21;24322:10;24769:9;;;;;;;;;-1:-1:-1;24769:9:0;;;24692:94;24322:10;24298:34;;24374:1;24356:7;24350:21;:25;:86;;;;;;;;;;;;;;;;;24402:7;24411:18;:7;:16;:18::i;:::-;24385:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;24343:93;24110:334;-1:-1:-1;;;24110:334:0:o;36634:224::-;36736:4;-1:-1:-1;;;;;;36760:50:0;;-1:-1:-1;;;36760:50:0;;:90;;;36814:36;36838:11;36814:23;:36::i;38310:589::-;-1:-1:-1;;;;;38516:18:0;;38512:187;;38551:40;38583:7;39726:10;:17;;39699:24;;;;:15;:24;;;;;:44;;;39754:24;;;;;;;;;;;;39622:164;38551:40;38512:187;;;38621:2;-1:-1:-1;;;;;38613:10:0;:4;-1:-1:-1;;;;;38613:10:0;;38609:90;;38640:47;38673:4;38679:7;38640:32;:47::i;:::-;-1:-1:-1;;;;;38713:16:0;;38709:183;;38746:45;38783:7;38746:36;:45::i;38709:183::-;38819:4;-1:-1:-1;;;;;38813:10:0;:2;-1:-1:-1;;;;;38813:10:0;;38809:83;;38840:40;38868:2;38872:7;38840:27;:40::i;31308:360::-;31368:13;31384:23;31399:7;31384:14;:23::i;:::-;31368:39;;31420:48;31441:5;31456:1;31460:7;31420:20;:48::i;:::-;31509:29;31526:1;31530:7;31509:8;:29::i;:::-;-1:-1:-1;;;;;31551:16:0;;;;;;:9;:16;;;;;:21;;31571:1;;31551:16;:21;;31571:1;;31551:21;:::i;:::-;;;;-1:-1:-1;;31590:16:0;;;;:7;:16;;;;;;31583:23;;-1:-1:-1;;;;;;31583:23:0;;;31624:36;31598:7;;31590:16;-1:-1:-1;;;;;31624:36:0;;;;;31590:16;;31624:36;31357:311;31308:360;:::o;18973:723::-;19029:13;19250:10;19246:53;;-1:-1:-1;;19277:10:0;;;;;;;;;;;;-1:-1:-1;;;19277:10:0;;;;;18973:723::o;19246:53::-;19324:5;19309:12;19365:78;19372:9;;19365:78;;19398:8;;;;:::i;:::-;;-1:-1:-1;19421:10:0;;-1:-1:-1;19429:2:0;19421:10;;:::i;:::-;;;19365:78;;;19453:19;19485:6;19475:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19475:17:0;;19453:39;;19503:154;19510:10;;19503:154;;19537:11;19547:1;19537:11;;:::i;:::-;;-1:-1:-1;19606:10:0;19614:2;19606:5;:10;:::i;:::-;19593:24;;:2;:24;:::i;:::-;19580:39;;19563:6;19570;19563:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;19563:56:0;;;;;;;;-1:-1:-1;19634:11:0;19643:2;19634:11;;:::i;:::-;;;19503:154;;22821:305;22923:4;-1:-1:-1;;;;;;22960:40:0;;-1:-1:-1;;;22960:40:0;;:105;;-1:-1:-1;;;;;;;23017:48:0;;-1:-1:-1;;;23017:48:0;22960:105;:158;;;-1:-1:-1;;;;;;;;;;21539:40:0;;;23082:36;21430:157;40413:988;40679:22;40729:1;40704:22;40721:4;40704:16;:22::i;:::-;:26;;;;:::i;:::-;40741:18;40762:26;;;:17;:26;;;;;;40679:51;;-1:-1:-1;40895:28:0;;;40891:328;;-1:-1:-1;;;;;40962:18:0;;40940:19;40962:18;;;:12;:18;;;;;;;;:34;;;;;;;;;41013:30;;;;;;:44;;;41130:30;;:17;:30;;;;;:43;;;40891:328;-1:-1:-1;41315:26:0;;;;:17;:26;;;;;;;;41308:33;;;-1:-1:-1;;;;;41359:18:0;;;;;:12;:18;;;;;:34;;;;;;;41352:41;40413:988::o;41696:1079::-;41974:10;:17;41949:22;;41974:21;;41994:1;;41974:21;:::i;:::-;42006:18;42027:24;;;:15;:24;;;;;;42400:10;:26;;41949:46;;-1:-1:-1;42027:24:0;;41949:46;;42400:26;;;;;;:::i;:::-;;;;;;;;;42378:48;;42464:11;42439:10;42450;42439:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;42544:28;;;:15;:28;;;;;;;:41;;;42716:24;;;;;42709:31;42751:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;41767:1008;;;41696:1079;:::o;39200:221::-;39285:14;39302:20;39319:2;39302:16;:20::i;:::-;-1:-1:-1;;;;;39333:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;39378:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;39200:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:131::-;-1:-1:-1;;;;;1811:31:1;;1801:42;;1791:70;;1857:1;1854;1847:12;1872:315;1940:6;1948;2001:2;1989:9;1980:7;1976:23;1972:32;1969:52;;;2017:1;2014;2007:12;1969:52;2056:9;2043:23;2075:31;2100:5;2075:31;:::i;:::-;2125:5;2177:2;2162:18;;;;2149:32;;-1:-1:-1;;;1872:315:1:o;2374:456::-;2451:6;2459;2467;2520:2;2508:9;2499:7;2495:23;2491:32;2488:52;;;2536:1;2533;2526:12;2488:52;2575:9;2562:23;2594:31;2619:5;2594:31;:::i;:::-;2644:5;-1:-1:-1;2701:2:1;2686:18;;2673:32;2714:33;2673:32;2714:33;:::i;:::-;2374:456;;2766:7;;-1:-1:-1;;;2820:2:1;2805:18;;;;2792:32;;2374:456::o;3202:315::-;3270:6;3278;3331:2;3319:9;3310:7;3306:23;3302:32;3299:52;;;3347:1;3344;3337:12;3299:52;3383:9;3370:23;3360:33;;3443:2;3432:9;3428:18;3415:32;3456:31;3481:5;3456:31;:::i;:::-;3506:5;3496:15;;;3202:315;;;;;:::o;4606:248::-;4674:6;4682;4735:2;4723:9;4714:7;4710:23;4706:32;4703:52;;;4751:1;4748;4741:12;4703:52;-1:-1:-1;;4774:23:1;;;4844:2;4829:18;;;4816:32;;-1:-1:-1;4606:248:1:o;4859:127::-;4920:10;4915:3;4911:20;4908:1;4901:31;4951:4;4948:1;4941:15;4975:4;4972:1;4965:15;4991:632;5056:5;5086:18;5127:2;5119:6;5116:14;5113:40;;;5133:18;;:::i;:::-;5208:2;5202:9;5176:2;5262:15;;-1:-1:-1;;5258:24:1;;;5284:2;5254:33;5250:42;5238:55;;;5308:18;;;5328:22;;;5305:46;5302:72;;;5354:18;;:::i;:::-;5394:10;5390:2;5383:22;5423:6;5414:15;;5453:6;5445;5438:22;5493:3;5484:6;5479:3;5475:16;5472:25;5469:45;;;5510:1;5507;5500:12;5469:45;5560:6;5555:3;5548:4;5540:6;5536:17;5523:44;5615:1;5608:4;5599:6;5591;5587:19;5583:30;5576:41;;;;4991:632;;;;;:::o;5628:590::-;5706:6;5714;5767:2;5755:9;5746:7;5742:23;5738:32;5735:52;;;5783:1;5780;5773:12;5735:52;5823:9;5810:23;5856:18;5848:6;5845:30;5842:50;;;5888:1;5885;5878:12;5842:50;5911:22;;5964:4;5956:13;;5952:27;-1:-1:-1;5942:55:1;;5993:1;5990;5983:12;5942:55;6016:76;6084:7;6079:2;6066:16;6059:4;6055:2;6051:13;6016:76;:::i;:::-;6006:86;;;6142:4;6131:9;6127:20;6114:34;6157:31;6182:5;6157:31;:::i;6223:247::-;6282:6;6335:2;6323:9;6314:7;6310:23;6306:32;6303:52;;;6351:1;6348;6341:12;6303:52;6390:9;6377:23;6409:31;6434:5;6409:31;:::i;6475:221::-;6517:5;6570:3;6563:4;6555:6;6551:17;6547:27;6537:55;;6588:1;6585;6578:12;6537:55;6610:80;6686:3;6677:6;6664:20;6657:4;6649:6;6645:17;6610:80;:::i;6701:523::-;6787:6;6795;6803;6856:2;6844:9;6835:7;6831:23;6827:32;6824:52;;;6872:1;6869;6862:12;6824:52;6911:9;6898:23;6930:31;6955:5;6930:31;:::i;:::-;6980:5;-1:-1:-1;7032:2:1;7017:18;;7004:32;;-1:-1:-1;7087:2:1;7072:18;;7059:32;7114:18;7103:30;;7100:50;;;7146:1;7143;7136:12;7100:50;7169:49;7210:7;7201:6;7190:9;7186:22;7169:49;:::i;:::-;7159:59;;;6701:523;;;;;:::o;7482:118::-;7568:5;7561:13;7554:21;7547:5;7544:32;7534:60;;7590:1;7587;7580:12;7605:382;7670:6;7678;7731:2;7719:9;7710:7;7706:23;7702:32;7699:52;;;7747:1;7744;7737:12;7699:52;7786:9;7773:23;7805:31;7830:5;7805:31;:::i;:::-;7855:5;-1:-1:-1;7912:2:1;7897:18;;7884:32;7925:30;7884:32;7925:30;:::i;7992:460::-;8086:6;8094;8102;8110;8163:3;8151:9;8142:7;8138:23;8134:33;8131:53;;;8180:1;8177;8170:12;8131:53;8216:9;8203:23;8193:33;;8273:2;8262:9;8258:18;8245:32;8235:42;;8327:2;8316:9;8312:18;8299:32;8340:31;8365:5;8340:31;:::i;:::-;7992:460;;;;-1:-1:-1;8390:5:1;;8442:2;8427:18;8414:32;;-1:-1:-1;;7992:460:1:o;8457:665::-;8552:6;8560;8568;8576;8629:3;8617:9;8608:7;8604:23;8600:33;8597:53;;;8646:1;8643;8636:12;8597:53;8685:9;8672:23;8704:31;8729:5;8704:31;:::i;:::-;8754:5;-1:-1:-1;8811:2:1;8796:18;;8783:32;8824:33;8783:32;8824:33;:::i;:::-;8876:7;-1:-1:-1;8930:2:1;8915:18;;8902:32;;-1:-1:-1;8985:2:1;8970:18;;8957:32;9012:18;9001:30;;8998:50;;;9044:1;9041;9034:12;8998:50;9067:49;9108:7;9099:6;9088:9;9084:22;9067:49;:::i;:::-;9057:59;;;8457:665;;;;;;;:::o;9127:391::-;9212:6;9220;9228;9281:2;9269:9;9260:7;9256:23;9252:32;9249:52;;;9297:1;9294;9287:12;9249:52;9333:9;9320:23;9310:33;;9390:2;9379:9;9375:18;9362:32;9352:42;;9444:2;9433:9;9429:18;9416:32;9457:31;9482:5;9457:31;:::i;:::-;9507:5;9497:15;;;9127:391;;;;;:::o;9847:388::-;9915:6;9923;9976:2;9964:9;9955:7;9951:23;9947:32;9944:52;;;9992:1;9989;9982:12;9944:52;10031:9;10018:23;10050:31;10075:5;10050:31;:::i;:::-;10100:5;-1:-1:-1;10157:2:1;10142:18;;10129:32;10170:33;10129:32;10170:33;:::i;10240:683::-;10354:6;10362;10370;10378;10386;10439:3;10427:9;10418:7;10414:23;10410:33;10407:53;;;10456:1;10453;10446:12;10407:53;10495:9;10482:23;10514:31;10539:5;10514:31;:::i;:::-;10564:5;-1:-1:-1;10616:2:1;10601:18;;10588:32;;-1:-1:-1;10667:2:1;10652:18;;10639:32;;-1:-1:-1;10723:2:1;10708:18;;10695:32;10736:30;10695:32;10736:30;:::i;:::-;10785:7;-1:-1:-1;10844:3:1;10829:19;;10816:33;10858;10816;10858;:::i;:::-;10910:7;10900:17;;;10240:683;;;;;;;;:::o;10928:380::-;11007:1;11003:12;;;;11050;;;11071:61;;11125:4;11117:6;11113:17;11103:27;;11071:61;11178:2;11170:6;11167:14;11147:18;11144:38;11141:161;;;11224:10;11219:3;11215:20;11212:1;11205:31;11259:4;11256:1;11249:15;11287:4;11284:1;11277:15;11141:161;;10928:380;;;:::o;12553:413::-;12755:2;12737:21;;;12794:2;12774:18;;;12767:30;12833:34;12828:2;12813:18;;12806:62;-1:-1:-1;;;12899:2:1;12884:18;;12877:47;12956:3;12941:19;;12553:413::o;12971:355::-;13173:2;13155:21;;;13212:2;13192:18;;;13185:30;13251:33;13246:2;13231:18;;13224:61;13317:2;13302:18;;12971:355::o;14021:245::-;14088:6;14141:2;14129:9;14120:7;14116:23;14112:32;14109:52;;;14157:1;14154;14147:12;14109:52;14189:9;14183:16;14208:28;14230:5;14208:28;:::i;14271:340::-;14473:2;14455:21;;;14512:2;14492:18;;;14485:30;-1:-1:-1;;;14546:2:1;14531:18;;14524:46;14602:2;14587:18;;14271:340::o;15028:412::-;15230:2;15212:21;;;15269:2;15249:18;;;15242:30;15308:34;15303:2;15288:18;;15281:62;-1:-1:-1;;;15374:2:1;15359:18;;15352:46;15430:3;15415:19;;15028:412::o;16275:127::-;16336:10;16331:3;16327:20;16324:1;16317:31;16367:4;16364:1;16357:15;16391:4;16388:1;16381:15;18593:375;-1:-1:-1;;;;;18851:15:1;;;18833:34;;18903:15;;;;18898:2;18883:18;;18876:43;18950:2;18935:18;;18928:34;;;;18783:2;18768:18;;18593:375::o;26383:127::-;26444:10;26439:3;26435:20;26432:1;26425:31;26475:4;26472:1;26465:15;26499:4;26496:1;26489:15;26515:125;26555:4;26583:1;26580;26577:8;26574:34;;;26588:18;;:::i;:::-;-1:-1:-1;26625:9:1;;26515:125::o;26645:128::-;26685:3;26716:1;26712:6;26709:1;26706:13;26703:39;;;26722:18;;:::i;:::-;-1:-1:-1;26758:9:1;;26645:128::o;27609:414::-;27811:2;27793:21;;;27850:2;27830:18;;;27823:30;27889:34;27884:2;27869:18;;27862:62;-1:-1:-1;;;27955:2:1;27940:18;;27933:48;28013:3;27998:19;;27609:414::o;28028:786::-;28439:25;28434:3;28427:38;28409:3;28494:6;28488:13;28510:62;28565:6;28560:2;28555:3;28551:12;28544:4;28536:6;28532:17;28510:62;:::i;:::-;-1:-1:-1;;;28631:2:1;28591:16;;;28623:11;;;28616:40;28681:13;;28703:63;28681:13;28752:2;28744:11;;28737:4;28725:17;;28703:63;:::i;:::-;28786:17;28805:2;28782:26;;28028:786;-1:-1:-1;;;;28028:786:1:o;29237:470::-;29416:3;29454:6;29448:13;29470:53;29516:6;29511:3;29504:4;29496:6;29492:17;29470:53;:::i;:::-;29586:13;;29545:16;;;;29608:57;29586:13;29545:16;29642:4;29630:17;;29608:57;:::i;:::-;29681:20;;29237:470;-1:-1:-1;;;;29237:470:1:o;30073:274::-;30202:3;30240:6;30234:13;30256:53;30302:6;30297:3;30290:4;30282:6;30278:17;30256:53;:::i;:::-;30325:16;;;;;30073:274;-1:-1:-1;;30073:274:1:o;31166:168::-;31206:7;31272:1;31268;31264:6;31260:14;31257:1;31254:21;31249:1;31242:9;31235:17;31231:45;31228:71;;;31279:18;;:::i;:::-;-1:-1:-1;31319:9:1;;31166:168::o;31339:127::-;31400:10;31395:3;31391:20;31388:1;31381:31;31431:4;31428:1;31421:15;31455:4;31452:1;31445:15;31471:120;31511:1;31537;31527:35;;31542:18;;:::i;:::-;-1:-1:-1;31576:9:1;;31471:120::o;31596:127::-;31657:10;31652:3;31648:20;31645:1;31638:31;31688:4;31685:1;31678:15;31712:4;31709:1;31702:15;32446:489;-1:-1:-1;;;;;32715:15:1;;;32697:34;;32767:15;;32762:2;32747:18;;32740:43;32814:2;32799:18;;32792:34;;;32862:3;32857:2;32842:18;;32835:31;;;32640:4;;32883:46;;32909:19;;32901:6;32883:46;:::i;:::-;32875:54;32446:489;-1:-1:-1;;;;;;32446:489:1:o;32940:249::-;33009:6;33062:2;33050:9;33041:7;33037:23;33033:32;33030:52;;;33078:1;33075;33068:12;33030:52;33110:9;33104:16;33129:30;33153:5;33129:30;:::i;33194:136::-;33233:3;33261:5;33251:39;;33270:18;;:::i;:::-;-1:-1:-1;;;33306:18:1;;33194:136::o;34112:135::-;34151:3;-1:-1:-1;;34172:17:1;;34169:43;;;34192:18;;:::i;:::-;-1:-1:-1;34239:1:1;34228:13;;34112:135::o;34252:112::-;34284:1;34310;34300:35;;34315:18;;:::i;:::-;-1:-1:-1;34349:9:1;;34252:112::o

Swarm Source

ipfs://35f4cd0367d6bddd876f7a567376e285320c7f53c5939420900cd6f749ba9768
Loading