Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,034 PETS
Holders
245
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 PETSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
WonderPetsNFT
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-03-17 */ // File: contracts/assets/IOperatorFilterRegistry.sol pragma solidity ^0.8.2; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } // File: contracts/assets/OperatorFilterer.sol pragma solidity ^0.8.2; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/math/SafeMath.sol // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_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) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev 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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.5.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 functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/introspection/IERC165.sol // 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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/interfaces/IERC2981.sol // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo( uint256 tokenId, uint256 salePrice ) external view returns (address receiver, uint256 royaltyAmount); } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/common/ERC2981.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 tokenId, uint256 salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.7.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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev 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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/extensions/IERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.7.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 = _owners[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 whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { 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); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * 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); // Clear approvals delete _tokenApprovals[tokenId]; _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits 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. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/extensions/ERC721Enumerable.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } // File: contracts/assets/IERC721A.sol // ERC721A Contracts v4.2.0 // 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(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * 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; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @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; /** * @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); // ============================================================= // 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: contracts/assets/ERC721A.sol // ERC721A Contracts v4.2.0 // 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 { // Reference type for token approval. 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 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 { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _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]`. 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 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 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 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. 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`. ) 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 ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File: contracts/WonderPetsNFT.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.4; contract WonderPetsNFT is ERC721A, Ownable, ERC2981,OperatorFilterer{ using SafeMath for uint256; using Strings for uint256; ERC721Enumerable public WGM; uint256 public constant maxSupply = 1500; uint256 public maxClaimAmount = 500; uint256 public maxMintAmount = 20; uint256 public totalClaimed = 0; uint256 public cost = 0.02 ether; string private baseTokenUri; string private revealBaseTokenUri; bool public paused = false; bool public revealed=false; mapping (uint256 => bool) public WGMClaimed; constructor( string memory _name, string memory _symbol, string memory _initBaseURI, address _WGMAddress ) ERC721A(_name, _symbol) OperatorFilterer(address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6), true) { WGM = ERC721Enumerable(_WGMAddress); setRevealBaseURI(_initBaseURI); } function mint(address _to,uint256 _quantity) public payable { require(!paused, "WonderPets :: Not Yet Active."); require((totalSupply() + _quantity) <= maxSupply, "WonderPets :: Beyond Max Supply"); require(_quantity <= maxMintAmount, "WonderPets :: Beyond Max Mint"); if (msg.sender != owner()) { require(msg.value >= (cost * _quantity), "WonderPets :: Payment is below the price"); } _safeMint(_to, _quantity); } function claim() public { require(!paused, "WonderPets :: Not Yet Active."); require(totalSupply() < maxSupply, "WonderPets :: Beyond Max Supply"); require(totalClaimed < maxClaimAmount, "WonderPets :: Beyond Max Supply"); require(tokenstoClaim(msg.sender) >0 ,"WonderPets :: Nothing to claim"); uint256 ownerTokenCount = WGM.balanceOf(msg.sender); uint256 _amount =0; uint256 wtid; for (uint256 i; i < ownerTokenCount; i++) { wtid = WGM.tokenOfOwnerByIndex(msg.sender, i); if(WGMClaimed[wtid] == false && (totalClaimed + _amount) < maxClaimAmount && (totalSupply() + _amount) < maxSupply){ _amount++; WGMClaimed[wtid]=true; } } require(_amount> 0,"WonderPets :: Nothing to claim"); require((_amount + totalClaimed) <= maxClaimAmount,"WonderPets :: Beyond Max Supply"); require((_amount + totalSupply()) <= maxSupply,"WonderPets :: Beyond Max Supply"); _safeMint(msg.sender, _amount); totalClaimed = totalClaimed + _amount ; } function tokenstoClaim(address _owner) public view returns (uint256) { uint256 ownerTokenCount = WGM.balanceOf(_owner); uint256 tid; uint256 tkns =0; for (uint256 i; i < ownerTokenCount; i++) { tid = WGM.tokenOfOwnerByIndex(_owner, i); if(WGMClaimed[tid] == false){ tkns++; } } return tkns; } function _baseURI() internal view virtual override returns (string memory) { return baseTokenUri; } //return uri for certain token function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); //uint256 trueId = tokenId + 1; //string memory baseURI = _baseURI(); if(revealed == false) return revealBaseTokenUri; else return bytes(baseTokenUri).length > 0 ? string(abi.encodePacked(baseTokenUri, tokenId.toString(), ".json")) : ""; } function setBaseURI(string memory _baseTokenUri) public onlyOwner{ baseTokenUri = _baseTokenUri; } function setRevealBaseURI(string memory _baseTokenUri) public onlyOwner{ revealBaseTokenUri = _baseTokenUri; } function reveal() external onlyOwner{ revealed=true; } function togglePause() external onlyOwner{ paused = !paused; } function setCost(uint256 _newCost) public onlyOwner { cost = _newCost; } function setMaxMintAmount(uint256 _newmaxMintAmount) public onlyOwner { maxMintAmount = _newmaxMintAmount; } function setmaxClaimAmount(uint256 _newmaxClaimAmount) public onlyOwner { maxClaimAmount = _newmaxClaimAmount; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, ERC2981) returns (bool) { return ERC721A.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId); } function setDefaultRoyalty(address receiver,uint96 feeNumerator) external onlyOwner { _setDefaultRoyalty(receiver, feeNumerator); } function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { require(revealed,"WonderPets :: You are not able to list item for sale at this stage."); super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override onlyAllowedOperator(from){ super.safeTransferFrom(from, to, tokenId, data); } function withdraw() public onlyOwner { require(payable(msg.sender).send(address(this).balance)); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"address","name":"_WGMAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WGM","outputs":[{"internalType":"contract ERC721Enumerable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"WGMClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cost","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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxClaimAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","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":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenUri","type":"string"}],"name":"setRevealBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxClaimAmount","type":"uint256"}],"name":"setmaxClaimAmount","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":[],"name":"togglePause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokenstoClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526101f4600c556014600d556000600e5566470de4df820000600f556000601260006101000a81548160ff0219169083151502179055506000601260016101000a81548160ff0219169083151502179055503480156200006257600080fd5b5060405162004bcc38038062004bcc833981810160405281019062000088919062000651565b733cc6cdda760b79bafa08df41ecfa224f810dceb6600185858160029080519060200190620000b992919062000518565b508060039080519060200190620000d292919062000518565b50620000e36200035e60201b60201c565b60008190555050506200010b620000ff6200036360201b60201c565b6200036b60201b60201c565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111562000300578015620001c6576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b81526004016200018c9291906200075d565b600060405180830381600087803b158015620001a757600080fd5b505af1158015620001bc573d6000803e3d6000fd5b50505050620002ff565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000280576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b8152600401620002469291906200075d565b600060405180830381600087803b1580156200026157600080fd5b505af115801562000276573d6000803e3d6000fd5b50505050620002fe565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620002c9919062000740565b600060405180830381600087803b158015620002e457600080fd5b505af1158015620002f9573d6000803e3d6000fd5b505050505b5b5b505080600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000354826200043160201b60201c565b50505050620009a4565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620004416200045d60201b60201c565b80601190805190602001906200045992919062000518565b5050565b6200046d6200036360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000493620004ee60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620004ec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004e3906200078a565b60405180910390fd5b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620005269062000886565b90600052602060002090601f0160209004810192826200054a576000855562000596565b82601f106200056557805160ff191683800117855562000596565b8280016001018555821562000596579182015b828111156200059557825182559160200191906001019062000578565b5b509050620005a59190620005a9565b5090565b5b80821115620005c4576000816000905550600101620005aa565b5090565b6000620005df620005d984620007d5565b620007ac565b905082815260208101848484011115620005f857600080fd5b6200060584828562000850565b509392505050565b6000815190506200061e816200098a565b92915050565b600082601f8301126200063657600080fd5b815162000648848260208601620005c8565b91505092915050565b600080600080608085870312156200066857600080fd5b600085015167ffffffffffffffff8111156200068357600080fd5b620006918782880162000624565b945050602085015167ffffffffffffffff811115620006af57600080fd5b620006bd8782880162000624565b935050604085015167ffffffffffffffff811115620006db57600080fd5b620006e98782880162000624565b9250506060620006fc878288016200060d565b91505092959194509250565b62000713816200081c565b82525050565b6000620007286020836200080b565b9150620007358262000961565b602082019050919050565b600060208201905062000757600083018462000708565b92915050565b600060408201905062000774600083018562000708565b62000783602083018462000708565b9392505050565b60006020820190508181036000830152620007a58162000719565b9050919050565b6000620007b8620007cb565b9050620007c68282620008bc565b919050565b6000604051905090565b600067ffffffffffffffff821115620007f357620007f262000921565b5b620007fe8262000950565b9050602081019050919050565b600082825260208201905092915050565b6000620008298262000830565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200087057808201518184015260208101905062000853565b8381111562000880576000848401525b50505050565b600060028204905060018216806200089f57607f821691505b60208210811415620008b657620008b5620008f2565b5b50919050565b620008c78262000950565b810181811067ffffffffffffffff82111715620008e957620008e862000921565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b62000995816200081c565b8114620009a157600080fd5b50565b61421880620009b46000396000f3fe60806040526004361061023b5760003560e01c806354a6db571161012e578063a475b5dd116100ab578063c87b56dd1161006f578063c87b56dd14610817578063d54ad2a114610854578063d5abeb011461087f578063e985e9c5146108aa578063f2fde38b146108e75761023b565b8063a475b5dd14610758578063aeef64391461076f578063b88d4fde1461079a578063c4ae3168146107c3578063c5aaacdb146107da5761023b565b806370a08231116100f257806370a0823114610685578063715018a6146106c25780638da5cb5b146106d957806395d89b4114610704578063a22cb4651461072f5761023b565b806354a6db57146105a057806355f804b3146105cb5780635c975abb146105f45780636352211e1461061f5780636885c77b1461065c5761023b565b806323b872dd116101bc57806341f434341161018057806341f43434146104e157806342842e0e1461050c57806344a0d68a146105355780634e71d92d1461055e57806351830227146105755761023b565b806323b872dd1461041e5780632a55205a14610447578063345cf171146104855780633ccfd60b146104ae57806340c10f19146104c55761023b565b8063095ea7b311610203578063095ea7b31461033757806313faede61461036057806318160ddd1461038b57806319d34f7a146103b6578063239c70ae146103f35761023b565b806301ffc9a71461024057806304634d8d1461027d57806306fdde03146102a6578063081812fc146102d1578063088a4ed01461030e575b600080fd5b34801561024c57600080fd5b50610267600480360381019061026291906132e3565b610910565b60405161027491906137fd565b60405180910390f35b34801561028957600080fd5b506102a4600480360381019061029f919061327e565b610932565b005b3480156102b257600080fd5b506102bb610948565b6040516102c8919061384e565b60405180910390f35b3480156102dd57600080fd5b506102f860048036038101906102f39190613376565b6109da565b6040516103059190613744565b60405180910390f35b34801561031a57600080fd5b5061033560048036038101906103309190613376565b610a59565b005b34801561034357600080fd5b5061035e60048036038101906103599190613242565b610a6b565b005b34801561036c57600080fd5b50610375610a84565b60405161038291906139d0565b60405180910390f35b34801561039757600080fd5b506103a0610a8a565b6040516103ad91906139d0565b60405180910390f35b3480156103c257600080fd5b506103dd60048036038101906103d89190613376565b610aa1565b6040516103ea91906137fd565b60405180910390f35b3480156103ff57600080fd5b50610408610ac1565b60405161041591906139d0565b60405180910390f35b34801561042a57600080fd5b506104456004803603810190610440919061313c565b610ac7565b005b34801561045357600080fd5b5061046e600480360381019061046991906133c8565b610b16565b60405161047c9291906137d4565b60405180910390f35b34801561049157600080fd5b506104ac60048036038101906104a79190613376565b610d01565b005b3480156104ba57600080fd5b506104c3610d13565b005b6104df60048036038101906104da9190613242565b610d5b565b005b3480156104ed57600080fd5b506104f6610ee0565b6040516105039190613833565b60405180910390f35b34801561051857600080fd5b50610533600480360381019061052e919061313c565b610ef2565b005b34801561054157600080fd5b5061055c60048036038101906105579190613376565b610f41565b005b34801561056a57600080fd5b50610573610f53565b005b34801561058157600080fd5b5061058a6113ae565b60405161059791906137fd565b60405180910390f35b3480156105ac57600080fd5b506105b56113c1565b6040516105c29190613818565b60405180910390f35b3480156105d757600080fd5b506105f260048036038101906105ed9190613335565b6113e7565b005b34801561060057600080fd5b50610609611409565b60405161061691906137fd565b60405180910390f35b34801561062b57600080fd5b5061064660048036038101906106419190613376565b61141c565b6040516106539190613744565b60405180910390f35b34801561066857600080fd5b50610683600480360381019061067e9190613335565b61142e565b005b34801561069157600080fd5b506106ac60048036038101906106a791906130d7565b611450565b6040516106b991906139d0565b60405180910390f35b3480156106ce57600080fd5b506106d7611509565b005b3480156106e557600080fd5b506106ee61151d565b6040516106fb9190613744565b60405180910390f35b34801561071057600080fd5b50610719611547565b604051610726919061384e565b60405180910390f35b34801561073b57600080fd5b5061075660048036038101906107519190613206565b6115d9565b005b34801561076457600080fd5b5061076d611641565b005b34801561077b57600080fd5b50610784611666565b60405161079191906139d0565b60405180910390f35b3480156107a657600080fd5b506107c160048036038101906107bc919061318b565b61166c565b005b3480156107cf57600080fd5b506107d86116bd565b005b3480156107e657600080fd5b5061080160048036038101906107fc91906130d7565b6116f1565b60405161080e91906139d0565b60405180910390f35b34801561082357600080fd5b5061083e60048036038101906108399190613376565b6118bd565b60405161084b919061384e565b60405180910390f35b34801561086057600080fd5b50610869611a14565b60405161087691906139d0565b60405180910390f35b34801561088b57600080fd5b50610894611a1a565b6040516108a191906139d0565b60405180910390f35b3480156108b657600080fd5b506108d160048036038101906108cc9190613100565b611a20565b6040516108de91906137fd565b60405180910390f35b3480156108f357600080fd5b5061090e600480360381019061090991906130d7565b611ab4565b005b600061091b82611b38565b8061092b575061092a82611bca565b5b9050919050565b61093a611c44565b6109448282611cc2565b5050565b60606002805461095790613cf5565b80601f016020809104026020016040519081016040528092919081815260200182805461098390613cf5565b80156109d05780601f106109a5576101008083540402835291602001916109d0565b820191906000526020600020905b8154815290600101906020018083116109b357829003601f168201915b5050505050905090565b60006109e582611e58565b610a1b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610a61611c44565b80600d8190555050565b81610a7581611eb7565b610a7f8383611fc3565b505050565b600f5481565b6000610a94612107565b6001546000540303905090565b60136020528060005260406000206000915054906101000a900460ff1681565b600d5481565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b0557610b0433611eb7565b5b610b1084848461210c565b50505050565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161415610cac5760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610cb6612431565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610ce29190613b51565b610cec9190613b20565b90508160000151819350935050509250929050565b610d09611c44565b80600c8190555050565b610d1b611c44565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050610d5957600080fd5b565b601260009054906101000a900460ff1615610dab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da290613870565b60405180910390fd5b6105dc81610db7610a8a565b610dc19190613aca565b1115610e02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df990613990565b60405180910390fd5b600d54811115610e47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3e90613950565b60405180910390fd5b610e4f61151d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ed25780600f54610e8f9190613b51565b341015610ed1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec8906138f0565b60405180910390fd5b5b610edc828261243b565b5050565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f3057610f2f33611eb7565b5b610f3b848484612459565b50505050565b610f49611c44565b80600f8190555050565b601260009054906101000a900460ff1615610fa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9a90613870565b60405180910390fd5b6105dc610fae610a8a565b10610fee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe590613990565b60405180910390fd5b600c54600e5410611034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102b90613990565b60405180910390fd5b600061103f336116f1565b1161107f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107690613890565b60405180910390fd5b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016110dc9190613744565b60206040518083038186803b1580156110f457600080fd5b505afa158015611108573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112c919061339f565b9050600080805b8381101561129e57600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5933836040518363ffffffff1660e01b81526004016111989291906137d4565b60206040518083038186803b1580156111b057600080fd5b505afa1580156111c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e8919061339f565b9150600015156013600084815260200190815260200160002060009054906101000a900460ff16151514801561122c5750600c5483600e5461122a9190613aca565b105b801561124b57506105dc8361123f610a8a565b6112499190613aca565b105b1561128b57828061125b90613d58565b93505060016013600084815260200190815260200160002060006101000a81548160ff0219169083151502179055505b808061129690613d58565b915050611133565b50600082116112e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d990613890565b60405180910390fd5b600c54600e54836112f39190613aca565b1115611334576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132b90613990565b60405180910390fd5b6105dc61133f610a8a565b8361134a9190613aca565b111561138b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138290613990565b60405180910390fd5b611395338361243b565b81600e546113a39190613aca565b600e81905550505050565b601260019054906101000a900460ff1681565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6113ef611c44565b8060109080519060200190611405929190612ebc565b5050565b601260009054906101000a900460ff1681565b600061142782612479565b9050919050565b611436611c44565b806011908051906020019061144c929190612ebc565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114b8576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611511611c44565b61151b6000612547565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461155690613cf5565b80601f016020809104026020016040519081016040528092919081815260200182805461158290613cf5565b80156115cf5780601f106115a4576101008083540402835291602001916115cf565b820191906000526020600020905b8154815290600101906020018083116115b257829003601f168201915b5050505050905090565b816115e381611eb7565b601260019054906101000a900460ff16611632576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611629906138d0565b60405180910390fd5b61163c838361260d565b505050565b611649611c44565b6001601260016101000a81548160ff021916908315150217905550565b600c5481565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146116aa576116a933611eb7565b5b6116b685858585612785565b5050505050565b6116c5611c44565b601260009054906101000a900460ff1615601260006101000a81548160ff021916908315150217905550565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b815260040161174f9190613744565b60206040518083038186803b15801561176757600080fd5b505afa15801561177b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061179f919061339f565b90506000806000905060005b838110156118b157600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5987836040518363ffffffff1660e01b81526004016118109291906137d4565b60206040518083038186803b15801561182857600080fd5b505afa15801561183c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611860919061339f565b9250600015156013600085815260200190815260200160002060009054906101000a900460ff161515141561189e57818061189a90613d58565b9250505b80806118a990613d58565b9150506117ab565b50809350505050919050565b60606118c882611e58565b611907576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fe90613930565b60405180910390fd5b60001515601260019054906101000a900460ff16151514156119b5576011805461193090613cf5565b80601f016020809104026020016040519081016040528092919081815260200182805461195c90613cf5565b80156119a95780601f1061197e576101008083540402835291602001916119a9565b820191906000526020600020905b81548152906001019060200180831161198c57829003601f168201915b50505050509050611a0f565b6000601080546119c490613cf5565b9050116119e05760405180602001604052806000815250611a0c565b60106119eb836127f8565b6040516020016119fc929190613715565b6040516020818303038152906040525b90505b919050565b600e5481565b6105dc81565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611abc611c44565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b23906138b0565b60405180910390fd5b611b3581612547565b50565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b9357506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611bc35750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c3d5750611c3c826129a5565b5b9050919050565b611c4c612a0f565b73ffffffffffffffffffffffffffffffffffffffff16611c6a61151d565b73ffffffffffffffffffffffffffffffffffffffff1614611cc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb790613910565b60405180910390fd5b565b611cca612431565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611d28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1f90613970565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8f906139b0565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600081611e63612107565b11158015611e72575060005482105b8015611eb0575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611fc0576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611f2e92919061375f565b60206040518083038186803b158015611f4657600080fd5b505afa158015611f5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f7e91906132ba565b611fbf57806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611fb69190613744565b60405180910390fd5b5b50565b6000611fce8261141c565b90508073ffffffffffffffffffffffffffffffffffffffff16611fef612a17565b73ffffffffffffffffffffffffffffffffffffffff16146120525761201b81612016612a17565b611a20565b612051576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b600061211782612479565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461217e576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061218a84612a1f565b915091506121a0818761219b612a17565b612a46565b6121ec576121b5866121b0612a17565b611a20565b6121eb576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612253576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6122608686866001612a8a565b801561226b57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061233985612315888887612a90565b7c020000000000000000000000000000000000000000000000000000000017612ab8565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156123c15760006001850190506000600460008381526020019081526020016000205414156123bf5760005481146123be578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124298686866001612ae3565b505050505050565b6000612710905090565b612455828260405180602001604052806000815250612ae9565b5050565b6124748383836040518060200160405280600081525061166c565b505050565b60008082905080612488612107565b116125105760005481101561250f5760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561250d575b60008114156125035760046000836001900393508381526020019081526020016000205490506124d8565b8092505050612542565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612615612a17565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561267a576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612687612a17565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612734612a17565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161277991906137fd565b60405180910390a35050565b612790848484610ac7565b60008373ffffffffffffffffffffffffffffffffffffffff163b146127f2576127bb84848484612b86565b6127f1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606000821415612840576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506129a0565b600082905060005b6000821461287257808061285b90613d58565b915050600a8261286b9190613b20565b9150612848565b60008167ffffffffffffffff8111156128b4577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156128e65781602001600182028036833780820191505090505b5090505b60008514612999576001826128ff9190613bab565b9150600a8561290e9190613da1565b603061291a9190613aca565b60f81b818381518110612956577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129929190613b20565b94506128ea565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612aa7868684612ce6565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b612af38383612cef565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612b8157600080549050600083820390505b612b336000868380600101945086612b86565b612b69576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612b20578160005414612b7e57600080fd5b50505b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612bac612a17565b8786866040518563ffffffff1660e01b8152600401612bce9493929190613788565b602060405180830381600087803b158015612be857600080fd5b505af1925050508015612c1957506040513d601f19601f82011682018060405250810190612c16919061330c565b60015b612c93573d8060008114612c49576040519150601f19603f3d011682016040523d82523d6000602084013e612c4e565b606091505b50600081511415612c8b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60009392505050565b6000805490506000821415612d30576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d3d6000848385612a8a565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612db483612da56000866000612a90565b612dae85612eac565b17612ab8565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612e5557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612e1a565b506000821415612e91576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612ea76000848385612ae3565b505050565b60006001821460e11b9050919050565b828054612ec890613cf5565b90600052602060002090601f016020900481019282612eea5760008555612f31565b82601f10612f0357805160ff1916838001178555612f31565b82800160010185558215612f31579182015b82811115612f30578251825591602001919060010190612f15565b5b509050612f3e9190612f42565b5090565b5b80821115612f5b576000816000905550600101612f43565b5090565b6000612f72612f6d84613a10565b6139eb565b905082815260208101848484011115612f8a57600080fd5b612f95848285613cb3565b509392505050565b6000612fb0612fab84613a41565b6139eb565b905082815260208101848484011115612fc857600080fd5b612fd3848285613cb3565b509392505050565b600081359050612fea8161416f565b92915050565b600081359050612fff81614186565b92915050565b60008151905061301481614186565b92915050565b6000813590506130298161419d565b92915050565b60008151905061303e8161419d565b92915050565b600082601f83011261305557600080fd5b8135613065848260208601612f5f565b91505092915050565b600082601f83011261307f57600080fd5b813561308f848260208601612f9d565b91505092915050565b6000813590506130a7816141b4565b92915050565b6000815190506130bc816141b4565b92915050565b6000813590506130d1816141cb565b92915050565b6000602082840312156130e957600080fd5b60006130f784828501612fdb565b91505092915050565b6000806040838503121561311357600080fd5b600061312185828601612fdb565b925050602061313285828601612fdb565b9150509250929050565b60008060006060848603121561315157600080fd5b600061315f86828701612fdb565b935050602061317086828701612fdb565b925050604061318186828701613098565b9150509250925092565b600080600080608085870312156131a157600080fd5b60006131af87828801612fdb565b94505060206131c087828801612fdb565b93505060406131d187828801613098565b925050606085013567ffffffffffffffff8111156131ee57600080fd5b6131fa87828801613044565b91505092959194509250565b6000806040838503121561321957600080fd5b600061322785828601612fdb565b925050602061323885828601612ff0565b9150509250929050565b6000806040838503121561325557600080fd5b600061326385828601612fdb565b925050602061327485828601613098565b9150509250929050565b6000806040838503121561329157600080fd5b600061329f85828601612fdb565b92505060206132b0858286016130c2565b9150509250929050565b6000602082840312156132cc57600080fd5b60006132da84828501613005565b91505092915050565b6000602082840312156132f557600080fd5b60006133038482850161301a565b91505092915050565b60006020828403121561331e57600080fd5b600061332c8482850161302f565b91505092915050565b60006020828403121561334757600080fd5b600082013567ffffffffffffffff81111561336157600080fd5b61336d8482850161306e565b91505092915050565b60006020828403121561338857600080fd5b600061339684828501613098565b91505092915050565b6000602082840312156133b157600080fd5b60006133bf848285016130ad565b91505092915050565b600080604083850312156133db57600080fd5b60006133e985828601613098565b92505060206133fa85828601613098565b9150509250929050565b61340d81613bdf565b82525050565b61341c81613bf1565b82525050565b600061342d82613a87565b6134378185613a9d565b9350613447818560208601613cc2565b61345081613e8e565b840191505092915050565b61346481613c6b565b82525050565b61347381613c8f565b82525050565b600061348482613a92565b61348e8185613aae565b935061349e818560208601613cc2565b6134a781613e8e565b840191505092915050565b60006134bd82613a92565b6134c78185613abf565b93506134d7818560208601613cc2565b80840191505092915050565b600081546134f081613cf5565b6134fa8186613abf565b94506001821660008114613515576001811461352657613559565b60ff19831686528186019350613559565b61352f85613a72565b60005b8381101561355157815481890152600182019150602081019050613532565b838801955050505b50505092915050565b600061356f601d83613aae565b915061357a82613e9f565b602082019050919050565b6000613592601e83613aae565b915061359d82613ec8565b602082019050919050565b60006135b5602683613aae565b91506135c082613ef1565b604082019050919050565b60006135d8604383613aae565b91506135e382613f40565b606082019050919050565b60006135fb602883613aae565b915061360682613fb5565b604082019050919050565b600061361e600583613abf565b915061362982614004565b600582019050919050565b6000613641602083613aae565b915061364c8261402d565b602082019050919050565b6000613664602f83613aae565b915061366f82614056565b604082019050919050565b6000613687601d83613aae565b9150613692826140a5565b602082019050919050565b60006136aa602a83613aae565b91506136b5826140ce565b604082019050919050565b60006136cd601f83613aae565b91506136d88261411d565b602082019050919050565b60006136f0601983613aae565b91506136fb82614146565b602082019050919050565b61370f81613c49565b82525050565b600061372182856134e3565b915061372d82846134b2565b915061373882613611565b91508190509392505050565b60006020820190506137596000830184613404565b92915050565b60006040820190506137746000830185613404565b6137816020830184613404565b9392505050565b600060808201905061379d6000830187613404565b6137aa6020830186613404565b6137b76040830185613706565b81810360608301526137c98184613422565b905095945050505050565b60006040820190506137e96000830185613404565b6137f66020830184613706565b9392505050565b60006020820190506138126000830184613413565b92915050565b600060208201905061382d600083018461345b565b92915050565b6000602082019050613848600083018461346a565b92915050565b600060208201905081810360008301526138688184613479565b905092915050565b6000602082019050818103600083015261388981613562565b9050919050565b600060208201905081810360008301526138a981613585565b9050919050565b600060208201905081810360008301526138c9816135a8565b9050919050565b600060208201905081810360008301526138e9816135cb565b9050919050565b60006020820190508181036000830152613909816135ee565b9050919050565b6000602082019050818103600083015261392981613634565b9050919050565b6000602082019050818103600083015261394981613657565b9050919050565b600060208201905081810360008301526139698161367a565b9050919050565b600060208201905081810360008301526139898161369d565b9050919050565b600060208201905081810360008301526139a9816136c0565b9050919050565b600060208201905081810360008301526139c9816136e3565b9050919050565b60006020820190506139e56000830184613706565b92915050565b60006139f5613a06565b9050613a018282613d27565b919050565b6000604051905090565b600067ffffffffffffffff821115613a2b57613a2a613e5f565b5b613a3482613e8e565b9050602081019050919050565b600067ffffffffffffffff821115613a5c57613a5b613e5f565b5b613a6582613e8e565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613ad582613c49565b9150613ae083613c49565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b1557613b14613dd2565b5b828201905092915050565b6000613b2b82613c49565b9150613b3683613c49565b925082613b4657613b45613e01565b5b828204905092915050565b6000613b5c82613c49565b9150613b6783613c49565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ba057613b9f613dd2565b5b828202905092915050565b6000613bb682613c49565b9150613bc183613c49565b925082821015613bd457613bd3613dd2565b5b828203905092915050565b6000613bea82613c29565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006bffffffffffffffffffffffff82169050919050565b6000613c7682613c7d565b9050919050565b6000613c8882613c29565b9050919050565b6000613c9a82613ca1565b9050919050565b6000613cac82613c29565b9050919050565b82818337600083830152505050565b60005b83811015613ce0578082015181840152602081019050613cc5565b83811115613cef576000848401525b50505050565b60006002820490506001821680613d0d57607f821691505b60208210811415613d2157613d20613e30565b5b50919050565b613d3082613e8e565b810181811067ffffffffffffffff82111715613d4f57613d4e613e5f565b5b80604052505050565b6000613d6382613c49565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613d9657613d95613dd2565b5b600182019050919050565b6000613dac82613c49565b9150613db783613c49565b925082613dc757613dc6613e01565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f576f6e64657250657473203a3a204e6f7420596574204163746976652e000000600082015250565b7f576f6e64657250657473203a3a204e6f7468696e6720746f20636c61696d0000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f576f6e64657250657473203a3a20596f7520617265206e6f742061626c65207460008201527f6f206c697374206974656d20666f722073616c6520617420746869732073746160208201527f67652e0000000000000000000000000000000000000000000000000000000000604082015250565b7f576f6e64657250657473203a3a205061796d656e742069732062656c6f77207460008201527f6865207072696365000000000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f576f6e64657250657473203a3a204265796f6e64204d6178204d696e74000000600082015250565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f576f6e64657250657473203a3a204265796f6e64204d617820537570706c7900600082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b61417881613bdf565b811461418357600080fd5b50565b61418f81613bf1565b811461419a57600080fd5b50565b6141a681613bfd565b81146141b157600080fd5b50565b6141bd81613c49565b81146141c857600080fd5b50565b6141d481613c53565b81146141df57600080fd5b5056fea2646970667358221220557647ba1577f9be115131dba0dde35bd08af818ffb905a3022ad50e481cf62864736f6c63430008040033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000bdb5e34b656535cc4d459cd2b0fc74a821d4723b000000000000000000000000000000000000000000000000000000000000000a576f6e6465725065747300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000450455453000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d52334e4b70343157384c624477787376467a69744b7136366d666457376861517856634a6f394a53444137350000000000000000000000
Deployed Bytecode
0x60806040526004361061023b5760003560e01c806354a6db571161012e578063a475b5dd116100ab578063c87b56dd1161006f578063c87b56dd14610817578063d54ad2a114610854578063d5abeb011461087f578063e985e9c5146108aa578063f2fde38b146108e75761023b565b8063a475b5dd14610758578063aeef64391461076f578063b88d4fde1461079a578063c4ae3168146107c3578063c5aaacdb146107da5761023b565b806370a08231116100f257806370a0823114610685578063715018a6146106c25780638da5cb5b146106d957806395d89b4114610704578063a22cb4651461072f5761023b565b806354a6db57146105a057806355f804b3146105cb5780635c975abb146105f45780636352211e1461061f5780636885c77b1461065c5761023b565b806323b872dd116101bc57806341f434341161018057806341f43434146104e157806342842e0e1461050c57806344a0d68a146105355780634e71d92d1461055e57806351830227146105755761023b565b806323b872dd1461041e5780632a55205a14610447578063345cf171146104855780633ccfd60b146104ae57806340c10f19146104c55761023b565b8063095ea7b311610203578063095ea7b31461033757806313faede61461036057806318160ddd1461038b57806319d34f7a146103b6578063239c70ae146103f35761023b565b806301ffc9a71461024057806304634d8d1461027d57806306fdde03146102a6578063081812fc146102d1578063088a4ed01461030e575b600080fd5b34801561024c57600080fd5b50610267600480360381019061026291906132e3565b610910565b60405161027491906137fd565b60405180910390f35b34801561028957600080fd5b506102a4600480360381019061029f919061327e565b610932565b005b3480156102b257600080fd5b506102bb610948565b6040516102c8919061384e565b60405180910390f35b3480156102dd57600080fd5b506102f860048036038101906102f39190613376565b6109da565b6040516103059190613744565b60405180910390f35b34801561031a57600080fd5b5061033560048036038101906103309190613376565b610a59565b005b34801561034357600080fd5b5061035e60048036038101906103599190613242565b610a6b565b005b34801561036c57600080fd5b50610375610a84565b60405161038291906139d0565b60405180910390f35b34801561039757600080fd5b506103a0610a8a565b6040516103ad91906139d0565b60405180910390f35b3480156103c257600080fd5b506103dd60048036038101906103d89190613376565b610aa1565b6040516103ea91906137fd565b60405180910390f35b3480156103ff57600080fd5b50610408610ac1565b60405161041591906139d0565b60405180910390f35b34801561042a57600080fd5b506104456004803603810190610440919061313c565b610ac7565b005b34801561045357600080fd5b5061046e600480360381019061046991906133c8565b610b16565b60405161047c9291906137d4565b60405180910390f35b34801561049157600080fd5b506104ac60048036038101906104a79190613376565b610d01565b005b3480156104ba57600080fd5b506104c3610d13565b005b6104df60048036038101906104da9190613242565b610d5b565b005b3480156104ed57600080fd5b506104f6610ee0565b6040516105039190613833565b60405180910390f35b34801561051857600080fd5b50610533600480360381019061052e919061313c565b610ef2565b005b34801561054157600080fd5b5061055c60048036038101906105579190613376565b610f41565b005b34801561056a57600080fd5b50610573610f53565b005b34801561058157600080fd5b5061058a6113ae565b60405161059791906137fd565b60405180910390f35b3480156105ac57600080fd5b506105b56113c1565b6040516105c29190613818565b60405180910390f35b3480156105d757600080fd5b506105f260048036038101906105ed9190613335565b6113e7565b005b34801561060057600080fd5b50610609611409565b60405161061691906137fd565b60405180910390f35b34801561062b57600080fd5b5061064660048036038101906106419190613376565b61141c565b6040516106539190613744565b60405180910390f35b34801561066857600080fd5b50610683600480360381019061067e9190613335565b61142e565b005b34801561069157600080fd5b506106ac60048036038101906106a791906130d7565b611450565b6040516106b991906139d0565b60405180910390f35b3480156106ce57600080fd5b506106d7611509565b005b3480156106e557600080fd5b506106ee61151d565b6040516106fb9190613744565b60405180910390f35b34801561071057600080fd5b50610719611547565b604051610726919061384e565b60405180910390f35b34801561073b57600080fd5b5061075660048036038101906107519190613206565b6115d9565b005b34801561076457600080fd5b5061076d611641565b005b34801561077b57600080fd5b50610784611666565b60405161079191906139d0565b60405180910390f35b3480156107a657600080fd5b506107c160048036038101906107bc919061318b565b61166c565b005b3480156107cf57600080fd5b506107d86116bd565b005b3480156107e657600080fd5b5061080160048036038101906107fc91906130d7565b6116f1565b60405161080e91906139d0565b60405180910390f35b34801561082357600080fd5b5061083e60048036038101906108399190613376565b6118bd565b60405161084b919061384e565b60405180910390f35b34801561086057600080fd5b50610869611a14565b60405161087691906139d0565b60405180910390f35b34801561088b57600080fd5b50610894611a1a565b6040516108a191906139d0565b60405180910390f35b3480156108b657600080fd5b506108d160048036038101906108cc9190613100565b611a20565b6040516108de91906137fd565b60405180910390f35b3480156108f357600080fd5b5061090e600480360381019061090991906130d7565b611ab4565b005b600061091b82611b38565b8061092b575061092a82611bca565b5b9050919050565b61093a611c44565b6109448282611cc2565b5050565b60606002805461095790613cf5565b80601f016020809104026020016040519081016040528092919081815260200182805461098390613cf5565b80156109d05780601f106109a5576101008083540402835291602001916109d0565b820191906000526020600020905b8154815290600101906020018083116109b357829003601f168201915b5050505050905090565b60006109e582611e58565b610a1b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610a61611c44565b80600d8190555050565b81610a7581611eb7565b610a7f8383611fc3565b505050565b600f5481565b6000610a94612107565b6001546000540303905090565b60136020528060005260406000206000915054906101000a900460ff1681565b600d5481565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b0557610b0433611eb7565b5b610b1084848461210c565b50505050565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161415610cac5760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610cb6612431565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610ce29190613b51565b610cec9190613b20565b90508160000151819350935050509250929050565b610d09611c44565b80600c8190555050565b610d1b611c44565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050610d5957600080fd5b565b601260009054906101000a900460ff1615610dab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da290613870565b60405180910390fd5b6105dc81610db7610a8a565b610dc19190613aca565b1115610e02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df990613990565b60405180910390fd5b600d54811115610e47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3e90613950565b60405180910390fd5b610e4f61151d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ed25780600f54610e8f9190613b51565b341015610ed1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec8906138f0565b60405180910390fd5b5b610edc828261243b565b5050565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f3057610f2f33611eb7565b5b610f3b848484612459565b50505050565b610f49611c44565b80600f8190555050565b601260009054906101000a900460ff1615610fa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9a90613870565b60405180910390fd5b6105dc610fae610a8a565b10610fee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe590613990565b60405180910390fd5b600c54600e5410611034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102b90613990565b60405180910390fd5b600061103f336116f1565b1161107f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107690613890565b60405180910390fd5b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016110dc9190613744565b60206040518083038186803b1580156110f457600080fd5b505afa158015611108573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112c919061339f565b9050600080805b8381101561129e57600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5933836040518363ffffffff1660e01b81526004016111989291906137d4565b60206040518083038186803b1580156111b057600080fd5b505afa1580156111c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e8919061339f565b9150600015156013600084815260200190815260200160002060009054906101000a900460ff16151514801561122c5750600c5483600e5461122a9190613aca565b105b801561124b57506105dc8361123f610a8a565b6112499190613aca565b105b1561128b57828061125b90613d58565b93505060016013600084815260200190815260200160002060006101000a81548160ff0219169083151502179055505b808061129690613d58565b915050611133565b50600082116112e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d990613890565b60405180910390fd5b600c54600e54836112f39190613aca565b1115611334576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132b90613990565b60405180910390fd5b6105dc61133f610a8a565b8361134a9190613aca565b111561138b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138290613990565b60405180910390fd5b611395338361243b565b81600e546113a39190613aca565b600e81905550505050565b601260019054906101000a900460ff1681565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6113ef611c44565b8060109080519060200190611405929190612ebc565b5050565b601260009054906101000a900460ff1681565b600061142782612479565b9050919050565b611436611c44565b806011908051906020019061144c929190612ebc565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114b8576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611511611c44565b61151b6000612547565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461155690613cf5565b80601f016020809104026020016040519081016040528092919081815260200182805461158290613cf5565b80156115cf5780601f106115a4576101008083540402835291602001916115cf565b820191906000526020600020905b8154815290600101906020018083116115b257829003601f168201915b5050505050905090565b816115e381611eb7565b601260019054906101000a900460ff16611632576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611629906138d0565b60405180910390fd5b61163c838361260d565b505050565b611649611c44565b6001601260016101000a81548160ff021916908315150217905550565b600c5481565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146116aa576116a933611eb7565b5b6116b685858585612785565b5050505050565b6116c5611c44565b601260009054906101000a900460ff1615601260006101000a81548160ff021916908315150217905550565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b815260040161174f9190613744565b60206040518083038186803b15801561176757600080fd5b505afa15801561177b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061179f919061339f565b90506000806000905060005b838110156118b157600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5987836040518363ffffffff1660e01b81526004016118109291906137d4565b60206040518083038186803b15801561182857600080fd5b505afa15801561183c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611860919061339f565b9250600015156013600085815260200190815260200160002060009054906101000a900460ff161515141561189e57818061189a90613d58565b9250505b80806118a990613d58565b9150506117ab565b50809350505050919050565b60606118c882611e58565b611907576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fe90613930565b60405180910390fd5b60001515601260019054906101000a900460ff16151514156119b5576011805461193090613cf5565b80601f016020809104026020016040519081016040528092919081815260200182805461195c90613cf5565b80156119a95780601f1061197e576101008083540402835291602001916119a9565b820191906000526020600020905b81548152906001019060200180831161198c57829003601f168201915b50505050509050611a0f565b6000601080546119c490613cf5565b9050116119e05760405180602001604052806000815250611a0c565b60106119eb836127f8565b6040516020016119fc929190613715565b6040516020818303038152906040525b90505b919050565b600e5481565b6105dc81565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611abc611c44565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b23906138b0565b60405180910390fd5b611b3581612547565b50565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b9357506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611bc35750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c3d5750611c3c826129a5565b5b9050919050565b611c4c612a0f565b73ffffffffffffffffffffffffffffffffffffffff16611c6a61151d565b73ffffffffffffffffffffffffffffffffffffffff1614611cc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb790613910565b60405180910390fd5b565b611cca612431565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611d28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1f90613970565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8f906139b0565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600081611e63612107565b11158015611e72575060005482105b8015611eb0575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611fc0576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611f2e92919061375f565b60206040518083038186803b158015611f4657600080fd5b505afa158015611f5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f7e91906132ba565b611fbf57806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611fb69190613744565b60405180910390fd5b5b50565b6000611fce8261141c565b90508073ffffffffffffffffffffffffffffffffffffffff16611fef612a17565b73ffffffffffffffffffffffffffffffffffffffff16146120525761201b81612016612a17565b611a20565b612051576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b600061211782612479565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461217e576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061218a84612a1f565b915091506121a0818761219b612a17565b612a46565b6121ec576121b5866121b0612a17565b611a20565b6121eb576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612253576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6122608686866001612a8a565b801561226b57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061233985612315888887612a90565b7c020000000000000000000000000000000000000000000000000000000017612ab8565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156123c15760006001850190506000600460008381526020019081526020016000205414156123bf5760005481146123be578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124298686866001612ae3565b505050505050565b6000612710905090565b612455828260405180602001604052806000815250612ae9565b5050565b6124748383836040518060200160405280600081525061166c565b505050565b60008082905080612488612107565b116125105760005481101561250f5760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561250d575b60008114156125035760046000836001900393508381526020019081526020016000205490506124d8565b8092505050612542565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612615612a17565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561267a576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612687612a17565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612734612a17565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161277991906137fd565b60405180910390a35050565b612790848484610ac7565b60008373ffffffffffffffffffffffffffffffffffffffff163b146127f2576127bb84848484612b86565b6127f1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606000821415612840576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506129a0565b600082905060005b6000821461287257808061285b90613d58565b915050600a8261286b9190613b20565b9150612848565b60008167ffffffffffffffff8111156128b4577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156128e65781602001600182028036833780820191505090505b5090505b60008514612999576001826128ff9190613bab565b9150600a8561290e9190613da1565b603061291a9190613aca565b60f81b818381518110612956577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129929190613b20565b94506128ea565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612aa7868684612ce6565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b612af38383612cef565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612b8157600080549050600083820390505b612b336000868380600101945086612b86565b612b69576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612b20578160005414612b7e57600080fd5b50505b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612bac612a17565b8786866040518563ffffffff1660e01b8152600401612bce9493929190613788565b602060405180830381600087803b158015612be857600080fd5b505af1925050508015612c1957506040513d601f19601f82011682018060405250810190612c16919061330c565b60015b612c93573d8060008114612c49576040519150601f19603f3d011682016040523d82523d6000602084013e612c4e565b606091505b50600081511415612c8b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60009392505050565b6000805490506000821415612d30576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d3d6000848385612a8a565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612db483612da56000866000612a90565b612dae85612eac565b17612ab8565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612e5557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612e1a565b506000821415612e91576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612ea76000848385612ae3565b505050565b60006001821460e11b9050919050565b828054612ec890613cf5565b90600052602060002090601f016020900481019282612eea5760008555612f31565b82601f10612f0357805160ff1916838001178555612f31565b82800160010185558215612f31579182015b82811115612f30578251825591602001919060010190612f15565b5b509050612f3e9190612f42565b5090565b5b80821115612f5b576000816000905550600101612f43565b5090565b6000612f72612f6d84613a10565b6139eb565b905082815260208101848484011115612f8a57600080fd5b612f95848285613cb3565b509392505050565b6000612fb0612fab84613a41565b6139eb565b905082815260208101848484011115612fc857600080fd5b612fd3848285613cb3565b509392505050565b600081359050612fea8161416f565b92915050565b600081359050612fff81614186565b92915050565b60008151905061301481614186565b92915050565b6000813590506130298161419d565b92915050565b60008151905061303e8161419d565b92915050565b600082601f83011261305557600080fd5b8135613065848260208601612f5f565b91505092915050565b600082601f83011261307f57600080fd5b813561308f848260208601612f9d565b91505092915050565b6000813590506130a7816141b4565b92915050565b6000815190506130bc816141b4565b92915050565b6000813590506130d1816141cb565b92915050565b6000602082840312156130e957600080fd5b60006130f784828501612fdb565b91505092915050565b6000806040838503121561311357600080fd5b600061312185828601612fdb565b925050602061313285828601612fdb565b9150509250929050565b60008060006060848603121561315157600080fd5b600061315f86828701612fdb565b935050602061317086828701612fdb565b925050604061318186828701613098565b9150509250925092565b600080600080608085870312156131a157600080fd5b60006131af87828801612fdb565b94505060206131c087828801612fdb565b93505060406131d187828801613098565b925050606085013567ffffffffffffffff8111156131ee57600080fd5b6131fa87828801613044565b91505092959194509250565b6000806040838503121561321957600080fd5b600061322785828601612fdb565b925050602061323885828601612ff0565b9150509250929050565b6000806040838503121561325557600080fd5b600061326385828601612fdb565b925050602061327485828601613098565b9150509250929050565b6000806040838503121561329157600080fd5b600061329f85828601612fdb565b92505060206132b0858286016130c2565b9150509250929050565b6000602082840312156132cc57600080fd5b60006132da84828501613005565b91505092915050565b6000602082840312156132f557600080fd5b60006133038482850161301a565b91505092915050565b60006020828403121561331e57600080fd5b600061332c8482850161302f565b91505092915050565b60006020828403121561334757600080fd5b600082013567ffffffffffffffff81111561336157600080fd5b61336d8482850161306e565b91505092915050565b60006020828403121561338857600080fd5b600061339684828501613098565b91505092915050565b6000602082840312156133b157600080fd5b60006133bf848285016130ad565b91505092915050565b600080604083850312156133db57600080fd5b60006133e985828601613098565b92505060206133fa85828601613098565b9150509250929050565b61340d81613bdf565b82525050565b61341c81613bf1565b82525050565b600061342d82613a87565b6134378185613a9d565b9350613447818560208601613cc2565b61345081613e8e565b840191505092915050565b61346481613c6b565b82525050565b61347381613c8f565b82525050565b600061348482613a92565b61348e8185613aae565b935061349e818560208601613cc2565b6134a781613e8e565b840191505092915050565b60006134bd82613a92565b6134c78185613abf565b93506134d7818560208601613cc2565b80840191505092915050565b600081546134f081613cf5565b6134fa8186613abf565b94506001821660008114613515576001811461352657613559565b60ff19831686528186019350613559565b61352f85613a72565b60005b8381101561355157815481890152600182019150602081019050613532565b838801955050505b50505092915050565b600061356f601d83613aae565b915061357a82613e9f565b602082019050919050565b6000613592601e83613aae565b915061359d82613ec8565b602082019050919050565b60006135b5602683613aae565b91506135c082613ef1565b604082019050919050565b60006135d8604383613aae565b91506135e382613f40565b606082019050919050565b60006135fb602883613aae565b915061360682613fb5565b604082019050919050565b600061361e600583613abf565b915061362982614004565b600582019050919050565b6000613641602083613aae565b915061364c8261402d565b602082019050919050565b6000613664602f83613aae565b915061366f82614056565b604082019050919050565b6000613687601d83613aae565b9150613692826140a5565b602082019050919050565b60006136aa602a83613aae565b91506136b5826140ce565b604082019050919050565b60006136cd601f83613aae565b91506136d88261411d565b602082019050919050565b60006136f0601983613aae565b91506136fb82614146565b602082019050919050565b61370f81613c49565b82525050565b600061372182856134e3565b915061372d82846134b2565b915061373882613611565b91508190509392505050565b60006020820190506137596000830184613404565b92915050565b60006040820190506137746000830185613404565b6137816020830184613404565b9392505050565b600060808201905061379d6000830187613404565b6137aa6020830186613404565b6137b76040830185613706565b81810360608301526137c98184613422565b905095945050505050565b60006040820190506137e96000830185613404565b6137f66020830184613706565b9392505050565b60006020820190506138126000830184613413565b92915050565b600060208201905061382d600083018461345b565b92915050565b6000602082019050613848600083018461346a565b92915050565b600060208201905081810360008301526138688184613479565b905092915050565b6000602082019050818103600083015261388981613562565b9050919050565b600060208201905081810360008301526138a981613585565b9050919050565b600060208201905081810360008301526138c9816135a8565b9050919050565b600060208201905081810360008301526138e9816135cb565b9050919050565b60006020820190508181036000830152613909816135ee565b9050919050565b6000602082019050818103600083015261392981613634565b9050919050565b6000602082019050818103600083015261394981613657565b9050919050565b600060208201905081810360008301526139698161367a565b9050919050565b600060208201905081810360008301526139898161369d565b9050919050565b600060208201905081810360008301526139a9816136c0565b9050919050565b600060208201905081810360008301526139c9816136e3565b9050919050565b60006020820190506139e56000830184613706565b92915050565b60006139f5613a06565b9050613a018282613d27565b919050565b6000604051905090565b600067ffffffffffffffff821115613a2b57613a2a613e5f565b5b613a3482613e8e565b9050602081019050919050565b600067ffffffffffffffff821115613a5c57613a5b613e5f565b5b613a6582613e8e565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613ad582613c49565b9150613ae083613c49565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b1557613b14613dd2565b5b828201905092915050565b6000613b2b82613c49565b9150613b3683613c49565b925082613b4657613b45613e01565b5b828204905092915050565b6000613b5c82613c49565b9150613b6783613c49565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ba057613b9f613dd2565b5b828202905092915050565b6000613bb682613c49565b9150613bc183613c49565b925082821015613bd457613bd3613dd2565b5b828203905092915050565b6000613bea82613c29565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006bffffffffffffffffffffffff82169050919050565b6000613c7682613c7d565b9050919050565b6000613c8882613c29565b9050919050565b6000613c9a82613ca1565b9050919050565b6000613cac82613c29565b9050919050565b82818337600083830152505050565b60005b83811015613ce0578082015181840152602081019050613cc5565b83811115613cef576000848401525b50505050565b60006002820490506001821680613d0d57607f821691505b60208210811415613d2157613d20613e30565b5b50919050565b613d3082613e8e565b810181811067ffffffffffffffff82111715613d4f57613d4e613e5f565b5b80604052505050565b6000613d6382613c49565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613d9657613d95613dd2565b5b600182019050919050565b6000613dac82613c49565b9150613db783613c49565b925082613dc757613dc6613e01565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f576f6e64657250657473203a3a204e6f7420596574204163746976652e000000600082015250565b7f576f6e64657250657473203a3a204e6f7468696e6720746f20636c61696d0000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f576f6e64657250657473203a3a20596f7520617265206e6f742061626c65207460008201527f6f206c697374206974656d20666f722073616c6520617420746869732073746160208201527f67652e0000000000000000000000000000000000000000000000000000000000604082015250565b7f576f6e64657250657473203a3a205061796d656e742069732062656c6f77207460008201527f6865207072696365000000000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f576f6e64657250657473203a3a204265796f6e64204d6178204d696e74000000600082015250565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f576f6e64657250657473203a3a204265796f6e64204d617820537570706c7900600082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b61417881613bdf565b811461418357600080fd5b50565b61418f81613bf1565b811461419a57600080fd5b50565b6141a681613bfd565b81146141b157600080fd5b50565b6141bd81613c49565b81146141c857600080fd5b50565b6141d481613c53565b81146141df57600080fd5b5056fea2646970667358221220557647ba1577f9be115131dba0dde35bd08af818ffb905a3022ad50e481cf62864736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000bdb5e34b656535cc4d459cd2b0fc74a821d4723b000000000000000000000000000000000000000000000000000000000000000a576f6e6465725065747300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000450455453000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d52334e4b70343157384c624477787376467a69744b7136366d666457376861517856634a6f394a53444137350000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): WonderPets
Arg [1] : _symbol (string): PETS
Arg [2] : _initBaseURI (string): ipfs://QmR3NKp41W8LbDwxsvFzitKq66mfdW7haQxVcJo9JSDA75
Arg [3] : _WGMAddress (address): 0xbdB5e34b656535cc4D459cD2b0fC74A821d4723b
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 000000000000000000000000bdb5e34b656535cc4d459cd2b0fc74a821d4723b
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [5] : 576f6e6465725065747300000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 5045545300000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [9] : 697066733a2f2f516d52334e4b70343157384c624477787376467a69744b7136
Arg [10] : 366d666457376861517856634a6f394a53444137350000000000000000000000
Deployed Bytecode Sourcemap
115277:5975:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;119737:241;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;119986:145;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;83249:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;89732:218;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;119474:122;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;120421:158;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;115626:33;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;79000:323;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;115816:43;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;115546:34;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;120587:163;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;32566:438;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;119602:126;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;121140:109;;;;;;;;;;;;;:::i;:::-;;116235:488;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2899:143;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;120758:171;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;119376:86;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;116731:1152;;;;;;;;;;;;;:::i;:::-;;115777:26;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;115421:28;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;118964:112;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;115744:26;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;84642:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;119084:124;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;80184:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;17326:103;;;;;;;;;;;;;:::i;:::-;;16678:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;83425:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;120139:274;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;119216:68;;;;;;;;;;;;;:::i;:::-;;115503:36;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;120937:195;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;119292:76;;;;;;;;;;;;;:::i;:::-;;117891:412;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;118468:488;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;115587:32;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;115456:40;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;90755:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;17584:201;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;119737:241;119840:4;119877:38;119903:11;119877:25;:38::i;:::-;:93;;;;119932:38;119958:11;119932:25;:38::i;:::-;119877:93;119857:113;;119737:241;;;:::o;119986:145::-;16564:13;:11;:13::i;:::-;120081:42:::1;120100:8;120110:12;120081:18;:42::i;:::-;119986:145:::0;;:::o;83249:100::-;83303:13;83336:5;83329:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83249:100;:::o;89732:218::-;89808:7;89833:16;89841:7;89833;:16::i;:::-;89828:64;;89858:34;;;;;;;;;;;;;;89828:64;89912:15;:24;89928:7;89912:24;;;;;;;;;;;:30;;;;;;;;;;;;89905:37;;89732:218;;;:::o;119474:122::-;16564:13;:11;:13::i;:::-;119571:17:::1;119555:13;:33;;;;119474:122:::0;:::o;120421:158::-;120517:8;4420:30;4441:8;4420:20;:30::i;:::-;120539:32:::1;120553:8;120563:7;120539:13;:32::i;:::-;120421:158:::0;;;:::o;115626:33::-;;;;:::o;79000:323::-;79061:7;79289:15;:13;:15::i;:::-;79274:12;;79258:13;;:28;:46;79251:53;;79000:323;:::o;115816:43::-;;;;;;;;;;;;;;;;;;;;;;:::o;115546:34::-;;;;:::o;120587:163::-;120688:4;4248:10;4240:18;;:4;:18;;;4236:83;;4275:32;4296:10;4275:20;:32::i;:::-;4236:83;120705:37:::1;120724:4;120730:2;120734:7;120705:18;:37::i;:::-;120587:163:::0;;;;:::o;32566:438::-;32661:7;32670;32690:26;32719:17;:26;32737:7;32719:26;;;;;;;;;;;32690:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32790:1;32762:30;;:7;:16;;;:30;;;32758:92;;;32819:19;32809:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32758:92;32862:21;32926:17;:15;:17::i;:::-;32886:57;;32899:7;:23;;;32887:35;;:9;:35;;;;:::i;:::-;32886:57;;;;:::i;:::-;32862:81;;32964:7;:16;;;32982:13;32956:40;;;;;;32566:438;;;;;:::o;119602:126::-;16564:13;:11;:13::i;:::-;119702:18:::1;119685:14;:35;;;;119602:126:::0;:::o;121140:109::-;16564:13;:11;:13::i;:::-;121201:10:::1;121193:24;;:47;121218:21;121193:47;;;;;;;;;;;;;;;;;;;;;;;121185:56;;;::::0;::::1;;121140:109::o:0;116235:488::-;116315:6;;;;;;;;;;;116314:7;116306:49;;;;;;;;;;;;:::i;:::-;;;;;;;;;115492:4;116391:9;116375:13;:11;:13::i;:::-;:25;;;;:::i;:::-;116374:40;;116366:84;;;;;;;;;;;;:::i;:::-;;;;;;;;;116482:13;;116469:9;:26;;116461:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;116558:7;:5;:7::i;:::-;116544:21;;:10;:21;;;116540:138;;116611:9;116604:4;;:16;;;;:::i;:::-;116590:9;:31;;116582:84;;;;;;;;;;;;:::i;:::-;;;;;;;;;116540:138;116690:25;116700:3;116705:9;116690;:25::i;:::-;116235:488;;:::o;2899:143::-;2999:42;2899:143;:::o;120758:171::-;120863:4;4248:10;4240:18;;:4;:18;;;4236:83;;4275:32;4296:10;4275:20;:32::i;:::-;4236:83;120880:41:::1;120903:4;120909:2;120913:7;120880:22;:41::i;:::-;120758:171:::0;;;;:::o;119376:86::-;16564:13;:11;:13::i;:::-;119446:8:::1;119439:4;:15;;;;119376:86:::0;:::o;116731:1152::-;116775:6;;;;;;;;;;;116774:7;116766:49;;;;;;;;;;;;:::i;:::-;;;;;;;;;115492:4;116834:13;:11;:13::i;:::-;:25;116826:69;;;;;;;;;;;;:::i;:::-;;;;;;;;;116930:14;;116914:12;;:30;116906:74;;;;;;;;;;;;:::i;:::-;;;;;;;;;117026:1;116999:25;117013:10;116999:13;:25::i;:::-;:28;116991:71;;;;;;;;;;;;:::i;:::-;;;;;;;;;117075:23;117101:3;;;;;;;;;;;:13;;;117115:10;117101:25;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;117075:51;;117137:16;117167:12;117195:9;117190:343;117210:15;117206:1;:19;117190:343;;;117254:3;;;;;;;;;;;:23;;;117278:10;117290:1;117254:38;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;117247:45;;117330:5;117310:25;;:10;:16;117321:4;117310:16;;;;;;;;;;;;;;;;;;;;;:25;;;:70;;;;;117366:14;;117355:7;117340:12;;:22;;;;:::i;:::-;117339:41;117310:70;:127;;;;;115492:4;117417:7;117401:13;:11;:13::i;:::-;:23;;;;:::i;:::-;117400:37;117310:127;117307:215;;;117457:9;;;;;:::i;:::-;;;;117502:4;117485:10;:16;117496:4;117485:16;;;;;;;;;;;;:21;;;;;;;;;;;;;;;;;;117307:215;117227:3;;;;;:::i;:::-;;;;117190:343;;;;117562:1;117553:7;:10;117545:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;117644:14;;117627:12;;117617:7;:22;;;;:::i;:::-;117616:42;;117608:85;;;;;;;;;;;;:::i;:::-;;;;;;;;;115492:4;117723:13;:11;:13::i;:::-;117713:7;:23;;;;:::i;:::-;117712:38;;117704:81;;;;;;;;;;;;:::i;:::-;;;;;;;;;117796:30;117806:10;117818:7;117796:9;:30::i;:::-;117867:7;117852:12;;:22;;;;:::i;:::-;117837:12;:37;;;;116731:1152;;;:::o;115777:26::-;;;;;;;;;;;;;:::o;115421:28::-;;;;;;;;;;;;;:::o;118964:112::-;16564:13;:11;:13::i;:::-;119055::::1;119040:12;:28;;;;;;;;;;;;:::i;:::-;;118964:112:::0;:::o;115744:26::-;;;;;;;;;;;;;:::o;84642:152::-;84714:7;84757:27;84776:7;84757:18;:27::i;:::-;84734:52;;84642:152;;;:::o;119084:124::-;16564:13;:11;:13::i;:::-;119187::::1;119166:18;:34;;;;;;;;;;;;:::i;:::-;;119084:124:::0;:::o;80184:233::-;80256:7;80297:1;80280:19;;:5;:19;;;80276:60;;;80308:28;;;;;;;;;;;;;;80276:60;74343:13;80354:18;:25;80373:5;80354:25;;;;;;;;;;;;;;;;:55;80347:62;;80184:233;;;:::o;17326:103::-;16564:13;:11;:13::i;:::-;17391:30:::1;17418:1;17391:18;:30::i;:::-;17326:103::o:0;16678:87::-;16724:7;16751:6;;;;;;;;;;;16744:13;;16678:87;:::o;83425:104::-;83481:13;83514:7;83507:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83425:104;:::o;120139:274::-;120243:8;4420:30;4441:8;4420:20;:30::i;:::-;120272:8:::1;;;;;;;;;;;120264:87;;;;;;;;;;;;:::i;:::-;;;;;;;;;120362:43;120386:8;120396;120362:23;:43::i;:::-;120139:274:::0;;;:::o;119216:68::-;16564:13;:11;:13::i;:::-;119272:4:::1;119263:8;;:13;;;;;;;;;;;;;;;;;;119216:68::o:0;115503:36::-;;;;:::o;120937:195::-;121061:4;4248:10;4240:18;;:4;:18;;;4236:83;;4275:32;4296:10;4275:20;:32::i;:::-;4236:83;121077:47:::1;121100:4;121106:2;121110:7;121119:4;121077:22;:47::i;:::-;120937:195:::0;;;;;:::o;119292:76::-;16564:13;:11;:13::i;:::-;119354:6:::1;;;;;;;;;;;119353:7;119344:6;;:16;;;;;;;;;;;;;;;;;;119292:76::o:0;117891:412::-;117951:7;117976:23;118002:3;;;;;;;;;;;:13;;;118016:6;118002:21;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;117976:47;;118034:11;118056:12;118070:1;118056:15;;118087:9;118082:192;118102:15;118098:1;:19;118082:192;;;118145:3;;;;;;;;;;;:23;;;118169:6;118177:1;118145:34;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;118139:40;;118216:5;118197:24;;:10;:15;118208:3;118197:15;;;;;;;;;;;;;;;;;;;;;:24;;;118194:69;;;118241:6;;;;;:::i;:::-;;;;118194:69;118119:3;;;;;:::i;:::-;;;;118082:192;;;;118291:4;118284:11;;;;;117891:412;;;:::o;118468:488::-;118541:13;118575:16;118583:7;118575;:16::i;:::-;118567:76;;;;;;;;;;;;:::i;:::-;;;;;;;;;118761:5;118749:17;;:8;;;;;;;;;;;:17;;;118746:202;;;118788:18;118781:25;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;118746:202;118871:1;118848:12;118842:26;;;;;:::i;:::-;;;:30;:106;;;;;;;;;;;;;;;;;118899:12;118913:18;:7;:16;:18::i;:::-;118882:60;;;;;;;;;:::i;:::-;;;;;;;;;;;;;118842:106;118835:113;;118468:488;;;;:::o;115587:32::-;;;;:::o;115456:40::-;115492:4;115456:40;:::o;90755:164::-;90852:4;90876:18;:25;90895:5;90876:25;;;;;;;;;;;;;;;:35;90902:8;90876:35;;;;;;;;;;;;;;;;;;;;;;;;;90869:42;;90755:164;;;;:::o;17584:201::-;16564:13;:11;:13::i;:::-;17693:1:::1;17673:22;;:8;:22;;;;17665:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;17749:28;17768:8;17749:18;:28::i;:::-;17584:201:::0;:::o;82347:639::-;82432:4;82771:10;82756:25;;:11;:25;;;;:102;;;;82848:10;82833:25;;:11;:25;;;;82756:102;:179;;;;82925:10;82910:25;;:11;:25;;;;82756:179;82736:199;;82347:639;;;:::o;32296:215::-;32398:4;32437:26;32422:41;;;:11;:41;;;;:81;;;;32467:36;32491:11;32467:23;:36::i;:::-;32422:81;32415:88;;32296:215;;;:::o;16843:132::-;16918:12;:10;:12::i;:::-;16907:23;;:7;:5;:7::i;:::-;:23;;;16899:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;16843:132::o;33654:332::-;33773:17;:15;:17::i;:::-;33757:33;;:12;:33;;;;33749:88;;;;;;;;;;;;:::i;:::-;;;;;;;;;33876:1;33856:22;;:8;:22;;;;33848:60;;;;;;;;;;;;:::i;:::-;;;;;;;;;33943:35;;;;;;;;33955:8;33943:35;;;;;;33965:12;33943:35;;;;;33921:19;:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33654:332;;:::o;91177:282::-;91242:4;91298:7;91279:15;:13;:15::i;:::-;:26;;:66;;;;;91332:13;;91322:7;:23;91279:66;:153;;;;;91431:1;75119:8;91383:17;:26;91401:7;91383:26;;;;;;;;;;;;:44;:49;91279:153;91259:173;;91177:282;;;:::o;4478:419::-;4717:1;2999:42;4669:45;;;:49;4665:225;;;2999:42;4740;;;4791:4;4798:8;4740:67;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4735:144;;4854:8;4835:28;;;;;;;;;;;:::i;:::-;;;;;;;;4735:144;4665:225;4478:419;:::o;89173:400::-;89254:13;89270:16;89278:7;89270;:16::i;:::-;89254:32;;89326:5;89303:28;;:19;:17;:19::i;:::-;:28;;;89299:175;;89351:44;89368:5;89375:19;:17;:19::i;:::-;89351:16;:44::i;:::-;89346:128;;89423:35;;;;;;;;;;;;;;89346:128;89299:175;89519:2;89486:15;:24;89502:7;89486:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;89557:7;89553:2;89537:28;;89546:5;89537:28;;;;;;;;;;;;89173:400;;;:::o;78516:92::-;78572:7;78516:92;:::o;93439:2817::-;93573:27;93603;93622:7;93603:18;:27::i;:::-;93573:57;;93688:4;93647:45;;93663:19;93647:45;;;93643:86;;93701:28;;;;;;;;;;;;;;93643:86;93743:27;93772:23;93799:35;93826:7;93799:26;:35::i;:::-;93742:92;;;;93934:68;93959:15;93976:4;93982:19;:17;:19::i;:::-;93934:24;:68::i;:::-;93929:180;;94022:43;94039:4;94045:19;:17;:19::i;:::-;94022:16;:43::i;:::-;94017:92;;94074:35;;;;;;;;;;;;;;94017:92;93929:180;94140:1;94126:16;;:2;:16;;;94122:52;;;94151:23;;;;;;;;;;;;;;94122:52;94187:43;94209:4;94215:2;94219:7;94228:1;94187:21;:43::i;:::-;94323:15;94320:2;;;94463:1;94442:19;94435:30;94320:2;94860:18;:24;94879:4;94860:24;;;;;;;;;;;;;;;;94858:26;;;;;;;;;;;;94929:18;:22;94948:2;94929:22;;;;;;;;;;;;;;;;94927:24;;;;;;;;;;;95251:146;95288:2;95337:45;95352:4;95358:2;95362:19;95337:14;:45::i;:::-;75399:8;95309:73;95251:18;:146::i;:::-;95222:17;:26;95240:7;95222:26;;;;;;;;;;;:175;;;;95568:1;75399:8;95517:19;:47;:52;95513:627;;;95590:19;95622:1;95612:7;:11;95590:33;;95779:1;95745:17;:30;95763:11;95745:30;;;;;;;;;;;;:35;95741:384;;;95883:13;;95868:11;:28;95864:242;;96063:19;96030:17;:30;96048:11;96030:30;;;;;;;;;;;:52;;;;95864:242;95741:384;95513:627;;96187:7;96183:2;96168:27;;96177:4;96168:27;;;;;;;;;;;;96206:42;96227:4;96233:2;96237:7;96246:1;96206:20;:42::i;:::-;93439:2817;;;;;;:::o;33286:97::-;33344:6;33370:5;33363:12;;33286:97;:::o;106775:112::-;106852:27;106862:2;106866:8;106852:27;;;;;;;;;;;;:9;:27::i;:::-;106775:112;;:::o;96352:185::-;96490:39;96507:4;96513:2;96517:7;96490:39;;;;;;;;;;;;:16;:39::i;:::-;96352:185;;;:::o;85797:1275::-;85864:7;85884:12;85899:7;85884:22;;85967:4;85948:15;:13;:15::i;:::-;:23;85944:1061;;86001:13;;85994:4;:20;85990:1015;;;86039:14;86056:17;:23;86074:4;86056:23;;;;;;;;;;;;86039:40;;86173:1;75119:8;86145:6;:24;:29;86141:845;;;86810:113;86827:1;86817:6;:11;86810:113;;;86870:17;:25;86888:6;;;;;;;86870:25;;;;;;;;;;;;86861:34;;86810:113;;;86956:6;86949:13;;;;;;86141:845;85990:1015;;85944:1061;87033:31;;;;;;;;;;;;;;85797:1275;;;;:::o;17945:191::-;18019:16;18038:6;;;;;;;;;;;18019:25;;18064:8;18055:6;;:17;;;;;;;;;;;;;;;;;;18119:8;18088:40;;18109:8;18088:40;;;;;;;;;;;;17945:191;;:::o;90290:308::-;90401:19;:17;:19::i;:::-;90389:31;;:8;:31;;;90385:61;;;90429:17;;;;;;;;;;;;;;90385:61;90511:8;90459:18;:39;90478:19;:17;:19::i;:::-;90459:39;;;;;;;;;;;;;;;:49;90499:8;90459:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;90571:8;90535:55;;90550:19;:17;:19::i;:::-;90535:55;;;90581:8;90535:55;;;;;;:::i;:::-;;;;;;;;90290:308;;:::o;97135:399::-;97302:31;97315:4;97321:2;97325:7;97302:12;:31::i;:::-;97366:1;97348:2;:14;;;:19;97344:183;;97387:56;97418:4;97424:2;97428:7;97437:5;97387:30;:56::i;:::-;97382:145;;97471:40;;;;;;;;;;;;;;97382:145;97344:183;97135:399;;;;:::o;12377:723::-;12433:13;12663:1;12654:5;:10;12650:53;;;12681:10;;;;;;;;;;;;;;;;;;;;;12650:53;12713:12;12728:5;12713:20;;12744:14;12769:78;12784:1;12776:4;:9;12769:78;;12802:8;;;;;:::i;:::-;;;;12833:2;12825:10;;;;;:::i;:::-;;;12769:78;;;12857:19;12889:6;12879:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12857:39;;12907:154;12923:1;12914:5;:10;12907:154;;12951:1;12941:11;;;;;:::i;:::-;;;13018:2;13010:5;:10;;;;:::i;:::-;12997:2;:24;;;;:::i;:::-;12984:39;;12967:6;12974;12967:14;;;;;;;;;;;;;;;;;;;:56;;;;;;;;;;;13047:2;13038:11;;;;;:::i;:::-;;;12907:154;;;13085:6;13071:21;;;;;12377:723;;;;:::o;30693:157::-;30778:4;30817:25;30802:40;;;:11;:40;;;;30795:47;;30693:157;;;:::o;15176:98::-;15229:7;15256:10;15249:17;;15176:98;:::o;112943:105::-;113003:7;113030:10;113023:17;;112943:105;:::o;92340:479::-;92442:27;92471:23;92512:38;92553:15;:24;92569:7;92553:24;;;;;;;;;;;92512:65;;92724:18;92701:41;;92781:19;92775:26;92756:45;;92686:126;;;;:::o;91568:659::-;91717:11;91882:16;91875:5;91871:28;91862:37;;92042:16;92031:9;92027:32;92014:45;;92192:15;92181:9;92178:30;92170:5;92159:9;92156:20;92153:56;92143:66;;91750:470;;;;;:::o;98196:159::-;;;;;:::o;112252:311::-;112387:7;112407:16;75523:3;112433:19;:41;;112407:68;;75523:3;112501:31;112512:4;112518:2;112522:9;112501:10;:31::i;:::-;112493:40;;:62;;112486:69;;;112252:311;;;;;:::o;87620:450::-;87700:14;87868:16;87861:5;87857:28;87848:37;;88045:5;88031:11;88006:23;88002:41;87999:52;87992:5;87989:63;87979:73;;87736:327;;;;:::o;99020:158::-;;;;;:::o;106002:689::-;106133:19;106139:2;106143:8;106133:5;:19::i;:::-;106212:1;106194:2;:14;;;:19;106190:483;;106234:11;106248:13;;106234:27;;106280:13;106302:8;106296:3;:14;106280:30;;106329:233;106360:62;106399:1;106403:2;106407:7;;;;;;106416:5;106360:30;:62::i;:::-;106355:167;;106458:40;;;;;;;;;;;;;;106355:167;106557:3;106549:5;:11;106329:233;;106644:3;106627:13;;:20;106623:34;;106649:8;;;106623:34;106190:483;;;106002:689;;;:::o;99618:716::-;99781:4;99827:2;99802:45;;;99848:19;:17;:19::i;:::-;99869:4;99875:7;99884:5;99802:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;99798:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;100102:1;100085:6;:13;:18;100081:235;;;100131:40;;;;;;;;;;;;;;100081:235;100274:6;100268:13;100259:6;100255:2;100251:15;100244:38;99798:529;99971:54;;;99961:64;;;:6;:64;;;;99954:71;;;99618:716;;;;;;:::o;111953:147::-;112090:6;111953:147;;;;;:::o;100796:2454::-;100869:20;100892:13;;100869:36;;100932:1;100920:8;:13;100916:44;;;100942:18;;;;;;;;;;;;;;100916:44;100973:61;101003:1;101007:2;101011:12;101025:8;100973:21;:61::i;:::-;101517:1;74481:2;101487:1;:26;;101486:32;101474:8;:45;101448:18;:22;101467:2;101448:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;101796:139;101833:2;101887:33;101910:1;101914:2;101918:1;101887:14;:33::i;:::-;101854:30;101875:8;101854:20;:30::i;:::-;:66;101796:18;:139::i;:::-;101762:17;:31;101780:12;101762:31;;;;;;;;;;;:173;;;;101952:16;101983:11;102012:8;101997:12;:23;101983:37;;102267:16;102263:2;102259:25;102247:37;;102639:12;102599:8;102558:1;102496:25;102437:1;102376;102349:335;102764:1;102750:12;102746:20;102704:346;102805:3;102796:7;102793:16;102704:346;;103023:7;103013:8;103010:1;102983:25;102980:1;102977;102972:59;102858:1;102849:7;102845:15;102834:26;;102704:346;;;102708:77;103095:1;103083:8;:13;103079:45;;;103105:19;;;;;;;;;;;;;;103079:45;103157:3;103141:13;:19;;;;100796:2454;;103182:60;103211:1;103215:2;103219:12;103233:8;103182:20;:60::i;:::-;100796:2454;;;:::o;88172:324::-;88242:14;88475:1;88465:8;88462:15;88436:24;88432:46;88422:56;;88344:145;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:343:1:-;84:5;109:65;125:48;166:6;125:48;:::i;:::-;109:65;:::i;:::-;100:74;;197:6;190:5;183:21;235:4;228:5;224:16;273:3;264:6;259:3;255:16;252:25;249:2;;;290:1;287;280:12;249:2;303:41;337:6;332:3;327;303:41;:::i;:::-;90:260;;;;;;:::o;356:345::-;434:5;459:66;475:49;517:6;475:49;:::i;:::-;459:66;:::i;:::-;450:75;;548:6;541:5;534:21;586:4;579:5;575:16;624:3;615:6;610:3;606:16;603:25;600:2;;;641:1;638;631:12;600:2;654:41;688:6;683:3;678;654:41;:::i;:::-;440:261;;;;;;:::o;707:139::-;753:5;791:6;778:20;769:29;;807:33;834:5;807:33;:::i;:::-;759:87;;;;:::o;852:133::-;895:5;933:6;920:20;911:29;;949:30;973:5;949:30;:::i;:::-;901:84;;;;:::o;991:137::-;1045:5;1076:6;1070:13;1061:22;;1092:30;1116:5;1092:30;:::i;:::-;1051:77;;;;:::o;1134:137::-;1179:5;1217:6;1204:20;1195:29;;1233:32;1259:5;1233:32;:::i;:::-;1185:86;;;;:::o;1277:141::-;1333:5;1364:6;1358:13;1349:22;;1380:32;1406:5;1380:32;:::i;:::-;1339:79;;;;:::o;1437:271::-;1492:5;1541:3;1534:4;1526:6;1522:17;1518:27;1508:2;;1559:1;1556;1549:12;1508:2;1599:6;1586:20;1624:78;1698:3;1690:6;1683:4;1675:6;1671:17;1624:78;:::i;:::-;1615:87;;1498:210;;;;;:::o;1728:273::-;1784:5;1833:3;1826:4;1818:6;1814:17;1810:27;1800:2;;1851:1;1848;1841:12;1800:2;1891:6;1878:20;1916:79;1991:3;1983:6;1976:4;1968:6;1964:17;1916:79;:::i;:::-;1907:88;;1790:211;;;;;:::o;2007:139::-;2053:5;2091:6;2078:20;2069:29;;2107:33;2134:5;2107:33;:::i;:::-;2059:87;;;;:::o;2152:143::-;2209:5;2240:6;2234:13;2225:22;;2256:33;2283:5;2256:33;:::i;:::-;2215:80;;;;:::o;2301:137::-;2346:5;2384:6;2371:20;2362:29;;2400:32;2426:5;2400:32;:::i;:::-;2352:86;;;;:::o;2444:262::-;2503:6;2552:2;2540:9;2531:7;2527:23;2523:32;2520:2;;;2568:1;2565;2558:12;2520:2;2611:1;2636:53;2681:7;2672:6;2661:9;2657:22;2636:53;:::i;:::-;2626:63;;2582:117;2510:196;;;;:::o;2712:407::-;2780:6;2788;2837:2;2825:9;2816:7;2812:23;2808:32;2805:2;;;2853:1;2850;2843:12;2805:2;2896:1;2921:53;2966:7;2957:6;2946:9;2942:22;2921:53;:::i;:::-;2911:63;;2867:117;3023:2;3049:53;3094:7;3085:6;3074:9;3070:22;3049:53;:::i;:::-;3039:63;;2994:118;2795:324;;;;;:::o;3125:552::-;3202:6;3210;3218;3267:2;3255:9;3246:7;3242:23;3238:32;3235:2;;;3283:1;3280;3273:12;3235:2;3326:1;3351:53;3396:7;3387:6;3376:9;3372:22;3351:53;:::i;:::-;3341:63;;3297:117;3453:2;3479:53;3524:7;3515:6;3504:9;3500:22;3479:53;:::i;:::-;3469:63;;3424:118;3581:2;3607:53;3652:7;3643:6;3632:9;3628:22;3607:53;:::i;:::-;3597:63;;3552:118;3225:452;;;;;:::o;3683:809::-;3778:6;3786;3794;3802;3851:3;3839:9;3830:7;3826:23;3822:33;3819:2;;;3868:1;3865;3858:12;3819:2;3911:1;3936:53;3981:7;3972:6;3961:9;3957:22;3936:53;:::i;:::-;3926:63;;3882:117;4038:2;4064:53;4109:7;4100:6;4089:9;4085:22;4064:53;:::i;:::-;4054:63;;4009:118;4166:2;4192:53;4237:7;4228:6;4217:9;4213:22;4192:53;:::i;:::-;4182:63;;4137:118;4322:2;4311:9;4307:18;4294:32;4353:18;4345:6;4342:30;4339:2;;;4385:1;4382;4375:12;4339:2;4413:62;4467:7;4458:6;4447:9;4443:22;4413:62;:::i;:::-;4403:72;;4265:220;3809:683;;;;;;;:::o;4498:401::-;4563:6;4571;4620:2;4608:9;4599:7;4595:23;4591:32;4588:2;;;4636:1;4633;4626:12;4588:2;4679:1;4704:53;4749:7;4740:6;4729:9;4725:22;4704:53;:::i;:::-;4694:63;;4650:117;4806:2;4832:50;4874:7;4865:6;4854:9;4850:22;4832:50;:::i;:::-;4822:60;;4777:115;4578:321;;;;;:::o;4905:407::-;4973:6;4981;5030:2;5018:9;5009:7;5005:23;5001:32;4998:2;;;5046:1;5043;5036:12;4998:2;5089:1;5114:53;5159:7;5150:6;5139:9;5135:22;5114:53;:::i;:::-;5104:63;;5060:117;5216:2;5242:53;5287:7;5278:6;5267:9;5263:22;5242:53;:::i;:::-;5232:63;;5187:118;4988:324;;;;;:::o;5318:405::-;5385:6;5393;5442:2;5430:9;5421:7;5417:23;5413:32;5410:2;;;5458:1;5455;5448:12;5410:2;5501:1;5526:53;5571:7;5562:6;5551:9;5547:22;5526:53;:::i;:::-;5516:63;;5472:117;5628:2;5654:52;5698:7;5689:6;5678:9;5674:22;5654:52;:::i;:::-;5644:62;;5599:117;5400:323;;;;;:::o;5729:278::-;5796:6;5845:2;5833:9;5824:7;5820:23;5816:32;5813:2;;;5861:1;5858;5851:12;5813:2;5904:1;5929:61;5982:7;5973:6;5962:9;5958:22;5929:61;:::i;:::-;5919:71;;5875:125;5803:204;;;;:::o;6013:260::-;6071:6;6120:2;6108:9;6099:7;6095:23;6091:32;6088:2;;;6136:1;6133;6126:12;6088:2;6179:1;6204:52;6248:7;6239:6;6228:9;6224:22;6204:52;:::i;:::-;6194:62;;6150:116;6078:195;;;;:::o;6279:282::-;6348:6;6397:2;6385:9;6376:7;6372:23;6368:32;6365:2;;;6413:1;6410;6403:12;6365:2;6456:1;6481:63;6536:7;6527:6;6516:9;6512:22;6481:63;:::i;:::-;6471:73;;6427:127;6355:206;;;;:::o;6567:375::-;6636:6;6685:2;6673:9;6664:7;6660:23;6656:32;6653:2;;;6701:1;6698;6691:12;6653:2;6772:1;6761:9;6757:17;6744:31;6802:18;6794:6;6791:30;6788:2;;;6834:1;6831;6824:12;6788:2;6862:63;6917:7;6908:6;6897:9;6893:22;6862:63;:::i;:::-;6852:73;;6715:220;6643:299;;;;:::o;6948:262::-;7007:6;7056:2;7044:9;7035:7;7031:23;7027:32;7024:2;;;7072:1;7069;7062:12;7024:2;7115:1;7140:53;7185:7;7176:6;7165:9;7161:22;7140:53;:::i;:::-;7130:63;;7086:117;7014:196;;;;:::o;7216:284::-;7286:6;7335:2;7323:9;7314:7;7310:23;7306:32;7303:2;;;7351:1;7348;7341:12;7303:2;7394:1;7419:64;7475:7;7466:6;7455:9;7451:22;7419:64;:::i;:::-;7409:74;;7365:128;7293:207;;;;:::o;7506:407::-;7574:6;7582;7631:2;7619:9;7610:7;7606:23;7602:32;7599:2;;;7647:1;7644;7637:12;7599:2;7690:1;7715:53;7760:7;7751:6;7740:9;7736:22;7715:53;:::i;:::-;7705:63;;7661:117;7817:2;7843:53;7888:7;7879:6;7868:9;7864:22;7843:53;:::i;:::-;7833:63;;7788:118;7589:324;;;;;:::o;7919:118::-;8006:24;8024:5;8006:24;:::i;:::-;8001:3;7994:37;7984:53;;:::o;8043:109::-;8124:21;8139:5;8124:21;:::i;:::-;8119:3;8112:34;8102:50;;:::o;8158:360::-;8244:3;8272:38;8304:5;8272:38;:::i;:::-;8326:70;8389:6;8384:3;8326:70;:::i;:::-;8319:77;;8405:52;8450:6;8445:3;8438:4;8431:5;8427:16;8405:52;:::i;:::-;8482:29;8504:6;8482:29;:::i;:::-;8477:3;8473:39;8466:46;;8248:270;;;;;:::o;8524:181::-;8636:62;8692:5;8636:62;:::i;:::-;8631:3;8624:75;8614:91;;:::o;8711:193::-;8829:68;8891:5;8829:68;:::i;:::-;8824:3;8817:81;8807:97;;:::o;8910:364::-;8998:3;9026:39;9059:5;9026:39;:::i;:::-;9081:71;9145:6;9140:3;9081:71;:::i;:::-;9074:78;;9161:52;9206:6;9201:3;9194:4;9187:5;9183:16;9161:52;:::i;:::-;9238:29;9260:6;9238:29;:::i;:::-;9233:3;9229:39;9222:46;;9002:272;;;;;:::o;9280:377::-;9386:3;9414:39;9447:5;9414:39;:::i;:::-;9469:89;9551:6;9546:3;9469:89;:::i;:::-;9462:96;;9567:52;9612:6;9607:3;9600:4;9593:5;9589:16;9567:52;:::i;:::-;9644:6;9639:3;9635:16;9628:23;;9390:267;;;;;:::o;9687:845::-;9790:3;9827:5;9821:12;9856:36;9882:9;9856:36;:::i;:::-;9908:89;9990:6;9985:3;9908:89;:::i;:::-;9901:96;;10028:1;10017:9;10013:17;10044:1;10039:137;;;;10190:1;10185:341;;;;10006:520;;10039:137;10123:4;10119:9;10108;10104:25;10099:3;10092:38;10159:6;10154:3;10150:16;10143:23;;10039:137;;10185:341;10252:38;10284:5;10252:38;:::i;:::-;10312:1;10326:154;10340:6;10337:1;10334:13;10326:154;;;10414:7;10408:14;10404:1;10399:3;10395:11;10388:35;10464:1;10455:7;10451:15;10440:26;;10362:4;10359:1;10355:12;10350:17;;10326:154;;;10509:6;10504:3;10500:16;10493:23;;10192:334;;10006:520;;9794:738;;;;;;:::o;10538:366::-;10680:3;10701:67;10765:2;10760:3;10701:67;:::i;:::-;10694:74;;10777:93;10866:3;10777:93;:::i;:::-;10895:2;10890:3;10886:12;10879:19;;10684:220;;;:::o;10910:366::-;11052:3;11073:67;11137:2;11132:3;11073:67;:::i;:::-;11066:74;;11149:93;11238:3;11149:93;:::i;:::-;11267:2;11262:3;11258:12;11251:19;;11056:220;;;:::o;11282:366::-;11424:3;11445:67;11509:2;11504:3;11445:67;:::i;:::-;11438:74;;11521:93;11610:3;11521:93;:::i;:::-;11639:2;11634:3;11630:12;11623:19;;11428:220;;;:::o;11654:366::-;11796:3;11817:67;11881:2;11876:3;11817:67;:::i;:::-;11810:74;;11893:93;11982:3;11893:93;:::i;:::-;12011:2;12006:3;12002:12;11995:19;;11800:220;;;:::o;12026:366::-;12168:3;12189:67;12253:2;12248:3;12189:67;:::i;:::-;12182:74;;12265:93;12354:3;12265:93;:::i;:::-;12383:2;12378:3;12374:12;12367:19;;12172:220;;;:::o;12398:400::-;12558:3;12579:84;12661:1;12656:3;12579:84;:::i;:::-;12572:91;;12672:93;12761:3;12672:93;:::i;:::-;12790:1;12785:3;12781:11;12774:18;;12562:236;;;:::o;12804:366::-;12946:3;12967:67;13031:2;13026:3;12967:67;:::i;:::-;12960:74;;13043:93;13132:3;13043:93;:::i;:::-;13161:2;13156:3;13152:12;13145:19;;12950:220;;;:::o;13176:366::-;13318:3;13339:67;13403:2;13398:3;13339:67;:::i;:::-;13332:74;;13415:93;13504:3;13415:93;:::i;:::-;13533:2;13528:3;13524:12;13517:19;;13322:220;;;:::o;13548:366::-;13690:3;13711:67;13775:2;13770:3;13711:67;:::i;:::-;13704:74;;13787:93;13876:3;13787:93;:::i;:::-;13905:2;13900:3;13896:12;13889:19;;13694:220;;;:::o;13920:366::-;14062:3;14083:67;14147:2;14142:3;14083:67;:::i;:::-;14076:74;;14159:93;14248:3;14159:93;:::i;:::-;14277:2;14272:3;14268:12;14261:19;;14066:220;;;:::o;14292:366::-;14434:3;14455:67;14519:2;14514:3;14455:67;:::i;:::-;14448:74;;14531:93;14620:3;14531:93;:::i;:::-;14649:2;14644:3;14640:12;14633:19;;14438:220;;;:::o;14664:366::-;14806:3;14827:67;14891:2;14886:3;14827:67;:::i;:::-;14820:74;;14903:93;14992:3;14903:93;:::i;:::-;15021:2;15016:3;15012:12;15005:19;;14810:220;;;:::o;15036:118::-;15123:24;15141:5;15123:24;:::i;:::-;15118:3;15111:37;15101:53;;:::o;15160:695::-;15438:3;15460:92;15548:3;15539:6;15460:92;:::i;:::-;15453:99;;15569:95;15660:3;15651:6;15569:95;:::i;:::-;15562:102;;15681:148;15825:3;15681:148;:::i;:::-;15674:155;;15846:3;15839:10;;15442:413;;;;;:::o;15861:222::-;15954:4;15992:2;15981:9;15977:18;15969:26;;16005:71;16073:1;16062:9;16058:17;16049:6;16005:71;:::i;:::-;15959:124;;;;:::o;16089:332::-;16210:4;16248:2;16237:9;16233:18;16225:26;;16261:71;16329:1;16318:9;16314:17;16305:6;16261:71;:::i;:::-;16342:72;16410:2;16399:9;16395:18;16386:6;16342:72;:::i;:::-;16215:206;;;;;:::o;16427:640::-;16622:4;16660:3;16649:9;16645:19;16637:27;;16674:71;16742:1;16731:9;16727:17;16718:6;16674:71;:::i;:::-;16755:72;16823:2;16812:9;16808:18;16799:6;16755:72;:::i;:::-;16837;16905:2;16894:9;16890:18;16881:6;16837:72;:::i;:::-;16956:9;16950:4;16946:20;16941:2;16930:9;16926:18;16919:48;16984:76;17055:4;17046:6;16984:76;:::i;:::-;16976:84;;16627:440;;;;;;;:::o;17073:332::-;17194:4;17232:2;17221:9;17217:18;17209:26;;17245:71;17313:1;17302:9;17298:17;17289:6;17245:71;:::i;:::-;17326:72;17394:2;17383:9;17379:18;17370:6;17326:72;:::i;:::-;17199:206;;;;;:::o;17411:210::-;17498:4;17536:2;17525:9;17521:18;17513:26;;17549:65;17611:1;17600:9;17596:17;17587:6;17549:65;:::i;:::-;17503:118;;;;:::o;17627:272::-;17745:4;17783:2;17772:9;17768:18;17760:26;;17796:96;17889:1;17878:9;17874:17;17865:6;17796:96;:::i;:::-;17750:149;;;;:::o;17905:284::-;18029:4;18067:2;18056:9;18052:18;18044:26;;18080:102;18179:1;18168:9;18164:17;18155:6;18080:102;:::i;:::-;18034:155;;;;:::o;18195:313::-;18308:4;18346:2;18335:9;18331:18;18323:26;;18395:9;18389:4;18385:20;18381:1;18370:9;18366:17;18359:47;18423:78;18496:4;18487:6;18423:78;:::i;:::-;18415:86;;18313:195;;;;:::o;18514:419::-;18680:4;18718:2;18707:9;18703:18;18695:26;;18767:9;18761:4;18757:20;18753:1;18742:9;18738:17;18731:47;18795:131;18921:4;18795:131;:::i;:::-;18787:139;;18685:248;;;:::o;18939:419::-;19105:4;19143:2;19132:9;19128:18;19120:26;;19192:9;19186:4;19182:20;19178:1;19167:9;19163:17;19156:47;19220:131;19346:4;19220:131;:::i;:::-;19212:139;;19110:248;;;:::o;19364:419::-;19530:4;19568:2;19557:9;19553:18;19545:26;;19617:9;19611:4;19607:20;19603:1;19592:9;19588:17;19581:47;19645:131;19771:4;19645:131;:::i;:::-;19637:139;;19535:248;;;:::o;19789:419::-;19955:4;19993:2;19982:9;19978:18;19970:26;;20042:9;20036:4;20032:20;20028:1;20017:9;20013:17;20006:47;20070:131;20196:4;20070:131;:::i;:::-;20062:139;;19960:248;;;:::o;20214:419::-;20380:4;20418:2;20407:9;20403:18;20395:26;;20467:9;20461:4;20457:20;20453:1;20442:9;20438:17;20431:47;20495:131;20621:4;20495:131;:::i;:::-;20487:139;;20385:248;;;:::o;20639:419::-;20805:4;20843:2;20832:9;20828:18;20820:26;;20892:9;20886:4;20882:20;20878:1;20867:9;20863:17;20856:47;20920:131;21046:4;20920:131;:::i;:::-;20912:139;;20810:248;;;:::o;21064:419::-;21230:4;21268:2;21257:9;21253:18;21245:26;;21317:9;21311:4;21307:20;21303:1;21292:9;21288:17;21281:47;21345:131;21471:4;21345:131;:::i;:::-;21337:139;;21235:248;;;:::o;21489:419::-;21655:4;21693:2;21682:9;21678:18;21670:26;;21742:9;21736:4;21732:20;21728:1;21717:9;21713:17;21706:47;21770:131;21896:4;21770:131;:::i;:::-;21762:139;;21660:248;;;:::o;21914:419::-;22080:4;22118:2;22107:9;22103:18;22095:26;;22167:9;22161:4;22157:20;22153:1;22142:9;22138:17;22131:47;22195:131;22321:4;22195:131;:::i;:::-;22187:139;;22085:248;;;:::o;22339:419::-;22505:4;22543:2;22532:9;22528:18;22520:26;;22592:9;22586:4;22582:20;22578:1;22567:9;22563:17;22556:47;22620:131;22746:4;22620:131;:::i;:::-;22612:139;;22510:248;;;:::o;22764:419::-;22930:4;22968:2;22957:9;22953:18;22945:26;;23017:9;23011:4;23007:20;23003:1;22992:9;22988:17;22981:47;23045:131;23171:4;23045:131;:::i;:::-;23037:139;;22935:248;;;:::o;23189:222::-;23282:4;23320:2;23309:9;23305:18;23297:26;;23333:71;23401:1;23390:9;23386:17;23377:6;23333:71;:::i;:::-;23287:124;;;;:::o;23417:129::-;23451:6;23478:20;;:::i;:::-;23468:30;;23507:33;23535:4;23527:6;23507:33;:::i;:::-;23458:88;;;:::o;23552:75::-;23585:6;23618:2;23612:9;23602:19;;23592:35;:::o;23633:307::-;23694:4;23784:18;23776:6;23773:30;23770:2;;;23806:18;;:::i;:::-;23770:2;23844:29;23866:6;23844:29;:::i;:::-;23836:37;;23928:4;23922;23918:15;23910:23;;23699:241;;;:::o;23946:308::-;24008:4;24098:18;24090:6;24087:30;24084:2;;;24120:18;;:::i;:::-;24084:2;24158:29;24180:6;24158:29;:::i;:::-;24150:37;;24242:4;24236;24232:15;24224:23;;24013:241;;;:::o;24260:141::-;24309:4;24332:3;24324:11;;24355:3;24352:1;24345:14;24389:4;24386:1;24376:18;24368:26;;24314:87;;;:::o;24407:98::-;24458:6;24492:5;24486:12;24476:22;;24465:40;;;:::o;24511:99::-;24563:6;24597:5;24591:12;24581:22;;24570:40;;;:::o;24616:168::-;24699:11;24733:6;24728:3;24721:19;24773:4;24768:3;24764:14;24749:29;;24711:73;;;;:::o;24790:169::-;24874:11;24908:6;24903:3;24896:19;24948:4;24943:3;24939:14;24924:29;;24886:73;;;;:::o;24965:148::-;25067:11;25104:3;25089:18;;25079:34;;;;:::o;25119:305::-;25159:3;25178:20;25196:1;25178:20;:::i;:::-;25173:25;;25212:20;25230:1;25212:20;:::i;:::-;25207:25;;25366:1;25298:66;25294:74;25291:1;25288:81;25285:2;;;25372:18;;:::i;:::-;25285:2;25416:1;25413;25409:9;25402:16;;25163:261;;;;:::o;25430:185::-;25470:1;25487:20;25505:1;25487:20;:::i;:::-;25482:25;;25521:20;25539:1;25521:20;:::i;:::-;25516:25;;25560:1;25550:2;;25565:18;;:::i;:::-;25550:2;25607:1;25604;25600:9;25595:14;;25472:143;;;;:::o;25621:348::-;25661:7;25684:20;25702:1;25684:20;:::i;:::-;25679:25;;25718:20;25736:1;25718:20;:::i;:::-;25713:25;;25906:1;25838:66;25834:74;25831:1;25828:81;25823:1;25816:9;25809:17;25805:105;25802:2;;;25913:18;;:::i;:::-;25802:2;25961:1;25958;25954:9;25943:20;;25669:300;;;;:::o;25975:191::-;26015:4;26035:20;26053:1;26035:20;:::i;:::-;26030:25;;26069:20;26087:1;26069:20;:::i;:::-;26064:25;;26108:1;26105;26102:8;26099:2;;;26113:18;;:::i;:::-;26099:2;26158:1;26155;26151:9;26143:17;;26020:146;;;;:::o;26172:96::-;26209:7;26238:24;26256:5;26238:24;:::i;:::-;26227:35;;26217:51;;;:::o;26274:90::-;26308:7;26351:5;26344:13;26337:21;26326:32;;26316:48;;;:::o;26370:149::-;26406:7;26446:66;26439:5;26435:78;26424:89;;26414:105;;;:::o;26525:126::-;26562:7;26602:42;26595:5;26591:54;26580:65;;26570:81;;;:::o;26657:77::-;26694:7;26723:5;26712:16;;26702:32;;;:::o;26740:109::-;26776:7;26816:26;26809:5;26805:38;26794:49;;26784:65;;;:::o;26855:176::-;26930:9;26963:62;27019:5;26963:62;:::i;:::-;26950:75;;26940:91;;;:::o;27037:138::-;27112:9;27145:24;27163:5;27145:24;:::i;:::-;27132:37;;27122:53;;;:::o;27181:188::-;27262:9;27295:68;27357:5;27295:68;:::i;:::-;27282:81;;27272:97;;;:::o;27375:144::-;27456:9;27489:24;27507:5;27489:24;:::i;:::-;27476:37;;27466:53;;;:::o;27525:154::-;27609:6;27604:3;27599;27586:30;27671:1;27662:6;27657:3;27653:16;27646:27;27576:103;;;:::o;27685:307::-;27753:1;27763:113;27777:6;27774:1;27771:13;27763:113;;;27862:1;27857:3;27853:11;27847:18;27843:1;27838:3;27834:11;27827:39;27799:2;27796:1;27792:10;27787:15;;27763:113;;;27894:6;27891:1;27888:13;27885:2;;;27974:1;27965:6;27960:3;27956:16;27949:27;27885:2;27734:258;;;;:::o;27998:320::-;28042:6;28079:1;28073:4;28069:12;28059:22;;28126:1;28120:4;28116:12;28147:18;28137:2;;28203:4;28195:6;28191:17;28181:27;;28137:2;28265;28257:6;28254:14;28234:18;28231:38;28228:2;;;28284:18;;:::i;:::-;28228:2;28049:269;;;;:::o;28324:281::-;28407:27;28429:4;28407:27;:::i;:::-;28399:6;28395:40;28537:6;28525:10;28522:22;28501:18;28489:10;28486:34;28483:62;28480:2;;;28548:18;;:::i;:::-;28480:2;28588:10;28584:2;28577:22;28367:238;;;:::o;28611:233::-;28650:3;28673:24;28691:5;28673:24;:::i;:::-;28664:33;;28719:66;28712:5;28709:77;28706:2;;;28789:18;;:::i;:::-;28706:2;28836:1;28829:5;28825:13;28818:20;;28654:190;;;:::o;28850:176::-;28882:1;28899:20;28917:1;28899:20;:::i;:::-;28894:25;;28933:20;28951:1;28933:20;:::i;:::-;28928:25;;28972:1;28962:2;;28977:18;;:::i;:::-;28962:2;29018:1;29015;29011:9;29006:14;;28884:142;;;;:::o;29032:180::-;29080:77;29077:1;29070:88;29177:4;29174:1;29167:15;29201:4;29198:1;29191:15;29218:180;29266:77;29263:1;29256:88;29363:4;29360:1;29353:15;29387:4;29384:1;29377:15;29404:180;29452:77;29449:1;29442:88;29549:4;29546:1;29539:15;29573:4;29570:1;29563:15;29590:180;29638:77;29635:1;29628:88;29735:4;29732:1;29725:15;29759:4;29756:1;29749:15;29776:102;29817:6;29868:2;29864:7;29859:2;29852:5;29848:14;29844:28;29834:38;;29824:54;;;:::o;29884:179::-;30024:31;30020:1;30012:6;30008:14;30001:55;29990:73;:::o;30069:180::-;30209:32;30205:1;30197:6;30193:14;30186:56;30175:74;:::o;30255:225::-;30395:34;30391:1;30383:6;30379:14;30372:58;30464:8;30459:2;30451:6;30447:15;30440:33;30361:119;:::o;30486:291::-;30626:34;30622:1;30614:6;30610:14;30603:58;30695:34;30690:2;30682:6;30678:15;30671:59;30764:5;30759:2;30751:6;30747:15;30740:30;30592:185;:::o;30783:227::-;30923:34;30919:1;30911:6;30907:14;30900:58;30992:10;30987:2;30979:6;30975:15;30968:35;30889:121;:::o;31016:155::-;31156:7;31152:1;31144:6;31140:14;31133:31;31122:49;:::o;31177:182::-;31317:34;31313:1;31305:6;31301:14;31294:58;31283:76;:::o;31365:234::-;31505:34;31501:1;31493:6;31489:14;31482:58;31574:17;31569:2;31561:6;31557:15;31550:42;31471:128;:::o;31605:179::-;31745:31;31741:1;31733:6;31729:14;31722:55;31711:73;:::o;31790:229::-;31930:34;31926:1;31918:6;31914:14;31907:58;31999:12;31994:2;31986:6;31982:15;31975:37;31896:123;:::o;32025:181::-;32165:33;32161:1;32153:6;32149:14;32142:57;32131:75;:::o;32212:175::-;32352:27;32348:1;32340:6;32336:14;32329:51;32318:69;:::o;32393:122::-;32466:24;32484:5;32466:24;:::i;:::-;32459:5;32456:35;32446:2;;32505:1;32502;32495:12;32446:2;32436:79;:::o;32521:116::-;32591:21;32606:5;32591:21;:::i;:::-;32584:5;32581:32;32571:2;;32627:1;32624;32617:12;32571:2;32561:76;:::o;32643:120::-;32715:23;32732:5;32715:23;:::i;:::-;32708:5;32705:34;32695:2;;32753:1;32750;32743:12;32695:2;32685:78;:::o;32769:122::-;32842:24;32860:5;32842:24;:::i;:::-;32835:5;32832:35;32822:2;;32881:1;32878;32871:12;32822:2;32812:79;:::o;32897:120::-;32969:23;32986:5;32969:23;:::i;:::-;32962:5;32959:34;32949:2;;33007:1;33004;32997:12;32949:2;32939:78;:::o
Swarm Source
ipfs://557647ba1577f9be115131dba0dde35bd08af818ffb905a3022ad50e481cf628
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.