Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
3,210 SSRWIVES
Holders
755
Market
Volume (24H)
0.1125 ETH
Min Price (24H)
$29.69 @ 0.007600 ETH
Max Price (24H)
$42.59 @ 0.010900 ETH
Other Info
Token Contract
Balance
1 SSRWIVESLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SSRWives
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-03-21 */ // SPDX-License-Identifier: MIT // File @openzeppelin/contracts/utils/[email protected] // 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/access/[email protected] // 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/introspection/[email protected] // 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/[email protected] // 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/extensions/[email protected] // 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/token/ERC721/[email protected] // 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/utils/[email protected] // 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/introspection/[email protected] // 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/utils/math/[email protected] // 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/[email protected] // 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/token/ERC721/[email protected] // OpenZeppelin Contracts (last updated v4.8.0) (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 { if (batchSize > 1) { if (from != address(0)) { _balances[from] -= batchSize; } if (to != address(0)) { _balances[to] += batchSize; } } } /** * @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 {} } // File erc721a/contracts/[email protected] // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @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 payable; /** * @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); // ============================================================= // IERC721Metadata // ============================================================= /** * @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); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File erc721a/contracts/[email protected] // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @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, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @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) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @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) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @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. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File contracts/SSRWives.sol pragma solidity ^0.8.17; contract SSRWives is ERC721A, Ownable { uint256 public mintPrice = 0.07 ether; uint256 public friendMintPrice = 0.06 ether; bool public saleIsActive = false; bool public friendMintIsActive = false; uint256 public maxPerAddressDuringMint = 10; string private _baseTokenURI; uint256 public maxSupply = 3210; uint256 public amountClaimed = 0; uint256 public amountFreeMint = 250; uint256 public amountFriendClaimed = 0; uint256 public amountFriendMint = 250; mapping(address => bool) public mintedFree; address kyokoWallet = 0x3893E707eF23AD48C89d4af55d289a61f42A2535; address artWallet = 0xf7fb1039790311032c153cC65dbfD2A9FB0d84E5; address devWallet = 0xaA642262bdf212D7a111c16D7a9691F9cC1dDe37; constructor() ERC721A("SSR Wives", "SSRWIVES") {} function mintReserveTokens(uint256 numberOfTokens) public onlyOwner { _safeMint(msg.sender, numberOfTokens); require(totalSupply() <= maxSupply, "Limit reached"); } function flipSaleState() public onlyOwner { saleIsActive = !saleIsActive; } function flipFreeMintState() public onlyOwner { friendMintIsActive = !friendMintIsActive; } function setMintPrice(uint256 newPrice) public onlyOwner { mintPrice = newPrice; } function setAmountFreeMint(uint256 newAmount) public onlyOwner { amountFreeMint = newAmount; } function setMaxSupply(uint256 newAmount) public onlyOwner { maxSupply = newAmount; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setBaseURI(string calldata baseURI) external onlyOwner { _baseTokenURI = baseURI; } function mint(uint256 quantity) external payable { require(saleIsActive, "Sale must be active to mint"); require( quantity <= maxPerAddressDuringMint, "You can't mint that many at once" ); require( mintPrice * quantity <= msg.value, "Ether value sent is not correct" ); _mint(msg.sender, quantity); require(totalSupply() <= maxSupply, "Limit reached"); } function friendMint(uint256 quantity) external payable { require(saleIsActive, "Sale must be active to mint"); require( amountFriendClaimed < amountFriendMint, "No more free mints available" ); require( isAFriend(msg.sender), "This wallet doesn't hold any friend NFTs" ); amountFriendClaimed += 1; require( friendMintPrice * quantity <= msg.value, "Ether value sent is not correct" ); _mint(msg.sender, quantity); require(totalSupply() <= maxSupply, "Limit reached"); } function friendFreeMint() external payable { require(friendMintIsActive, "Sale must be active to mint"); require( amountClaimed < amountFreeMint, "No more discounted mints available" ); require( isAFriend(msg.sender), "This wallet doesn't hold any friend NFTs" ); require( mintedFree[msg.sender] == false, "You can only mint 1 for free" ); amountClaimed += 1; mintedFree[msg.sender] = true; _mint(msg.sender, 1); require(totalSupply() <= maxSupply, "Limit reached"); } function isAFriend(address addr) public view returns (bool) { address milady = 0x5Af0D9827E0c53E4799BB226655A1de152A425a5; address pfpplus = 0x181cde16170fac94c27584492cc9842e2Cb3BD54; address remilio = 0xD3D9ddd0CF0A5F0BFB8f7fcEAe075DF687eAEBaB; address pixelady = 0x8Fc0D90f2C45a5e7f94904075c952e0943CFCCfd; address radbro = 0xABCDB5710B88f456fED1e99025379e2969F29610; address schizo = 0xBfE47D6D4090940D1c7a0066B63d23875E3e2Ac5; address mifairy = 0x67B5eE6e29a4230177Dda07AD7848e42d89cF9a0; return ERC721(milady).balanceOf(addr) > 0 || ERC721(pfpplus).balanceOf(addr) > 0 || ERC721(remilio).balanceOf(addr) > 0 || ERC721(pixelady).balanceOf(addr) > 0 || ERC721(radbro).balanceOf(addr) > 0 || ERC721(milady).balanceOf(addr) > 0 || ERC721(schizo).balanceOf(addr) > 0 || ERC721(mifairy).balanceOf(addr) > 0; } function withdrawMoney() external onlyOwner { (bool success, ) = owner().call{value: address(this).balance}(""); require(success, "Transfer failed."); } function withdrawAll() public payable onlyOwner { uint256 third = address(this).balance / 3; require(payable(devWallet).send(third)); require(payable(kyokoWallet).send(third)); require(payable(artWallet).send(third)); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","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":"amountClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"amountFreeMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"amountFriendClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"amountFriendMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipFreeMintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"friendFreeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"friendMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"friendMintIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"friendMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"address","name":"addr","type":"address"}],"name":"isAFriend","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"maxPerAddressDuringMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintReserveTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedFree","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"setAmountFreeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setMintPrice","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":"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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405266f8b0a10e47000060095566d529ae9e860000600a556000600b60006101000a81548160ff0219169083151502179055506000600b60016101000a81548160ff021916908315150217905550600a600c55610c8a600e556000600f5560fa601055600060115560fa601255733893e707ef23ad48c89d4af55d289a61f42a2535601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073f7fb1039790311032c153cc65dbfd2a9fb0d84e5601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073aa642262bdf212d7a111c16d7a9691f9cc1dde37601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200017b57600080fd5b506040518060400160405280600981526020017f53535220576976657300000000000000000000000000000000000000000000008152506040518060400160405280600881526020017f53535257495645530000000000000000000000000000000000000000000000008152508160029081620001f9919062000597565b5080600390816200020b919062000597565b506200021c6200024a60201b60201c565b600081905550505062000244620002386200024f60201b60201c565b6200025760201b60201c565b6200067e565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200039f57607f821691505b602082108103620003b557620003b462000357565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200041f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620003e0565b6200042b8683620003e0565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000478620004726200046c8462000443565b6200044d565b62000443565b9050919050565b6000819050919050565b620004948362000457565b620004ac620004a3826200047f565b848454620003ed565b825550505050565b600090565b620004c3620004b4565b620004d081848462000489565b505050565b5b81811015620004f857620004ec600082620004b9565b600181019050620004d6565b5050565b601f82111562000547576200051181620003bb565b6200051c84620003d0565b810160208510156200052c578190505b620005446200053b85620003d0565b830182620004d5565b50505b505050565b600082821c905092915050565b60006200056c600019846008026200054c565b1980831691505092915050565b600062000587838362000559565b9150826002028217905092915050565b620005a2826200031d565b67ffffffffffffffff811115620005be57620005bd62000328565b5b620005ca825462000386565b620005d7828285620004fc565b600060209050601f8311600181146200060f5760008415620005fa578287015190505b62000606858262000579565b86555062000676565b601f1984166200061f86620003bb565b60005b82811015620006495784890151825560018201915060208501945060208101905062000622565b8683101562000669578489015162000665601f89168262000559565b8355505b6001600288020188555050505b505050505050565b613ac6806200068e6000396000f3fe6080604052600436106102465760003560e01c8063707c331511610139578063ac446002116100b6578063db94b1ff1161007a578063db94b1ff146107d7578063e985e9c5146107ee578063eb8d24441461082b578063f2fde38b14610856578063f30a5bc11461087f578063f4a0a5281461089b57610246565b8063ac44600214610711578063ad6b5d0414610728578063b88d4fde14610753578063c87b56dd1461076f578063d5abeb01146107ac57610246565b80638da5cb5b116100fd5780638da5cb5b1461064d57806395d89b41146106785780639e82fe21146106a3578063a0712d68146106cc578063a22cb465146106e857610246565b8063707c33151461059957806370a08231146105c4578063715018a614610601578063853828b6146106185780638bc35c2f1461062257610246565b806334918dfd116101c757806352f93b0a1161018b57806352f93b0a146104b457806355f804b3146104df5780636352211e146105085780636817c76c146105455780636f8b44b01461057057610246565b806334918dfd1461042157806342842e0e14610438578063436af052146104545780634bf69ef01461047f5780634cd1e5b51461048957610246565b806318160ddd1161020e57806318160ddd14610349578063209848011461037457806323b872dd146103b1578063288bd8fd146103cd5780632aa28ebb146103f657610246565b806301ffc9a71461024b57806306fdde0314610288578063081812fc146102b3578063095ea7b3146102f0578063127792931461030c575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d91906129c8565b6108c4565b60405161027f9190612a10565b60405180910390f35b34801561029457600080fd5b5061029d610956565b6040516102aa9190612abb565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d59190612b13565b6109e8565b6040516102e79190612b81565b60405180910390f35b61030a60048036038101906103059190612bc8565b610a67565b005b34801561031857600080fd5b50610333600480360381019061032e9190612c08565b610bab565b6040516103409190612a10565b60405180910390f35b34801561035557600080fd5b5061035e611082565b60405161036b9190612c44565b60405180910390f35b34801561038057600080fd5b5061039b60048036038101906103969190612c08565b611099565b6040516103a89190612a10565b60405180910390f35b6103cb60048036038101906103c69190612c5f565b6110b9565b005b3480156103d957600080fd5b506103f460048036038101906103ef9190612b13565b6113db565b005b34801561040257600080fd5b5061040b61143c565b6040516104189190612c44565b60405180910390f35b34801561042d57600080fd5b50610436611442565b005b610452600480360381019061044d9190612c5f565b611476565b005b34801561046057600080fd5b50610469611496565b6040516104769190612c44565b60405180910390f35b61048761149c565b005b34801561049557600080fd5b5061049e6116d7565b6040516104ab9190612a10565b60405180910390f35b3480156104c057600080fd5b506104c96116ea565b6040516104d69190612c44565b60405180910390f35b3480156104eb57600080fd5b5061050660048036038101906105019190612d17565b6116f0565b005b34801561051457600080fd5b5061052f600480360381019061052a9190612b13565b61170e565b60405161053c9190612b81565b60405180910390f35b34801561055157600080fd5b5061055a611720565b6040516105679190612c44565b60405180910390f35b34801561057c57600080fd5b5061059760048036038101906105929190612b13565b611726565b005b3480156105a557600080fd5b506105ae611738565b6040516105bb9190612c44565b60405180910390f35b3480156105d057600080fd5b506105eb60048036038101906105e69190612c08565b61173e565b6040516105f89190612c44565b60405180910390f35b34801561060d57600080fd5b506106166117f6565b005b61062061180a565b005b34801561062e57600080fd5b50610637611946565b6040516106449190612c44565b60405180910390f35b34801561065957600080fd5b5061066261194c565b60405161066f9190612b81565b60405180910390f35b34801561068457600080fd5b5061068d611976565b60405161069a9190612abb565b60405180910390f35b3480156106af57600080fd5b506106ca60048036038101906106c59190612b13565b611a08565b005b6106e660048036038101906106e19190612b13565b611a1a565b005b3480156106f457600080fd5b5061070f600480360381019061070a9190612d90565b611b57565b005b34801561071d57600080fd5b50610726611c62565b005b34801561073457600080fd5b5061073d611d20565b60405161074a9190612c44565b60405180910390f35b61076d60048036038101906107689190612f00565b611d26565b005b34801561077b57600080fd5b5061079660048036038101906107919190612b13565b611d99565b6040516107a39190612abb565b60405180910390f35b3480156107b857600080fd5b506107c1611e37565b6040516107ce9190612c44565b60405180910390f35b3480156107e357600080fd5b506107ec611e3d565b005b3480156107fa57600080fd5b5061081560048036038101906108109190612f83565b611e71565b6040516108229190612a10565b60405180910390f35b34801561083757600080fd5b50610840611f05565b60405161084d9190612a10565b60405180910390f35b34801561086257600080fd5b5061087d60048036038101906108789190612c08565b611f18565b005b61089960048036038101906108949190612b13565b611f9b565b005b3480156108a757600080fd5b506108c260048036038101906108bd9190612b13565b61213b565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061091f57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061094f5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461096590612ff2565b80601f016020809104026020016040519081016040528092919081815260200182805461099190612ff2565b80156109de5780601f106109b3576101008083540402835291602001916109de565b820191906000526020600020905b8154815290600101906020018083116109c157829003601f168201915b5050505050905090565b60006109f38261214d565b610a29576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a728261170e565b90508073ffffffffffffffffffffffffffffffffffffffff16610a936121ac565b73ffffffffffffffffffffffffffffffffffffffff1614610af657610abf81610aba6121ac565b611e71565b610af5576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600080735af0d9827e0c53e4799bb226655a1de152a425a59050600073181cde16170fac94c27584492cc9842e2cb3bd549050600073d3d9ddd0cf0a5f0bfb8f7fceae075df687eaebab90506000738fc0d90f2c45a5e7f94904075c952e0943cfccfd9050600073abcdb5710b88f456fed1e99025379e2969f296109050600073bfe47d6d4090940d1c7a0066b63d23875e3e2ac5905060007367b5ee6e29a4230177dda07ad7848e42d89cf9a0905060008773ffffffffffffffffffffffffffffffffffffffff166370a082318b6040518263ffffffff1660e01b8152600401610c969190612b81565b602060405180830381865afa158015610cb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd79190613038565b1180610d5c575060008673ffffffffffffffffffffffffffffffffffffffff166370a082318b6040518263ffffffff1660e01b8152600401610d199190612b81565b602060405180830381865afa158015610d36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5a9190613038565b115b80610de0575060008573ffffffffffffffffffffffffffffffffffffffff166370a082318b6040518263ffffffff1660e01b8152600401610d9d9190612b81565b602060405180830381865afa158015610dba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dde9190613038565b115b80610e64575060008473ffffffffffffffffffffffffffffffffffffffff166370a082318b6040518263ffffffff1660e01b8152600401610e219190612b81565b602060405180830381865afa158015610e3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e629190613038565b115b80610ee8575060008373ffffffffffffffffffffffffffffffffffffffff166370a082318b6040518263ffffffff1660e01b8152600401610ea59190612b81565b602060405180830381865afa158015610ec2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee69190613038565b115b80610f6c575060008773ffffffffffffffffffffffffffffffffffffffff166370a082318b6040518263ffffffff1660e01b8152600401610f299190612b81565b602060405180830381865afa158015610f46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6a9190613038565b115b80610ff0575060008273ffffffffffffffffffffffffffffffffffffffff166370a082318b6040518263ffffffff1660e01b8152600401610fad9190612b81565b602060405180830381865afa158015610fca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fee9190613038565b115b80611074575060008173ffffffffffffffffffffffffffffffffffffffff166370a082318b6040518263ffffffff1660e01b81526004016110319190612b81565b602060405180830381865afa15801561104e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110729190613038565b115b975050505050505050919050565b600061108c6121b4565b6001546000540303905090565b60136020528060005260406000206000915054906101000a900460ff1681565b60006110c4826121b9565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461112b576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061113784612285565b9150915061114d81876111486121ac565b6122ac565b611199576111628661115d6121ac565b611e71565b611198576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036111ff576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61120c86868660016122f0565b801561121757600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506112e5856112c18888876122f6565b7c02000000000000000000000000000000000000000000000000000000001761231e565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084160361136b5760006001850190506000600460008381526020019081526020016000205403611369576000548114611368578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46113d38686866001612349565b505050505050565b6113e361234f565b6113ed33826123cd565b600e546113f8611082565b1115611439576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611430906130b1565b60405180910390fd5b50565b60105481565b61144a61234f565b600b60009054906101000a900460ff1615600b60006101000a81548160ff021916908315150217905550565b61149183838360405180602001604052806000815250611d26565b505050565b600a5481565b600b60019054906101000a900460ff166114eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e29061311d565b60405180910390fd5b601054600f5410611531576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611528906131af565b60405180910390fd5b61153a33610bab565b611579576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157090613241565b60405180910390fd5b60001515601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151461160c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611603906132ad565b60405180910390fd5b6001600f600082825461161f91906132fc565b925050819055506001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506116893360016123eb565b600e54611694611082565b11156116d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cc906130b1565b60405180910390fd5b565b600b60019054906101000a900460ff1681565b60125481565b6116f861234f565b8181600d91826117099291906134e7565b505050565b6000611719826121b9565b9050919050565b60095481565b61172e61234f565b80600e8190555050565b60115481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117a5576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6117fe61234f565b61180860006125a6565b565b61181261234f565b600060034761182191906135e6565b9050601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061188357600080fd5b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050506118e357600080fd5b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061194357600080fd5b50565b600c5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461198590612ff2565b80601f01602080910402602001604051908101604052809291908181526020018280546119b190612ff2565b80156119fe5780601f106119d3576101008083540402835291602001916119fe565b820191906000526020600020905b8154815290600101906020018083116119e157829003601f168201915b5050505050905090565b611a1061234f565b8060108190555050565b600b60009054906101000a900460ff16611a69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a609061311d565b60405180910390fd5b600c54811115611aae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa590613663565b60405180910390fd5b3481600954611abd9190613683565b1115611afe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af590613711565b60405180910390fd5b611b0833826123eb565b600e54611b13611082565b1115611b54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4b906130b1565b60405180910390fd5b50565b8060076000611b646121ac565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c116121ac565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c569190612a10565b60405180910390a35050565b611c6a61234f565b6000611c7461194c565b73ffffffffffffffffffffffffffffffffffffffff1647604051611c9790613762565b60006040518083038185875af1925050503d8060008114611cd4576040519150601f19603f3d011682016040523d82523d6000602084013e611cd9565b606091505b5050905080611d1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d14906137c3565b60405180910390fd5b50565b600f5481565b611d318484846110b9565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611d9357611d5c8484848461266c565b611d92576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060611da48261214d565b611dda576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611de46127bc565b90506000815103611e045760405180602001604052806000815250611e2f565b80611e0e8461284e565b604051602001611e1f92919061381f565b6040516020818303038152906040525b915050919050565b600e5481565b611e4561234f565b600b60019054906101000a900460ff1615600b60016101000a81548160ff021916908315150217905550565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600b60009054906101000a900460ff1681565b611f2061234f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611f8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f86906138b5565b60405180910390fd5b611f98816125a6565b50565b600b60009054906101000a900460ff16611fea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe19061311d565b60405180910390fd5b60125460115410612030576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202790613921565b60405180910390fd5b61203933610bab565b612078576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206f90613241565b60405180910390fd5b60016011600082825461208b91906132fc565b925050819055503481600a546120a19190613683565b11156120e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d990613711565b60405180910390fd5b6120ec33826123eb565b600e546120f7611082565b1115612138576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212f906130b1565b60405180910390fd5b50565b61214361234f565b8060098190555050565b6000816121586121b4565b11158015612167575060005482105b80156121a5575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b600080829050806121c86121b4565b1161224e5760005481101561224d5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082160361224b575b60008103612241576004600083600190039350838152602001908152602001600020549050612217565b8092505050612280565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861230d86868461289e565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6123576128a7565b73ffffffffffffffffffffffffffffffffffffffff1661237561194c565b73ffffffffffffffffffffffffffffffffffffffff16146123cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c29061398d565b60405180910390fd5b565b6123e78282604051806020016040528060008152506128af565b5050565b6000805490506000820361242b576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61243860008483856122f0565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506124af836124a060008660006122f6565b6124a98561294c565b1761231e565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461255057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612515565b506000820361258b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506125a16000848385612349565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126926121ac565b8786866040518563ffffffff1660e01b81526004016126b49493929190613a02565b6020604051808303816000875af19250505080156126f057506040513d601f19601f820116820180604052508101906126ed9190613a63565b60015b612769573d8060008114612720576040519150601f19603f3d011682016040523d82523d6000602084013e612725565b606091505b506000815103612761576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600d80546127cb90612ff2565b80601f01602080910402602001604051908101604052809291908181526020018280546127f790612ff2565b80156128445780601f1061281957610100808354040283529160200191612844565b820191906000526020600020905b81548152906001019060200180831161282757829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b60011561288957600184039350600a81066030018453600a8104905080612867575b50828103602084039350808452505050919050565b60009392505050565b600033905090565b6128b983836123eb565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461294757600080549050600083820390505b6128f9600086838060010194508661266c565b61292f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106128e657816000541461294457600080fd5b50505b505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6129a581612970565b81146129b057600080fd5b50565b6000813590506129c28161299c565b92915050565b6000602082840312156129de576129dd612966565b5b60006129ec848285016129b3565b91505092915050565b60008115159050919050565b612a0a816129f5565b82525050565b6000602082019050612a256000830184612a01565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612a65578082015181840152602081019050612a4a565b60008484015250505050565b6000601f19601f8301169050919050565b6000612a8d82612a2b565b612a978185612a36565b9350612aa7818560208601612a47565b612ab081612a71565b840191505092915050565b60006020820190508181036000830152612ad58184612a82565b905092915050565b6000819050919050565b612af081612add565b8114612afb57600080fd5b50565b600081359050612b0d81612ae7565b92915050565b600060208284031215612b2957612b28612966565b5b6000612b3784828501612afe565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612b6b82612b40565b9050919050565b612b7b81612b60565b82525050565b6000602082019050612b966000830184612b72565b92915050565b612ba581612b60565b8114612bb057600080fd5b50565b600081359050612bc281612b9c565b92915050565b60008060408385031215612bdf57612bde612966565b5b6000612bed85828601612bb3565b9250506020612bfe85828601612afe565b9150509250929050565b600060208284031215612c1e57612c1d612966565b5b6000612c2c84828501612bb3565b91505092915050565b612c3e81612add565b82525050565b6000602082019050612c596000830184612c35565b92915050565b600080600060608486031215612c7857612c77612966565b5b6000612c8686828701612bb3565b9350506020612c9786828701612bb3565b9250506040612ca886828701612afe565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112612cd757612cd6612cb2565b5b8235905067ffffffffffffffff811115612cf457612cf3612cb7565b5b602083019150836001820283011115612d1057612d0f612cbc565b5b9250929050565b60008060208385031215612d2e57612d2d612966565b5b600083013567ffffffffffffffff811115612d4c57612d4b61296b565b5b612d5885828601612cc1565b92509250509250929050565b612d6d816129f5565b8114612d7857600080fd5b50565b600081359050612d8a81612d64565b92915050565b60008060408385031215612da757612da6612966565b5b6000612db585828601612bb3565b9250506020612dc685828601612d7b565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612e0d82612a71565b810181811067ffffffffffffffff82111715612e2c57612e2b612dd5565b5b80604052505050565b6000612e3f61295c565b9050612e4b8282612e04565b919050565b600067ffffffffffffffff821115612e6b57612e6a612dd5565b5b612e7482612a71565b9050602081019050919050565b82818337600083830152505050565b6000612ea3612e9e84612e50565b612e35565b905082815260208101848484011115612ebf57612ebe612dd0565b5b612eca848285612e81565b509392505050565b600082601f830112612ee757612ee6612cb2565b5b8135612ef7848260208601612e90565b91505092915050565b60008060008060808587031215612f1a57612f19612966565b5b6000612f2887828801612bb3565b9450506020612f3987828801612bb3565b9350506040612f4a87828801612afe565b925050606085013567ffffffffffffffff811115612f6b57612f6a61296b565b5b612f7787828801612ed2565b91505092959194509250565b60008060408385031215612f9a57612f99612966565b5b6000612fa885828601612bb3565b9250506020612fb985828601612bb3565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061300a57607f821691505b60208210810361301d5761301c612fc3565b5b50919050565b60008151905061303281612ae7565b92915050565b60006020828403121561304e5761304d612966565b5b600061305c84828501613023565b91505092915050565b7f4c696d6974207265616368656400000000000000000000000000000000000000600082015250565b600061309b600d83612a36565b91506130a682613065565b602082019050919050565b600060208201905081810360008301526130ca8161308e565b9050919050565b7f53616c65206d7573742062652061637469766520746f206d696e740000000000600082015250565b6000613107601b83612a36565b9150613112826130d1565b602082019050919050565b60006020820190508181036000830152613136816130fa565b9050919050565b7f4e6f206d6f726520646973636f756e746564206d696e747320617661696c616260008201527f6c65000000000000000000000000000000000000000000000000000000000000602082015250565b6000613199602283612a36565b91506131a48261313d565b604082019050919050565b600060208201905081810360008301526131c88161318c565b9050919050565b7f546869732077616c6c657420646f65736e277420686f6c6420616e792066726960008201527f656e64204e465473000000000000000000000000000000000000000000000000602082015250565b600061322b602883612a36565b9150613236826131cf565b604082019050919050565b6000602082019050818103600083015261325a8161321e565b9050919050565b7f596f752063616e206f6e6c79206d696e74203120666f72206672656500000000600082015250565b6000613297601c83612a36565b91506132a282613261565b602082019050919050565b600060208201905081810360008301526132c68161328a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061330782612add565b915061331283612add565b925082820190508082111561332a576133296132cd565b5b92915050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261339d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613360565b6133a78683613360565b95508019841693508086168417925050509392505050565b6000819050919050565b60006133e46133df6133da84612add565b6133bf565b612add565b9050919050565b6000819050919050565b6133fe836133c9565b61341261340a826133eb565b84845461336d565b825550505050565b600090565b61342761341a565b6134328184846133f5565b505050565b5b818110156134565761344b60008261341f565b600181019050613438565b5050565b601f82111561349b5761346c8161333b565b61347584613350565b81016020851015613484578190505b61349861349085613350565b830182613437565b50505b505050565b600082821c905092915050565b60006134be600019846008026134a0565b1980831691505092915050565b60006134d783836134ad565b9150826002028217905092915050565b6134f18383613330565b67ffffffffffffffff81111561350a57613509612dd5565b5b6135148254612ff2565b61351f82828561345a565b6000601f83116001811461354e576000841561353c578287013590505b61354685826134cb565b8655506135ae565b601f19841661355c8661333b565b60005b828110156135845784890135825560018201915060208501945060208101905061355f565b868310156135a1578489013561359d601f8916826134ad565b8355505b6001600288020188555050505b50505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006135f182612add565b91506135fc83612add565b92508261360c5761360b6135b7565b5b828204905092915050565b7f596f752063616e2774206d696e742074686174206d616e79206174206f6e6365600082015250565b600061364d602083612a36565b915061365882613617565b602082019050919050565b6000602082019050818103600083015261367c81613640565b9050919050565b600061368e82612add565b915061369983612add565b92508282026136a781612add565b915082820484148315176136be576136bd6132cd565b5b5092915050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b60006136fb601f83612a36565b9150613706826136c5565b602082019050919050565b6000602082019050818103600083015261372a816136ee565b9050919050565b600081905092915050565b50565b600061374c600083613731565b91506137578261373c565b600082019050919050565b600061376d8261373f565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006137ad601083612a36565b91506137b882613777565b602082019050919050565b600060208201905081810360008301526137dc816137a0565b9050919050565b600081905092915050565b60006137f982612a2b565b61380381856137e3565b9350613813818560208601612a47565b80840191505092915050565b600061382b82856137ee565b915061383782846137ee565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061389f602683612a36565b91506138aa82613843565b604082019050919050565b600060208201905081810360008301526138ce81613892565b9050919050565b7f4e6f206d6f72652066726565206d696e747320617661696c61626c6500000000600082015250565b600061390b601c83612a36565b9150613916826138d5565b602082019050919050565b6000602082019050818103600083015261393a816138fe565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613977602083612a36565b915061398282613941565b602082019050919050565b600060208201905081810360008301526139a68161396a565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006139d4826139ad565b6139de81856139b8565b93506139ee818560208601612a47565b6139f781612a71565b840191505092915050565b6000608082019050613a176000830187612b72565b613a246020830186612b72565b613a316040830185612c35565b8181036060830152613a4381846139c9565b905095945050505050565b600081519050613a5d8161299c565b92915050565b600060208284031215613a7957613a78612966565b5b6000613a8784828501613a4e565b9150509291505056fea2646970667358221220f3c011ee218d62b0a40c55dda7bd594372f6de212ea5cb71e50ddecfb152e37964736f6c63430008110033
Deployed Bytecode
0x6080604052600436106102465760003560e01c8063707c331511610139578063ac446002116100b6578063db94b1ff1161007a578063db94b1ff146107d7578063e985e9c5146107ee578063eb8d24441461082b578063f2fde38b14610856578063f30a5bc11461087f578063f4a0a5281461089b57610246565b8063ac44600214610711578063ad6b5d0414610728578063b88d4fde14610753578063c87b56dd1461076f578063d5abeb01146107ac57610246565b80638da5cb5b116100fd5780638da5cb5b1461064d57806395d89b41146106785780639e82fe21146106a3578063a0712d68146106cc578063a22cb465146106e857610246565b8063707c33151461059957806370a08231146105c4578063715018a614610601578063853828b6146106185780638bc35c2f1461062257610246565b806334918dfd116101c757806352f93b0a1161018b57806352f93b0a146104b457806355f804b3146104df5780636352211e146105085780636817c76c146105455780636f8b44b01461057057610246565b806334918dfd1461042157806342842e0e14610438578063436af052146104545780634bf69ef01461047f5780634cd1e5b51461048957610246565b806318160ddd1161020e57806318160ddd14610349578063209848011461037457806323b872dd146103b1578063288bd8fd146103cd5780632aa28ebb146103f657610246565b806301ffc9a71461024b57806306fdde0314610288578063081812fc146102b3578063095ea7b3146102f0578063127792931461030c575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d91906129c8565b6108c4565b60405161027f9190612a10565b60405180910390f35b34801561029457600080fd5b5061029d610956565b6040516102aa9190612abb565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d59190612b13565b6109e8565b6040516102e79190612b81565b60405180910390f35b61030a60048036038101906103059190612bc8565b610a67565b005b34801561031857600080fd5b50610333600480360381019061032e9190612c08565b610bab565b6040516103409190612a10565b60405180910390f35b34801561035557600080fd5b5061035e611082565b60405161036b9190612c44565b60405180910390f35b34801561038057600080fd5b5061039b60048036038101906103969190612c08565b611099565b6040516103a89190612a10565b60405180910390f35b6103cb60048036038101906103c69190612c5f565b6110b9565b005b3480156103d957600080fd5b506103f460048036038101906103ef9190612b13565b6113db565b005b34801561040257600080fd5b5061040b61143c565b6040516104189190612c44565b60405180910390f35b34801561042d57600080fd5b50610436611442565b005b610452600480360381019061044d9190612c5f565b611476565b005b34801561046057600080fd5b50610469611496565b6040516104769190612c44565b60405180910390f35b61048761149c565b005b34801561049557600080fd5b5061049e6116d7565b6040516104ab9190612a10565b60405180910390f35b3480156104c057600080fd5b506104c96116ea565b6040516104d69190612c44565b60405180910390f35b3480156104eb57600080fd5b5061050660048036038101906105019190612d17565b6116f0565b005b34801561051457600080fd5b5061052f600480360381019061052a9190612b13565b61170e565b60405161053c9190612b81565b60405180910390f35b34801561055157600080fd5b5061055a611720565b6040516105679190612c44565b60405180910390f35b34801561057c57600080fd5b5061059760048036038101906105929190612b13565b611726565b005b3480156105a557600080fd5b506105ae611738565b6040516105bb9190612c44565b60405180910390f35b3480156105d057600080fd5b506105eb60048036038101906105e69190612c08565b61173e565b6040516105f89190612c44565b60405180910390f35b34801561060d57600080fd5b506106166117f6565b005b61062061180a565b005b34801561062e57600080fd5b50610637611946565b6040516106449190612c44565b60405180910390f35b34801561065957600080fd5b5061066261194c565b60405161066f9190612b81565b60405180910390f35b34801561068457600080fd5b5061068d611976565b60405161069a9190612abb565b60405180910390f35b3480156106af57600080fd5b506106ca60048036038101906106c59190612b13565b611a08565b005b6106e660048036038101906106e19190612b13565b611a1a565b005b3480156106f457600080fd5b5061070f600480360381019061070a9190612d90565b611b57565b005b34801561071d57600080fd5b50610726611c62565b005b34801561073457600080fd5b5061073d611d20565b60405161074a9190612c44565b60405180910390f35b61076d60048036038101906107689190612f00565b611d26565b005b34801561077b57600080fd5b5061079660048036038101906107919190612b13565b611d99565b6040516107a39190612abb565b60405180910390f35b3480156107b857600080fd5b506107c1611e37565b6040516107ce9190612c44565b60405180910390f35b3480156107e357600080fd5b506107ec611e3d565b005b3480156107fa57600080fd5b5061081560048036038101906108109190612f83565b611e71565b6040516108229190612a10565b60405180910390f35b34801561083757600080fd5b50610840611f05565b60405161084d9190612a10565b60405180910390f35b34801561086257600080fd5b5061087d60048036038101906108789190612c08565b611f18565b005b61089960048036038101906108949190612b13565b611f9b565b005b3480156108a757600080fd5b506108c260048036038101906108bd9190612b13565b61213b565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061091f57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061094f5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461096590612ff2565b80601f016020809104026020016040519081016040528092919081815260200182805461099190612ff2565b80156109de5780601f106109b3576101008083540402835291602001916109de565b820191906000526020600020905b8154815290600101906020018083116109c157829003601f168201915b5050505050905090565b60006109f38261214d565b610a29576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a728261170e565b90508073ffffffffffffffffffffffffffffffffffffffff16610a936121ac565b73ffffffffffffffffffffffffffffffffffffffff1614610af657610abf81610aba6121ac565b611e71565b610af5576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600080735af0d9827e0c53e4799bb226655a1de152a425a59050600073181cde16170fac94c27584492cc9842e2cb3bd549050600073d3d9ddd0cf0a5f0bfb8f7fceae075df687eaebab90506000738fc0d90f2c45a5e7f94904075c952e0943cfccfd9050600073abcdb5710b88f456fed1e99025379e2969f296109050600073bfe47d6d4090940d1c7a0066b63d23875e3e2ac5905060007367b5ee6e29a4230177dda07ad7848e42d89cf9a0905060008773ffffffffffffffffffffffffffffffffffffffff166370a082318b6040518263ffffffff1660e01b8152600401610c969190612b81565b602060405180830381865afa158015610cb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd79190613038565b1180610d5c575060008673ffffffffffffffffffffffffffffffffffffffff166370a082318b6040518263ffffffff1660e01b8152600401610d199190612b81565b602060405180830381865afa158015610d36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5a9190613038565b115b80610de0575060008573ffffffffffffffffffffffffffffffffffffffff166370a082318b6040518263ffffffff1660e01b8152600401610d9d9190612b81565b602060405180830381865afa158015610dba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dde9190613038565b115b80610e64575060008473ffffffffffffffffffffffffffffffffffffffff166370a082318b6040518263ffffffff1660e01b8152600401610e219190612b81565b602060405180830381865afa158015610e3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e629190613038565b115b80610ee8575060008373ffffffffffffffffffffffffffffffffffffffff166370a082318b6040518263ffffffff1660e01b8152600401610ea59190612b81565b602060405180830381865afa158015610ec2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee69190613038565b115b80610f6c575060008773ffffffffffffffffffffffffffffffffffffffff166370a082318b6040518263ffffffff1660e01b8152600401610f299190612b81565b602060405180830381865afa158015610f46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6a9190613038565b115b80610ff0575060008273ffffffffffffffffffffffffffffffffffffffff166370a082318b6040518263ffffffff1660e01b8152600401610fad9190612b81565b602060405180830381865afa158015610fca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fee9190613038565b115b80611074575060008173ffffffffffffffffffffffffffffffffffffffff166370a082318b6040518263ffffffff1660e01b81526004016110319190612b81565b602060405180830381865afa15801561104e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110729190613038565b115b975050505050505050919050565b600061108c6121b4565b6001546000540303905090565b60136020528060005260406000206000915054906101000a900460ff1681565b60006110c4826121b9565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461112b576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061113784612285565b9150915061114d81876111486121ac565b6122ac565b611199576111628661115d6121ac565b611e71565b611198576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036111ff576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61120c86868660016122f0565b801561121757600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506112e5856112c18888876122f6565b7c02000000000000000000000000000000000000000000000000000000001761231e565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084160361136b5760006001850190506000600460008381526020019081526020016000205403611369576000548114611368578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46113d38686866001612349565b505050505050565b6113e361234f565b6113ed33826123cd565b600e546113f8611082565b1115611439576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611430906130b1565b60405180910390fd5b50565b60105481565b61144a61234f565b600b60009054906101000a900460ff1615600b60006101000a81548160ff021916908315150217905550565b61149183838360405180602001604052806000815250611d26565b505050565b600a5481565b600b60019054906101000a900460ff166114eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e29061311d565b60405180910390fd5b601054600f5410611531576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611528906131af565b60405180910390fd5b61153a33610bab565b611579576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157090613241565b60405180910390fd5b60001515601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151461160c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611603906132ad565b60405180910390fd5b6001600f600082825461161f91906132fc565b925050819055506001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506116893360016123eb565b600e54611694611082565b11156116d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cc906130b1565b60405180910390fd5b565b600b60019054906101000a900460ff1681565b60125481565b6116f861234f565b8181600d91826117099291906134e7565b505050565b6000611719826121b9565b9050919050565b60095481565b61172e61234f565b80600e8190555050565b60115481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117a5576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6117fe61234f565b61180860006125a6565b565b61181261234f565b600060034761182191906135e6565b9050601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061188357600080fd5b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050506118e357600080fd5b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061194357600080fd5b50565b600c5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461198590612ff2565b80601f01602080910402602001604051908101604052809291908181526020018280546119b190612ff2565b80156119fe5780601f106119d3576101008083540402835291602001916119fe565b820191906000526020600020905b8154815290600101906020018083116119e157829003601f168201915b5050505050905090565b611a1061234f565b8060108190555050565b600b60009054906101000a900460ff16611a69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a609061311d565b60405180910390fd5b600c54811115611aae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa590613663565b60405180910390fd5b3481600954611abd9190613683565b1115611afe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af590613711565b60405180910390fd5b611b0833826123eb565b600e54611b13611082565b1115611b54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4b906130b1565b60405180910390fd5b50565b8060076000611b646121ac565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c116121ac565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c569190612a10565b60405180910390a35050565b611c6a61234f565b6000611c7461194c565b73ffffffffffffffffffffffffffffffffffffffff1647604051611c9790613762565b60006040518083038185875af1925050503d8060008114611cd4576040519150601f19603f3d011682016040523d82523d6000602084013e611cd9565b606091505b5050905080611d1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d14906137c3565b60405180910390fd5b50565b600f5481565b611d318484846110b9565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611d9357611d5c8484848461266c565b611d92576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060611da48261214d565b611dda576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611de46127bc565b90506000815103611e045760405180602001604052806000815250611e2f565b80611e0e8461284e565b604051602001611e1f92919061381f565b6040516020818303038152906040525b915050919050565b600e5481565b611e4561234f565b600b60019054906101000a900460ff1615600b60016101000a81548160ff021916908315150217905550565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600b60009054906101000a900460ff1681565b611f2061234f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611f8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f86906138b5565b60405180910390fd5b611f98816125a6565b50565b600b60009054906101000a900460ff16611fea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe19061311d565b60405180910390fd5b60125460115410612030576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202790613921565b60405180910390fd5b61203933610bab565b612078576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206f90613241565b60405180910390fd5b60016011600082825461208b91906132fc565b925050819055503481600a546120a19190613683565b11156120e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d990613711565b60405180910390fd5b6120ec33826123eb565b600e546120f7611082565b1115612138576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212f906130b1565b60405180910390fd5b50565b61214361234f565b8060098190555050565b6000816121586121b4565b11158015612167575060005482105b80156121a5575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b600080829050806121c86121b4565b1161224e5760005481101561224d5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082160361224b575b60008103612241576004600083600190039350838152602001908152602001600020549050612217565b8092505050612280565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861230d86868461289e565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6123576128a7565b73ffffffffffffffffffffffffffffffffffffffff1661237561194c565b73ffffffffffffffffffffffffffffffffffffffff16146123cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c29061398d565b60405180910390fd5b565b6123e78282604051806020016040528060008152506128af565b5050565b6000805490506000820361242b576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61243860008483856122f0565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506124af836124a060008660006122f6565b6124a98561294c565b1761231e565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461255057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612515565b506000820361258b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506125a16000848385612349565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126926121ac565b8786866040518563ffffffff1660e01b81526004016126b49493929190613a02565b6020604051808303816000875af19250505080156126f057506040513d601f19601f820116820180604052508101906126ed9190613a63565b60015b612769573d8060008114612720576040519150601f19603f3d011682016040523d82523d6000602084013e612725565b606091505b506000815103612761576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600d80546127cb90612ff2565b80601f01602080910402602001604051908101604052809291908181526020018280546127f790612ff2565b80156128445780601f1061281957610100808354040283529160200191612844565b820191906000526020600020905b81548152906001019060200180831161282757829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b60011561288957600184039350600a81066030018453600a8104905080612867575b50828103602084039350808452505050919050565b60009392505050565b600033905090565b6128b983836123eb565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461294757600080549050600083820390505b6128f9600086838060010194508661266c565b61292f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106128e657816000541461294457600080fd5b50505b505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6129a581612970565b81146129b057600080fd5b50565b6000813590506129c28161299c565b92915050565b6000602082840312156129de576129dd612966565b5b60006129ec848285016129b3565b91505092915050565b60008115159050919050565b612a0a816129f5565b82525050565b6000602082019050612a256000830184612a01565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612a65578082015181840152602081019050612a4a565b60008484015250505050565b6000601f19601f8301169050919050565b6000612a8d82612a2b565b612a978185612a36565b9350612aa7818560208601612a47565b612ab081612a71565b840191505092915050565b60006020820190508181036000830152612ad58184612a82565b905092915050565b6000819050919050565b612af081612add565b8114612afb57600080fd5b50565b600081359050612b0d81612ae7565b92915050565b600060208284031215612b2957612b28612966565b5b6000612b3784828501612afe565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612b6b82612b40565b9050919050565b612b7b81612b60565b82525050565b6000602082019050612b966000830184612b72565b92915050565b612ba581612b60565b8114612bb057600080fd5b50565b600081359050612bc281612b9c565b92915050565b60008060408385031215612bdf57612bde612966565b5b6000612bed85828601612bb3565b9250506020612bfe85828601612afe565b9150509250929050565b600060208284031215612c1e57612c1d612966565b5b6000612c2c84828501612bb3565b91505092915050565b612c3e81612add565b82525050565b6000602082019050612c596000830184612c35565b92915050565b600080600060608486031215612c7857612c77612966565b5b6000612c8686828701612bb3565b9350506020612c9786828701612bb3565b9250506040612ca886828701612afe565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112612cd757612cd6612cb2565b5b8235905067ffffffffffffffff811115612cf457612cf3612cb7565b5b602083019150836001820283011115612d1057612d0f612cbc565b5b9250929050565b60008060208385031215612d2e57612d2d612966565b5b600083013567ffffffffffffffff811115612d4c57612d4b61296b565b5b612d5885828601612cc1565b92509250509250929050565b612d6d816129f5565b8114612d7857600080fd5b50565b600081359050612d8a81612d64565b92915050565b60008060408385031215612da757612da6612966565b5b6000612db585828601612bb3565b9250506020612dc685828601612d7b565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612e0d82612a71565b810181811067ffffffffffffffff82111715612e2c57612e2b612dd5565b5b80604052505050565b6000612e3f61295c565b9050612e4b8282612e04565b919050565b600067ffffffffffffffff821115612e6b57612e6a612dd5565b5b612e7482612a71565b9050602081019050919050565b82818337600083830152505050565b6000612ea3612e9e84612e50565b612e35565b905082815260208101848484011115612ebf57612ebe612dd0565b5b612eca848285612e81565b509392505050565b600082601f830112612ee757612ee6612cb2565b5b8135612ef7848260208601612e90565b91505092915050565b60008060008060808587031215612f1a57612f19612966565b5b6000612f2887828801612bb3565b9450506020612f3987828801612bb3565b9350506040612f4a87828801612afe565b925050606085013567ffffffffffffffff811115612f6b57612f6a61296b565b5b612f7787828801612ed2565b91505092959194509250565b60008060408385031215612f9a57612f99612966565b5b6000612fa885828601612bb3565b9250506020612fb985828601612bb3565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061300a57607f821691505b60208210810361301d5761301c612fc3565b5b50919050565b60008151905061303281612ae7565b92915050565b60006020828403121561304e5761304d612966565b5b600061305c84828501613023565b91505092915050565b7f4c696d6974207265616368656400000000000000000000000000000000000000600082015250565b600061309b600d83612a36565b91506130a682613065565b602082019050919050565b600060208201905081810360008301526130ca8161308e565b9050919050565b7f53616c65206d7573742062652061637469766520746f206d696e740000000000600082015250565b6000613107601b83612a36565b9150613112826130d1565b602082019050919050565b60006020820190508181036000830152613136816130fa565b9050919050565b7f4e6f206d6f726520646973636f756e746564206d696e747320617661696c616260008201527f6c65000000000000000000000000000000000000000000000000000000000000602082015250565b6000613199602283612a36565b91506131a48261313d565b604082019050919050565b600060208201905081810360008301526131c88161318c565b9050919050565b7f546869732077616c6c657420646f65736e277420686f6c6420616e792066726960008201527f656e64204e465473000000000000000000000000000000000000000000000000602082015250565b600061322b602883612a36565b9150613236826131cf565b604082019050919050565b6000602082019050818103600083015261325a8161321e565b9050919050565b7f596f752063616e206f6e6c79206d696e74203120666f72206672656500000000600082015250565b6000613297601c83612a36565b91506132a282613261565b602082019050919050565b600060208201905081810360008301526132c68161328a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061330782612add565b915061331283612add565b925082820190508082111561332a576133296132cd565b5b92915050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261339d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613360565b6133a78683613360565b95508019841693508086168417925050509392505050565b6000819050919050565b60006133e46133df6133da84612add565b6133bf565b612add565b9050919050565b6000819050919050565b6133fe836133c9565b61341261340a826133eb565b84845461336d565b825550505050565b600090565b61342761341a565b6134328184846133f5565b505050565b5b818110156134565761344b60008261341f565b600181019050613438565b5050565b601f82111561349b5761346c8161333b565b61347584613350565b81016020851015613484578190505b61349861349085613350565b830182613437565b50505b505050565b600082821c905092915050565b60006134be600019846008026134a0565b1980831691505092915050565b60006134d783836134ad565b9150826002028217905092915050565b6134f18383613330565b67ffffffffffffffff81111561350a57613509612dd5565b5b6135148254612ff2565b61351f82828561345a565b6000601f83116001811461354e576000841561353c578287013590505b61354685826134cb565b8655506135ae565b601f19841661355c8661333b565b60005b828110156135845784890135825560018201915060208501945060208101905061355f565b868310156135a1578489013561359d601f8916826134ad565b8355505b6001600288020188555050505b50505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006135f182612add565b91506135fc83612add565b92508261360c5761360b6135b7565b5b828204905092915050565b7f596f752063616e2774206d696e742074686174206d616e79206174206f6e6365600082015250565b600061364d602083612a36565b915061365882613617565b602082019050919050565b6000602082019050818103600083015261367c81613640565b9050919050565b600061368e82612add565b915061369983612add565b92508282026136a781612add565b915082820484148315176136be576136bd6132cd565b5b5092915050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b60006136fb601f83612a36565b9150613706826136c5565b602082019050919050565b6000602082019050818103600083015261372a816136ee565b9050919050565b600081905092915050565b50565b600061374c600083613731565b91506137578261373c565b600082019050919050565b600061376d8261373f565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006137ad601083612a36565b91506137b882613777565b602082019050919050565b600060208201905081810360008301526137dc816137a0565b9050919050565b600081905092915050565b60006137f982612a2b565b61380381856137e3565b9350613813818560208601612a47565b80840191505092915050565b600061382b82856137ee565b915061383782846137ee565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061389f602683612a36565b91506138aa82613843565b604082019050919050565b600060208201905081810360008301526138ce81613892565b9050919050565b7f4e6f206d6f72652066726565206d696e747320617661696c61626c6500000000600082015250565b600061390b601c83612a36565b9150613916826138d5565b602082019050919050565b6000602082019050818103600083015261393a816138fe565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613977602083612a36565b915061398282613941565b602082019050919050565b600060208201905081810360008301526139a68161396a565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006139d4826139ad565b6139de81856139b8565b93506139ee818560208601612a47565b6139f781612a71565b840191505092915050565b6000608082019050613a176000830187612b72565b613a246020830186612b72565b613a316040830185612c35565b8181036060830152613a4381846139c9565b905095945050505050565b600081519050613a5d8161299c565b92915050565b600060208284031215613a7957613a78612966565b5b6000613a8784828501613a4e565b9150509291505056fea2646970667358221220f3c011ee218d62b0a40c55dda7bd594372f6de212ea5cb71e50ddecfb152e37964736f6c63430008110033
Deployed Bytecode Sourcemap
106016:5066:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72913:639;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;73815:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;80306:218;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;79739:408;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;109634:992;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;69566:323;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;106540:42;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;83945:2825;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;106859:187;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;106405:35;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;107054:89;;;;;;;;;;;;;:::i;:::-;;86866:193;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;106105:43;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;108968:658;;;:::i;:::-;;106194:38;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;106494:37;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;107712:106;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;75208:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;106061:37;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;107484:98;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;106449:38;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;70750:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2825:103;;;;;;;;;;;;;:::i;:::-;;110817:262;;;:::i;:::-;;106241:43;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2177:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;73991:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;107368:108;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;107826:478;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;80864:234;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;110634:175;;;;;;;;;;;;;:::i;:::-;;106366:32;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;87657:407;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;74201:318;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;106326:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;107151:105;;;;;;;;;;;;;:::i;:::-;;81255:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;106155:32;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3083:201;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;108312:648;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;107264:96;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;72913:639;72998:4;73337:10;73322:25;;:11;:25;;;;:102;;;;73414:10;73399:25;;:11;:25;;;;73322:102;:179;;;;73491:10;73476:25;;:11;:25;;;;73322:179;73302:199;;72913:639;;;:::o;73815:100::-;73869:13;73902:5;73895:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73815:100;:::o;80306:218::-;80382:7;80407:16;80415:7;80407;:16::i;:::-;80402:64;;80432:34;;;;;;;;;;;;;;80402:64;80486:15;:24;80502:7;80486:24;;;;;;;;;;;:30;;;;;;;;;;;;80479:37;;80306:218;;;:::o;79739:408::-;79828:13;79844:16;79852:7;79844;:16::i;:::-;79828:32;;79900:5;79877:28;;:19;:17;:19::i;:::-;:28;;;79873:175;;79925:44;79942:5;79949:19;:17;:19::i;:::-;79925:16;:44::i;:::-;79920:128;;79997:35;;;;;;;;;;;;;;79920:128;79873:175;80093:2;80060:15;:24;80076:7;80060:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;80131:7;80127:2;80111:28;;80120:5;80111:28;;;;;;;;;;;;79817:330;79739:408;;:::o;109634:992::-;109688:4;109705:14;109722:42;109705:59;;109775:15;109793:42;109775:60;;109846:15;109864:42;109846:60;;109917:16;109936:42;109917:61;;109989:14;110006:42;109989:59;;110059:14;110076:42;110059:59;;110129:15;110147:42;110129:60;;110255:1;110229:6;110222:24;;;110247:4;110222:30;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:34;:86;;;;110307:1;110280:7;110273:25;;;110299:4;110273:31;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:35;110222:86;:138;;;;110359:1;110332:7;110325:25;;;110351:4;110325:31;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:35;110222:138;:191;;;;110412:1;110384:8;110377:26;;;110404:4;110377:32;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:36;110222:191;:242;;;;110463:1;110437:6;110430:24;;;110455:4;110430:30;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:34;110222:242;:293;;;;110514:1;110488:6;110481:24;;;110506:4;110481:30;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:34;110222:293;:344;;;;110565:1;110539:6;110532:24;;;110557:4;110532:30;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:34;110222:344;:396;;;;110617:1;110590:7;110583:25;;;110609:4;110583:31;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:35;110222:396;110202:416;;;;;;;;;109634:992;;;:::o;69566:323::-;69627:7;69855:15;:13;:15::i;:::-;69840:12;;69824:13;;:28;:46;69817:53;;69566:323;:::o;106540:42::-;;;;;;;;;;;;;;;;;;;;;;:::o;83945:2825::-;84087:27;84117;84136:7;84117:18;:27::i;:::-;84087:57;;84202:4;84161:45;;84177:19;84161:45;;;84157:86;;84215:28;;;;;;;;;;;;;;84157:86;84257:27;84286:23;84313:35;84340:7;84313:26;:35::i;:::-;84256:92;;;;84448:68;84473:15;84490:4;84496:19;:17;:19::i;:::-;84448:24;:68::i;:::-;84443:180;;84536:43;84553:4;84559:19;:17;:19::i;:::-;84536:16;:43::i;:::-;84531:92;;84588:35;;;;;;;;;;;;;;84531:92;84443:180;84654:1;84640:16;;:2;:16;;;84636:52;;84665:23;;;;;;;;;;;;;;84636:52;84701:43;84723:4;84729:2;84733:7;84742:1;84701:21;:43::i;:::-;84837:15;84834:160;;;84977:1;84956:19;84949:30;84834:160;85374:18;:24;85393:4;85374:24;;;;;;;;;;;;;;;;85372:26;;;;;;;;;;;;85443:18;:22;85462:2;85443:22;;;;;;;;;;;;;;;;85441:24;;;;;;;;;;;85765:146;85802:2;85851:45;85866:4;85872:2;85876:19;85851:14;:45::i;:::-;65965:8;85823:73;85765:18;:146::i;:::-;85736:17;:26;85754:7;85736:26;;;;;;;;;;;:175;;;;86082:1;65965:8;86031:19;:47;:52;86027:627;;86104:19;86136:1;86126:7;:11;86104:33;;86293:1;86259:17;:30;86277:11;86259:30;;;;;;;;;;;;:35;86255:384;;86397:13;;86382:11;:28;86378:242;;86577:19;86544:17;:30;86562:11;86544:30;;;;;;;;;;;:52;;;;86378:242;86255:384;86085:569;86027:627;86701:7;86697:2;86682:27;;86691:4;86682:27;;;;;;;;;;;;86720:42;86741:4;86747:2;86751:7;86760:1;86720:20;:42::i;:::-;84076:2694;;;83945:2825;;;:::o;106859:187::-;2063:13;:11;:13::i;:::-;106938:37:::1;106948:10;106960:14;106938:9;:37::i;:::-;107011:9;;106994:13;:11;:13::i;:::-;:26;;106986:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;106859:187:::0;:::o;106405:35::-;;;;:::o;107054:89::-;2063:13;:11;:13::i;:::-;107123:12:::1;;;;;;;;;;;107122:13;107107:12;;:28;;;;;;;;;;;;;;;;;;107054:89::o:0;86866:193::-;87012:39;87029:4;87035:2;87039:7;87012:39;;;;;;;;;;;;:16;:39::i;:::-;86866:193;;;:::o;106105:43::-;;;;:::o;108968:658::-;109030:18;;;;;;;;;;;109022:58;;;;;;;;;;;;:::i;:::-;;;;;;;;;109131:14;;109115:13;;:30;109093:114;;;;;;;;;;;;:::i;:::-;;;;;;;;;109242:21;109252:10;109242:9;:21::i;:::-;109220:111;;;;;;;;;;;;:::i;:::-;;;;;;;;;109390:5;109364:31;;:10;:22;109375:10;109364:22;;;;;;;;;;;;;;;;;;;;;;;;;:31;;;109342:109;;;;;;;;;;;;:::i;:::-;;;;;;;;;109481:1;109464:13;;:18;;;;;;;:::i;:::-;;;;;;;;109518:4;109493:10;:22;109504:10;109493:22;;;;;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;109533:20;109539:10;109551:1;109533:5;:20::i;:::-;109591:9;;109574:13;:11;:13::i;:::-;:26;;109566:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;108968:658::o;106194:38::-;;;;;;;;;;;;;:::o;106494:37::-;;;;:::o;107712:106::-;2063:13;:11;:13::i;:::-;107803:7:::1;;107787:13;:23;;;;;;;:::i;:::-;;107712:106:::0;;:::o;75208:152::-;75280:7;75323:27;75342:7;75323:18;:27::i;:::-;75300:52;;75208:152;;;:::o;106061:37::-;;;;:::o;107484:98::-;2063:13;:11;:13::i;:::-;107565:9:::1;107553;:21;;;;107484:98:::0;:::o;106449:38::-;;;;:::o;70750:233::-;70822:7;70863:1;70846:19;;:5;:19;;;70842:60;;70874:28;;;;;;;;;;;;;;70842:60;64909:13;70920:18;:25;70939:5;70920:25;;;;;;;;;;;;;;;;:55;70913:62;;70750:233;;;:::o;2825:103::-;2063:13;:11;:13::i;:::-;2890:30:::1;2917:1;2890:18;:30::i;:::-;2825:103::o:0;110817:262::-;2063:13;:11;:13::i;:::-;110876::::1;110916:1;110892:21;:25;;;;:::i;:::-;110876:41;;110946:9;;;;;;;;;;;110938:23;;:30;110962:5;110938:30;;;;;;;;;;;;;;;;;;;;;;;110930:39;;;::::0;::::1;;110996:11;;;;;;;;;;;110988:25;;:32;111014:5;110988:32;;;;;;;;;;;;;;;;;;;;;;;110980:41;;;::::0;::::1;;111048:9;;;;;;;;;;;111040:23;;:30;111064:5;111040:30;;;;;;;;;;;;;;;;;;;;;;;111032:39;;;::::0;::::1;;110865:214;110817:262::o:0;106241:43::-;;;;:::o;2177:87::-;2223:7;2250:6;;;;;;;;;;;2243:13;;2177:87;:::o;73991:104::-;74047:13;74080:7;74073:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73991:104;:::o;107368:108::-;2063:13;:11;:13::i;:::-;107459:9:::1;107442:14;:26;;;;107368:108:::0;:::o;107826:478::-;107894:12;;;;;;;;;;;107886:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;107983:23;;107971:8;:35;;107949:117;;;;;;;;;;;;:::i;:::-;;;;;;;;;108125:9;108113:8;108101:9;;:20;;;;:::i;:::-;:33;;108079:114;;;;;;;;;;;;:::i;:::-;;;;;;;;;108206:27;108212:10;108224:8;108206:5;:27::i;:::-;108269:9;;108252:13;:11;:13::i;:::-;:26;;108244:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;107826:478;:::o;80864:234::-;81011:8;80959:18;:39;80978:19;:17;:19::i;:::-;80959:39;;;;;;;;;;;;;;;:49;80999:8;80959:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;81071:8;81035:55;;81050:19;:17;:19::i;:::-;81035:55;;;81081:8;81035:55;;;;;;:::i;:::-;;;;;;;;80864:234;;:::o;110634:175::-;2063:13;:11;:13::i;:::-;110690:12:::1;110708:7;:5;:7::i;:::-;:12;;110728:21;110708:46;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;110689:65;;;110773:7;110765:36;;;;;;;;;;;;:::i;:::-;;;;;;;;;110678:131;110634:175::o:0;106366:32::-;;;;:::o;87657:407::-;87832:31;87845:4;87851:2;87855:7;87832:12;:31::i;:::-;87896:1;87878:2;:14;;;:19;87874:183;;87917:56;87948:4;87954:2;87958:7;87967:5;87917:30;:56::i;:::-;87912:145;;88001:40;;;;;;;;;;;;;;87912:145;87874:183;87657:407;;;;:::o;74201:318::-;74274:13;74305:16;74313:7;74305;:16::i;:::-;74300:59;;74330:29;;;;;;;;;;;;;;74300:59;74372:21;74396:10;:8;:10::i;:::-;74372:34;;74449:1;74430:7;74424:21;:26;:87;;;;;;;;;;;;;;;;;74477:7;74486:18;74496:7;74486:9;:18::i;:::-;74460:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;74424:87;74417:94;;;74201:318;;;:::o;106326:31::-;;;;:::o;107151:105::-;2063:13;:11;:13::i;:::-;107230:18:::1;;;;;;;;;;;107229:19;107208:18;;:40;;;;;;;;;;;;;;;;;;107151:105::o:0;81255:164::-;81352:4;81376:18;:25;81395:5;81376:25;;;;;;;;;;;;;;;:35;81402:8;81376:35;;;;;;;;;;;;;;;;;;;;;;;;;81369:42;;81255:164;;;;:::o;106155:32::-;;;;;;;;;;;;;:::o;3083:201::-;2063:13;:11;:13::i;:::-;3192:1:::1;3172:22;;:8;:22;;::::0;3164:73:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;3248:28;3267:8;3248:18;:28::i;:::-;3083:201:::0;:::o;108312:648::-;108386:12;;;;;;;;;;;108378:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;108485:16;;108463:19;;:38;108441:116;;;;;;;;;;;;:::i;:::-;;;;;;;;;108590:21;108600:10;108590:9;:21::i;:::-;108568:111;;;;;;;;;;;;:::i;:::-;;;;;;;;;108715:1;108692:19;;:24;;;;;;;:::i;:::-;;;;;;;;108781:9;108769:8;108751:15;;:26;;;;:::i;:::-;:39;;108729:120;;;;;;;;;;;;:::i;:::-;;;;;;;;;108862:27;108868:10;108880:8;108862:5;:27::i;:::-;108925:9;;108908:13;:11;:13::i;:::-;:26;;108900:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;108312:648;:::o;107264:96::-;2063:13;:11;:13::i;:::-;107344:8:::1;107332:9;:20;;;;107264:96:::0;:::o;81677:282::-;81742:4;81798:7;81779:15;:13;:15::i;:::-;:26;;:66;;;;;81832:13;;81822:7;:23;81779:66;:153;;;;;81931:1;65685:8;81883:17;:26;81901:7;81883:26;;;;;;;;;;;;:44;:49;81779:153;81759:173;;81677:282;;;:::o;103985:105::-;104045:7;104072:10;104065:17;;103985:105;:::o;69082:92::-;69138:7;69082:92;:::o;76363:1275::-;76430:7;76450:12;76465:7;76450:22;;76533:4;76514:15;:13;:15::i;:::-;:23;76510:1061;;76567:13;;76560:4;:20;76556:1015;;;76605:14;76622:17;:23;76640:4;76622:23;;;;;;;;;;;;76605:40;;76739:1;65685:8;76711:6;:24;:29;76707:845;;77376:113;77393:1;77383:6;:11;77376:113;;77436:17;:25;77454:6;;;;;;;77436:25;;;;;;;;;;;;77427:34;;77376:113;;;77522:6;77515:13;;;;;;76707:845;76582:989;76556:1015;76510:1061;77599:31;;;;;;;;;;;;;;76363:1275;;;;:::o;82840:485::-;82942:27;82971:23;83012:38;83053:15;:24;83069:7;83053:24;;;;;;;;;;;83012:65;;83230:18;83207:41;;83287:19;83281:26;83262:45;;83192:126;82840:485;;;:::o;82068:659::-;82217:11;82382:16;82375:5;82371:28;82362:37;;82542:16;82531:9;82527:32;82514:45;;82692:15;82681:9;82678:30;82670:5;82659:9;82656:20;82653:56;82643:66;;82068:659;;;;;:::o;88726:159::-;;;;;:::o;103294:311::-;103429:7;103449:16;66089:3;103475:19;:41;;103449:68;;66089:3;103543:31;103554:4;103560:2;103564:9;103543:10;:31::i;:::-;103535:40;;:62;;103528:69;;;103294:311;;;;;:::o;78186:450::-;78266:14;78434:16;78427:5;78423:28;78414:37;;78611:5;78597:11;78572:23;78568:41;78565:52;78558:5;78555:63;78545:73;;78186:450;;;;:::o;89550:158::-;;;;;:::o;2342:132::-;2417:12;:10;:12::i;:::-;2406:23;;:7;:5;:7::i;:::-;:23;;;2398:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;2342:132::o;97817:112::-;97894:27;97904:2;97908:8;97894:27;;;;;;;;;;;;:9;:27::i;:::-;97817:112;;:::o;91326:2966::-;91399:20;91422:13;;91399:36;;91462:1;91450:8;:13;91446:44;;91472:18;;;;;;;;;;;;;;91446:44;91503:61;91533:1;91537:2;91541:12;91555:8;91503:21;:61::i;:::-;92047:1;65047:2;92017:1;:26;;92016:32;92004:8;:45;91978:18;:22;91997:2;91978:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;92326:139;92363:2;92417:33;92440:1;92444:2;92448:1;92417:14;:33::i;:::-;92384:30;92405:8;92384:20;:30::i;:::-;:66;92326:18;:139::i;:::-;92292:17;:31;92310:12;92292:31;;;;;;;;;;;:173;;;;92482:16;92513:11;92542:8;92527:12;:23;92513:37;;93063:16;93059:2;93055:25;93043:37;;93435:12;93395:8;93354:1;93292:25;93233:1;93172;93145:335;93806:1;93792:12;93788:20;93746:346;93847:3;93838:7;93835:16;93746:346;;94065:7;94055:8;94052:1;94025:25;94022:1;94019;94014:59;93900:1;93891:7;93887:15;93876:26;;93746:346;;;93750:77;94137:1;94125:8;:13;94121:45;;94147:19;;;;;;;;;;;;;;94121:45;94199:3;94183:13;:19;;;;91752:2462;;94224:60;94253:1;94257:2;94261:12;94275:8;94224:20;:60::i;:::-;91388:2904;91326:2966;;:::o;3444:191::-;3518:16;3537:6;;;;;;;;;;;3518:25;;3563:8;3554:6;;:17;;;;;;;;;;;;;;;;;;3618:8;3587:40;;3608:8;3587:40;;;;;;;;;;;;3507:128;3444:191;:::o;90148:716::-;90311:4;90357:2;90332:45;;;90378:19;:17;:19::i;:::-;90399:4;90405:7;90414:5;90332:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;90328:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90632:1;90615:6;:13;:18;90611:235;;90661:40;;;;;;;;;;;;;;90611:235;90804:6;90798:13;90789:6;90785:2;90781:15;90774:38;90328:529;90501:54;;;90491:64;;;:6;:64;;;;90484:71;;;90148:716;;;;;;:::o;107590:114::-;107650:13;107683;107676:20;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;107590:114;:::o;104192:1745::-;104257:17;104691:4;104684;104678:11;104674:22;104783:1;104777:4;104770:15;104858:4;104855:1;104851:12;104844:19;;104940:1;104935:3;104928:14;105044:3;105283:5;105265:428;105291:1;105265:428;;;105331:1;105326:3;105322:11;105315:18;;105502:2;105496:4;105492:13;105488:2;105484:22;105479:3;105471:36;105596:2;105590:4;105586:13;105578:21;;105663:4;105265:428;105653:25;105265:428;105269:21;105732:3;105727;105723:13;105847:4;105842:3;105838:14;105831:21;;105912:6;105907:3;105900:19;104296:1634;;;104192:1745;;;:::o;102995:147::-;103132:6;102995:147;;;;;:::o;722:98::-;775:7;802:10;795:17;;722:98;:::o;97044:689::-;97175:19;97181:2;97185:8;97175:5;:19::i;:::-;97254:1;97236:2;:14;;;:19;97232:483;;97276:11;97290:13;;97276:27;;97322:13;97344:8;97338:3;:14;97322:30;;97371:233;97402:62;97441:1;97445:2;97449:7;;;;;;97458:5;97402:30;:62::i;:::-;97397:167;;97500:40;;;;;;;;;;;;;;97397:167;97599:3;97591:5;:11;97371:233;;97686:3;97669:13;;:20;97665:34;;97691:8;;;97665:34;97257:458;;97232:483;97044:689;;;:::o;78738:324::-;78808:14;79041:1;79031:8;79028:15;79002:24;78998:46;78988:56;;78738:324;;;:::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:246::-;1879:1;1889:113;1903:6;1900:1;1897:13;1889:113;;;1988:1;1983:3;1979:11;1973:18;1969:1;1964:3;1960:11;1953:39;1925:2;1922:1;1918:10;1913:15;;1889:113;;;2036:1;2027:6;2022:3;2018:16;2011:27;1860:184;1798:246;;;:::o;2050:102::-;2091:6;2142:2;2138:7;2133:2;2126:5;2122:14;2118:28;2108:38;;2050:102;;;:::o;2158:377::-;2246:3;2274:39;2307:5;2274:39;:::i;:::-;2329:71;2393:6;2388:3;2329:71;:::i;:::-;2322:78;;2409:65;2467:6;2462:3;2455:4;2448:5;2444:16;2409:65;:::i;:::-;2499:29;2521:6;2499:29;:::i;:::-;2494:3;2490:39;2483:46;;2250:285;2158:377;;;;:::o;2541:313::-;2654:4;2692:2;2681:9;2677:18;2669:26;;2741:9;2735:4;2731:20;2727:1;2716:9;2712:17;2705:47;2769:78;2842:4;2833:6;2769:78;:::i;:::-;2761:86;;2541:313;;;;:::o;2860:77::-;2897:7;2926:5;2915:16;;2860:77;;;:::o;2943:122::-;3016:24;3034:5;3016:24;:::i;:::-;3009:5;3006:35;2996:63;;3055:1;3052;3045:12;2996:63;2943:122;:::o;3071:139::-;3117:5;3155:6;3142:20;3133:29;;3171:33;3198:5;3171:33;:::i;:::-;3071:139;;;;:::o;3216:329::-;3275:6;3324:2;3312:9;3303:7;3299:23;3295:32;3292:119;;;3330:79;;:::i;:::-;3292:119;3450:1;3475:53;3520:7;3511:6;3500:9;3496:22;3475:53;:::i;:::-;3465:63;;3421:117;3216:329;;;;:::o;3551:126::-;3588:7;3628:42;3621:5;3617:54;3606:65;;3551:126;;;:::o;3683:96::-;3720:7;3749:24;3767:5;3749:24;:::i;:::-;3738:35;;3683:96;;;:::o;3785:118::-;3872:24;3890:5;3872:24;:::i;:::-;3867:3;3860:37;3785:118;;:::o;3909:222::-;4002:4;4040:2;4029:9;4025:18;4017:26;;4053:71;4121:1;4110:9;4106:17;4097:6;4053:71;:::i;:::-;3909:222;;;;:::o;4137:122::-;4210:24;4228:5;4210:24;:::i;:::-;4203:5;4200:35;4190:63;;4249:1;4246;4239:12;4190:63;4137:122;:::o;4265:139::-;4311:5;4349:6;4336:20;4327:29;;4365:33;4392:5;4365:33;:::i;:::-;4265:139;;;;:::o;4410:474::-;4478:6;4486;4535:2;4523:9;4514:7;4510:23;4506:32;4503:119;;;4541:79;;:::i;:::-;4503:119;4661:1;4686:53;4731:7;4722:6;4711:9;4707:22;4686:53;:::i;:::-;4676:63;;4632:117;4788:2;4814:53;4859:7;4850:6;4839:9;4835:22;4814:53;:::i;:::-;4804:63;;4759:118;4410:474;;;;;:::o;4890:329::-;4949:6;4998:2;4986:9;4977:7;4973:23;4969:32;4966:119;;;5004:79;;:::i;:::-;4966:119;5124:1;5149:53;5194:7;5185:6;5174:9;5170:22;5149:53;:::i;:::-;5139:63;;5095:117;4890:329;;;;:::o;5225:118::-;5312:24;5330:5;5312:24;:::i;:::-;5307:3;5300:37;5225:118;;:::o;5349:222::-;5442:4;5480:2;5469:9;5465:18;5457:26;;5493:71;5561:1;5550:9;5546:17;5537:6;5493:71;:::i;:::-;5349:222;;;;:::o;5577:619::-;5654:6;5662;5670;5719:2;5707:9;5698:7;5694:23;5690:32;5687:119;;;5725:79;;:::i;:::-;5687:119;5845:1;5870:53;5915:7;5906:6;5895:9;5891:22;5870:53;:::i;:::-;5860:63;;5816:117;5972:2;5998:53;6043:7;6034:6;6023:9;6019:22;5998:53;:::i;:::-;5988:63;;5943:118;6100:2;6126:53;6171:7;6162:6;6151:9;6147:22;6126:53;:::i;:::-;6116:63;;6071:118;5577:619;;;;;:::o;6202:117::-;6311:1;6308;6301:12;6325:117;6434:1;6431;6424:12;6448:117;6557:1;6554;6547:12;6585:553;6643:8;6653:6;6703:3;6696:4;6688:6;6684:17;6680:27;6670:122;;6711:79;;:::i;:::-;6670:122;6824:6;6811:20;6801:30;;6854:18;6846:6;6843:30;6840:117;;;6876:79;;:::i;:::-;6840:117;6990:4;6982:6;6978:17;6966:29;;7044:3;7036:4;7028:6;7024:17;7014:8;7010:32;7007:41;7004:128;;;7051:79;;:::i;:::-;7004:128;6585:553;;;;;:::o;7144:529::-;7215:6;7223;7272:2;7260:9;7251:7;7247:23;7243:32;7240:119;;;7278:79;;:::i;:::-;7240:119;7426:1;7415:9;7411:17;7398:31;7456:18;7448:6;7445:30;7442:117;;;7478:79;;:::i;:::-;7442:117;7591:65;7648:7;7639:6;7628:9;7624:22;7591:65;:::i;:::-;7573:83;;;;7369:297;7144:529;;;;;:::o;7679:116::-;7749:21;7764:5;7749:21;:::i;:::-;7742:5;7739:32;7729:60;;7785:1;7782;7775:12;7729:60;7679:116;:::o;7801:133::-;7844:5;7882:6;7869:20;7860:29;;7898:30;7922:5;7898:30;:::i;:::-;7801:133;;;;:::o;7940:468::-;8005:6;8013;8062:2;8050:9;8041:7;8037:23;8033:32;8030:119;;;8068:79;;:::i;:::-;8030:119;8188:1;8213:53;8258:7;8249:6;8238:9;8234:22;8213:53;:::i;:::-;8203:63;;8159:117;8315:2;8341:50;8383:7;8374:6;8363:9;8359:22;8341:50;:::i;:::-;8331:60;;8286:115;7940:468;;;;;:::o;8414:117::-;8523:1;8520;8513:12;8537:180;8585:77;8582:1;8575:88;8682:4;8679:1;8672:15;8706:4;8703:1;8696:15;8723:281;8806:27;8828:4;8806:27;:::i;:::-;8798:6;8794:40;8936:6;8924:10;8921:22;8900:18;8888:10;8885:34;8882:62;8879:88;;;8947:18;;:::i;:::-;8879:88;8987:10;8983:2;8976:22;8766:238;8723:281;;:::o;9010:129::-;9044:6;9071:20;;:::i;:::-;9061:30;;9100:33;9128:4;9120:6;9100:33;:::i;:::-;9010:129;;;:::o;9145:307::-;9206:4;9296:18;9288:6;9285:30;9282:56;;;9318:18;;:::i;:::-;9282:56;9356:29;9378:6;9356:29;:::i;:::-;9348:37;;9440:4;9434;9430:15;9422:23;;9145:307;;;:::o;9458:146::-;9555:6;9550:3;9545;9532:30;9596:1;9587:6;9582:3;9578:16;9571:27;9458:146;;;:::o;9610:423::-;9687:5;9712:65;9728:48;9769:6;9728:48;:::i;:::-;9712:65;:::i;:::-;9703:74;;9800:6;9793:5;9786:21;9838:4;9831:5;9827:16;9876:3;9867:6;9862:3;9858:16;9855:25;9852:112;;;9883:79;;:::i;:::-;9852:112;9973:54;10020:6;10015:3;10010;9973:54;:::i;:::-;9693:340;9610:423;;;;;:::o;10052:338::-;10107:5;10156:3;10149:4;10141:6;10137:17;10133:27;10123:122;;10164:79;;:::i;:::-;10123:122;10281:6;10268:20;10306:78;10380:3;10372:6;10365:4;10357:6;10353:17;10306:78;:::i;:::-;10297:87;;10113:277;10052:338;;;;:::o;10396:943::-;10491:6;10499;10507;10515;10564:3;10552:9;10543:7;10539:23;10535:33;10532:120;;;10571:79;;:::i;:::-;10532:120;10691:1;10716:53;10761:7;10752:6;10741:9;10737:22;10716:53;:::i;:::-;10706:63;;10662:117;10818:2;10844:53;10889:7;10880:6;10869:9;10865:22;10844:53;:::i;:::-;10834:63;;10789:118;10946:2;10972:53;11017:7;11008:6;10997:9;10993:22;10972:53;:::i;:::-;10962:63;;10917:118;11102:2;11091:9;11087:18;11074:32;11133:18;11125:6;11122:30;11119:117;;;11155:79;;:::i;:::-;11119:117;11260:62;11314:7;11305:6;11294:9;11290:22;11260:62;:::i;:::-;11250:72;;11045:287;10396:943;;;;;;;:::o;11345:474::-;11413:6;11421;11470:2;11458:9;11449:7;11445:23;11441:32;11438:119;;;11476:79;;:::i;:::-;11438:119;11596:1;11621:53;11666:7;11657:6;11646:9;11642:22;11621:53;:::i;:::-;11611:63;;11567:117;11723:2;11749:53;11794:7;11785:6;11774:9;11770:22;11749:53;:::i;:::-;11739:63;;11694:118;11345:474;;;;;:::o;11825:180::-;11873:77;11870:1;11863:88;11970:4;11967:1;11960:15;11994:4;11991:1;11984:15;12011:320;12055:6;12092:1;12086:4;12082:12;12072:22;;12139:1;12133:4;12129:12;12160:18;12150:81;;12216:4;12208:6;12204:17;12194:27;;12150:81;12278:2;12270:6;12267:14;12247:18;12244:38;12241:84;;12297:18;;:::i;:::-;12241:84;12062:269;12011:320;;;:::o;12337:143::-;12394:5;12425:6;12419:13;12410:22;;12441:33;12468:5;12441:33;:::i;:::-;12337:143;;;;:::o;12486:351::-;12556:6;12605:2;12593:9;12584:7;12580:23;12576:32;12573:119;;;12611:79;;:::i;:::-;12573:119;12731:1;12756:64;12812:7;12803:6;12792:9;12788:22;12756:64;:::i;:::-;12746:74;;12702:128;12486:351;;;;:::o;12843:163::-;12983:15;12979:1;12971:6;12967:14;12960:39;12843:163;:::o;13012:366::-;13154:3;13175:67;13239:2;13234:3;13175:67;:::i;:::-;13168:74;;13251:93;13340:3;13251:93;:::i;:::-;13369:2;13364:3;13360:12;13353:19;;13012:366;;;:::o;13384:419::-;13550:4;13588:2;13577:9;13573:18;13565:26;;13637:9;13631:4;13627:20;13623:1;13612:9;13608:17;13601:47;13665:131;13791:4;13665:131;:::i;:::-;13657:139;;13384:419;;;:::o;13809:177::-;13949:29;13945:1;13937:6;13933:14;13926:53;13809:177;:::o;13992:366::-;14134:3;14155:67;14219:2;14214:3;14155:67;:::i;:::-;14148:74;;14231:93;14320:3;14231:93;:::i;:::-;14349:2;14344:3;14340:12;14333:19;;13992:366;;;:::o;14364:419::-;14530:4;14568:2;14557:9;14553:18;14545:26;;14617:9;14611:4;14607:20;14603:1;14592:9;14588:17;14581:47;14645:131;14771:4;14645:131;:::i;:::-;14637:139;;14364:419;;;:::o;14789:221::-;14929:34;14925:1;14917:6;14913:14;14906:58;14998:4;14993:2;14985:6;14981:15;14974:29;14789:221;:::o;15016:366::-;15158:3;15179:67;15243:2;15238:3;15179:67;:::i;:::-;15172:74;;15255:93;15344:3;15255:93;:::i;:::-;15373:2;15368:3;15364:12;15357:19;;15016:366;;;:::o;15388:419::-;15554:4;15592:2;15581:9;15577:18;15569:26;;15641:9;15635:4;15631:20;15627:1;15616:9;15612:17;15605:47;15669:131;15795:4;15669:131;:::i;:::-;15661:139;;15388:419;;;:::o;15813:227::-;15953:34;15949:1;15941:6;15937:14;15930:58;16022:10;16017:2;16009:6;16005:15;15998:35;15813:227;:::o;16046:366::-;16188:3;16209:67;16273:2;16268:3;16209:67;:::i;:::-;16202:74;;16285:93;16374:3;16285:93;:::i;:::-;16403:2;16398:3;16394:12;16387:19;;16046:366;;;:::o;16418:419::-;16584:4;16622:2;16611:9;16607:18;16599:26;;16671:9;16665:4;16661:20;16657:1;16646:9;16642:17;16635:47;16699:131;16825:4;16699:131;:::i;:::-;16691:139;;16418:419;;;:::o;16843:178::-;16983:30;16979:1;16971:6;16967:14;16960:54;16843:178;:::o;17027:366::-;17169:3;17190:67;17254:2;17249:3;17190:67;:::i;:::-;17183:74;;17266:93;17355:3;17266:93;:::i;:::-;17384:2;17379:3;17375:12;17368:19;;17027:366;;;:::o;17399:419::-;17565:4;17603:2;17592:9;17588:18;17580:26;;17652:9;17646:4;17642:20;17638:1;17627:9;17623:17;17616:47;17680:131;17806:4;17680:131;:::i;:::-;17672:139;;17399:419;;;:::o;17824:180::-;17872:77;17869:1;17862:88;17969:4;17966:1;17959:15;17993:4;17990:1;17983:15;18010:191;18050:3;18069:20;18087:1;18069:20;:::i;:::-;18064:25;;18103:20;18121:1;18103:20;:::i;:::-;18098:25;;18146:1;18143;18139:9;18132:16;;18167:3;18164:1;18161:10;18158:36;;;18174:18;;:::i;:::-;18158:36;18010:191;;;;:::o;18207:97::-;18266:6;18294:3;18284:13;;18207:97;;;;:::o;18310:141::-;18359:4;18382:3;18374:11;;18405:3;18402:1;18395:14;18439:4;18436:1;18426:18;18418:26;;18310:141;;;:::o;18457:93::-;18494:6;18541:2;18536;18529:5;18525:14;18521:23;18511:33;;18457:93;;;:::o;18556:107::-;18600:8;18650:5;18644:4;18640:16;18619:37;;18556:107;;;;:::o;18669:393::-;18738:6;18788:1;18776:10;18772:18;18811:97;18841:66;18830:9;18811:97;:::i;:::-;18929:39;18959:8;18948:9;18929:39;:::i;:::-;18917:51;;19001:4;18997:9;18990:5;18986:21;18977:30;;19050:4;19040:8;19036:19;19029:5;19026:30;19016:40;;18745:317;;18669:393;;;;;:::o;19068:60::-;19096:3;19117:5;19110:12;;19068:60;;;:::o;19134:142::-;19184:9;19217:53;19235:34;19244:24;19262:5;19244:24;:::i;:::-;19235:34;:::i;:::-;19217:53;:::i;:::-;19204:66;;19134:142;;;:::o;19282:75::-;19325:3;19346:5;19339:12;;19282:75;;;:::o;19363:269::-;19473:39;19504:7;19473:39;:::i;:::-;19534:91;19583:41;19607:16;19583:41;:::i;:::-;19575:6;19568:4;19562:11;19534:91;:::i;:::-;19528:4;19521:105;19439:193;19363:269;;;:::o;19638:73::-;19683:3;19638:73;:::o;19717:189::-;19794:32;;:::i;:::-;19835:65;19893:6;19885;19879:4;19835:65;:::i;:::-;19770:136;19717:189;;:::o;19912:186::-;19972:120;19989:3;19982:5;19979:14;19972:120;;;20043:39;20080:1;20073:5;20043:39;:::i;:::-;20016:1;20009:5;20005:13;19996:22;;19972:120;;;19912:186;;:::o;20104:543::-;20205:2;20200:3;20197:11;20194:446;;;20239:38;20271:5;20239:38;:::i;:::-;20323:29;20341:10;20323:29;:::i;:::-;20313:8;20309:44;20506:2;20494:10;20491:18;20488:49;;;20527:8;20512:23;;20488:49;20550:80;20606:22;20624:3;20606:22;:::i;:::-;20596:8;20592:37;20579:11;20550:80;:::i;:::-;20209:431;;20194:446;20104:543;;;:::o;20653:117::-;20707:8;20757:5;20751:4;20747:16;20726:37;;20653:117;;;;:::o;20776:169::-;20820:6;20853:51;20901:1;20897:6;20889:5;20886:1;20882:13;20853:51;:::i;:::-;20849:56;20934:4;20928;20924:15;20914:25;;20827:118;20776:169;;;;:::o;20950:295::-;21026:4;21172:29;21197:3;21191:4;21172:29;:::i;:::-;21164:37;;21234:3;21231:1;21227:11;21221:4;21218:21;21210:29;;20950:295;;;;:::o;21250:1403::-;21374:44;21414:3;21409;21374:44;:::i;:::-;21483:18;21475:6;21472:30;21469:56;;;21505:18;;:::i;:::-;21469:56;21549:38;21581:4;21575:11;21549:38;:::i;:::-;21634:67;21694:6;21686;21680:4;21634:67;:::i;:::-;21728:1;21757:2;21749:6;21746:14;21774:1;21769:632;;;;22445:1;22462:6;22459:84;;;22518:9;22513:3;22509:19;22496:33;22487:42;;22459:84;22569:67;22629:6;22622:5;22569:67;:::i;:::-;22563:4;22556:81;22418:229;21739:908;;21769:632;21821:4;21817:9;21809:6;21805:22;21855:37;21887:4;21855:37;:::i;:::-;21914:1;21928:215;21942:7;21939:1;21936:14;21928:215;;;22028:9;22023:3;22019:19;22006:33;21998:6;21991:49;22079:1;22071:6;22067:14;22057:24;;22126:2;22115:9;22111:18;22098:31;;21965:4;21962:1;21958:12;21953:17;;21928:215;;;22171:6;22162:7;22159:19;22156:186;;;22236:9;22231:3;22227:19;22214:33;22279:48;22321:4;22313:6;22309:17;22298:9;22279:48;:::i;:::-;22271:6;22264:64;22179:163;22156:186;22388:1;22384;22376:6;22372:14;22368:22;22362:4;22355:36;21776:625;;;21739:908;;21349:1304;;;21250:1403;;;:::o;22659:180::-;22707:77;22704:1;22697:88;22804:4;22801:1;22794:15;22828:4;22825:1;22818:15;22845:185;22885:1;22902:20;22920:1;22902:20;:::i;:::-;22897:25;;22936:20;22954:1;22936:20;:::i;:::-;22931:25;;22975:1;22965:35;;22980:18;;:::i;:::-;22965:35;23022:1;23019;23015:9;23010:14;;22845:185;;;;:::o;23036:182::-;23176:34;23172:1;23164:6;23160:14;23153:58;23036:182;:::o;23224:366::-;23366:3;23387:67;23451:2;23446:3;23387:67;:::i;:::-;23380:74;;23463:93;23552:3;23463:93;:::i;:::-;23581:2;23576:3;23572:12;23565:19;;23224:366;;;:::o;23596:419::-;23762:4;23800:2;23789:9;23785:18;23777:26;;23849:9;23843:4;23839:20;23835:1;23824:9;23820:17;23813:47;23877:131;24003:4;23877:131;:::i;:::-;23869:139;;23596:419;;;:::o;24021:410::-;24061:7;24084:20;24102:1;24084:20;:::i;:::-;24079:25;;24118:20;24136:1;24118:20;:::i;:::-;24113:25;;24173:1;24170;24166:9;24195:30;24213:11;24195:30;:::i;:::-;24184:41;;24374:1;24365:7;24361:15;24358:1;24355:22;24335:1;24328:9;24308:83;24285:139;;24404:18;;:::i;:::-;24285:139;24069:362;24021:410;;;;:::o;24437:181::-;24577:33;24573:1;24565:6;24561:14;24554:57;24437:181;:::o;24624:366::-;24766:3;24787:67;24851:2;24846:3;24787:67;:::i;:::-;24780:74;;24863:93;24952:3;24863:93;:::i;:::-;24981:2;24976:3;24972:12;24965:19;;24624:366;;;:::o;24996:419::-;25162:4;25200:2;25189:9;25185:18;25177:26;;25249:9;25243:4;25239:20;25235:1;25224:9;25220:17;25213:47;25277:131;25403:4;25277:131;:::i;:::-;25269:139;;24996:419;;;:::o;25421:147::-;25522:11;25559:3;25544:18;;25421:147;;;;:::o;25574:114::-;;:::o;25694:398::-;25853:3;25874:83;25955:1;25950:3;25874:83;:::i;:::-;25867:90;;25966:93;26055:3;25966:93;:::i;:::-;26084:1;26079:3;26075:11;26068:18;;25694:398;;;:::o;26098:379::-;26282:3;26304:147;26447:3;26304:147;:::i;:::-;26297:154;;26468:3;26461:10;;26098:379;;;:::o;26483:166::-;26623:18;26619:1;26611:6;26607:14;26600:42;26483:166;:::o;26655:366::-;26797:3;26818:67;26882:2;26877:3;26818:67;:::i;:::-;26811:74;;26894:93;26983:3;26894:93;:::i;:::-;27012:2;27007:3;27003:12;26996:19;;26655:366;;;:::o;27027:419::-;27193:4;27231:2;27220:9;27216:18;27208:26;;27280:9;27274:4;27270:20;27266:1;27255:9;27251:17;27244:47;27308:131;27434:4;27308:131;:::i;:::-;27300:139;;27027:419;;;:::o;27452:148::-;27554:11;27591:3;27576:18;;27452:148;;;;:::o;27606:390::-;27712:3;27740:39;27773:5;27740:39;:::i;:::-;27795:89;27877:6;27872:3;27795:89;:::i;:::-;27788:96;;27893:65;27951:6;27946:3;27939:4;27932:5;27928:16;27893:65;:::i;:::-;27983:6;27978:3;27974:16;27967:23;;27716:280;27606:390;;;;:::o;28002:435::-;28182:3;28204:95;28295:3;28286:6;28204:95;:::i;:::-;28197:102;;28316:95;28407:3;28398:6;28316:95;:::i;:::-;28309:102;;28428:3;28421:10;;28002:435;;;;;:::o;28443:225::-;28583:34;28579:1;28571:6;28567:14;28560:58;28652:8;28647:2;28639:6;28635:15;28628:33;28443:225;:::o;28674:366::-;28816:3;28837:67;28901:2;28896:3;28837:67;:::i;:::-;28830:74;;28913:93;29002:3;28913:93;:::i;:::-;29031:2;29026:3;29022:12;29015:19;;28674:366;;;:::o;29046:419::-;29212:4;29250:2;29239:9;29235:18;29227:26;;29299:9;29293:4;29289:20;29285:1;29274:9;29270:17;29263:47;29327:131;29453:4;29327:131;:::i;:::-;29319:139;;29046:419;;;:::o;29471:178::-;29611:30;29607:1;29599:6;29595:14;29588:54;29471:178;:::o;29655:366::-;29797:3;29818:67;29882:2;29877:3;29818:67;:::i;:::-;29811:74;;29894:93;29983:3;29894:93;:::i;:::-;30012:2;30007:3;30003:12;29996:19;;29655:366;;;:::o;30027:419::-;30193:4;30231:2;30220:9;30216:18;30208:26;;30280:9;30274:4;30270:20;30266:1;30255:9;30251:17;30244:47;30308:131;30434:4;30308:131;:::i;:::-;30300:139;;30027:419;;;:::o;30452:182::-;30592:34;30588:1;30580:6;30576:14;30569:58;30452:182;:::o;30640:366::-;30782:3;30803:67;30867:2;30862:3;30803:67;:::i;:::-;30796:74;;30879:93;30968:3;30879:93;:::i;:::-;30997:2;30992:3;30988:12;30981:19;;30640:366;;;:::o;31012:419::-;31178:4;31216:2;31205:9;31201:18;31193:26;;31265:9;31259:4;31255:20;31251:1;31240:9;31236:17;31229:47;31293:131;31419:4;31293:131;:::i;:::-;31285:139;;31012:419;;;:::o;31437:98::-;31488:6;31522:5;31516:12;31506:22;;31437:98;;;:::o;31541:168::-;31624:11;31658:6;31653:3;31646:19;31698:4;31693:3;31689:14;31674:29;;31541:168;;;;:::o;31715:373::-;31801:3;31829:38;31861:5;31829:38;:::i;:::-;31883:70;31946:6;31941:3;31883:70;:::i;:::-;31876:77;;31962:65;32020:6;32015:3;32008:4;32001:5;31997:16;31962:65;:::i;:::-;32052:29;32074:6;32052:29;:::i;:::-;32047:3;32043:39;32036:46;;31805:283;31715:373;;;;:::o;32094:640::-;32289:4;32327:3;32316:9;32312:19;32304:27;;32341:71;32409:1;32398:9;32394:17;32385:6;32341:71;:::i;:::-;32422:72;32490:2;32479:9;32475:18;32466:6;32422:72;:::i;:::-;32504;32572:2;32561:9;32557:18;32548:6;32504:72;:::i;:::-;32623:9;32617:4;32613:20;32608:2;32597:9;32593:18;32586:48;32651:76;32722:4;32713:6;32651:76;:::i;:::-;32643:84;;32094:640;;;;;;;:::o;32740:141::-;32796:5;32827:6;32821:13;32812:22;;32843:32;32869:5;32843:32;:::i;:::-;32740:141;;;;:::o;32887:349::-;32956:6;33005:2;32993:9;32984:7;32980:23;32976:32;32973:119;;;33011:79;;:::i;:::-;32973:119;33131:1;33156:63;33211:7;33202:6;33191:9;33187:22;33156:63;:::i;:::-;33146:73;;33102:127;32887:349;;;;:::o
Swarm Source
ipfs://f3c011ee218d62b0a40c55dda7bd594372f6de212ea5cb71e50ddecfb152e379
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.