Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 283 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Mint | 19756013 | 267 days ago | IN | 0 ETH | 0.00086543 | ||||
Mint | 19257472 | 337 days ago | IN | 0 ETH | 0.00226155 | ||||
Mint | 19211880 | 344 days ago | IN | 0 ETH | 0.00199346 | ||||
Mint | 19211821 | 344 days ago | IN | 0 ETH | 0.00215475 | ||||
Set Approval For... | 19048662 | 367 days ago | IN | 0 ETH | 0.00085044 | ||||
Mint | 19009582 | 372 days ago | IN | 0 ETH | 0.00204576 | ||||
Mint | 18995741 | 374 days ago | IN | 0 ETH | 0.00131171 | ||||
Mint | 18988513 | 375 days ago | IN | 0 ETH | 0.00163229 | ||||
Mint | 18986395 | 375 days ago | IN | 0 ETH | 0.00169036 | ||||
Mint | 18986390 | 375 days ago | IN | 0 ETH | 0.00265208 | ||||
Mint | 18986292 | 375 days ago | IN | 0 ETH | 0.00297285 | ||||
Withdraw | 18986164 | 375 days ago | IN | 0 ETH | 0.00078769 | ||||
Mint | 18986136 | 375 days ago | IN | 0.01 ETH | 0.00232103 | ||||
Mint | 18985925 | 375 days ago | IN | 0 ETH | 0.00240026 | ||||
Mint | 18985925 | 375 days ago | IN | 0 ETH | 0.00195566 | ||||
Mint | 18985925 | 375 days ago | IN | 0 ETH | 0.00195566 | ||||
Mint | 18985925 | 375 days ago | IN | 0 ETH | 0.00240026 | ||||
Mint | 18985865 | 375 days ago | IN | 0 ETH | 0.00309996 | ||||
Mint | 18985762 | 375 days ago | IN | 0.01 ETH | 0.00239465 | ||||
Mint | 18985762 | 375 days ago | IN | 0.01 ETH | 0.00239465 | ||||
Mint | 18985713 | 375 days ago | IN | 0 ETH | 0.00314893 | ||||
Mint | 18985689 | 375 days ago | IN | 0 ETH | 0.00311718 | ||||
Mint | 18985686 | 375 days ago | IN | 0 ETH | 0.00264818 | ||||
Mint | 18985640 | 375 days ago | IN | 0.02 ETH | 0.00273529 | ||||
Mint | 18985627 | 375 days ago | IN | 0 ETH | 0.00322503 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
18986164 | 375 days ago | 1.632 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
GaryApeYachtClub
Compiler Version
v0.8.23+commit.f704f362
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-01-10 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/math/SignedMath.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.20; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol) pragma solidity ^0.8.20; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Muldiv operation overflow. */ error MathOverflowedMulDiv(); enum Rounding { Floor, // Toward negative infinity Ceil, // Toward positive infinity Trunc, // Toward zero Expand // Away from zero } /** * @dev Returns the addition of two unsigned integers, with an overflow flag. */ 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. */ 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. */ 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. */ 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. */ 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 largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds towards infinity instead * of rounding towards zero. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { if (b == 0) { // Guarantee the same behavior as in a regular Solidity division. return a / b; } // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or * denominator == 0. * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by * Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0 = x * y; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. if (denominator <= prod1) { revert MathOverflowedMulDiv(); } /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. // Always >= 1. See https://cs.stackexchange.com/q/138556/92363. uint256 twos = denominator & (0 - denominator); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also // works in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded * towards zero. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256 of a positive value rounded towards zero. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0); } } /** * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers. */ function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) { return uint8(rounding) % 2 == 1; } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol) pragma solidity ^0.8.20; /** * @dev String operations. */ library Strings { bytes16 private constant HEX_DIGITS = "0123456789abcdef"; uint8 private constant ADDRESS_LENGTH = 20; /** * @dev The `value` string doesn't fit in the specified `length`. */ error StringsInsufficientHexLength(uint256 value, uint256 length); /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), HEX_DIGITS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toStringSigned(int256 value) internal pure returns (string memory) { return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { uint256 localValue = value; 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_DIGITS[localValue & 0xf]; localValue >>= 4; } if (localValue != 0) { revert StringsInsufficientHexLength(value, length); } 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); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b)); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; /** * @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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @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 { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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 { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _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: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: contracts/garyapeyachtclub.sol pragma solidity ^0.8.18; contract GaryApeYachtClub is ERC721A, Ownable { using Strings for uint256; uint256 public maxSupply = 5000; uint256 public cost = 0.002 ether; uint256 public maxPerTx = 20; uint256 public maxFree = 2; bool public sale; string public baseURI; mapping(address => uint256) private _mintedFreeAmount; error SaleNotActive(); error MaxSupplyReached(); error MaxPerTxReached(); error NotEnoughETH(); constructor(string memory initbaseURI) ERC721A("Gary Ape Yacht Club", "GAYC") Ownable(msg.sender) { baseURI = initbaseURI; } function mint(uint256 _amount) external payable { if (!sale) revert SaleNotActive(); uint256 _cost = (msg.value == 0 && (_mintedFreeAmount[msg.sender] + _amount <= maxFree)) ? 0 : cost; if (_amount > maxPerTx) revert MaxPerTxReached(); if (msg.value < _cost * _amount) revert NotEnoughETH(); if (_totalMinted() + _amount > maxSupply) revert MaxSupplyReached(); if (_cost == 0) { _mintedFreeAmount[msg.sender] += _amount; } _mint(msg.sender, _amount); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); return string(abi.encodePacked(baseURI, tokenId.toString(), ".json")); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function setBaseURI(string memory uri) public onlyOwner { baseURI = uri; } function startSale() external onlyOwner { sale = !sale; } function setCost(uint256 _cost) external onlyOwner { cost = _cost; } function setMaxFreeMint(uint256 _maxFree) external onlyOwner { maxFree = _maxFree; } function setMaxSupply(uint256 _maxSupply) external onlyOwner { maxSupply = _maxSupply; } function airdrop(address receiver, uint256 _amount) external onlyOwner { _mint(receiver, _amount); } function withdraw() external onlyOwner { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed"); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"initbaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MaxPerTxReached","type":"error"},{"inputs":[],"name":"MaxSupplyReached","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotEnoughETH","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"SaleNotActive","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":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":"maxFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"sale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxFree","type":"uint256"}],"name":"setMaxFreeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405261138860095566071afd498d0000600a556014600b556002600c553480156200002b575f80fd5b5060405162003314380380620033148339818101604052810190620000519190620003e7565b336040518060400160405280601381526020017f476172792041706520596163687420436c7562000000000000000000000000008152506040518060400160405280600481526020017f47415943000000000000000000000000000000000000000000000000000000008152508160029081620000cf91906200066d565b508060039081620000e191906200066d565b50620000f26200019760201b60201c565b5f8190555050505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036200016c575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040162000163919062000794565b60405180910390fd5b6200017d816200019f60201b60201c565b5080600e90816200018f91906200066d565b5050620007af565b5f6001905090565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b620002c3826200027b565b810181811067ffffffffffffffff82111715620002e557620002e46200028b565b5b80604052505050565b5f620002f962000262565b9050620003078282620002b8565b919050565b5f67ffffffffffffffff8211156200032957620003286200028b565b5b62000334826200027b565b9050602081019050919050565b5f5b838110156200036057808201518184015260208101905062000343565b5f8484015250505050565b5f620003816200037b846200030c565b620002ee565b905082815260208101848484011115620003a0576200039f62000277565b5b620003ad84828562000341565b509392505050565b5f82601f830112620003cc57620003cb62000273565b5b8151620003de8482602086016200036b565b91505092915050565b5f60208284031215620003ff57620003fe6200026b565b5b5f82015167ffffffffffffffff8111156200041f576200041e6200026f565b5b6200042d84828501620003b5565b91505092915050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200048557607f821691505b6020821081036200049b576200049a62000440565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620004ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620004c2565b6200050b8683620004c2565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f620005556200054f620005498462000523565b6200052c565b62000523565b9050919050565b5f819050919050565b620005708362000535565b620005886200057f826200055c565b848454620004ce565b825550505050565b5f90565b6200059e62000590565b620005ab81848462000565565b505050565b5b81811015620005d257620005c65f8262000594565b600181019050620005b1565b5050565b601f8211156200062157620005eb81620004a1565b620005f684620004b3565b8101602085101562000606578190505b6200061e6200061585620004b3565b830182620005b0565b50505b505050565b5f82821c905092915050565b5f620006435f198460080262000626565b1980831691505092915050565b5f6200065d838362000632565b9150826002028217905092915050565b620006788262000436565b67ffffffffffffffff8111156200069457620006936200028b565b5b620006a082546200046d565b620006ad828285620005d6565b5f60209050601f831160018114620006e3575f8415620006ce578287015190505b620006da858262000650565b86555062000749565b601f198416620006f386620004a1565b5f5b828110156200071c57848901518255600182019150602085019450602081019050620006f5565b868310156200073c578489015162000738601f89168262000632565b8355505b6001600288020188555050505b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6200077c8262000751565b9050919050565b6200078e8162000770565b82525050565b5f602082019050620007a95f83018462000783565b92915050565b612b5780620007bd5f395ff3fe6080604052600436106101d7575f3560e01c80636f8b44b011610101578063a22cb46511610094578063d5abeb0111610063578063d5abeb0114610615578063e985e9c51461063f578063f2fde38b1461067b578063f968adbe146106a3576101d7565b8063a22cb4651461057f578063b66a0e5d146105a7578063b88d4fde146105bd578063c87b56dd146105d9576101d7565b80638ba4cc3c116100d05780638ba4cc3c146104e75780638da5cb5b1461050f57806395d89b4114610539578063a0712d6814610563576101d7565b80636f8b44b01461044557806370a082311461046d578063715018a6146104a9578063742a4c9b146104bf576101d7565b80633ccfd60b1161017957806355f804b31161014857806355f804b31461038d5780636352211e146103b55780636ad1fe02146103f15780636c0360eb1461041b576101d7565b80633ccfd60b1461030957806342842e0e1461031f57806344a0d68a1461033b578063485a68a314610363576101d7565b8063095ea7b3116101b5578063095ea7b31461027d57806313faede61461029957806318160ddd146102c357806323b872dd146102ed576101d7565b806301ffc9a7146101db57806306fdde0314610217578063081812fc14610241575b5f80fd5b3480156101e6575f80fd5b5061020160048036038101906101fc9190611e46565b6106cd565b60405161020e9190611e8b565b60405180910390f35b348015610222575f80fd5b5061022b61075e565b6040516102389190611f2e565b60405180910390f35b34801561024c575f80fd5b5061026760048036038101906102629190611f81565b6107ee565b6040516102749190611feb565b60405180910390f35b6102976004803603810190610292919061202e565b610868565b005b3480156102a4575f80fd5b506102ad6109a7565b6040516102ba919061207b565b60405180910390f35b3480156102ce575f80fd5b506102d76109ad565b6040516102e4919061207b565b60405180910390f35b61030760048036038101906103029190612094565b6109c2565b005b348015610314575f80fd5b5061031d610cd0565b005b61033960048036038101906103349190612094565b610d83565b005b348015610346575f80fd5b50610361600480360381019061035c9190611f81565b610da2565b005b34801561036e575f80fd5b50610377610db4565b604051610384919061207b565b60405180910390f35b348015610398575f80fd5b506103b360048036038101906103ae9190612210565b610dba565b005b3480156103c0575f80fd5b506103db60048036038101906103d69190611f81565b610dd5565b6040516103e89190611feb565b60405180910390f35b3480156103fc575f80fd5b50610405610de6565b6040516104129190611e8b565b60405180910390f35b348015610426575f80fd5b5061042f610df8565b60405161043c9190611f2e565b60405180910390f35b348015610450575f80fd5b5061046b60048036038101906104669190611f81565b610e84565b005b348015610478575f80fd5b50610493600480360381019061048e9190612257565b610e96565b6040516104a0919061207b565b60405180910390f35b3480156104b4575f80fd5b506104bd610f4b565b005b3480156104ca575f80fd5b506104e560048036038101906104e09190611f81565b610f5e565b005b3480156104f2575f80fd5b5061050d6004803603810190610508919061202e565b610f70565b005b34801561051a575f80fd5b50610523610f86565b6040516105309190611feb565b60405180910390f35b348015610544575f80fd5b5061054d610fae565b60405161055a9190611f2e565b60405180910390f35b61057d60048036038101906105789190611f81565b61103e565b005b34801561058a575f80fd5b506105a560048036038101906105a091906122ac565b611225565b005b3480156105b2575f80fd5b506105bb61132b565b005b6105d760048036038101906105d29190612388565b61135d565b005b3480156105e4575f80fd5b506105ff60048036038101906105fa9190611f81565b6113cf565b60405161060c9190611f2e565b60405180910390f35b348015610620575f80fd5b5061062961144b565b604051610636919061207b565b60405180910390f35b34801561064a575f80fd5b5061066560048036038101906106609190612408565b611451565b6040516106729190611e8b565b60405180910390f35b348015610686575f80fd5b506106a1600480360381019061069c9190612257565b6114df565b005b3480156106ae575f80fd5b506106b7611563565b6040516106c4919061207b565b60405180910390f35b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061072757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107575750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461076d90612473565b80601f016020809104026020016040519081016040528092919081815260200182805461079990612473565b80156107e45780601f106107bb576101008083540402835291602001916107e4565b820191905f5260205f20905b8154815290600101906020018083116107c757829003601f168201915b5050505050905090565b5f6107f882611569565b61082e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f61087282610dd5565b90508073ffffffffffffffffffffffffffffffffffffffff166108936115c3565b73ffffffffffffffffffffffffffffffffffffffff16146108f6576108bf816108ba6115c3565b611451565b6108f5576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b8260065f8481526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600a5481565b5f6109b66115ca565b6001545f540303905090565b5f6109cc826115d2565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a33576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80610a3e84611695565b91509150610a548187610a4f6115c3565b6116b8565b610aa057610a6986610a646115c3565b611451565b610a9f576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610b05576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b1286868660016116fb565b8015610b1c575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550610be485610bc0888887611701565b7c020000000000000000000000000000000000000000000000000000000017611728565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610c60575f6001850190505f60045f8381526020019081526020015f205403610c5e575f548114610c5d578360045f8381526020019081526020015f20819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610cc88686866001611752565b505050505050565b610cd8611758565b5f3373ffffffffffffffffffffffffffffffffffffffff1647604051610cfd906124d0565b5f6040518083038185875af1925050503d805f8114610d37576040519150601f19603f3d011682016040523d82523d5f602084013e610d3c565b606091505b5050905080610d80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d779061252e565b60405180910390fd5b50565b610d9d83838360405180602001604052805f81525061135d565b505050565b610daa611758565b80600a8190555050565b600c5481565b610dc2611758565b80600e9081610dd191906126e9565b5050565b5f610ddf826115d2565b9050919050565b600d5f9054906101000a900460ff1681565b600e8054610e0590612473565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3190612473565b8015610e7c5780601f10610e5357610100808354040283529160200191610e7c565b820191905f5260205f20905b815481529060010190602001808311610e5f57829003601f168201915b505050505081565b610e8c611758565b8060098190555050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610efc576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b610f53611758565b610f5c5f6117df565b565b610f66611758565b80600c8190555050565b610f78611758565b610f8282826118a2565b5050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054610fbd90612473565b80601f0160208091040260200160405190810160405280929190818152602001828054610fe990612473565b80156110345780601f1061100b57610100808354040283529160200191611034565b820191905f5260205f20905b81548152906001019060200180831161101757829003601f168201915b5050505050905090565b600d5f9054906101000a900460ff16611083576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80341480156110dd5750600c5482600f5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546110da91906127e5565b11155b6110e957600a546110eb565b5f5b9050600b54821115611129576040517f84eef40b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81816111359190612818565b34101561116e576040517f583aa02600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6009548261117a611a4b565b61118491906127e5565b11156111bc576040517fd05cb60900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f81036112175781600f5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461120f91906127e5565b925050819055505b61122133836118a2565b5050565b8060075f6112316115c3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166112da6115c3565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161131f9190611e8b565b60405180910390a35050565b611333611758565b600d5f9054906101000a900460ff1615600d5f6101000a81548160ff021916908315150217905550565b6113688484846109c2565b5f8373ffffffffffffffffffffffffffffffffffffffff163b146113c95761139284848484611a5c565b6113c8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606113da82611569565b611419576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611410906128c9565b60405180910390fd5b600e61142483611ba7565b6040516020016114359291906129eb565b6040516020818303038152906040529050919050565b60095481565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6114e7611758565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611557575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161154e9190611feb565b60405180910390fd5b611560816117df565b50565b600b5481565b5f816115736115ca565b1115801561158157505f5482105b80156115bc57505f7c010000000000000000000000000000000000000000000000000000000060045f8581526020019081526020015f205416145b9050919050565b5f33905090565b5f6001905090565b5f80829050806115e06115ca565b1161165e575f5481101561165d575f60045f8381526020019081526020015f205490505f7c010000000000000000000000000000000000000000000000000000000082160361165b575b5f81036116515760045f836001900393508381526020019081526020015f2054905061162a565b8092505050611690565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e8611717868684611c71565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b611760611c79565b73ffffffffffffffffffffffffffffffffffffffff1661177e610f86565b73ffffffffffffffffffffffffffffffffffffffff16146117dd576117a1611c79565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016117d49190611feb565b60405180910390fd5b565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f805490505f82036118e0576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6118ec5f8483856116fb565b600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254019250508190555061195e8361194f5f865f611701565b61195885611c80565b17611728565b60045f8381526020019081526020015f20819055505f80838301905073ffffffffffffffffffffffffffffffffffffffff8516915082825f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600183015b8181146119f85780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a46001810190506119bf565b505f8203611a32576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f819055505050611a465f848385611752565b505050565b5f611a546115ca565b5f5403905090565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611a816115c3565b8786866040518563ffffffff1660e01b8152600401611aa39493929190612a6b565b6020604051808303815f875af1925050508015611ade57506040513d601f19601f82011682018060405250810190611adb9190612ac9565b60015b611b54573d805f8114611b0c576040519150601f19603f3d011682016040523d82523d5f602084013e611b11565b606091505b505f815103611b4c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60605f6001611bb584611c8f565b0190505f8167ffffffffffffffff811115611bd357611bd26120ec565b5b6040519080825280601f01601f191660200182016040528015611c055781602001600182028036833780820191505090505b5090505f82602001820190505b600115611c66578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581611c5b57611c5a612af4565b5b0494505f8503611c12575b819350505050919050565b5f9392505050565b5f33905090565b5f6001821460e11b9050919050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611ceb577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381611ce157611ce0612af4565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611d28576d04ee2d6d415b85acef81000000008381611d1e57611d1d612af4565b5b0492506020810190505b662386f26fc100008310611d5757662386f26fc100008381611d4d57611d4c612af4565b5b0492506010810190505b6305f5e1008310611d80576305f5e1008381611d7657611d75612af4565b5b0492506008810190505b6127108310611da5576127108381611d9b57611d9a612af4565b5b0492506004810190505b60648310611dc85760648381611dbe57611dbd612af4565b5b0492506002810190505b600a8310611dd7576001810190505b80915050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611e2581611df1565b8114611e2f575f80fd5b50565b5f81359050611e4081611e1c565b92915050565b5f60208284031215611e5b57611e5a611de9565b5b5f611e6884828501611e32565b91505092915050565b5f8115159050919050565b611e8581611e71565b82525050565b5f602082019050611e9e5f830184611e7c565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015611edb578082015181840152602081019050611ec0565b5f8484015250505050565b5f601f19601f8301169050919050565b5f611f0082611ea4565b611f0a8185611eae565b9350611f1a818560208601611ebe565b611f2381611ee6565b840191505092915050565b5f6020820190508181035f830152611f468184611ef6565b905092915050565b5f819050919050565b611f6081611f4e565b8114611f6a575f80fd5b50565b5f81359050611f7b81611f57565b92915050565b5f60208284031215611f9657611f95611de9565b5b5f611fa384828501611f6d565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611fd582611fac565b9050919050565b611fe581611fcb565b82525050565b5f602082019050611ffe5f830184611fdc565b92915050565b61200d81611fcb565b8114612017575f80fd5b50565b5f8135905061202881612004565b92915050565b5f806040838503121561204457612043611de9565b5b5f6120518582860161201a565b925050602061206285828601611f6d565b9150509250929050565b61207581611f4e565b82525050565b5f60208201905061208e5f83018461206c565b92915050565b5f805f606084860312156120ab576120aa611de9565b5b5f6120b88682870161201a565b93505060206120c98682870161201a565b92505060406120da86828701611f6d565b9150509250925092565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61212282611ee6565b810181811067ffffffffffffffff82111715612141576121406120ec565b5b80604052505050565b5f612153611de0565b905061215f8282612119565b919050565b5f67ffffffffffffffff82111561217e5761217d6120ec565b5b61218782611ee6565b9050602081019050919050565b828183375f83830152505050565b5f6121b46121af84612164565b61214a565b9050828152602081018484840111156121d0576121cf6120e8565b5b6121db848285612194565b509392505050565b5f82601f8301126121f7576121f66120e4565b5b81356122078482602086016121a2565b91505092915050565b5f6020828403121561222557612224611de9565b5b5f82013567ffffffffffffffff81111561224257612241611ded565b5b61224e848285016121e3565b91505092915050565b5f6020828403121561226c5761226b611de9565b5b5f6122798482850161201a565b91505092915050565b61228b81611e71565b8114612295575f80fd5b50565b5f813590506122a681612282565b92915050565b5f80604083850312156122c2576122c1611de9565b5b5f6122cf8582860161201a565b92505060206122e085828601612298565b9150509250929050565b5f67ffffffffffffffff821115612304576123036120ec565b5b61230d82611ee6565b9050602081019050919050565b5f61232c612327846122ea565b61214a565b905082815260208101848484011115612348576123476120e8565b5b612353848285612194565b509392505050565b5f82601f83011261236f5761236e6120e4565b5b813561237f84826020860161231a565b91505092915050565b5f805f80608085870312156123a05761239f611de9565b5b5f6123ad8782880161201a565b94505060206123be8782880161201a565b93505060406123cf87828801611f6d565b925050606085013567ffffffffffffffff8111156123f0576123ef611ded565b5b6123fc8782880161235b565b91505092959194509250565b5f806040838503121561241e5761241d611de9565b5b5f61242b8582860161201a565b925050602061243c8582860161201a565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061248a57607f821691505b60208210810361249d5761249c612446565b5b50919050565b5f81905092915050565b50565b5f6124bb5f836124a3565b91506124c6826124ad565b5f82019050919050565b5f6124da826124b0565b9150819050919050565b7f5472616e73666572206661696c656400000000000000000000000000000000005f82015250565b5f612518600f83611eae565b9150612523826124e4565b602082019050919050565b5f6020820190508181035f8301526125458161250c565b9050919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026125a87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261256d565b6125b2868361256d565b95508019841693508086168417925050509392505050565b5f819050919050565b5f6125ed6125e86125e384611f4e565b6125ca565b611f4e565b9050919050565b5f819050919050565b612606836125d3565b61261a612612826125f4565b848454612579565b825550505050565b5f90565b61262e612622565b6126398184846125fd565b505050565b5b8181101561265c576126515f82612626565b60018101905061263f565b5050565b601f8211156126a1576126728161254c565b61267b8461255e565b8101602085101561268a578190505b61269e6126968561255e565b83018261263e565b50505b505050565b5f82821c905092915050565b5f6126c15f19846008026126a6565b1980831691505092915050565b5f6126d983836126b2565b9150826002028217905092915050565b6126f282611ea4565b67ffffffffffffffff81111561270b5761270a6120ec565b5b6127158254612473565b612720828285612660565b5f60209050601f831160018114612751575f841561273f578287015190505b61274985826126ce565b8655506127b0565b601f19841661275f8661254c565b5f5b8281101561278657848901518255600182019150602085019450602081019050612761565b868310156127a3578489015161279f601f8916826126b2565b8355505b6001600288020188555050505b505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6127ef82611f4e565b91506127fa83611f4e565b9250828201905080821115612812576128116127b8565b5b92915050565b5f61282282611f4e565b915061282d83611f4e565b925082820261283b81611f4e565b91508282048414831517612852576128516127b8565b5b5092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f5f8201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b5f6128b3602f83611eae565b91506128be82612859565b604082019050919050565b5f6020820190508181035f8301526128e0816128a7565b9050919050565b5f81905092915050565b5f81546128fd81612473565b61290781866128e7565b9450600182165f8114612921576001811461293657612968565b60ff1983168652811515820286019350612968565b61293f8561254c565b5f5b8381101561296057815481890152600182019150602081019050612941565b838801955050505b50505092915050565b5f61297b82611ea4565b61298581856128e7565b9350612995818560208601611ebe565b80840191505092915050565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000005f82015250565b5f6129d56005836128e7565b91506129e0826129a1565b600582019050919050565b5f6129f682856128f1565b9150612a028284612971565b9150612a0d826129c9565b91508190509392505050565b5f81519050919050565b5f82825260208201905092915050565b5f612a3d82612a19565b612a478185612a23565b9350612a57818560208601611ebe565b612a6081611ee6565b840191505092915050565b5f608082019050612a7e5f830187611fdc565b612a8b6020830186611fdc565b612a98604083018561206c565b8181036060830152612aaa8184612a33565b905095945050505050565b5f81519050612ac381611e1c565b92915050565b5f60208284031215612ade57612add611de9565b5b5f612aeb84828501612ab5565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffdfea2646970667358221220e74de630c17cc0cc7b997f8d716c8316c6d2bf1ba39a1db4b42adf808fda35fc64736f6c6343000817003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d4e7933726b37356a4561454731756a6e364a376a6d7773784a7a705347376f3857474d386846476976354a742f00000000000000000000
Deployed Bytecode
0x6080604052600436106101d7575f3560e01c80636f8b44b011610101578063a22cb46511610094578063d5abeb0111610063578063d5abeb0114610615578063e985e9c51461063f578063f2fde38b1461067b578063f968adbe146106a3576101d7565b8063a22cb4651461057f578063b66a0e5d146105a7578063b88d4fde146105bd578063c87b56dd146105d9576101d7565b80638ba4cc3c116100d05780638ba4cc3c146104e75780638da5cb5b1461050f57806395d89b4114610539578063a0712d6814610563576101d7565b80636f8b44b01461044557806370a082311461046d578063715018a6146104a9578063742a4c9b146104bf576101d7565b80633ccfd60b1161017957806355f804b31161014857806355f804b31461038d5780636352211e146103b55780636ad1fe02146103f15780636c0360eb1461041b576101d7565b80633ccfd60b1461030957806342842e0e1461031f57806344a0d68a1461033b578063485a68a314610363576101d7565b8063095ea7b3116101b5578063095ea7b31461027d57806313faede61461029957806318160ddd146102c357806323b872dd146102ed576101d7565b806301ffc9a7146101db57806306fdde0314610217578063081812fc14610241575b5f80fd5b3480156101e6575f80fd5b5061020160048036038101906101fc9190611e46565b6106cd565b60405161020e9190611e8b565b60405180910390f35b348015610222575f80fd5b5061022b61075e565b6040516102389190611f2e565b60405180910390f35b34801561024c575f80fd5b5061026760048036038101906102629190611f81565b6107ee565b6040516102749190611feb565b60405180910390f35b6102976004803603810190610292919061202e565b610868565b005b3480156102a4575f80fd5b506102ad6109a7565b6040516102ba919061207b565b60405180910390f35b3480156102ce575f80fd5b506102d76109ad565b6040516102e4919061207b565b60405180910390f35b61030760048036038101906103029190612094565b6109c2565b005b348015610314575f80fd5b5061031d610cd0565b005b61033960048036038101906103349190612094565b610d83565b005b348015610346575f80fd5b50610361600480360381019061035c9190611f81565b610da2565b005b34801561036e575f80fd5b50610377610db4565b604051610384919061207b565b60405180910390f35b348015610398575f80fd5b506103b360048036038101906103ae9190612210565b610dba565b005b3480156103c0575f80fd5b506103db60048036038101906103d69190611f81565b610dd5565b6040516103e89190611feb565b60405180910390f35b3480156103fc575f80fd5b50610405610de6565b6040516104129190611e8b565b60405180910390f35b348015610426575f80fd5b5061042f610df8565b60405161043c9190611f2e565b60405180910390f35b348015610450575f80fd5b5061046b60048036038101906104669190611f81565b610e84565b005b348015610478575f80fd5b50610493600480360381019061048e9190612257565b610e96565b6040516104a0919061207b565b60405180910390f35b3480156104b4575f80fd5b506104bd610f4b565b005b3480156104ca575f80fd5b506104e560048036038101906104e09190611f81565b610f5e565b005b3480156104f2575f80fd5b5061050d6004803603810190610508919061202e565b610f70565b005b34801561051a575f80fd5b50610523610f86565b6040516105309190611feb565b60405180910390f35b348015610544575f80fd5b5061054d610fae565b60405161055a9190611f2e565b60405180910390f35b61057d60048036038101906105789190611f81565b61103e565b005b34801561058a575f80fd5b506105a560048036038101906105a091906122ac565b611225565b005b3480156105b2575f80fd5b506105bb61132b565b005b6105d760048036038101906105d29190612388565b61135d565b005b3480156105e4575f80fd5b506105ff60048036038101906105fa9190611f81565b6113cf565b60405161060c9190611f2e565b60405180910390f35b348015610620575f80fd5b5061062961144b565b604051610636919061207b565b60405180910390f35b34801561064a575f80fd5b5061066560048036038101906106609190612408565b611451565b6040516106729190611e8b565b60405180910390f35b348015610686575f80fd5b506106a1600480360381019061069c9190612257565b6114df565b005b3480156106ae575f80fd5b506106b7611563565b6040516106c4919061207b565b60405180910390f35b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061072757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107575750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461076d90612473565b80601f016020809104026020016040519081016040528092919081815260200182805461079990612473565b80156107e45780601f106107bb576101008083540402835291602001916107e4565b820191905f5260205f20905b8154815290600101906020018083116107c757829003601f168201915b5050505050905090565b5f6107f882611569565b61082e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f61087282610dd5565b90508073ffffffffffffffffffffffffffffffffffffffff166108936115c3565b73ffffffffffffffffffffffffffffffffffffffff16146108f6576108bf816108ba6115c3565b611451565b6108f5576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b8260065f8481526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600a5481565b5f6109b66115ca565b6001545f540303905090565b5f6109cc826115d2565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a33576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80610a3e84611695565b91509150610a548187610a4f6115c3565b6116b8565b610aa057610a6986610a646115c3565b611451565b610a9f576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610b05576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b1286868660016116fb565b8015610b1c575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550610be485610bc0888887611701565b7c020000000000000000000000000000000000000000000000000000000017611728565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610c60575f6001850190505f60045f8381526020019081526020015f205403610c5e575f548114610c5d578360045f8381526020019081526020015f20819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610cc88686866001611752565b505050505050565b610cd8611758565b5f3373ffffffffffffffffffffffffffffffffffffffff1647604051610cfd906124d0565b5f6040518083038185875af1925050503d805f8114610d37576040519150601f19603f3d011682016040523d82523d5f602084013e610d3c565b606091505b5050905080610d80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d779061252e565b60405180910390fd5b50565b610d9d83838360405180602001604052805f81525061135d565b505050565b610daa611758565b80600a8190555050565b600c5481565b610dc2611758565b80600e9081610dd191906126e9565b5050565b5f610ddf826115d2565b9050919050565b600d5f9054906101000a900460ff1681565b600e8054610e0590612473565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3190612473565b8015610e7c5780601f10610e5357610100808354040283529160200191610e7c565b820191905f5260205f20905b815481529060010190602001808311610e5f57829003601f168201915b505050505081565b610e8c611758565b8060098190555050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610efc576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b610f53611758565b610f5c5f6117df565b565b610f66611758565b80600c8190555050565b610f78611758565b610f8282826118a2565b5050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054610fbd90612473565b80601f0160208091040260200160405190810160405280929190818152602001828054610fe990612473565b80156110345780601f1061100b57610100808354040283529160200191611034565b820191905f5260205f20905b81548152906001019060200180831161101757829003601f168201915b5050505050905090565b600d5f9054906101000a900460ff16611083576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80341480156110dd5750600c5482600f5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546110da91906127e5565b11155b6110e957600a546110eb565b5f5b9050600b54821115611129576040517f84eef40b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81816111359190612818565b34101561116e576040517f583aa02600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6009548261117a611a4b565b61118491906127e5565b11156111bc576040517fd05cb60900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f81036112175781600f5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461120f91906127e5565b925050819055505b61122133836118a2565b5050565b8060075f6112316115c3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166112da6115c3565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161131f9190611e8b565b60405180910390a35050565b611333611758565b600d5f9054906101000a900460ff1615600d5f6101000a81548160ff021916908315150217905550565b6113688484846109c2565b5f8373ffffffffffffffffffffffffffffffffffffffff163b146113c95761139284848484611a5c565b6113c8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606113da82611569565b611419576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611410906128c9565b60405180910390fd5b600e61142483611ba7565b6040516020016114359291906129eb565b6040516020818303038152906040529050919050565b60095481565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6114e7611758565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611557575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161154e9190611feb565b60405180910390fd5b611560816117df565b50565b600b5481565b5f816115736115ca565b1115801561158157505f5482105b80156115bc57505f7c010000000000000000000000000000000000000000000000000000000060045f8581526020019081526020015f205416145b9050919050565b5f33905090565b5f6001905090565b5f80829050806115e06115ca565b1161165e575f5481101561165d575f60045f8381526020019081526020015f205490505f7c010000000000000000000000000000000000000000000000000000000082160361165b575b5f81036116515760045f836001900393508381526020019081526020015f2054905061162a565b8092505050611690565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e8611717868684611c71565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b611760611c79565b73ffffffffffffffffffffffffffffffffffffffff1661177e610f86565b73ffffffffffffffffffffffffffffffffffffffff16146117dd576117a1611c79565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016117d49190611feb565b60405180910390fd5b565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f805490505f82036118e0576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6118ec5f8483856116fb565b600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254019250508190555061195e8361194f5f865f611701565b61195885611c80565b17611728565b60045f8381526020019081526020015f20819055505f80838301905073ffffffffffffffffffffffffffffffffffffffff8516915082825f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600183015b8181146119f85780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a46001810190506119bf565b505f8203611a32576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f819055505050611a465f848385611752565b505050565b5f611a546115ca565b5f5403905090565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611a816115c3565b8786866040518563ffffffff1660e01b8152600401611aa39493929190612a6b565b6020604051808303815f875af1925050508015611ade57506040513d601f19601f82011682018060405250810190611adb9190612ac9565b60015b611b54573d805f8114611b0c576040519150601f19603f3d011682016040523d82523d5f602084013e611b11565b606091505b505f815103611b4c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60605f6001611bb584611c8f565b0190505f8167ffffffffffffffff811115611bd357611bd26120ec565b5b6040519080825280601f01601f191660200182016040528015611c055781602001600182028036833780820191505090505b5090505f82602001820190505b600115611c66578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581611c5b57611c5a612af4565b5b0494505f8503611c12575b819350505050919050565b5f9392505050565b5f33905090565b5f6001821460e11b9050919050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611ceb577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381611ce157611ce0612af4565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611d28576d04ee2d6d415b85acef81000000008381611d1e57611d1d612af4565b5b0492506020810190505b662386f26fc100008310611d5757662386f26fc100008381611d4d57611d4c612af4565b5b0492506010810190505b6305f5e1008310611d80576305f5e1008381611d7657611d75612af4565b5b0492506008810190505b6127108310611da5576127108381611d9b57611d9a612af4565b5b0492506004810190505b60648310611dc85760648381611dbe57611dbd612af4565b5b0492506002810190505b600a8310611dd7576001810190505b80915050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611e2581611df1565b8114611e2f575f80fd5b50565b5f81359050611e4081611e1c565b92915050565b5f60208284031215611e5b57611e5a611de9565b5b5f611e6884828501611e32565b91505092915050565b5f8115159050919050565b611e8581611e71565b82525050565b5f602082019050611e9e5f830184611e7c565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015611edb578082015181840152602081019050611ec0565b5f8484015250505050565b5f601f19601f8301169050919050565b5f611f0082611ea4565b611f0a8185611eae565b9350611f1a818560208601611ebe565b611f2381611ee6565b840191505092915050565b5f6020820190508181035f830152611f468184611ef6565b905092915050565b5f819050919050565b611f6081611f4e565b8114611f6a575f80fd5b50565b5f81359050611f7b81611f57565b92915050565b5f60208284031215611f9657611f95611de9565b5b5f611fa384828501611f6d565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611fd582611fac565b9050919050565b611fe581611fcb565b82525050565b5f602082019050611ffe5f830184611fdc565b92915050565b61200d81611fcb565b8114612017575f80fd5b50565b5f8135905061202881612004565b92915050565b5f806040838503121561204457612043611de9565b5b5f6120518582860161201a565b925050602061206285828601611f6d565b9150509250929050565b61207581611f4e565b82525050565b5f60208201905061208e5f83018461206c565b92915050565b5f805f606084860312156120ab576120aa611de9565b5b5f6120b88682870161201a565b93505060206120c98682870161201a565b92505060406120da86828701611f6d565b9150509250925092565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61212282611ee6565b810181811067ffffffffffffffff82111715612141576121406120ec565b5b80604052505050565b5f612153611de0565b905061215f8282612119565b919050565b5f67ffffffffffffffff82111561217e5761217d6120ec565b5b61218782611ee6565b9050602081019050919050565b828183375f83830152505050565b5f6121b46121af84612164565b61214a565b9050828152602081018484840111156121d0576121cf6120e8565b5b6121db848285612194565b509392505050565b5f82601f8301126121f7576121f66120e4565b5b81356122078482602086016121a2565b91505092915050565b5f6020828403121561222557612224611de9565b5b5f82013567ffffffffffffffff81111561224257612241611ded565b5b61224e848285016121e3565b91505092915050565b5f6020828403121561226c5761226b611de9565b5b5f6122798482850161201a565b91505092915050565b61228b81611e71565b8114612295575f80fd5b50565b5f813590506122a681612282565b92915050565b5f80604083850312156122c2576122c1611de9565b5b5f6122cf8582860161201a565b92505060206122e085828601612298565b9150509250929050565b5f67ffffffffffffffff821115612304576123036120ec565b5b61230d82611ee6565b9050602081019050919050565b5f61232c612327846122ea565b61214a565b905082815260208101848484011115612348576123476120e8565b5b612353848285612194565b509392505050565b5f82601f83011261236f5761236e6120e4565b5b813561237f84826020860161231a565b91505092915050565b5f805f80608085870312156123a05761239f611de9565b5b5f6123ad8782880161201a565b94505060206123be8782880161201a565b93505060406123cf87828801611f6d565b925050606085013567ffffffffffffffff8111156123f0576123ef611ded565b5b6123fc8782880161235b565b91505092959194509250565b5f806040838503121561241e5761241d611de9565b5b5f61242b8582860161201a565b925050602061243c8582860161201a565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061248a57607f821691505b60208210810361249d5761249c612446565b5b50919050565b5f81905092915050565b50565b5f6124bb5f836124a3565b91506124c6826124ad565b5f82019050919050565b5f6124da826124b0565b9150819050919050565b7f5472616e73666572206661696c656400000000000000000000000000000000005f82015250565b5f612518600f83611eae565b9150612523826124e4565b602082019050919050565b5f6020820190508181035f8301526125458161250c565b9050919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026125a87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261256d565b6125b2868361256d565b95508019841693508086168417925050509392505050565b5f819050919050565b5f6125ed6125e86125e384611f4e565b6125ca565b611f4e565b9050919050565b5f819050919050565b612606836125d3565b61261a612612826125f4565b848454612579565b825550505050565b5f90565b61262e612622565b6126398184846125fd565b505050565b5b8181101561265c576126515f82612626565b60018101905061263f565b5050565b601f8211156126a1576126728161254c565b61267b8461255e565b8101602085101561268a578190505b61269e6126968561255e565b83018261263e565b50505b505050565b5f82821c905092915050565b5f6126c15f19846008026126a6565b1980831691505092915050565b5f6126d983836126b2565b9150826002028217905092915050565b6126f282611ea4565b67ffffffffffffffff81111561270b5761270a6120ec565b5b6127158254612473565b612720828285612660565b5f60209050601f831160018114612751575f841561273f578287015190505b61274985826126ce565b8655506127b0565b601f19841661275f8661254c565b5f5b8281101561278657848901518255600182019150602085019450602081019050612761565b868310156127a3578489015161279f601f8916826126b2565b8355505b6001600288020188555050505b505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6127ef82611f4e565b91506127fa83611f4e565b9250828201905080821115612812576128116127b8565b5b92915050565b5f61282282611f4e565b915061282d83611f4e565b925082820261283b81611f4e565b91508282048414831517612852576128516127b8565b5b5092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f5f8201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b5f6128b3602f83611eae565b91506128be82612859565b604082019050919050565b5f6020820190508181035f8301526128e0816128a7565b9050919050565b5f81905092915050565b5f81546128fd81612473565b61290781866128e7565b9450600182165f8114612921576001811461293657612968565b60ff1983168652811515820286019350612968565b61293f8561254c565b5f5b8381101561296057815481890152600182019150602081019050612941565b838801955050505b50505092915050565b5f61297b82611ea4565b61298581856128e7565b9350612995818560208601611ebe565b80840191505092915050565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000005f82015250565b5f6129d56005836128e7565b91506129e0826129a1565b600582019050919050565b5f6129f682856128f1565b9150612a028284612971565b9150612a0d826129c9565b91508190509392505050565b5f81519050919050565b5f82825260208201905092915050565b5f612a3d82612a19565b612a478185612a23565b9350612a57818560208601611ebe565b612a6081611ee6565b840191505092915050565b5f608082019050612a7e5f830187611fdc565b612a8b6020830186611fdc565b612a98604083018561206c565b8181036060830152612aaa8184612a33565b905095945050505050565b5f81519050612ac381611e1c565b92915050565b5f60208284031215612ade57612add611de9565b5b5f612aeb84828501612ab5565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffdfea2646970667358221220e74de630c17cc0cc7b997f8d716c8316c6d2bf1ba39a1db4b42adf808fda35fc64736f6c63430008170033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d4e7933726b37356a4561454731756a6e364a376a6d7773784a7a705347376f3857474d386846476976354a742f00000000000000000000
-----Decoded View---------------
Arg [0] : initbaseURI (string): ipfs://QmNy3rk75jEaEG1ujn6J7jmwsxJzpSG7o8WGM8hFGiv5Jt/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d4e7933726b37356a4561454731756a6e364a376a6d7773
Arg [3] : 784a7a705347376f3857474d386846476976354a742f00000000000000000000
Deployed Bytecode Sourcemap
75667:2593:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42557:639;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;43459:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;49950:218;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;49383:408;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;75792:33;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;39210:323;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;53589:2825;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;78085:172;;;;;;;;;;;;;:::i;:::-;;56510:193;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;77657:82;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;75867:26;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;77482:88;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;44852:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;75900:16;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;75925:21;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;77853:102;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;40394:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;23317:103;;;;;;;;;;;;;:::i;:::-;;77747:98;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;77963:114;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;22642:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;43635:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;76302:589;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;50508:234;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;77578:71;;;;;;;;;;;;;:::i;:::-;;57301:407;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;76899:350;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;75754:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;50899:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;23575:220;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;75832:28;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;42557:639;42642:4;42981:10;42966:25;;:11;:25;;;;:102;;;;43058:10;43043:25;;:11;:25;;;;42966:102;:179;;;;43135:10;43120:25;;:11;:25;;;;42966:179;42946:199;;42557:639;;;:::o;43459:100::-;43513:13;43546:5;43539:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43459:100;:::o;49950:218::-;50026:7;50051:16;50059:7;50051;:16::i;:::-;50046:64;;50076:34;;;;;;;;;;;;;;50046:64;50130:15;:24;50146:7;50130:24;;;;;;;;;;;:30;;;;;;;;;;;;50123:37;;49950:218;;;:::o;49383:408::-;49472:13;49488:16;49496:7;49488;:16::i;:::-;49472:32;;49544:5;49521:28;;:19;:17;:19::i;:::-;:28;;;49517:175;;49569:44;49586:5;49593:19;:17;:19::i;:::-;49569:16;:44::i;:::-;49564:128;;49641:35;;;;;;;;;;;;;;49564:128;49517:175;49737:2;49704:15;:24;49720:7;49704:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;49775:7;49771:2;49755:28;;49764:5;49755:28;;;;;;;;;;;;49461:330;49383:408;;:::o;75792:33::-;;;;:::o;39210:323::-;39271:7;39499:15;:13;:15::i;:::-;39484:12;;39468:13;;:28;:46;39461:53;;39210:323;:::o;53589:2825::-;53731:27;53761;53780:7;53761:18;:27::i;:::-;53731:57;;53846:4;53805:45;;53821:19;53805:45;;;53801:86;;53859:28;;;;;;;;;;;;;;53801:86;53901:27;53930:23;53957:35;53984:7;53957:26;:35::i;:::-;53900:92;;;;54092:68;54117:15;54134:4;54140:19;:17;:19::i;:::-;54092:24;:68::i;:::-;54087:180;;54180:43;54197:4;54203:19;:17;:19::i;:::-;54180:16;:43::i;:::-;54175:92;;54232:35;;;;;;;;;;;;;;54175:92;54087:180;54298:1;54284:16;;:2;:16;;;54280:52;;54309:23;;;;;;;;;;;;;;54280:52;54345:43;54367:4;54373:2;54377:7;54386:1;54345:21;:43::i;:::-;54481:15;54478:160;;;54621:1;54600:19;54593:30;54478:160;55018:18;:24;55037:4;55018:24;;;;;;;;;;;;;;;;55016:26;;;;;;;;;;;;55087:18;:22;55106:2;55087:22;;;;;;;;;;;;;;;;55085:24;;;;;;;;;;;55409:146;55446:2;55495:45;55510:4;55516:2;55520:19;55495:14;:45::i;:::-;35609:8;55467:73;55409:18;:146::i;:::-;55380:17;:26;55398:7;55380:26;;;;;;;;;;;:175;;;;55726:1;35609:8;55675:19;:47;:52;55671:627;;55748:19;55780:1;55770:7;:11;55748:33;;55937:1;55903:17;:30;55921:11;55903:30;;;;;;;;;;;;:35;55899:384;;56041:13;;56026:11;:28;56022:242;;56221:19;56188:17;:30;56206:11;56188:30;;;;;;;;;;;:52;;;;56022:242;55899:384;55729:569;55671:627;56345:7;56341:2;56326:27;;56335:4;56326:27;;;;;;;;;;;;56364:42;56385:4;56391:2;56395:7;56404:1;56364:20;:42::i;:::-;53720:2694;;;53589:2825;;;:::o;78085:172::-;22528:13;:11;:13::i;:::-;78136:12:::1;78154:10;:15;;78177:21;78154:49;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78135:68;;;78222:7;78214:35;;;;;;;;;;;;:::i;:::-;;;;;;;;;78124:133;78085:172::o:0;56510:193::-;56656:39;56673:4;56679:2;56683:7;56656:39;;;;;;;;;;;;:16;:39::i;:::-;56510:193;;;:::o;77657:82::-;22528:13;:11;:13::i;:::-;77726:5:::1;77719:4;:12;;;;77657:82:::0;:::o;75867:26::-;;;;:::o;77482:88::-;22528:13;:11;:13::i;:::-;77559:3:::1;77549:7;:13;;;;;;:::i;:::-;;77482:88:::0;:::o;44852:152::-;44924:7;44967:27;44986:7;44967:18;:27::i;:::-;44944:52;;44852:152;;;:::o;75900:16::-;;;;;;;;;;;;;:::o;75925:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;77853:102::-;22528:13;:11;:13::i;:::-;77937:10:::1;77925:9;:22;;;;77853:102:::0;:::o;40394:233::-;40466:7;40507:1;40490:19;;:5;:19;;;40486:60;;40518:28;;;;;;;;;;;;;;40486:60;34553:13;40564:18;:25;40583:5;40564:25;;;;;;;;;;;;;;;;:55;40557:62;;40394:233;;;:::o;23317:103::-;22528:13;:11;:13::i;:::-;23382:30:::1;23409:1;23382:18;:30::i;:::-;23317:103::o:0;77747:98::-;22528:13;:11;:13::i;:::-;77829:8:::1;77819:7;:18;;;;77747:98:::0;:::o;77963:114::-;22528:13;:11;:13::i;:::-;78045:24:::1;78051:8;78061:7;78045:5;:24::i;:::-;77963:114:::0;;:::o;22642:87::-;22688:7;22715:6;;;;;;;;;;;22708:13;;22642:87;:::o;43635:104::-;43691:13;43724:7;43717:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43635:104;:::o;76302:589::-;76366:4;;;;;;;;;;;76361:33;;76379:15;;;;;;;;;;;;;;76361:33;76407:13;76437:1;76424:9;:14;:83;;;;;76499:7;;76488;76456:17;:29;76474:10;76456:29;;;;;;;;;;;;;;;;:39;;;;:::i;:::-;:50;;76424:83;76423:122;;76541:4;;76423:122;;;76524:1;76423:122;76407:138;;76572:8;;76562:7;:18;76558:48;;;76589:17;;;;;;;;;;;;;;76558:48;76641:7;76633:5;:15;;;;:::i;:::-;76621:9;:27;76617:54;;;76657:14;;;;;;;;;;;;;;76617:54;76713:9;;76703:7;76686:14;:12;:14::i;:::-;:24;;;;:::i;:::-;:36;76682:67;;;76731:18;;;;;;;;;;;;;;76682:67;76775:1;76766:5;:10;76762:83;;76826:7;76793:17;:29;76811:10;76793:29;;;;;;;;;;;;;;;;:40;;;;;;;:::i;:::-;;;;;;;;76762:83;76857:26;76863:10;76875:7;76857:5;:26::i;:::-;76350:541;76302:589;:::o;50508:234::-;50655:8;50603:18;:39;50622:19;:17;:19::i;:::-;50603:39;;;;;;;;;;;;;;;:49;50643:8;50603:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;50715:8;50679:55;;50694:19;:17;:19::i;:::-;50679:55;;;50725:8;50679:55;;;;;;:::i;:::-;;;;;;;;50508:234;;:::o;77578:71::-;22528:13;:11;:13::i;:::-;77637:4:::1;;;;;;;;;;;77636:5;77629:4;;:12;;;;;;;;;;;;;;;;;;77578:71::o:0;57301:407::-;57476:31;57489:4;57495:2;57499:7;57476:12;:31::i;:::-;57540:1;57522:2;:14;;;:19;57518:183;;57561:56;57592:4;57598:2;57602:7;57611:5;57561:30;:56::i;:::-;57556:145;;57645:40;;;;;;;;;;;;;;57556:145;57518:183;57301:407;;;;:::o;76899:350::-;77017:13;77070:16;77078:7;77070;:16::i;:::-;77048:113;;;;;;;;;;;;:::i;:::-;;;;;;;;;77203:7;77212:18;:7;:16;:18::i;:::-;77186:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;77172:69;;76899:350;;;:::o;75754:31::-;;;;:::o;50899:164::-;50996:4;51020:18;:25;51039:5;51020:25;;;;;;;;;;;;;;;:35;51046:8;51020:35;;;;;;;;;;;;;;;;;;;;;;;;;51013:42;;50899:164;;;;:::o;23575:220::-;22528:13;:11;:13::i;:::-;23680:1:::1;23660:22;;:8;:22;;::::0;23656:93:::1;;23734:1;23706:31;;;;;;;;;;;:::i;:::-;;;;;;;;23656:93;23759:28;23778:8;23759:18;:28::i;:::-;23575:220:::0;:::o;75832:28::-;;;;:::o;51321:282::-;51386:4;51442:7;51423:15;:13;:15::i;:::-;:26;;:66;;;;;51476:13;;51466:7;:23;51423:66;:153;;;;;51575:1;35329:8;51527:17;:26;51545:7;51527:26;;;;;;;;;;;;:44;:49;51423:153;51403:173;;51321:282;;;:::o;73629:105::-;73689:7;73716:10;73709:17;;73629:105;:::o;77373:101::-;77438:7;77465:1;77458:8;;77373:101;:::o;46007:1275::-;46074:7;46094:12;46109:7;46094:22;;46177:4;46158:15;:13;:15::i;:::-;:23;46154:1061;;46211:13;;46204:4;:20;46200:1015;;;46249:14;46266:17;:23;46284:4;46266:23;;;;;;;;;;;;46249:40;;46383:1;35329:8;46355:6;:24;:29;46351:845;;47020:113;47037:1;47027:6;:11;47020:113;;47080:17;:25;47098:6;;;;;;;47080:25;;;;;;;;;;;;47071:34;;47020:113;;;47166:6;47159:13;;;;;;46351:845;46226:989;46200:1015;46154:1061;47243:31;;;;;;;;;;;;;;46007:1275;;;;:::o;52484:485::-;52586:27;52615:23;52656:38;52697:15;:24;52713:7;52697:24;;;;;;;;;;;52656:65;;52874:18;52851:41;;52931:19;52925:26;52906:45;;52836:126;52484:485;;;:::o;51712:659::-;51861:11;52026:16;52019:5;52015:28;52006:37;;52186:16;52175:9;52171:32;52158:45;;52336:15;52325:9;52322:30;52314:5;52303:9;52300:20;52297:56;52287:66;;51712:659;;;;;:::o;58370:159::-;;;;;:::o;72938:311::-;73073:7;73093:16;35733:3;73119:19;:41;;73093:68;;35733:3;73187:31;73198:4;73204:2;73208:9;73187:10;:31::i;:::-;73179:40;;:62;;73172:69;;;72938:311;;;;;:::o;47830:450::-;47910:14;48078:16;48071:5;48067:28;48058:37;;48255:5;48241:11;48216:23;48212:41;48209:52;48202:5;48199:63;48189:73;;47830:450;;;;:::o;59194:158::-;;;;;:::o;22807:166::-;22878:12;:10;:12::i;:::-;22867:23;;:7;:5;:7::i;:::-;:23;;;22863:103;;22941:12;:10;:12::i;:::-;22914:40;;;;;;;;;;;:::i;:::-;;;;;;;;22863:103;22807:166::o;23955:191::-;24029:16;24048:6;;;;;;;;;;;24029:25;;24074:8;24065:6;;:17;;;;;;;;;;;;;;;;;;24129:8;24098:40;;24119:8;24098:40;;;;;;;;;;;;24018:128;23955:191;:::o;60970:2966::-;61043:20;61066:13;;61043:36;;61106:1;61094:8;:13;61090:44;;61116:18;;;;;;;;;;;;;;61090:44;61147:61;61177:1;61181:2;61185:12;61199:8;61147:21;:61::i;:::-;61691:1;34691:2;61661:1;:26;;61660:32;61648:8;:45;61622:18;:22;61641:2;61622:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;61970:139;62007:2;62061:33;62084:1;62088:2;62092:1;62061:14;:33::i;:::-;62028:30;62049:8;62028:20;:30::i;:::-;:66;61970:18;:139::i;:::-;61936:17;:31;61954:12;61936:31;;;;;;;;;;;:173;;;;62126:16;62157:11;62186:8;62171:12;:23;62157:37;;62707:16;62703:2;62699:25;62687:37;;63079:12;63039:8;62998:1;62936:25;62877:1;62816;62789:335;63450:1;63436:12;63432:20;63390:346;63491:3;63482:7;63479:16;63390:346;;63709:7;63699:8;63696:1;63669:25;63666:1;63663;63658:59;63544:1;63535:7;63531:15;63520:26;;63390:346;;;63394:77;63781:1;63769:8;:13;63765:45;;63791:19;;;;;;;;;;;;;;63765:45;63843:3;63827:13;:19;;;;61396:2462;;63868:60;63897:1;63901:2;63905:12;63919:8;63868:20;:60::i;:::-;61032:2904;60970:2966;;:::o;39631:296::-;39686:7;39893:15;:13;:15::i;:::-;39877:13;;:31;39870:38;;39631:296;:::o;59792:716::-;59955:4;60001:2;59976:45;;;60022:19;:17;:19::i;:::-;60043:4;60049:7;60058:5;59976:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;59972:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60276:1;60259:6;:13;:18;60255:235;;60305:40;;;;;;;;;;;;;;60255:235;60448:6;60442:13;60433:6;60429:2;60425:15;60418:38;59972:529;60145:54;;;60135:64;;;:6;:64;;;;60128:71;;;59792:716;;;;;;:::o;17528:718::-;17584:13;17635:14;17672:1;17652:17;17663:5;17652:10;:17::i;:::-;:21;17635:38;;17688:20;17722:6;17711:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17688:41;;17744:11;17873:6;17869:2;17865:15;17857:6;17853:28;17846:35;;17910:290;17917:4;17910:290;;;17942:5;;;;;;;;18084:10;18079:2;18072:5;18068:14;18063:32;18058:3;18050:46;18142:2;18133:11;;;;;;:::i;:::-;;;;;18176:1;18167:5;:10;17910:290;18163:21;17910:290;18221:6;18214:13;;;;;17528:718;;;:::o;72639:147::-;72776:6;72639:147;;;;;:::o;20758:98::-;20811:7;20838:10;20831:17;;20758:98;:::o;48382:324::-;48452:14;48685:1;48675:8;48672:15;48646:24;48642:46;48632:56;;48382:324;;;:::o;13932:948::-;13985:7;14005:14;14022:1;14005:18;;14072:8;14063:5;:17;14059:106;;14110:8;14101:17;;;;;;:::i;:::-;;;;;14147:2;14137:12;;;;14059:106;14192:8;14183:5;:17;14179:106;;14230:8;14221:17;;;;;;:::i;:::-;;;;;14267:2;14257:12;;;;14179:106;14312:8;14303:5;:17;14299:106;;14350:8;14341:17;;;;;;:::i;:::-;;;;;14387:2;14377:12;;;;14299:106;14432:7;14423:5;:16;14419:103;;14469:7;14460:16;;;;;;:::i;:::-;;;;;14505:1;14495:11;;;;14419:103;14549:7;14540:5;:16;14536:103;;14586:7;14577:16;;;;;;:::i;:::-;;;;;14622:1;14612:11;;;;14536:103;14666:7;14657:5;:16;14653:103;;14703:7;14694:16;;;;;;:::i;:::-;;;;;14739:1;14729:11;;;;14653:103;14783:7;14774:5;:16;14770:68;;14821:1;14811:11;;;;14770:68;14866:6;14859:13;;;13932:948;;;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:149;370:7;410:66;403:5;399:78;388:89;;334:149;;;:::o;489:120::-;561:23;578:5;561:23;:::i;:::-;554:5;551:34;541:62;;599:1;596;589:12;541:62;489:120;:::o;615:137::-;660:5;698:6;685:20;676:29;;714:32;740:5;714:32;:::i;:::-;615:137;;;;:::o;758:327::-;816:6;865:2;853:9;844:7;840:23;836:32;833:119;;;871:79;;:::i;:::-;833:119;991:1;1016:52;1060:7;1051:6;1040:9;1036:22;1016:52;:::i;:::-;1006:62;;962:116;758:327;;;;:::o;1091:90::-;1125:7;1168:5;1161:13;1154:21;1143:32;;1091:90;;;:::o;1187:109::-;1268:21;1283:5;1268:21;:::i;:::-;1263:3;1256:34;1187:109;;:::o;1302:210::-;1389:4;1427:2;1416:9;1412:18;1404:26;;1440:65;1502:1;1491:9;1487:17;1478:6;1440:65;:::i;:::-;1302:210;;;;:::o;1518:99::-;1570:6;1604:5;1598:12;1588:22;;1518:99;;;:::o;1623:169::-;1707:11;1741:6;1736:3;1729:19;1781:4;1776:3;1772:14;1757:29;;1623:169;;;;:::o;1798:246::-;1879:1;1889:113;1903:6;1900:1;1897:13;1889:113;;;1988:1;1983:3;1979:11;1973:18;1969:1;1964:3;1960:11;1953:39;1925:2;1922:1;1918:10;1913:15;;1889:113;;;2036:1;2027:6;2022:3;2018:16;2011:27;1860:184;1798:246;;;:::o;2050:102::-;2091:6;2142:2;2138:7;2133:2;2126:5;2122:14;2118:28;2108:38;;2050:102;;;:::o;2158:377::-;2246:3;2274:39;2307:5;2274:39;:::i;:::-;2329:71;2393:6;2388:3;2329:71;:::i;:::-;2322:78;;2409:65;2467:6;2462:3;2455:4;2448:5;2444:16;2409:65;:::i;:::-;2499:29;2521:6;2499:29;:::i;:::-;2494:3;2490:39;2483:46;;2250:285;2158:377;;;;:::o;2541:313::-;2654:4;2692:2;2681:9;2677:18;2669:26;;2741:9;2735:4;2731:20;2727:1;2716:9;2712:17;2705:47;2769:78;2842:4;2833:6;2769:78;:::i;:::-;2761:86;;2541:313;;;;:::o;2860:77::-;2897:7;2926:5;2915:16;;2860:77;;;:::o;2943:122::-;3016:24;3034:5;3016:24;:::i;:::-;3009:5;3006:35;2996:63;;3055:1;3052;3045:12;2996:63;2943:122;:::o;3071:139::-;3117:5;3155:6;3142:20;3133:29;;3171:33;3198:5;3171:33;:::i;:::-;3071:139;;;;:::o;3216:329::-;3275:6;3324:2;3312:9;3303:7;3299:23;3295:32;3292:119;;;3330:79;;:::i;:::-;3292:119;3450:1;3475:53;3520:7;3511:6;3500:9;3496:22;3475:53;:::i;:::-;3465:63;;3421:117;3216:329;;;;:::o;3551:126::-;3588:7;3628:42;3621:5;3617:54;3606:65;;3551:126;;;:::o;3683:96::-;3720:7;3749:24;3767:5;3749:24;:::i;:::-;3738:35;;3683:96;;;:::o;3785:118::-;3872:24;3890:5;3872:24;:::i;:::-;3867:3;3860:37;3785:118;;:::o;3909:222::-;4002:4;4040:2;4029:9;4025:18;4017:26;;4053:71;4121:1;4110:9;4106:17;4097:6;4053:71;:::i;:::-;3909:222;;;;:::o;4137:122::-;4210:24;4228:5;4210:24;:::i;:::-;4203:5;4200:35;4190:63;;4249:1;4246;4239:12;4190:63;4137:122;:::o;4265:139::-;4311:5;4349:6;4336:20;4327:29;;4365:33;4392:5;4365:33;:::i;:::-;4265:139;;;;:::o;4410:474::-;4478:6;4486;4535:2;4523:9;4514:7;4510:23;4506:32;4503:119;;;4541:79;;:::i;:::-;4503:119;4661:1;4686:53;4731:7;4722:6;4711:9;4707:22;4686:53;:::i;:::-;4676:63;;4632:117;4788:2;4814:53;4859:7;4850:6;4839:9;4835:22;4814:53;:::i;:::-;4804:63;;4759:118;4410:474;;;;;:::o;4890:118::-;4977:24;4995:5;4977:24;:::i;:::-;4972:3;4965:37;4890:118;;:::o;5014:222::-;5107:4;5145:2;5134:9;5130:18;5122:26;;5158:71;5226:1;5215:9;5211:17;5202:6;5158:71;:::i;:::-;5014:222;;;;:::o;5242:619::-;5319:6;5327;5335;5384:2;5372:9;5363:7;5359:23;5355:32;5352:119;;;5390:79;;:::i;:::-;5352:119;5510:1;5535:53;5580:7;5571:6;5560:9;5556:22;5535:53;:::i;:::-;5525:63;;5481:117;5637:2;5663:53;5708:7;5699:6;5688:9;5684:22;5663:53;:::i;:::-;5653:63;;5608:118;5765:2;5791:53;5836:7;5827:6;5816:9;5812:22;5791:53;:::i;:::-;5781:63;;5736:118;5242:619;;;;;:::o;5867:117::-;5976:1;5973;5966:12;5990:117;6099:1;6096;6089:12;6113:180;6161:77;6158:1;6151:88;6258:4;6255:1;6248:15;6282:4;6279:1;6272:15;6299:281;6382:27;6404:4;6382:27;:::i;:::-;6374:6;6370:40;6512:6;6500:10;6497:22;6476:18;6464:10;6461:34;6458:62;6455:88;;;6523:18;;:::i;:::-;6455:88;6563:10;6559:2;6552:22;6342:238;6299:281;;:::o;6586:129::-;6620:6;6647:20;;:::i;:::-;6637:30;;6676:33;6704:4;6696:6;6676:33;:::i;:::-;6586:129;;;:::o;6721:308::-;6783:4;6873:18;6865:6;6862:30;6859:56;;;6895:18;;:::i;:::-;6859:56;6933:29;6955:6;6933:29;:::i;:::-;6925:37;;7017:4;7011;7007:15;6999:23;;6721:308;;;:::o;7035:146::-;7132:6;7127:3;7122;7109:30;7173:1;7164:6;7159:3;7155:16;7148:27;7035:146;;;:::o;7187:425::-;7265:5;7290:66;7306:49;7348:6;7306:49;:::i;:::-;7290:66;:::i;:::-;7281:75;;7379:6;7372:5;7365:21;7417:4;7410:5;7406:16;7455:3;7446:6;7441:3;7437:16;7434:25;7431:112;;;7462:79;;:::i;:::-;7431:112;7552:54;7599:6;7594:3;7589;7552:54;:::i;:::-;7271:341;7187:425;;;;;:::o;7632:340::-;7688:5;7737:3;7730:4;7722:6;7718:17;7714:27;7704:122;;7745:79;;:::i;:::-;7704:122;7862:6;7849:20;7887:79;7962:3;7954:6;7947:4;7939:6;7935:17;7887:79;:::i;:::-;7878:88;;7694:278;7632:340;;;;:::o;7978:509::-;8047:6;8096:2;8084:9;8075:7;8071:23;8067:32;8064:119;;;8102:79;;:::i;:::-;8064:119;8250:1;8239:9;8235:17;8222:31;8280:18;8272:6;8269:30;8266:117;;;8302:79;;:::i;:::-;8266:117;8407:63;8462:7;8453:6;8442:9;8438:22;8407:63;:::i;:::-;8397:73;;8193:287;7978:509;;;;:::o;8493:329::-;8552:6;8601:2;8589:9;8580:7;8576:23;8572:32;8569:119;;;8607:79;;:::i;:::-;8569:119;8727:1;8752:53;8797:7;8788:6;8777:9;8773:22;8752:53;:::i;:::-;8742:63;;8698:117;8493:329;;;;:::o;8828:116::-;8898:21;8913:5;8898:21;:::i;:::-;8891:5;8888:32;8878:60;;8934:1;8931;8924:12;8878:60;8828:116;:::o;8950:133::-;8993:5;9031:6;9018:20;9009:29;;9047:30;9071:5;9047:30;:::i;:::-;8950:133;;;;:::o;9089:468::-;9154:6;9162;9211:2;9199:9;9190:7;9186:23;9182:32;9179:119;;;9217:79;;:::i;:::-;9179:119;9337:1;9362:53;9407:7;9398:6;9387:9;9383:22;9362:53;:::i;:::-;9352:63;;9308:117;9464:2;9490:50;9532:7;9523:6;9512:9;9508:22;9490:50;:::i;:::-;9480:60;;9435:115;9089:468;;;;;:::o;9563:307::-;9624:4;9714:18;9706:6;9703:30;9700:56;;;9736:18;;:::i;:::-;9700:56;9774:29;9796:6;9774:29;:::i;:::-;9766:37;;9858:4;9852;9848:15;9840:23;;9563:307;;;:::o;9876:423::-;9953:5;9978:65;9994:48;10035:6;9994:48;:::i;:::-;9978:65;:::i;:::-;9969:74;;10066:6;10059:5;10052:21;10104:4;10097:5;10093:16;10142:3;10133:6;10128:3;10124:16;10121:25;10118:112;;;10149:79;;:::i;:::-;10118:112;10239:54;10286:6;10281:3;10276;10239:54;:::i;:::-;9959:340;9876:423;;;;;:::o;10318:338::-;10373:5;10422:3;10415:4;10407:6;10403:17;10399:27;10389:122;;10430:79;;:::i;:::-;10389:122;10547:6;10534:20;10572:78;10646:3;10638:6;10631:4;10623:6;10619:17;10572:78;:::i;:::-;10563:87;;10379:277;10318:338;;;;:::o;10662:943::-;10757:6;10765;10773;10781;10830:3;10818:9;10809:7;10805:23;10801:33;10798:120;;;10837:79;;:::i;:::-;10798:120;10957:1;10982:53;11027:7;11018:6;11007:9;11003:22;10982:53;:::i;:::-;10972:63;;10928:117;11084:2;11110:53;11155:7;11146:6;11135:9;11131:22;11110:53;:::i;:::-;11100:63;;11055:118;11212:2;11238:53;11283:7;11274:6;11263:9;11259:22;11238:53;:::i;:::-;11228:63;;11183:118;11368:2;11357:9;11353:18;11340:32;11399:18;11391:6;11388:30;11385:117;;;11421:79;;:::i;:::-;11385:117;11526:62;11580:7;11571:6;11560:9;11556:22;11526:62;:::i;:::-;11516:72;;11311:287;10662:943;;;;;;;:::o;11611:474::-;11679:6;11687;11736:2;11724:9;11715:7;11711:23;11707:32;11704:119;;;11742:79;;:::i;:::-;11704:119;11862:1;11887:53;11932:7;11923:6;11912:9;11908:22;11887:53;:::i;:::-;11877:63;;11833:117;11989:2;12015:53;12060:7;12051:6;12040:9;12036:22;12015:53;:::i;:::-;12005:63;;11960:118;11611:474;;;;;:::o;12091:180::-;12139:77;12136:1;12129:88;12236:4;12233:1;12226:15;12260:4;12257:1;12250:15;12277:320;12321:6;12358:1;12352:4;12348:12;12338:22;;12405:1;12399:4;12395:12;12426:18;12416:81;;12482:4;12474:6;12470:17;12460:27;;12416:81;12544:2;12536:6;12533:14;12513:18;12510:38;12507:84;;12563:18;;:::i;:::-;12507:84;12328:269;12277:320;;;:::o;12603:147::-;12704:11;12741:3;12726:18;;12603:147;;;;:::o;12756:114::-;;:::o;12876:398::-;13035:3;13056:83;13137:1;13132:3;13056:83;:::i;:::-;13049:90;;13148:93;13237:3;13148:93;:::i;:::-;13266:1;13261:3;13257:11;13250:18;;12876:398;;;:::o;13280:379::-;13464:3;13486:147;13629:3;13486:147;:::i;:::-;13479:154;;13650:3;13643:10;;13280:379;;;:::o;13665:165::-;13805:17;13801:1;13793:6;13789:14;13782:41;13665:165;:::o;13836:366::-;13978:3;13999:67;14063:2;14058:3;13999:67;:::i;:::-;13992:74;;14075:93;14164:3;14075:93;:::i;:::-;14193:2;14188:3;14184:12;14177:19;;13836:366;;;:::o;14208:419::-;14374:4;14412:2;14401:9;14397:18;14389:26;;14461:9;14455:4;14451:20;14447:1;14436:9;14432:17;14425:47;14489:131;14615:4;14489:131;:::i;:::-;14481:139;;14208:419;;;:::o;14633:141::-;14682:4;14705:3;14697:11;;14728:3;14725:1;14718:14;14762:4;14759:1;14749:18;14741:26;;14633:141;;;:::o;14780:93::-;14817:6;14864:2;14859;14852:5;14848:14;14844:23;14834:33;;14780:93;;;:::o;14879:107::-;14923:8;14973:5;14967:4;14963:16;14942:37;;14879:107;;;;:::o;14992:393::-;15061:6;15111:1;15099:10;15095:18;15134:97;15164:66;15153:9;15134:97;:::i;:::-;15252:39;15282:8;15271:9;15252:39;:::i;:::-;15240:51;;15324:4;15320:9;15313:5;15309:21;15300:30;;15373:4;15363:8;15359:19;15352:5;15349:30;15339:40;;15068:317;;14992:393;;;;;:::o;15391:60::-;15419:3;15440:5;15433:12;;15391:60;;;:::o;15457:142::-;15507:9;15540:53;15558:34;15567:24;15585:5;15567:24;:::i;:::-;15558:34;:::i;:::-;15540:53;:::i;:::-;15527:66;;15457:142;;;:::o;15605:75::-;15648:3;15669:5;15662:12;;15605:75;;;:::o;15686:269::-;15796:39;15827:7;15796:39;:::i;:::-;15857:91;15906:41;15930:16;15906:41;:::i;:::-;15898:6;15891:4;15885:11;15857:91;:::i;:::-;15851:4;15844:105;15762:193;15686:269;;;:::o;15961:73::-;16006:3;15961:73;:::o;16040:189::-;16117:32;;:::i;:::-;16158:65;16216:6;16208;16202:4;16158:65;:::i;:::-;16093:136;16040:189;;:::o;16235:186::-;16295:120;16312:3;16305:5;16302:14;16295:120;;;16366:39;16403:1;16396:5;16366:39;:::i;:::-;16339:1;16332:5;16328:13;16319:22;;16295:120;;;16235:186;;:::o;16427:543::-;16528:2;16523:3;16520:11;16517:446;;;16562:38;16594:5;16562:38;:::i;:::-;16646:29;16664:10;16646:29;:::i;:::-;16636:8;16632:44;16829:2;16817:10;16814:18;16811:49;;;16850:8;16835:23;;16811:49;16873:80;16929:22;16947:3;16929:22;:::i;:::-;16919:8;16915:37;16902:11;16873:80;:::i;:::-;16532:431;;16517:446;16427:543;;;:::o;16976:117::-;17030:8;17080:5;17074:4;17070:16;17049:37;;16976:117;;;;:::o;17099:169::-;17143:6;17176:51;17224:1;17220:6;17212:5;17209:1;17205:13;17176:51;:::i;:::-;17172:56;17257:4;17251;17247:15;17237:25;;17150:118;17099:169;;;;:::o;17273:295::-;17349:4;17495:29;17520:3;17514:4;17495:29;:::i;:::-;17487:37;;17557:3;17554:1;17550:11;17544:4;17541:21;17533:29;;17273:295;;;;:::o;17573:1395::-;17690:37;17723:3;17690:37;:::i;:::-;17792:18;17784:6;17781:30;17778:56;;;17814:18;;:::i;:::-;17778:56;17858:38;17890:4;17884:11;17858:38;:::i;:::-;17943:67;18003:6;17995;17989:4;17943:67;:::i;:::-;18037:1;18061:4;18048:17;;18093:2;18085:6;18082:14;18110:1;18105:618;;;;18767:1;18784:6;18781:77;;;18833:9;18828:3;18824:19;18818:26;18809:35;;18781:77;18884:67;18944:6;18937:5;18884:67;:::i;:::-;18878:4;18871:81;18740:222;18075:887;;18105:618;18157:4;18153:9;18145:6;18141:22;18191:37;18223:4;18191:37;:::i;:::-;18250:1;18264:208;18278:7;18275:1;18272:14;18264:208;;;18357:9;18352:3;18348:19;18342:26;18334:6;18327:42;18408:1;18400:6;18396:14;18386:24;;18455:2;18444:9;18440:18;18427:31;;18301:4;18298:1;18294:12;18289:17;;18264:208;;;18500:6;18491:7;18488:19;18485:179;;;18558:9;18553:3;18549:19;18543:26;18601:48;18643:4;18635:6;18631:17;18620:9;18601:48;:::i;:::-;18593:6;18586:64;18508:156;18485:179;18710:1;18706;18698:6;18694:14;18690:22;18684:4;18677:36;18112:611;;;18075:887;;17665:1303;;;17573:1395;;:::o;18974:180::-;19022:77;19019:1;19012:88;19119:4;19116:1;19109:15;19143:4;19140:1;19133:15;19160:191;19200:3;19219:20;19237:1;19219:20;:::i;:::-;19214:25;;19253:20;19271:1;19253:20;:::i;:::-;19248:25;;19296:1;19293;19289:9;19282:16;;19317:3;19314:1;19311:10;19308:36;;;19324:18;;:::i;:::-;19308:36;19160:191;;;;:::o;19357:410::-;19397:7;19420:20;19438:1;19420:20;:::i;:::-;19415:25;;19454:20;19472:1;19454:20;:::i;:::-;19449:25;;19509:1;19506;19502:9;19531:30;19549:11;19531:30;:::i;:::-;19520:41;;19710:1;19701:7;19697:15;19694:1;19691:22;19671:1;19664:9;19644:83;19621:139;;19740:18;;:::i;:::-;19621:139;19405:362;19357:410;;;;:::o;19773:234::-;19913:34;19909:1;19901:6;19897:14;19890:58;19982:17;19977:2;19969:6;19965:15;19958:42;19773:234;:::o;20013:366::-;20155:3;20176:67;20240:2;20235:3;20176:67;:::i;:::-;20169:74;;20252:93;20341:3;20252:93;:::i;:::-;20370:2;20365:3;20361:12;20354:19;;20013:366;;;:::o;20385:419::-;20551:4;20589:2;20578:9;20574:18;20566:26;;20638:9;20632:4;20628:20;20624:1;20613:9;20609:17;20602:47;20666:131;20792:4;20666:131;:::i;:::-;20658:139;;20385:419;;;:::o;20810:148::-;20912:11;20949:3;20934:18;;20810:148;;;;:::o;20988:874::-;21091:3;21128:5;21122:12;21157:36;21183:9;21157:36;:::i;:::-;21209:89;21291:6;21286:3;21209:89;:::i;:::-;21202:96;;21329:1;21318:9;21314:17;21345:1;21340:166;;;;21520:1;21515:341;;;;21307:549;;21340:166;21424:4;21420:9;21409;21405:25;21400:3;21393:38;21486:6;21479:14;21472:22;21464:6;21460:35;21455:3;21451:45;21444:52;;21340:166;;21515:341;21582:38;21614:5;21582:38;:::i;:::-;21642:1;21656:154;21670:6;21667:1;21664:13;21656:154;;;21744:7;21738:14;21734:1;21729:3;21725:11;21718:35;21794:1;21785:7;21781:15;21770:26;;21692:4;21689:1;21685:12;21680:17;;21656:154;;;21839:6;21834:3;21830:16;21823:23;;21522:334;;21307:549;;21095:767;;20988:874;;;;:::o;21868:390::-;21974:3;22002:39;22035:5;22002:39;:::i;:::-;22057:89;22139:6;22134:3;22057:89;:::i;:::-;22050:96;;22155:65;22213:6;22208:3;22201:4;22194:5;22190:16;22155:65;:::i;:::-;22245:6;22240:3;22236:16;22229:23;;21978:280;21868:390;;;;:::o;22264:155::-;22404:7;22400:1;22392:6;22388:14;22381:31;22264:155;:::o;22425:400::-;22585:3;22606:84;22688:1;22683:3;22606:84;:::i;:::-;22599:91;;22699:93;22788:3;22699:93;:::i;:::-;22817:1;22812:3;22808:11;22801:18;;22425:400;;;:::o;22831:695::-;23109:3;23131:92;23219:3;23210:6;23131:92;:::i;:::-;23124:99;;23240:95;23331:3;23322:6;23240:95;:::i;:::-;23233:102;;23352:148;23496:3;23352:148;:::i;:::-;23345:155;;23517:3;23510:10;;22831:695;;;;;:::o;23532:98::-;23583:6;23617:5;23611:12;23601:22;;23532:98;;;:::o;23636:168::-;23719:11;23753:6;23748:3;23741:19;23793:4;23788:3;23784:14;23769:29;;23636:168;;;;:::o;23810:373::-;23896:3;23924:38;23956:5;23924:38;:::i;:::-;23978:70;24041:6;24036:3;23978:70;:::i;:::-;23971:77;;24057:65;24115:6;24110:3;24103:4;24096:5;24092:16;24057:65;:::i;:::-;24147:29;24169:6;24147:29;:::i;:::-;24142:3;24138:39;24131:46;;23900:283;23810:373;;;;:::o;24189:640::-;24384:4;24422:3;24411:9;24407:19;24399:27;;24436:71;24504:1;24493:9;24489:17;24480:6;24436:71;:::i;:::-;24517:72;24585:2;24574:9;24570:18;24561:6;24517:72;:::i;:::-;24599;24667:2;24656:9;24652:18;24643:6;24599:72;:::i;:::-;24718:9;24712:4;24708:20;24703:2;24692:9;24688:18;24681:48;24746:76;24817:4;24808:6;24746:76;:::i;:::-;24738:84;;24189:640;;;;;;;:::o;24835:141::-;24891:5;24922:6;24916:13;24907:22;;24938:32;24964:5;24938:32;:::i;:::-;24835:141;;;;:::o;24982:349::-;25051:6;25100:2;25088:9;25079:7;25075:23;25071:32;25068:119;;;25106:79;;:::i;:::-;25068:119;25226:1;25251:63;25306:7;25297:6;25286:9;25282:22;25251:63;:::i;:::-;25241:73;;25197:127;24982:349;;;;:::o;25337:180::-;25385:77;25382:1;25375:88;25482:4;25479:1;25472:15;25506:4;25503:1;25496:15
Swarm Source
ipfs://e74de630c17cc0cc7b997f8d716c8316c6d2bf1ba39a1db4b42adf808fda35fc
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.