Contract 0xdd65ce4000d2b17d121bb4a0784c61b8c792acee

Txn Hash Method
Block
From
To
Value [Txn Fee]
0xa193c3116dc92914aee0cf7accd2c5a820095fed05dbbdf33cb4b399664216c1Set Token URI229527562022-11-28 14:24:521 hr 32 mins ago0x7beabbbd21d69403f861cb4f077851b047ba7d59 IN  0xdd65ce4000d2b17d121bb4a0784c61b8c792acee0 AVAX0.00114475 25
0x2d001922d36a1f56418010e70085fd59498a46b3d24348baad9436089b190535Mint229527152022-11-28 14:23:271 hr 34 mins ago0x7beabbbd21d69403f861cb4f077851b047ba7d59 IN  0xdd65ce4000d2b17d121bb4a0784c61b8c792acee0 AVAX0.00926615 25
0xe2fd2eaf2200526e75354df1768baf7ef3dfae68b53e3b9207a3ae9db6df5716Mint229526702022-11-28 14:21:571 hr 35 mins ago0x7beabbbd21d69403f861cb4f077851b047ba7d59 IN  0xdd65ce4000d2b17d121bb4a0784c61b8c792acee0 AVAX0.00926615 25
0x28869370ccb02609713a734503bd02403f818b05cf9057361a4573b6fcd2b88eMint229526262022-11-28 14:20:291 hr 37 mins ago0x7beabbbd21d69403f861cb4f077851b047ba7d59 IN  0xdd65ce4000d2b17d121bb4a0784c61b8c792acee0 AVAX0.00926585 25
0x0ce241a58c8f7798a30a743b8a26d5920b09b3f5309d09acbcbff756b424f87bMint229525862022-11-28 14:19:061 hr 38 mins ago0x7beabbbd21d69403f861cb4f077851b047ba7d59 IN  0xdd65ce4000d2b17d121bb4a0784c61b8c792acee0 AVAX0.00926615 25
0xcb133b4998d3171e530e2b8f5fea9fa4a70806612f0271b31e9d57b18ff3375eMint229525412022-11-28 14:17:361 hr 39 mins ago0x7beabbbd21d69403f861cb4f077851b047ba7d59 IN  0xdd65ce4000d2b17d121bb4a0784c61b8c792acee0 AVAX0.00926615 25
0x8ac54bf7d1d644ab9ff862d4e14d9e77f3f774037c9e19a48182273c260d24deMint229524872022-11-28 14:15:481 hr 41 mins ago0x7beabbbd21d69403f861cb4f077851b047ba7d59 IN  0xdd65ce4000d2b17d121bb4a0784c61b8c792acee0 AVAX0.00926615 25
0x96e41030a769067d9b9e4557a8781d10b562d8637885b1480517bc369786c553Mint229524282022-11-28 14:13:491 hr 43 mins ago0x7beabbbd21d69403f861cb4f077851b047ba7d59 IN  0xdd65ce4000d2b17d121bb4a0784c61b8c792acee0 AVAX0.00926615 25
0x6ab014b4eb3205aa015c93012e5ad6d35996d70bc2158b8299945e430867f55bMint229523802022-11-28 14:12:131 hr 45 mins ago0x7beabbbd21d69403f861cb4f077851b047ba7d59 IN  0xdd65ce4000d2b17d121bb4a0784c61b8c792acee0 AVAX0.00926615 25
0xc7e1d1ba1180e59e181daae67a3abc1f3d332f46137fd9ce40359d84e6e7308fMint229523332022-11-28 14:10:391 hr 46 mins ago0x7beabbbd21d69403f861cb4f077851b047ba7d59 IN  0xdd65ce4000d2b17d121bb4a0784c61b8c792acee0 AVAX0.00926615 25
0x99931d002f513b29c89e3331a06eebf2cd2796b139f8612c391e1779827587b0Mint229522912022-11-28 14:09:151 hr 48 mins ago0x7beabbbd21d69403f861cb4f077851b047ba7d59 IN  0xdd65ce4000d2b17d121bb4a0784c61b8c792acee0 AVAX0.00926615 25
0xef48dbd66dc960298fe75b1a72b5a55f37b52b3c757cc02fb170cc153be125a5Mint229522512022-11-28 14:07:501 hr 49 mins ago0x7beabbbd21d69403f861cb4f077851b047ba7d59 IN  0xdd65ce4000d2b17d121bb4a0784c61b8c792acee0 AVAX0.00926585 25
0x6aaf85bf825b52d31cc8eb54e7d507475ea2e4a095dc575e58d6601c8d267fd2Mint229522072022-11-28 14:06:201 hr 51 mins ago0x7beabbbd21d69403f861cb4f077851b047ba7d59 IN  0xdd65ce4000d2b17d121bb4a0784c61b8c792acee0 AVAX0.00926615 25
0x4879197631e1459c3ade0cbf5ff79c083a9b4ca842d9b48bec2c0db43469921bMint229521612022-11-28 14:04:471 hr 52 mins ago0x7beabbbd21d69403f861cb4f077851b047ba7d59 IN  0xdd65ce4000d2b17d121bb4a0784c61b8c792acee0 AVAX0.00926615 25
0xa12d057b6f81be5ece93deead0b026f0f7a95fd873ef515ef71020284db9a049Mint229521152022-11-28 14:03:141 hr 54 mins ago0x7beabbbd21d69403f861cb4f077851b047ba7d59 IN  0xdd65ce4000d2b17d121bb4a0784c61b8c792acee0 AVAX0.00926615 25
0x1f25a503bccdc1083d78c0611c86239ca2f150a275b9d0fa715280aa4120f3e7Mint229520572022-11-28 14:01:191 hr 56 mins ago0x7beabbbd21d69403f861cb4f077851b047ba7d59 IN  0xdd65ce4000d2b17d121bb4a0784c61b8c792acee0 AVAX0.00926615 25
0x1ba702f1c9a5fd992971890ef39ea8bee231f11a6c02612b5689f724f7de7a16Mint229520102022-11-28 13:59:451 hr 57 mins ago0x7beabbbd21d69403f861cb4f077851b047ba7d59 IN  0xdd65ce4000d2b17d121bb4a0784c61b8c792acee0 AVAX0.00926615 25
0xe9eaa8e08d60dc68dbf654ec2204d154357ef65fea5dbe5645ca150dc19cfc36Mint229519602022-11-28 13:58:041 hr 59 mins ago0x7beabbbd21d69403f861cb4f077851b047ba7d59 IN  0xdd65ce4000d2b17d121bb4a0784c61b8c792acee0 AVAX0.00926615 25
0xdcd216d3dc50213b0c73abcf722ecd6cdce0d2596701973a92655b80a8899f9eMint229519162022-11-28 13:56:362 hrs ago0x7beabbbd21d69403f861cb4f077851b047ba7d59 IN  0xdd65ce4000d2b17d121bb4a0784c61b8c792acee0 AVAX0.00926615 25
0x0293fb0c1142d67926aa93a7e1970f0b7ef4ca3b7dc4100b7f71ed4712a274e2Mint229518652022-11-28 13:54:542 hrs 2 mins ago0x7beabbbd21d69403f861cb4f077851b047ba7d59 IN  0xdd65ce4000d2b17d121bb4a0784c61b8c792acee0 AVAX0.00926615 25
0x698ae8413d9a3c3915a9dd2752d51892de72025cc310d362a855181211ce0a63Mint229518092022-11-28 13:53:022 hrs 4 mins ago0x7beabbbd21d69403f861cb4f077851b047ba7d59 IN  0xdd65ce4000d2b17d121bb4a0784c61b8c792acee0 AVAX0.00926615 25
0x0ca230939f418fcb11ac96741c86c42e2b9abbbc099104321f49717f6babd544Mint229517512022-11-28 13:51:022 hrs 6 mins ago0x7beabbbd21d69403f861cb4f077851b047ba7d59 IN  0xdd65ce4000d2b17d121bb4a0784c61b8c792acee0 AVAX0.00926615 25
0xf2dff067785e9116b5fa7e14e215db229500e33515217ddb36dec50526661540Mint229516872022-11-28 13:48:512 hrs 8 mins ago0x7beabbbd21d69403f861cb4f077851b047ba7d59 IN  0xdd65ce4000d2b17d121bb4a0784c61b8c792acee0 AVAX0.00926615 25
0xcf7d5a0bb7c2468efa6d714c5065ba9ab090a50fc8923a5c2bd71a5801a59c2fSet Approval For...229488922022-11-28 12:12:563 hrs 44 mins ago0x7beabbbd21d69403f861cb4f077851b047ba7d59 IN  0xdd65ce4000d2b17d121bb4a0784c61b8c792acee0 AVAX0.001155375 25
0x38720acce746a1f8342e45bfd882b205550a1f143e040a252f29ea9d863bbd43Transfer From229488052022-11-28 12:10:023 hrs 47 mins ago0x92ea8eb4df142a9b8fef3a74aaf3cf9a7c6761ae IN  0xdd65ce4000d2b17d121bb4a0784c61b8c792acee0 AVAX0.002324075 25
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NFTCollectible

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at snowtrace.io on 2022-11-24
*/

//SPDX-License-Identifier: MIT
pragma solidity 0.8.16;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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);
    }
}

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;
    }
}

library LibRoyalty {
    // calculated royalty
    struct Part {
        address account; // receiver address
        uint256 value; // receiver amount
    }

    // royalty information
    struct Royalty {
        address account; // receiver address
        uint96 value; // percentage of the royalty
    }
}

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);
}

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;
}

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);
}

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);

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

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);
}

interface IRoyalty {
    event RoyaltiesSet(uint256 indexed tokenId, LibRoyalty.Royalty[] royalties, LibRoyalty.Royalty[] previousRoyalties);

    event DefaultRoyaltiesSet(LibRoyalty.Royalty[] royalties, LibRoyalty.Royalty[] previousRoyalties);

    function getDefaultRoyalties() external view returns (LibRoyalty.Royalty[] memory);

    function getTokenRoyalties(uint256 _tokenId) external view returns (LibRoyalty.Royalty[] memory);

    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view returns (address receiver, uint256 royaltyAmount);

    function multiRoyaltyInfo(uint256 _tokenId, uint256 _salePrice) external view returns (LibRoyalty.Part[] memory);

    function setDefaultRoyaltyReceiver(address _defaultRoyaltyReceiver) external;

    function setDefaultRoyalties(LibRoyalty.Royalty[] memory _defaultRoyalties) external;

    function saveRoyalties(uint256 _tokenId, LibRoyalty.Royalty[] memory _royalties) external;
}

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

