POL Price: $0.386104 (+1.97%)
 

Overview

TokenID

3

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
ERC721SPIMPIDA

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2022-10-07
*/

/**
 *Submitted for verification at polygonscan.com on 2022-10-06
*/

// SPDX-License-Identifier: MIT



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 ERC721Hosteri 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 ERC721SPIMPIDA
 * ERC-721 Marketplace with tokens and royalties support
 */

contract ERC721SPIMPIDA is ERC721Hosteri, 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) 
        ERC721Hosteri(_owner, name, symbol, _anyoneCanMint) 
    {
        admin = _admin;
        contract_owner = _owner;
        require(_commissionRate<=100, "ERC721SPIMPIDA: 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, "ERC721SPIMPIDA: Only owner can sell this item");

        // cannot set a price if auction is activated
        require(!auctions[tokenId].open, "ERC721SPIMPIDA: 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, "ERC721SPIMPIDA: The collectible is not for sale");

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

        require(msg.sender!=owner, "ERC721SPIMPIDA: 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, "ERC721SPIMPIDA: The selected NFT is open for sale, cannot be auctioned");
        require(!auctions[tokenId].open, "ERC721SPIMPIDA: The selected NFT already has an auction");
        require(ownerOf(tokenId)==msg.sender, "ERC721SPIMPIDA: 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, "ERC721SPIMPIDA: 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"}]

60806040523480156200001157600080fd5b5060405162004eb638038062004eb6833981016040819052620000349162000463565b8683838382828160009080519060200190620000529291906200030a565b508051620000689060019060208401906200030a565b506200007a91506000905085620001a1565b620000a67f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a685620001a1565b600e805491151560ff1990921691909117905550506001600f5550601080546001600160a01b038089166001600160a01b03199283161790925560118054928a169290911691909117905560648511156200016d5760405162461bcd60e51b815260206004820152603b60248201527f4552433732315350494d504944413a20436f6d6d697373696f6e20726174652060448201527f68617320746f206265206265747765656e203020616e64203130300000000000606482015260840160405180910390fd5b5050506013919091556014555050601280546001600160a01b0319166001600160a01b0392909216919091179055620005a5565b620001b88282620001e460201b620029b51760201c565b6000828152600c60209081526040909120620001df918390620029bf620001f4821b17901c565b505050565b620001f0828262000214565b5050565b60006200020b836001600160a01b038416620002b8565b90505b92915050565b6000828152600b602090815260408083206001600160a01b038516845290915290205460ff16620001f0576000828152600b602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620002743390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600081815260018301602052604081205462000301575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556200020e565b5060006200020e565b828054620003189062000539565b90600052602060002090601f0160209004810192826200033c576000855562000387565b82601f106200035757805160ff191683800117855562000387565b8280016001018555821562000387579182015b82811115620003875782518255916020019190600101906200036a565b506200039592915062000399565b5090565b5b808211156200039557600081556001016200039a565b600082601f830112620003c1578081fd5b81516001600160401b0380821115620003de57620003de62000576565b604051601f8301601f19908116603f0116810190828211818310171562000409576200040962000576565b8160405283815260209250868385880101111562000425578485fd5b8491505b8382101562000448578582018301518183018401529082019062000429565b838211156200045957848385830101525b9695505050505050565b600080600080600080600080610100898b03121562000480578384fd5b88516200048d816200058c565b60208a0151909850620004a0816200058c565b60408a0151909750620004b3816200058c565b60608a015160808b015160a08c015192985090965094506001600160401b0380821115620004df578485fd5b620004ed8c838d01620003b0565b945060c08b015191508082111562000503578384fd5b50620005128b828c01620003b0565b92505060e0890151801515811462000528578182fd5b809150509295985092959890939650565b6002810460018216806200054e57607f821691505b602082108114156200057057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114620005a257600080fd5b50565b61490180620005b56000396000f3fe608060405234801561001057600080fd5b50600436106103785760003560e01c80639010d07c116101d3578063c87b56dd11610104578063dc16bd43116100a2578063e985e9c51161007c578063e985e9c514610879578063ee1b59e4146108b5578063fa184c49146108bd578063fbe85f06146108d057610378565b8063dc16bd4314610825578063e4e2bfe414610838578063e75722301461084b57610378565b8063d04c6983116100de578063d04c6983146107d7578063d5391393146107ea578063d547741f146107ff578063d96a094a1461081257610378565b8063c87b56dd14610788578063ca15c8731461079b578063cd53d08e146107ae57610378565b8063a36b146211610171578063b14c63c51161014b578063b14c63c51461072c578063b1cb48ef1461074f578063b2ecfad414610762578063b88d4fde1461077557610378565b8063a36b1462146106ec578063aa271e1a1461070c578063b13fbe961461071f57610378565b8063983b2d56116101ad578063983b2d56146106ab578063a1448194146106be578063a217fddf146106d1578063a22cb465146106d957610378565b80639010d07c1461067d57806391d148541461069057806395d89b41146106a357610378565b8063384f58eb116102ad578063571a26a01161024b5780636352211e116102255780636352211e1461063157806370a08231146106445780638832e6e31461065757806389f4c0b11461066a57610378565b8063571a26a014610576578063598647f81461060b57806361a09c971461061e57610378565b806342842e0e1161028757806342842e0e1461051157806342966c6814610524578063451df52e146105375780634f6ccce71461056357610378565b8063384f58eb146104d85780633ca88a2f146104eb57806340c10f19146104fe57610378565b806323b872dd1161031a5780632f2ff15d116102f45780632f2ff15d1461048c5780632f745c591461049f578063331c6587146104b257806336568abe146104c557610378565b806323b872dd14610443578063248a9ca3146104565780632e1a7d4d1461047957610378565b8063095ea7b311610356578063095ea7b3146103e5578063172b099d146103fa57806318160ddd146104285780631ac70f6f1461043057610378565b806301ffc9a71461037d57806306fdde03146103a5578063081812fc146103ba575b600080fd5b61039061038b366004614367565b6108e3565b60405190151581526020015b60405180910390f35b6103ad6108f6565b60405161039c91906145ba565b6103cd6103c836600461430a565b610988565b6040516001600160a01b03909116815260200161039c565b6103f86103f336600461426c565b610a15565b005b61041a61040836600461430a565b60176020526000908152604090205481565b60405190815260200161039c565b60085461041a565b61039061043e36600461430a565b610b2b565b6103f8610451366004614195565b610b7a565b61041a61046436600461430a565b6000908152600b602052604090206001015490565b6103f861048736600461430a565b610bac565b6103f861049a366004614322565b610d5b565b61041a6104ad36600461426c565b610d7d565b6012546103cd906001600160a01b031681565b6103f86104d3366004614322565b610e16565b6011546103cd906001600160a01b031681565b61041a6104f936600461430a565b610e38565b6103f861050c36600461426c565b610ebe565b6103f861051f366004614195565b610eee565b6103f861053236600461430a565b610f09565b6103cd61054536600461430a565b6000908152601960205260409020600201546001600160a01b031690565b61041a61057136600461430a565b610f83565b6105cb61058436600461430a565b6019602052600090815260409020805460018201546002830154600384015460048501546005909501546001600160a01b0394851695939490921692909160ff9091169086565b604080516001600160a01b0397881681526020810196909652939095169284019290925260608301521515608082015260a081019190915260c00161039c565b6103f8610619366004614346565b611024565b6103f861062c36600461439f565b6114e9565b6103cd61063f36600461430a565b61154b565b61041a6106523660046140e3565b6115c2565b6103f8610665366004614297565b611649565b61039061067836600461430a565b61167a565b6103cd61068b366004614346565b611708565b61039061069e366004614322565b611727565b6103ad611752565b6103f86106b93660046140e3565b611761565b6103f86106cc36600461426c565b611797565b61041a600081565b6103f86106e736600461423f565b6117c7565b61041a6106fa36600461430a565b60166020526000908152604090205481565b61039061071a3660046140e3565b611899565b600e546103909060ff1681565b61041a61073a36600461430a565b60009081526019602052604090206003015490565b6103f861075d36600461442f565b6118b3565b61039061077036600461430a565b611a95565b6103f86107833660046141d5565b611acc565b6103ad61079636600461430a565b611afe565b61041a6107a936600461430a565b611b09565b6103cd6107bc36600461430a565b6015602052600090815260409020546001600160a01b031681565b6103f86107e53660046143f7565b611b20565b61041a6000805160206148ac83398151915281565b6103f861080d366004614322565b611c6d565b6103f861082036600461430a565b611c77565b6103f861083336600461430a565b612210565b61039061084636600461430a565b612765565b61085e61085936600461430a565b6127dd565b6040805193845260208401929092529082015260600161039c565b61039061088736600461415d565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61039061285c565b6103f86108cb3660046140ff565b612879565b6103906108de36600461430a565b612920565b60006108ee826129d4565b90505b919050565b606060008054610905906147c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610931906147c6565b801561097e5780601f106109535761010080835404028352916020019161097e565b820191906000526020600020905b81548152906001019060200180831161096157829003601f168201915b5050505050905090565b6000610993826129f9565b6109f95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610a208261154b565b9050806001600160a01b0316836001600160a01b03161415610a8e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016109f0565b336001600160a01b0382161480610aaa5750610aaa8133610887565b610b1c5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109f0565b610b268383612a16565b505050565b600033610b378361154b565b6001600160a01b0316148015610b5f575060008281526019602052604090206004015460ff16155b80156108ee5750506000908152601760205260409020541590565b610b85335b82612a84565b610ba15760405162461bcd60e51b81526004016109f090614699565b610b26838383612b6e565b6002600f541415610bcf5760405162461bcd60e51b81526004016109f0906146ea565b6002600f55610bdd81612920565b610c345760405162461bcd60e51b815260206004820152602260248201527f436f6e646974696f6e7320746f20776974686472617720617265206e6f74206d604482015261195d60f21b60648201526084016109f0565b60008181526019602052604090206003015415610d0857601254600082815260196020526040908190206002810154600390910154915163a9059cbb60e01b81526001600160a01b03918216600482015260248101929092529091169063a9059cbb90604401602060405180830381600087803b158015610cb457600080fd5b505af1158015610cc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cec91906142ee565b610d085760405162461bcd60e51b81526004016109f09061466f565b600090815260196020526040812080546001600160a01b0319908116825560018083018490556002830180549092169091556003820183905560048201805460ff19169055600590910191909155600f55565b610d658282612d19565b6000828152600c60205260409020610b2690826129bf565b6000610d88836115c2565b8210610dea5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109f0565b506001600160a01b03821660009081526006602090815260408083208484529091529020545b92915050565b610e208282612d3f565b6000828152600c60205260409020610b269082612db9565b60008181526019602052604081206004015460ff16158015610e67575060008281526017602052604090205415155b8015610e80575060008281526017602052604090205415155b8015610e9c575030610e9183610988565b6001600160a01b0316145b15610eb657506000818152601760205260409020546108f1565b5060006108f1565b6060610ec861285c565b610ee45760405162461bcd60e51b81526004016109f09061461f565b610b268383612dce565b610b2683838360405180602001604052806000815250611acc565b610f1233610b7f565b610f775760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b60648201526084016109f0565b610f8081612df6565b50565b6000610f8e60085490565b8210610ff15760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016109f0565b6008828154811061101257634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6002600f5414156110475760405162461bcd60e51b81526004016109f0906146ea565b6002600f55333b1561108f5760405162461bcd60e51b81526020600482015260116024820152704e6f20736372697074206b69646469657360781b60448201526064016109f0565b60008281526019602052604090206004015460ff166110f05760405162461bcd60e51b815260206004820152601760248201527f4e6f206f70656e65642061756374696f6e20666f756e6400000000000000000060448201526064016109f0565b306110fa83610988565b6001600160a01b0316146111505760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f7420636f6d706c657465207468652061756374696f6e000000000060448201526064016109f0565b6000828152601960205260409020600101544211156111aa5760405162461bcd60e51b815260206004820152601660248201527520bab1ba34b7b71030b63932b0b23c9032b73232b21760511b60448201526064016109f0565b600082815260196020526040902060030154811161120a5760405162461bcd60e51b815260206004820152601e60248201527f546865726520616c7265616479206973206120686967686572206269642e000060448201526064016109f0565b60006112158361154b565b9050336001600160a01b03821614156112965760405162461bcd60e51b815260206004820152603860248201527f4552433732315350494d504944413a20546865206f776e65722063616e6e6f7460448201527f2062696420686973206f776e20636f6c6c65637469626c65000000000000000060648201526084016109f0565b600083815260196020526040902060030154156113c957601254600084815260196020526040908190206002810154600390910154915163a9059cbb60e01b81526001600160a01b03918216600482015260248101929092529091169063a9059cbb90604401602060405180830381600087803b15801561131657600080fd5b505af115801561132a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061134e91906142ee565b61136a5760405162461bcd60e51b81526004016109f09061466f565b600083815260196020908152604091829020600281015460039091015483516001600160a01b039092168252918101919091527fbb28353e4598c3b9199101a66e0989549b659a59a54d2c27fbb183f1932c8e6d910160405180910390a15b6000838152601960205260409081902060020180546001600160a01b0319163390811790915560125491516323b872dd60e01b81526001600160a01b0392909216916323b872dd916114219130908790600401614559565b602060405180830381600087803b15801561143b57600080fd5b505af115801561144f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147391906142ee565b61148f5760405162461bcd60e51b81526004016109f09061466f565b600083815260196020908152604091829020600301849055815184815290810185905233917fdafc4a123c6bb3b49dd38a0cba299808581a0126a37248a5f1102d5e5fa06337910160405180910390a250506001600f5550565b60606114f361285c565b61150f5760405162461bcd60e51b81526004016109f09061461f565b60005b611520600d80546001019055565b50600d5461152d816129f9565b6115125761153b8382612dce565b6115458185612dff565b50505050565b6000818152600260205260408120546001600160a01b0316806108ee5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016109f0565b60006001600160a01b03821661162d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016109f0565b506001600160a01b031660009081526003602052604090205490565b606061165361285c565b61166f5760405162461bcd60e51b81526004016109f09061461f565b611545848484612e8a565b6000333b15801561169c575060008281526019602052604090206004015460ff165b80156116b957506000828152601960205260409020600101544211155b80156116df57506116c98261154b565b6001600160a01b0316336001600160a01b031614155b80156116fb5750306116f083610988565b6001600160a01b0316145b15610eb6575060016108f1565b6000828152600c602052604081206117209083612ebd565b9392505050565b6000918252600b602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060018054610905906147c6565b6000805160206148ac83398151915261177b81335b612ec9565b6117936000805160206148ac83398151915283610d5b565b5050565b60606117a161285c565b6117bd5760405162461bcd60e51b81526004016109f09061461f565b610b268383612f2d565b6001600160a01b0382163314156118205760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109f0565b3360008181526005602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161188d911515815260200190565b60405180910390a35050565b60006108ee6000805160206148ac83398151915283611727565b600084815260176020526040902054156119445760405162461bcd60e51b815260206004820152604660248201527f4552433732315350494d504944413a205468652073656c6563746564204e465460448201527f206973206f70656e20666f722073616c652c2063616e6e6f74206265206175636064820152651d1a5bdb995960d21b608482015260a4016109f0565b60008481526019602052604090206004015460ff16156119cc5760405162461bcd60e51b815260206004820152603760248201527f4552433732315350494d504944413a205468652073656c6563746564204e465460448201527f20616c72656164792068617320616e2061756374696f6e00000000000000000060648201526084016109f0565b336119d68561154b565b6001600160a01b031614611a455760405162461bcd60e51b815260206004820152603060248201527f4552433732315350494d504944413a204f6e6c79206f776e65722063616e206160448201526f756374696f6e2074686973206974656d60801b60648201526084016109f0565b600084815260196020526040902080546001600160a01b0319166001600160a01b0384161781556001808201859055600582018390556004909101805460ff191690911790556115453085610a15565b600033611aa18361154b565b6001600160a01b03161480156108ee57505060009081526019602052604090206004015460ff161590565b611ad63383612a84565b611af25760405162461bcd60e51b81526004016109f090614699565b61154584848484612f47565b60606108ee82612f7a565b6000818152600c602052604081206108ee906130ea565b33611b2a8461154b565b6001600160a01b031614611b965760405162461bcd60e51b815260206004820152602d60248201527f4552433732315350494d504944413a204f6e6c79206f776e65722063616e207360448201526c656c6c2074686973206974656d60981b60648201526084016109f0565b60008381526019602052604090206004015460ff1615611c1e5760405162461bcd60e51b815260206004820152603f60248201527f4552433732315350494d504944413a2043616e6e6f742073656c6c20616e206960448201527f74656d2077686963682068617320616e206163746976652061756374696f6e0060648201526084016109f0565b60008381526017602052604090208290558115610b2657611c3f3084610a15565b600083815260186020526040902080546001600160a01b0383166001600160a01b0319909116179055505050565b610e2082826130f4565b6002600f541415611c9a5760405162461bcd60e51b81526004016109f0906146ea565b6002600f5560008181526019602052604090206004015460ff16158015611cce575060008181526017602052604090205415155b611d325760405162461bcd60e51b815260206004820152602f60248201527f4552433732315350494d504944413a2054686520636f6c6c65637469626c652060448201526e6973206e6f7420666f722073616c6560881b60648201526084016109f0565b6000611d3d8261154b565b9050336001600160a01b0382161415611dbe5760405162461bcd60e51b815260206004820152603960248201527f4552433732315350494d504944413a205468652073656c6c65722063616e6e6f60448201527f742062757920686973206f776e20636f6c6c65637469626c650000000000000060648201526084016109f0565b611e16306323b872dd60e01b833386604051602401611ddf93929190614559565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261311a565b6013546000838152601760205260408120549091611e4191606491611e3b91906132a5565b906132b1565b60145460008581526017602052604081205492935091611e6791606491611e3b916132a5565b60008581526017602052604081205491925090611e90908390611e8a90866132bd565b906132bd565b601254600087815260186020526040908190205490516323b872dd60e01b81529293506001600160a01b03918216926323b872dd92611ed89233929116908690600401614559565b602060405180830381600087803b158015611ef257600080fd5b505af1158015611f06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f2a91906142ee565b611f465760405162461bcd60e51b81526004016109f09061466f565b811561200057601254600086815260156020526040908190205490516323b872dd60e01b81526001600160a01b03928316926323b872dd92611f92923392909116908790600401614559565b602060405180830381600087803b158015611fac57600080fd5b505af1158015611fc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fe491906142ee565b6120005760405162461bcd60e51b81526004016109f09061466f565b82156120ad576012546010546040516323b872dd60e01b81526001600160a01b03928316926323b872dd9261203f923392909116908890600401614559565b602060405180830381600087803b15801561205957600080fd5b505af115801561206d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061209191906142ee565b6120ad5760405162461bcd60e51b81526004016109f09061466f565b336001600160a01b0316846001600160a01b0316867f88863d5e20f64464b554931394e2e4b6f09c10015147215bf26b3ba5070acebe601760008a81526020019081526020016000205460405161210691815260200190565b60405180910390a4600085815260176020908152604091829020546013548351918252918101919091529081018490526001600160a01b0385169086907fef7a63d352d8b0f42e35d7f8bd277ba75ba2ff721a50eaad4c62f1ee6561d5eb9060600160405180910390a3600085815260176020908152604091829020546014548351918252918101919091529081018390526001600160a01b0385169086907f69c21e0288fa2ee397e158571d58b093897385aaa1ccb8deacd82fc0e17a08bd9060600160405180910390a3505050600091825250601760209081526040808320805460168452828520558390556018909152902080546001600160a01b03191690556001600f55565b6002600f5414156122335760405162461bcd60e51b81526004016109f0906146ea565b6002600f5561224181612765565b61227f5760405162461bcd60e51b815260206004820152600f60248201526e43616e6e6f742066696e616c697a6560881b60448201526064016109f0565b600081815260196020526040902060030154156126b457600081815260196020526040812060028101546013546003909201546001600160a01b0390911692916122d091606491611e3b91906132a5565b601454600085815260196020526040812060030154929350916122f991606491611e3b916132a5565b6000858152601960205260408120600301549192509061231f908390611e8a90866132bd565b6012546000878152601960205260409081902054905163a9059cbb60e01b81526001600160a01b03918216600482015260248101849052929350169063a9059cbb90604401602060405180830381600087803b15801561237e57600080fd5b505af1158015612392573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123b691906142ee565b6123d25760405162461bcd60e51b81526004016109f09061466f565b8115612489576012546000868152601560205260409081902054905163a9059cbb60e01b81526001600160a01b0391821660048201526024810185905291169063a9059cbb90604401602060405180830381600087803b15801561243557600080fd5b505af1158015612449573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061246d91906142ee565b6124895760405162461bcd60e51b81526004016109f09061466f565b82156125335760125460105460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810186905291169063a9059cbb90604401602060405180830381600087803b1580156124df57600080fd5b505af11580156124f3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061251791906142ee565b6125335760405162461bcd60e51b81526004016109f09061466f565b600085815260196020908152604091829020805460039091015492519283526001600160a01b038781169391169188917f88863d5e20f64464b554931394e2e4b6f09c10015147215bf26b3ba5070acebe910160405180910390a460008581526019602090815260409182902080546003909101546014548451918252928101929092529181018490526001600160a01b039091169086907f69c21e0288fa2ee397e158571d58b093897385aaa1ccb8deacd82fc0e17a08bd9060600160405180910390a360008581526019602090815260409182902080546003909101546013548451918252928101929092529181018590526001600160a01b039091169086907fef7a63d352d8b0f42e35d7f8bd277ba75ba2ff721a50eaad4c62f1ee6561d5eb9060600160405180910390a3600061266d8661154b565b9050612690306323b872dd60e01b83888a604051602401611ddf93929190614559565b50505060008381526019602090815260408083206003015460169092529091205550505b600081815260196020908152604091829020600281015460039091015483516001600160a01b039092168252918101919091527fdaec4582d5d9595688c8c98545fdd1c696d41c6aeaeb636737e84ed2f5c00eda910160405180910390a1600090815260196020526040812080546001600160a01b0319908116825560018083018490556002830180549092169091556003820183905560048201805460ff19169055600590910191909155600f55565b60008181526019602052604081206004015460ff16801561279757506000828152601960205260409020600101544210155b80156116fb5750600082815260196020526040902060058101546003909101541015806116fb5750600082815260196020526040902060030154610eb6575060016108f1565b600081815260176020526040812054819081901561280e575050506000818152601760205260408120549080612855565b600084815260196020526040902060030154156128405750505060008181526019602052604081206003015481612855565b50505060008181526016602052604081205481905b9193909250565b600e5460009060ff1680612874575061287433611899565b905090565b6011546001600160a01b031633146128d35760405162461bcd60e51b815260206004820152601f60248201527f4f6e6c7920636f6e7472616374206f776e65722063616e20646f20746869730060448201526064016109f0565b601080546001600160a01b039687166001600160a01b031991821617909155601394909455601492909255600e805491151560ff1990921691909117905560128054919093169116179055565b60008181526019602052604081206004015460ff1680156116fb5750600082815260196020526040902060010154421080159061296d575060008281526019602052604090206003015415155b801561298f575060008281526019602052604090206005810154600390910154105b806116fb57503061299f83610988565b6001600160a01b031614610eb6575060016108f1565b61179382826132c9565b6000611720836001600160a01b03841661334f565b60006001600160e01b03198216635a05180f60e01b14806108ee57506108ee8261339e565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612a4b8261154b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612a8f826129f9565b612af05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109f0565b6000612afb8361154b565b9050806001600160a01b0316846001600160a01b03161480612b365750836001600160a01b0316612b2b84610988565b6001600160a01b0316145b80612b6657506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316612b818261154b565b6001600160a01b031614612be95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016109f0565b6001600160a01b038216612c4b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109f0565b612c568383836133c3565b612c61600082612a16565b6001600160a01b0383166000908152600360205260408120805460019290612c8a90849061476c565b90915550506001600160a01b0382166000908152600360205260408120805460019290612cb8908490614721565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000828152600b6020526040902060010154612d358133611776565b610b2683836132c9565b6001600160a01b0381163314612daf5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016109f0565b61179382826133ce565b6000611720836001600160a01b038416613435565b600081815260156020526040902080546001600160a01b031916331790556117938282613552565b610f8081613691565b612e08826129f9565b612e6b5760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b60648201526084016109f0565b6000828152600a602090815260409091208251610b2692840190613f7d565b612e948383612dce565b612ea160008484846136d1565b610b265760405162461bcd60e51b81526004016109f0906145cd565b600061172083836137de565b612ed38282611727565b61179357612eeb816001600160a01b03166014613816565b612ef6836020613816565b604051602001612f079291906144e4565b60408051601f198184030181529082905262461bcd60e51b82526109f0916004016145ba565b611793828260405180602001604052806000815250612e8a565b612f52848484612b6e565b612f5e848484846136d1565b6115455760405162461bcd60e51b81526004016109f0906145cd565b6060612f85826129f9565b612feb5760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b60648201526084016109f0565b6000828152600a602052604081208054613004906147c6565b80601f0160208091040260200160405190810160405280929190818152602001828054613030906147c6565b801561307d5780601f106130525761010080835404028352916020019161307d565b820191906000526020600020905b81548152906001019060200180831161306057829003601f168201915b50505050509050600061309b60408051602081019091526000815290565b90508051600014156130af575090506108f1565b8151156130e15780826040516020016130c99291906144b5565b604051602081830303815290604052925050506108f1565b612b66846139f8565b60006108ee825490565b6000828152600b60205260409020600101546131108133611776565b610b2683836133ce565b6001600160a01b0382163b6131715760405162461bcd60e51b815260206004820181905260248201527f536166654552433732313a2063616c6c20746f206e6f6e2d636f6e747261637460448201526064016109f0565b600080836001600160a01b03168360405161318c9190614499565b6000604051808303816000865af19150503d80600081146131c9576040519150601f19603f3d011682016040523d82523d6000602084013e6131ce565b606091505b50915091508161322a5760405162461bcd60e51b815260206004820152602160248201527f536166654552433732313a206c6f772d6c6576656c2063616c6c206661696c656044820152601960fa1b60648201526084016109f0565b805115611545578080602001905181019061324591906142ee565b6115455760405162461bcd60e51b815260206004820152602b60248201527f536166654552433732313a204552433230206f7065726174696f6e206469642060448201526a1b9bdd081cdd58d8d9595960aa1b60648201526084016109f0565b6000611720828461474d565b60006117208284614739565b6000611720828461476c565b6132d38282611727565b611793576000828152600b602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561330b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600081815260018301602052604081205461339657508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610e10565b506000610e10565b60006001600160e01b03198216637965db0b60e01b14806108ee57506108ee82613acf565b610b26838383613af4565b6133d88282611727565b15611793576000828152600b602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000818152600183016020526040812054801561354857600061345960018361476c565b855490915060009061346d9060019061476c565b90508181146134ee57600086600001828154811061349b57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050808760000184815481106134cc57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b855486908061350d57634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610e10565b6000915050610e10565b6001600160a01b0382166135a85760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109f0565b6135b1816129f9565b156135fe5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109f0565b61360a600083836133c3565b6001600160a01b0382166000908152600360205260408120805460019290613633908490614721565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b61369a81613bb1565b6000818152600a6020526040902080546136b3906147c6565b159050610f80576000818152600a60205260408120610f8091614001565b60006001600160a01b0384163b156137d357604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061371590339089908890889060040161457d565b602060405180830381600087803b15801561372f57600080fd5b505af192505050801561375f575060408051601f3d908101601f1916820190925261375c91810190614383565b60015b6137b9573d80801561378d576040519150601f19603f3d011682016040523d82523d6000602084013e613792565b606091505b5080516137b15760405162461bcd60e51b81526004016109f0906145cd565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612b66565b506001949350505050565b600082600001828154811061380357634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b6060600061382583600261474d565b613830906002614721565b67ffffffffffffffff81111561385657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613880576020820181803683370190505b509050600360fc1b816000815181106138a957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106138e657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600061390a84600261474d565b613915906001614721565b90505b60018111156139a9576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061395757634e487b7160e01b600052603260045260246000fd5b1a60f81b82828151811061397b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c936139a2816147af565b9050613918565b5083156117205760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016109f0565b6060613a03826129f9565b613a675760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109f0565b6000613a7e60408051602081019091526000815290565b90506000815111613a9e5760405180602001604052806000815250611720565b80613aa884613c58565b604051602001613ab99291906144b5565b6040516020818303038152906040529392505050565b60006001600160e01b0319821663780e9d6360e01b14806108ee57506108ee82613d73565b6001600160a01b038316613b4f57613b4a81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b613b72565b816001600160a01b0316836001600160a01b031614613b7257613b728382613dc3565b6001600160a01b038216613b8e57613b8981613e60565b610b26565b826001600160a01b0316826001600160a01b031614610b2657610b268282613f39565b6000613bbc8261154b565b9050613bca816000846133c3565b613bd5600083612a16565b6001600160a01b0381166000908152600360205260408120805460019290613bfe90849061476c565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b606081613c7d57506040805180820190915260018152600360fc1b60208201526108f1565b8160005b8115613ca75780613c9181614801565b9150613ca09050600a83614739565b9150613c81565b60008167ffffffffffffffff811115613cd057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613cfa576020820181803683370190505b5090505b8415612b6657613d0f60018361476c565b9150613d1c600a8661481c565b613d27906030614721565b60f81b818381518110613d4a57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350613d6c600a86614739565b9450613cfe565b60006001600160e01b031982166380ac58cd60e01b1480613da457506001600160e01b03198216635b5e139f60e01b145b806108ee57506301ffc9a760e01b6001600160e01b03198316146108ee565b60006001613dd0846115c2565b613dda919061476c565b600083815260076020526040902054909150808214613e2d576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090613e729060019061476c565b60008381526009602052604081205460088054939450909284908110613ea857634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110613ed757634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480613f1d57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613f44836115c2565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054613f89906147c6565b90600052602060002090601f016020900481019282613fab5760008555613ff1565b82601f10613fc457805160ff1916838001178555613ff1565b82800160010185558215613ff1579182015b82811115613ff1578251825591602001919060010190613fd6565b50613ffd929150614039565b5090565b50805461400d906147c6565b6000825580601f1061401f5750610f80565b601f016020900490600052602060002090810190610f8091905b5b80821115613ffd576000815560010161403a565b600067ffffffffffffffff808411156140695761406961485c565b604051601f8501601f19908116603f011681019082821181831017156140915761409161485c565b816040528093508581528686860111156140aa57600080fd5b858560208301376000602087830101525050509392505050565b600082601f8301126140d4578081fd5b6117208383356020850161404e565b6000602082840312156140f4578081fd5b813561172081614872565b600080600080600060a08688031215614116578081fd5b853561412181614872565b94506020860135935060408601359250606086013561413f81614887565b9150608086013561414f81614872565b809150509295509295909350565b6000806040838503121561416f578182fd5b823561417a81614872565b9150602083013561418a81614872565b809150509250929050565b6000806000606084860312156141a9578283fd5b83356141b481614872565b925060208401356141c481614872565b929592945050506040919091013590565b600080600080608085870312156141ea578384fd5b84356141f581614872565b9350602085013561420581614872565b925060408501359150606085013567ffffffffffffffff811115614227578182fd5b614233878288016140c4565b91505092959194509250565b60008060408385031215614251578182fd5b823561425c81614872565b9150602083013561418a81614887565b6000806040838503121561427e578182fd5b823561428981614872565b946020939093013593505050565b6000806000606084860312156142ab578283fd5b83356142b681614872565b925060208401359150604084013567ffffffffffffffff8111156142d8578182fd5b6142e4868287016140c4565b9150509250925092565b6000602082840312156142ff578081fd5b815161172081614887565b60006020828403121561431b578081fd5b5035919050565b60008060408385031215614334578182fd5b82359150602083013561418a81614872565b60008060408385031215614358578182fd5b50508035926020909101359150565b600060208284031215614378578081fd5b813561172081614895565b600060208284031215614394578081fd5b815161172081614895565b600080604083850312156143b1578182fd5b823567ffffffffffffffff8111156143c7578283fd5b8301601f810185136143d7578283fd5b6143e68582356020840161404e565b925050602083013561418a81614872565b60008060006060848603121561440b578081fd5b8335925060208401359150604084013561442481614872565b809150509250925092565b60008060008060808587031215614444578182fd5b8435935060208501359250604085013561445d81614872565b9396929550929360600135925050565b60008151808452614485816020860160208601614783565b601f01601f19169290920160200192915050565b600082516144ab818460208701614783565b9190910192915050565b600083516144c7818460208801614783565b8351908301906144db818360208801614783565b01949350505050565b60007f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008252835161451c816017850160208801614783565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161454d816028840160208801614783565b01602801949350505050565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906145b09083018461446d565b9695505050505050565b600060208252611720602083018461446d565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526030908201527f4d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766560408201526f20746865204d696e74657220726f6c6560801b606082015260800190565b60208082526010908201526f2a3930b739b332b9103330b4b632b21760811b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6000821982111561473457614734614830565b500190565b60008261474857614748614846565b500490565b600081600019048311821515161561476757614767614830565b500290565b60008282101561477e5761477e614830565b500390565b60005b8381101561479e578181015183820152602001614786565b838111156115455750506000910152565b6000816147be576147be614830565b506000190190565b6002810460018216806147da57607f821691505b602082108114156147fb57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561481557614815614830565b5060010190565b60008261482b5761482b614846565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610f8057600080fd5b8015158114610f8057600080fd5b6001600160e01b031981168114610f8057600080fdfe9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a264697066735822122071cdde943060f35e5e7e7e5d3805369908039fee2c96798b89cb34c00650c93864736f6c63430008020033000000000000000000000000304cb2d30cb1181e650f8e19fb4a773beac2b6cf000000000000000000000000610923b70faba67dec85300ecd76924e62179700000000000000000000000000610923b70faba67dec85300ecd76924e62179700000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000085350494d5049444100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055350494441000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106103785760003560e01c80639010d07c116101d3578063c87b56dd11610104578063dc16bd43116100a2578063e985e9c51161007c578063e985e9c514610879578063ee1b59e4146108b5578063fa184c49146108bd578063fbe85f06146108d057610378565b8063dc16bd4314610825578063e4e2bfe414610838578063e75722301461084b57610378565b8063d04c6983116100de578063d04c6983146107d7578063d5391393146107ea578063d547741f146107ff578063d96a094a1461081257610378565b8063c87b56dd14610788578063ca15c8731461079b578063cd53d08e146107ae57610378565b8063a36b146211610171578063b14c63c51161014b578063b14c63c51461072c578063b1cb48ef1461074f578063b2ecfad414610762578063b88d4fde1461077557610378565b8063a36b1462146106ec578063aa271e1a1461070c578063b13fbe961461071f57610378565b8063983b2d56116101ad578063983b2d56146106ab578063a1448194146106be578063a217fddf146106d1578063a22cb465146106d957610378565b80639010d07c1461067d57806391d148541461069057806395d89b41146106a357610378565b8063384f58eb116102ad578063571a26a01161024b5780636352211e116102255780636352211e1461063157806370a08231146106445780638832e6e31461065757806389f4c0b11461066a57610378565b8063571a26a014610576578063598647f81461060b57806361a09c971461061e57610378565b806342842e0e1161028757806342842e0e1461051157806342966c6814610524578063451df52e146105375780634f6ccce71461056357610378565b8063384f58eb146104d85780633ca88a2f146104eb57806340c10f19146104fe57610378565b806323b872dd1161031a5780632f2ff15d116102f45780632f2ff15d1461048c5780632f745c591461049f578063331c6587146104b257806336568abe146104c557610378565b806323b872dd14610443578063248a9ca3146104565780632e1a7d4d1461047957610378565b8063095ea7b311610356578063095ea7b3146103e5578063172b099d146103fa57806318160ddd146104285780631ac70f6f1461043057610378565b806301ffc9a71461037d57806306fdde03146103a5578063081812fc146103ba575b600080fd5b61039061038b366004614367565b6108e3565b60405190151581526020015b60405180910390f35b6103ad6108f6565b60405161039c91906145ba565b6103cd6103c836600461430a565b610988565b6040516001600160a01b03909116815260200161039c565b6103f86103f336600461426c565b610a15565b005b61041a61040836600461430a565b60176020526000908152604090205481565b60405190815260200161039c565b60085461041a565b61039061043e36600461430a565b610b2b565b6103f8610451366004614195565b610b7a565b61041a61046436600461430a565b6000908152600b602052604090206001015490565b6103f861048736600461430a565b610bac565b6103f861049a366004614322565b610d5b565b61041a6104ad36600461426c565b610d7d565b6012546103cd906001600160a01b031681565b6103f86104d3366004614322565b610e16565b6011546103cd906001600160a01b031681565b61041a6104f936600461430a565b610e38565b6103f861050c36600461426c565b610ebe565b6103f861051f366004614195565b610eee565b6103f861053236600461430a565b610f09565b6103cd61054536600461430a565b6000908152601960205260409020600201546001600160a01b031690565b61041a61057136600461430a565b610f83565b6105cb61058436600461430a565b6019602052600090815260409020805460018201546002830154600384015460048501546005909501546001600160a01b0394851695939490921692909160ff9091169086565b604080516001600160a01b0397881681526020810196909652939095169284019290925260608301521515608082015260a081019190915260c00161039c565b6103f8610619366004614346565b611024565b6103f861062c36600461439f565b6114e9565b6103cd61063f36600461430a565b61154b565b61041a6106523660046140e3565b6115c2565b6103f8610665366004614297565b611649565b61039061067836600461430a565b61167a565b6103cd61068b366004614346565b611708565b61039061069e366004614322565b611727565b6103ad611752565b6103f86106b93660046140e3565b611761565b6103f86106cc36600461426c565b611797565b61041a600081565b6103f86106e736600461423f565b6117c7565b61041a6106fa36600461430a565b60166020526000908152604090205481565b61039061071a3660046140e3565b611899565b600e546103909060ff1681565b61041a61073a36600461430a565b60009081526019602052604090206003015490565b6103f861075d36600461442f565b6118b3565b61039061077036600461430a565b611a95565b6103f86107833660046141d5565b611acc565b6103ad61079636600461430a565b611afe565b61041a6107a936600461430a565b611b09565b6103cd6107bc36600461430a565b6015602052600090815260409020546001600160a01b031681565b6103f86107e53660046143f7565b611b20565b61041a6000805160206148ac83398151915281565b6103f861080d366004614322565b611c6d565b6103f861082036600461430a565b611c77565b6103f861083336600461430a565b612210565b61039061084636600461430a565b612765565b61085e61085936600461430a565b6127dd565b6040805193845260208401929092529082015260600161039c565b61039061088736600461415d565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61039061285c565b6103f86108cb3660046140ff565b612879565b6103906108de36600461430a565b612920565b60006108ee826129d4565b90505b919050565b606060008054610905906147c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610931906147c6565b801561097e5780601f106109535761010080835404028352916020019161097e565b820191906000526020600020905b81548152906001019060200180831161096157829003601f168201915b5050505050905090565b6000610993826129f9565b6109f95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610a208261154b565b9050806001600160a01b0316836001600160a01b03161415610a8e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016109f0565b336001600160a01b0382161480610aaa5750610aaa8133610887565b610b1c5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109f0565b610b268383612a16565b505050565b600033610b378361154b565b6001600160a01b0316148015610b5f575060008281526019602052604090206004015460ff16155b80156108ee5750506000908152601760205260409020541590565b610b85335b82612a84565b610ba15760405162461bcd60e51b81526004016109f090614699565b610b26838383612b6e565b6002600f541415610bcf5760405162461bcd60e51b81526004016109f0906146ea565b6002600f55610bdd81612920565b610c345760405162461bcd60e51b815260206004820152602260248201527f436f6e646974696f6e7320746f20776974686472617720617265206e6f74206d604482015261195d60f21b60648201526084016109f0565b60008181526019602052604090206003015415610d0857601254600082815260196020526040908190206002810154600390910154915163a9059cbb60e01b81526001600160a01b03918216600482015260248101929092529091169063a9059cbb90604401602060405180830381600087803b158015610cb457600080fd5b505af1158015610cc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cec91906142ee565b610d085760405162461bcd60e51b81526004016109f09061466f565b600090815260196020526040812080546001600160a01b0319908116825560018083018490556002830180549092169091556003820183905560048201805460ff19169055600590910191909155600f55565b610d658282612d19565b6000828152600c60205260409020610b2690826129bf565b6000610d88836115c2565b8210610dea5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109f0565b506001600160a01b03821660009081526006602090815260408083208484529091529020545b92915050565b610e208282612d3f565b6000828152600c60205260409020610b269082612db9565b60008181526019602052604081206004015460ff16158015610e67575060008281526017602052604090205415155b8015610e80575060008281526017602052604090205415155b8015610e9c575030610e9183610988565b6001600160a01b0316145b15610eb657506000818152601760205260409020546108f1565b5060006108f1565b6060610ec861285c565b610ee45760405162461bcd60e51b81526004016109f09061461f565b610b268383612dce565b610b2683838360405180602001604052806000815250611acc565b610f1233610b7f565b610f775760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b60648201526084016109f0565b610f8081612df6565b50565b6000610f8e60085490565b8210610ff15760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016109f0565b6008828154811061101257634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6002600f5414156110475760405162461bcd60e51b81526004016109f0906146ea565b6002600f55333b1561108f5760405162461bcd60e51b81526020600482015260116024820152704e6f20736372697074206b69646469657360781b60448201526064016109f0565b60008281526019602052604090206004015460ff166110f05760405162461bcd60e51b815260206004820152601760248201527f4e6f206f70656e65642061756374696f6e20666f756e6400000000000000000060448201526064016109f0565b306110fa83610988565b6001600160a01b0316146111505760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f7420636f6d706c657465207468652061756374696f6e000000000060448201526064016109f0565b6000828152601960205260409020600101544211156111aa5760405162461bcd60e51b815260206004820152601660248201527520bab1ba34b7b71030b63932b0b23c9032b73232b21760511b60448201526064016109f0565b600082815260196020526040902060030154811161120a5760405162461bcd60e51b815260206004820152601e60248201527f546865726520616c7265616479206973206120686967686572206269642e000060448201526064016109f0565b60006112158361154b565b9050336001600160a01b03821614156112965760405162461bcd60e51b815260206004820152603860248201527f4552433732315350494d504944413a20546865206f776e65722063616e6e6f7460448201527f2062696420686973206f776e20636f6c6c65637469626c65000000000000000060648201526084016109f0565b600083815260196020526040902060030154156113c957601254600084815260196020526040908190206002810154600390910154915163a9059cbb60e01b81526001600160a01b03918216600482015260248101929092529091169063a9059cbb90604401602060405180830381600087803b15801561131657600080fd5b505af115801561132a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061134e91906142ee565b61136a5760405162461bcd60e51b81526004016109f09061466f565b600083815260196020908152604091829020600281015460039091015483516001600160a01b039092168252918101919091527fbb28353e4598c3b9199101a66e0989549b659a59a54d2c27fbb183f1932c8e6d910160405180910390a15b6000838152601960205260409081902060020180546001600160a01b0319163390811790915560125491516323b872dd60e01b81526001600160a01b0392909216916323b872dd916114219130908790600401614559565b602060405180830381600087803b15801561143b57600080fd5b505af115801561144f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147391906142ee565b61148f5760405162461bcd60e51b81526004016109f09061466f565b600083815260196020908152604091829020600301849055815184815290810185905233917fdafc4a123c6bb3b49dd38a0cba299808581a0126a37248a5f1102d5e5fa06337910160405180910390a250506001600f5550565b60606114f361285c565b61150f5760405162461bcd60e51b81526004016109f09061461f565b60005b611520600d80546001019055565b50600d5461152d816129f9565b6115125761153b8382612dce565b6115458185612dff565b50505050565b6000818152600260205260408120546001600160a01b0316806108ee5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016109f0565b60006001600160a01b03821661162d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016109f0565b506001600160a01b031660009081526003602052604090205490565b606061165361285c565b61166f5760405162461bcd60e51b81526004016109f09061461f565b611545848484612e8a565b6000333b15801561169c575060008281526019602052604090206004015460ff165b80156116b957506000828152601960205260409020600101544211155b80156116df57506116c98261154b565b6001600160a01b0316336001600160a01b031614155b80156116fb5750306116f083610988565b6001600160a01b0316145b15610eb6575060016108f1565b6000828152600c602052604081206117209083612ebd565b9392505050565b6000918252600b602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060018054610905906147c6565b6000805160206148ac83398151915261177b81335b612ec9565b6117936000805160206148ac83398151915283610d5b565b5050565b60606117a161285c565b6117bd5760405162461bcd60e51b81526004016109f09061461f565b610b268383612f2d565b6001600160a01b0382163314156118205760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109f0565b3360008181526005602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161188d911515815260200190565b60405180910390a35050565b60006108ee6000805160206148ac83398151915283611727565b600084815260176020526040902054156119445760405162461bcd60e51b815260206004820152604660248201527f4552433732315350494d504944413a205468652073656c6563746564204e465460448201527f206973206f70656e20666f722073616c652c2063616e6e6f74206265206175636064820152651d1a5bdb995960d21b608482015260a4016109f0565b60008481526019602052604090206004015460ff16156119cc5760405162461bcd60e51b815260206004820152603760248201527f4552433732315350494d504944413a205468652073656c6563746564204e465460448201527f20616c72656164792068617320616e2061756374696f6e00000000000000000060648201526084016109f0565b336119d68561154b565b6001600160a01b031614611a455760405162461bcd60e51b815260206004820152603060248201527f4552433732315350494d504944413a204f6e6c79206f776e65722063616e206160448201526f756374696f6e2074686973206974656d60801b60648201526084016109f0565b600084815260196020526040902080546001600160a01b0319166001600160a01b0384161781556001808201859055600582018390556004909101805460ff191690911790556115453085610a15565b600033611aa18361154b565b6001600160a01b03161480156108ee57505060009081526019602052604090206004015460ff161590565b611ad63383612a84565b611af25760405162461bcd60e51b81526004016109f090614699565b61154584848484612f47565b60606108ee82612f7a565b6000818152600c602052604081206108ee906130ea565b33611b2a8461154b565b6001600160a01b031614611b965760405162461bcd60e51b815260206004820152602d60248201527f4552433732315350494d504944413a204f6e6c79206f776e65722063616e207360448201526c656c6c2074686973206974656d60981b60648201526084016109f0565b60008381526019602052604090206004015460ff1615611c1e5760405162461bcd60e51b815260206004820152603f60248201527f4552433732315350494d504944413a2043616e6e6f742073656c6c20616e206960448201527f74656d2077686963682068617320616e206163746976652061756374696f6e0060648201526084016109f0565b60008381526017602052604090208290558115610b2657611c3f3084610a15565b600083815260186020526040902080546001600160a01b0383166001600160a01b0319909116179055505050565b610e2082826130f4565b6002600f541415611c9a5760405162461bcd60e51b81526004016109f0906146ea565b6002600f5560008181526019602052604090206004015460ff16158015611cce575060008181526017602052604090205415155b611d325760405162461bcd60e51b815260206004820152602f60248201527f4552433732315350494d504944413a2054686520636f6c6c65637469626c652060448201526e6973206e6f7420666f722073616c6560881b60648201526084016109f0565b6000611d3d8261154b565b9050336001600160a01b0382161415611dbe5760405162461bcd60e51b815260206004820152603960248201527f4552433732315350494d504944413a205468652073656c6c65722063616e6e6f60448201527f742062757920686973206f776e20636f6c6c65637469626c650000000000000060648201526084016109f0565b611e16306323b872dd60e01b833386604051602401611ddf93929190614559565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261311a565b6013546000838152601760205260408120549091611e4191606491611e3b91906132a5565b906132b1565b60145460008581526017602052604081205492935091611e6791606491611e3b916132a5565b60008581526017602052604081205491925090611e90908390611e8a90866132bd565b906132bd565b601254600087815260186020526040908190205490516323b872dd60e01b81529293506001600160a01b03918216926323b872dd92611ed89233929116908690600401614559565b602060405180830381600087803b158015611ef257600080fd5b505af1158015611f06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f2a91906142ee565b611f465760405162461bcd60e51b81526004016109f09061466f565b811561200057601254600086815260156020526040908190205490516323b872dd60e01b81526001600160a01b03928316926323b872dd92611f92923392909116908790600401614559565b602060405180830381600087803b158015611fac57600080fd5b505af1158015611fc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fe491906142ee565b6120005760405162461bcd60e51b81526004016109f09061466f565b82156120ad576012546010546040516323b872dd60e01b81526001600160a01b03928316926323b872dd9261203f923392909116908890600401614559565b602060405180830381600087803b15801561205957600080fd5b505af115801561206d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061209191906142ee565b6120ad5760405162461bcd60e51b81526004016109f09061466f565b336001600160a01b0316846001600160a01b0316867f88863d5e20f64464b554931394e2e4b6f09c10015147215bf26b3ba5070acebe601760008a81526020019081526020016000205460405161210691815260200190565b60405180910390a4600085815260176020908152604091829020546013548351918252918101919091529081018490526001600160a01b0385169086907fef7a63d352d8b0f42e35d7f8bd277ba75ba2ff721a50eaad4c62f1ee6561d5eb9060600160405180910390a3600085815260176020908152604091829020546014548351918252918101919091529081018390526001600160a01b0385169086907f69c21e0288fa2ee397e158571d58b093897385aaa1ccb8deacd82fc0e17a08bd9060600160405180910390a3505050600091825250601760209081526040808320805460168452828520558390556018909152902080546001600160a01b03191690556001600f55565b6002600f5414156122335760405162461bcd60e51b81526004016109f0906146ea565b6002600f5561224181612765565b61227f5760405162461bcd60e51b815260206004820152600f60248201526e43616e6e6f742066696e616c697a6560881b60448201526064016109f0565b600081815260196020526040902060030154156126b457600081815260196020526040812060028101546013546003909201546001600160a01b0390911692916122d091606491611e3b91906132a5565b601454600085815260196020526040812060030154929350916122f991606491611e3b916132a5565b6000858152601960205260408120600301549192509061231f908390611e8a90866132bd565b6012546000878152601960205260409081902054905163a9059cbb60e01b81526001600160a01b03918216600482015260248101849052929350169063a9059cbb90604401602060405180830381600087803b15801561237e57600080fd5b505af1158015612392573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123b691906142ee565b6123d25760405162461bcd60e51b81526004016109f09061466f565b8115612489576012546000868152601560205260409081902054905163a9059cbb60e01b81526001600160a01b0391821660048201526024810185905291169063a9059cbb90604401602060405180830381600087803b15801561243557600080fd5b505af1158015612449573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061246d91906142ee565b6124895760405162461bcd60e51b81526004016109f09061466f565b82156125335760125460105460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810186905291169063a9059cbb90604401602060405180830381600087803b1580156124df57600080fd5b505af11580156124f3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061251791906142ee565b6125335760405162461bcd60e51b81526004016109f09061466f565b600085815260196020908152604091829020805460039091015492519283526001600160a01b038781169391169188917f88863d5e20f64464b554931394e2e4b6f09c10015147215bf26b3ba5070acebe910160405180910390a460008581526019602090815260409182902080546003909101546014548451918252928101929092529181018490526001600160a01b039091169086907f69c21e0288fa2ee397e158571d58b093897385aaa1ccb8deacd82fc0e17a08bd9060600160405180910390a360008581526019602090815260409182902080546003909101546013548451918252928101929092529181018590526001600160a01b039091169086907fef7a63d352d8b0f42e35d7f8bd277ba75ba2ff721a50eaad4c62f1ee6561d5eb9060600160405180910390a3600061266d8661154b565b9050612690306323b872dd60e01b83888a604051602401611ddf93929190614559565b50505060008381526019602090815260408083206003015460169092529091205550505b600081815260196020908152604091829020600281015460039091015483516001600160a01b039092168252918101919091527fdaec4582d5d9595688c8c98545fdd1c696d41c6aeaeb636737e84ed2f5c00eda910160405180910390a1600090815260196020526040812080546001600160a01b0319908116825560018083018490556002830180549092169091556003820183905560048201805460ff19169055600590910191909155600f55565b60008181526019602052604081206004015460ff16801561279757506000828152601960205260409020600101544210155b80156116fb5750600082815260196020526040902060058101546003909101541015806116fb5750600082815260196020526040902060030154610eb6575060016108f1565b600081815260176020526040812054819081901561280e575050506000818152601760205260408120549080612855565b600084815260196020526040902060030154156128405750505060008181526019602052604081206003015481612855565b50505060008181526016602052604081205481905b9193909250565b600e5460009060ff1680612874575061287433611899565b905090565b6011546001600160a01b031633146128d35760405162461bcd60e51b815260206004820152601f60248201527f4f6e6c7920636f6e7472616374206f776e65722063616e20646f20746869730060448201526064016109f0565b601080546001600160a01b039687166001600160a01b031991821617909155601394909455601492909255600e805491151560ff1990921691909117905560128054919093169116179055565b60008181526019602052604081206004015460ff1680156116fb5750600082815260196020526040902060010154421080159061296d575060008281526019602052604090206003015415155b801561298f575060008281526019602052604090206005810154600390910154105b806116fb57503061299f83610988565b6001600160a01b031614610eb6575060016108f1565b61179382826132c9565b6000611720836001600160a01b03841661334f565b60006001600160e01b03198216635a05180f60e01b14806108ee57506108ee8261339e565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612a4b8261154b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612a8f826129f9565b612af05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109f0565b6000612afb8361154b565b9050806001600160a01b0316846001600160a01b03161480612b365750836001600160a01b0316612b2b84610988565b6001600160a01b0316145b80612b6657506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316612b818261154b565b6001600160a01b031614612be95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016109f0565b6001600160a01b038216612c4b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109f0565b612c568383836133c3565b612c61600082612a16565b6001600160a01b0383166000908152600360205260408120805460019290612c8a90849061476c565b90915550506001600160a01b0382166000908152600360205260408120805460019290612cb8908490614721565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000828152600b6020526040902060010154612d358133611776565b610b2683836132c9565b6001600160a01b0381163314612daf5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016109f0565b61179382826133ce565b6000611720836001600160a01b038416613435565b600081815260156020526040902080546001600160a01b031916331790556117938282613552565b610f8081613691565b612e08826129f9565b612e6b5760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b60648201526084016109f0565b6000828152600a602090815260409091208251610b2692840190613f7d565b612e948383612dce565b612ea160008484846136d1565b610b265760405162461bcd60e51b81526004016109f0906145cd565b600061172083836137de565b612ed38282611727565b61179357612eeb816001600160a01b03166014613816565b612ef6836020613816565b604051602001612f079291906144e4565b60408051601f198184030181529082905262461bcd60e51b82526109f0916004016145ba565b611793828260405180602001604052806000815250612e8a565b612f52848484612b6e565b612f5e848484846136d1565b6115455760405162461bcd60e51b81526004016109f0906145cd565b6060612f85826129f9565b612feb5760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b60648201526084016109f0565b6000828152600a602052604081208054613004906147c6565b80601f0160208091040260200160405190810160405280929190818152602001828054613030906147c6565b801561307d5780601f106130525761010080835404028352916020019161307d565b820191906000526020600020905b81548152906001019060200180831161306057829003601f168201915b50505050509050600061309b60408051602081019091526000815290565b90508051600014156130af575090506108f1565b8151156130e15780826040516020016130c99291906144b5565b604051602081830303815290604052925050506108f1565b612b66846139f8565b60006108ee825490565b6000828152600b60205260409020600101546131108133611776565b610b2683836133ce565b6001600160a01b0382163b6131715760405162461bcd60e51b815260206004820181905260248201527f536166654552433732313a2063616c6c20746f206e6f6e2d636f6e747261637460448201526064016109f0565b600080836001600160a01b03168360405161318c9190614499565b6000604051808303816000865af19150503d80600081146131c9576040519150601f19603f3d011682016040523d82523d6000602084013e6131ce565b606091505b50915091508161322a5760405162461bcd60e51b815260206004820152602160248201527f536166654552433732313a206c6f772d6c6576656c2063616c6c206661696c656044820152601960fa1b60648201526084016109f0565b805115611545578080602001905181019061324591906142ee565b6115455760405162461bcd60e51b815260206004820152602b60248201527f536166654552433732313a204552433230206f7065726174696f6e206469642060448201526a1b9bdd081cdd58d8d9595960aa1b60648201526084016109f0565b6000611720828461474d565b60006117208284614739565b6000611720828461476c565b6132d38282611727565b611793576000828152600b602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561330b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600081815260018301602052604081205461339657508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610e10565b506000610e10565b60006001600160e01b03198216637965db0b60e01b14806108ee57506108ee82613acf565b610b26838383613af4565b6133d88282611727565b15611793576000828152600b602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000818152600183016020526040812054801561354857600061345960018361476c565b855490915060009061346d9060019061476c565b90508181146134ee57600086600001828154811061349b57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050808760000184815481106134cc57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b855486908061350d57634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610e10565b6000915050610e10565b6001600160a01b0382166135a85760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109f0565b6135b1816129f9565b156135fe5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109f0565b61360a600083836133c3565b6001600160a01b0382166000908152600360205260408120805460019290613633908490614721565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b61369a81613bb1565b6000818152600a6020526040902080546136b3906147c6565b159050610f80576000818152600a60205260408120610f8091614001565b60006001600160a01b0384163b156137d357604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061371590339089908890889060040161457d565b602060405180830381600087803b15801561372f57600080fd5b505af192505050801561375f575060408051601f3d908101601f1916820190925261375c91810190614383565b60015b6137b9573d80801561378d576040519150601f19603f3d011682016040523d82523d6000602084013e613792565b606091505b5080516137b15760405162461bcd60e51b81526004016109f0906145cd565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612b66565b506001949350505050565b600082600001828154811061380357634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b6060600061382583600261474d565b613830906002614721565b67ffffffffffffffff81111561385657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613880576020820181803683370190505b509050600360fc1b816000815181106138a957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106138e657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600061390a84600261474d565b613915906001614721565b90505b60018111156139a9576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061395757634e487b7160e01b600052603260045260246000fd5b1a60f81b82828151811061397b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c936139a2816147af565b9050613918565b5083156117205760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016109f0565b6060613a03826129f9565b613a675760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109f0565b6000613a7e60408051602081019091526000815290565b90506000815111613a9e5760405180602001604052806000815250611720565b80613aa884613c58565b604051602001613ab99291906144b5565b6040516020818303038152906040529392505050565b60006001600160e01b0319821663780e9d6360e01b14806108ee57506108ee82613d73565b6001600160a01b038316613b4f57613b4a81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b613b72565b816001600160a01b0316836001600160a01b031614613b7257613b728382613dc3565b6001600160a01b038216613b8e57613b8981613e60565b610b26565b826001600160a01b0316826001600160a01b031614610b2657610b268282613f39565b6000613bbc8261154b565b9050613bca816000846133c3565b613bd5600083612a16565b6001600160a01b0381166000908152600360205260408120805460019290613bfe90849061476c565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b606081613c7d57506040805180820190915260018152600360fc1b60208201526108f1565b8160005b8115613ca75780613c9181614801565b9150613ca09050600a83614739565b9150613c81565b60008167ffffffffffffffff811115613cd057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613cfa576020820181803683370190505b5090505b8415612b6657613d0f60018361476c565b9150613d1c600a8661481c565b613d27906030614721565b60f81b818381518110613d4a57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350613d6c600a86614739565b9450613cfe565b60006001600160e01b031982166380ac58cd60e01b1480613da457506001600160e01b03198216635b5e139f60e01b145b806108ee57506301ffc9a760e01b6001600160e01b03198316146108ee565b60006001613dd0846115c2565b613dda919061476c565b600083815260076020526040902054909150808214613e2d576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090613e729060019061476c565b60008381526009602052604081205460088054939450909284908110613ea857634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110613ed757634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480613f1d57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613f44836115c2565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054613f89906147c6565b90600052602060002090601f016020900481019282613fab5760008555613ff1565b82601f10613fc457805160ff1916838001178555613ff1565b82800160010185558215613ff1579182015b82811115613ff1578251825591602001919060010190613fd6565b50613ffd929150614039565b5090565b50805461400d906147c6565b6000825580601f1061401f5750610f80565b601f016020900490600052602060002090810190610f8091905b5b80821115613ffd576000815560010161403a565b600067ffffffffffffffff808411156140695761406961485c565b604051601f8501601f19908116603f011681019082821181831017156140915761409161485c565b816040528093508581528686860111156140aa57600080fd5b858560208301376000602087830101525050509392505050565b600082601f8301126140d4578081fd5b6117208383356020850161404e565b6000602082840312156140f4578081fd5b813561172081614872565b600080600080600060a08688031215614116578081fd5b853561412181614872565b94506020860135935060408601359250606086013561413f81614887565b9150608086013561414f81614872565b809150509295509295909350565b6000806040838503121561416f578182fd5b823561417a81614872565b9150602083013561418a81614872565b809150509250929050565b6000806000606084860312156141a9578283fd5b83356141b481614872565b925060208401356141c481614872565b929592945050506040919091013590565b600080600080608085870312156141ea578384fd5b84356141f581614872565b9350602085013561420581614872565b925060408501359150606085013567ffffffffffffffff811115614227578182fd5b614233878288016140c4565b91505092959194509250565b60008060408385031215614251578182fd5b823561425c81614872565b9150602083013561418a81614887565b6000806040838503121561427e578182fd5b823561428981614872565b946020939093013593505050565b6000806000606084860312156142ab578283fd5b83356142b681614872565b925060208401359150604084013567ffffffffffffffff8111156142d8578182fd5b6142e4868287016140c4565b9150509250925092565b6000602082840312156142ff578081fd5b815161172081614887565b60006020828403121561431b578081fd5b5035919050565b60008060408385031215614334578182fd5b82359150602083013561418a81614872565b60008060408385031215614358578182fd5b50508035926020909101359150565b600060208284031215614378578081fd5b813561172081614895565b600060208284031215614394578081fd5b815161172081614895565b600080604083850312156143b1578182fd5b823567ffffffffffffffff8111156143c7578283fd5b8301601f810185136143d7578283fd5b6143e68582356020840161404e565b925050602083013561418a81614872565b60008060006060848603121561440b578081fd5b8335925060208401359150604084013561442481614872565b809150509250925092565b60008060008060808587031215614444578182fd5b8435935060208501359250604085013561445d81614872565b9396929550929360600135925050565b60008151808452614485816020860160208601614783565b601f01601f19169290920160200192915050565b600082516144ab818460208701614783565b9190910192915050565b600083516144c7818460208801614783565b8351908301906144db818360208801614783565b01949350505050565b60007f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008252835161451c816017850160208801614783565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161454d816028840160208801614783565b01602801949350505050565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906145b09083018461446d565b9695505050505050565b600060208252611720602083018461446d565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526030908201527f4d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766560408201526f20746865204d696e74657220726f6c6560801b606082015260800190565b60208082526010908201526f2a3930b739b332b9103330b4b632b21760811b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6000821982111561473457614734614830565b500190565b60008261474857614748614846565b500490565b600081600019048311821515161561476757614767614830565b500290565b60008282101561477e5761477e614830565b500390565b60005b8381101561479e578181015183820152602001614786565b838111156115455750506000910152565b6000816147be576147be614830565b506000190190565b6002810460018216806147da57607f821691505b602082108114156147fb57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561481557614815614830565b5060010190565b60008261482b5761482b614846565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610f8057600080fd5b8015158114610f8057600080fd5b6001600160e01b031981168114610f8057600080fdfe9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a264697066735822122071cdde943060f35e5e7e7e5d3805369908039fee2c96798b89cb34c00650c93864736f6c63430008020033

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

000000000000000000000000304cb2d30cb1181e650f8e19fb4a773beac2b6cf000000000000000000000000610923b70faba67dec85300ecd76924e62179700000000000000000000000000610923b70faba67dec85300ecd76924e62179700000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000085350494d5049444100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055350494441000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _payment_token (address): 0x304cB2d30cb1181e650F8e19Fb4a773beaC2B6cF
Arg [1] : _owner (address): 0x610923B70Faba67Dec85300eCD76924e62179700
Arg [2] : _admin (address): 0x610923B70Faba67Dec85300eCD76924e62179700
Arg [3] : _commissionRate (uint256): 10
Arg [4] : _royaltiesCommissionRate (uint256): 10
Arg [5] : name (string): SPIMPIDA
Arg [6] : symbol (string): SPIDA
Arg [7] : _anyoneCanMint (bool): True

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 000000000000000000000000304cb2d30cb1181e650f8e19fb4a773beac2b6cf
Arg [1] : 000000000000000000000000610923b70faba67dec85300ecd76924e62179700
Arg [2] : 000000000000000000000000610923b70faba67dec85300ecd76924e62179700
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [9] : 5350494d50494441000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [11] : 5350494441000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

85043:16544:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71749:237;;;;;;:::i;:::-;;:::i;:::-;;;13482:14:1;;13475:22;13457:41;;13445:2;13430:18;71749:237:0;;;;;;;;20864:100;;;:::i;:::-;;;;;;;:::i;22423:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;10188:32:1;;;10170:51;;10158:2;10143:18;22423:221:0;10125:102:1;21946:411:0;;;;;;:::i;:::-;;:::i;:::-;;85906:47;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;13655:25:1;;;13643:2;13628:18;85906:47:0;13610:76:1;34372:113:0;34460:10;:17;34372:113;;91739:175;;;;;;:::i;:::-;;:::i;23313:339::-;;;;;;:::i;:::-;;:::i;50090:123::-;;;;;;:::i;:::-;50156:7;50183:12;;;:6;:12;;;;;:22;;;;50090:123;96123:458;;;;;;:::i;:::-;;:::i;67454:196::-;;;;;;:::i;:::-;;:::i;34040:256::-;;;;;;:::i;:::-;;:::i;85383:26::-;;;;;-1:-1:-1;;;;;85383:26:0;;;68039:205;;;;;;:::i;:::-;;:::i;85301:29::-;;;;;-1:-1:-1;;;;;85301:29:0;;;89576:301;;;;;;:::i;:::-;;:::i;70705:98::-;;;;;;:::i;:::-;;:::i;23723:185::-;;;;;;:::i;:::-;;:::i;42033:245::-;;;;;;:::i;:::-;;:::i;99316:135::-;;;;;;:::i;:::-;99377:15;99412:17;;;:8;:17;;;;;:31;;;-1:-1:-1;;;;;99412:31:0;;99316:135;34562:233;;;;;;:::i;:::-;;:::i;86970:43::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;86970:43:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11112:15:1;;;11094:34;;11159:2;11144:18;;11137:34;;;;11207:15;;;;11187:18;;;11180:43;;;;11254:2;11239:18;;11232:34;11310:14;11303:22;11297:3;11282:19;;11275:51;11074:3;11342:19;;11335:35;;;;11043:3;11028:19;86970:43:0;11010:366:1;93536:1774:0;;;;;;:::i;:::-;;:::i;70408:289::-;;;;;;:::i;:::-;;:::i;20558:239::-;;;;;;:::i;:::-;;:::i;20288:208::-;;;;;;:::i;:::-;;:::i;71050:133::-;;;;;;:::i;:::-;;:::i;92736:405::-;;;;;;:::i;:::-;;:::i;66909:145::-;;;;;;:::i;:::-;;:::i;48975:139::-;;;;;;:::i;:::-;;:::i;21033:104::-;;;:::i;71994:115::-;;;;;;:::i;:::-;;:::i;70811:106::-;;;;;;:::i;:::-;;:::i;48066:49::-;;48111:4;48066:49;;22716:295;;;;;;:::i;:::-;;:::i;85744:42::-;;;;;;:::i;:::-;;;;;;;;;;;;;;70925:117;;;;;;:::i;:::-;;:::i;70117:25::-;;;;;;;;;99459:121;;;;;;:::i;:::-;99517:7;99544:17;;;:8;:17;;;;;:28;;;;99459:121;91976:752;;;;;;:::i;:::-;;:::i;88187:144::-;;;;;;:::i;:::-;;:::i;23979:328::-;;;;;;:::i;:::-;;:::i;71545:196::-;;;;;;:::i;:::-;;:::i;67228:134::-;;;;;;:::i;:::-;;:::i;85651:43::-;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;85651:43:0;;;88377:750;;;;;;:::i;:::-;;:::i;70001:62::-;;-1:-1:-1;;;;;;;;;;;70001:62:0;;67743:201;;;;;;:::i;:::-;;:::i;89904:1827::-;;;;;;:::i;:::-;;:::i;97096:2184::-;;;;;;:::i;:::-;;:::i;96589:428::-;;;;;;:::i;:::-;;:::i;89269:299::-;;;;;;:::i;:::-;;:::i;:::-;;;;31841:25:1;;;31897:2;31882:18;;31875:34;;;;31925:18;;;31918:34;31829:2;31814:18;89269:299:0;31796:162:1;23082:164:0;;;;;;:::i;:::-;-1:-1:-1;;;;;23203:25:0;;;23179:4;23203:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;23082:164;72117:110;;;:::i;101128:454::-;;;;;;:::i;:::-;;:::i;95517:540::-;;;;;;:::i;:::-;;:::i;71749:237::-;71913:4;71942:36;71966:11;71942:23;:36::i;:::-;71935:43;;71749:237;;;;:::o;20864:100::-;20918:13;20951:5;20944:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20864:100;:::o;22423:221::-;22499:7;22527:16;22535:7;22527;:16::i;:::-;22519:73;;;;-1:-1:-1;;;22519:73:0;;23832:2:1;22519:73:0;;;23814:21:1;23871:2;23851:18;;;23844:30;23910:34;23890:18;;;23883:62;-1:-1:-1;;;23961:18:1;;;23954:42;24013:19;;22519:73:0;;;;;;;;;-1:-1:-1;22612:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;22612:24:0;;22423:221::o;21946:411::-;22027:13;22043:23;22058:7;22043:14;:23::i;:::-;22027:39;;22091:5;-1:-1:-1;;;;;22085:11:0;:2;-1:-1:-1;;;;;22085:11:0;;;22077:57;;;;-1:-1:-1;;;22077:57:0;;26635:2:1;22077:57:0;;;26617:21:1;26674:2;26654:18;;;26647:30;26713:34;26693:18;;;26686:62;-1:-1:-1;;;26764:18:1;;;26757:31;26805:19;;22077:57:0;26607:223:1;22077:57:0;15711:10;-1:-1:-1;;;;;22169:21:0;;;;:62;;-1:-1:-1;22194:37:0;22211:5;15711:10;22218:12;15631:98;22194:37;22147:168;;;;-1:-1:-1;;;22147:168:0;;20094:2:1;22147:168:0;;;20076:21:1;20133:2;20113:18;;;20106:30;20172:34;20152:18;;;20145:62;20243:26;20223:18;;;20216:54;20287:19;;22147:168:0;20066:246:1;22147:168:0;22328:21;22337:2;22341:7;22328:8;:21::i;:::-;21946:411;;;:::o;91739:175::-;91797:4;91840:10;91822:16;91830:7;91822;:16::i;:::-;-1:-1:-1;;;;;91822:28:0;;:55;;;;-1:-1:-1;91855:17:0;;;;:8;:17;;;;;:22;;;;;91854:23;91822:55;:83;;;;-1:-1:-1;;91881:21:0;;;;:12;:21;;;;;;:24;;91739:175::o;23313:339::-;23508:41;15711:10;23527:12;23541:7;23508:18;:41::i;:::-;23500:103;;;;-1:-1:-1;;;23500:103:0;;;;;;;:::i;:::-;23616:28;23626:4;23632:2;23636:7;23616:9;:28::i;96123:458::-;74159:1;74757:7;;:19;;74749:63;;;;-1:-1:-1;;;74749:63:0;;;;;;;:::i;:::-;74159:1;74890:7;:18;96199:20:::1;96211:7:::0;96199:11:::1;:20::i;:::-;96191:67;;;::::0;-1:-1:-1;;;96191:67:0;;29393:2:1;96191:67:0::1;::::0;::::1;29375:21:1::0;29432:2;29412:18;;;29405:30;29471:34;29451:18;;;29444:62;-1:-1:-1;;;29522:18:1;;;29515:32;29564:19;;96191:67:0::1;29365:224:1::0;96191:67:0::1;96358:1;96327:17:::0;;;:8:::1;:17;::::0;;;;:28:::1;;::::0;:32;96323:179:::1;;96384:13;::::0;::::1;96407:17:::0;;;:8:::1;:17;::::0;;;;;;:31:::1;::::0;::::1;::::0;96440:28:::1;::::0;;::::1;::::0;96384:85;;-1:-1:-1;;;96384:85:0;;-1:-1:-1;;;;;96407:31:0;;::::1;96384:85;::::0;::::1;10638:51:1::0;10705:18;;;10698:34;;;;96384:13:0;;::::1;::::0;:22:::1;::::0;10611:18:1;;96384:85:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;96376:114;;;;-1:-1:-1::0;;;96376:114:0::1;;;;;;;:::i;:::-;96554:17;::::0;;;:8:::1;:17;::::0;;;;96547:24;;-1:-1:-1;;;;;;96547:24:0;;::::1;::::0;;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;-1:-1:-1;;96547:24:0::1;::::0;;::::1;::::0;;::::1;::::0;;;;75069:7;:22;96123:458::o;67454:196::-;67570:30;67586:4;67592:7;67570:15;:30::i;:::-;67611:18;;;;:12;:18;;;;;:31;;67634:7;67611:22;:31::i;34040:256::-;34137:7;34173:23;34190:5;34173:16;:23::i;:::-;34165:5;:31;34157:87;;;;-1:-1:-1;;;34157:87:0;;15480:2:1;34157:87:0;;;15462:21:1;15519:2;15499:18;;;15492:30;15558:34;15538:18;;;15531:62;-1:-1:-1;;;15609:18:1;;;15602:41;15660:19;;34157:87:0;15452:233:1;34157:87:0;-1:-1:-1;;;;;;34262:19:0;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;34040:256;;;;;:::o;68039:205::-;68158:33;68177:4;68183:7;68158:18;:33::i;:::-;68202:18;;;;:12;:18;;;;;:34;;68228:7;68202:25;:34::i;89576:301::-;89630:7;89655:17;;;:8;:17;;;;;:22;;;;;89654:23;:50;;;;-1:-1:-1;89703:1:0;89681:21;;;:12;:21;;;;;;:23;;89654:50;:77;;;;-1:-1:-1;89730:1:0;89708:21;;;:12;:21;;;;;;:23;;89654:77;:118;;;;-1:-1:-1;89767:4:0;89735:20;89747:7;89735:11;:20::i;:::-;-1:-1:-1;;;;;89735:37:0;;89654:118;89650:220;;;-1:-1:-1;89796:21:0;;;;:12;:21;;;;;;89789:28;;89650:220;-1:-1:-1;89857:1:0;89850:8;;70705:98;72339:21;72393:10;:8;:10::i;:::-;72371:108;;;;-1:-1:-1;;;72371:108:0;;;;;;;:::i;:::-;70777:18:::1;70783:2;70787:7;70777:5;:18::i;23723:185::-:0;23861:39;23878:4;23884:2;23888:7;23861:39;;;;;;;;;;;;:16;:39::i;42033:245::-;42151:41;15711:10;42170:12;15631:98;42151:41;42143:102;;;;-1:-1:-1;;;42143:102:0;;30156:2:1;42143:102:0;;;30138:21:1;30195:2;30175:18;;;30168:30;30234:34;30214:18;;;30207:62;-1:-1:-1;;;30285:18:1;;;30278:46;30341:19;;42143:102:0;30128:238:1;42143:102:0;42256:14;42262:7;42256:5;:14::i;:::-;42033:245;:::o;34562:233::-;34637:7;34673:30;34460:10;:17;34372:113;;34673:30;34665:5;:38;34657:95;;;;-1:-1:-1;;;34657:95:0;;28216:2:1;34657:95:0;;;28198:21:1;28255:2;28235:18;;;28228:30;28294:34;28274:18;;;28267:62;-1:-1:-1;;;28345:18:1;;;28338:42;28397:19;;34657:95:0;28188:234:1;34657:95:0;34770:10;34781:5;34770:17;;;;;;-1:-1:-1;;;34770:17:0;;;;;;;;;;;;;;;;;34763:24;;34562:233;;;:::o;93536:1774::-;74159:1;74757:7;;:19;;74749:63;;;;-1:-1:-1;;;74749:63:0;;;;;;;:::i;:::-;74159:1;74890:7;:18;93720:10:::1;8083:20:::0;8131:8;93711:54:::1;;;::::0;-1:-1:-1;;;93711:54:0;;26289:2:1;93711:54:0::1;::::0;::::1;26271:21:1::0;26328:2;26308:18;;;26301:30;-1:-1:-1;;;26347:18:1;;;26340:47;26404:18;;93711:54:0::1;26261:167:1::0;93711:54:0::1;93823:17;::::0;;;:8:::1;:17;::::0;;;;:22:::1;;::::0;::::1;;93815:58;;;::::0;-1:-1:-1;;;93815:58:0;;29041:2:1;93815:58:0::1;::::0;::::1;29023:21:1::0;29080:2;29060:18;;;29053:30;29119:25;29099:18;;;29092:53;29162:18;;93815:58:0::1;29013:173:1::0;93815:58:0::1;93955:4;93923:20;93935:7:::0;93923:11:::1;:20::i;:::-;-1:-1:-1::0;;;;;93923:37:0::1;;93915:77;;;::::0;-1:-1:-1;;;93915:77:0;;15124:2:1;93915:77:0::1;::::0;::::1;15106:21:1::0;15163:2;15143:18;;;15136:30;15202:29;15182:18;;;15175:57;15249:18;;93915:77:0::1;15096:177:1::0;93915:77:0::1;94117:17;::::0;;;:8:::1;:17;::::0;;;;:28:::1;;::::0;94098:15:::1;:47;;94076:119;;;::::0;-1:-1:-1;;;94076:119:0;;18557:2:1;94076:119:0::1;::::0;::::1;18539:21:1::0;18596:2;18576:18;;;18569:30;-1:-1:-1;;;18615:18:1;;;18608:52;18677:18;;94076:119:0::1;18529:172:1::0;94076:119:0::1;94313:17;::::0;;;:8:::1;:17;::::0;;;;:28:::1;;::::0;94301:40;::::1;94279:120;;;::::0;-1:-1:-1;;;94279:120:0;;19321:2:1;94279:120:0::1;::::0;::::1;19303:21:1::0;19360:2;19340:18;;;19333:30;19399:32;19379:18;;;19372:60;19449:18;;94279:120:0::1;19293:180:1::0;94279:120:0::1;94412:13;94428:16;94436:7;94428;:16::i;:::-;94412:32:::0;-1:-1:-1;94463:10:0::1;-1:-1:-1::0;;;;;94463:17:0;::::1;;;94455:86;;;::::0;-1:-1:-1;;;94455:86:0;;25864:2:1;94455:86:0::1;::::0;::::1;25846:21:1::0;25903:2;25883:18;;;25876:30;25942:34;25922:18;;;25915:62;26013:26;25993:18;;;25986:54;26057:19;;94455:86:0::1;25836:246:1::0;94455:86:0::1;94656:1;94627:17:::0;;;:8:::1;:17;::::0;;;;:28:::1;;::::0;:30;94623:266:::1;;94682:13;::::0;::::1;94705:17:::0;;;:8:::1;:17;::::0;;;;;;:31:::1;::::0;::::1;::::0;94738:28:::1;::::0;;::::1;::::0;94682:85;;-1:-1:-1;;;94682:85:0;;-1:-1:-1;;;;;94705:31:0;;::::1;94682:85;::::0;::::1;10638:51:1::0;10705:18;;;10698:34;;;;94682:13:0;;::::1;::::0;:22:::1;::::0;10611:18:1;;94682:85:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;94674:114;;;;-1:-1:-1::0;;;94674:114:0::1;;;;;;;:::i;:::-;94815:17;::::0;;;:8:::1;:17;::::0;;;;;;;;:31:::1;::::0;::::1;::::0;94848:28:::1;::::0;;::::1;::::0;94808:69;;-1:-1:-1;;;;;94815:31:0;;::::1;10638:51:1::0;;10705:18;;;10698:34;;;;94808:69:0::1;::::0;10611:18:1;94808:69:0::1;;;;;;;94623:266;94936:17;::::0;;;:8:::1;:17;::::0;;;;;;:31:::1;;:53:::0;;-1:-1:-1;;;;;;94936:53:0::1;94978:10;94936:53:::0;;::::1;::::0;;;95050:13:::1;::::0;:64;;-1:-1:-1;;;95050:64:0;;-1:-1:-1;;;;;95050:13:0;;;::::1;::::0;:26:::1;::::0;:64:::1;::::0;95097:4:::1;::::0;95104:9;;95050:64:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;95042:93;;;;-1:-1:-1::0;;;95042:93:0::1;;;;;;;:::i;:::-;95191:17;::::0;;;:8:::1;:17;::::0;;;;;;;;:28:::1;;:40:::0;;;95249:51;;31560:25:1;;;31601:18;;;31594:34;;;95269:10:0::1;::::0;95249:51:::1;::::0;31533:18:1;95249:51:0::1;;;;;;;-1:-1:-1::0;;74115:1:0;75069:7;:22;-1:-1:-1;93536:1774:0:o;70408:289::-;72339:21;72393:10;:8;:10::i;:::-;72371:108;;;;-1:-1:-1;;;72371:108:0;;;;;;;:::i;:::-;70492:7:::1;70510:118;70526:27;:15;69455:19:::0;;69473:1;69455:19;;;69366:127;70526:27:::1;-1:-1:-1::0;70571:15:0::1;69336:14:::0;70615:11:::1;69336:14:::0;70615:7:::1;:11::i;:::-;70510:118;;70638:13;70644:2;70648;70638:5;:13::i;:::-;70662:27;70675:2;70679:9;70662:12;:27::i;:::-;72490:1;70408:289:::0;;;:::o;20558:239::-;20630:7;20666:16;;;:7;:16;;;;;;-1:-1:-1;;;;;20666:16:0;20701:19;20693:73;;;;-1:-1:-1;;;20693:73:0;;21409:2:1;20693:73:0;;;21391:21:1;21448:2;21428:18;;;21421:30;21487:34;21467:18;;;21460:62;-1:-1:-1;;;21538:18:1;;;21531:39;21587:19;;20693:73:0;21381:231:1;20288:208:0;20360:7;-1:-1:-1;;;;;20388:19:0;;20380:74;;;;-1:-1:-1;;;20380:74:0;;20998:2:1;20380:74:0;;;20980:21:1;21037:2;21017:18;;;21010:30;21076:34;21056:18;;;21049:62;-1:-1:-1;;;21127:18:1;;;21120:40;21177:19;;20380:74:0;20970:232:1;20380:74:0;-1:-1:-1;;;;;;20472:16:0;;;;;:9;:16;;;;;;;20288:208::o;71050:133::-;72339:21;72393:10;:8;:10::i;:::-;72371:108;;;;-1:-1:-1;;;72371:108:0;;;;;;;:::i;:::-;71146:29:::1;71156:2;71160:7;71169:5;71146:9;:29::i;92736:405::-:0;92790:4;92812:10;8083:20;8131:8;;;92811:63;;-1:-1:-1;92852:17:0;;;;:8;:17;;;;;:22;;;;;92811:63;:127;;;;-1:-1:-1;92910:17:0;;;;:8;:17;;;;;:28;;;92891:15;:47;;92811:127;:174;;;;;92969:16;92977:7;92969;:16::i;:::-;-1:-1:-1;;;;;92955:30:0;:10;-1:-1:-1;;;;;92955:30:0;;;92811:174;:228;;;;-1:-1:-1;93034:4:0;93002:20;93014:7;93002:11;:20::i;:::-;-1:-1:-1;;;;;93002:37:0;;92811:228;92807:327;;;-1:-1:-1;93073:4:0;93066:11;;66909:145;66991:7;67018:18;;;:12;:18;;;;;:28;;67040:5;67018:21;:28::i;:::-;67011:35;66909:145;-1:-1:-1;;;66909:145:0:o;48975:139::-;49053:4;49077:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;49077:29:0;;;;;;;;;;;;;;;48975:139::o;21033:104::-;21089:13;21122:7;21115:14;;;;;:::i;71994:115::-;-1:-1:-1;;;;;;;;;;;48557:30:0;70039:24;15711:10;48574:12;48557:10;:30::i;:::-;72070:31:::1;-1:-1:-1::0;;;;;;;;;;;72093:7:0::1;72070:9;:31::i;:::-;71994:115:::0;;:::o;70811:106::-;72339:21;72393:10;:8;:10::i;:::-;72371:108;;;;-1:-1:-1;;;72371:108:0;;;;;;;:::i;:::-;70887:22:::1;70897:2;70901:7;70887:9;:22::i;22716:295::-:0;-1:-1:-1;;;;;22819:24:0;;15711:10;22819:24;;22811:62;;;;-1:-1:-1;;;22811:62:0;;17433:2:1;22811:62:0;;;17415:21:1;17472:2;17452:18;;;17445:30;17511:27;17491:18;;;17484:55;17556:18;;22811:62:0;17405:175:1;22811:62:0;15711:10;22886:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;22886:42:0;;;;;;;;;;:53;;-1:-1:-1;;22886:53:0;;;;;;;:42;-1:-1:-1;;;;;22955:48:0;;22994:8;22955:48;;;;13482:14:1;13475:22;13457:41;;13445:2;13430:18;;13412:92;22955:48:0;;;;;;;;22716:295;;:::o;70925:117::-;70981:4;71005:29;-1:-1:-1;;;;;;;;;;;71026:7:0;71005;:29::i;91976:752::-;92116:21;;;;:12;:21;;;;;;:24;92108:107;;;;-1:-1:-1;;;92108:107:0;;20519:2:1;92108:107:0;;;20501:21:1;20558:2;20538:18;;;20531:30;20597:34;20577:18;;;20570:62;20668:34;20648:18;;;20641:62;-1:-1:-1;;;20719:19:1;;;20712:37;20766:19;;92108:107:0;20491:300:1;92108:107:0;92235:17;;;;:8;:17;;;;;:22;;;;;92234:23;92226:91;;;;-1:-1:-1;;;92226:91:0;;14700:2:1;92226:91:0;;;14682:21:1;14739:2;14719:18;;;14712:30;14778:34;14758:18;;;14751:62;14849:25;14829:18;;;14822:53;14892:19;;92226:91:0;14672:245:1;92226:91:0;92354:10;92336:16;92344:7;92336;:16::i;:::-;-1:-1:-1;;;;;92336:28:0;;92328:89;;;;-1:-1:-1;;;92328:89:0;;30573:2:1;92328:89:0;;;30555:21:1;30612:2;30592:18;;;30585:30;30651:34;30631:18;;;30624:62;-1:-1:-1;;;30702:18:1;;;30695:46;30758:19;;92328:89:0;30545:238:1;92328:89:0;92430:17;;;;:8;:17;;;;;:44;;-1:-1:-1;;;;;;92430:44:0;-1:-1:-1;;;;;92430:44:0;;;;;-1:-1:-1;92485:28:0;;;:43;;;92539:25;;;:41;;;92591:22;;;;:29;;-1:-1:-1;;92591:29:0;;;;;;92687:31;92703:4;92430:17;92687:7;:31::i;88187:144::-;88242:4;88285:10;88267:16;88275:7;88267;:16::i;:::-;-1:-1:-1;;;;;88267:28:0;;:55;;;;-1:-1:-1;;88300:17:0;;;;:8;:17;;;;;:22;;;;;88299:23;;88187:144::o;23979:328::-;24154:41;15711:10;24187:7;24154:18;:41::i;:::-;24146:103;;;;-1:-1:-1;;;24146:103:0;;;;;;;:::i;:::-;24260:39;24274:4;24280:2;24284:7;24293:5;24260:13;:39::i;71545:196::-;71672:13;71710:23;71725:7;71710:14;:23::i;67228:134::-;67300:7;67327:18;;;:12;:18;;;;;:27;;:25;:27::i;88377:750::-;88515:10;88497:16;88505:7;88497;:16::i;:::-;-1:-1:-1;;;;;88497:28:0;;88489:86;;;;-1:-1:-1;;;88489:86:0;;19680:2:1;88489:86:0;;;19662:21:1;19719:2;19699:18;;;19692:30;19758:34;19738:18;;;19731:62;-1:-1:-1;;;19809:18:1;;;19802:43;19862:19;;88489:86:0;19652:235:1;88489:86:0;88652:17;;;;:8;:17;;;;;:22;;;;;88651:23;88643:99;;;;-1:-1:-1;;;88643:99:0;;24245:2:1;88643:99:0;;;24227:21:1;24284:2;24264:18;;;24257:30;24323:34;24303:18;;;24296:62;24394:33;24374:18;;;24367:61;24445:19;;88643:99:0;24217:253:1;88643:99:0;88792:21;;;;:12;:21;;;;;:29;;;88887:7;;88883:235;;88971:31;88987:4;88994:7;88971;:31::i;:::-;89066:17;;;;:8;:17;;;;;:26;;-1:-1:-1;;;;;89066:26:0;;-1:-1:-1;;;;;;89066:26:0;;;;;;88377:750;;;:::o;67743:201::-;67860:31;67877:4;67883:7;67860:16;:31::i;89904:1827::-;74159:1;74757:7;;:19;;74749:63;;;;-1:-1:-1;;;74749:63:0;;;;;;;:::i;:::-;74159:1;74890:7;:18;89999:17:::1;::::0;;;:8:::1;:17;::::0;;;;:22:::1;;::::0;::::1;;89998:23;:50:::0;::::1;;;-1:-1:-1::0;90047:1:0::1;90025:21:::0;;;:12:::1;:21;::::0;;;;;:23;;89998:50:::1;89990:110;;;::::0;-1:-1:-1;;;89990:110:0;;27800:2:1;89990:110:0::1;::::0;::::1;27782:21:1::0;27839:2;27819:18;;;27812:30;27878:34;27858:18;;;27851:62;-1:-1:-1;;;27929:18:1;;;27922:45;27984:19;;89990:110:0::1;27772:237:1::0;89990:110:0::1;90144:13;90160:16;90168:7;90160;:16::i;:::-;90144:32:::0;-1:-1:-1;90197:10:0::1;-1:-1:-1::0;;;;;90197:17:0;::::1;;;90189:87;;;::::0;-1:-1:-1;;;90189:87:0;;17787:2:1;90189:87:0::1;::::0;::::1;17769:21:1::0;17826:2;17806:18;;;17799:30;17865:34;17845:18;;;17838:62;17936:27;17916:18;;;17909:55;17981:19;;90189:87:0::1;17759:247:1::0;90189:87:0::1;90401:104;90420:4;90449:26;;;90477:5;90484:10;90496:7;90426:78;;;;;;;;;;:::i;:::-;;::::0;;-1:-1:-1;;90426:78:0;;::::1;::::0;;;;;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;90426:78:0::1;-1:-1:-1::0;;;;;;90426:78:0;;::::1;::::0;;;::::1;::::0;;;90401:18:::1;:104::i;:::-;90597:14;::::0;90548:20:::1;90571:21:::0;;;:12:::1;:21;::::0;;;;;90548:20;;90571:50:::1;::::0;90617:3:::1;::::0;90571:41:::1;::::0;:21;:25:::1;:41::i;:::-;:45:::0;::::1;:50::i;:::-;90683:23;::::0;90632:22:::1;90657:21:::0;;;:12:::1;:21;::::0;;;;;90548:73;;-1:-1:-1;90632:22:0;90657:59:::1;::::0;90712:3:::1;::::0;90657:50:::1;::::0;:25:::1;:50::i;:59::-;90727:20;90750:21:::0;;;:12:::1;:21;::::0;;;;;90632:84;;-1:-1:-1;90727:20:0;90750:59:::1;::::0;90632:84;;90750:39:::1;::::0;90776:12;90750:25:::1;:39::i;:::-;:43:::0;::::1;:59::i;:::-;90851:13;::::0;::::1;90890:17:::0;;;:8:::1;:17;::::0;;;;;;;90851:71;;-1:-1:-1;;;90851:71:0;;90727:82;;-1:-1:-1;;;;;;90851:13:0;;::::1;::::0;:26:::1;::::0;:71:::1;::::0;90878:10:::1;::::0;90890:17;::::1;::::0;90727:82;;90851:71:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;90843:100;;;;-1:-1:-1::0;;;90843:100:0::1;;;;;;;:::i;:::-;90983:16:::0;;90979:151:::1;;91024:13;::::0;::::1;91063:17:::0;;;:8:::1;:17;::::0;;;;;;;91024:73;;-1:-1:-1;;;91024:73:0;;-1:-1:-1;;;;;91024:13:0;;::::1;::::0;:26:::1;::::0;:73:::1;::::0;91051:10:::1;::::0;91063:17;;::::1;::::0;91082:14;;91024:73:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;91016:102;;;;-1:-1:-1::0;;;91016:102:0::1;;;;;;;:::i;:::-;91167:14:::0;;91163:135:::1;;91206:13;::::0;91245:5:::1;::::0;91206:59:::1;::::0;-1:-1:-1;;;91206:59:0;;-1:-1:-1;;;;;91206:13:0;;::::1;::::0;:26:::1;::::0;:59:::1;::::0;91233:10:::1;::::0;91245:5;;::::1;::::0;91252:12;;91206:59:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;91198:88;;;;-1:-1:-1::0;;;91198:88:0::1;;;;;;;:::i;:::-;91336:10;-1:-1:-1::0;;;;;91315:55:0::1;91329:5;-1:-1:-1::0;;;;;91315:55:0::1;91320:7;91315:55;91348:12;:21;91361:7;91348:21;;;;;;;;;;;;91315:55;;;;13655:25:1::0;;13643:2;13628:18;;13610:76;91315:55:0::1;;;;;;;;91413:21;::::0;;;:12:::1;:21;::::0;;;;;;;;;91436:14:::1;::::0;91386:79;;31841:25:1;;;31882:18;;;31875:34;;;;31925:18;;;31918:34;;;-1:-1:-1;;;;;91386:79:0;::::1;::::0;91397:7;;91386:79:::1;::::0;31829:2:1;31814:18;91386:79:0::1;;;;;;;91505:21;::::0;;;:12:::1;:21;::::0;;;;;;;;;91528:23:::1;::::0;91481:87;;31841:25:1;;;31882:18;;;31875:34;;;;31925:18;;;31918:34;;;-1:-1:-1;;;;;91481:87:0;::::1;::::0;91489:7;;91481:87:::1;::::0;31829:2:1;31814:18;91481:87:0::1;;;;;;;-1:-1:-1::0;;;91600:21:0::1;::::0;;;-1:-1:-1;91600:12:0::1;:21;::::0;;;;;;;;;91581:7:::1;:16:::0;;;;;:40;91661:25;;;91704:8:::1;:17:::0;;;;;91697:24;;-1:-1:-1;;;;;;91697:24:0::1;::::0;;-1:-1:-1;75069:7:0;:22;89904:1827::o;97096:2184::-;74159:1;74757:7;;:19;;74749:63;;;;-1:-1:-1;;;74749:63:0;;;;;;;:::i;:::-;74159:1;74890:7;:18;97179:20:::1;97191:7:::0;97179:11:::1;:20::i;:::-;97171:48;;;::::0;-1:-1:-1;;;97171:48:0;;18213:2:1;97171:48:0::1;::::0;::::1;18195:21:1::0;18252:2;18232:18;;;18225:30;-1:-1:-1;;;18271:18:1;;;18264:45;18326:18;;97171:48:0::1;18185:165:1::0;97171:48:0::1;97265:1;97236:17:::0;;;:8:::1;:17;::::0;;;;:28:::1;;::::0;:30;97232:1876:::1;;97355:30;97388:17:::0;;;:8:::1;:17;::::0;;;;:31:::1;::::0;::::1;::::0;97534:14:::1;::::0;97501:28:::1;::::0;;::::1;::::0;-1:-1:-1;;;;;97388:31:0;;::::1;::::0;97355:30;97501:57:::1;::::0;97554:3:::1;::::0;97501:48:::1;::::0;:28;:32:::1;:48::i;:57::-;97631:23;::::0;97573:22:::1;97598:17:::0;;;:8:::1;:17;::::0;;;;:28:::1;;::::0;97478:80;;-1:-1:-1;97573:22:0;97598:66:::1;::::0;97660:3:::1;::::0;97598:57:::1;::::0;:32:::1;:57::i;:66::-;97679:20;97702:17:::0;;;:8:::1;:17;::::0;;;;:28:::1;;::::0;97573:91;;-1:-1:-1;97679:20:0;97702:66:::1;::::0;97573:91;;97702:46:::1;::::0;97735:12;97702:32:::1;:46::i;:66::-;97818:13;::::0;::::1;97841:17:::0;;;:8:::1;:17;::::0;;;;;;:29;97818:67;;-1:-1:-1;;;97818:67:0;;-1:-1:-1;;;;;97841:29:0;;::::1;97818:67;::::0;::::1;10638:51:1::0;10705:18;;;10698:34;;;97679:89:0;;-1:-1:-1;97818:13:0::1;::::0;:22:::1;::::0;10611:18:1;;97818:67:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;97810:96;;;;-1:-1:-1::0;;;97810:96:0::1;;;;;;;:::i;:::-;97954:16:::0;;97950:143:::1;;97999:13;::::0;::::1;98022:17:::0;;;:8:::1;:17;::::0;;;;;;;97999:57;;-1:-1:-1;;;97999:57:0;;-1:-1:-1;;;;;98022:17:0;;::::1;97999:57;::::0;::::1;10638:51:1::0;10705:18;;;10698:34;;;97999:13:0;::::1;::::0;:22:::1;::::0;10611:18:1;;97999:57:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;97991:86;;;;-1:-1:-1::0;;;97991:86:0::1;;;;;;;:::i;:::-;98138:14:::0;;98134:127:::1;;98181:13;::::0;98204:5:::1;::::0;98181:43:::1;::::0;-1:-1:-1;;;98181:43:0;;-1:-1:-1;;;;;98204:5:0;;::::1;98181:43;::::0;::::1;10638:51:1::0;10705:18;;;10698:34;;;98181:13:0;::::1;::::0;:22:::1;::::0;10611:18:1;;98181:43:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;98173:72;;;;-1:-1:-1::0;;;98173:72:0::1;;;;;;;:::i;:::-;98296:17;::::0;;;:8:::1;:17;::::0;;;;;;;;:29;;98343:28:::1;::::0;;::::1;::::0;98282:90;;13655:25:1;;;-1:-1:-1;;;;;98282:90:0;;::::1;::::0;98296:29;::::1;::::0;:17;;98282:90:::1;::::0;13628:18:1;98282:90:0::1;;;;;;;98409:17;::::0;;;:8:::1;:17;::::0;;;;;;;;:29;;98440:28:::1;::::0;;::::1;::::0;98470:23:::1;::::0;98392:118;;31841:25:1;;;31882:18;;;31875:34;;;;31925:18;;;31918:34;;;-1:-1:-1;;;;;98409:29:0;;::::1;::::0;:17;;98392:118:::1;::::0;31829:2:1;31814:18;98392:118:0::1;;;;;;;98550:17;::::0;;;:8:::1;:17;::::0;;;;;;;;:29;;98581:28:::1;::::0;;::::1;::::0;98611:14:::1;::::0;98530:110;;31841:25:1;;;31882:18;;;31875:34;;;;31925:18;;;31918:34;;;-1:-1:-1;;;;;98550:29:0;;::::1;::::0;:17;;98530:110:::1;::::0;31829:2:1;31814:18;98530:110:0::1;;;;;;;98692:13;98708:16;98716:7;98708;:16::i;:::-;98692:32;;98922:108;98941:4;98970:26;;;98998:5;99005:14;99021:7;98947:82;;;;;;;;;;:::i;98922:108::-;-1:-1:-1::0;;;99066:17:0::1;::::0;;;:8:::1;:17;::::0;;;;;;;:28:::1;;::::0;99047:7:::1;:16:::0;;;;;;:47;-1:-1:-1;;97232:1876:0::1;99138:17;::::0;;;:8:::1;:17;::::0;;;;;;;;:31:::1;::::0;::::1;::::0;99171:28:::1;::::0;;::::1;::::0;99125:75;;-1:-1:-1;;;;;99138:31:0;;::::1;10638:51:1::0;;10705:18;;;10698:34;;;;99125:75:0::1;::::0;10611:18:1;99125:75:0::1;;;;;;;99253:17;::::0;;;:8:::1;:17;::::0;;;;99246:24;;-1:-1:-1;;;;;;99246:24:0;;::::1;::::0;;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;-1:-1:-1;;99246:24:0::1;::::0;;::::1;::::0;;::::1;::::0;;;;75069:7;:22;97096:2184::o;96589:428::-;96648:4;96669:17;;;:8;:17;;;;;:22;;;;;:87;;;;-1:-1:-1;96728:17:0;;;;:8;:17;;;;;:28;;;96709:15;:47;;96669:87;:246;;;;-1:-1:-1;96822:17:0;;;;:8;:17;;;;;:25;;;;96792:28;;;;;:55;;;:108;;-1:-1:-1;96869:17:0;;;;:8;:17;;;;;:28;;;96665:345;;-1:-1:-1;96949:4:0;96942:11;;89269:299;89325:7;89367:21;;;:12;:21;;;;;;89325:7;;;;89367:23;89363:65;;-1:-1:-1;;;89400:21:0;;;;:12;:21;;;;;;;;89392:36;;89363:65;89472:1;89443:17;;;:8;:17;;;;;:28;;;:30;89439:79;;-1:-1:-1;;;89483:1:0;89486:17;;;:8;:17;;;;;:28;;;89483:1;89475:43;;89439:79;-1:-1:-1;;;89537:1:0;89543:16;;;:7;:16;;;;;;89537:1;;89269:299;;;;;;:::o;72117:110::-;72182:13;;72158:4;;72182:13;;;:37;;;72199:20;72208:10;72199:8;:20::i;:::-;72175:44;;72117:110;:::o;101128:454::-;101313:14;;-1:-1:-1;;;;;101313:14:0;101301:10;:26;101293:70;;;;-1:-1:-1;;;101293:70:0;;16311:2:1;101293:70:0;;;16293:21:1;16350:2;16330:18;;;16323:30;16389:33;16369:18;;;16362:61;16440:18;;101293:70:0;16283:181:1;101293:70:0;101374:5;:14;;-1:-1:-1;;;;;101374:14:0;;;-1:-1:-1;;;;;;101374:14:0;;;;;;;101399;:32;;;;101442:23;:50;;;;101503:13;:30;;;;;-1:-1:-1;;101503:30:0;;;;;;;;;101544:13;:30;;;;;;;;;;;101128:454::o;95517:540::-;95576:4;95597:17;;;:8;:17;;;;;:22;;;;;:358;;;;-1:-1:-1;95698:17:0;;;;:8;:17;;;;;:28;;;95679:15;:47;;;;:104;;-1:-1:-1;95782:1:0;95751:17;;;:8;:17;;;;;:28;;;:32;;95679:104;:183;;;;-1:-1:-1;95837:17:0;;;;:8;:17;;;;;:25;;;;95808:28;;;;;:54;95679:183;95656:284;;;-1:-1:-1;95935:4:0;95903:20;95915:7;95903:11;:20::i;:::-;-1:-1:-1;;;;;95903:37:0;;95593:457;;-1:-1:-1;95989:4:0;95982:11;;52324:112;52403:25;52414:4;52420:7;52403:10;:25::i;61006:152::-;61076:4;61100:50;61105:3;-1:-1:-1;;;;;61125:23:0;;61100:4;:50::i;66096:214::-;66181:4;-1:-1:-1;;;;;;66205:57:0;;-1:-1:-1;;;66205:57:0;;:97;;;66266:36;66290:11;66266:23;:36::i;25817:127::-;25882:4;25906:16;;;:7;:16;;;;;;-1:-1:-1;;;;;25906:16:0;:30;;;25817:127::o;29799:174::-;29874:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;29874:29:0;-1:-1:-1;;;;;29874:29:0;;;;;;;;:24;;29928:23;29874:24;29928:14;:23::i;:::-;-1:-1:-1;;;;;29919:46:0;;;;;;;;;;;29799:174;;:::o;26111:348::-;26204:4;26229:16;26237:7;26229;:16::i;:::-;26221:73;;;;-1:-1:-1;;;26221:73:0;;18908:2:1;26221:73:0;;;18890:21:1;18947:2;18927:18;;;18920:30;18986:34;18966:18;;;18959:62;-1:-1:-1;;;19037:18:1;;;19030:42;19089:19;;26221:73:0;18880:234:1;26221:73:0;26305:13;26321:23;26336:7;26321:14;:23::i;:::-;26305:39;;26374:5;-1:-1:-1;;;;;26363:16:0;:7;-1:-1:-1;;;;;26363:16:0;;:51;;;;26407:7;-1:-1:-1;;;;;26383:31:0;:20;26395:7;26383:11;:20::i;:::-;-1:-1:-1;;;;;26383:31:0;;26363:51;:87;;;-1:-1:-1;;;;;;23203:25:0;;;23179:4;23203:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;26418:32;26355:96;26111:348;-1:-1:-1;;;;26111:348:0:o;29103:578::-;29262:4;-1:-1:-1;;;;;29235:31:0;:23;29250:7;29235:14;:23::i;:::-;-1:-1:-1;;;;;29235:31:0;;29227:85;;;;-1:-1:-1;;;29227:85:0;;25038:2:1;29227:85:0;;;25020:21:1;25077:2;25057:18;;;25050:30;25116:34;25096:18;;;25089:62;-1:-1:-1;;;25167:18:1;;;25160:39;25216:19;;29227:85:0;25010:231:1;29227:85:0;-1:-1:-1;;;;;29331:16:0;;29323:65;;;;-1:-1:-1;;;29323:65:0;;17028:2:1;29323:65:0;;;17010:21:1;17067:2;17047:18;;;17040:30;17106:34;17086:18;;;17079:62;-1:-1:-1;;;17157:18:1;;;17150:34;17201:19;;29323:65:0;17000:226:1;29323:65:0;29401:39;29422:4;29428:2;29432:7;29401:20;:39::i;:::-;29505:29;29522:1;29526:7;29505:8;:29::i;:::-;-1:-1:-1;;;;;29547:15:0;;;;;;:9;:15;;;;;:20;;29566:1;;29547:15;:20;;29566:1;;29547:20;:::i;:::-;;;;-1:-1:-1;;;;;;;29578:13:0;;;;;;:9;:13;;;;;:18;;29595:1;;29578:13;:18;;29595:1;;29578:18;:::i;:::-;;;;-1:-1:-1;;29607:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;29607:21:0;-1:-1:-1;;;;;29607:21:0;;;;;;;;;29646:27;;29607:16;;29646:27;;;;;;;29103:578;;;:::o;50475:147::-;50156:7;50183:12;;;:6;:12;;;;;:22;;;48557:30;48568:4;15711:10;48574:12;15631:98;48557:30;50589:25:::1;50600:4;50606:7;50589:10;:25::i;51523:218::-:0;-1:-1:-1;;;;;51619:23:0;;15711:10;51619:23;51611:83;;;;-1:-1:-1;;;51611:83:0;;30990:2:1;51611:83:0;;;30972:21:1;31029:2;31009:18;;;31002:30;31068:34;31048:18;;;31041:62;-1:-1:-1;;;31119:18:1;;;31112:45;31174:19;;51611:83:0;30962:237:1;51611:83:0;51707:26;51719:4;51725:7;51707:11;:26::i;61334:158::-;61407:4;61431:53;61439:3;-1:-1:-1;;;;;61459:23:0;;61431:7;:53::i;93216:146::-;93289:17;;;;:8;:17;;;;;:30;;-1:-1:-1;;;;;;93289:30:0;93309:10;93289:30;;;93330:24;93342:2;93298:7;93330:11;:24::i;71191:134::-;71286:31;71309:7;71286:22;:31::i;41031:217::-;41131:16;41139:7;41131;:16::i;:::-;41123:75;;;;-1:-1:-1;;;41123:75:0;;21819:2:1;41123:75:0;;;21801:21:1;21858:2;21838:18;;;21831:30;21897:34;21877:18;;;21870:62;-1:-1:-1;;;21948:18:1;;;21941:44;22002:19;;41123:75:0;21791:236:1;41123:75:0;41209:19;;;;:10;:19;;;;;;;;:31;;;;;;;;:::i;27138:321::-;27268:18;27274:2;27278:7;27268:5;:18::i;:::-;27319:54;27350:1;27354:2;27358:7;27367:5;27319:22;:54::i;:::-;27297:154;;;;-1:-1:-1;;;27297:154:0;;;;;;;:::i;62302:158::-;62376:7;62427:22;62431:3;62443:5;62427:3;:22::i;49404:497::-;49485:22;49493:4;49499:7;49485;:22::i;:::-;49480:414;;49673:41;49701:7;-1:-1:-1;;;;;49673:41:0;49711:2;49673:19;:41::i;:::-;49787:38;49815:4;49822:2;49787:19;:38::i;:::-;49578:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;49578:270:0;;;;;;;;;;-1:-1:-1;;;49524:358:0;;;;;;;:::i;26801:110::-;26877:26;26887:2;26891:7;26877:26;;;;;;;;;;;;:9;:26::i;25189:315::-;25346:28;25356:4;25362:2;25366:7;25346:9;:28::i;:::-;25393:48;25416:4;25422:2;25426:7;25435:5;25393:22;:48::i;:::-;25385:111;;;;-1:-1:-1;;;25385:111:0;;;;;;;:::i;40196:679::-;40269:13;40303:16;40311:7;40303;:16::i;:::-;40295:78;;;;-1:-1:-1;;;40295:78:0;;23414:2:1;40295:78:0;;;23396:21:1;23453:2;23433:18;;;23426:30;23492:34;23472:18;;;23465:62;-1:-1:-1;;;23543:18:1;;;23536:47;23600:19;;40295:78:0;23386:239:1;40295:78:0;40386:23;40412:19;;;:10;:19;;;;;40386:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40442:18;40463:10;21867:9;;;;;;;;;-1:-1:-1;21867:9:0;;21790:94;;40463:10;40442:31;;40555:4;40549:18;40571:1;40549:23;40545:72;;;-1:-1:-1;40596:9:0;-1:-1:-1;40589:16:0;;40545:72;40721:23;;:27;40717:108;;40796:4;40802:9;40779:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;40765:48;;;;;;40717:108;40844:23;40859:7;40844:14;:23::i;61831:117::-;61894:7;61921:19;61929:3;69336:14;;69244:114;50867:149;50156:7;50183:12;;;:6;:12;;;;;:22;;;48557:30;48568:4;15711:10;48574:12;15631:98;48557:30;50982:26:::1;50994:4;51000:7;50982:11;:26::i;99971:1118::-:0;-1:-1:-1;;;;;100576:25:0;;8083:20;100568:72;;;;-1:-1:-1;;;100568:72:0;;24677:2:1;100568:72:0;;;24659:21:1;;;24696:18;;;24689:30;24755:34;24735:18;;;24728:62;24807:18;;100568:72:0;24649:182:1;100568:72:0;100714:12;100728:23;100763:5;-1:-1:-1;;;;;100755:19:0;100775:4;100755:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;100713:67;;;;100799:7;100791:53;;;;-1:-1:-1;;;100791:53:0;;22234:2:1;100791:53:0;;;22216:21:1;22273:2;22253:18;;;22246:30;22312:34;22292:18;;;22285:62;-1:-1:-1;;;22363:18:1;;;22356:31;22404:19;;100791:53:0;22206:223:1;100791:53:0;100861:17;;:21;100857:225;;101003:10;100992:30;;;;;;;;;;;;:::i;:::-;100984:86;;;;-1:-1:-1;;;100984:86:0;;28629:2:1;100984:86:0;;;28611:21:1;28668:2;28648:18;;;28641:30;28707:34;28687:18;;;28680:62;-1:-1:-1;;;28758:18:1;;;28751:41;28809:19;;100984:86:0;28601:233:1;78545:98:0;78603:7;78630:5;78634:1;78630;:5;:::i;78944:98::-;79002:7;79029:5;79033:1;79029;:5;:::i;78188:98::-;78246:7;78273:5;78277:1;78273;:5;:::i;52827:229::-;52902:22;52910:4;52916:7;52902;:22::i;:::-;52897:152;;52941:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;52941:29:0;;;;;;;;;:36;;-1:-1:-1;;52941:36:0;52973:4;52941:36;;;53024:12;15711:10;15631:98;;53024:12;-1:-1:-1;;;;;52997:40:0;53015:7;-1:-1:-1;;;;;52997:40:0;53009:4;52997:40;;;;;;;;;;52827:229;;:::o;54921:414::-;54984:4;57114:19;;;:12;;;:19;;;;;;55001:327;;-1:-1:-1;55044:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;55227:18;;55205:19;;;:12;;;:19;;;;;;:40;;;;55260:11;;55001:327;-1:-1:-1;55311:5:0;55304:12;;48679:204;48764:4;-1:-1:-1;;;;;;48788:47:0;;-1:-1:-1;;;48788:47:0;;:87;;;48839:36;48863:11;48839:23;:36::i;71333:204::-;71484:45;71511:4;71517:2;71521:7;71484:26;:45::i;53064:230::-;53139:22;53147:4;53153:7;53139;:22::i;:::-;53135:152;;;53210:5;53178:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;53178:29:0;;;;;;;;;;:37;;-1:-1:-1;;53178:37:0;;;53235:40;15711:10;;53178:12;;53235:40;;53210:5;53235:40;53064:230;;:::o;55511:1420::-;55577:4;55716:19;;;:12;;;:19;;;;;;55752:15;;55748:1176;;56127:21;56151:14;56164:1;56151:10;:14;:::i;:::-;56200:18;;56127:38;;-1:-1:-1;56180:17:0;;56200:22;;56221:1;;56200:22;:::i;:::-;56180:42;;56256:13;56243:9;:26;56239:405;;56290:17;56310:3;:11;;56322:9;56310:22;;;;;;-1:-1:-1;;;56310:22:0;;;;;;;;;;;;;;;;;56290:42;;56464:9;56435:3;:11;;56447:13;56435:26;;;;;;-1:-1:-1;;;56435:26:0;;;;;;;;;;;;;;;;;;;;:38;;;;56549:23;;;:12;;;:23;;;;;:36;;;56239:405;56725:17;;:3;;:17;;;-1:-1:-1;;;56725:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;56820:3;:12;;:19;56833:5;56820:19;;;;;;;;;;;56813:26;;;56863:4;56856:11;;;;;;;55748:1176;56907:5;56900:12;;;;;27795:382;-1:-1:-1;;;;;27875:16:0;;27867:61;;;;-1:-1:-1;;;27867:61:0;;23053:2:1;27867:61:0;;;23035:21:1;;;23072:18;;;23065:30;23131:34;23111:18;;;23104:62;23183:18;;27867:61:0;23025:182:1;27867:61:0;27948:16;27956:7;27948;:16::i;:::-;27947:17;27939:58;;;;-1:-1:-1;;;27939:58:0;;16671:2:1;27939:58:0;;;16653:21:1;16710:2;16690:18;;;16683:30;16749;16729:18;;;16722:58;16797:18;;27939:58:0;16643:178:1;27939:58:0;28010:45;28039:1;28043:2;28047:7;28010:20;:45::i;:::-;-1:-1:-1;;;;;28068:13:0;;;;;;:9;:13;;;;;:18;;28085:1;;28068:13;:18;;28085:1;;28068:18;:::i;:::-;;;;-1:-1:-1;;28097:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;28097:21:0;-1:-1:-1;;;;;28097:21:0;;;;;;;;28136:33;;28097:16;;;28136:33;;28097:16;;28136:33;27795:382;;:::o;41477:206::-;41546:20;41558:7;41546:11;:20::i;:::-;41589:19;;;;:10;:19;;;;;41583:33;;;;;:::i;:::-;:38;;-1:-1:-1;41579:97:0;;41645:19;;;;:10;:19;;;;;41638:26;;;:::i;30538:799::-;30693:4;-1:-1:-1;;;;;30714:13:0;;8083:20;8131:8;30710:620;;30750:72;;-1:-1:-1;;;30750:72:0;;-1:-1:-1;;;;;30750:36:0;;;;;:72;;15711:10;;30801:4;;30807:7;;30816:5;;30750:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30750:72:0;;;;;;;;-1:-1:-1;;30750:72:0;;;;;;;;;;;;:::i;:::-;;;30746:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30992:13:0;;30988:272;;31035:60;;-1:-1:-1;;;31035:60:0;;;;;;;:::i;30988:272::-;31210:6;31204:13;31195:6;31191:2;31187:15;31180:38;30746:529;-1:-1:-1;;;;;;30873:51:0;-1:-1:-1;;;30873:51:0;;-1:-1:-1;30866:58:0;;30710:620;-1:-1:-1;31314:4:0;30538:799;;;;;;:::o;57695:120::-;57762:7;57789:3;:11;;57801:5;57789:18;;;;;;-1:-1:-1;;;57789:18:0;;;;;;;;;;;;;;;;;57782:25;;57695:120;;;;:::o;17372:451::-;17447:13;17473:19;17505:10;17509:6;17505:1;:10;:::i;:::-;:14;;17518:1;17505:14;:::i;:::-;17495:25;;;;;;-1:-1:-1;;;17495:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17495:25:0;;17473:47;;-1:-1:-1;;;17531:6:0;17538:1;17531:9;;;;;;-1:-1:-1;;;17531:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;17531:15:0;;;;;;;;;-1:-1:-1;;;17557:6:0;17564:1;17557:9;;;;;;-1:-1:-1;;;17557:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;17557:15:0;;;;;;;;-1:-1:-1;17588:9:0;17600:10;17604:6;17600:1;:10;:::i;:::-;:14;;17613:1;17600:14;:::i;:::-;17588:26;;17583:135;17620:1;17616;:5;17583:135;;;-1:-1:-1;;;17668:5:0;17676:3;17668:11;17655:25;;;;;-1:-1:-1;;;17655:25:0;;;;;;;;;;;;17643:6;17650:1;17643:9;;;;;;-1:-1:-1;;;17643:9:0;;;;;;;;;;;;:37;-1:-1:-1;;;;;17643:37:0;;;;;;;;-1:-1:-1;17705:1:0;17695:11;;;;;17623:3;;;:::i;:::-;;;17583:135;;;-1:-1:-1;17736:10:0;;17728:55;;;;-1:-1:-1;;;17728:55:0;;14339:2:1;17728:55:0;;;14321:21:1;;;14358:18;;;14351:30;14417:34;14397:18;;;14390:62;14469:18;;17728:55:0;14311:182:1;21208:334:0;21281:13;21315:16;21323:7;21315;:16::i;:::-;21307:76;;;;-1:-1:-1;;;21307:76:0;;25448:2:1;21307:76:0;;;25430:21:1;25487:2;25467:18;;;25460:30;25526:34;25506:18;;;25499:62;-1:-1:-1;;;25577:18:1;;;25570:45;25632:19;;21307:76:0;25420:237:1;21307:76:0;21396:21;21420:10;21867:9;;;;;;;;;-1:-1:-1;21867:9:0;;21790:94;;21420:10;21396:34;;21472:1;21454:7;21448:21;:25;:86;;;;;;;;;;;;;;;;;21500:7;21509:18;:7;:16;:18::i;:::-;21483:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;21441:93;21208:334;-1:-1:-1;;;21208:334:0:o;33732:224::-;33834:4;-1:-1:-1;;;;;;33858:50:0;;-1:-1:-1;;;33858:50:0;;:90;;;33912:36;33936:11;33912:23;:36::i;35408:589::-;-1:-1:-1;;;;;35614:18:0;;35610:187;;35649:40;35681:7;36824:10;:17;;36797:24;;;;:15;:24;;;;;:44;;;36852:24;;;;;;;;;;;;36720:164;35649:40;35610:187;;;35719:2;-1:-1:-1;;;;;35711:10:0;:4;-1:-1:-1;;;;;35711:10:0;;35707:90;;35738:47;35771:4;35777:7;35738:32;:47::i;:::-;-1:-1:-1;;;;;35811:16:0;;35807:183;;35844:45;35881:7;35844:36;:45::i;:::-;35807:183;;;35917:4;-1:-1:-1;;;;;35911:10:0;:2;-1:-1:-1;;;;;35911:10:0;;35907:83;;35938:40;35966:2;35970:7;35938:27;:40::i;28406:360::-;28466:13;28482:23;28497:7;28482:14;:23::i;:::-;28466:39;;28518:48;28539:5;28554:1;28558:7;28518:20;:48::i;:::-;28607:29;28624:1;28628:7;28607:8;:29::i;:::-;-1:-1:-1;;;;;28649:16:0;;;;;;:9;:16;;;;;:21;;28669:1;;28649:16;:21;;28669:1;;28649:21;:::i;:::-;;;;-1:-1:-1;;28688:16:0;;;;:7;:16;;;;;;28681:23;;-1:-1:-1;;;;;;28681:23:0;;;28722:36;28696:7;;28688:16;-1:-1:-1;;;;;28722:36:0;;;;;28688:16;;28722:36;28406:360;;:::o;16071:723::-;16127:13;16348:10;16344:53;;-1:-1:-1;16375:10:0;;;;;;;;;;;;-1:-1:-1;;;16375:10:0;;;;;;16344:53;16422:5;16407:12;16463:78;16470:9;;16463:78;;16496:8;;;;:::i;:::-;;-1:-1:-1;16519:10:0;;-1:-1:-1;16527:2:0;16519:10;;:::i;:::-;;;16463:78;;;16551:19;16583:6;16573:17;;;;;;-1:-1:-1;;;16573:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16573:17:0;;16551:39;;16601:154;16608:10;;16601:154;;16635:11;16645:1;16635:11;;:::i;:::-;;-1:-1:-1;16704:10:0;16712:2;16704:5;:10;:::i;:::-;16691:24;;:2;:24;:::i;:::-;16678:39;;16661:6;16668;16661:14;;;;;;-1:-1:-1;;;16661:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;16661:56:0;;;;;;;;-1:-1:-1;16732:11:0;16741:2;16732:11;;:::i;:::-;;;16601:154;;19919:305;20021:4;-1:-1:-1;;;;;;20058:40:0;;-1:-1:-1;;;20058:40:0;;:105;;-1:-1:-1;;;;;;;20115:48:0;;-1:-1:-1;;;20115:48:0;20058:105;:158;;;-1:-1:-1;;;;;;;;;;18637:40:0;;;20180:36;18528:157;37511:988;37777:22;37827:1;37802:22;37819:4;37802:16;:22::i;:::-;:26;;;;:::i;:::-;37839:18;37860:26;;;:17;:26;;;;;;37777:51;;-1:-1:-1;37993:28:0;;;37989:328;;-1:-1:-1;;;;;38060:18:0;;38038:19;38060:18;;;:12;:18;;;;;;;;:34;;;;;;;;;38111:30;;;;;;:44;;;38228:30;;:17;:30;;;;;:43;;;37989:328;-1:-1:-1;38413:26:0;;;;:17;:26;;;;;;;;38406:33;;;-1:-1:-1;;;;;38457:18:0;;;;;:12;:18;;;;;:34;;;;;;;38450:41;37511:988::o;38794:1079::-;39072:10;:17;39047:22;;39072:21;;39092:1;;39072:21;:::i;:::-;39104:18;39125:24;;;:15;:24;;;;;;39498:10;:26;;39047:46;;-1:-1:-1;39125:24:0;;39047:46;;39498:26;;;;-1:-1:-1;;;39498:26:0;;;;;;;;;;;;;;;;;39476:48;;39562:11;39537:10;39548;39537:22;;;;;;-1:-1:-1;;;39537:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;39642:28;;;:15;:28;;;;;;;:41;;;39814:24;;;;;39807:31;39849:10;:16;;;;;-1:-1:-1;;;39849:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;38794:1079;;;;:::o;36298:221::-;36383:14;36400:20;36417:2;36400:16;:20::i;:::-;-1:-1:-1;;;;;36431:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;36476:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;36298:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:631:1;;108:18;149:2;141:6;138:14;135:2;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:2;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:2;;;532:1;529;522:12;491:2;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;88:557;;;;;:::o;650:228::-;;745:3;738:4;730:6;726:17;722:27;712:2;;767:5;760;753:20;712:2;793:79;868:3;859:6;846:20;839:4;831:6;827:17;793:79;:::i;883:257::-;;995:2;983:9;974:7;970:23;966:32;963:2;;;1016:6;1008;1001:22;963:2;1060:9;1047:23;1079:31;1104:5;1079:31;:::i;1145:693::-;;;;;;1344:3;1332:9;1323:7;1319:23;1315:33;1312:2;;;1366:6;1358;1351:22;1312:2;1410:9;1397:23;1429:31;1454:5;1429:31;:::i;:::-;1479:5;-1:-1:-1;1531:2:1;1516:18;;1503:32;;-1:-1:-1;1582:2:1;1567:18;;1554:32;;-1:-1:-1;1638:2:1;1623:18;;1610:32;1651:30;1610:32;1651:30;:::i;:::-;1700:7;-1:-1:-1;1759:3:1;1744:19;;1731:33;1773;1731;1773;:::i;:::-;1825:7;1815:17;;;1302:536;;;;;;;;:::o;1843:398::-;;;1972:2;1960:9;1951:7;1947:23;1943:32;1940:2;;;1993:6;1985;1978:22;1940:2;2037:9;2024:23;2056:31;2081:5;2056:31;:::i;:::-;2106:5;-1:-1:-1;2163:2:1;2148:18;;2135:32;2176:33;2135:32;2176:33;:::i;:::-;2228:7;2218:17;;;1930:311;;;;;:::o;2246:466::-;;;;2392:2;2380:9;2371:7;2367:23;2363:32;2360:2;;;2413:6;2405;2398:22;2360:2;2457:9;2444:23;2476:31;2501:5;2476:31;:::i;:::-;2526:5;-1:-1:-1;2583:2:1;2568:18;;2555:32;2596:33;2555:32;2596:33;:::i;:::-;2350:362;;2648:7;;-1:-1:-1;;;2702:2:1;2687:18;;;;2674:32;;2350:362::o;2717:685::-;;;;;2889:3;2877:9;2868:7;2864:23;2860:33;2857:2;;;2911:6;2903;2896:22;2857:2;2955:9;2942:23;2974:31;2999:5;2974:31;:::i;:::-;3024:5;-1:-1:-1;3081:2:1;3066:18;;3053:32;3094:33;3053:32;3094:33;:::i;:::-;3146:7;-1:-1:-1;3200:2:1;3185:18;;3172:32;;-1:-1:-1;3255:2:1;3240:18;;3227:32;3282:18;3271:30;;3268:2;;;3319:6;3311;3304:22;3268:2;3347:49;3388:7;3379:6;3368:9;3364:22;3347:49;:::i;:::-;3337:59;;;2847:555;;;;;;;:::o;3407:392::-;;;3533:2;3521:9;3512:7;3508:23;3504:32;3501:2;;;3554:6;3546;3539:22;3501:2;3598:9;3585:23;3617:31;3642:5;3617:31;:::i;:::-;3667:5;-1:-1:-1;3724:2:1;3709:18;;3696:32;3737:30;3696:32;3737:30;:::i;3804:325::-;;;3933:2;3921:9;3912:7;3908:23;3904:32;3901:2;;;3954:6;3946;3939:22;3901:2;3998:9;3985:23;4017:31;4042:5;4017:31;:::i;:::-;4067:5;4119:2;4104:18;;;;4091:32;;-1:-1:-1;;;3891:238:1:o;4134:543::-;;;;4289:2;4277:9;4268:7;4264:23;4260:32;4257:2;;;4310:6;4302;4295:22;4257:2;4354:9;4341:23;4373:31;4398:5;4373:31;:::i;:::-;4423:5;-1:-1:-1;4475:2:1;4460:18;;4447:32;;-1:-1:-1;4530:2:1;4515:18;;4502:32;4557:18;4546:30;;4543:2;;;4594:6;4586;4579:22;4543:2;4622:49;4663:7;4654:6;4643:9;4639:22;4622:49;:::i;:::-;4612:59;;;4247:430;;;;;:::o;4682:255::-;;4802:2;4790:9;4781:7;4777:23;4773:32;4770:2;;;4823:6;4815;4808:22;4770:2;4860:9;4854:16;4879:28;4901:5;4879:28;:::i;4942:190::-;;5054:2;5042:9;5033:7;5029:23;5025:32;5022:2;;;5075:6;5067;5060:22;5022:2;-1:-1:-1;5103:23:1;;5012:120;-1:-1:-1;5012:120:1:o;5137:325::-;;;5266:2;5254:9;5245:7;5241:23;5237:32;5234:2;;;5287:6;5279;5272:22;5234:2;5328:9;5315:23;5305:33;;5388:2;5377:9;5373:18;5360:32;5401:31;5426:5;5401:31;:::i;5467:258::-;;;5596:2;5584:9;5575:7;5571:23;5567:32;5564:2;;;5617:6;5609;5602:22;5564:2;-1:-1:-1;;5645:23:1;;;5715:2;5700:18;;;5687:32;;-1:-1:-1;5554:171:1:o;5730:255::-;;5841:2;5829:9;5820:7;5816:23;5812:32;5809:2;;;5862:6;5854;5847:22;5809:2;5906:9;5893:23;5925:30;5949:5;5925:30;:::i;5990:259::-;;6112:2;6100:9;6091:7;6087:23;6083:32;6080:2;;;6133:6;6125;6118:22;6080:2;6170:9;6164:16;6189:30;6213:5;6189:30;:::i;6254:619::-;;;6393:2;6381:9;6372:7;6368:23;6364:32;6361:2;;;6414:6;6406;6399:22;6361:2;6459:9;6446:23;6492:18;6484:6;6481:30;6478:2;;;6529:6;6521;6514:22;6478:2;6557:22;;6610:4;6602:13;;6598:27;-1:-1:-1;6588:2:1;;6644:6;6636;6629:22;6588:2;6672:75;6739:7;6734:2;6721:16;6714:4;6710:2;6706:13;6672:75;:::i;:::-;6662:85;;;6797:4;6786:9;6782:20;6769:34;6812:31;6837:5;6812:31;:::i;7336:401::-;;;;7490:2;7478:9;7469:7;7465:23;7461:32;7458:2;;;7511:6;7503;7496:22;7458:2;7552:9;7539:23;7529:33;;7609:2;7598:9;7594:18;7581:32;7571:42;;7663:2;7652:9;7648:18;7635:32;7676:31;7701:5;7676:31;:::i;:::-;7726:5;7716:15;;;7448:289;;;;;:::o;7742:470::-;;;;;7913:3;7901:9;7892:7;7888:23;7884:33;7881:2;;;7935:6;7927;7920:22;7881:2;7976:9;7963:23;7953:33;;8033:2;8022:9;8018:18;8005:32;7995:42;;8087:2;8076:9;8072:18;8059:32;8100:31;8125:5;8100:31;:::i;:::-;7871:341;;;;-1:-1:-1;8150:5:1;;8202:2;8187:18;8174:32;;-1:-1:-1;;7871:341:1:o;8217:257::-;;8296:5;8290:12;8323:6;8318:3;8311:19;8339:63;8395:6;8388:4;8383:3;8379:14;8372:4;8365:5;8361:16;8339:63;:::i;:::-;8456:2;8435:15;-1:-1:-1;;8431:29:1;8422:39;;;;8463:4;8418:50;;8266:208;-1:-1:-1;;8266:208:1:o;8479:274::-;;8646:6;8640:13;8662:53;8708:6;8703:3;8696:4;8688:6;8684:17;8662:53;:::i;:::-;8731:16;;;;;8616:137;-1:-1:-1;;8616:137:1:o;8758:470::-;;8975:6;8969:13;8991:53;9037:6;9032:3;9025:4;9017:6;9013:17;8991:53;:::i;:::-;9107:13;;9066:16;;;;9129:57;9107:13;9066:16;9163:4;9151:17;;9129:57;:::i;:::-;9202:20;;8945:283;-1:-1:-1;;;;8945:283:1:o;9233:786::-;;9644:25;9639:3;9632:38;9699:6;9693:13;9715:62;9770:6;9765:2;9760:3;9756:12;9749:4;9741:6;9737:17;9715:62;:::i;:::-;-1:-1:-1;;;9836:2:1;9796:16;;;9828:11;;;9821:40;9886:13;;9908:63;9886:13;9957:2;9949:11;;9942:4;9930:17;;9908:63;:::i;:::-;9991:17;10010:2;9987:26;;9622:397;-1:-1:-1;;;;9622:397:1:o;11381:391::-;-1:-1:-1;;;;;11655:15:1;;;11637:34;;11707:15;;;;11702:2;11687:18;;11680:43;11754:2;11739:18;;11732:34;;;;11587:2;11572:18;;11554:218::o;12545:488::-;-1:-1:-1;;;;;12814:15:1;;;12796:34;;12866:15;;12861:2;12846:18;;12839:43;12913:2;12898:18;;12891:34;;;12961:3;12956:2;12941:18;;12934:31;;;12545:488;;12982:45;;13007:19;;12999:6;12982:45;:::i;:::-;12974:53;12748:285;-1:-1:-1;;;;;;12748:285:1:o;13913:219::-;;14062:2;14051:9;14044:21;14082:44;14122:2;14111:9;14107:18;14099:6;14082:44;:::i;15690:414::-;15892:2;15874:21;;;15931:2;15911:18;;;15904:30;15970:34;15965:2;15950:18;;15943:62;-1:-1:-1;;;16036:2:1;16021:18;;16014:48;16094:3;16079:19;;15864:240::o;22434:412::-;22636:2;22618:21;;;22675:2;22655:18;;;22648:30;22714:34;22709:2;22694:18;;22687:62;-1:-1:-1;;;22780:2:1;22765:18;;22758:46;22836:3;22821:19;;22608:238::o;26835:340::-;27037:2;27019:21;;;27076:2;27056:18;;;27049:30;-1:-1:-1;;;27110:2:1;27095:18;;27088:46;27166:2;27151:18;;27009:166::o;27180:413::-;27382:2;27364:21;;;27421:2;27401:18;;;27394:30;27460:34;27455:2;27440:18;;27433:62;-1:-1:-1;;;27526:2:1;27511:18;;27504:47;27583:3;27568:19;;27354:239::o;29594:355::-;29796:2;29778:21;;;29835:2;29815:18;;;29808:30;29874:33;29869:2;29854:18;;29847:61;29940:2;29925:18;;29768:181::o;31963:128::-;;32034:1;32030:6;32027:1;32024:13;32021:2;;;32040:18;;:::i;:::-;-1:-1:-1;32076:9:1;;32011:80::o;32096:120::-;;32162:1;32152:2;;32167:18;;:::i;:::-;-1:-1:-1;32201:9:1;;32142:74::o;32221:168::-;;32327:1;32323;32319:6;32315:14;32312:1;32309:21;32304:1;32297:9;32290:17;32286:45;32283:2;;;32334:18;;:::i;:::-;-1:-1:-1;32374:9:1;;32273:116::o;32394:125::-;;32462:1;32459;32456:8;32453:2;;;32467:18;;:::i;:::-;-1:-1:-1;32504:9:1;;32443:76::o;32524:258::-;32596:1;32606:113;32620:6;32617:1;32614:13;32606:113;;;32696:11;;;32690:18;32677:11;;;32670:39;32642:2;32635:10;32606:113;;;32737:6;32734:1;32731:13;32728:2;;;-1:-1:-1;;32772:1:1;32754:16;;32747:27;32577:205::o;32787:136::-;;32854:5;32844:2;;32863:18;;:::i;:::-;-1:-1:-1;;;32899:18:1;;32834:89::o;32928:380::-;33013:1;33003:12;;33060:1;33050:12;;;33071:2;;33125:4;33117:6;33113:17;33103:27;;33071:2;33178;33170:6;33167:14;33147:18;33144:38;33141:2;;;33224:10;33219:3;33215:20;33212:1;33205:31;33259:4;33256:1;33249:15;33287:4;33284:1;33277:15;33141:2;;32983:325;;;:::o;33313:135::-;;-1:-1:-1;;33373:17:1;;33370:2;;;33393:18;;:::i;:::-;-1:-1:-1;33440:1:1;33429:13;;33360:88::o;33453:112::-;;33511:1;33501:2;;33516:18;;:::i;:::-;-1:-1:-1;33550:9:1;;33491:74::o;33570:127::-;33631:10;33626:3;33622:20;33619:1;33612:31;33662:4;33659:1;33652:15;33686:4;33683:1;33676:15;33702:127;33763:10;33758:3;33754:20;33751:1;33744:31;33794:4;33791:1;33784:15;33818:4;33815:1;33808:15;33834:127;33895:10;33890:3;33886:20;33883:1;33876:31;33926:4;33923:1;33916:15;33950:4;33947:1;33940:15;33966:131;-1:-1:-1;;;;;34041:31:1;;34031:42;;34021:2;;34087:1;34084;34077:12;34102:118;34188:5;34181:13;34174:21;34167:5;34164:32;34154:2;;34210:1;34207;34200:12;34225:131;-1:-1:-1;;;;;;34299:32:1;;34289:43;;34279:2;;34346:1;34343;34336:12

Swarm Source

ipfs://71cdde943060f35e5e7e7e5d3805369908039fee2c96798b89cb34c00650c938
Loading...
Loading
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.