Overview
TokenID
304
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ChaosRoads
Compiler Version
v0.8.11+commit.d7f03943
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-05-02 */ // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * 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; /** * @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 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * 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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or 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 { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @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] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.8.2) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); 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) { _requireMinted(tokenId); 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 overridden 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 token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); 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: caller is not token owner or 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: caller is not token owner or 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 the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @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 _ownerOf(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) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @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, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {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 an {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 Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @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 { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override. * * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such * that `ownerOf(tokenId)` is `a`. */ // solhint-disable-next-line func-name-mixedcase function __unsafe_increaseBalance(address account, uint256 amount) internal { _balances[account] += amount; } } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @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); } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev See {ERC721-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual override { super._beforeTokenTransfer(from, to, firstTokenId, batchSize); if (batchSize > 1) { // Will only trigger during construction. Batch transferring (minting) is not available afterwards. revert("ERC721Enumerable: consecutive transfers not supported"); } uint256 tokenId = firstTokenId; 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(); } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/math/SafeMath.sol // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File: @openzeppelin/contracts/utils/Base64.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Base64.sol) pragma solidity ^0.8.0; /** * @dev Provides a set of functions to operate with Base64 strings. * * _Available since v4.5._ */ library Base64 { /** * @dev Base64 Encoding/Decoding Table */ string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /** * @dev Converts a `bytes` to its Bytes64 `string` representation. */ function encode(bytes memory data) internal pure returns (string memory) { /** * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol */ if (data.length == 0) return ""; // Loads the table into memory string memory table = _TABLE; // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter // and split into 4 numbers of 6 bits. // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up // - `data.length + 2` -> Round up // - `/ 3` -> Number of 3-bytes chunks // - `4 *` -> 4 characters for each chunk string memory result = new string(4 * ((data.length + 2) / 3)); /// @solidity memory-safe-assembly assembly { // Prepare the lookup table (skip the first "length" byte) let tablePtr := add(table, 1) // Prepare result pointer, jump over length let resultPtr := add(result, 32) // Run over the input, 3 bytes at a time for { let dataPtr := data let endPtr := add(data, mload(data)) } lt(dataPtr, endPtr) { } { // Advance 3 bytes dataPtr := add(dataPtr, 3) let input := mload(dataPtr) // To write each character, shift the 3 bytes (18 bits) chunk // 4 times in blocks of 6 bits for each character (18, 12, 6, 0) // and apply logical AND with 0x3F which is the number of // the previous character in the ASCII table prior to the Base64 Table // The result is then added to the table to get the character to write, // and finally write it in the result pointer but with a left shift // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F)))) resultPtr := add(resultPtr, 1) // Advance } // When data `bytes` is not exactly 3 bytes long // it is padded with `=` characters at the end switch mod(mload(data), 3) case 1 { mstore8(sub(resultPtr, 1), 0x3d) mstore8(sub(resultPtr, 2), 0x3d) } case 2 { mstore8(sub(resultPtr, 1), 0x3d) } } return result; } } // File: contracts/ChaosRoadsRenderer.sol pragma solidity ^0.8.11; contract ChaosRoadsRenderer is Ownable { using SafeMath for uint256; using Base64 for bytes; struct Palette { string tone; string color1; string color2; string color3; string color4; string color5; } mapping(uint256 => Palette) public palettes; uint256 paletteCount; string[] rows = [ "In the dance of chaos, thoughts will pry", "As consciousness and turmoil vie", "In the tempest's eye, we observe and sigh", "As chaos clashes with a conscious ally", "A balance sought, in the struggle nearby", "Consciousness seeks order, reaching for the sky", "Amidst distortion, clarity we try", "Chaos and consciousness defy", "Through audio waves, chaos swirls nearby", "Consciousness strives to clarify", "Through tangled webs, the harmony we spy", "In dissonance, a melody we espy", "A cryptic question asks us why", "Through the cacophony, a truth we pry", "Order confronts chaos, do or die", "Through the tangled fray, clarity draws nigh", "Order seeks the light amidst a wild tide" ]; string[] entropyRows = [ " levels deep, the answers lie", " layers of turmoil, we all descry", " steps ahead, the paths go awry", " battles fought, only choices survive", " shades of shadows subtly multiply", " realms collide, struggles amplify", " whispers echo through a lie" ]; constructor() { string[6][40] memory newPalettes = [ ["red bliss","211103","3D1308","7B0D1E","9F2042","F8E5EE"], ["sunset synth","0D0D0D","FD9600","AC05FF","FE7102","E100FF"], ["monster","7C8483","60B2E5","71A2B6","53F4FF","982649"], ["modern strike","000","E6E6EA","009FB7","FE4A49","FED766"], ["tropic life","FFFD98","23395B","B9E3C6","D81E5B","59C9A5"], ["eclectic harmony","393E41","F6F7EB","E94F37","FFFC31","5C415D"], ["omani dunes","020122","F2F3AE","FC9E4F","F4442E","EDD382"], ["serene waters","80ED99","22577A","C7F9CC","38A3A5","57CC99"], ["neon splash","0AFFED","525252","BADEFC","B5446E","9D44B5"], ["nature in riot","000","546D64","4FB286","3C896D","50FFB1"], ["mystic garden","9EE493","42273B","ABC8C0","DAF7DC","70566D"], ["starry reflection","7CA5B8","020887","A9DBB8","C6EBBE","38369A"], ["lovers","F0386B","F8C0C8","E2C290","6B2D5C","FF5376"], ["ethereal dream","C98686","FFF4EC","F2B880","E7CFBC","966B9D"], ["blue train","22304C","3C526D","5A7191","7890B5","95AED9"], ["hypermage","9FA29A","000","FFF","0173B8","E50413"], ["hotel budapest","3A2529","E39E93","93645D","B77363","F3BEA1"], ["everything illuminated","A3D6B8","445F0B","C2C072","739D43","F9D801"], ["isfahan","B3989D","394C81","E6E0EB","67B1DB","34D6E4"], ["the queen","F7EB40","16131A","D71D2D","116A32","8A4158"], ["great wave","E3C29A","454963","ADAFAF","EBD7C4","29345C"], ["sugar shack","856548","3B4A49","4A2912","CBC5B8","292016"], ["water village","D4D5D1","525654","2A2E2D","F7F5EB","81CBA3"], ["half life","000","FFF","1E2D2C","EA975A","FB7E14"], ["spirited away","702f30","B8B689","B4575B","C6BCA4","E3D9D5"], ["indian wedding","490E45","E3304D","FCBB45","1C6144","BDCD2E"], ["dreamscape","B676DB","FED4E7","F2B79F","EDC9FF","D8CC34"], ["yin yang","404040","BFBFBF","7F7F7F","000","FFF"], ["pepe","000","1A44f1","AF6648","FFF","67974C"], ["earth embrace","8C4A2F","D19760","E2CFA8","A67C52","F5E9D6"], ["buragh","2C3D5B","FCD364","BFD8CB","D55143","28A690"], ["crimson twilight","763B69","070907","DD1834","536280","8D0D31"], ["punks","648497","010001","545554","997D58","DAB17F"], ["heavencomputer","CACACB","010101","5F8DAD","FFFAEE","ABDEE2"], ["genesisleft","131212","1FC4C8","5E719C","F6EEB2","E79CA0"], ["paella","F55A1B","F9A60F","221E1E","F17B04","FDEC5E"], ["all time high","7D0302","510403","EDD8D7","CA0402","140101"], ["winterberry whispers","000","175B32","EFA19B","FFF","8D1414"], ["vivid pulse","256EFF","46237A","3DDC97","FCFCFC","FF495C"], ["dreamy totoro","F77EB8","F4C0D9","E8E1F3","D1E0B3","FFDDB8"] ]; for (uint256 i = 0; i < newPalettes.length; ++i) { palettes[paletteCount] = Palette( newPalettes[i][0], newPalettes[i][1], newPalettes[i][2], newPalettes[i][3], newPalettes[i][4], newPalettes[i][5] ); paletteCount++; } } function formatTraits(uint256[8] memory rands) public pure returns (string memory) { string memory glow = "No"; string memory overflow = "Yes"; if (rands[0] > 50) { glow = "Yes"; } if (rands[1] > 20) { overflow = "No"; } return string(abi.encodePacked( '" }, { "trait_type": "Glow", "value": "', glow, '" }, { "trait_type": "Overflow", "value": "', overflow )); } function formatUriFooter(string memory _imageURI, string memory _animURI, uint256[8] memory rands, uint256 setDay, uint256 entropy) public view returns (string memory) { return string(abi.encodePacked( '" }, { "trait_type": "Entropy", "value": "', uint2str(entropy), '" }, { "trait_type": "Conscious Choice", "value": "', uint2str(setDay), '" }], "description": "', getPoem(rands,entropy), '", "image": "', _imageURI, '", "animation_url": "', _animURI, '"}' )); } function formatTokenURI(uint256 tokenId, uint256 rand, uint256 setDay, uint256 entropy) public view returns (string memory) { string memory _imageURI = svgToURI(getSVGforThumbnail(entropy,rand)); string memory _animURI = animToURI(string(abi.encodePacked( getAnimHeader(), getSVGforAnimation(entropy,rand), getAnimFooter(entropy,rand) ))); uint256[8] memory rands = randConvert(rand); uint256 colPick = rands[2].mod(40); string memory byteEncoded = Base64.encode(bytes(abi.encodePacked( '{"name": "Chaos Road #', uint2str(tokenId), '", "description": "Chaos or consciousness?", ', '"attributes":[{ "trait_type": "Tone", "value": "', palettes[colPick].tone, formatTraits(rands), formatUriFooter(_imageURI,_animURI,rands,setDay,entropy) ))); return string(abi.encodePacked("data:application/json;base64,", byteEncoded)); } function svgToURI(string memory svg) public pure returns (string memory) { return string(abi.encodePacked("data:image/svg+xml;base64,", Base64.encode(bytes(svg)))); } function animToURI(string memory anim) public pure returns (string memory) { return string(abi.encodePacked("data:text/html;base64,", Base64.encode(bytes(anim)))); } function getPoem(uint256[8] memory rands,uint256 entropy) public view returns (string memory) { uint256 colPick = rands[2].mod(40); uint256 row1 = block.timestamp % rows.length; uint256 row2 = rands[0] % rows.length; uint256 row3 = block.number % entropyRows.length; return string(abi.encodePacked( rows[row1], ". ", rows[row2], ". ", uint2str(entropy), entropyRows[row3], ". Behold ", palettes[colPick].tone, " in the tokenURI." )); } function getSVGfilters(uint256[8] memory rands,uint256 entropy) public view returns (string memory) { uint256 distort_evolve = (entropy.mul(18)).div(10); uint256 colPick = rands[2].mod(40); return string(abi.encodePacked( "<filter id='g' filterUnits='userSpaceOnUse'><feGaussianBlur in='SourceGraphic' stdDeviation='2' result='x'/><feGaussianBlur in='SourceGraphic' stdDeviation='5' result='y'/><feGaussianBlur in='SourceGraphic' stdDeviation='10' result='z'/><feMerge><feMergeNode in='x'/><feMergeNode in='y'/><feMergeNode in='z'/></feMerge></filter><filter id='c'><feOffset in='SourceGraphic' dx='0' dy='", uint2str(rands[3]%7), "'/></filter><filter id='d'><feOffset in='SourceGraphic' dx='0' dy='", uint2str(rands[3]%3), "'/></filter><filter id='e'><feOffset in='SourceGraphic' dx='0' dy='", uint2str(rands[3]%5), "'/></filter><filter id='f'><feOffset in='SourceGraphic' dx='0' dy='", uint2str(rands[3]%4), "'/></filter><filter id='b'><feTurbulence numOctaves='1' baseFrequency='0.01'/><feDisplacementMap in='SourceGraphic' xChannelSelector='B' yChannelSelector='G' scale='", uint2str(distort_evolve + 40), "'/></filter><filter id='a'><feTurbulence numOctaves='4' baseFrequency='0.3'/><feDisplacementMap scale='14'/></filter><path d='M0 0h960v960H0z' fill='#", palettes[colPick].color1, "'/><path d='M4 350h100v70l30 2v35l110 2-2 210-220-2m652-239H430l-6-180 90 2v-40l10 2 2-300 90-30' style='filter:url(#a)'/><path d='m0 0h630v630h-630z' fill='none' stroke='#0d0d0d' stroke-width='70' id='o'/><g id='u'>" )); } function getSVGdefiner(uint256[8] memory rands) public pure returns (string memory) { return string(abi.encodePacked( "<g id='t' style='filter: url(#b)' fill='none' stroke-linecap='round' stroke-dasharray='", uint2str((rands[0]%15) * 10), " ", uint2str((rands[1]%15) * 10), "' transform='scale(1.", uint2str(rands[4]%5), " 1.", uint2str(rands[5]%5), ") skewX(", uint2str(rands[2]%7), ") skewY(", uint2str(rands[0]%4), ") rotate(", uint2str((rands[4]%12)*10), " 315 315)'><g style='filter: url(#b)' class='li'>" )); } function getSVGforThumbnail(uint256 entropy, uint256 rand) public view returns (string memory) { return string(abi.encodePacked( "<svg width='630' height='630' viewBox='0 0 630 630' xmlns='http://www.w3.org/2000/svg' style='width: 360px; height: 360px; overflow: hidden;'>", combineSVGelements(entropy, rand) )); } function getSVGforAnimation(uint256 entropy, uint256 rand) public view returns (string memory) { return string(abi.encodePacked( "<svg width='630' height='630' viewBox='0 0 630 630' xmlns='http://www.w3.org/2000/svg'", combineSVGelements(entropy, rand) )); } function combineSVGelements(uint256 entropy, uint256 rand) public view returns (string memory) { uint256[8] memory rands = randConvert(rand); uint256 rotate_evolve = entropy >> 1; string[3] memory glow_frame = glowFrame(rands); return string(abi.encodePacked( getSVGfilters(rands, entropy), glow_frame[0], getSVGdefiner(rands), getStrokes(rands,entropy), "</g></g></g><use href='#t'/>", glow_frame[1], "<use href='#t' x='-630' y='-630' transform='rotate(", uint2str(rotate_evolve), ")'/>", glow_frame[2], "</svg>" )); } function getStrokes(uint256[8] memory rands, uint256 entropy) public view returns (string memory) { uint256 colPick = rands[2].mod(40); uint256 width_extend = entropy.div(10) + 12; return string(abi.encodePacked( "<g stroke='#", palettes[colPick].color2, "' stroke-width='", uint2str((rands[6]%17) * 4 + width_extend), "' style='filter: url(#c)'><path d='M-125 434c71 58 140 90 229 75s311 5 355 34 163-28 182-58-139-67-209-61-239-23-165-45 369-58 349-101c-20-44-134-23-254-7s-240 43-309-4c-69-46-463-478-447-520C-378-294-9 71 90 110c102 43 188 54 183-19-5-72 33-156 89-75s83 186 168 120S968-98 1033-49'/></g><g stroke='#", palettes[colPick].color3, "' stroke-width='", uint2str((rands[5]%17) * 4 + width_extend), "' style='filter: url(#d)'><path d='M-399 487S-15-44 81 394c176 803 289-215 320-156 52 103 81 512 94 458 87-386 441-398 441-398'/><path d='M-140-61C-114 17-67 80 14 68c81-11 143-538 149-491s-41 538 31 534 91 5 83 42c-7 38 32 174-29 133s-73-167-133-128c-61 39-418 73-511 47M622-133C428-90 420-515 387-460c-34 55-120 653-62 612s110-78 98-29-126 122-34 96 1211 375 242-4C497 108 785-67 1080-216'/></g><g stroke='#", palettes[colPick].color4, "' stroke-width='", uint2str((rands[6]%13) * 4 + width_extend), "' style='filter: url(#e)'><path d='M149-51c-32-9-93 5-119 67C4 77-113 139-51 118 10 97 96 37 116 84s-61 73-4 106 67 97 88 102'/><path d='M495 487c-34-13-224 15-185-26s142-79 32-53-240 63-201 21 204 0 98-29-181 94-180 15c4-141-140-186-32-146s106 84 215 82 209-53 214 13'/><path d='M405 380c71 102-144 117 49 114 391-9 907-340 153-343-299-1-19 244-177 103-58-55-71-210-71-147s-9 210-38 168c-51-75-71-347-216-381'/><path d='M349 225c-235-69-163-67-88-79s170 5 148-51c-22-57-213-1110-122-198 4 40 59 148-15 162-50 10-4 76-73 14-986-894-46-139-77-148m-480 748c57-54 360-212 419-185s-49 147 98 77c164-78 274 63 182 15-46-24-166-142-119-77 298 414 242-166 753 62'/></g><g stroke='#", palettes[colPick].color5, "' stroke-width='", uint2str((rands[5]%13) * 4 + width_extend), "' style='filter: url(#f)'><path d='M-322-223c110 13 225 361 258 373S187 32 169 56s-106 79-65 77c40-1 138-57 102-9-63 84 62-11 56 66-7 84 144-2 152-21 13-29-175-133-155-128 51 13 100 45 146 46 563-8 152-344 152-344M208 322c21-23 27-31 47-23 43 17 5 30-27 31'/><path d='M207-68c-5 33 18 79 47 90 51-2 30 17 104 13m158-158C490-93 578-6 422 2c-39 2-48-19-46 16s-5 175-36 55M134 356c-5 33 84 112 115 111 84-2 101 72 175 68m203-196c61 145-77 146-74 207 6 79-115 147-146 27'/></g>" )); } function glowFrame(uint256[8] memory rands) public pure returns (string[3] memory) { string[3] memory glow_frame; if (rands[0] > 50) { glow_frame[0] = "<g style='filter: url(#g)'>"; glow_frame[1] = "</g>"; } if (rands[1] > 20) { glow_frame[2] = "<use href='#o'/>"; } return glow_frame; } function getAnimHeader() public pure returns (string memory) { string memory animHeader = "<!DOCTYPE html><html lang='en'><head><meta charset='UTF-8'><meta name='viewport' content='width=device-width, initial-scale=1.0, viewport-fit=cover'><title>Chaos Roads</title><style>* {margin: 0; padding: 0; border: 0;} body{overflow:hidden;} #playArea{width:100%;height:100vh;display: flex;justify-content:center;align-items:center;cursor:pointer;position:relative;} .lighted {animation-name:light;animation-duration:0.2s;animation-iteration-count:infinite;} @keyframes light{0%{scale:1;}20%{scale:1.002;}40%{scale:1.004;}50%{scale:1.005;}60%{scale:1.004;}80%{scale:1.002;}100%{scale:1;}}</style></head><body><div id='playArea'>"; return animHeader; } function getAnimFooter(uint256 entropy, uint256 rand) public view returns (string memory) { uint256[8] memory rands = randConvert(rand); return string(abi.encodePacked( "</div><script>function isSafari() {return /^((?!chrome|android).)*safari/i.test(navigator.userAgent);} function addStyleForSafari() {if (isSafari()) {const svgElement=document.querySelector('svg');svgElement.setAttribute('style', 'width: 360px; height: 360px; overflow: hidden;');}}addStyleForSafari();const redElements = document.querySelectorAll('.li');function redSVG(){redElements.forEach((el) => {el.classList.toggle('lighted');});}const audioContext = new AudioContext();let isPlaying = false;let activeOscillators = [];const cMajorScale = [261.63,293.66,329.63,349.23,392.00,440.00,493.88,523.25];document.getElementById('playArea').addEventListener('click', async function() {if (audioContext.state === 'suspended') {await audioContext.resume();}toggleSound();});function toggleSound() {if (!isPlaying){isPlaying=true;isLooping=true;loopMelody();redSVG();} else {isPlaying=false;isLooping=false;stopMelody();redSVG();}}function playNote(frequency, startTime, duration) {const gainNode = audioContext.createGain();const osc=['sine','square','triangle','sawtooth'];const oscillatorCount=", uint2str((entropy/7).add(1)), ";const detuneAmount=", uint2str(block.number.mod(9)), "*20*(1 / Math.sqrt(oscillatorCount));for (let i=0; i < oscillatorCount; i++) {const oscillator=audioContext.createOscillator();oscillator.type=osc[", uint2str(block.number.mod(4)), "];oscillator.frequency.value=frequency;oscillator.detune.value=(i - Math.floor(oscillatorCount/2))*detuneAmount;oscillator.connect(gainNode);oscillator.start(startTime);oscillator.stop(startTime + duration);activeOscillators.push(oscillator);oscillator.onended=() => {const index = activeOscillators.indexOf(oscillator);if (index > -1) {activeOscillators.splice(index,1);}};}const fadeInDuration=1;const fadeOutDuration=1;gainNode.gain.setValueAtTime(0,startTime);gainNode.gain.linearRampToValueAtTime(0.5,startTime+fadeInDuration);gainNode.gain.setValueAtTime(0.5,startTime+duration-fadeOutDuration);gainNode.gain.linearRampToValueAtTime(0, startTime + duration);gainNode.connect(audioContext.destination);}function loopMelody() {if (!isLooping) return;const startTime=audioContext.currentTime;let totalDuration=9;playMelody();setTimeout(loopMelody,totalDuration*1000);}function playMelody() {const startTime=audioContext.currentTime;const rand=[0.", uint2str(rands[0]%10), ",0.", uint2str(rands[1]%10), ",0.", uint2str(rands[2]%10), ",0.", uint2str(rands[3]%10), ",0.", uint2str(rands[4]%10), ",0.", uint2str(rands[5]%10), ",0.", uint2str(rands[6]%10), ",0.", uint2str(rands[7]%10), "];for (let i=0; i<4; i++){const noteIndex=Math.floor(rand[i]*(cMajorScale.length-1));const noteDuration=2+(rand[i+4]*0.5)%2;playNote(cMajorScale[noteIndex],startTime+(i*noteDuration),noteDuration);}}function stopMelody(){activeOscillators.forEach(oscillator => {oscillator.stop();});activeOscillators=[];}</script></body></html>" )) ; } function uint2str(uint256 value) internal pure returns (string memory) { 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); } function randConvert(uint256 rand) public pure returns (uint256[8] memory){ uint256[8] memory rands; for (uint256 i = 0; i < 8; ++i) { rands[i] = uint256(keccak256(abi.encodePacked(rand.add(i)))).mod(100); } return rands; } } // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: contracts/ChaosRoads.sol pragma solidity ^0.8.11; contract ChaosRoads is ERC721Enumerable, Ownable { using SafeMath for uint256; using SafeMath for uint64; using MerkleProof for bytes32[]; ChaosRoadsRenderer public renderer; struct ChaosState { uint64 anchorTimestamp; uint64 setDay; uint128 rand; } uint256 tokenCounter; string statement; mapping(uint256 => ChaosState) public chaosStates; constructor(address _renderer) ERC721("Chaos Roads", "CHRO") { renderer = ChaosRoadsRenderer(_renderer); } // Add the constant and variables uint256 public constant MAX_TOTAL_SUPPLY = 400; uint64 public constant SECS_IN_DAY = 86400; uint256 public mint_price = 0.03 ether; /// allowlist allows addresses in allowlistedAddress to mint through allowlistMint() /// public-sale allows anyone to mint through publicMint() uint8 public allowlistTokensPerAddress = 1; uint8 public publicTokensPerAddress = 1; bool public allowlistSaleIsActive; bool public publicSaleIsActive; /// minted tokens per allowlisted address mapping(address => uint8) public allowlistedMints; mapping(address => uint8) public publicMints; // merkle root used to verify that a user is in the allowlist bytes32 allowlistMerkleRoot; bytes32 public merkleTx; function setMerkleTx(bytes32 _merkleTx) public onlyOwner { merkleTx = _merkleTx; } // ALL MODIFIERS // Token exists modifier tokenExists(uint256 _tokenId) { require( _exists(_tokenId), "URI query for nonexistent token" ); _; } // Only token owner can call this function modifier onlyTokenOwner(uint256 _tokenId) { require( ownerOf(_tokenId) == msg.sender, "Caller is not the owner of the token" ); _; } // The sale is active (allowlist) modifier activeAllowlistSale { require(allowlistSaleIsActive, "Allowlist sale not active"); _; } // The sale is active (public) modifier activePublicSale { require(publicSaleIsActive, "Public sale not active"); _; } // Mint price is paid modifier mintPricePaid(uint8 amount) { require( mint_price.mul(amount) <= msg.value, "Not enough ether to mint" ); _; } // Address within the allowlist can mint maximum this much modifier amountWithinMaxAllowlist(uint8 amount) { require( allowlistedMints[msg.sender] + amount <= allowlistTokensPerAddress, "Not allowed to mint this much" ); _; } // Address outside the allowlist can mint maximum this much modifier amountWithinMaxPublic(uint8 amount) { require( publicMints[msg.sender] + amount <= publicTokensPerAddress, "Not allowed to mint this much" ); _; } // Max supply cannot be exceeded modifier amountWithinMaxSupply(uint8 amount) { require( tokenCounter.add(amount) <= MAX_TOTAL_SUPPLY, "Not enough tokens left to mint" ); _; } // Address is in the allowlist merkletree modifier allowlisted(bytes32[] calldata proof) { require( isAddressAllowlisted(proof, msg.sender), "Address not allowlisted" ); _; } /// set the amount of tokens allowlisted /// addresses are allowed to mint during pre-sale /// note: does not affect public sale function setMaxMintsPerAllowlistedAddress(uint8 tokensPerAddress) public onlyOwner { allowlistTokensPerAddress = tokensPerAddress; } function setMaxMintsPerPublicAddress(uint8 tokensPerAddress) public onlyOwner { publicTokensPerAddress = tokensPerAddress; } /// set merkle root for allowlist verification function setAllowlistMerkleRoot(bytes32 merkleRoot) public onlyOwner { allowlistMerkleRoot = merkleRoot; } /// set which sale(s) should be active or inactive function setAllowlistAndPublicSale( bool _allowlistSaleIsActive, bool _publicSaleIsActive ) public onlyOwner { allowlistSaleIsActive = _allowlistSaleIsActive; publicSaleIsActive = _publicSaleIsActive; } /// verify that an address is in the allowlist function isAddressAllowlisted(bytes32[] memory proof, address _address) internal view returns (bool) { return proof.verify(allowlistMerkleRoot, keccak256(abi.encodePacked(_address))); } /// Reserve mint: For me, and amazing devs/artists who helped me along the way function reserveMint(uint8 amount) public payable onlyOwner amountWithinMaxSupply(amount) { mint(amount); } /// Allowlist minting, for everyone who is on the allowlist function allowlistMint(uint8 amount, bytes32[] calldata proof) public payable activeAllowlistSale mintPricePaid(amount) allowlisted(proof) amountWithinMaxSupply(amount) amountWithinMaxAllowlist(amount) { allowlistedMints[msg.sender] += amount; mint(amount); } /// Public minting, might not even happen function publicMint(uint8 amount) public payable activePublicSale mintPricePaid(amount) amountWithinMaxSupply(amount) amountWithinMaxPublic(amount) { publicMints[msg.sender] += amount; mint(amount); } /// Ultimate mint function function mint(uint8 amount) private { unchecked { if (amount == 0) return ; uint256 i; do { tokenCounter = tokenCounter.add(1); chaosStates[tokenCounter].rand = randomize(tokenCounter); chaosStates[tokenCounter].anchorTimestamp = uint64(block.timestamp); _safeMint(msg.sender, tokenCounter); } while (++i < amount); } } /// Get the entropy progress of a specific token function getEntropy(uint256 tokenId) public view tokenExists(tokenId) returns(uint256){ uint256 chaosProgress = block.timestamp - chaosStates[tokenId].anchorTimestamp; uint256 entropy = (chaosProgress + (chaosStates[tokenId].setDay * SECS_IN_DAY))/SECS_IN_DAY; return min(365, entropy); } /// Reconstruct tokenURI where the art resides function tokenURI(uint256 tokenId) public view override tokenExists(tokenId) returns (string memory) { return renderer.formatTokenURI(tokenId, chaosStates[tokenId].rand, chaosStates[tokenId].setDay, getEntropy(tokenId)); } /// Observe your art, and change its entropy function observe(uint256 _tokenId,uint64 _number) public onlyTokenOwner(_tokenId) { ChaosState memory _chaosState = chaosStates[_tokenId]; require( _chaosState.anchorTimestamp.add(_number*SECS_IN_DAY) < block.timestamp, "This is a future date" ); require(_number < 365, "Pick within 1 year"); _chaosState.anchorTimestamp = uint64(block.timestamp); _chaosState.setDay = _number; chaosStates[_tokenId] = _chaosState; } /// Randomization function randomize(uint256 seed) internal view returns (uint128) { return uint128(uint256(keccak256(abi.encodePacked(seed, block.timestamp, msg.sender)))); } /// Minimum function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /// Withdraw funds from the contract function withdraw() public onlyOwner { uint256 balance = address(this).balance; require(balance > 0, "No balance to withdraw"); payable(owner()).transfer(balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_renderer","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SECS_IN_DAY","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"amount","type":"uint8"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"allowlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"allowlistSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowlistTokensPerAddress","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowlistedMints","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"chaosStates","outputs":[{"internalType":"uint64","name":"anchorTimestamp","type":"uint64"},{"internalType":"uint64","name":"setDay","type":"uint64"},{"internalType":"uint128","name":"rand","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getEntropy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"merkleTx","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint64","name":"_number","type":"uint64"}],"name":"observe","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"uint8","name":"amount","type":"uint8"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMints","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicTokensPerAddress","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renderer","outputs":[{"internalType":"contract ChaosRoadsRenderer","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"amount","type":"uint8"}],"name":"reserveMint","outputs":[],"stateMutability":"payable","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":"bool","name":"_allowlistSaleIsActive","type":"bool"},{"internalType":"bool","name":"_publicSaleIsActive","type":"bool"}],"name":"setAllowlistAndPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setAllowlistMerkleRoot","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":"uint8","name":"tokensPerAddress","type":"uint8"}],"name":"setMaxMintsPerAllowlistedAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"tokensPerAddress","type":"uint8"}],"name":"setMaxMintsPerPublicAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleTx","type":"bytes32"}],"name":"setMerkleTx","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"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052666a94d74f430000600f556001601060006101000a81548160ff021916908360ff1602179055506001601060016101000a81548160ff021916908360ff1602179055503480156200005457600080fd5b50604051620054743803806200547483398181016040528101906200007a91906200036a565b6040518060400160405280600b81526020017f4368616f7320526f6164730000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4348524f000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000fe92919062000250565b5080600190805190602001906200011792919062000250565b5050506200013a6200012e6200018260201b60201c565b6200018a60201b60201c565b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000401565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200025e90620003cb565b90600052602060002090601f016020900481019282620002825760008555620002ce565b82601f106200029d57805160ff1916838001178555620002ce565b82800160010185558215620002ce579182015b82811115620002cd578251825591602001919060010190620002b0565b5b509050620002dd9190620002e1565b5090565b5b80821115620002fc576000816000905550600101620002e2565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003328262000305565b9050919050565b620003448162000325565b81146200035057600080fd5b50565b600081519050620003648162000339565b92915050565b60006020828403121562000383576200038262000300565b5b6000620003938482850162000353565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003e457607f821691505b60208210811415620003fb57620003fa6200039c565b5b50919050565b61506380620004116000396000f3fe6080604052600436106102515760003560e01c8063858e83b511610139578063b98326c2116100b6578063db9549ea1161007a578063db9549ea146108b1578063df0091f0146108ee578063e985e9c514610917578063e9cdc02114610954578063f2fde38b1461097f578063f95df414146109a857610251565b8063b98326c2146107e8578063c141f0e514610811578063c87b56dd1461082d578063ce21ec411461086a578063d0757d0e1461089557610251565b806395d89b41116100fd57806395d89b4114610717578063a0897c5414610742578063a22cb4651461076d578063a365789114610796578063b88d4fde146107bf57610251565b8063858e83b51461065157806386a0550d1461066d5780638a707af8146106985780638ada6b0f146106c15780638da5cb5b146106ec57610251565b80632f745c59116101d25780634f6ccce7116101965780634f6ccce71461051b57806350b6204a146105585780636352211e1461058357806370a08231146105c0578063715018a6146105fd57806374e6a4691461061457610251565b80632f745c591461043657806333039d3d146104735780633add14c81461049e5780633ccfd60b146104db57806342842e0e146104f257610251565b8063139b595d11610219578063139b595d1461034f57806318160ddd146103785780631a4231a4146103a35780631d103cb6146103ce57806323b872dd1461040d57610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be578063095ea7b3146102fb5780630fcf2e7514610324575b600080fd5b34801561026257600080fd5b5061027d600480360381019061027891906133de565b6109d1565b60405161028a9190613426565b60405180910390f35b34801561029f57600080fd5b506102a8610a4b565b6040516102b591906134da565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e09190613532565b610add565b6040516102f291906135a0565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d91906135e7565b610b23565b005b34801561033057600080fd5b50610339610c3b565b6040516103469190613426565b60405180910390f35b34801561035b57600080fd5b5061037660048036038101906103719190613660565b610c4e565b005b34801561038457600080fd5b5061038d610c74565b60405161039a919061369c565b60405180910390f35b3480156103af57600080fd5b506103b8610c81565b6040516103c5919061369c565b60405180910390f35b3480156103da57600080fd5b506103f560048036038101906103f09190613532565b610c87565b60405161040493929190613705565b60405180910390f35b34801561041957600080fd5b50610434600480360381019061042f919061373c565b610cf5565b005b34801561044257600080fd5b5061045d600480360381019061045891906135e7565b610d55565b60405161046a919061369c565b60405180910390f35b34801561047f57600080fd5b50610488610dfa565b604051610495919061369c565b60405180910390f35b3480156104aa57600080fd5b506104c560048036038101906104c0919061378f565b610e00565b6040516104d291906137cb565b60405180910390f35b3480156104e757600080fd5b506104f0610e20565b005b3480156104fe57600080fd5b506105196004803603810190610514919061373c565b610ec1565b005b34801561052757600080fd5b50610542600480360381019061053d9190613532565b610ee1565b60405161054f919061369c565b60405180910390f35b34801561056457600080fd5b5061056d610f52565b60405161057a91906137cb565b60405180910390f35b34801561058f57600080fd5b506105aa60048036038101906105a59190613532565b610f65565b6040516105b791906135a0565b60405180910390f35b3480156105cc57600080fd5b506105e760048036038101906105e2919061378f565b610fec565b6040516105f4919061369c565b60405180910390f35b34801561060957600080fd5b506106126110a4565b005b34801561062057600080fd5b5061063b60048036038101906106369190613532565b6110b8565b604051610648919061369c565b60405180910390f35b61066b60048036038101906106669190613660565b6111c7565b005b34801561067957600080fd5b50610682611400565b60405161068f91906137cb565b60405180910390f35b3480156106a457600080fd5b506106bf60048036038101906106ba919061381c565b611413565b005b3480156106cd57600080fd5b506106d6611425565b6040516106e391906138a8565b60405180910390f35b3480156106f857600080fd5b5061070161144b565b60405161070e91906135a0565b60405180910390f35b34801561072357600080fd5b5061072c611475565b60405161073991906134da565b60405180910390f35b34801561074e57600080fd5b50610757611507565b60405161076491906138d2565b60405180910390f35b34801561077957600080fd5b50610794600480360381019061078f9190613919565b61150d565b005b3480156107a257600080fd5b506107bd60048036038101906107b89190613985565b611523565b005b3480156107cb57600080fd5b506107e660048036038101906107e19190613afa565b61182c565b005b3480156107f457600080fd5b5061080f600480360381019061080a9190613660565b61188e565b005b61082b60048036038101906108269190613660565b6118b4565b005b34801561083957600080fd5b50610854600480360381019061084f9190613532565b611926565b60405161086191906134da565b60405180910390f35b34801561087657600080fd5b5061087f611a84565b60405161088c9190613b7d565b60405180910390f35b6108af60048036038101906108aa9190613bf8565b611a8b565b005b3480156108bd57600080fd5b506108d860048036038101906108d3919061378f565b611d54565b6040516108e591906137cb565b60405180910390f35b3480156108fa57600080fd5b5061091560048036038101906109109190613c58565b611d74565b005b34801561092357600080fd5b5061093e60048036038101906109399190613c98565b611db4565b60405161094b9190613426565b60405180910390f35b34801561096057600080fd5b50610969611e48565b6040516109769190613426565b60405180910390f35b34801561098b57600080fd5b506109a660048036038101906109a1919061378f565b611e5b565b005b3480156109b457600080fd5b506109cf60048036038101906109ca919061381c565b611edf565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a445750610a4382611ef1565b5b9050919050565b606060008054610a5a90613d07565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8690613d07565b8015610ad35780601f10610aa857610100808354040283529160200191610ad3565b820191906000526020600020905b815481529060010190602001808311610ab657829003601f168201915b5050505050905090565b6000610ae882611fd3565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b2e82610f65565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9690613dab565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bbe61201e565b73ffffffffffffffffffffffffffffffffffffffff161480610bed5750610bec81610be761201e565b611db4565b5b610c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2390613e3d565b60405180910390fd5b610c368383612026565b505050565b601060039054906101000a900460ff1681565b610c566120df565b80601060006101000a81548160ff021916908360ff16021790555050565b6000600880549050905090565b600f5481565b600e6020528060005260406000206000915090508060000160009054906101000a900467ffffffffffffffff16908060000160089054906101000a900467ffffffffffffffff16908060000160109054906101000a90046fffffffffffffffffffffffffffffffff16905083565b610d06610d0061201e565b8261215d565b610d45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3c90613ecf565b60405180910390fd5b610d508383836121f2565b505050565b6000610d6083610fec565b8210610da1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9890613f61565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61019081565b60126020528060005260406000206000915054906101000a900460ff1681565b610e286120df565b600047905060008111610e70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6790613fcd565b60405180910390fd5b610e7861144b565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610ebd573d6000803e3d6000fd5b5050565b610edc8383836040518060200160405280600081525061182c565b505050565b6000610eeb610c74565b8210610f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f239061405f565b60405180910390fd5b60088281548110610f4057610f3f61407f565b5b90600052602060002001549050919050565b601060009054906101000a900460ff1681565b600080610f71836124ec565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fe3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fda906140fa565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561105d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110549061418c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110ac6120df565b6110b66000612529565b565b6000816110c4816125ef565b611103576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fa906141f8565b60405180910390fd5b6000600e600085815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff16426111459190614247565b905060006201518067ffffffffffffffff1662015180600e600088815260200190815260200160002060000160089054906101000a900467ffffffffffffffff16611190919061427b565b67ffffffffffffffff16836111a591906142bd565b6111af9190614342565b90506111bd61016d82612630565b9350505050919050565b601060039054906101000a900460ff16611216576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120d906143bf565b60405180910390fd5b80346112308260ff16600f5461264990919063ffffffff16565b1115611271576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112689061442b565b60405180910390fd5b8161019061128d8260ff16600c5461265f90919063ffffffff16565b11156112ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c590614497565b60405180910390fd5b82601060019054906101000a900460ff1660ff1681601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661133a91906144b7565b60ff16111561137e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113759061453a565b60405180910390fd5b83601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff166113d991906144b7565b92506101000a81548160ff021916908360ff1602179055506113fa84612675565b50505050565b601060019054906101000a900460ff1681565b61141b6120df565b8060148190555050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461148490613d07565b80601f01602080910402602001604051908101604052809291908181526020018280546114b090613d07565b80156114fd5780601f106114d2576101008083540402835291602001916114fd565b820191906000526020600020905b8154815290600101906020018083116114e057829003601f168201915b5050505050905090565b60145481565b61151f61151861201e565b838361275e565b5050565b813373ffffffffffffffffffffffffffffffffffffffff1661154482610f65565b73ffffffffffffffffffffffffffffffffffffffff161461159a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611591906145cc565b60405180910390fd5b6000600e60008581526020019081526020016000206040518060600160405290816000820160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff1681526020016000820160089054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16815250509050426116a4620151808561167d919061427b565b67ffffffffffffffff16836000015167ffffffffffffffff1661265f90919063ffffffff16565b106116e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116db90614638565b60405180910390fd5b61016d8367ffffffffffffffff1610611732576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611729906146a4565b60405180910390fd5b42816000019067ffffffffffffffff16908167ffffffffffffffff168152505082816020019067ffffffffffffffff16908167ffffffffffffffff168152505080600e600086815260200190815260200160002060008201518160000160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060208201518160000160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060408201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505050505050565b61183d61183761201e565b8361215d565b61187c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187390613ecf565b60405180910390fd5b611888848484846128cb565b50505050565b6118966120df565b80601060016101000a81548160ff021916908360ff16021790555050565b6118bc6120df565b806101906118d88260ff16600c5461265f90919063ffffffff16565b1115611919576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191090614497565b60405180910390fd5b61192282612675565b5050565b606081611932816125ef565b611971576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611968906141f8565b60405180910390fd5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630da0019284600e600087815260200190815260200160002060000160109054906101000a90046fffffffffffffffffffffffffffffffff16600e600088815260200190815260200160002060000160089054906101000a900467ffffffffffffffff16611a17886110b8565b6040518563ffffffff1660e01b8152600401611a369493929190614726565b600060405180830381865afa158015611a53573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611a7c919061480c565b915050919050565b6201518081565b601060029054906101000a900460ff16611ada576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad1906148a1565b60405180910390fd5b8234611af48260ff16600f5461264990919063ffffffff16565b1115611b35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2c9061442b565b60405180910390fd5b8282611b82828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505033612927565b611bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb89061490d565b60405180910390fd5b85610190611bdd8260ff16600c5461265f90919063ffffffff16565b1115611c1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1590614497565b60405180910390fd5b86601060009054906101000a900460ff1660ff1681601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611c8a91906144b7565b60ff161115611cce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc59061453a565b60405180910390fd5b87601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff16611d2991906144b7565b92506101000a81548160ff021916908360ff160217905550611d4a88612675565b5050505050505050565b60116020528060005260406000206000915054906101000a900460ff1681565b611d7c6120df565b81601060026101000a81548160ff02191690831515021790555080601060036101000a81548160ff0219169083151502179055505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601060029054906101000a900460ff1681565b611e636120df565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ed3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eca9061499f565b60405180910390fd5b611edc81612529565b50565b611ee76120df565b8060138190555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611fbc57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611fcc5750611fcb8261296e565b5b9050919050565b611fdc816125ef565b61201b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612012906140fa565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661209983610f65565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6120e761201e565b73ffffffffffffffffffffffffffffffffffffffff1661210561144b565b73ffffffffffffffffffffffffffffffffffffffff161461215b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215290614a0b565b60405180910390fd5b565b60008061216983610f65565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806121ab57506121aa8185611db4565b5b806121e957508373ffffffffffffffffffffffffffffffffffffffff166121d184610add565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661221282610f65565b73ffffffffffffffffffffffffffffffffffffffff1614612268576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225f90614a9d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122cf90614b2f565b60405180910390fd5b6122e583838360016129d8565b8273ffffffffffffffffffffffffffffffffffffffff1661230582610f65565b73ffffffffffffffffffffffffffffffffffffffff161461235b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235290614a9d565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124e78383836001612b38565b505050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008073ffffffffffffffffffffffffffffffffffffffff16612611836124ec565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600081831061263f5781612641565b825b905092915050565b600081836126579190614b4f565b905092915050565b6000818361266d91906142bd565b905092915050565b60008160ff1614156126865761275b565b60005b61269f6001600c5461265f90919063ffffffff16565b600c819055506126b0600c54612b3e565b600e6000600c54815260200190815260200160002060000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555042600e6000600c54815260200190815260200160002060000160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555061274933600c54612b75565b8160ff16816001019150811061268957505b50565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c490614bf5565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516128be9190613426565b60405180910390a3505050565b6128d68484846121f2565b6128e284848484612b93565b612921576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291890614c87565b60405180910390fd5b50505050565b6000612966601354836040516020016129409190614cef565b6040516020818303038152906040528051906020012085612d1b9092919063ffffffff16565b905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6129e484848484612d32565b6001811115612a28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1f90614d7c565b60405180910390fd5b6000829050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612a7057612a6b81612d38565b612aaf565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614612aae57612aad8582612d81565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612af257612aed81612eee565b612b31565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612b3057612b2f8482612fbf565b5b5b5050505050565b50505050565b6000814233604051602001612b5593929190614dbd565b6040516020818303038152906040528051906020012060001c9050919050565b612b8f82826040518060200160405280600081525061303e565b5050565b6000612bb48473ffffffffffffffffffffffffffffffffffffffff16613099565b15612d0e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612bdd61201e565b8786866040518563ffffffff1660e01b8152600401612bff9493929190614e4f565b6020604051808303816000875af1925050508015612c3b57506040513d601f19601f82011682018060405250810190612c389190614eb0565b60015b612cbe573d8060008114612c6b576040519150601f19603f3d011682016040523d82523d6000602084013e612c70565b606091505b50600081511415612cb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cad90614c87565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612d13565b600190505b949350505050565b600082612d2885846130bc565b1490509392505050565b50505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612d8e84610fec565b612d989190614247565b9050600060076000848152602001908152602001600020549050818114612e7d576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612f029190614247565b9050600060096000848152602001908152602001600020549050600060088381548110612f3257612f3161407f565b5b906000526020600020015490508060088381548110612f5457612f5361407f565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612fa357612fa2614edd565b5b6001900381819060005260206000200160009055905550505050565b6000612fca83610fec565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6130488383613112565b6130556000848484612b93565b613094576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308b90614c87565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008082905060005b8451811015613107576130f2828683815181106130e5576130e461407f565b5b6020026020010151613330565b915080806130ff90614f0c565b9150506130c5565b508091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613182576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317990614fa1565b60405180910390fd5b61318b816125ef565b156131cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131c29061500d565b60405180910390fd5b6131d96000838360016129d8565b6131e2816125ef565b15613222576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132199061500d565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461332c600083836001612b38565b5050565b600081831061334857613343828461335b565b613353565b613352838361335b565b5b905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6133bb81613386565b81146133c657600080fd5b50565b6000813590506133d8816133b2565b92915050565b6000602082840312156133f4576133f361337c565b5b6000613402848285016133c9565b91505092915050565b60008115159050919050565b6134208161340b565b82525050565b600060208201905061343b6000830184613417565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561347b578082015181840152602081019050613460565b8381111561348a576000848401525b50505050565b6000601f19601f8301169050919050565b60006134ac82613441565b6134b6818561344c565b93506134c681856020860161345d565b6134cf81613490565b840191505092915050565b600060208201905081810360008301526134f481846134a1565b905092915050565b6000819050919050565b61350f816134fc565b811461351a57600080fd5b50565b60008135905061352c81613506565b92915050565b6000602082840312156135485761354761337c565b5b60006135568482850161351d565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061358a8261355f565b9050919050565b61359a8161357f565b82525050565b60006020820190506135b56000830184613591565b92915050565b6135c48161357f565b81146135cf57600080fd5b50565b6000813590506135e1816135bb565b92915050565b600080604083850312156135fe576135fd61337c565b5b600061360c858286016135d2565b925050602061361d8582860161351d565b9150509250929050565b600060ff82169050919050565b61363d81613627565b811461364857600080fd5b50565b60008135905061365a81613634565b92915050565b6000602082840312156136765761367561337c565b5b60006136848482850161364b565b91505092915050565b613696816134fc565b82525050565b60006020820190506136b1600083018461368d565b92915050565b600067ffffffffffffffff82169050919050565b6136d4816136b7565b82525050565b60006fffffffffffffffffffffffffffffffff82169050919050565b6136ff816136da565b82525050565b600060608201905061371a60008301866136cb565b61372760208301856136cb565b61373460408301846136f6565b949350505050565b6000806000606084860312156137555761375461337c565b5b6000613763868287016135d2565b9350506020613774868287016135d2565b92505060406137858682870161351d565b9150509250925092565b6000602082840312156137a5576137a461337c565b5b60006137b3848285016135d2565b91505092915050565b6137c581613627565b82525050565b60006020820190506137e060008301846137bc565b92915050565b6000819050919050565b6137f9816137e6565b811461380457600080fd5b50565b600081359050613816816137f0565b92915050565b6000602082840312156138325761383161337c565b5b600061384084828501613807565b91505092915050565b6000819050919050565b600061386e6138696138648461355f565b613849565b61355f565b9050919050565b600061388082613853565b9050919050565b600061389282613875565b9050919050565b6138a281613887565b82525050565b60006020820190506138bd6000830184613899565b92915050565b6138cc816137e6565b82525050565b60006020820190506138e760008301846138c3565b92915050565b6138f68161340b565b811461390157600080fd5b50565b600081359050613913816138ed565b92915050565b600080604083850312156139305761392f61337c565b5b600061393e858286016135d2565b925050602061394f85828601613904565b9150509250929050565b613962816136b7565b811461396d57600080fd5b50565b60008135905061397f81613959565b92915050565b6000806040838503121561399c5761399b61337c565b5b60006139aa8582860161351d565b92505060206139bb85828601613970565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613a0782613490565b810181811067ffffffffffffffff82111715613a2657613a256139cf565b5b80604052505050565b6000613a39613372565b9050613a4582826139fe565b919050565b600067ffffffffffffffff821115613a6557613a646139cf565b5b613a6e82613490565b9050602081019050919050565b82818337600083830152505050565b6000613a9d613a9884613a4a565b613a2f565b905082815260208101848484011115613ab957613ab86139ca565b5b613ac4848285613a7b565b509392505050565b600082601f830112613ae157613ae06139c5565b5b8135613af1848260208601613a8a565b91505092915050565b60008060008060808587031215613b1457613b1361337c565b5b6000613b22878288016135d2565b9450506020613b33878288016135d2565b9350506040613b448782880161351d565b925050606085013567ffffffffffffffff811115613b6557613b64613381565b5b613b7187828801613acc565b91505092959194509250565b6000602082019050613b9260008301846136cb565b92915050565b600080fd5b600080fd5b60008083601f840112613bb857613bb76139c5565b5b8235905067ffffffffffffffff811115613bd557613bd4613b98565b5b602083019150836020820283011115613bf157613bf0613b9d565b5b9250929050565b600080600060408486031215613c1157613c1061337c565b5b6000613c1f8682870161364b565b935050602084013567ffffffffffffffff811115613c4057613c3f613381565b5b613c4c86828701613ba2565b92509250509250925092565b60008060408385031215613c6f57613c6e61337c565b5b6000613c7d85828601613904565b9250506020613c8e85828601613904565b9150509250929050565b60008060408385031215613caf57613cae61337c565b5b6000613cbd858286016135d2565b9250506020613cce858286016135d2565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d1f57607f821691505b60208210811415613d3357613d32613cd8565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613d9560218361344c565b9150613da082613d39565b604082019050919050565b60006020820190508181036000830152613dc481613d88565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000613e27603d8361344c565b9150613e3282613dcb565b604082019050919050565b60006020820190508181036000830152613e5681613e1a565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000613eb9602d8361344c565b9150613ec482613e5d565b604082019050919050565b60006020820190508181036000830152613ee881613eac565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613f4b602b8361344c565b9150613f5682613eef565b604082019050919050565b60006020820190508181036000830152613f7a81613f3e565b9050919050565b7f4e6f2062616c616e636520746f20776974686472617700000000000000000000600082015250565b6000613fb760168361344c565b9150613fc282613f81565b602082019050919050565b60006020820190508181036000830152613fe681613faa565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614049602c8361344c565b915061405482613fed565b604082019050919050565b600060208201905081810360008301526140788161403c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006140e460188361344c565b91506140ef826140ae565b602082019050919050565b60006020820190508181036000830152614113816140d7565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061417660298361344c565b91506141818261411a565b604082019050919050565b600060208201905081810360008301526141a581614169565b9050919050565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b60006141e2601f8361344c565b91506141ed826141ac565b602082019050919050565b60006020820190508181036000830152614211816141d5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614252826134fc565b915061425d836134fc565b9250828210156142705761426f614218565b5b828203905092915050565b6000614286826136b7565b9150614291836136b7565b92508167ffffffffffffffff04831182151516156142b2576142b1614218565b5b828202905092915050565b60006142c8826134fc565b91506142d3836134fc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561430857614307614218565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061434d826134fc565b9150614358836134fc565b92508261436857614367614313565b5b828204905092915050565b7f5075626c69632073616c65206e6f742061637469766500000000000000000000600082015250565b60006143a960168361344c565b91506143b482614373565b602082019050919050565b600060208201905081810360008301526143d88161439c565b9050919050565b7f4e6f7420656e6f75676820657468657220746f206d696e740000000000000000600082015250565b600061441560188361344c565b9150614420826143df565b602082019050919050565b6000602082019050818103600083015261444481614408565b9050919050565b7f4e6f7420656e6f75676820746f6b656e73206c65667420746f206d696e740000600082015250565b6000614481601e8361344c565b915061448c8261444b565b602082019050919050565b600060208201905081810360008301526144b081614474565b9050919050565b60006144c282613627565b91506144cd83613627565b92508260ff038211156144e3576144e2614218565b5b828201905092915050565b7f4e6f7420616c6c6f77656420746f206d696e742074686973206d756368000000600082015250565b6000614524601d8361344c565b915061452f826144ee565b602082019050919050565b6000602082019050818103600083015261455381614517565b9050919050565b7f43616c6c6572206973206e6f7420746865206f776e6572206f6620746865207460008201527f6f6b656e00000000000000000000000000000000000000000000000000000000602082015250565b60006145b660248361344c565b91506145c18261455a565b604082019050919050565b600060208201905081810360008301526145e5816145a9565b9050919050565b7f5468697320697320612066757475726520646174650000000000000000000000600082015250565b600061462260158361344c565b915061462d826145ec565b602082019050919050565b6000602082019050818103600083015261465181614615565b9050919050565b7f5069636b2077697468696e203120796561720000000000000000000000000000600082015250565b600061468e60128361344c565b915061469982614658565b602082019050919050565b600060208201905081810360008301526146bd81614681565b9050919050565b60006146df6146da6146d5846136da565b613849565b6134fc565b9050919050565b6146ef816146c4565b82525050565b600061471061470b614706846136b7565b613849565b6134fc565b9050919050565b614720816146f5565b82525050565b600060808201905061473b600083018761368d565b61474860208301866146e6565b6147556040830185614717565b614762606083018461368d565b95945050505050565b600067ffffffffffffffff821115614786576147856139cf565b5b61478f82613490565b9050602081019050919050565b60006147af6147aa8461476b565b613a2f565b9050828152602081018484840111156147cb576147ca6139ca565b5b6147d684828561345d565b509392505050565b600082601f8301126147f3576147f26139c5565b5b815161480384826020860161479c565b91505092915050565b6000602082840312156148225761482161337c565b5b600082015167ffffffffffffffff8111156148405761483f613381565b5b61484c848285016147de565b91505092915050565b7f416c6c6f776c6973742073616c65206e6f742061637469766500000000000000600082015250565b600061488b60198361344c565b915061489682614855565b602082019050919050565b600060208201905081810360008301526148ba8161487e565b9050919050565b7f41646472657373206e6f7420616c6c6f776c6973746564000000000000000000600082015250565b60006148f760178361344c565b9150614902826148c1565b602082019050919050565b60006020820190508181036000830152614926816148ea565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061498960268361344c565b91506149948261492d565b604082019050919050565b600060208201905081810360008301526149b88161497c565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006149f560208361344c565b9150614a00826149bf565b602082019050919050565b60006020820190508181036000830152614a24816149e8565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614a8760258361344c565b9150614a9282614a2b565b604082019050919050565b60006020820190508181036000830152614ab681614a7a565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614b1960248361344c565b9150614b2482614abd565b604082019050919050565b60006020820190508181036000830152614b4881614b0c565b9050919050565b6000614b5a826134fc565b9150614b65836134fc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614b9e57614b9d614218565b5b828202905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614bdf60198361344c565b9150614bea82614ba9565b602082019050919050565b60006020820190508181036000830152614c0e81614bd2565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614c7160328361344c565b9150614c7c82614c15565b604082019050919050565b60006020820190508181036000830152614ca081614c64565b9050919050565b60008160601b9050919050565b6000614cbf82614ca7565b9050919050565b6000614cd182614cb4565b9050919050565b614ce9614ce48261357f565b614cc6565b82525050565b6000614cfb8284614cd8565b60148201915081905092915050565b7f455243373231456e756d657261626c653a20636f6e736563757469766520747260008201527f616e7366657273206e6f7420737570706f727465640000000000000000000000602082015250565b6000614d6660358361344c565b9150614d7182614d0a565b604082019050919050565b60006020820190508181036000830152614d9581614d59565b9050919050565b6000819050919050565b614db7614db2826134fc565b614d9c565b82525050565b6000614dc98286614da6565b602082019150614dd98285614da6565b602082019150614de98284614cd8565b601482019150819050949350505050565b600081519050919050565b600082825260208201905092915050565b6000614e2182614dfa565b614e2b8185614e05565b9350614e3b81856020860161345d565b614e4481613490565b840191505092915050565b6000608082019050614e646000830187613591565b614e716020830186613591565b614e7e604083018561368d565b8181036060830152614e908184614e16565b905095945050505050565b600081519050614eaa816133b2565b92915050565b600060208284031215614ec657614ec561337c565b5b6000614ed484828501614e9b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6000614f17826134fc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614f4a57614f49614218565b5b600182019050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614f8b60208361344c565b9150614f9682614f55565b602082019050919050565b60006020820190508181036000830152614fba81614f7e565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614ff7601c8361344c565b915061500282614fc1565b602082019050919050565b6000602082019050818103600083015261502681614fea565b905091905056fea264697066735822122016be2022916def235fa5578f92c1fd311935dc27a11eddc3f426369c8b589dd464736f6c634300080b0033000000000000000000000000f8d0d29b15646e7f4101446d5450dd892a850d46
Deployed Bytecode
0x6080604052600436106102515760003560e01c8063858e83b511610139578063b98326c2116100b6578063db9549ea1161007a578063db9549ea146108b1578063df0091f0146108ee578063e985e9c514610917578063e9cdc02114610954578063f2fde38b1461097f578063f95df414146109a857610251565b8063b98326c2146107e8578063c141f0e514610811578063c87b56dd1461082d578063ce21ec411461086a578063d0757d0e1461089557610251565b806395d89b41116100fd57806395d89b4114610717578063a0897c5414610742578063a22cb4651461076d578063a365789114610796578063b88d4fde146107bf57610251565b8063858e83b51461065157806386a0550d1461066d5780638a707af8146106985780638ada6b0f146106c15780638da5cb5b146106ec57610251565b80632f745c59116101d25780634f6ccce7116101965780634f6ccce71461051b57806350b6204a146105585780636352211e1461058357806370a08231146105c0578063715018a6146105fd57806374e6a4691461061457610251565b80632f745c591461043657806333039d3d146104735780633add14c81461049e5780633ccfd60b146104db57806342842e0e146104f257610251565b8063139b595d11610219578063139b595d1461034f57806318160ddd146103785780631a4231a4146103a35780631d103cb6146103ce57806323b872dd1461040d57610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be578063095ea7b3146102fb5780630fcf2e7514610324575b600080fd5b34801561026257600080fd5b5061027d600480360381019061027891906133de565b6109d1565b60405161028a9190613426565b60405180910390f35b34801561029f57600080fd5b506102a8610a4b565b6040516102b591906134da565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e09190613532565b610add565b6040516102f291906135a0565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d91906135e7565b610b23565b005b34801561033057600080fd5b50610339610c3b565b6040516103469190613426565b60405180910390f35b34801561035b57600080fd5b5061037660048036038101906103719190613660565b610c4e565b005b34801561038457600080fd5b5061038d610c74565b60405161039a919061369c565b60405180910390f35b3480156103af57600080fd5b506103b8610c81565b6040516103c5919061369c565b60405180910390f35b3480156103da57600080fd5b506103f560048036038101906103f09190613532565b610c87565b60405161040493929190613705565b60405180910390f35b34801561041957600080fd5b50610434600480360381019061042f919061373c565b610cf5565b005b34801561044257600080fd5b5061045d600480360381019061045891906135e7565b610d55565b60405161046a919061369c565b60405180910390f35b34801561047f57600080fd5b50610488610dfa565b604051610495919061369c565b60405180910390f35b3480156104aa57600080fd5b506104c560048036038101906104c0919061378f565b610e00565b6040516104d291906137cb565b60405180910390f35b3480156104e757600080fd5b506104f0610e20565b005b3480156104fe57600080fd5b506105196004803603810190610514919061373c565b610ec1565b005b34801561052757600080fd5b50610542600480360381019061053d9190613532565b610ee1565b60405161054f919061369c565b60405180910390f35b34801561056457600080fd5b5061056d610f52565b60405161057a91906137cb565b60405180910390f35b34801561058f57600080fd5b506105aa60048036038101906105a59190613532565b610f65565b6040516105b791906135a0565b60405180910390f35b3480156105cc57600080fd5b506105e760048036038101906105e2919061378f565b610fec565b6040516105f4919061369c565b60405180910390f35b34801561060957600080fd5b506106126110a4565b005b34801561062057600080fd5b5061063b60048036038101906106369190613532565b6110b8565b604051610648919061369c565b60405180910390f35b61066b60048036038101906106669190613660565b6111c7565b005b34801561067957600080fd5b50610682611400565b60405161068f91906137cb565b60405180910390f35b3480156106a457600080fd5b506106bf60048036038101906106ba919061381c565b611413565b005b3480156106cd57600080fd5b506106d6611425565b6040516106e391906138a8565b60405180910390f35b3480156106f857600080fd5b5061070161144b565b60405161070e91906135a0565b60405180910390f35b34801561072357600080fd5b5061072c611475565b60405161073991906134da565b60405180910390f35b34801561074e57600080fd5b50610757611507565b60405161076491906138d2565b60405180910390f35b34801561077957600080fd5b50610794600480360381019061078f9190613919565b61150d565b005b3480156107a257600080fd5b506107bd60048036038101906107b89190613985565b611523565b005b3480156107cb57600080fd5b506107e660048036038101906107e19190613afa565b61182c565b005b3480156107f457600080fd5b5061080f600480360381019061080a9190613660565b61188e565b005b61082b60048036038101906108269190613660565b6118b4565b005b34801561083957600080fd5b50610854600480360381019061084f9190613532565b611926565b60405161086191906134da565b60405180910390f35b34801561087657600080fd5b5061087f611a84565b60405161088c9190613b7d565b60405180910390f35b6108af60048036038101906108aa9190613bf8565b611a8b565b005b3480156108bd57600080fd5b506108d860048036038101906108d3919061378f565b611d54565b6040516108e591906137cb565b60405180910390f35b3480156108fa57600080fd5b5061091560048036038101906109109190613c58565b611d74565b005b34801561092357600080fd5b5061093e60048036038101906109399190613c98565b611db4565b60405161094b9190613426565b60405180910390f35b34801561096057600080fd5b50610969611e48565b6040516109769190613426565b60405180910390f35b34801561098b57600080fd5b506109a660048036038101906109a1919061378f565b611e5b565b005b3480156109b457600080fd5b506109cf60048036038101906109ca919061381c565b611edf565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a445750610a4382611ef1565b5b9050919050565b606060008054610a5a90613d07565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8690613d07565b8015610ad35780601f10610aa857610100808354040283529160200191610ad3565b820191906000526020600020905b815481529060010190602001808311610ab657829003601f168201915b5050505050905090565b6000610ae882611fd3565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b2e82610f65565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9690613dab565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bbe61201e565b73ffffffffffffffffffffffffffffffffffffffff161480610bed5750610bec81610be761201e565b611db4565b5b610c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2390613e3d565b60405180910390fd5b610c368383612026565b505050565b601060039054906101000a900460ff1681565b610c566120df565b80601060006101000a81548160ff021916908360ff16021790555050565b6000600880549050905090565b600f5481565b600e6020528060005260406000206000915090508060000160009054906101000a900467ffffffffffffffff16908060000160089054906101000a900467ffffffffffffffff16908060000160109054906101000a90046fffffffffffffffffffffffffffffffff16905083565b610d06610d0061201e565b8261215d565b610d45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3c90613ecf565b60405180910390fd5b610d508383836121f2565b505050565b6000610d6083610fec565b8210610da1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9890613f61565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61019081565b60126020528060005260406000206000915054906101000a900460ff1681565b610e286120df565b600047905060008111610e70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6790613fcd565b60405180910390fd5b610e7861144b565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610ebd573d6000803e3d6000fd5b5050565b610edc8383836040518060200160405280600081525061182c565b505050565b6000610eeb610c74565b8210610f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f239061405f565b60405180910390fd5b60088281548110610f4057610f3f61407f565b5b90600052602060002001549050919050565b601060009054906101000a900460ff1681565b600080610f71836124ec565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fe3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fda906140fa565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561105d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110549061418c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110ac6120df565b6110b66000612529565b565b6000816110c4816125ef565b611103576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fa906141f8565b60405180910390fd5b6000600e600085815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff16426111459190614247565b905060006201518067ffffffffffffffff1662015180600e600088815260200190815260200160002060000160089054906101000a900467ffffffffffffffff16611190919061427b565b67ffffffffffffffff16836111a591906142bd565b6111af9190614342565b90506111bd61016d82612630565b9350505050919050565b601060039054906101000a900460ff16611216576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120d906143bf565b60405180910390fd5b80346112308260ff16600f5461264990919063ffffffff16565b1115611271576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112689061442b565b60405180910390fd5b8161019061128d8260ff16600c5461265f90919063ffffffff16565b11156112ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c590614497565b60405180910390fd5b82601060019054906101000a900460ff1660ff1681601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661133a91906144b7565b60ff16111561137e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113759061453a565b60405180910390fd5b83601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff166113d991906144b7565b92506101000a81548160ff021916908360ff1602179055506113fa84612675565b50505050565b601060019054906101000a900460ff1681565b61141b6120df565b8060148190555050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461148490613d07565b80601f01602080910402602001604051908101604052809291908181526020018280546114b090613d07565b80156114fd5780601f106114d2576101008083540402835291602001916114fd565b820191906000526020600020905b8154815290600101906020018083116114e057829003601f168201915b5050505050905090565b60145481565b61151f61151861201e565b838361275e565b5050565b813373ffffffffffffffffffffffffffffffffffffffff1661154482610f65565b73ffffffffffffffffffffffffffffffffffffffff161461159a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611591906145cc565b60405180910390fd5b6000600e60008581526020019081526020016000206040518060600160405290816000820160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff1681526020016000820160089054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16815250509050426116a4620151808561167d919061427b565b67ffffffffffffffff16836000015167ffffffffffffffff1661265f90919063ffffffff16565b106116e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116db90614638565b60405180910390fd5b61016d8367ffffffffffffffff1610611732576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611729906146a4565b60405180910390fd5b42816000019067ffffffffffffffff16908167ffffffffffffffff168152505082816020019067ffffffffffffffff16908167ffffffffffffffff168152505080600e600086815260200190815260200160002060008201518160000160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060208201518160000160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060408201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505050505050565b61183d61183761201e565b8361215d565b61187c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187390613ecf565b60405180910390fd5b611888848484846128cb565b50505050565b6118966120df565b80601060016101000a81548160ff021916908360ff16021790555050565b6118bc6120df565b806101906118d88260ff16600c5461265f90919063ffffffff16565b1115611919576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191090614497565b60405180910390fd5b61192282612675565b5050565b606081611932816125ef565b611971576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611968906141f8565b60405180910390fd5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630da0019284600e600087815260200190815260200160002060000160109054906101000a90046fffffffffffffffffffffffffffffffff16600e600088815260200190815260200160002060000160089054906101000a900467ffffffffffffffff16611a17886110b8565b6040518563ffffffff1660e01b8152600401611a369493929190614726565b600060405180830381865afa158015611a53573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611a7c919061480c565b915050919050565b6201518081565b601060029054906101000a900460ff16611ada576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad1906148a1565b60405180910390fd5b8234611af48260ff16600f5461264990919063ffffffff16565b1115611b35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2c9061442b565b60405180910390fd5b8282611b82828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505033612927565b611bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb89061490d565b60405180910390fd5b85610190611bdd8260ff16600c5461265f90919063ffffffff16565b1115611c1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1590614497565b60405180910390fd5b86601060009054906101000a900460ff1660ff1681601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611c8a91906144b7565b60ff161115611cce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc59061453a565b60405180910390fd5b87601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff16611d2991906144b7565b92506101000a81548160ff021916908360ff160217905550611d4a88612675565b5050505050505050565b60116020528060005260406000206000915054906101000a900460ff1681565b611d7c6120df565b81601060026101000a81548160ff02191690831515021790555080601060036101000a81548160ff0219169083151502179055505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601060029054906101000a900460ff1681565b611e636120df565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ed3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eca9061499f565b60405180910390fd5b611edc81612529565b50565b611ee76120df565b8060138190555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611fbc57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611fcc5750611fcb8261296e565b5b9050919050565b611fdc816125ef565b61201b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612012906140fa565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661209983610f65565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6120e761201e565b73ffffffffffffffffffffffffffffffffffffffff1661210561144b565b73ffffffffffffffffffffffffffffffffffffffff161461215b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215290614a0b565b60405180910390fd5b565b60008061216983610f65565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806121ab57506121aa8185611db4565b5b806121e957508373ffffffffffffffffffffffffffffffffffffffff166121d184610add565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661221282610f65565b73ffffffffffffffffffffffffffffffffffffffff1614612268576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225f90614a9d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122cf90614b2f565b60405180910390fd5b6122e583838360016129d8565b8273ffffffffffffffffffffffffffffffffffffffff1661230582610f65565b73ffffffffffffffffffffffffffffffffffffffff161461235b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235290614a9d565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124e78383836001612b38565b505050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008073ffffffffffffffffffffffffffffffffffffffff16612611836124ec565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600081831061263f5781612641565b825b905092915050565b600081836126579190614b4f565b905092915050565b6000818361266d91906142bd565b905092915050565b60008160ff1614156126865761275b565b60005b61269f6001600c5461265f90919063ffffffff16565b600c819055506126b0600c54612b3e565b600e6000600c54815260200190815260200160002060000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555042600e6000600c54815260200190815260200160002060000160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555061274933600c54612b75565b8160ff16816001019150811061268957505b50565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c490614bf5565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516128be9190613426565b60405180910390a3505050565b6128d68484846121f2565b6128e284848484612b93565b612921576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291890614c87565b60405180910390fd5b50505050565b6000612966601354836040516020016129409190614cef565b6040516020818303038152906040528051906020012085612d1b9092919063ffffffff16565b905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6129e484848484612d32565b6001811115612a28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1f90614d7c565b60405180910390fd5b6000829050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612a7057612a6b81612d38565b612aaf565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614612aae57612aad8582612d81565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612af257612aed81612eee565b612b31565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612b3057612b2f8482612fbf565b5b5b5050505050565b50505050565b6000814233604051602001612b5593929190614dbd565b6040516020818303038152906040528051906020012060001c9050919050565b612b8f82826040518060200160405280600081525061303e565b5050565b6000612bb48473ffffffffffffffffffffffffffffffffffffffff16613099565b15612d0e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612bdd61201e565b8786866040518563ffffffff1660e01b8152600401612bff9493929190614e4f565b6020604051808303816000875af1925050508015612c3b57506040513d601f19601f82011682018060405250810190612c389190614eb0565b60015b612cbe573d8060008114612c6b576040519150601f19603f3d011682016040523d82523d6000602084013e612c70565b606091505b50600081511415612cb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cad90614c87565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612d13565b600190505b949350505050565b600082612d2885846130bc565b1490509392505050565b50505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612d8e84610fec565b612d989190614247565b9050600060076000848152602001908152602001600020549050818114612e7d576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612f029190614247565b9050600060096000848152602001908152602001600020549050600060088381548110612f3257612f3161407f565b5b906000526020600020015490508060088381548110612f5457612f5361407f565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612fa357612fa2614edd565b5b6001900381819060005260206000200160009055905550505050565b6000612fca83610fec565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6130488383613112565b6130556000848484612b93565b613094576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308b90614c87565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008082905060005b8451811015613107576130f2828683815181106130e5576130e461407f565b5b6020026020010151613330565b915080806130ff90614f0c565b9150506130c5565b508091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613182576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317990614fa1565b60405180910390fd5b61318b816125ef565b156131cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131c29061500d565b60405180910390fd5b6131d96000838360016129d8565b6131e2816125ef565b15613222576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132199061500d565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461332c600083836001612b38565b5050565b600081831061334857613343828461335b565b613353565b613352838361335b565b5b905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6133bb81613386565b81146133c657600080fd5b50565b6000813590506133d8816133b2565b92915050565b6000602082840312156133f4576133f361337c565b5b6000613402848285016133c9565b91505092915050565b60008115159050919050565b6134208161340b565b82525050565b600060208201905061343b6000830184613417565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561347b578082015181840152602081019050613460565b8381111561348a576000848401525b50505050565b6000601f19601f8301169050919050565b60006134ac82613441565b6134b6818561344c565b93506134c681856020860161345d565b6134cf81613490565b840191505092915050565b600060208201905081810360008301526134f481846134a1565b905092915050565b6000819050919050565b61350f816134fc565b811461351a57600080fd5b50565b60008135905061352c81613506565b92915050565b6000602082840312156135485761354761337c565b5b60006135568482850161351d565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061358a8261355f565b9050919050565b61359a8161357f565b82525050565b60006020820190506135b56000830184613591565b92915050565b6135c48161357f565b81146135cf57600080fd5b50565b6000813590506135e1816135bb565b92915050565b600080604083850312156135fe576135fd61337c565b5b600061360c858286016135d2565b925050602061361d8582860161351d565b9150509250929050565b600060ff82169050919050565b61363d81613627565b811461364857600080fd5b50565b60008135905061365a81613634565b92915050565b6000602082840312156136765761367561337c565b5b60006136848482850161364b565b91505092915050565b613696816134fc565b82525050565b60006020820190506136b1600083018461368d565b92915050565b600067ffffffffffffffff82169050919050565b6136d4816136b7565b82525050565b60006fffffffffffffffffffffffffffffffff82169050919050565b6136ff816136da565b82525050565b600060608201905061371a60008301866136cb565b61372760208301856136cb565b61373460408301846136f6565b949350505050565b6000806000606084860312156137555761375461337c565b5b6000613763868287016135d2565b9350506020613774868287016135d2565b92505060406137858682870161351d565b9150509250925092565b6000602082840312156137a5576137a461337c565b5b60006137b3848285016135d2565b91505092915050565b6137c581613627565b82525050565b60006020820190506137e060008301846137bc565b92915050565b6000819050919050565b6137f9816137e6565b811461380457600080fd5b50565b600081359050613816816137f0565b92915050565b6000602082840312156138325761383161337c565b5b600061384084828501613807565b91505092915050565b6000819050919050565b600061386e6138696138648461355f565b613849565b61355f565b9050919050565b600061388082613853565b9050919050565b600061389282613875565b9050919050565b6138a281613887565b82525050565b60006020820190506138bd6000830184613899565b92915050565b6138cc816137e6565b82525050565b60006020820190506138e760008301846138c3565b92915050565b6138f68161340b565b811461390157600080fd5b50565b600081359050613913816138ed565b92915050565b600080604083850312156139305761392f61337c565b5b600061393e858286016135d2565b925050602061394f85828601613904565b9150509250929050565b613962816136b7565b811461396d57600080fd5b50565b60008135905061397f81613959565b92915050565b6000806040838503121561399c5761399b61337c565b5b60006139aa8582860161351d565b92505060206139bb85828601613970565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613a0782613490565b810181811067ffffffffffffffff82111715613a2657613a256139cf565b5b80604052505050565b6000613a39613372565b9050613a4582826139fe565b919050565b600067ffffffffffffffff821115613a6557613a646139cf565b5b613a6e82613490565b9050602081019050919050565b82818337600083830152505050565b6000613a9d613a9884613a4a565b613a2f565b905082815260208101848484011115613ab957613ab86139ca565b5b613ac4848285613a7b565b509392505050565b600082601f830112613ae157613ae06139c5565b5b8135613af1848260208601613a8a565b91505092915050565b60008060008060808587031215613b1457613b1361337c565b5b6000613b22878288016135d2565b9450506020613b33878288016135d2565b9350506040613b448782880161351d565b925050606085013567ffffffffffffffff811115613b6557613b64613381565b5b613b7187828801613acc565b91505092959194509250565b6000602082019050613b9260008301846136cb565b92915050565b600080fd5b600080fd5b60008083601f840112613bb857613bb76139c5565b5b8235905067ffffffffffffffff811115613bd557613bd4613b98565b5b602083019150836020820283011115613bf157613bf0613b9d565b5b9250929050565b600080600060408486031215613c1157613c1061337c565b5b6000613c1f8682870161364b565b935050602084013567ffffffffffffffff811115613c4057613c3f613381565b5b613c4c86828701613ba2565b92509250509250925092565b60008060408385031215613c6f57613c6e61337c565b5b6000613c7d85828601613904565b9250506020613c8e85828601613904565b9150509250929050565b60008060408385031215613caf57613cae61337c565b5b6000613cbd858286016135d2565b9250506020613cce858286016135d2565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d1f57607f821691505b60208210811415613d3357613d32613cd8565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613d9560218361344c565b9150613da082613d39565b604082019050919050565b60006020820190508181036000830152613dc481613d88565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000613e27603d8361344c565b9150613e3282613dcb565b604082019050919050565b60006020820190508181036000830152613e5681613e1a565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000613eb9602d8361344c565b9150613ec482613e5d565b604082019050919050565b60006020820190508181036000830152613ee881613eac565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613f4b602b8361344c565b9150613f5682613eef565b604082019050919050565b60006020820190508181036000830152613f7a81613f3e565b9050919050565b7f4e6f2062616c616e636520746f20776974686472617700000000000000000000600082015250565b6000613fb760168361344c565b9150613fc282613f81565b602082019050919050565b60006020820190508181036000830152613fe681613faa565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614049602c8361344c565b915061405482613fed565b604082019050919050565b600060208201905081810360008301526140788161403c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006140e460188361344c565b91506140ef826140ae565b602082019050919050565b60006020820190508181036000830152614113816140d7565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061417660298361344c565b91506141818261411a565b604082019050919050565b600060208201905081810360008301526141a581614169565b9050919050565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b60006141e2601f8361344c565b91506141ed826141ac565b602082019050919050565b60006020820190508181036000830152614211816141d5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614252826134fc565b915061425d836134fc565b9250828210156142705761426f614218565b5b828203905092915050565b6000614286826136b7565b9150614291836136b7565b92508167ffffffffffffffff04831182151516156142b2576142b1614218565b5b828202905092915050565b60006142c8826134fc565b91506142d3836134fc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561430857614307614218565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061434d826134fc565b9150614358836134fc565b92508261436857614367614313565b5b828204905092915050565b7f5075626c69632073616c65206e6f742061637469766500000000000000000000600082015250565b60006143a960168361344c565b91506143b482614373565b602082019050919050565b600060208201905081810360008301526143d88161439c565b9050919050565b7f4e6f7420656e6f75676820657468657220746f206d696e740000000000000000600082015250565b600061441560188361344c565b9150614420826143df565b602082019050919050565b6000602082019050818103600083015261444481614408565b9050919050565b7f4e6f7420656e6f75676820746f6b656e73206c65667420746f206d696e740000600082015250565b6000614481601e8361344c565b915061448c8261444b565b602082019050919050565b600060208201905081810360008301526144b081614474565b9050919050565b60006144c282613627565b91506144cd83613627565b92508260ff038211156144e3576144e2614218565b5b828201905092915050565b7f4e6f7420616c6c6f77656420746f206d696e742074686973206d756368000000600082015250565b6000614524601d8361344c565b915061452f826144ee565b602082019050919050565b6000602082019050818103600083015261455381614517565b9050919050565b7f43616c6c6572206973206e6f7420746865206f776e6572206f6620746865207460008201527f6f6b656e00000000000000000000000000000000000000000000000000000000602082015250565b60006145b660248361344c565b91506145c18261455a565b604082019050919050565b600060208201905081810360008301526145e5816145a9565b9050919050565b7f5468697320697320612066757475726520646174650000000000000000000000600082015250565b600061462260158361344c565b915061462d826145ec565b602082019050919050565b6000602082019050818103600083015261465181614615565b9050919050565b7f5069636b2077697468696e203120796561720000000000000000000000000000600082015250565b600061468e60128361344c565b915061469982614658565b602082019050919050565b600060208201905081810360008301526146bd81614681565b9050919050565b60006146df6146da6146d5846136da565b613849565b6134fc565b9050919050565b6146ef816146c4565b82525050565b600061471061470b614706846136b7565b613849565b6134fc565b9050919050565b614720816146f5565b82525050565b600060808201905061473b600083018761368d565b61474860208301866146e6565b6147556040830185614717565b614762606083018461368d565b95945050505050565b600067ffffffffffffffff821115614786576147856139cf565b5b61478f82613490565b9050602081019050919050565b60006147af6147aa8461476b565b613a2f565b9050828152602081018484840111156147cb576147ca6139ca565b5b6147d684828561345d565b509392505050565b600082601f8301126147f3576147f26139c5565b5b815161480384826020860161479c565b91505092915050565b6000602082840312156148225761482161337c565b5b600082015167ffffffffffffffff8111156148405761483f613381565b5b61484c848285016147de565b91505092915050565b7f416c6c6f776c6973742073616c65206e6f742061637469766500000000000000600082015250565b600061488b60198361344c565b915061489682614855565b602082019050919050565b600060208201905081810360008301526148ba8161487e565b9050919050565b7f41646472657373206e6f7420616c6c6f776c6973746564000000000000000000600082015250565b60006148f760178361344c565b9150614902826148c1565b602082019050919050565b60006020820190508181036000830152614926816148ea565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061498960268361344c565b91506149948261492d565b604082019050919050565b600060208201905081810360008301526149b88161497c565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006149f560208361344c565b9150614a00826149bf565b602082019050919050565b60006020820190508181036000830152614a24816149e8565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614a8760258361344c565b9150614a9282614a2b565b604082019050919050565b60006020820190508181036000830152614ab681614a7a565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614b1960248361344c565b9150614b2482614abd565b604082019050919050565b60006020820190508181036000830152614b4881614b0c565b9050919050565b6000614b5a826134fc565b9150614b65836134fc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614b9e57614b9d614218565b5b828202905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614bdf60198361344c565b9150614bea82614ba9565b602082019050919050565b60006020820190508181036000830152614c0e81614bd2565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614c7160328361344c565b9150614c7c82614c15565b604082019050919050565b60006020820190508181036000830152614ca081614c64565b9050919050565b60008160601b9050919050565b6000614cbf82614ca7565b9050919050565b6000614cd182614cb4565b9050919050565b614ce9614ce48261357f565b614cc6565b82525050565b6000614cfb8284614cd8565b60148201915081905092915050565b7f455243373231456e756d657261626c653a20636f6e736563757469766520747260008201527f616e7366657273206e6f7420737570706f727465640000000000000000000000602082015250565b6000614d6660358361344c565b9150614d7182614d0a565b604082019050919050565b60006020820190508181036000830152614d9581614d59565b9050919050565b6000819050919050565b614db7614db2826134fc565b614d9c565b82525050565b6000614dc98286614da6565b602082019150614dd98285614da6565b602082019150614de98284614cd8565b601482019150819050949350505050565b600081519050919050565b600082825260208201905092915050565b6000614e2182614dfa565b614e2b8185614e05565b9350614e3b81856020860161345d565b614e4481613490565b840191505092915050565b6000608082019050614e646000830187613591565b614e716020830186613591565b614e7e604083018561368d565b8181036060830152614e908184614e16565b905095945050505050565b600081519050614eaa816133b2565b92915050565b600060208284031215614ec657614ec561337c565b5b6000614ed484828501614e9b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6000614f17826134fc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614f4a57614f49614218565b5b600182019050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614f8b60208361344c565b9150614f9682614f55565b602082019050919050565b60006020820190508181036000830152614fba81614f7e565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614ff7601c8361344c565b915061500282614fc1565b602082019050919050565b6000602082019050818103600083015261502681614fea565b905091905056fea264697066735822122016be2022916def235fa5578f92c1fd311935dc27a11eddc3f426369c8b589dd464736f6c634300080b0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000f8d0d29b15646e7f4101446d5450dd892a850d46
-----Decoded View---------------
Arg [0] : _renderer (address): 0xf8d0d29B15646e7F4101446D5450dd892a850d46
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000f8d0d29b15646e7f4101446d5450dd892a850d46
Deployed Bytecode Sourcemap
103483:8058:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54162:224;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;36793:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;38305:171;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;37823:416;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;104516:30;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;107173:151;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;54802:113;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;104180:38;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;103855:49;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;39005:335;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;54470:256;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;104078:46;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;104658:44;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;111339:197;;;;;;;;;;;;;:::i;:::-;;39411:185;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;54992:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;104381:42;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;36503:223;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;36234:207;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;61978:103;;;;;;;;;;;;;:::i;:::-;;109757:331;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;108927:266;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;104430:39;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;104844:101;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;103642:34;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;61330:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;36962:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;104812:23;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;38548:155;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;110459:497;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;39667:322;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;107332:143;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;108323:144;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;110148:253;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;104131:42;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;108540:332;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;104602:49;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;107719:248;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;38774:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;104476:33;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;62236:201;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;107535:120;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;54162:224;54264:4;54303:35;54288:50;;;:11;:50;;;;:90;;;;54342:36;54366:11;54342:23;:36::i;:::-;54288:90;54281:97;;54162:224;;;:::o;36793:100::-;36847:13;36880:5;36873:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36793:100;:::o;38305:171::-;38381:7;38401:23;38416:7;38401:14;:23::i;:::-;38444:15;:24;38460:7;38444:24;;;;;;;;;;;;;;;;;;;;;38437:31;;38305:171;;;:::o;37823:416::-;37904:13;37920:23;37935:7;37920:14;:23::i;:::-;37904:39;;37968:5;37962:11;;:2;:11;;;;37954:57;;;;;;;;;;;;:::i;:::-;;;;;;;;;38062:5;38046:21;;:12;:10;:12::i;:::-;:21;;;:62;;;;38071:37;38088:5;38095:12;:10;:12::i;:::-;38071:16;:37::i;:::-;38046:62;38024:173;;;;;;;;;;;;:::i;:::-;;;;;;;;;38210:21;38219:2;38223:7;38210:8;:21::i;:::-;37893:346;37823:416;;:::o;104516:30::-;;;;;;;;;;;;;:::o;107173:151::-;61216:13;:11;:13::i;:::-;107300:16:::1;107272:25;;:44;;;;;;;;;;;;;;;;;;107173:151:::0;:::o;54802:113::-;54863:7;54890:10;:17;;;;54883:24;;54802:113;:::o;104180:38::-;;;;:::o;103855:49::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;39005:335::-;39200:41;39219:12;:10;:12::i;:::-;39233:7;39200:18;:41::i;:::-;39192:99;;;;;;;;;;;;:::i;:::-;;;;;;;;;39304:28;39314:4;39320:2;39324:7;39304:9;:28::i;:::-;39005:335;;;:::o;54470:256::-;54567:7;54603:23;54620:5;54603:16;:23::i;:::-;54595:5;:31;54587:87;;;;;;;;;;;;:::i;:::-;;;;;;;;;54692:12;:19;54705:5;54692:19;;;;;;;;;;;;;;;:26;54712:5;54692:26;;;;;;;;;;;;54685:33;;54470:256;;;;:::o;104078:46::-;104121:3;104078:46;:::o;104658:44::-;;;;;;;;;;;;;;;;;;;;;;:::o;111339:197::-;61216:13;:11;:13::i;:::-;111387:15:::1;111405:21;111387:39;;111455:1;111445:7;:11;111437:46;;;;;;;;;;;;:::i;:::-;;;;;;;;;111502:7;:5;:7::i;:::-;111494:25;;:34;111520:7;111494:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;111376:160;111339:197::o:0;39411:185::-;39549:39;39566:4;39572:2;39576:7;39549:39;;;;;;;;;;;;:16;:39::i;:::-;39411:185;;;:::o;54992:233::-;55067:7;55103:30;:28;:30::i;:::-;55095:5;:38;55087:95;;;;;;;;;;;;:::i;:::-;;;;;;;;;55200:10;55211:5;55200:17;;;;;;;;:::i;:::-;;;;;;;;;;55193:24;;54992:233;;;:::o;104381:42::-;;;;;;;;;;;;;:::o;36503:223::-;36575:7;36595:13;36611:17;36620:7;36611:8;:17::i;:::-;36595:33;;36664:1;36647:19;;:5;:19;;;;36639:56;;;;;;;;;;;;:::i;:::-;;;;;;;;;36713:5;36706:12;;;36503:223;;;:::o;36234:207::-;36306:7;36351:1;36334:19;;:5;:19;;;;36326:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;36417:9;:16;36427:5;36417:16;;;;;;;;;;;;;;;;36410:23;;36234:207;;;:::o;61978:103::-;61216:13;:11;:13::i;:::-;62043:30:::1;62070:1;62043:18;:30::i;:::-;61978:103::o:0;109757:331::-;109846:7;109824;105074:17;105082:8;105074:7;:17::i;:::-;105052:98;;;;;;;;;;;;:::i;:::-;;;;;;;;;109865:21:::1;109907:11;:20;109919:7;109907:20;;;;;;;;;;;:36;;;;;;;;;;;;109889:54;;:15;:54;;;;:::i;:::-;109865:78;;109954:15;104168:5;109972:73;;104168:5;109990:11;:20;110002:7;109990:20;;;;;;;;;;;:27;;;;;;;;;;;;:41;;;;:::i;:::-;109973:59;;:13;:59;;;;:::i;:::-;109972:73;;;;:::i;:::-;109954:91;;110063:17;110067:3;110072:7;110063:3;:17::i;:::-;110056:24;;;;109757:331:::0;;;;:::o;108927:266::-;105671:18;;;;;;;;;;;105663:53;;;;;;;;;;;;:::i;:::-;;;;;;;;;109025:6:::1;105867:9;105841:22;105856:6;105841:22;;:10;;:14;;:22;;;;:::i;:::-;:35;;105819:109;;;;;;;;;;;;:::i;:::-;;;;;;;;;109064:6:::2;104121:3;106654:24;106671:6;106654:24;;:12;;:16;;:24;;;;:::i;:::-;:44;;106632:124;;;;;;;;;;;;:::i;:::-;;;;;;;;;109103:6:::3;106431:22;;;;;;;;;;;106395:58;;106421:6;106395:11;:23;106407:10;106395:23;;;;;;;;;;;;;;;;;;;;;;;;;:32;;;;:::i;:::-;:58;;;;106373:137;;;;;;;;;;;;:::i;:::-;;;;;;;;;109156:6:::4;109129:11;:23;109141:10;109129:23;;;;;;;;;;;;;;;;:33;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;109173:12;109178:6;109173:4;:12::i;:::-;106767:1:::3;105939::::2;105727::::1;108927:266:::0;:::o;104430:39::-;;;;;;;;;;;;;:::o;104844:101::-;61216:13;:11;:13::i;:::-;104928:9:::1;104917:8;:20;;;;104844:101:::0;:::o;103642:34::-;;;;;;;;;;;;;:::o;61330:87::-;61376:7;61403:6;;;;;;;;;;;61396:13;;61330:87;:::o;36962:104::-;37018:13;37051:7;37044:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36962:104;:::o;104812:23::-;;;;:::o;38548:155::-;38643:52;38662:12;:10;:12::i;:::-;38676:8;38686;38643:18;:52::i;:::-;38548:155;;:::o;110459:497::-;110531:8;105322:10;105301:31;;:17;105309:8;105301:7;:17::i;:::-;:31;;;105279:117;;;;;;;;;;;;:::i;:::-;;;;;;;;;110552:29:::1;110584:11;:21;110596:8;110584:21;;;;;;;;;;;110552:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;110693:15;110638:52;104168:5;110670:7;:19;;;;:::i;:::-;110638:52;;:11;:27;;;:31;;;;:52;;;;:::i;:::-;:70;110616:128;;;;;;;;;;;;:::i;:::-;;;;;;;;;110773:3;110763:7;:13;;;110755:44;;;;;;;;;;;;:::i;:::-;;;;;;;;;110847:15;110810:11;:27;;:53;;;;;;;;;::::0;::::1;110895:7;110874:11;:18;;:28;;;;;;;;;::::0;::::1;110937:11;110913;:21;110925:8;110913:21;;;;;;;;;;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;110541:415;110459:497:::0;;;:::o;39667:322::-;39841:41;39860:12;:10;:12::i;:::-;39874:7;39841:18;:41::i;:::-;39833:99;;;;;;;;;;;;:::i;:::-;;;;;;;;;39943:38;39957:4;39963:2;39967:7;39976:4;39943:13;:38::i;:::-;39667:322;;;;:::o;107332:143::-;61216:13;:11;:13::i;:::-;107451:16:::1;107426:22;;:41;;;;;;;;;;;;;;;;;;107332:143:::0;:::o;108323:144::-;61216:13;:11;:13::i;:::-;108423:6:::1;104121:3;106654:24;106671:6;106654:24;;:12;;:16;;:24;;;;:::i;:::-;:44;;106632:124;;;;;;;;;;;;:::i;:::-;;;;;;;;;108447:12:::2;108452:6;108447:4;:12::i;:::-;61240:1:::1;108323:144:::0;:::o;110148:253::-;110251:13;110228:7;105074:17;105082:8;105074:7;:17::i;:::-;105052:98;;;;;;;;;;;;:::i;:::-;;;;;;;;;110284:8:::1;;;;;;;;;;;:23;;;110308:7;110317:11;:20;110329:7;110317:20;;;;;;;;;;;:25;;;;;;;;;;;;110344:11;:20;110356:7;110344:20;;;;;;;;;;;:27;;;;;;;;;;;;110373:19;110384:7;110373:10;:19::i;:::-;110284:109;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;110277:116;;110148:253:::0;;;;:::o;104131:42::-;104168:5;104131:42;:::o;108540:332::-;105511:21;;;;;;;;;;;105503:59;;;;;;;;;;;;:::i;:::-;;;;;;;;;108670:6:::1;105867:9;105841:22;105856:6;105841:22;;:10;;:14;;:22;;;;:::i;:::-;:35;;105819:109;;;;;;;;;;;;:::i;:::-;;;;;;;;;108699:5:::2;;106911:39;106932:5;;106911:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;106939:10;106911:20;:39::i;:::-;106889:112;;;;;;;;;;;;:::i;:::-;;;;;;;;;108737:6:::3;104121:3;106654:24;106671:6;106654:24;;:12;;:16;;:24;;;;:::i;:::-;:44;;106632:124;;;;;;;;;;;;:::i;:::-;;;;;;;;;108779:6:::4;106142:25;;;;;;;;;;;106101:66;;106132:6;106101:16;:28;106118:10;106101:28;;;;;;;;;;;;;;;;;;;;;;;;;:37;;;;:::i;:::-;:66;;;;106079:145;;;;;;;;;;;;:::i;:::-;;;;;;;;;108835:6:::5;108803:16;:28;108820:10;108803:28;;;;;;;;;;;;;;;;:38;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;108852:12;108857:6;108852:4;:12::i;:::-;106767:1:::4;107012::::3;105939::::2;;105573::::1;108540:332:::0;;;:::o;104602:49::-;;;;;;;;;;;;;;;;;;;;;;:::o;107719:248::-;61216:13;:11;:13::i;:::-;107886:22:::1;107862:21;;:46;;;;;;;;;;;;;;;;;;107940:19;107919:18;;:40;;;;;;;;;;;;;;;;;;107719:248:::0;;:::o;38774:164::-;38871:4;38895:18;:25;38914:5;38895:25;;;;;;;;;;;;;;;:35;38921:8;38895:35;;;;;;;;;;;;;;;;;;;;;;;;;38888:42;;38774:164;;;;:::o;104476:33::-;;;;;;;;;;;;;:::o;62236:201::-;61216:13;:11;:13::i;:::-;62345:1:::1;62325:22;;:8;:22;;;;62317:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;62401:28;62420:8;62401:18;:28::i;:::-;62236:201:::0;:::o;107535:120::-;61216:13;:11;:13::i;:::-;107637:10:::1;107615:19;:32;;;;107535:120:::0;:::o;35865:305::-;35967:4;36019:25;36004:40;;;:11;:40;;;;:105;;;;36076:33;36061:48;;;:11;:48;;;;36004:105;:158;;;;36126:36;36150:11;36126:23;:36::i;:::-;36004:158;35984:178;;35865:305;;;:::o;48124:135::-;48206:16;48214:7;48206;:16::i;:::-;48198:53;;;;;;;;;;;;:::i;:::-;;;;;;;;;48124:135;:::o;18022:98::-;18075:7;18102:10;18095:17;;18022:98;:::o;47403:174::-;47505:2;47478:15;:24;47494:7;47478:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;47561:7;47557:2;47523:46;;47532:23;47547:7;47532:14;:23::i;:::-;47523:46;;;;;;;;;;;;47403:174;;:::o;61495:132::-;61570:12;:10;:12::i;:::-;61559:23;;:7;:5;:7::i;:::-;:23;;;61551:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;61495:132::o;42022:264::-;42115:4;42132:13;42148:23;42163:7;42148:14;:23::i;:::-;42132:39;;42201:5;42190:16;;:7;:16;;;:52;;;;42210:32;42227:5;42234:7;42210:16;:32::i;:::-;42190:52;:87;;;;42270:7;42246:31;;:20;42258:7;42246:11;:20::i;:::-;:31;;;42190:87;42182:96;;;42022:264;;;;:::o;46021:1263::-;46180:4;46153:31;;:23;46168:7;46153:14;:23::i;:::-;:31;;;46145:81;;;;;;;;;;;;:::i;:::-;;;;;;;;;46259:1;46245:16;;:2;:16;;;;46237:65;;;;;;;;;;;;:::i;:::-;;;;;;;;;46315:42;46336:4;46342:2;46346:7;46355:1;46315:20;:42::i;:::-;46487:4;46460:31;;:23;46475:7;46460:14;:23::i;:::-;:31;;;46452:81;;;;;;;;;;;;:::i;:::-;;;;;;;;;46605:15;:24;46621:7;46605:24;;;;;;;;;;;;46598:31;;;;;;;;;;;47100:1;47081:9;:15;47091:4;47081:15;;;;;;;;;;;;;;;;:20;;;;;;;;;;;47133:1;47116:9;:13;47126:2;47116:13;;;;;;;;;;;;;;;;:18;;;;;;;;;;;47175:2;47156:7;:16;47164:7;47156:16;;;;;;;;;;;;:21;;;;;;;;;;;;;;;;;;47214:7;47210:2;47195:27;;47204:4;47195:27;;;;;;;;;;;;47235:41;47255:4;47261:2;47265:7;47274:1;47235:19;:41::i;:::-;46021:1263;;;:::o;41297:117::-;41363:7;41390;:16;41398:7;41390:16;;;;;;;;;;;;;;;;;;;;;41383:23;;41297:117;;;:::o;62597:191::-;62671:16;62690:6;;;;;;;;;;;62671:25;;62716:8;62707:6;;:17;;;;;;;;;;;;;;;;;;62771:8;62740:40;;62761:8;62740:40;;;;;;;;;;;;62660:128;62597:191;:::o;41727:128::-;41792:4;41845:1;41816:31;;:17;41825:7;41816:8;:17::i;:::-;:31;;;;41809:38;;41727:128;;;:::o;111183:106::-;111241:7;111272:1;111268;:5;:13;;111280:1;111268:13;;;111276:1;111268:13;111261:20;;111183:106;;;;:::o;66409:98::-;66467:7;66498:1;66494;:5;;;;:::i;:::-;66487:12;;66409:98;;;;:::o;65671:::-;65729:7;65760:1;65756;:5;;;;:::i;:::-;65749:12;;65671:98;;;;:::o;109233:462::-;109319:1;109309:6;:11;;;109305:25;;;109322:8;;109305:25;109344:9;109368:309;109405:19;109422:1;109405:12;;:16;;:19;;;;:::i;:::-;109390:12;:34;;;;109476:23;109486:12;;109476:9;:23::i;:::-;109443:11;:25;109455:12;;109443:25;;;;;;;;;;;:30;;;:56;;;;;;;;;;;;;;;;;;109569:15;109518:11;:25;109530:12;;109518:25;;;;;;;;;;;:41;;;:67;;;;;;;;;;;;;;;;;;109604:35;109614:10;109626:12;;109604:9;:35::i;:::-;109669:6;109663:12;;:3;;;;;;:12;109368:309;;109280:408;109233:462;;:::o;47720:315::-;47875:8;47866:17;;:5;:17;;;;47858:55;;;;;;;;;;;;:::i;:::-;;;;;;;;;47962:8;47924:18;:25;47943:5;47924:25;;;;;;;;;;;;;;;:35;47950:8;47924:35;;;;;;;;;;;;;;;;:46;;;;;;;;;;;;;;;;;;48008:8;47986:41;;48001:5;47986:41;;;48018:8;47986:41;;;;;;:::i;:::-;;;;;;;;47720:315;;;:::o;40870:313::-;41026:28;41036:4;41042:2;41046:7;41026:9;:28::i;:::-;41073:47;41096:4;41102:2;41106:7;41115:4;41073:22;:47::i;:::-;41065:110;;;;;;;;;;;;:::i;:::-;;;;;;;;;40870:313;;;;:::o;108027:204::-;108122:4;108151:72;108164:19;;108212:8;108195:26;;;;;;;;:::i;:::-;;;;;;;;;;;;;108185:37;;;;;;108151:5;:12;;:72;;;;;:::i;:::-;108144:79;;108027:204;;;;:::o;34296:157::-;34381:4;34420:25;34405:40;;;:11;:40;;;;34398:47;;34296:157;;;:::o;55299:915::-;55476:61;55503:4;55509:2;55513:12;55527:9;55476:26;:61::i;:::-;55566:1;55554:9;:13;55550:222;;;55697:63;;;;;;;;;;:::i;:::-;;;;;;;;55550:222;55784:15;55802:12;55784:30;;55847:1;55831:18;;:4;:18;;;55827:187;;;55866:40;55898:7;55866:31;:40::i;:::-;55827:187;;;55936:2;55928:10;;:4;:10;;;55924:90;;55955:47;55988:4;55994:7;55955:32;:47::i;:::-;55924:90;55827:187;56042:1;56028:16;;:2;:16;;;56024:183;;;56061:45;56098:7;56061:36;:45::i;:::-;56024:183;;;56134:4;56128:10;;:2;:10;;;56124:83;;56155:40;56183:2;56187:7;56155:27;:40::i;:::-;56124:83;56024:183;55465:749;55299:915;;;;:::o;51289:158::-;;;;;:::o;110987:171::-;111043:7;111113:4;111119:15;111136:10;111096:51;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;111086:62;;;;;;111078:71;;111063:87;;110987:171;;;:::o;42628:110::-;42704:26;42714:2;42718:7;42704:26;;;;;;;;;;;;:9;:26::i;:::-;42628:110;;:::o;48823:853::-;48977:4;48998:15;:2;:13;;;:15::i;:::-;48994:675;;;49050:2;49034:36;;;49071:12;:10;:12::i;:::-;49085:4;49091:7;49100:4;49034:71;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;49030:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49292:1;49275:6;:13;:18;49271:328;;;49318:60;;;;;;;;;;:::i;:::-;;;;;;;;49271:328;49549:6;49543:13;49534:6;49530:2;49526:15;49519:38;49030:584;49166:41;;;49156:51;;;:6;:51;;;;49149:58;;;;;48994:675;49653:4;49646:11;;48823:853;;;;;;;:::o;95069:190::-;95194:4;95247;95218:25;95231:5;95238:4;95218:12;:25::i;:::-;:33;95211:40;;95069:190;;;;;:::o;50408:159::-;;;;;:::o;56937:164::-;57041:10;:17;;;;57014:15;:24;57030:7;57014:24;;;;;;;;;;;:44;;;;57069:10;57085:7;57069:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56937:164;:::o;57728:988::-;57994:22;58044:1;58019:22;58036:4;58019:16;:22::i;:::-;:26;;;;:::i;:::-;57994:51;;58056:18;58077:17;:26;58095:7;58077:26;;;;;;;;;;;;58056:47;;58224:14;58210:10;:28;58206:328;;58255:19;58277:12;:18;58290:4;58277:18;;;;;;;;;;;;;;;:34;58296:14;58277:34;;;;;;;;;;;;58255:56;;58361:11;58328:12;:18;58341:4;58328:18;;;;;;;;;;;;;;;:30;58347:10;58328:30;;;;;;;;;;;:44;;;;58478:10;58445:17;:30;58463:11;58445:30;;;;;;;;;;;:43;;;;58240:294;58206:328;58630:17;:26;58648:7;58630:26;;;;;;;;;;;58623:33;;;58674:12;:18;58687:4;58674:18;;;;;;;;;;;;;;;:34;58693:14;58674:34;;;;;;;;;;;58667:41;;;57809:907;;57728:988;;:::o;59011:1079::-;59264:22;59309:1;59289:10;:17;;;;:21;;;;:::i;:::-;59264:46;;59321:18;59342:15;:24;59358:7;59342:24;;;;;;;;;;;;59321:45;;59693:19;59715:10;59726:14;59715:26;;;;;;;;:::i;:::-;;;;;;;;;;59693:48;;59779:11;59754:10;59765;59754:22;;;;;;;;:::i;:::-;;;;;;;;;:36;;;;59890:10;59859:15;:28;59875:11;59859:28;;;;;;;;;;;:41;;;;60031:15;:24;60047:7;60031:24;;;;;;;;;;;60024:31;;;60066:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;59082:1008;;;59011:1079;:::o;56515:221::-;56600:14;56617:20;56634:2;56617:16;:20::i;:::-;56600:37;;56675:7;56648:12;:16;56661:2;56648:16;;;;;;;;;;;;;;;:24;56665:6;56648:24;;;;;;;;;;;:34;;;;56722:6;56693:17;:26;56711:7;56693:26;;;;;;;;;;;:35;;;;56589:147;56515:221;;:::o;42965:319::-;43094:18;43100:2;43104:7;43094:5;:18::i;:::-;43145:53;43176:1;43180:2;43184:7;43193:4;43145:22;:53::i;:::-;43123:153;;;;;;;;;;;;:::i;:::-;;;;;;;;;42965:319;;;:::o;9148:326::-;9208:4;9465:1;9443:7;:19;;;:23;9436:30;;9148:326;;;:::o;95936:296::-;96019:7;96039:20;96062:4;96039:27;;96082:9;96077:118;96101:5;:12;96097:1;:16;96077:118;;;96150:33;96160:12;96174:5;96180:1;96174:8;;;;;;;;:::i;:::-;;;;;;;;96150:9;:33::i;:::-;96135:48;;96115:3;;;;;:::i;:::-;;;;96077:118;;;;96212:12;96205:19;;;95936:296;;;;:::o;43620:942::-;43714:1;43700:16;;:2;:16;;;;43692:61;;;;;;;;;;;;:::i;:::-;;;;;;;;;43773:16;43781:7;43773;:16::i;:::-;43772:17;43764:58;;;;;;;;;;;;:::i;:::-;;;;;;;;;43835:48;43864:1;43868:2;43872:7;43881:1;43835:20;:48::i;:::-;43982:16;43990:7;43982;:16::i;:::-;43981:17;43973:58;;;;;;;;;;;;:::i;:::-;;;;;;;;;44397:1;44380:9;:13;44390:2;44380:13;;;;;;;;;;;;;;;;:18;;;;;;;;;;;44441:2;44422:7;:16;44430:7;44422:16;;;;;;;;;;;;:21;;;;;;;;;;;;;;;;;;44486:7;44482:2;44461:33;;44478:1;44461:33;;;;;;;;;;;;44507:47;44535:1;44539:2;44543:7;44552:1;44507:19;:47::i;:::-;43620:942;;:::o;102976:149::-;103039:7;103070:1;103066;:5;:51;;103097:20;103112:1;103115;103097:14;:20::i;:::-;103066:51;;;103074:20;103089:1;103092;103074:14;:20::i;:::-;103066:51;103059:58;;102976:149;;;;:::o;103133:268::-;103201:13;103308:1;103302:4;103295:15;103337:1;103331:4;103324:15;103378:4;103372;103362:21;103353:30;;103133:268;;;;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:149;370:7;410:66;403:5;399:78;388:89;;334:149;;;:::o;489:120::-;561:23;578:5;561:23;:::i;:::-;554:5;551:34;541:62;;599:1;596;589:12;541:62;489:120;:::o;615:137::-;660:5;698:6;685:20;676:29;;714:32;740:5;714:32;:::i;:::-;615:137;;;;:::o;758:327::-;816:6;865:2;853:9;844:7;840:23;836:32;833:119;;;871:79;;:::i;:::-;833:119;991:1;1016:52;1060:7;1051:6;1040:9;1036:22;1016:52;:::i;:::-;1006:62;;962:116;758:327;;;;:::o;1091:90::-;1125:7;1168:5;1161:13;1154:21;1143:32;;1091:90;;;:::o;1187:109::-;1268:21;1283:5;1268:21;:::i;:::-;1263:3;1256:34;1187:109;;:::o;1302:210::-;1389:4;1427:2;1416:9;1412:18;1404:26;;1440:65;1502:1;1491:9;1487:17;1478:6;1440:65;:::i;:::-;1302:210;;;;:::o;1518:99::-;1570:6;1604:5;1598:12;1588:22;;1518:99;;;:::o;1623:169::-;1707:11;1741:6;1736:3;1729:19;1781:4;1776:3;1772:14;1757:29;;1623:169;;;;:::o;1798:307::-;1866:1;1876:113;1890:6;1887:1;1884:13;1876:113;;;1975:1;1970:3;1966:11;1960:18;1956:1;1951:3;1947:11;1940:39;1912:2;1909:1;1905:10;1900:15;;1876:113;;;2007:6;2004:1;2001:13;1998:101;;;2087:1;2078:6;2073:3;2069:16;2062:27;1998:101;1847:258;1798:307;;;:::o;2111:102::-;2152:6;2203:2;2199:7;2194:2;2187:5;2183:14;2179:28;2169:38;;2111:102;;;:::o;2219:364::-;2307:3;2335:39;2368:5;2335:39;:::i;:::-;2390:71;2454:6;2449:3;2390:71;:::i;:::-;2383:78;;2470:52;2515:6;2510:3;2503:4;2496:5;2492:16;2470:52;:::i;:::-;2547:29;2569:6;2547:29;:::i;:::-;2542:3;2538:39;2531:46;;2311:272;2219:364;;;;:::o;2589:313::-;2702:4;2740:2;2729:9;2725:18;2717:26;;2789:9;2783:4;2779:20;2775:1;2764:9;2760:17;2753:47;2817:78;2890:4;2881:6;2817:78;:::i;:::-;2809:86;;2589:313;;;;:::o;2908:77::-;2945:7;2974:5;2963:16;;2908:77;;;:::o;2991:122::-;3064:24;3082:5;3064:24;:::i;:::-;3057:5;3054:35;3044:63;;3103:1;3100;3093:12;3044:63;2991:122;:::o;3119:139::-;3165:5;3203:6;3190:20;3181:29;;3219:33;3246:5;3219:33;:::i;:::-;3119:139;;;;:::o;3264:329::-;3323:6;3372:2;3360:9;3351:7;3347:23;3343:32;3340:119;;;3378:79;;:::i;:::-;3340:119;3498:1;3523:53;3568:7;3559:6;3548:9;3544:22;3523:53;:::i;:::-;3513:63;;3469:117;3264:329;;;;:::o;3599:126::-;3636:7;3676:42;3669:5;3665:54;3654:65;;3599:126;;;:::o;3731:96::-;3768:7;3797:24;3815:5;3797:24;:::i;:::-;3786:35;;3731:96;;;:::o;3833:118::-;3920:24;3938:5;3920:24;:::i;:::-;3915:3;3908:37;3833:118;;:::o;3957:222::-;4050:4;4088:2;4077:9;4073:18;4065:26;;4101:71;4169:1;4158:9;4154:17;4145:6;4101:71;:::i;:::-;3957:222;;;;:::o;4185:122::-;4258:24;4276:5;4258:24;:::i;:::-;4251:5;4248:35;4238:63;;4297:1;4294;4287:12;4238:63;4185:122;:::o;4313:139::-;4359:5;4397:6;4384:20;4375:29;;4413:33;4440:5;4413:33;:::i;:::-;4313:139;;;;:::o;4458:474::-;4526:6;4534;4583:2;4571:9;4562:7;4558:23;4554:32;4551:119;;;4589:79;;:::i;:::-;4551:119;4709:1;4734:53;4779:7;4770:6;4759:9;4755:22;4734:53;:::i;:::-;4724:63;;4680:117;4836:2;4862:53;4907:7;4898:6;4887:9;4883:22;4862:53;:::i;:::-;4852:63;;4807:118;4458:474;;;;;:::o;4938:86::-;4973:7;5013:4;5006:5;5002:16;4991:27;;4938:86;;;:::o;5030:118::-;5101:22;5117:5;5101:22;:::i;:::-;5094:5;5091:33;5081:61;;5138:1;5135;5128:12;5081:61;5030:118;:::o;5154:135::-;5198:5;5236:6;5223:20;5214:29;;5252:31;5277:5;5252:31;:::i;:::-;5154:135;;;;:::o;5295:325::-;5352:6;5401:2;5389:9;5380:7;5376:23;5372:32;5369:119;;;5407:79;;:::i;:::-;5369:119;5527:1;5552:51;5595:7;5586:6;5575:9;5571:22;5552:51;:::i;:::-;5542:61;;5498:115;5295:325;;;;:::o;5626:118::-;5713:24;5731:5;5713:24;:::i;:::-;5708:3;5701:37;5626:118;;:::o;5750:222::-;5843:4;5881:2;5870:9;5866:18;5858:26;;5894:71;5962:1;5951:9;5947:17;5938:6;5894:71;:::i;:::-;5750:222;;;;:::o;5978:101::-;6014:7;6054:18;6047:5;6043:30;6032:41;;5978:101;;;:::o;6085:115::-;6170:23;6187:5;6170:23;:::i;:::-;6165:3;6158:36;6085:115;;:::o;6206:118::-;6243:7;6283:34;6276:5;6272:46;6261:57;;6206:118;;;:::o;6330:::-;6417:24;6435:5;6417:24;:::i;:::-;6412:3;6405:37;6330:118;;:::o;6454:434::-;6599:4;6637:2;6626:9;6622:18;6614:26;;6650:69;6716:1;6705:9;6701:17;6692:6;6650:69;:::i;:::-;6729:70;6795:2;6784:9;6780:18;6771:6;6729:70;:::i;:::-;6809:72;6877:2;6866:9;6862:18;6853:6;6809:72;:::i;:::-;6454:434;;;;;;:::o;6894:619::-;6971:6;6979;6987;7036:2;7024:9;7015:7;7011:23;7007:32;7004:119;;;7042:79;;:::i;:::-;7004:119;7162:1;7187:53;7232:7;7223:6;7212:9;7208:22;7187:53;:::i;:::-;7177:63;;7133:117;7289:2;7315:53;7360:7;7351:6;7340:9;7336:22;7315:53;:::i;:::-;7305:63;;7260:118;7417:2;7443:53;7488:7;7479:6;7468:9;7464:22;7443:53;:::i;:::-;7433:63;;7388:118;6894:619;;;;;:::o;7519:329::-;7578:6;7627:2;7615:9;7606:7;7602:23;7598:32;7595:119;;;7633:79;;:::i;:::-;7595:119;7753:1;7778:53;7823:7;7814:6;7803:9;7799:22;7778:53;:::i;:::-;7768:63;;7724:117;7519:329;;;;:::o;7854:112::-;7937:22;7953:5;7937:22;:::i;:::-;7932:3;7925:35;7854:112;;:::o;7972:214::-;8061:4;8099:2;8088:9;8084:18;8076:26;;8112:67;8176:1;8165:9;8161:17;8152:6;8112:67;:::i;:::-;7972:214;;;;:::o;8192:77::-;8229:7;8258:5;8247:16;;8192:77;;;:::o;8275:122::-;8348:24;8366:5;8348:24;:::i;:::-;8341:5;8338:35;8328:63;;8387:1;8384;8377:12;8328:63;8275:122;:::o;8403:139::-;8449:5;8487:6;8474:20;8465:29;;8503:33;8530:5;8503:33;:::i;:::-;8403:139;;;;:::o;8548:329::-;8607:6;8656:2;8644:9;8635:7;8631:23;8627:32;8624:119;;;8662:79;;:::i;:::-;8624:119;8782:1;8807:53;8852:7;8843:6;8832:9;8828:22;8807:53;:::i;:::-;8797:63;;8753:117;8548:329;;;;:::o;8883:60::-;8911:3;8932:5;8925:12;;8883:60;;;:::o;8949:142::-;8999:9;9032:53;9050:34;9059:24;9077:5;9059:24;:::i;:::-;9050:34;:::i;:::-;9032:53;:::i;:::-;9019:66;;8949:142;;;:::o;9097:126::-;9147:9;9180:37;9211:5;9180:37;:::i;:::-;9167:50;;9097:126;;;:::o;9229:153::-;9306:9;9339:37;9370:5;9339:37;:::i;:::-;9326:50;;9229:153;;;:::o;9388:185::-;9502:64;9560:5;9502:64;:::i;:::-;9497:3;9490:77;9388:185;;:::o;9579:276::-;9699:4;9737:2;9726:9;9722:18;9714:26;;9750:98;9845:1;9834:9;9830:17;9821:6;9750:98;:::i;:::-;9579:276;;;;:::o;9861:118::-;9948:24;9966:5;9948:24;:::i;:::-;9943:3;9936:37;9861:118;;:::o;9985:222::-;10078:4;10116:2;10105:9;10101:18;10093:26;;10129:71;10197:1;10186:9;10182:17;10173:6;10129:71;:::i;:::-;9985:222;;;;:::o;10213:116::-;10283:21;10298:5;10283:21;:::i;:::-;10276:5;10273:32;10263:60;;10319:1;10316;10309:12;10263:60;10213:116;:::o;10335:133::-;10378:5;10416:6;10403:20;10394:29;;10432:30;10456:5;10432:30;:::i;:::-;10335:133;;;;:::o;10474:468::-;10539:6;10547;10596:2;10584:9;10575:7;10571:23;10567:32;10564:119;;;10602:79;;:::i;:::-;10564:119;10722:1;10747:53;10792:7;10783:6;10772:9;10768:22;10747:53;:::i;:::-;10737:63;;10693:117;10849:2;10875:50;10917:7;10908:6;10897:9;10893:22;10875:50;:::i;:::-;10865:60;;10820:115;10474:468;;;;;:::o;10948:120::-;11020:23;11037:5;11020:23;:::i;:::-;11013:5;11010:34;11000:62;;11058:1;11055;11048:12;11000:62;10948:120;:::o;11074:137::-;11119:5;11157:6;11144:20;11135:29;;11173:32;11199:5;11173:32;:::i;:::-;11074:137;;;;:::o;11217:472::-;11284:6;11292;11341:2;11329:9;11320:7;11316:23;11312:32;11309:119;;;11347:79;;:::i;:::-;11309:119;11467:1;11492:53;11537:7;11528:6;11517:9;11513:22;11492:53;:::i;:::-;11482:63;;11438:117;11594:2;11620:52;11664:7;11655:6;11644:9;11640:22;11620:52;:::i;:::-;11610:62;;11565:117;11217:472;;;;;:::o;11695:117::-;11804:1;11801;11794:12;11818:117;11927:1;11924;11917:12;11941:180;11989:77;11986:1;11979:88;12086:4;12083:1;12076:15;12110:4;12107:1;12100:15;12127:281;12210:27;12232:4;12210:27;:::i;:::-;12202:6;12198:40;12340:6;12328:10;12325:22;12304:18;12292:10;12289:34;12286:62;12283:88;;;12351:18;;:::i;:::-;12283:88;12391:10;12387:2;12380:22;12170:238;12127:281;;:::o;12414:129::-;12448:6;12475:20;;:::i;:::-;12465:30;;12504:33;12532:4;12524:6;12504:33;:::i;:::-;12414:129;;;:::o;12549:307::-;12610:4;12700:18;12692:6;12689:30;12686:56;;;12722:18;;:::i;:::-;12686:56;12760:29;12782:6;12760:29;:::i;:::-;12752:37;;12844:4;12838;12834:15;12826:23;;12549:307;;;:::o;12862:154::-;12946:6;12941:3;12936;12923:30;13008:1;12999:6;12994:3;12990:16;12983:27;12862:154;;;:::o;13022:410::-;13099:5;13124:65;13140:48;13181:6;13140:48;:::i;:::-;13124:65;:::i;:::-;13115:74;;13212:6;13205:5;13198:21;13250:4;13243:5;13239:16;13288:3;13279:6;13274:3;13270:16;13267:25;13264:112;;;13295:79;;:::i;:::-;13264:112;13385:41;13419:6;13414:3;13409;13385:41;:::i;:::-;13105:327;13022:410;;;;;:::o;13451:338::-;13506:5;13555:3;13548:4;13540:6;13536:17;13532:27;13522:122;;13563:79;;:::i;:::-;13522:122;13680:6;13667:20;13705:78;13779:3;13771:6;13764:4;13756:6;13752:17;13705:78;:::i;:::-;13696:87;;13512:277;13451:338;;;;:::o;13795:943::-;13890:6;13898;13906;13914;13963:3;13951:9;13942:7;13938:23;13934:33;13931:120;;;13970:79;;:::i;:::-;13931:120;14090:1;14115:53;14160:7;14151:6;14140:9;14136:22;14115:53;:::i;:::-;14105:63;;14061:117;14217:2;14243:53;14288:7;14279:6;14268:9;14264:22;14243:53;:::i;:::-;14233:63;;14188:118;14345:2;14371:53;14416:7;14407:6;14396:9;14392:22;14371:53;:::i;:::-;14361:63;;14316:118;14501:2;14490:9;14486:18;14473:32;14532:18;14524:6;14521:30;14518:117;;;14554:79;;:::i;:::-;14518:117;14659:62;14713:7;14704:6;14693:9;14689:22;14659:62;:::i;:::-;14649:72;;14444:287;13795:943;;;;;;;:::o;14744:218::-;14835:4;14873:2;14862:9;14858:18;14850:26;;14886:69;14952:1;14941:9;14937:17;14928:6;14886:69;:::i;:::-;14744:218;;;;:::o;14968:117::-;15077:1;15074;15067:12;15091:117;15200:1;15197;15190:12;15231:568;15304:8;15314:6;15364:3;15357:4;15349:6;15345:17;15341:27;15331:122;;15372:79;;:::i;:::-;15331:122;15485:6;15472:20;15462:30;;15515:18;15507:6;15504:30;15501:117;;;15537:79;;:::i;:::-;15501:117;15651:4;15643:6;15639:17;15627:29;;15705:3;15697:4;15689:6;15685:17;15675:8;15671:32;15668:41;15665:128;;;15712:79;;:::i;:::-;15665:128;15231:568;;;;;:::o;15805:700::-;15898:6;15906;15914;15963:2;15951:9;15942:7;15938:23;15934:32;15931:119;;;15969:79;;:::i;:::-;15931:119;16089:1;16114:51;16157:7;16148:6;16137:9;16133:22;16114:51;:::i;:::-;16104:61;;16060:115;16242:2;16231:9;16227:18;16214:32;16273:18;16265:6;16262:30;16259:117;;;16295:79;;:::i;:::-;16259:117;16408:80;16480:7;16471:6;16460:9;16456:22;16408:80;:::i;:::-;16390:98;;;;16185:313;15805:700;;;;;:::o;16511:462::-;16573:6;16581;16630:2;16618:9;16609:7;16605:23;16601:32;16598:119;;;16636:79;;:::i;:::-;16598:119;16756:1;16781:50;16823:7;16814:6;16803:9;16799:22;16781:50;:::i;:::-;16771:60;;16727:114;16880:2;16906:50;16948:7;16939:6;16928:9;16924:22;16906:50;:::i;:::-;16896:60;;16851:115;16511:462;;;;;:::o;16979:474::-;17047:6;17055;17104:2;17092:9;17083:7;17079:23;17075:32;17072:119;;;17110:79;;:::i;:::-;17072:119;17230:1;17255:53;17300:7;17291:6;17280:9;17276:22;17255:53;:::i;:::-;17245:63;;17201:117;17357:2;17383:53;17428:7;17419:6;17408:9;17404:22;17383:53;:::i;:::-;17373:63;;17328:118;16979:474;;;;;:::o;17459:180::-;17507:77;17504:1;17497:88;17604:4;17601:1;17594:15;17628:4;17625:1;17618:15;17645:320;17689:6;17726:1;17720:4;17716:12;17706:22;;17773:1;17767:4;17763:12;17794:18;17784:81;;17850:4;17842:6;17838:17;17828:27;;17784:81;17912:2;17904:6;17901:14;17881:18;17878:38;17875:84;;;17931:18;;:::i;:::-;17875:84;17696:269;17645:320;;;:::o;17971:220::-;18111:34;18107:1;18099:6;18095:14;18088:58;18180:3;18175:2;18167:6;18163:15;18156:28;17971:220;:::o;18197:366::-;18339:3;18360:67;18424:2;18419:3;18360:67;:::i;:::-;18353:74;;18436:93;18525:3;18436:93;:::i;:::-;18554:2;18549:3;18545:12;18538:19;;18197:366;;;:::o;18569:419::-;18735:4;18773:2;18762:9;18758:18;18750:26;;18822:9;18816:4;18812:20;18808:1;18797:9;18793:17;18786:47;18850:131;18976:4;18850:131;:::i;:::-;18842:139;;18569:419;;;:::o;18994:248::-;19134:34;19130:1;19122:6;19118:14;19111:58;19203:31;19198:2;19190:6;19186:15;19179:56;18994:248;:::o;19248:366::-;19390:3;19411:67;19475:2;19470:3;19411:67;:::i;:::-;19404:74;;19487:93;19576:3;19487:93;:::i;:::-;19605:2;19600:3;19596:12;19589:19;;19248:366;;;:::o;19620:419::-;19786:4;19824:2;19813:9;19809:18;19801:26;;19873:9;19867:4;19863:20;19859:1;19848:9;19844:17;19837:47;19901:131;20027:4;19901:131;:::i;:::-;19893:139;;19620:419;;;:::o;20045:232::-;20185:34;20181:1;20173:6;20169:14;20162:58;20254:15;20249:2;20241:6;20237:15;20230:40;20045:232;:::o;20283:366::-;20425:3;20446:67;20510:2;20505:3;20446:67;:::i;:::-;20439:74;;20522:93;20611:3;20522:93;:::i;:::-;20640:2;20635:3;20631:12;20624:19;;20283:366;;;:::o;20655:419::-;20821:4;20859:2;20848:9;20844:18;20836:26;;20908:9;20902:4;20898:20;20894:1;20883:9;20879:17;20872:47;20936:131;21062:4;20936:131;:::i;:::-;20928:139;;20655:419;;;:::o;21080:230::-;21220:34;21216:1;21208:6;21204:14;21197:58;21289:13;21284:2;21276:6;21272:15;21265:38;21080:230;:::o;21316:366::-;21458:3;21479:67;21543:2;21538:3;21479:67;:::i;:::-;21472:74;;21555:93;21644:3;21555:93;:::i;:::-;21673:2;21668:3;21664:12;21657:19;;21316:366;;;:::o;21688:419::-;21854:4;21892:2;21881:9;21877:18;21869:26;;21941:9;21935:4;21931:20;21927:1;21916:9;21912:17;21905:47;21969:131;22095:4;21969:131;:::i;:::-;21961:139;;21688:419;;;:::o;22113:172::-;22253:24;22249:1;22241:6;22237:14;22230:48;22113:172;:::o;22291:366::-;22433:3;22454:67;22518:2;22513:3;22454:67;:::i;:::-;22447:74;;22530:93;22619:3;22530:93;:::i;:::-;22648:2;22643:3;22639:12;22632:19;;22291:366;;;:::o;22663:419::-;22829:4;22867:2;22856:9;22852:18;22844:26;;22916:9;22910:4;22906:20;22902:1;22891:9;22887:17;22880:47;22944:131;23070:4;22944:131;:::i;:::-;22936:139;;22663:419;;;:::o;23088:231::-;23228:34;23224:1;23216:6;23212:14;23205:58;23297:14;23292:2;23284:6;23280:15;23273:39;23088:231;:::o;23325:366::-;23467:3;23488:67;23552:2;23547:3;23488:67;:::i;:::-;23481:74;;23564:93;23653:3;23564:93;:::i;:::-;23682:2;23677:3;23673:12;23666:19;;23325:366;;;:::o;23697:419::-;23863:4;23901:2;23890:9;23886:18;23878:26;;23950:9;23944:4;23940:20;23936:1;23925:9;23921:17;23914:47;23978:131;24104:4;23978:131;:::i;:::-;23970:139;;23697:419;;;:::o;24122:180::-;24170:77;24167:1;24160:88;24267:4;24264:1;24257:15;24291:4;24288:1;24281:15;24308:174;24448:26;24444:1;24436:6;24432:14;24425:50;24308:174;:::o;24488:366::-;24630:3;24651:67;24715:2;24710:3;24651:67;:::i;:::-;24644:74;;24727:93;24816:3;24727:93;:::i;:::-;24845:2;24840:3;24836:12;24829:19;;24488:366;;;:::o;24860:419::-;25026:4;25064:2;25053:9;25049:18;25041:26;;25113:9;25107:4;25103:20;25099:1;25088:9;25084:17;25077:47;25141:131;25267:4;25141:131;:::i;:::-;25133:139;;24860:419;;;:::o;25285:228::-;25425:34;25421:1;25413:6;25409:14;25402:58;25494:11;25489:2;25481:6;25477:15;25470:36;25285:228;:::o;25519:366::-;25661:3;25682:67;25746:2;25741:3;25682:67;:::i;:::-;25675:74;;25758:93;25847:3;25758:93;:::i;:::-;25876:2;25871:3;25867:12;25860:19;;25519:366;;;:::o;25891:419::-;26057:4;26095:2;26084:9;26080:18;26072:26;;26144:9;26138:4;26134:20;26130:1;26119:9;26115:17;26108:47;26172:131;26298:4;26172:131;:::i;:::-;26164:139;;25891:419;;;:::o;26316:181::-;26456:33;26452:1;26444:6;26440:14;26433:57;26316:181;:::o;26503:366::-;26645:3;26666:67;26730:2;26725:3;26666:67;:::i;:::-;26659:74;;26742:93;26831:3;26742:93;:::i;:::-;26860:2;26855:3;26851:12;26844:19;;26503:366;;;:::o;26875:419::-;27041:4;27079:2;27068:9;27064:18;27056:26;;27128:9;27122:4;27118:20;27114:1;27103:9;27099:17;27092:47;27156:131;27282:4;27156:131;:::i;:::-;27148:139;;26875:419;;;:::o;27300:180::-;27348:77;27345:1;27338:88;27445:4;27442:1;27435:15;27469:4;27466:1;27459:15;27486:191;27526:4;27546:20;27564:1;27546:20;:::i;:::-;27541:25;;27580:20;27598:1;27580:20;:::i;:::-;27575:25;;27619:1;27616;27613:8;27610:34;;;27624:18;;:::i;:::-;27610:34;27669:1;27666;27662:9;27654:17;;27486:191;;;;:::o;27683:297::-;27722:7;27745:19;27762:1;27745:19;:::i;:::-;27740:24;;27778:19;27795:1;27778:19;:::i;:::-;27773:24;;27917:1;27897:18;27893:26;27890:1;27887:33;27882:1;27875:9;27868:17;27864:57;27861:83;;;27924:18;;:::i;:::-;27861:83;27972:1;27969;27965:9;27954:20;;27683:297;;;;:::o;27986:305::-;28026:3;28045:20;28063:1;28045:20;:::i;:::-;28040:25;;28079:20;28097:1;28079:20;:::i;:::-;28074:25;;28233:1;28165:66;28161:74;28158:1;28155:81;28152:107;;;28239:18;;:::i;:::-;28152:107;28283:1;28280;28276:9;28269:16;;27986:305;;;;:::o;28297:180::-;28345:77;28342:1;28335:88;28442:4;28439:1;28432:15;28466:4;28463:1;28456:15;28483:185;28523:1;28540:20;28558:1;28540:20;:::i;:::-;28535:25;;28574:20;28592:1;28574:20;:::i;:::-;28569:25;;28613:1;28603:35;;28618:18;;:::i;:::-;28603:35;28660:1;28657;28653:9;28648:14;;28483:185;;;;:::o;28674:172::-;28814:24;28810:1;28802:6;28798:14;28791:48;28674:172;:::o;28852:366::-;28994:3;29015:67;29079:2;29074:3;29015:67;:::i;:::-;29008:74;;29091:93;29180:3;29091:93;:::i;:::-;29209:2;29204:3;29200:12;29193:19;;28852:366;;;:::o;29224:419::-;29390:4;29428:2;29417:9;29413:18;29405:26;;29477:9;29471:4;29467:20;29463:1;29452:9;29448:17;29441:47;29505:131;29631:4;29505:131;:::i;:::-;29497:139;;29224:419;;;:::o;29649:174::-;29789:26;29785:1;29777:6;29773:14;29766:50;29649:174;:::o;29829:366::-;29971:3;29992:67;30056:2;30051:3;29992:67;:::i;:::-;29985:74;;30068:93;30157:3;30068:93;:::i;:::-;30186:2;30181:3;30177:12;30170:19;;29829:366;;;:::o;30201:419::-;30367:4;30405:2;30394:9;30390:18;30382:26;;30454:9;30448:4;30444:20;30440:1;30429:9;30425:17;30418:47;30482:131;30608:4;30482:131;:::i;:::-;30474:139;;30201:419;;;:::o;30626:180::-;30766:32;30762:1;30754:6;30750:14;30743:56;30626:180;:::o;30812:366::-;30954:3;30975:67;31039:2;31034:3;30975:67;:::i;:::-;30968:74;;31051:93;31140:3;31051:93;:::i;:::-;31169:2;31164:3;31160:12;31153:19;;30812:366;;;:::o;31184:419::-;31350:4;31388:2;31377:9;31373:18;31365:26;;31437:9;31431:4;31427:20;31423:1;31412:9;31408:17;31401:47;31465:131;31591:4;31465:131;:::i;:::-;31457:139;;31184:419;;;:::o;31609:237::-;31647:3;31666:18;31682:1;31666:18;:::i;:::-;31661:23;;31698:18;31714:1;31698:18;:::i;:::-;31693:23;;31788:1;31782:4;31778:12;31775:1;31772:19;31769:45;;;31794:18;;:::i;:::-;31769:45;31838:1;31835;31831:9;31824:16;;31609:237;;;;:::o;31852:179::-;31992:31;31988:1;31980:6;31976:14;31969:55;31852:179;:::o;32037:366::-;32179:3;32200:67;32264:2;32259:3;32200:67;:::i;:::-;32193:74;;32276:93;32365:3;32276:93;:::i;:::-;32394:2;32389:3;32385:12;32378:19;;32037:366;;;:::o;32409:419::-;32575:4;32613:2;32602:9;32598:18;32590:26;;32662:9;32656:4;32652:20;32648:1;32637:9;32633:17;32626:47;32690:131;32816:4;32690:131;:::i;:::-;32682:139;;32409:419;;;:::o;32834:223::-;32974:34;32970:1;32962:6;32958:14;32951:58;33043:6;33038:2;33030:6;33026:15;33019:31;32834:223;:::o;33063:366::-;33205:3;33226:67;33290:2;33285:3;33226:67;:::i;:::-;33219:74;;33302:93;33391:3;33302:93;:::i;:::-;33420:2;33415:3;33411:12;33404:19;;33063:366;;;:::o;33435:419::-;33601:4;33639:2;33628:9;33624:18;33616:26;;33688:9;33682:4;33678:20;33674:1;33663:9;33659:17;33652:47;33716:131;33842:4;33716:131;:::i;:::-;33708:139;;33435:419;;;:::o;33860:171::-;34000:23;33996:1;33988:6;33984:14;33977:47;33860:171;:::o;34037:366::-;34179:3;34200:67;34264:2;34259:3;34200:67;:::i;:::-;34193:74;;34276:93;34365:3;34276:93;:::i;:::-;34394:2;34389:3;34385:12;34378:19;;34037:366;;;:::o;34409:419::-;34575:4;34613:2;34602:9;34598:18;34590:26;;34662:9;34656:4;34652:20;34648:1;34637:9;34633:17;34626:47;34690:131;34816:4;34690:131;:::i;:::-;34682:139;;34409:419;;;:::o;34834:168::-;34974:20;34970:1;34962:6;34958:14;34951:44;34834:168;:::o;35008:366::-;35150:3;35171:67;35235:2;35230:3;35171:67;:::i;:::-;35164:74;;35247:93;35336:3;35247:93;:::i;:::-;35365:2;35360:3;35356:12;35349:19;;35008:366;;;:::o;35380:419::-;35546:4;35584:2;35573:9;35569:18;35561:26;;35633:9;35627:4;35623:20;35619:1;35608:9;35604:17;35597:47;35661:131;35787:4;35661:131;:::i;:::-;35653:139;;35380:419;;;:::o;35805:142::-;35855:9;35888:53;35906:34;35915:24;35933:5;35915:24;:::i;:::-;35906:34;:::i;:::-;35888:53;:::i;:::-;35875:66;;35805:142;;;:::o;35953:131::-;36040:37;36071:5;36040:37;:::i;:::-;36035:3;36028:50;35953:131;;:::o;36090:140::-;36139:9;36172:52;36190:33;36199:23;36216:5;36199:23;:::i;:::-;36190:33;:::i;:::-;36172:52;:::i;:::-;36159:65;;36090:140;;;:::o;36236:129::-;36322:36;36352:5;36322:36;:::i;:::-;36317:3;36310:49;36236:129;;:::o;36371:551::-;36547:4;36585:3;36574:9;36570:19;36562:27;;36599:71;36667:1;36656:9;36652:17;36643:6;36599:71;:::i;:::-;36680:72;36748:2;36737:9;36733:18;36724:6;36680:72;:::i;:::-;36762:71;36829:2;36818:9;36814:18;36805:6;36762:71;:::i;:::-;36843:72;36911:2;36900:9;36896:18;36887:6;36843:72;:::i;:::-;36371:551;;;;;;;:::o;36928:308::-;36990:4;37080:18;37072:6;37069:30;37066:56;;;37102:18;;:::i;:::-;37066:56;37140:29;37162:6;37140:29;:::i;:::-;37132:37;;37224:4;37218;37214:15;37206:23;;36928:308;;;:::o;37242:421::-;37331:5;37356:66;37372:49;37414:6;37372:49;:::i;:::-;37356:66;:::i;:::-;37347:75;;37445:6;37438:5;37431:21;37483:4;37476:5;37472:16;37521:3;37512:6;37507:3;37503:16;37500:25;37497:112;;;37528:79;;:::i;:::-;37497:112;37618:39;37650:6;37645:3;37640;37618:39;:::i;:::-;37337:326;37242:421;;;;;:::o;37683:355::-;37750:5;37799:3;37792:4;37784:6;37780:17;37776:27;37766:122;;37807:79;;:::i;:::-;37766:122;37917:6;37911:13;37942:90;38028:3;38020:6;38013:4;38005:6;38001:17;37942:90;:::i;:::-;37933:99;;37756:282;37683:355;;;;:::o;38044:524::-;38124:6;38173:2;38161:9;38152:7;38148:23;38144:32;38141:119;;;38179:79;;:::i;:::-;38141:119;38320:1;38309:9;38305:17;38299:24;38350:18;38342:6;38339:30;38336:117;;;38372:79;;:::i;:::-;38336:117;38477:74;38543:7;38534:6;38523:9;38519:22;38477:74;:::i;:::-;38467:84;;38270:291;38044:524;;;;:::o;38574:175::-;38714:27;38710:1;38702:6;38698:14;38691:51;38574:175;:::o;38755:366::-;38897:3;38918:67;38982:2;38977:3;38918:67;:::i;:::-;38911:74;;38994:93;39083:3;38994:93;:::i;:::-;39112:2;39107:3;39103:12;39096:19;;38755:366;;;:::o;39127:419::-;39293:4;39331:2;39320:9;39316:18;39308:26;;39380:9;39374:4;39370:20;39366:1;39355:9;39351:17;39344:47;39408:131;39534:4;39408:131;:::i;:::-;39400:139;;39127:419;;;:::o;39552:173::-;39692:25;39688:1;39680:6;39676:14;39669:49;39552:173;:::o;39731:366::-;39873:3;39894:67;39958:2;39953:3;39894:67;:::i;:::-;39887:74;;39970:93;40059:3;39970:93;:::i;:::-;40088:2;40083:3;40079:12;40072:19;;39731:366;;;:::o;40103:419::-;40269:4;40307:2;40296:9;40292:18;40284:26;;40356:9;40350:4;40346:20;40342:1;40331:9;40327:17;40320:47;40384:131;40510:4;40384:131;:::i;:::-;40376:139;;40103:419;;;:::o;40528:225::-;40668:34;40664:1;40656:6;40652:14;40645:58;40737:8;40732:2;40724:6;40720:15;40713:33;40528:225;:::o;40759:366::-;40901:3;40922:67;40986:2;40981:3;40922:67;:::i;:::-;40915:74;;40998:93;41087:3;40998:93;:::i;:::-;41116:2;41111:3;41107:12;41100:19;;40759:366;;;:::o;41131:419::-;41297:4;41335:2;41324:9;41320:18;41312:26;;41384:9;41378:4;41374:20;41370:1;41359:9;41355:17;41348:47;41412:131;41538:4;41412:131;:::i;:::-;41404:139;;41131:419;;;:::o;41556:182::-;41696:34;41692:1;41684:6;41680:14;41673:58;41556:182;:::o;41744:366::-;41886:3;41907:67;41971:2;41966:3;41907:67;:::i;:::-;41900:74;;41983:93;42072:3;41983:93;:::i;:::-;42101:2;42096:3;42092:12;42085:19;;41744:366;;;:::o;42116:419::-;42282:4;42320:2;42309:9;42305:18;42297:26;;42369:9;42363:4;42359:20;42355:1;42344:9;42340:17;42333:47;42397:131;42523:4;42397:131;:::i;:::-;42389:139;;42116:419;;;:::o;42541:224::-;42681:34;42677:1;42669:6;42665:14;42658:58;42750:7;42745:2;42737:6;42733:15;42726:32;42541:224;:::o;42771:366::-;42913:3;42934:67;42998:2;42993:3;42934:67;:::i;:::-;42927:74;;43010:93;43099:3;43010:93;:::i;:::-;43128:2;43123:3;43119:12;43112:19;;42771:366;;;:::o;43143:419::-;43309:4;43347:2;43336:9;43332:18;43324:26;;43396:9;43390:4;43386:20;43382:1;43371:9;43367:17;43360:47;43424:131;43550:4;43424:131;:::i;:::-;43416:139;;43143:419;;;:::o;43568:223::-;43708:34;43704:1;43696:6;43692:14;43685:58;43777:6;43772:2;43764:6;43760:15;43753:31;43568:223;:::o;43797:366::-;43939:3;43960:67;44024:2;44019:3;43960:67;:::i;:::-;43953:74;;44036:93;44125:3;44036:93;:::i;:::-;44154:2;44149:3;44145:12;44138:19;;43797:366;;;:::o;44169:419::-;44335:4;44373:2;44362:9;44358:18;44350:26;;44422:9;44416:4;44412:20;44408:1;44397:9;44393:17;44386:47;44450:131;44576:4;44450:131;:::i;:::-;44442:139;;44169:419;;;:::o;44594:348::-;44634:7;44657:20;44675:1;44657:20;:::i;:::-;44652:25;;44691:20;44709:1;44691:20;:::i;:::-;44686:25;;44879:1;44811:66;44807:74;44804:1;44801:81;44796:1;44789:9;44782:17;44778:105;44775:131;;;44886:18;;:::i;:::-;44775:131;44934:1;44931;44927:9;44916:20;;44594:348;;;;:::o;44948:175::-;45088:27;45084:1;45076:6;45072:14;45065:51;44948:175;:::o;45129:366::-;45271:3;45292:67;45356:2;45351:3;45292:67;:::i;:::-;45285:74;;45368:93;45457:3;45368:93;:::i;:::-;45486:2;45481:3;45477:12;45470:19;;45129:366;;;:::o;45501:419::-;45667:4;45705:2;45694:9;45690:18;45682:26;;45754:9;45748:4;45744:20;45740:1;45729:9;45725:17;45718:47;45782:131;45908:4;45782:131;:::i;:::-;45774:139;;45501:419;;;:::o;45926:237::-;46066:34;46062:1;46054:6;46050:14;46043:58;46135:20;46130:2;46122:6;46118:15;46111:45;45926:237;:::o;46169:366::-;46311:3;46332:67;46396:2;46391:3;46332:67;:::i;:::-;46325:74;;46408:93;46497:3;46408:93;:::i;:::-;46526:2;46521:3;46517:12;46510:19;;46169:366;;;:::o;46541:419::-;46707:4;46745:2;46734:9;46730:18;46722:26;;46794:9;46788:4;46784:20;46780:1;46769:9;46765:17;46758:47;46822:131;46948:4;46822:131;:::i;:::-;46814:139;;46541:419;;;:::o;46966:94::-;46999:8;47047:5;47043:2;47039:14;47018:35;;46966:94;;;:::o;47066:::-;47105:7;47134:20;47148:5;47134:20;:::i;:::-;47123:31;;47066:94;;;:::o;47166:100::-;47205:7;47234:26;47254:5;47234:26;:::i;:::-;47223:37;;47166:100;;;:::o;47272:157::-;47377:45;47397:24;47415:5;47397:24;:::i;:::-;47377:45;:::i;:::-;47372:3;47365:58;47272:157;;:::o;47435:256::-;47547:3;47562:75;47633:3;47624:6;47562:75;:::i;:::-;47662:2;47657:3;47653:12;47646:19;;47682:3;47675:10;;47435:256;;;;:::o;47697:240::-;47837:34;47833:1;47825:6;47821:14;47814:58;47906:23;47901:2;47893:6;47889:15;47882:48;47697:240;:::o;47943:366::-;48085:3;48106:67;48170:2;48165:3;48106:67;:::i;:::-;48099:74;;48182:93;48271:3;48182:93;:::i;:::-;48300:2;48295:3;48291:12;48284:19;;47943:366;;;:::o;48315:419::-;48481:4;48519:2;48508:9;48504:18;48496:26;;48568:9;48562:4;48558:20;48554:1;48543:9;48539:17;48532:47;48596:131;48722:4;48596:131;:::i;:::-;48588:139;;48315:419;;;:::o;48740:79::-;48779:7;48808:5;48797:16;;48740:79;;;:::o;48825:157::-;48930:45;48950:24;48968:5;48950:24;:::i;:::-;48930:45;:::i;:::-;48925:3;48918:58;48825:157;;:::o;48988:538::-;49156:3;49171:75;49242:3;49233:6;49171:75;:::i;:::-;49271:2;49266:3;49262:12;49255:19;;49284:75;49355:3;49346:6;49284:75;:::i;:::-;49384:2;49379:3;49375:12;49368:19;;49397:75;49468:3;49459:6;49397:75;:::i;:::-;49497:2;49492:3;49488:12;49481:19;;49517:3;49510:10;;48988:538;;;;;;:::o;49532:98::-;49583:6;49617:5;49611:12;49601:22;;49532:98;;;:::o;49636:168::-;49719:11;49753:6;49748:3;49741:19;49793:4;49788:3;49784:14;49769:29;;49636:168;;;;:::o;49810:360::-;49896:3;49924:38;49956:5;49924:38;:::i;:::-;49978:70;50041:6;50036:3;49978:70;:::i;:::-;49971:77;;50057:52;50102:6;50097:3;50090:4;50083:5;50079:16;50057:52;:::i;:::-;50134:29;50156:6;50134:29;:::i;:::-;50129:3;50125:39;50118:46;;49900:270;49810:360;;;;:::o;50176:640::-;50371:4;50409:3;50398:9;50394:19;50386:27;;50423:71;50491:1;50480:9;50476:17;50467:6;50423:71;:::i;:::-;50504:72;50572:2;50561:9;50557:18;50548:6;50504:72;:::i;:::-;50586;50654:2;50643:9;50639:18;50630:6;50586:72;:::i;:::-;50705:9;50699:4;50695:20;50690:2;50679:9;50675:18;50668:48;50733:76;50804:4;50795:6;50733:76;:::i;:::-;50725:84;;50176:640;;;;;;;:::o;50822:141::-;50878:5;50909:6;50903:13;50894:22;;50925:32;50951:5;50925:32;:::i;:::-;50822:141;;;;:::o;50969:349::-;51038:6;51087:2;51075:9;51066:7;51062:23;51058:32;51055:119;;;51093:79;;:::i;:::-;51055:119;51213:1;51238:63;51293:7;51284:6;51273:9;51269:22;51238:63;:::i;:::-;51228:73;;51184:127;50969:349;;;;:::o;51324:180::-;51372:77;51369:1;51362:88;51469:4;51466:1;51459:15;51493:4;51490:1;51483:15;51510:233;51549:3;51572:24;51590:5;51572:24;:::i;:::-;51563:33;;51618:66;51611:5;51608:77;51605:103;;;51688:18;;:::i;:::-;51605:103;51735:1;51728:5;51724:13;51717:20;;51510:233;;;:::o;51749:182::-;51889:34;51885:1;51877:6;51873:14;51866:58;51749:182;:::o;51937:366::-;52079:3;52100:67;52164:2;52159:3;52100:67;:::i;:::-;52093:74;;52176:93;52265:3;52176:93;:::i;:::-;52294:2;52289:3;52285:12;52278:19;;51937:366;;;:::o;52309:419::-;52475:4;52513:2;52502:9;52498:18;52490:26;;52562:9;52556:4;52552:20;52548:1;52537:9;52533:17;52526:47;52590:131;52716:4;52590:131;:::i;:::-;52582:139;;52309:419;;;:::o;52734:178::-;52874:30;52870:1;52862:6;52858:14;52851:54;52734:178;:::o;52918:366::-;53060:3;53081:67;53145:2;53140:3;53081:67;:::i;:::-;53074:74;;53157:93;53246:3;53157:93;:::i;:::-;53275:2;53270:3;53266:12;53259:19;;52918:366;;;:::o;53290:419::-;53456:4;53494:2;53483:9;53479:18;53471:26;;53543:9;53537:4;53533:20;53529:1;53518:9;53514:17;53507:47;53571:131;53697:4;53571:131;:::i;:::-;53563:139;;53290:419;;;:::o
Swarm Source
ipfs://16be2022916def235fa5578f92c1fd311935dc27a11eddc3f426369c8b589dd4
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.