abstract contract Ownable is Context {
    address private _owner;

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

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

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

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

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

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

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

abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

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 {
        _setApprovalForAll(_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);

        _afterTokenTransfer(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);

        _afterTokenTransfer(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 from incorrect owner");
        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);

        _afterTokenTransfer(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 Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

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();
    }
}

contract Royalty is IRoyalty, ERC165 {

    // list of the royalties that contains percentages for each account
    LibRoyalty.Royalty[] public defaultRoyalties;
    // list of the royalties for the each nft tokenId that contains percentages for each account
    mapping (uint256 => LibRoyalty.Royalty[]) public royalties;
    // default royalty receiver
    address public defaultRoyaltyReceiver;
    // allowed max royalty percentage value
    uint96 public maxPercentage;

    constructor(LibRoyalty.Royalty[] memory _defaultRoyalties, uint96 _maxPercentage) {
        defaultRoyaltyReceiver = msg.sender;
        maxPercentage = _maxPercentage;
        _setDefaultRoyalties(_defaultRoyalties);
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165) returns (bool) {
        return interfaceId == type(IRoyalty).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
    * @notice returns default royalty list
    */
    function getDefaultRoyalties() external view virtual override returns (LibRoyalty.Royalty[] memory) {
        return defaultRoyalties;
    }

    /**
    * @notice returns royalty list for the tokenId
    * @param _tokenId nft tokenId
    */
    function getTokenRoyalties(uint256 _tokenId) external view virtual override returns (LibRoyalty.Royalty[] memory) {
        return royalties[_tokenId];
    }

    /**
    * @notice Multi royalties are not common for every marketplace.
    * So if an nft minter decides to list their own nft on another marketplace then a single royalty model should be worked.
    * The function aggregates the values on multi royalties and calculates royalty amount using the total value.
    * receiver is default contract owner
    * @param _tokenId nft tokenId
    * @param _salePrice amount in ethers
    */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view virtual override returns (address receiver, uint256 royaltyAmount) {
        LibRoyalty.Royalty[] memory existingRoyalties = royalties[_tokenId].length > 0 ? royalties[_tokenId] : defaultRoyalties;
        uint96 totalValue;
        for (uint i = 0; i < existingRoyalties.length; i++) {
            totalValue += existingRoyalties[i].value;
        }
        return (totalValue > 0 ? defaultRoyaltyReceiver : address(0), (_salePrice * totalValue) / 10000);
    }

    /**
    * @notice returns calculated receiver and amounts for defined multi royalty receivers.
    * @param _tokenId nft tokenId
    * @param _salePrice amount in ethers
    */
    function multiRoyaltyInfo(uint256 _tokenId, uint256 _salePrice) external view virtual override returns (LibRoyalty.Part[] memory) {
        LibRoyalty.Royalty[] memory existingRoyalties = royalties[_tokenId].length > 0 ? royalties[_tokenId] : defaultRoyalties;
        LibRoyalty.Part[] memory calculatedParts = new LibRoyalty.Part[](existingRoyalties.length);
        for (uint i = 0; i < existingRoyalties.length; i++) {
            LibRoyalty.Part memory calculatedPart;
            calculatedPart.account = existingRoyalties[i].account;
            calculatedPart.value = (_salePrice * existingRoyalties[i].value) / 10000;
            calculatedParts[i] = calculatedPart;
        }
        return calculatedParts;
    }

    /**
    * @notice updates the default royalty receiver.
    * defaultRoyaltyReceiver specifies the royalty receiver for the platforms that supports only single royalty receiver.
    * @param _defaultRoyaltyReceiver royalty receiver address
    */
    function setDefaultRoyaltyReceiver(address _defaultRoyaltyReceiver) external virtual override {
        _setDefaultRoyaltyReceiver(_defaultRoyaltyReceiver);
    }

    /**
    * @notice updates the default royalties that includes multi royalty information.
    * default royalties is applied to all nft’s that don’t include any royalty specifically.
    * @param _defaultRoyalties list of the royalties that contains percentages for each account
    */
    function setDefaultRoyalties(LibRoyalty.Royalty[] memory _defaultRoyalties) external virtual override {
        _setDefaultRoyalties(_defaultRoyalties);
    }

    /**
    * @notice updates the royalties for a specific nft.
    * @param _tokenId nft tokenId
    * @param _royalties list of the royalties that contains percentages for each account
    */
    function saveRoyalties(uint256 _tokenId, LibRoyalty.Royalty[] memory _royalties) external virtual override {
        _saveRoyalties(_tokenId, _royalties);
    }

    function _setDefaultRoyaltyReceiver(address _defaultRoyaltyReceiver) internal virtual {
        // if given address is 0x0 then it means reset the royalties
        if (_defaultRoyaltyReceiver == address(0)) {
            delete defaultRoyalties;
        }
        defaultRoyaltyReceiver = _defaultRoyaltyReceiver;
    }

    function _setDefaultRoyalties(LibRoyalty.Royalty[] memory _defaultRoyalties) internal virtual {
        emit DefaultRoyaltiesSet(_defaultRoyalties, defaultRoyalties);
        delete defaultRoyalties;
        uint96 totalValue;
        for (uint i = 0; i < _defaultRoyalties.length; i++) {
            if (_defaultRoyalties[i].account != address(0) && _defaultRoyalties[i].value != 0) {
                totalValue += _defaultRoyalties[i].value;
                LibRoyalty.Royalty memory defaultRoyalty;
                defaultRoyalty.account = _defaultRoyalties[i].account;
                defaultRoyalty.value = _defaultRoyalties[i].value;
                defaultRoyalties.push(defaultRoyalty);
            }
        }
        require(totalValue <= maxPercentage, "Royalty total value should be <= maxPercentage");
    }

    function _saveRoyalties(uint256 _tokenId, LibRoyalty.Royalty[] memory _royalties) internal virtual {
        emit RoyaltiesSet(_tokenId, _royalties, royalties[_tokenId]);
        uint96 totalValue;
        delete royalties[_tokenId];
        for (uint i = 0; i < _royalties.length; i++) {
            if (_royalties[i].account != address(0) && _royalties[i].value != 0) {
                totalValue += _royalties[i].value;
                LibRoyalty.Royalty memory royalty;
                royalty.account = _royalties[i].account;
                royalty.value = _royalties[i].value;

                royalties[_tokenId].push(royalty);
            }
        }

        require(totalValue <= maxPercentage, "Royalty total value should be <= maxPercentage");
    }
}


contract NFTCollectible is ERC721, ERC721Enumerable, Royalty, Ownable {
    using Counters for Counters.Counter;
    using Strings for uint256;

    bytes4 private constant _INTERFACE_ID_EIP2981 = 0x2a55205a;
    /**
    * @notice allows collection owners to define an extension as a suffix to the baseURL.
    * e.g baseExtension = “.json”;
    */
    string public baseExtension;

    /**
    * @notice allows collection owners to define an extension as a suffix to the baseURL.
    */
    string public baseTokenURI;

    /**
    * @notice The mapping contains specific urls including nft meta data. Urls are set only by the collection owner.
    * e.g _tokenURIs[token_id] = “https://ipfs.io/ipfs/xyz”;
    */
    mapping(uint256 => string) private _tokenURIs;
    Counters.Counter private _tokenIds;

    constructor(string memory tokenName, string memory symbol, LibRoyalty.Royalty[] memory _defaultRoyalties)
    ERC721(tokenName, symbol)
    Royalty(_defaultRoyalties, 2500) {}

    /**
    * @notice allows the contract owner to update baseTokenURI.
    * @param _baseTokenURI base url for the tokenUri
    */
    function setBaseTokenURI(string memory _baseTokenURI) external onlyOwner {
        baseTokenURI = _baseTokenURI;
    }

    /**
    * @notice allows the contract owner to update baseExtension.
    * @param _baseExtension extension to add as a suffix
    */
    function setBaseExtension(string memory _baseExtension) external onlyOwner {
        baseExtension = _baseExtension;
    }

    /**
    * @notice allows the contract owner to update the default royalty receiver.
    * defaultRoyaltyReceiver specifies the royalty receiver for the platforms that supports only single royalty receiver.
    * @param _defaultRoyaltyReceiver royalty receiver address
    */
    function setDefaultRoyaltyReceiver(address _defaultRoyaltyReceiver) external override onlyOwner {
        _setDefaultRoyaltyReceiver(_defaultRoyaltyReceiver);
    }

    /**
    * @notice allows the contract owner to update the default royalties that includes multi royalty information.
    * The contract owner can apply default royalties to all nft’s that don’t include any royalty specifically.
    * Total amount of royalty percentages cannot be higher than %25.
    * @param _defaultRoyalties list of the royalties that contains percentages for each account
    */
    function setDefaultRoyalties(LibRoyalty.Royalty[] memory _defaultRoyalties) external override onlyOwner {
        _setDefaultRoyalties(_defaultRoyalties);
    }

    /**
    * @notice allows the contract owner to update the royalties for a specific nft.
    * Total amount of royalty percentages cannot be higher than %25.
    * @param _tokenId nft tokenId
    * @param _royalties list of the royalties that contains percentages for each account
    */
    function saveRoyalties(uint256 _tokenId, LibRoyalty.Royalty[] memory _royalties) external override onlyOwner {
        require(ownerOf(_tokenId) == owner(), "token does not belongs to contract owner");
        _saveRoyalties(_tokenId, _royalties);
    }

    /**
    * @notice allows the contract owner to update the royalties for a specific nft.
    * Total amount of royalty percentages cannot be higher than %25.
    * @param _tokenId nft tokenId
    * @param _tokenURI provides meta data for the nft
    */
    function setTokenURI(uint256 _tokenId, string memory _tokenURI) public onlyOwner {
        require(_exists(_tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[_tokenId] = _tokenURI;
    }

    /**
    * @notice Allows the nft owner to mint an nft.
    * Specifically tokenUri can be set for each nft via _tokenUri parameter.
    * In the case that the _tokenUri is not set then baseTokenURI and  baseExtension are used to generate a token uri.
    * Specifically royalties can be set for each nft via _royalties parameter.
    * In the case of the _royalties is not set then defaultRoyalties is used to process royalty flow.
    * @param _tokenUri provides meta data for the nft
    * @param _royalties list of the royalties that contains percentages for each account
    */
    function mint(string memory _tokenUri, LibRoyalty.Royalty[] memory _royalties) external onlyOwner returns (uint256) {
        return _mint(_tokenUri, _royalties);
    }

    function supportsInterface(bytes4 interfaceId)
    public
    view
    virtual
    override(ERC721, ERC721Enumerable, Royalty)
    returns (bool)
    {
        if (interfaceId == _INTERFACE_ID_EIP2981) {
            return true;
        }
        return super.supportsInterface(interfaceId);
    }

    function balance() external view returns (uint) {
        return address(this).balance;
    }

    /**
    * @notice allows all platforms to access the uri of nft containing metadata.
    * If the token is not specifically set, it uses the baseTokenURI and baseExtension to show a uri.
    * In this case collection owners can use a specific base uri to show a generic uri.
    * e.g  “https://ipfs.io/ipfs/xyz”; --> customUri for the specific nft
    * e.g “https://salvor.io/1.json”; --> baseURI + tokenId + baseExtension
    * @param _tokenId nft tokenId
    */
    function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
        require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token");
        string memory _tokenURI = _tokenURIs[_tokenId];
        if (bytes(_tokenURI).length > 0) {
            return _tokenURI;
        }
        string memory currentBaseURI = _baseURI();
        return bytes(currentBaseURI).length > 0
        ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), baseExtension))
        : super.tokenURI(_tokenId);
    }

    function _mint(string memory _tokenUri, LibRoyalty.Royalty[] memory _royalties) internal returns (uint256) {
        _tokenIds.increment();
        uint256 newItemId = _tokenIds.current();
        _mint(owner(), newItemId);
        if (bytes(_tokenUri).length > 0) {
            setTokenURI(newItemId, _tokenUri);
        }
        _saveRoyalties(newItemId, _royalties);
        return newItemId;
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return baseTokenURI;
    }

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

Contract ABI

[{"inputs":[{"internalType":"string","name":"tokenName","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"components":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"internalType":"struct LibRoyalty.Royalty[]","name":"_defaultRoyalties","type":"tuple[]"}],"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":[{"components":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"indexed":false,"internalType":"struct LibRoyalty.Royalty[]","name":"royalties","type":"tuple[]"},{"components":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"indexed":false,"internalType":"struct LibRoyalty.Royalty[]","name":"previousRoyalties","type":"tuple[]"}],"name":"DefaultRoyaltiesSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"components":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"indexed":false,"internalType":"struct LibRoyalty.Royalty[]","name":"royalties","type":"tuple[]"},{"components":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"indexed":false,"internalType":"struct LibRoyalty.Royalty[]","name":"previousRoyalties","type":"tuple[]"}],"name":"RoyaltiesSet","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"balance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"defaultRoyalties","outputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultRoyaltyReceiver","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":[],"name":"getDefaultRoyalties","outputs":[{"components":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"internalType":"struct LibRoyalty.Royalty[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getTokenRoyalties","outputs":[{"components":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"internalType":"struct LibRoyalty.Royalty[]","name":"","type":"tuple[]"}],"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":[],"name":"maxPercentage","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenUri","type":"string"},{"components":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"internalType":"struct LibRoyalty.Royalty[]","name":"_royalties","type":"tuple[]"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"multiRoyaltyInfo","outputs":[{"components":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct LibRoyalty.Part[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"royalties","outputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"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"},{"components":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"internalType":"struct LibRoyalty.Royalty[]","name":"_royalties","type":"tuple[]"}],"name":"saveRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"internalType":"struct LibRoyalty.Royalty[]","name":"_defaultRoyalties","type":"tuple[]"}],"name":"setDefaultRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_defaultRoyaltyReceiver","type":"address"}],"name":"setDefaultRoyaltyReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620049893803806200498983398101604081905262000034916200047f565b806109c48484600062000048838262000662565b50600162000057828262000662565b5050506001600160601b038116600160a01b023317600c556200007a8262000091565b5062000088905033620002ee565b50505062000851565b7fd1dba60d1ca3bc75f85f83c56fa0b1438eae870b9ffb9d638594b71fdf8820c681600a604051620000c59291906200072e565b60405180910390a1620000db600a600062000340565b6000805b8251811015620002675760006001600160a01b0316838281518110620001095762000109620007df565b6020026020010151600001516001600160a01b0316141580156200015757508281815181106200013d576200013d620007df565b6020026020010151602001516001600160601b0316600014155b156200025257828181518110620001725762000172620007df565b602002602001015160200151826200018b91906200080b565b6040805180820190915260008082526020820152909250838281518110620001b757620001b7620007df565b6020908102919091010151516001600160a01b031681528351849083908110620001e557620001e5620007df565b6020908102919091018101518101516001600160601b03908116918301918252600a80546001810182556000919091529251915116600160a01b026001600160a01b03909116177fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a8909101555b806200025e8162000835565b915050620000df565b50600c546001600160601b03600160a01b90910481169082161115620002ea5760405162461bcd60e51b815260206004820152602e60248201527f526f79616c747920746f74616c2076616c75652073686f756c64206265203c3d60448201526d206d617850657263656e7461676560901b606482015260840160405180910390fd5b5050565b600d80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b508054600082559060005260206000209081019062000360919062000363565b50565b5b808211156200037a576000815560010162000364565b5090565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715620003b957620003b96200037e565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620003ea57620003ea6200037e565b604052919050565b600082601f8301126200040457600080fd5b81516001600160401b038111156200042057620004206200037e565b602062000436601f8301601f19168201620003bf565b82815285828487010111156200044b57600080fd5b60005b838110156200046b5785810183015182820184015282016200044e565b506000928101909101919091529392505050565b6000806000606084860312156200049557600080fd5b83516001600160401b0380821115620004ad57600080fd5b620004bb87838801620003f2565b9450602091508186015181811115620004d357600080fd5b620004e188828901620003f2565b94505060408087015182811115620004f857600080fd5b8701601f810189136200050a57600080fd5b8051838111156200051f576200051f6200037e565b6200052f858260051b01620003bf565b818152858101945060069190911b82018501908a8211156200055057600080fd5b918501915b81831015620005c35783838c0312156200056f5760008081fd5b6200057962000394565b83516001600160a01b0381168114620005925760008081fd5b8152838701516001600160601b0381168114620005af5760008081fd5b818801528552938501939183019162000555565b8096505050505050509250925092565b600181811c90821680620005e857607f821691505b6020821081036200060957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200065d57600081815260208120601f850160051c81016020861015620006385750805b601f850160051c820191505b81811015620006595782815560010162000644565b5050505b505050565b81516001600160401b038111156200067e576200067e6200037e565b62000696816200068f8454620005d3565b846200060f565b602080601f831160018114620006ce5760008415620006b55750858301515b600019600386901b1c1916600185901b17855562000659565b600085815260208120601f198616915b82811015620006ff57888601518255948401946001909101908401620006de565b50858210156200071e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60408082528351828201819052600091906020906060850190828801855b828110156200078557815180516001600160a01b031685528501516001600160601b03168585015292850192908401906001016200074c565b505050848103828601528554808252600087815283812092840191905b81811015620007d15783546001600160a01b038116845260a01c858401526001938401939286019201620007a2565b509098975050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6001600160601b038181168382160190808211156200082e576200082e620007f5565b5092915050565b6000600182016200084a576200084a620007f5565b5060010190565b61412880620008616000396000f3fe608060405234801561001057600080fd5b50600436106102775760003560e01c806370a0823111610160578063acbd62bc116100d8578063d547cfb71161008c578063e461aa2311610071578063e461aa23146105bf578063e985e9c5146105df578063f2fde38b1461062857600080fd5b8063d547cfb7146105a4578063da3ef23f146105ac57600080fd5b8063b88d4fde116100bd578063b88d4fde14610576578063c668286214610589578063c87b56dd1461059157600080fd5b8063acbd62bc14610550578063b69ef8a81461057057600080fd5b80638da5cb5b1161012f57806395d89b411161011457806395d89b4114610522578063a0f0c7b51461052a578063a22cb4651461053d57600080fd5b80638da5cb5b146104fc5780638de036d01461051a57600080fd5b806370a08231146104bb578063715018a6146104ce57806373ae3075146104d65780638924af74146104e957600080fd5b806323b872dd116101f357806335b6003b116101c257806342842e0e116101a757806342842e0e146104825780634f6ccce7146104955780636352211e146104a857600080fd5b806335b6003b146104225780633ebc82c51461046f57600080fd5b806323b872dd146103aa5780632a55205a146103bd5780632f745c59146103fc57806330176e131461040f57600080fd5b806308d10e141161024a578063162094c41161022f578063162094c41461037257806318160ddd146103855780631865fa841461039757600080fd5b806308d10e141461033d578063095ea7b31461035d57600080fd5b806301ffc9a71461027c57806306fdde03146102a4578063073e16b6146102b9578063081812fc14610305575b600080fd5b61028f61028a366004613522565b61063b565b60405190151581526020015b60405180910390f35b6102ac61069d565b60405161029b91906135ad565b6102cc6102c73660046135c0565b61072f565b6040805173ffffffffffffffffffffffffffffffffffffffff90931683526bffffffffffffffffffffffff90911660208301520161029b565b6103186103133660046135c0565b61078d565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161029b565b61035061034b3660046135c0565b61086c565b60405161029b9190613643565b61037061036b36600461367f565b61091e565b005b6103706103803660046137e6565b610aaa565b6008545b60405190815260200161029b565b6103706103a53660046138f3565b610bf4565b6103706103b8366004613928565b610c81565b6103d06103cb366004613964565b610d22565b6040805173ffffffffffffffffffffffffffffffffffffffff909316835260208301919091520161029b565b61038961040a36600461367f565b610e9f565b61037061041d366004613986565b610f6e565b600c54610452907401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1681565b6040516bffffffffffffffffffffffff909116815260200161029b565b61037061047d3660046139bb565b610fff565b610370610490366004613928565b611089565b6103896104a33660046135c0565b6110a4565b6103186104b63660046135c0565b611162565b6103896104c93660046139bb565b611214565b6103706112e2565b6103896104e43660046139d6565b61136f565b6102cc6104f7366004613964565b611404565b600d5473ffffffffffffffffffffffffffffffffffffffff16610318565b610350611470565b6102ac61150f565b610370610538366004613a30565b61151e565b61037061054b366004613a6d565b61166e565b61056361055e366004613964565b611679565b60405161029b9190613aa9565b47610389565b610370610584366004613b0e565b611882565b6102ac61192a565b6102ac61059f3660046135c0565b6119b8565b6102ac611b6e565b6103706105ba366004613986565b611b7b565b600c546103189073ffffffffffffffffffffffffffffffffffffffff1681565b61028f6105ed366004613b8a565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b6103706106363660046139bb565b611c08565b60007fd5aadfa6000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000083160161068e57506001919050565b61069782611d35565b92915050565b6060600080546106ac90613bbd565b80601f01602080910402602001604051908101604052809291908181526020018280546106d890613bbd565b80156107255780601f106106fa57610100808354040283529160200191610725565b820191906000526020600020905b81548152906001019060200180831161070857829003601f168201915b5050505050905090565b600a818154811061073f57600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff811691507401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1682565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16610843576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6060600b6000838152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015610913576000848152602090819020604080518082019091529084015473ffffffffffffffffffffffffffffffffffffffff811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff16818301528252600190920191016108a1565b505050509050919050565b600061092982611162565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109e6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f7200000000000000000000000000000000000000000000000000000000000000606482015260840161083a565b3373ffffffffffffffffffffffffffffffffffffffff82161480610a0f5750610a0f81336105ed565b610a9b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161083a565b610aa58383611d8b565b505050565b600d5473ffffffffffffffffffffffffffffffffffffffff163314610b2b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161083a565b60008281526002602052604090205473ffffffffffffffffffffffffffffffffffffffff16610bdc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201527f6578697374656e7420746f6b656e000000000000000000000000000000000000606482015260840161083a565b6000828152601060205260409020610aa58282613c5e565b600d5473ffffffffffffffffffffffffffffffffffffffff163314610c75576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161083a565b610c7e81611e2b565b50565b610c8b33826120f2565b610d17576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161083a565b610aa583838361225e565b6000828152600b602052604081205481908190610d4057600a610d4f565b6000858152600b602052604090205b805480602002602001604051908101604052809291908181526020016000905b82821015610de1576000848152602090819020604080518082019091529084015473ffffffffffffffffffffffffffffffffffffffff811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1681830152825260019092019101610d6f565b505050509050600080600090505b8251811015610e3557828181518110610e0a57610e0a613d78565b60200260200101516020015182610e219190613dd6565b915080610e2d81613e02565b915050610def565b506000816bffffffffffffffffffffffff1611610e53576000610e6d565b600c5473ffffffffffffffffffffffffffffffffffffffff165b612710610e886bffffffffffffffffffffffff841688613e3a565b610e929190613ea6565b9350935050509250929050565b6000610eaa83611214565b8210610f38576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e6473000000000000000000000000000000000000000000606482015260840161083a565b5073ffffffffffffffffffffffffffffffffffffffff919091166000908152600660209081526040808320938352929052205490565b600d5473ffffffffffffffffffffffffffffffffffffffff163314610fef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161083a565b600f610ffb8282613c5e565b5050565b600d5473ffffffffffffffffffffffffffffffffffffffff163314611080576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161083a565b610c7e816124d0565b610aa583838360405180602001604052806000815250611882565b60006110af60085490565b821061113d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e64730000000000000000000000000000000000000000606482015260840161083a565b6008828154811061115057611150613d78565b90600052602060002001549050919050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff1680610697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606482015260840161083a565b600073ffffffffffffffffffffffffffffffffffffffff82166112b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f206164647265737300000000000000000000000000000000000000000000606482015260840161083a565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b600d5473ffffffffffffffffffffffffffffffffffffffff163314611363576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161083a565b61136d600061253e565b565b600d5460009073ffffffffffffffffffffffffffffffffffffffff1633146113f3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161083a565b6113fd83836125b5565b9392505050565b600b602052816000526040600020818154811061142057600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff811692507401000000000000000000000000000000000000000090046bffffffffffffffffffffffff16905082565b6060600a805480602002602001604051908101604052809291908181526020016000905b82821015611506576000848152602090819020604080518082019091529084015473ffffffffffffffffffffffffffffffffffffffff811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1681830152825260019092019101611494565b50505050905090565b6060600180546106ac90613bbd565b600d5473ffffffffffffffffffffffffffffffffffffffff16331461159f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161083a565b600d5473ffffffffffffffffffffffffffffffffffffffff166115c183611162565b73ffffffffffffffffffffffffffffffffffffffff1614611664576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f746f6b656e20646f6573206e6f742062656c6f6e677320746f20636f6e74726160448201527f6374206f776e6572000000000000000000000000000000000000000000000000606482015260840161083a565b610ffb8282612611565b610ffb3383836128dd565b6000828152600b60205260408120546060919061169757600a6116a6565b6000848152600b602052604090205b805480602002602001604051908101604052809291908181526020016000905b82821015611738576000848152602090819020604080518082019091529084015473ffffffffffffffffffffffffffffffffffffffff811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff16818301528252600190920191016116c6565b5050505090506000815167ffffffffffffffff81111561175a5761175a6136a9565b60405190808252806020026020018201604052801561179f57816020015b60408051808201909152600080825260208201528152602001906001900390816117785790505b50905060005b82518110156118795760408051808201909152600080825260208201528382815181106117d4576117d4613d78565b60209081029190910101515173ffffffffffffffffffffffffffffffffffffffff16815283516127109085908490811061181057611810613d78565b6020026020010151602001516bffffffffffffffffffffffff16876118359190613e3a565b61183f9190613ea6565b60208201528251819084908490811061185a5761185a613d78565b602002602001018190525050808061187190613e02565b9150506117a5565b50949350505050565b61188c33836120f2565b611918576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161083a565b61192484848484612a0a565b50505050565b600e805461193790613bbd565b80601f016020809104026020016040519081016040528092919081815260200182805461196390613bbd565b80156119b05780601f10611985576101008083540402835291602001916119b0565b820191906000526020600020905b81548152906001019060200180831161199357829003601f168201915b505050505081565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16611a6c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606482015260840161083a565b60008281526010602052604081208054611a8590613bbd565b80601f0160208091040260200160405190810160405280929190818152602001828054611ab190613bbd565b8015611afe5780601f10611ad357610100808354040283529160200191611afe565b820191906000526020600020905b815481529060010190602001808311611ae157829003601f168201915b50505050509050600081511115611b155792915050565b6000611b1f612aad565b90506000815111611b3857611b3384612abc565b611b66565b80611b4285612bcb565b600e604051602001611b5693929190613eba565b6040516020818303038152906040525b949350505050565b600f805461193790613bbd565b600d5473ffffffffffffffffffffffffffffffffffffffff163314611bfc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161083a565b600e610ffb8282613c5e565b600d5473ffffffffffffffffffffffffffffffffffffffff163314611c89576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161083a565b73ffffffffffffffffffffffffffffffffffffffff8116611d2c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161083a565b610c7e8161253e565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f85f0c5d6000000000000000000000000000000000000000000000000000000001480610697575061069782612d00565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84169081179091558190611de582611162565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b7fd1dba60d1ca3bc75f85f83c56fa0b1438eae870b9ffb9d638594b71fdf8820c681600a604051611e5d929190613f78565b60405180910390a1611e71600a60006134c2565b6000805b825181101561203557600073ffffffffffffffffffffffffffffffffffffffff16838281518110611ea857611ea8613d78565b60200260200101516000015173ffffffffffffffffffffffffffffffffffffffff1614158015611f045750828181518110611ee557611ee5613d78565b6020026020010151602001516bffffffffffffffffffffffff16600014155b1561202357828181518110611f1b57611f1b613d78565b60200260200101516020015182611f329190613dd6565b6040805180820190915260008082526020820152909250838281518110611f5b57611f5b613d78565b60209081029190910101515173ffffffffffffffffffffffffffffffffffffffff1681528351849083908110611f9357611f93613d78565b6020908102919091018101518101516bffffffffffffffffffffffff908116918301918252600a80546001810182556000919091529251915116740100000000000000000000000000000000000000000273ffffffffffffffffffffffffffffffffffffffff909116177fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a8909101555b8061202d81613e02565b915050611e75565b50600c546bffffffffffffffffffffffff7401000000000000000000000000000000000000000090910481169082161115610ffb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f526f79616c747920746f74616c2076616c75652073686f756c64206265203c3d60448201527f206d617850657263656e74616765000000000000000000000000000000000000606482015260840161083a565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff166121a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606482015260840161083a565b60006121ae83611162565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061221d57508373ffffffffffffffffffffffffffffffffffffffff166122058461078d565b73ffffffffffffffffffffffffffffffffffffffff16145b80611b66575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff16611b66565b8273ffffffffffffffffffffffffffffffffffffffff1661227e82611162565b73ffffffffffffffffffffffffffffffffffffffff1614612321576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e6572000000000000000000000000000000000000000000000000000000606482015260840161083a565b73ffffffffffffffffffffffffffffffffffffffff82166123c3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161083a565b6123ce838383612d56565b6123d9600082611d8b565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260036020526040812080546001929061240f908490613ff4565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600090815260036020526040812080546001929061244a908490614007565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b73ffffffffffffffffffffffffffffffffffffffff81166124f7576124f7600a60006134c2565b600c80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600d805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006125c5601180546001019055565b60006125d060115490565b90506125fa6125f4600d5473ffffffffffffffffffffffffffffffffffffffff1690565b82612d61565b83511561260b5761260b8185610aaa565b6113fd81845b6000828152600b602052604090819020905183917ff0f1a857e358b32b2177a0fb15e84feb5c86fc775e51ff5c052e28c35f4358f491612652918591613f78565b60405180910390a26000828152600b6020526040812061267290826134c2565b60005b825181101561282057600073ffffffffffffffffffffffffffffffffffffffff168382815181106126a8576126a8613d78565b60200260200101516000015173ffffffffffffffffffffffffffffffffffffffff161415801561270457508281815181106126e5576126e5613d78565b6020026020010151602001516bffffffffffffffffffffffff16600014155b1561280e5782818151811061271b5761271b613d78565b602002602001015160200151826127329190613dd6565b604080518082019091526000808252602082015290925083828151811061275b5761275b613d78565b60209081029190910101515173ffffffffffffffffffffffffffffffffffffffff168152835184908390811061279357612793613d78565b6020908102919091018101518101516bffffffffffffffffffffffff9081168383019081526000888152600b845260408120805460018101825590825293902093519051909116740100000000000000000000000000000000000000000273ffffffffffffffffffffffffffffffffffffffff909116179101555b8061281881613e02565b915050612675565b50600c546bffffffffffffffffffffffff7401000000000000000000000000000000000000000090910481169082161115610aa5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f526f79616c747920746f74616c2076616c75652073686f756c64206265203c3d60448201527f206d617850657263656e74616765000000000000000000000000000000000000606482015260840161083a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612972576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161083a565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612a1584848461225e565b612a2184848484612f2f565b611924576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161083a565b6060600f80546106ac90613bbd565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16612b70576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606482015260840161083a565b6000612b7a612aad565b90506000815111612b9a57604051806020016040528060008152506113fd565b80612ba484612bcb565b604051602001612bb592919061401a565b6040516020818303038152906040529392505050565b606081600003612c0e57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612c385780612c2281613e02565b9150612c319050600a83613ea6565b9150612c12565b60008167ffffffffffffffff811115612c5357612c536136a9565b6040519080825280601f01601f191660200182016040528015612c7d576020820181803683370190505b5090505b8415611b6657612c92600183613ff4565b9150612c9f600a86614049565b612caa906030614007565b60f81b818381518110612cbf57612cbf613d78565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612cf9600a86613ea6565b9450612c81565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610697575061069782613122565b610aa5838383613205565b73ffffffffffffffffffffffffffffffffffffffff8216612dde576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161083a565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1615612e6a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161083a565b612e7660008383612d56565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290612eac908490614007565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600073ffffffffffffffffffffffffffffffffffffffff84163b15613117576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290612fa690339089908890889060040161405d565b6020604051808303816000875af1925050508015612fff575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252612ffc918101906140a6565b60015b6130cc573d80801561302d576040519150601f19603f3d011682016040523d82523d6000602084013e613032565b606091505b5080516000036130c4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161083a565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611b66565b506001949350505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806131b557507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061069757507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610697565b73ffffffffffffffffffffffffffffffffffffffff831661326d5761326881600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6132aa565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146132aa576132aa838261330b565b73ffffffffffffffffffffffffffffffffffffffff82166132ce57610aa5816133c2565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610aa557610aa58282613471565b6000600161331884611214565b6133229190613ff4565b6000838152600760205260409020549091508082146133825773ffffffffffffffffffffffffffffffffffffffff841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b50600091825260076020908152604080842084905573ffffffffffffffffffffffffffffffffffffffff9094168352600681528383209183525290812055565b6008546000906133d490600190613ff4565b600083815260096020526040812054600880549394509092849081106133fc576133fc613d78565b90600052602060002001549050806008838154811061341d5761341d613d78565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480613455576134556140c3565b6001900381819060005260206000200160009055905550505050565b600061347c83611214565b73ffffffffffffffffffffffffffffffffffffffff9093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b5080546000825590600052602060002090810190610c7e91905b808211156134f057600081556001016134dc565b5090565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610c7e57600080fd5b60006020828403121561353457600080fd5b81356113fd816134f4565b60005b8381101561355a578181015183820152602001613542565b50506000910152565b6000815180845261357b81602086016020860161353f565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006113fd6020830184613563565b6000602082840312156135d257600080fd5b5035919050565b600081518084526020808501945080840160005b83811015613638578151805173ffffffffffffffffffffffffffffffffffffffff1688528301516bffffffffffffffffffffffff1683880152604090960195908201906001016135ed565b509495945050505050565b6020815260006113fd60208301846135d9565b803573ffffffffffffffffffffffffffffffffffffffff8116811461367a57600080fd5b919050565b6000806040838503121561369257600080fd5b61369b83613656565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156136fb576136fb6136a9565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715613748576137486136a9565b604052919050565b600067ffffffffffffffff83111561376a5761376a6136a9565b61379b60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601613701565b90508281528383830111156137af57600080fd5b828260208301376000602084830101529392505050565b600082601f8301126137d757600080fd5b6113fd83833560208501613750565b600080604083850312156137f957600080fd5b82359150602083013567ffffffffffffffff81111561381757600080fd5b613823858286016137c6565b9150509250929050565b600082601f83011261383e57600080fd5b8135602067ffffffffffffffff82111561385a5761385a6136a9565b613868818360051b01613701565b82815260069290921b8401810191818101908684111561388757600080fd5b8286015b848110156138e857604081890312156138a45760008081fd5b6138ac6136d8565b6138b582613656565b8152848201356bffffffffffffffffffffffff811681146138d65760008081fd5b8186015283529183019160400161388b565b509695505050505050565b60006020828403121561390557600080fd5b813567ffffffffffffffff81111561391c57600080fd5b611b668482850161382d565b60008060006060848603121561393d57600080fd5b61394684613656565b925061395460208501613656565b9150604084013590509250925092565b6000806040838503121561397757600080fd5b50508035926020909101359150565b60006020828403121561399857600080fd5b813567ffffffffffffffff8111156139af57600080fd5b611b66848285016137c6565b6000602082840312156139cd57600080fd5b6113fd82613656565b600080604083850312156139e957600080fd5b823567ffffffffffffffff80821115613a0157600080fd5b613a0d868387016137c6565b93506020850135915080821115613a2357600080fd5b506138238582860161382d565b60008060408385031215613a4357600080fd5b82359150602083013567ffffffffffffffff811115613a6157600080fd5b6138238582860161382d565b60008060408385031215613a8057600080fd5b613a8983613656565b915060208301358015158114613a9e57600080fd5b809150509250929050565b602080825282518282018190526000919060409081850190868401855b82811015613b01578151805173ffffffffffffffffffffffffffffffffffffffff168552860151868501529284019290850190600101613ac6565b5091979650505050505050565b60008060008060808587031215613b2457600080fd5b613b2d85613656565b9350613b3b60208601613656565b925060408501359150606085013567ffffffffffffffff811115613b5e57600080fd5b8501601f81018713613b6f57600080fd5b613b7e87823560208401613750565b91505092959194509250565b60008060408385031215613b9d57600080fd5b613ba683613656565b9150613bb460208401613656565b90509250929050565b600181811c90821680613bd157607f821691505b602082108103613c0a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b601f821115610aa557600081815260208120601f850160051c81016020861015613c375750805b601f850160051c820191505b81811015613c5657828155600101613c43565b505050505050565b815167ffffffffffffffff811115613c7857613c786136a9565b613c8c81613c868454613bbd565b84613c10565b602080601f831160018114613cdf5760008415613ca95750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555613c56565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b82811015613d2c57888601518255948401946001909101908401613d0d565b5085821015613d6857878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6bffffffffffffffffffffffff818116838216019080821115613dfb57613dfb613da7565b5092915050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613e3357613e33613da7565b5060010190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613e7257613e72613da7565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082613eb557613eb5613e77565b500490565b600084516020613ecd8285838a0161353f565b855191840191613ee08184848a0161353f565b8554920191600090613ef181613bbd565b60018281168015613f095760018114613f3c57613f68565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0084168752821515830287019450613f68565b896000528560002060005b84811015613f6057815489820152908301908701613f47565b505082870194505b50929a9950505050505050505050565b60006040808352613f8b818401866135d9565b60208482038186015281865480845282840191508760005282600020935060005b81811015613fe657845473ffffffffffffffffffffffffffffffffffffffff8116845260a01c848401526001948501949286019201613fac565b509098975050505050505050565b8181038181111561069757610697613da7565b8082018082111561069757610697613da7565b6000835161402c81846020880161353f565b83519083019061404081836020880161353f565b01949350505050565b60008261405857614058613e77565b500690565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261409c6080830184613563565b9695505050505050565b6000602082840312156140b857600080fd5b81516113fd816134f4565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212204ca6f1b96898f82fb97df60eebe0d7ab09735872007b360af5c9cf9f6e6855ff64736f6c63430008100033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000104b535641727420436f6d6d756e69747900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000541534b535600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000005d95ec434cb061236e9e32fb4f5d3e73bf21596d0000000000000000000000000000000000000000000000000000000000000320

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000104b535641727420436f6d6d756e69747900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000541534b535600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000005d95ec434cb061236e9e32fb4f5d3e73bf21596d0000000000000000000000000000000000000000000000000000000000000320

-----Decoded View---------------
Arg [0] : tokenName (string): KSVArt Community
Arg [1] : symbol (string): ASKSV
Arg [2] : _defaultRoyalties (tuple[]): System.Object

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [4] : 4b535641727420436f6d6d756e69747900000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 41534b5356000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [8] : 0000000000000000000000005d95ec434cb061236e9e32fb4f5d3e73bf21596d
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000320


Deployed ByteCode Sourcemap

49381:6634:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53809:308;;;;;;:::i;:::-;;:::i;:::-;;;611:14:1;;604:22;586:41;;574:2;559:18;53809:308:0;;;;;;;;23885:100;;;:::i;:::-;;;;;;;:::i;42930:44::-;;;;;;:::i;:::-;;:::i;:::-;;;;1840:42:1;1828:55;;;1810:74;;1932:26;1920:39;;;1915:2;1900:18;;1893:67;1783:18;42930:44:0;1638:328:1;25444:221:0;;;;;;:::i;:::-;;:::i;:::-;;;2147:42:1;2135:55;;;2117:74;;2105:2;2090:18;25444:221:0;1971:226:1;44066:159:0;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;24967:411::-;;;;;;:::i;:::-;;:::i;:::-;;52809:219;;;;;;:::i;:::-;;:::i;37303:113::-;37391:10;:17;37303:113;;;5628:25:1;;;5616:2;5601:18;37303:113:0;5482:177:1;51816:162:0;;;;;;:::i;:::-;;:::i;26194:339::-;;;;;;:::i;:::-;;:::i;44678:542::-;;;;;;:::i;:::-;;:::i;:::-;;;;8027:42:1;8015:55;;;7997:74;;8102:2;8087:18;;8080:34;;;;7970:18;44678:542:0;7823:297:1;36971:256:0;;;;;;:::i;:::-;;:::i;50543:120::-;;;;;;:::i;:::-;;:::i;43266:27::-;;;;;;;;;;;;;;;8626:26:1;8614:39;;;8596:58;;8584:2;8569:18;43266:27:0;8452:208:1;51228:166:0;;;;;;:::i;:::-;;:::i;26604:185::-;;;;;;:::i;:::-;;:::i;37493:233::-;;;;;;:::i;:::-;;:::i;23579:239::-;;;;;;:::i;:::-;;:::i;23309:208::-;;;;;;:::i;:::-;;:::i;20889:103::-;;;:::i;53631:170::-;;;;;;:::i;:::-;;:::i;43079:58::-;;;;;;:::i;:::-;;:::i;20238:87::-;20311:6;;;;20238:87;;43812:142;;;:::i;24054:104::-;;;:::i;52283:256::-;;;;;;:::i;:::-;;:::i;25737:155::-;;;;;;:::i;:::-;;:::i;45414:733::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;54125:95::-;54191:21;54125:95;;26860:328;;;;;;:::i;:::-;;:::i;49747:27::-;;;:::i;54714:554::-;;;;;;:::i;:::-;;:::i;49891:26::-;;;:::i;50812:124::-;;;;;;:::i;:::-;;:::i;43177:37::-;;;;;;;;;25963:164;;;;;;:::i;:::-;26084:25;;;;26060:4;26084:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;25963:164;21147:201;;;;;;:::i;:::-;;:::i;53809:308::-;53954:4;53980:36;;;;;53976:80;;-1:-1:-1;54040:4:0;;53809:308;-1:-1:-1;53809:308:0:o;53976:80::-;54073:36;54097:11;54073:23;:36::i;:::-;54066:43;53809:308;-1:-1:-1;;53809:308:0:o;23885:100::-;23939:13;23972:5;23965:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23885:100;:::o;42930:44::-;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42930:44:0;;;;;;:::o;25444:221::-;25520:7;28787:16;;;:7;:16;;;;;;:30;:16;25540:73;;;;;;;12680:2:1;25540:73:0;;;12662:21:1;12719:2;12699:18;;;12692:30;12758:34;12738:18;;;12731:62;12829:14;12809:18;;;12802:42;12861:19;;25540:73:0;;;;;;;;;-1:-1:-1;25633:24:0;;;;:15;:24;;;;;;;;;25444:221::o;44066:159::-;44151:27;44198:9;:19;44208:8;44198:19;;;;;;;;;;;44191:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44066:159;;;:::o;24967:411::-;25048:13;25064:23;25079:7;25064:14;:23::i;:::-;25048:39;;25112:5;25106:11;;:2;:11;;;25098:57;;;;;;;13093:2:1;25098:57:0;;;13075:21:1;13132:2;13112:18;;;13105:30;13171:34;13151:18;;;13144:62;13242:3;13222:18;;;13215:31;13263:19;;25098:57:0;12891:397:1;25098:57:0;19692:10;25190:21;;;;;:62;;-1:-1:-1;25215:37:0;25232:5;19692:10;25963:164;:::i;25215:37::-;25168:168;;;;;;;13495:2:1;25168:168:0;;;13477:21:1;13534:2;13514:18;;;13507:30;13573:34;13553:18;;;13546:62;13644:26;13624:18;;;13617:54;13688:19;;25168:168:0;13293:420:1;25168:168:0;25349:21;25358:2;25362:7;25349:8;:21::i;:::-;25037:341;24967:411;;:::o;52809:219::-;20311:6;;20458:23;20311:6;19692:10;20458:23;20450:68;;;;;;;13920:2:1;20450:68:0;;;13902:21:1;;;13939:18;;;13932:30;13998:34;13978:18;;;13971:62;14050:18;;20450:68:0;13718:356:1;20450:68:0;28763:4;28787:16;;;:7;:16;;;;;;:30;:16;52901:76:::1;;;::::0;::::1;::::0;;14281:2:1;52901:76:0::1;::::0;::::1;14263:21:1::0;14320:2;14300:18;;;14293:30;14359:34;14339:18;;;14332:62;14430:16;14410:18;;;14403:44;14464:19;;52901:76:0::1;14079:410:1::0;52901:76:0::1;52988:20;::::0;;;:10:::1;:20;::::0;;;;:32:::1;53011:9:::0;52988:20;:32:::1;:::i;51816:162::-:0;20311:6;;20458:23;20311:6;19692:10;20458:23;20450:68;;;;;;;13920:2:1;20450:68:0;;;13902:21:1;;;13939:18;;;13932:30;13998:34;13978:18;;;13971:62;14050:18;;20450:68:0;13718:356:1;20450:68:0;51931:39:::1;51952:17;51931:20;:39::i;:::-;51816:162:::0;:::o;26194:339::-;26389:41;19692:10;26422:7;26389:18;:41::i;:::-;26381:103;;;;;;;17079:2:1;26381:103:0;;;17061:21:1;17118:2;17098:18;;;17091:30;17157:34;17137:18;;;17130:62;17228:19;17208:18;;;17201:47;17265:19;;26381:103:0;16877:413:1;26381:103:0;26497:28;26507:4;26513:2;26517:7;26497:9;:28::i;44678:542::-;44777:16;44877:19;;;:9;:19;;;;;:26;44777:16;;;;44877:71;;44932:16;44877:71;;;44910:19;;;;:9;:19;;;;;44877:71;44829:119;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44959:17;44992:6;45001:1;44992:10;;44987:119;45008:17;:24;45004:1;:28;44987:119;;;45068:17;45086:1;45068:20;;;;;;;;:::i;:::-;;;;;;;:26;;;45054:40;;;;;:::i;:::-;;-1:-1:-1;45034:3:0;;;;:::i;:::-;;;;44987:119;;;;45137:1;45124:10;:14;;;:52;;45174:1;45124:52;;;45141:22;;;;45124:52;45206:5;45179:23;;;;:10;:23;:::i;:::-;45178:33;;;;:::i;:::-;45116:96;;;;;;44678:542;;;;;:::o;36971:256::-;37068:7;37104:23;37121:5;37104:16;:23::i;:::-;37096:5;:31;37088:87;;;;;;;18815:2:1;37088:87:0;;;18797:21:1;18854:2;18834:18;;;18827:30;18893:34;18873:18;;;18866:62;18964:13;18944:18;;;18937:41;18995:19;;37088:87:0;18613:407:1;37088:87:0;-1:-1:-1;37193:19:0;;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;36971:256::o;50543:120::-;20311:6;;20458:23;20311:6;19692:10;20458:23;20450:68;;;;;;;13920:2:1;20450:68:0;;;13902:21:1;;;13939:18;;;13932:30;13998:34;13978:18;;;13971:62;14050:18;;20450:68:0;13718:356:1;20450:68:0;50627:12:::1;:28;50642:13:::0;50627:12;:28:::1;:::i;:::-;;50543:120:::0;:::o;51228:166::-;20311:6;;20458:23;20311:6;19692:10;20458:23;20450:68;;;;;;;13920:2:1;20450:68:0;;;13902:21:1;;;13939:18;;;13932:30;13998:34;13978:18;;;13971:62;14050:18;;20450:68:0;13718:356:1;20450:68:0;51335:51:::1;51362:23;51335:26;:51::i;26604:185::-:0;26742:39;26759:4;26765:2;26769:7;26742:39;;;;;;;;;;;;:16;:39::i;37493:233::-;37568:7;37604:30;37391:10;:17;;37303:113;37604:30;37596:5;:38;37588:95;;;;;;;19227:2:1;37588:95:0;;;19209:21:1;19266:2;19246:18;;;19239:30;19305:34;19285:18;;;19278:62;19376:14;19356:18;;;19349:42;19408:19;;37588:95:0;19025:408:1;37588:95:0;37701:10;37712:5;37701:17;;;;;;;;:::i;:::-;;;;;;;;;37694:24;;37493:233;;;:::o;23579:239::-;23651:7;23687:16;;;:7;:16;;;;;;;;;23714:73;;;;;;;19640:2:1;23714:73:0;;;19622:21:1;19679:2;19659:18;;;19652:30;19718:34;19698:18;;;19691:62;19789:11;19769:18;;;19762:39;19818:19;;23714:73:0;19438:405:1;23309:208:0;23381:7;23409:19;;;23401:74;;;;;;;20050:2:1;23401:74:0;;;20032:21:1;20089:2;20069:18;;;20062:30;20128:34;20108:18;;;20101:62;20199:12;20179:18;;;20172:40;20229:19;;23401:74:0;19848:406:1;23401:74:0;-1:-1:-1;23493:16:0;;;;;;:9;:16;;;;;;;23309:208::o;20889:103::-;20311:6;;20458:23;20311:6;19692:10;20458:23;20450:68;;;;;;;13920:2:1;20450:68:0;;;13902:21:1;;;13939:18;;;13932:30;13998:34;13978:18;;;13971:62;14050:18;;20450:68:0;13718:356:1;20450:68:0;20954:30:::1;20981:1;20954:18;:30::i;:::-;20889:103::o:0;53631:170::-;20311:6;;53738:7;;20458:23;20311:6;19692:10;20458:23;20450:68;;;;;;;13920:2:1;20450:68:0;;;13902:21:1;;;13939:18;;;13932:30;13998:34;13978:18;;;13971:62;14050:18;;20450:68:0;13718:356:1;20450:68:0;53765:28:::1;53771:9;53782:10;53765:5;:28::i;:::-;53758:35:::0;53631:170;-1:-1:-1;;;53631:170:0:o;43079:58::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43079:58:0;;;;;;-1:-1:-1;43079:58:0;:::o;43812:142::-;43883:27;43930:16;43923:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43812:142;:::o;24054:104::-;24110:13;24143:7;24136:14;;;;;:::i;52283:256::-;20311:6;;20458:23;20311:6;19692:10;20458:23;20450:68;;;;;;;13920:2:1;20450:68:0;;;13902:21:1;;;13939:18;;;13932:30;13998:34;13978:18;;;13971:62;14050:18;;20450:68:0;13718:356:1;20450:68:0;20311:6;;;;52411:17:::1;52419:8:::0;52411:7:::1;:17::i;:::-;:28;;;52403:81;;;::::0;::::1;::::0;;20461:2:1;52403:81:0::1;::::0;::::1;20443:21:1::0;20500:2;20480:18;;;20473:30;20539:34;20519:18;;;20512:62;20610:10;20590:18;;;20583:38;20638:19;;52403:81:0::1;20259:404:1::0;52403:81:0::1;52495:36;52510:8;52520:10;52495:14;:36::i;25737:155::-:0;25832:52;19692:10;25865:8;25875;25832:18;:52::i;45414:733::-;45555:45;45603:19;;;:9;:19;;;;;:26;45518:24;;45555:45;45603:71;;45658:16;45603:71;;;45636:19;;;;:9;:19;;;;;45603:71;45555:119;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45685:40;45750:17;:24;45728:47;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;45728:47:0;;;;;;;;;;;;;;;;45685:90;;45791:6;45786:321;45807:17;:24;45803:1;:28;45786:321;;;-1:-1:-1;;;;;;;;;;;;;;;;;45930:17:0;45948:1;45930:20;;;;;;;;:::i;:::-;;;;;;;;;;;:28;45905:53;;;;46010:20;;46040:5;;46010:17;;46028:1;;46010:20;;;;;;:::i;:::-;;;;;;;:26;;;45997:39;;:10;:39;;;;:::i;:::-;45996:49;;;;:::i;:::-;45973:20;;;:72;46060:18;;45973:14;;46060:15;;46076:1;;46060:18;;;;;;:::i;:::-;;;;;;:35;;;;45838:269;45833:3;;;;;:::i;:::-;;;;45786:321;;;-1:-1:-1;46124:15:0;45414:733;-1:-1:-1;;;;45414:733:0:o;26860:328::-;27035:41;19692:10;27068:7;27035:18;:41::i;:::-;27027:103;;;;;;;17079:2:1;27027:103:0;;;17061:21:1;17118:2;17098:18;;;17091:30;17157:34;17137:18;;;17130:62;17228:19;17208:18;;;17201:47;17265:19;;27027:103:0;16877:413:1;27027:103:0;27141:39;27155:4;27161:2;27165:7;27174:5;27141:13;:39::i;:::-;26860:328;;;;:::o;49747:27::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;54714:554::-;28763:4;28787:16;;;:7;:16;;;;;;54788:13;;28787:30;:16;54814:77;;;;;;;20870:2:1;54814:77:0;;;20852:21:1;20909:2;20889:18;;;20882:30;20948:34;20928:18;;;20921:62;21019:17;20999:18;;;20992:45;21054:19;;54814:77:0;20668:411:1;54814:77:0;54902:23;54928:20;;;:10;:20;;;;;54902:46;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54989:1;54969:9;54963:23;:27;54959:76;;;55014:9;54714:554;-1:-1:-1;;54714:554:0:o;54959:76::-;55045:28;55076:10;:8;:10::i;:::-;55045:41;;55135:1;55110:14;55104:28;:32;:156;;55236:24;55251:8;55236:14;:24::i;:::-;55104:156;;;55172:14;55188:19;:8;:17;:19::i;:::-;55209:13;55155:68;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;55104:156;55097:163;54714:554;-1:-1:-1;;;;54714:554:0:o;49891:26::-;;;;;;;:::i;50812:124::-;20311:6;;20458:23;20311:6;19692:10;20458:23;20450:68;;;;;;;13920:2:1;20450:68:0;;;13902:21:1;;;13939:18;;;13932:30;13998:34;13978:18;;;13971:62;14050:18;;20450:68:0;13718:356:1;20450:68:0;50898:13:::1;:30;50914:14:::0;50898:13;:30:::1;:::i;21147:201::-:0;20311:6;;20458:23;20311:6;19692:10;20458:23;20450:68;;;;;;;13920:2:1;20450:68:0;;;13902:21:1;;;13939:18;;;13932:30;13998:34;13978:18;;;13971:62;14050:18;;20450:68:0;13718:356:1;20450:68:0;21236:22:::1;::::0;::::1;21228:73;;;::::0;::::1;::::0;;22605:2:1;21228:73:0::1;::::0;::::1;22587:21:1::0;22644:2;22624:18;;;22617:30;22683:34;22663:18;;;22656:62;22754:8;22734:18;;;22727:36;22780:19;;21228:73:0::1;22403:402:1::0;21228:73:0::1;21312:28;21331:8;21312:18;:28::i;43537:206::-:0;43630:4;43654:41;;;43669:26;43654:41;;:81;;;43699:36;43723:11;43699:23;:36::i;32844:174::-;32919:24;;;;:15;:24;;;;;:29;;;;;;;;;;;;;:24;;32973:23;32919:24;32973:14;:23::i;:::-;32964:46;;;;;;;;;;;;32844:174;;:::o;47752:834::-;47862:56;47882:17;47901:16;47862:56;;;;;;;:::i;:::-;;;;;;;;47929:23;47936:16;;47929:23;:::i;:::-;47963:17;;47991:491;48012:17;:24;48008:1;:28;47991:491;;;48102:1;48062:42;;:17;48080:1;48062:20;;;;;;;;:::i;:::-;;;;;;;:28;;;:42;;;;:77;;;;;48108:17;48126:1;48108:20;;;;;;;;:::i;:::-;;;;;;;:26;;;:31;;48138:1;48108:31;;48062:77;48058:413;;;48174:17;48192:1;48174:20;;;;;;;;:::i;:::-;;;;;;;:26;;;48160:40;;;;;:::i;:::-;-1:-1:-1;;;;;;;;;;;;;;;;;48160:40:0;;-1:-1:-1;48303:17:0;48321:1;48303:20;;;;;;;;:::i;:::-;;;;;;;;;;;:28;48278:53;;;;48373:20;;:17;;48391:1;;48373:20;;;;;;:::i;:::-;;;;;;;;;;;;:26;;;48350:49;;;;:20;;;:49;;;48418:16;:37;;;;;;;-1:-1:-1;48418:37:0;;;;;;;;;;;;;;;;;;;;;48058:413;48038:3;;;;:::i;:::-;;;;47991:491;;;-1:-1:-1;48514:13:0;;;;;;;;;48500:27;;;;;48492:86;;;;;;;24107:2:1;48492:86:0;;;24089:21:1;24146:2;24126:18;;;24119:30;24185:34;24165:18;;;24158:62;24256:16;24236:18;;;24229:44;24290:19;;48492:86:0;23905:410:1;28992:348:0;29085:4;28787:16;;;:7;:16;;;;;;:30;:16;29102:73;;;;;;;24522:2:1;29102:73:0;;;24504:21:1;24561:2;24541:18;;;24534:30;24600:34;24580:18;;;24573:62;24671:14;24651:18;;;24644:42;24703:19;;29102:73:0;24320:408:1;29102:73:0;29186:13;29202:23;29217:7;29202:14;:23::i;:::-;29186:39;;29255:5;29244:16;;:7;:16;;;:51;;;;29288:7;29264:31;;:20;29276:7;29264:11;:20::i;:::-;:31;;;29244:51;:87;;;-1:-1:-1;26084:25:0;;;;26060:4;26084:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;29299:32;25963:164;32101:625;32260:4;32233:31;;:23;32248:7;32233:14;:23::i;:::-;:31;;;32225:81;;;;;;;24935:2:1;32225:81:0;;;24917:21:1;24974:2;24954:18;;;24947:30;25013:34;24993:18;;;24986:62;25084:7;25064:18;;;25057:35;25109:19;;32225:81:0;24733:401:1;32225:81:0;32325:16;;;32317:65;;;;;;;25341:2:1;32317:65:0;;;25323:21:1;25380:2;25360:18;;;25353:30;25419:34;25399:18;;;25392:62;25490:6;25470:18;;;25463:34;25514:19;;32317:65:0;25139:400:1;32317:65:0;32395:39;32416:4;32422:2;32426:7;32395:20;:39::i;:::-;32499:29;32516:1;32520:7;32499:8;:29::i;:::-;32541:15;;;;;;;:9;:15;;;;;:20;;32560:1;;32541:15;:20;;32560:1;;32541:20;:::i;:::-;;;;-1:-1:-1;;32572:13:0;;;;;;;:9;:13;;;;;:18;;32589:1;;32572:13;:18;;32589:1;;32572:18;:::i;:::-;;;;-1:-1:-1;;32601:16:0;;;;:7;:16;;;;;;:21;;;;;;;;;;;;;;32640:27;;32601:16;;32640:27;;;;;;;25037:341;24967:411;;:::o;47418:326::-;47589:37;;;47585:93;;47643:23;47650:16;;47643:23;:::i;:::-;47688:22;:48;;;;;;;;;;;;;;;47418:326::o;21508:191::-;21601:6;;;;21618:17;;;;;;;;;;;21651:40;;21601:6;;;21618:17;21601:6;;21651:40;;21582:16;;21651:40;21571:128;21508:191;:::o;55276:411::-;55374:7;55394:21;:9;10898:19;;10916:1;10898:19;;;10817:115;55394:21;55426:17;55446:19;:9;10787:14;;10695:114;55446:19;55426:39;;55476:25;55482:7;20311:6;;;;;20238:87;55482:7;55491:9;55476:5;:25::i;:::-;55516:23;;:27;55512:93;;55560:33;55572:9;55583;55560:11;:33::i;:::-;55615:37;55630:9;55641:10;48594:778;48744:19;;;;:9;:19;;;;;;;48709:55;;48722:8;;48709:55;;;;48732:10;;48709:55;:::i;:::-;;;;;;;;48775:17;48810:19;;;:9;:19;;;;;48803:26;;48775:17;48803:26;:::i;:::-;48845:6;48840:426;48861:10;:17;48857:1;:21;48840:426;;;48937:1;48904:35;;:10;48915:1;48904:13;;;;;;;;:::i;:::-;;;;;;;:21;;;:35;;;;:63;;;;;48943:10;48954:1;48943:13;;;;;;;;:::i;:::-;;;;;;;:19;;;:24;;48966:1;48943:24;;48904:63;48900:355;;;49002:10;49013:1;49002:13;;;;;;;;:::i;:::-;;;;;;;:19;;;48988:33;;;;;:::i;:::-;-1:-1:-1;;;;;;;;;;;;;;;;;48988:33:0;;-1:-1:-1;49110:10:0;49121:1;49110:13;;;;;;;;:::i;:::-;;;;;;;;;;;:21;49092:39;;;;49166:13;;:10;;49177:1;;49166:13;;;;;;:::i;:::-;;;;;;;;;;;;:19;;;49150:35;;;;:13;;;:35;;;-1:-1:-1;49206:19:0;;;:9;:19;;;;;:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48900:355;48880:3;;;;:::i;:::-;;;;48840:426;;;-1:-1:-1;49300:13:0;;;;;;;;;49286:27;;;;;49278:86;;;;;;;24107:2:1;49278:86:0;;;24089:21:1;24146:2;24126:18;;;24119:30;24185:34;24165:18;;;24158:62;24256:16;24236:18;;;24229:44;24290:19;;49278:86:0;23905:410:1;33160:315:0;33315:8;33306:17;;:5;:17;;;33298:55;;;;;;;26009:2:1;33298:55:0;;;25991:21:1;26048:2;26028:18;;;26021:30;26087:27;26067:18;;;26060:55;26132:18;;33298:55:0;25807:349:1;33298:55:0;33364:25;;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;;;;;;;;;;;;33426:41;;586::1;;;33426::0;;559:18:1;33426:41:0;;;;;;;33160:315;;;:::o;28070:::-;28227:28;28237:4;28243:2;28247:7;28227:9;:28::i;:::-;28274:48;28297:4;28303:2;28307:7;28316:5;28274:22;:48::i;:::-;28266:111;;;;;;;26363:2:1;28266:111:0;;;26345:21:1;26402:2;26382:18;;;26375:30;26441:34;26421:18;;;26414:62;26512:20;26492:18;;;26485:48;26550:19;;28266:111:0;26161:414:1;55695:113:0;55755:13;55788:12;55781:19;;;;;:::i;24229:334::-;28763:4;28787:16;;;:7;:16;;;;;;24302:13;;28787:30;:16;24328:76;;;;;;;20870:2:1;24328:76:0;;;20852:21:1;20909:2;20889:18;;;20882:30;20948:34;20928:18;;;20921:62;21019:17;20999:18;;;20992:45;21054:19;;24328:76:0;20668:411:1;24328:76:0;24417:21;24441:10;:8;:10::i;:::-;24417:34;;24493:1;24475:7;24469:21;:25;:86;;;;;;;;;;;;;;;;;24521:7;24530:18;:7;:16;:18::i;:::-;24504:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;24462:93;24229:334;-1:-1:-1;;;24229:334:0:o;8525:723::-;8581:13;8802:5;8811:1;8802:10;8798:53;;-1:-1:-1;;8829:10:0;;;;;;;;;;;;;;;;;;8525:723::o;8798:53::-;8876:5;8861:12;8917:78;8924:9;;8917:78;;8950:8;;;;:::i;:::-;;-1:-1:-1;8973:10:0;;-1:-1:-1;8981:2:0;8973:10;;:::i;:::-;;;8917:78;;;9005:19;9037:6;9027:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9027:17:0;;9005:39;;9055:154;9062:10;;9055:154;;9089:11;9099:1;9089:11;;:::i;:::-;;-1:-1:-1;9158:10:0;9166:2;9158:5;:10;:::i;:::-;9145:24;;:2;:24;:::i;:::-;9132:39;;9115:6;9122;9115:14;;;;;;;;:::i;:::-;;;;:56;;;;;;;;;;-1:-1:-1;9186:11:0;9195:2;9186:11;;:::i;:::-;;;9055:154;;36663:224;36765:4;36789:50;;;36804:35;36789:50;;:90;;;36843:36;36867:11;36843:23;:36::i;55816:196::-;55959:45;55986:4;55992:2;55996:7;55959:26;:45::i;30676:439::-;30756:16;;;30748:61;;;;;;;27400:2:1;30748:61:0;;;27382:21:1;;;27419:18;;;27412:30;27478:34;27458:18;;;27451:62;27530:18;;30748:61:0;27198:356:1;30748:61:0;28763:4;28787:16;;;:7;:16;;;;;;:30;:16;:30;30820:58;;;;;;;27761:2:1;30820:58:0;;;27743:21:1;27800:2;27780:18;;;27773:30;27839;27819:18;;;27812:58;27887:18;;30820:58:0;27559:352:1;30820:58:0;30891:45;30920:1;30924:2;30928:7;30891:20;:45::i;:::-;30949:13;;;;;;;:9;:13;;;;;:18;;30966:1;;30949:13;:18;;30966:1;;30949:18;:::i;:::-;;;;-1:-1:-1;;30978:16:0;;;;:7;:16;;;;;;:21;;;;;;;;;;;;;31017:33;;30978:16;;;31017:33;;30978:16;;31017:33;50627:28:::1;50543:120:::0;:::o;34040:799::-;34195:4;34216:13;;;1362:19;:23;34212:620;;34252:72;;;;;:36;;;;;;:72;;19692:10;;34303:4;;34309:7;;34318:5;;34252:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34252:72:0;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;34248:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34494:6;:13;34511:1;34494:18;34490:272;;34537:60;;;;;26363:2:1;34537:60:0;;;26345:21:1;26402:2;26382:18;;;26375:30;26441:34;26421:18;;;26414:62;26512:20;26492:18;;;26485:48;26550:19;;34537:60:0;26161:414:1;34490:272:0;34712:6;34706:13;34697:6;34693:2;34689:15;34682:38;34248:529;34375:51;;34385:41;34375:51;;-1:-1:-1;34368:58:0;;34212:620;-1:-1:-1;34816:4:0;34040:799;;;;;;:::o;22952:293::-;23054:4;23087:40;;;23102:25;23087:40;;:101;;-1:-1:-1;23140:48:0;;;23155:33;23140:48;23087:101;:150;;;-1:-1:-1;21937:25:0;21922:40;;;;23201:36;21813:157;38339:589;38545:18;;;38541:187;;38580:40;38612:7;39755:10;:17;;39728:24;;;;:15;:24;;;;;:44;;;39783:24;;;;;;;;;;;;39651:164;38580:40;38541:187;;;38650:2;38642:10;;:4;:10;;;38638:90;;38669:47;38702:4;38708:7;38669:32;:47::i;:::-;38742:16;;;38738:183;;38775:45;38812:7;38775:36;:45::i;38738:183::-;38848:4;38842:10;;:2;:10;;;38838:83;;38869:40;38897:2;38901:7;38869:27;:40::i;40442:988::-;40708:22;40758:1;40733:22;40750:4;40733:16;:22::i;:::-;:26;;;;:::i;:::-;40770:18;40791:26;;;:17;:26;;;;;;40708:51;;-1:-1:-1;40924:28:0;;;40920:328;;40991:18;;;40969:19;40991:18;;;:12;:18;;;;;;;;:34;;;;;;;;;41042:30;;;;;;:44;;;41159:30;;:17;:30;;;;;:43;;;40920:328;-1:-1:-1;41344:26:0;;;;:17;:26;;;;;;;;41337:33;;;41388:18;;;;;;:12;:18;;;;;:34;;;;;;;41381:41;40442:988::o;41725:1079::-;42003:10;:17;41978:22;;42003:21;;42023:1;;42003:21;:::i;:::-;42035:18;42056:24;;;:15;:24;;;;;;42429:10;:26;;41978:46;;-1:-1:-1;42056:24:0;;41978:46;;42429:26;;;;;;:::i;:::-;;;;;;;;;42407:48;;42493:11;42468:10;42479;42468:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;42573:28;;;:15;:28;;;;;;;:41;;;42745:24;;;;;42738:31;42780:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;41796:1008;;;41725:1079;:::o;39229:221::-;39314:14;39331:20;39348:2;39331:16;:20::i;:::-;39362:16;;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;39407:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;39229:221:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:177:1:-;99:66;92:5;88:78;81:5;78:89;68:117;;181:1;178;171:12;196:245;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;362:9;349:23;381:30;405:5;381:30;:::i;638:250::-;723:1;733:113;747:6;744:1;741:13;733:113;;;823:11;;;817:18;804:11;;;797:39;769:2;762:10;733:113;;;-1:-1:-1;;880:1:1;862:16;;855:27;638:250::o;893:330::-;935:3;973:5;967:12;1000:6;995:3;988:19;1016:76;1085:6;1078:4;1073:3;1069:14;1062:4;1055:5;1051:16;1016:76;:::i;:::-;1137:2;1125:15;1142:66;1121:88;1112:98;;;;1212:4;1108:109;;893:330;-1:-1:-1;;893:330:1:o;1228:220::-;1377:2;1366:9;1359:21;1340:4;1397:45;1438:2;1427:9;1423:18;1415:6;1397:45;:::i;1453:180::-;1512:6;1565:2;1553:9;1544:7;1540:23;1536:32;1533:52;;;1581:1;1578;1571:12;1533:52;-1:-1:-1;1604:23:1;;1453:180;-1:-1:-1;1453:180:1:o;2202:611::-;2262:3;2300:5;2294:12;2327:6;2322:3;2315:19;2353:4;2382:2;2377:3;2373:12;2366:19;;2419:2;2412:5;2408:14;2440:1;2450:338;2464:6;2461:1;2458:13;2450:338;;;2523:13;;2565:9;;2576:42;2561:58;2549:71;;2664:11;;2658:18;2678:26;2654:51;2640:12;;;2633:73;2735:4;2726:14;;;;2763:15;;;;2486:1;2479:9;2450:338;;;-1:-1:-1;2804:3:1;;2202:611;-1:-1:-1;;;;;2202:611:1:o;2818:316::-;3045:2;3034:9;3027:21;3008:4;3065:63;3124:2;3113:9;3109:18;3101:6;3065:63;:::i;3139:196::-;3207:20;;3267:42;3256:54;;3246:65;;3236:93;;3325:1;3322;3315:12;3236:93;3139:196;;;:::o;3340:254::-;3408:6;3416;3469:2;3457:9;3448:7;3444:23;3440:32;3437:52;;;3485:1;3482;3475:12;3437:52;3508:29;3527:9;3508:29;:::i;:::-;3498:39;3584:2;3569:18;;;;3556:32;;-1:-1:-1;;;3340:254:1:o;3599:184::-;3651:77;3648:1;3641:88;3748:4;3745:1;3738:15;3772:4;3769:1;3762:15;3788:257;3860:4;3854:11;;;3892:17;;3939:18;3924:34;;3960:22;;;3921:62;3918:88;;;3986:18;;:::i;:::-;4022:4;4015:24;3788:257;:::o;4050:334::-;4121:2;4115:9;4177:2;4167:13;;4182:66;4163:86;4151:99;;4280:18;4265:34;;4301:22;;;4262:62;4259:88;;;4327:18;;:::i;:::-;4363:2;4356:22;4050:334;;-1:-1:-1;4050:334:1:o;4389:466::-;4454:5;4488:18;4480:6;4477:30;4474:56;;;4510:18;;:::i;:::-;4548:116;4658:4;4589:66;4584:2;4576:6;4572:15;4568:88;4564:99;4548:116;:::i;:::-;4539:125;;4687:6;4680:5;4673:21;4727:3;4718:6;4713:3;4709:16;4706:25;4703:45;;;4744:1;4741;4734:12;4703:45;4793:6;4788:3;4781:4;4774:5;4770:16;4757:43;4847:1;4840:4;4831:6;4824:5;4820:18;4816:29;4809:40;4389:466;;;;;:::o;4860:222::-;4903:5;4956:3;4949:4;4941:6;4937:17;4933:27;4923:55;;4974:1;4971;4964:12;4923:55;4996:80;5072:3;5063:6;5050:20;5043:4;5035:6;5031:17;4996:80;:::i;5087:390::-;5165:6;5173;5226:2;5214:9;5205:7;5201:23;5197:32;5194:52;;;5242:1;5239;5232:12;5194:52;5278:9;5265:23;5255:33;;5339:2;5328:9;5324:18;5311:32;5366:18;5358:6;5355:30;5352:50;;;5398:1;5395;5388:12;5352:50;5421;5463:7;5454:6;5443:9;5439:22;5421:50;:::i;:::-;5411:60;;;5087:390;;;;;:::o;5664:1184::-;5725:5;5778:3;5771:4;5763:6;5759:17;5755:27;5745:55;;5796:1;5793;5786:12;5745:55;5832:6;5819:20;5858:4;5881:18;5877:2;5874:26;5871:52;;;5903:18;;:::i;:::-;5943:36;5975:2;5970;5967:1;5963:10;5959:19;5943:36;:::i;:::-;6013:15;;;6099:1;6095:10;;;;6083:23;;6079:32;;;6044:12;;;;6123:15;;;6120:35;;;6151:1;6148;6141:12;6120:35;6187:2;6179:6;6175:15;6199:620;6215:6;6210:3;6207:15;6199:620;;;6293:4;6287:3;6282;6278:13;6274:24;6271:114;;;6339:1;6368:2;6364;6357:14;6271:114;6411:22;;:::i;:::-;6460:23;6479:3;6460:23;:::i;:::-;6453:5;6446:38;6534:2;6529:3;6525:12;6512:26;6586;6577:7;6573:40;6564:7;6561:53;6551:151;;6656:1;6685:2;6681;6674:14;6551:151;6722:14;;;6715:31;6759:18;;6797:12;;;;6241:4;6232:14;6199:620;;;-1:-1:-1;6837:5:1;5664:1184;-1:-1:-1;;;;;;5664:1184:1:o;6853:379::-;6961:6;7014:2;7002:9;6993:7;6989:23;6985:32;6982:52;;;7030:1;7027;7020:12;6982:52;7070:9;7057:23;7103:18;7095:6;7092:30;7089:50;;;7135:1;7132;7125:12;7089:50;7158:68;7218:7;7209:6;7198:9;7194:22;7158:68;:::i;7237:328::-;7314:6;7322;7330;7383:2;7371:9;7362:7;7358:23;7354:32;7351:52;;;7399:1;7396;7389:12;7351:52;7422:29;7441:9;7422:29;:::i;:::-;7412:39;;7470:38;7504:2;7493:9;7489:18;7470:38;:::i;:::-;7460:48;;7555:2;7544:9;7540:18;7527:32;7517:42;;7237:328;;;;;:::o;7570:248::-;7638:6;7646;7699:2;7687:9;7678:7;7674:23;7670:32;7667:52;;;7715:1;7712;7705:12;7667:52;-1:-1:-1;;7738:23:1;;;7808:2;7793:18;;;7780:32;;-1:-1:-1;7570:248:1:o;8125:322::-;8194:6;8247:2;8235:9;8226:7;8222:23;8218:32;8215:52;;;8263:1;8260;8253:12;8215:52;8303:9;8290:23;8336:18;8328:6;8325:30;8322:50;;;8368:1;8365;8358:12;8322:50;8391;8433:7;8424:6;8413:9;8409:22;8391:50;:::i;8665:186::-;8724:6;8777:2;8765:9;8756:7;8752:23;8748:32;8745:52;;;8793:1;8790;8783:12;8745:52;8816:29;8835:9;8816:29;:::i;8856:600::-;8983:6;8991;9044:2;9032:9;9023:7;9019:23;9015:32;9012:52;;;9060:1;9057;9050:12;9012:52;9100:9;9087:23;9129:18;9170:2;9162:6;9159:14;9156:34;;;9186:1;9183;9176:12;9156:34;9209:50;9251:7;9242:6;9231:9;9227:22;9209:50;:::i;:::-;9199:60;;9312:2;9301:9;9297:18;9284:32;9268:48;;9341:2;9331:8;9328:16;9325:36;;;9357:1;9354;9347:12;9325:36;;9380:70;9442:7;9431:8;9420:9;9416:24;9380:70;:::i;9461:447::-;9578:6;9586;9639:2;9627:9;9618:7;9614:23;9610:32;9607:52;;;9655:1;9652;9645:12;9607:52;9691:9;9678:23;9668:33;;9752:2;9741:9;9737:18;9724:32;9779:18;9771:6;9768:30;9765:50;;;9811:1;9808;9801:12;9765:50;9834:68;9894:7;9885:6;9874:9;9870:22;9834:68;:::i;9913:347::-;9978:6;9986;10039:2;10027:9;10018:7;10014:23;10010:32;10007:52;;;10055:1;10052;10045:12;10007:52;10078:29;10097:9;10078:29;:::i;:::-;10068:39;;10157:2;10146:9;10142:18;10129:32;10204:5;10197:13;10190:21;10183:5;10180:32;10170:60;;10226:1;10223;10216:12;10170:60;10249:5;10239:15;;;9913:347;;;;;:::o;10265:829::-;10478:2;10530:21;;;10600:13;;10503:18;;;10622:22;;;10449:4;;10478:2;10663;;10681:18;;;;10722:15;;;10449:4;10765:303;10779:6;10776:1;10773:13;10765:303;;;10838:13;;10880:9;;10891:42;10876:58;10864:71;;10975:11;;10969:18;10955:12;;;10948:40;11008:12;;;;11043:15;;;;10801:1;10794:9;10765:303;;;-1:-1:-1;11085:3:1;;10265:829;-1:-1:-1;;;;;;;10265:829:1:o;11099:667::-;11194:6;11202;11210;11218;11271:3;11259:9;11250:7;11246:23;11242:33;11239:53;;;11288:1;11285;11278:12;11239:53;11311:29;11330:9;11311:29;:::i;:::-;11301:39;;11359:38;11393:2;11382:9;11378:18;11359:38;:::i;:::-;11349:48;;11444:2;11433:9;11429:18;11416:32;11406:42;;11499:2;11488:9;11484:18;11471:32;11526:18;11518:6;11515:30;11512:50;;;11558:1;11555;11548:12;11512:50;11581:22;;11634:4;11626:13;;11622:27;-1:-1:-1;11612:55:1;;11663:1;11660;11653:12;11612:55;11686:74;11752:7;11747:2;11734:16;11729:2;11725;11721:11;11686:74;:::i;:::-;11676:84;;;11099:667;;;;;;;:::o;11771:260::-;11839:6;11847;11900:2;11888:9;11879:7;11875:23;11871:32;11868:52;;;11916:1;11913;11906:12;11868:52;11939:29;11958:9;11939:29;:::i;:::-;11929:39;;11987:38;12021:2;12010:9;12006:18;11987:38;:::i;:::-;11977:48;;11771:260;;;;;:::o;12036:437::-;12115:1;12111:12;;;;12158;;;12179:61;;12233:4;12225:6;12221:17;12211:27;;12179:61;12286:2;12278:6;12275:14;12255:18;12252:38;12249:218;;12323:77;12320:1;12313:88;12424:4;12421:1;12414:15;12452:4;12449:1;12442:15;12249:218;;12036:437;;;:::o;14620:545::-;14722:2;14717:3;14714:11;14711:448;;;14758:1;14783:5;14779:2;14772:17;14828:4;14824:2;14814:19;14898:2;14886:10;14882:19;14879:1;14875:27;14869:4;14865:38;14934:4;14922:10;14919:20;14916:47;;;-1:-1:-1;14957:4:1;14916:47;15012:2;15007:3;15003:12;15000:1;14996:20;14990:4;14986:31;14976:41;;15067:82;15085:2;15078:5;15075:13;15067:82;;;15130:17;;;15111:1;15100:13;15067:82;;;15071:3;;;14620:545;;;:::o;15401:1471::-;15527:3;15521:10;15554:18;15546:6;15543:30;15540:56;;;15576:18;;:::i;:::-;15605:97;15695:6;15655:38;15687:4;15681:11;15655:38;:::i;:::-;15649:4;15605:97;:::i;:::-;15757:4;;15821:2;15810:14;;15838:1;15833:782;;;;16659:1;16676:6;16673:89;;;-1:-1:-1;16728:19:1;;;16722:26;16673:89;15307:66;15298:1;15294:11;;;15290:84;15286:89;15276:100;15382:1;15378:11;;;15273:117;16775:81;;15803:1063;;15833:782;14567:1;14560:14;;;14604:4;14591:18;;15881:66;15869:79;;;16046:236;16060:7;16057:1;16054:14;16046:236;;;16149:19;;;16143:26;16128:42;;16241:27;;;;16209:1;16197:14;;;;16076:19;;16046:236;;;16050:3;16310:6;16301:7;16298:19;16295:261;;;16371:19;;;16365:26;16472:66;16454:1;16450:14;;;16466:3;16446:24;16442:97;16438:102;16423:118;16408:134;;16295:261;-1:-1:-1;;;;;16602:1:1;16586:14;;;16582:22;16569:36;;-1:-1:-1;15401:1471:1:o;17295:184::-;17347:77;17344:1;17337:88;17444:4;17441:1;17434:15;17468:4;17465:1;17458:15;17484:184;17536:77;17533:1;17526:88;17633:4;17630:1;17623:15;17657:4;17654:1;17647:15;17673:188;17740:26;17786:10;;;17798;;;17782:27;;17821:11;;;17818:37;;;17835:18;;:::i;:::-;17818:37;17673:188;;;;:::o;17866:195::-;17905:3;17936:66;17929:5;17926:77;17923:103;;18006:18;;:::i;:::-;-1:-1:-1;18053:1:1;18042:13;;17866:195::o;18066:228::-;18106:7;18232:1;18164:66;18160:74;18157:1;18154:81;18149:1;18142:9;18135:17;18131:105;18128:131;;;18239:18;;:::i;:::-;-1:-1:-1;18279:9:1;;18066:228::o;18299:184::-;18351:77;18348:1;18341:88;18448:4;18445:1;18438:15;18472:4;18469:1;18462:15;18488:120;18528:1;18554;18544:35;;18559:18;;:::i;:::-;-1:-1:-1;18593:9:1;;18488:120::o;21084:1314::-;21308:3;21346:6;21340:13;21372:4;21385:64;21442:6;21437:3;21432:2;21424:6;21420:15;21385:64;:::i;:::-;21512:13;;21471:16;;;;21534:68;21512:13;21471:16;21569:15;;;21534:68;:::i;:::-;21691:13;;21624:20;;;21664:1;;21729:36;21691:13;21729:36;:::i;:::-;21784:1;21801:18;;;21828:199;;;;22041:1;22036:337;;;;21794:579;;21828:199;21878:66;21867:9;21863:82;21856:5;21849:97;22005:8;21998:16;21991:24;21981:8;21977:39;21970:5;21966:51;21959:58;;21828:199;;22036:337;22067:6;22064:1;22057:17;22115:2;22112:1;22102:16;22140:1;22154:169;22168:8;22165:1;22162:15;22154:169;;;22250:14;;22235:13;;;22228:37;22293:16;;;;22185:10;;22154:169;;;22158:3;;22354:8;22347:5;22343:20;22336:27;;21794:579;-1:-1:-1;22389:3:1;;21084:1314;-1:-1:-1;;;;;;;;;;21084:1314:1:o;22810:1090::-;23120:4;23149:2;23178;23167:9;23160:21;23204:63;23263:2;23252:9;23248:18;23240:6;23204:63;:::i;:::-;23286:2;23336:9;23328:6;23324:22;23319:2;23308:9;23304:18;23297:50;23367:6;23402;23396:13;23433:6;23425;23418:22;23468:2;23460:6;23456:15;23449:22;;23490:6;23487:1;23480:17;23533:2;23530:1;23520:16;23506:30;;23554:1;23564:310;23578:6;23575:1;23572:13;23564:310;;;23644:13;;23697:42;23682:58;;23670:71;;23779:3;23775:19;23761:12;;;23754:41;23862:1;23850:14;;;;23815:12;;;;23593:9;23564:310;;;-1:-1:-1;23891:3:1;;22810:1090;-1:-1:-1;;;;;;;;22810:1090:1:o;25544:128::-;25611:9;;;25632:11;;;25629:37;;;25646:18;;:::i;25677:125::-;25742:9;;;25763:10;;;25760:36;;;25776:18;;:::i;26580:496::-;26759:3;26797:6;26791:13;26813:66;26872:6;26867:3;26860:4;26852:6;26848:17;26813:66;:::i;:::-;26942:13;;26901:16;;;;26964:70;26942:13;26901:16;27011:4;26999:17;;26964:70;:::i;:::-;27050:20;;26580:496;-1:-1:-1;;;;26580:496:1:o;27081:112::-;27113:1;27139;27129:35;;27144:18;;:::i;:::-;-1:-1:-1;27178:9:1;;27081:112::o;27916:512::-;28110:4;28139:42;28220:2;28212:6;28208:15;28197:9;28190:34;28272:2;28264:6;28260:15;28255:2;28244:9;28240:18;28233:43;;28312:6;28307:2;28296:9;28292:18;28285:34;28355:3;28350:2;28339:9;28335:18;28328:31;28376:46;28417:3;28406:9;28402:19;28394:6;28376:46;:::i;:::-;28368:54;27916:512;-1:-1:-1;;;;;;27916:512:1:o;28433:249::-;28502:6;28555:2;28543:9;28534:7;28530:23;28526:32;28523:52;;;28571:1;28568;28561:12;28523:52;28603:9;28597:16;28622:30;28646:5;28622:30;:::i;28687:184::-;28739:77;28736:1;28729:88;28836:4;28833:1;28826:15;28860:4;28857:1;28850:15

Swarm Source

ipfs://4ca6f1b96898f82fb97df60eebe0d7ab09735872007b360af5c9cf9f6e6855ff
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.